IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

Senthil Kumar
Hi There,

I am trying to deploy a simple Spring Boot (1.3.4.RELEASE) application with mybatis dependency into IBM Websphere 8.5.5.9 (JDK 8). I see the following errors with Javassist package within the mybatis-3.4.0.jar file. This occurs only for all the classes under 'javassist' package in mybatis jar file.   How to resolve this issue?

Has anyone come across this issue? Thank You.

Basically I use Gradle to build a 'war' file for deployment. The following is my Gradle dependencies.

buildscript {
    ext {
        springBootVersion = '1.3.4.RELEASE'
    }
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-actuator-docs')
    compile('org.springframework.boot:spring-boot-starter-freemarker')
    compile('org.springframework.boot:spring-boot-starter-jdbc')
    compile('org.springframework.boot:spring-boot-starter-web')
    compile("org.springframework.boot:spring-boot-starter-jetty")
    compile("org.springframework.boot:spring-boot-starter-ws")
   
    compile("org.hsqldb:hsqldb")
    compile("wsdl4j:wsdl4j:1.6.1")
    compile("commons-lang:commons-lang:2.6")
    compile("com.oracle:ojdbc6:11.2.0.4.0")
    compile("org.javassist:javassist:3.20.0-GA")
    compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
   
    jaxb("com.sun.xml.bind:jaxb-xjc:2.2.4-1")
   
    testCompile("junit:junit")
    testCompile('org.springframework.boot:spring-boot-starter-test')
   
    compile(files(genJaxb.classesDir).builtBy(genJaxb))
}



From IBM WAS 8 SystemOut Logs:


************ Start Display Current Environment ************
WebSphere Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05][IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.9.30 cf091608.04] running with process name devcell85_gen-dcb\akl0ia306\D0_WS09_11 and process id 9043
Host Operating System is Linux, version 2.6.32-642.el6.x86_64
Java version = 1.8.0, Java Runtime Version = pxa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM

was.install.root = /opt/IBM/WebSphere85/AppServerDEV
user.install.root = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb
Java Home = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib:/opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/classes:/opt/IBM/WebSphere85/AppServerDEV/classes:/opt/IBM/WebSphere85/AppServerDEV/l
ib:/opt/IBM/WebSphere85/AppServerDEV/installedChannels:/opt/IBM/WebSphere85/AppServerDEV/lib/ext:/opt/IBM/WebSphere85/AppServerDEV/web/help:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/plugins/com.ibm.etool
s.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/properties:/opt/IBM/WebSphere85/AppServerDEV/properties:/opt/IBM/WebSphere85/AppServerDEV/lib/startup.jar:/opt/IBM/WebSphere85/AppServerD
EV/lib/bootstrap.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/jsf-nls.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/lmproxy.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/urlprotocols.jar:/opt/IBM/WebSphere85/AppServerDEV/
deploytool/itp/batchboot.jar:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/batch2.jar:/opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib/tools.jar
Java Library path = /opt/IBM/WebSphere85/AppServerDEV/lib/native/linux/x86_64/:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64:/opt/IBM/WebSphere85/AppServerDEV/bin:/opt/IBM/WebSphere85/AppServerDEV/nulldllsdir:/usr/lib:
Orb Version = IBM Java ORB build orb80-20151118.00
************* End Display Current Environment *************




[7/06/16 9:20:47:252 NZST] 00000071 ApplicationMg A   WSVR0204I: Application: loyalty-ws-mybatis-1_1  Application build level: Unknown
[7/06/16 9:20:48:451 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
[7/06/16 9:20:48:452 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/CannotCompileException.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]

.
.
.
.
.

[7/06/16 9:20:51:600 NZST] 00000071 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/apache/ibatis/javassist/ByteArrayClassPath.class in archive WEB-INF/lib/mybatis-3.3.1.jar
                                 java.lang.RuntimeException
        at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
        at org.objectweb.asm.ClassReader.b(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:149)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:124)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:120)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR(ScannerContextImpl.java:275)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs(ScannerContextImpl.java:315)
        at com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext.scanInternal(WARScannerContext.java:76)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan(ScannerContextImpl.java:87)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.getScannedClasses(ScannerContextImpl.java:70)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:764)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1178)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1383)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:972)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:777)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2197)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2202)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:126)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:984)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

Guy Rouillier-2
Your subject says Mybatis 3.4.0, but I see this in the stack trace you provided:
 
[ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
Why are you using mybatis-3.3.1.jar?
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "Senthil Kumar" <[hidden email]>
To: "mybatis-user" <[hidden email]>
Sent: 6/6/2016 6:05:44 PM
Subject: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi There,

I am trying to deploy a simple Spring Boot (1.3.4.RELEASE) application with mybatis dependency into IBM Websphere 8.5.5.9 (JDK 8). I see the following errors with Javassist package within the mybatis-3.4.0.jar file. This occurs only for all the classes under 'javassist' package in mybatis jar file.   How to resolve this issue?

Has anyone come across this issue? Thank You.

Basically I use Gradle to build a 'war' file for deployment. The following is my Gradle dependencies.

buildscript {
    ext {
        springBootVersion = '1.3.4.RELEASE'
    }
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-actuator-docs')
    compile('org.springframework.boot:spring-boot-starter-freemarker')
    compile('org.springframework.boot:spring-boot-starter-jdbc')
    compile('org.springframework.boot:spring-boot-starter-web')
    compile("org.springframework.boot:spring-boot-starter-jetty")
    compile("org.springframework.boot:spring-boot-starter-ws")
   
    compile("org.hsqldb:hsqldb")
    compile("wsdl4j:wsdl4j:1.6.1")
    compile("commons-lang:commons-lang:2.6")
    compile("com.oracle:ojdbc6:11.2.0.4.0")
    compile("org.javassist:javassist:3.20.0-GA")
    compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
   
    jaxb("com.sun.xml.bind:jaxb-xjc:2.2.4-1")
   
    testCompile("junit:junit")
    testCompile('org.springframework.boot:spring-boot-starter-test')
   
    compile(files(genJaxb.classesDir).builtBy(genJaxb))
}



From IBM WAS 8 SystemOut Logs:


************ Start Display Current Environment ************
WebSphere Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05][IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.9.30 cf091608.04] running with process name devcell85_gen-dcb\akl0ia306\D0_WS09_11 and process id 9043
Host Operating System is Linux, version 2.6.32-642.el6.x86_64
Java version = 1.8.0, Java Runtime Version = pxa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM

was.install.root = /opt/IBM/WebSphere85/AppServerDEV
user.install.root = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb
Java Home = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib:/opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/classes:/opt/IBM/WebSphere85/AppServerDEV/classes:/opt/IBM/WebSphere85/AppServerDEV/l
ib:/opt/IBM/WebSphere85/AppServerDEV/installedChannels:/opt/IBM/WebSphere85/AppServerDEV/lib/ext:/opt/IBM/WebSphere85/AppServerDEV/web/help:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/plugins/com.ibm.etool
s.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/properties:/opt/IBM/WebSphere85/AppServerDEV/properties:/opt/IBM/WebSphere85/AppServerDEV/lib/startup.jar:/opt/IBM/WebSphere85/AppServerD
EV/lib/bootstrap.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/jsf-nls.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/lmproxy.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/urlprotocols.jar:/opt/IBM/WebSphere85/AppServerDEV/
deploytool/itp/batchboot.jar:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/batch2.jar:/opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib/tools.jar
Java Library path = /opt/IBM/WebSphere85/AppServerDEV/lib/native/linux/x86_64/:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64:/opt/IBM/WebSphere85/AppServerDEV/bin:/opt/IBM/WebSphere85/AppServerDEV/nulldllsdir:/usr/lib:
Orb Version = IBM Java ORB build orb80-20151118.00
************* End Display Current Environment *************




[7/06/16 9:20:47:252 NZST] 00000071 ApplicationMg A   WSVR0204I: Application: loyalty-ws-mybatis-1_1  Application build level: Unknown
[7/06/16 9:20:48:451 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
[7/06/16 9:20:48:452 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/CannotCompileException.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]

.
.
.
.
.

[7/06/16 9:20:51:600 NZST] 00000071 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/apache/ibatis/javassist/ByteArrayClassPath.class in archive WEB-INF/lib/mybatis-3.3.1.jar
                                 java.lang.RuntimeException
        at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
        at org.objectweb.asm.ClassReader.b(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:149)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:124)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:120)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR(ScannerContextImpl.java:275)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs(ScannerContextImpl.java:315)
        at com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext.scanInternal(WARScannerContext.java:76)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan(ScannerContextImpl.java:87)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.getScannedClasses(ScannerContextImpl.java:70)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:764)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1178)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1383)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:972)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:777)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2197)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2202)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:126)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:984)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

Senthil Kumar
Hi Guy,

Sorry for the typo. I tried both Mybatis 3.4.0 and 3.3.1 with same results.

On Tuesday, June 7, 2016 at 12:34:46 PM UTC+12, Guy Rouillier wrote:
Your subject says Mybatis 3.4.0, but I see this in the stack trace you provided:
 
[ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
Why are you using mybatis-3.3.1.jar?
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "Senthil Kumar" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="chyABlTgBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">ksk...@...>
To: "mybatis-user" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="chyABlTgBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mybati...@...>
Sent: 6/6/2016 6:05:44 PM
Subject: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi There,

I am trying to deploy a simple Spring Boot (1.3.4.RELEASE) application with mybatis dependency into IBM Websphere 8.5.5.9 (JDK 8). I see the following errors with Javassist package within the mybatis-3.4.0.jar file. This occurs only for all the classes under 'javassist' package in mybatis jar file.   How to resolve this issue?

Has anyone come across this issue? Thank You.

Basically I use Gradle to build a 'war' file for deployment. The following is my Gradle dependencies.

buildscript {
    ext {
        springBootVersion = '1.3.4.RELEASE'
    }
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-actuator-docs')
    compile('org.springframework.boot:spring-boot-starter-freemarker')
    compile('org.springframework.boot:spring-boot-starter-jdbc')
    compile('org.springframework.boot:spring-boot-starter-web')
    compile("org.springframework.boot:spring-boot-starter-jetty")
    compile("org.springframework.boot:spring-boot-starter-ws")
   
    compile("org.hsqldb:hsqldb")
    compile("wsdl4j:wsdl4j:1.6.1")
    compile("commons-lang:commons-lang:2.6")
    compile("com.oracle:ojdbc6:11.2.0.4.0")
    compile("org.javassist:javassist:3.20.0-GA")
    compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
   
    jaxb("com.sun.xml.bind:jaxb-xjc:2.2.4-1")
   
    testCompile("junit:junit")
    testCompile('org.springframework.boot:spring-boot-starter-test')
   
    compile(files(genJaxb.classesDir).builtBy(genJaxb))
}



From IBM WAS 8 SystemOut Logs:


************ Start Display Current Environment ************
WebSphere Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05][IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.9.30 cf091608.04] running with process name devcell85_gen-dcb\akl0ia306\D0_WS09_11 and process id 9043
Host Operating System is Linux, version 2.6.32-642.el6.x86_64
Java version = 1.8.0, Java Runtime Version = pxa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM

was.install.root = /opt/IBM/WebSphere85/AppServerDEV
user.install.root = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb
Java Home = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib:/opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/classes:/opt/IBM/WebSphere85/AppServerDEV/classes:/opt/IBM/WebSphere85/AppServerDEV/l
ib:/opt/IBM/WebSphere85/AppServerDEV/installedChannels:/opt/IBM/WebSphere85/AppServerDEV/lib/ext:/opt/IBM/WebSphere85/AppServerDEV/web/help:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/plugins/com.ibm.etool
s.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/properties:/opt/IBM/WebSphere85/AppServerDEV/properties:/opt/IBM/WebSphere85/AppServerDEV/lib/startup.jar:/opt/IBM/WebSphere85/AppServerD
EV/lib/bootstrap.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/jsf-nls.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/lmproxy.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/urlprotocols.jar:/opt/IBM/WebSphere85/AppServerDEV/
deploytool/itp/batchboot.jar:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/batch2.jar:/opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib/tools.jar
Java Library path = /opt/IBM/WebSphere85/AppServerDEV/lib/native/linux/x86_64/:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64:/opt/IBM/WebSphere85/AppServerDEV/bin:/opt/IBM/WebSphere85/AppServerDEV/nulldllsdir:/usr/lib:
Orb Version = IBM Java ORB build orb80-20151118.00
************* End Display Current Environment *************




[7/06/16 9:20:47:252 NZST] 00000071 ApplicationMg A   WSVR0204I: Application: loyalty-ws-mybatis-1_1  Application build level: Unknown
[7/06/16 9:20:48:451 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
[7/06/16 9:20:48:452 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/CannotCompileException.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]

.
.
.
.
.

[7/06/16 9:20:51:600 NZST] 00000071 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/apache/ibatis/javassist/ByteArrayClassPath.class in archive WEB-INF/lib/mybatis-3.3.1.jar
                                 java.lang.RuntimeException
        at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
        at org.objectweb.asm.ClassReader.b(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:149)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:124)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:120)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR(ScannerContextImpl.java:275)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs(ScannerContextImpl.java:315)
        at com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext.scanInternal(WARScannerContext.java:76)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan(ScannerContextImpl.java:87)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.getScannedClasses(ScannerContextImpl.java:70)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:764)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1178)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1383)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:972)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:777)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2197)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2202)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:126)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:984)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="chyABlTgBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mybatis-user...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

<a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient&amp;utm_term=icon" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dicon\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdgn6XHtGdGX0_ztl7zsznn9rycA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dicon\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdgn6XHtGdGX0_ztl7zsznn9rycA&#39;;return true;"> Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient&amp;utm_term=link" style="color:#4453ea" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dlink\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBTW1oVO7X9WxlATGseHnM8Gn-HQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dlink\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBTW1oVO7X9WxlATGseHnM8Gn-HQ&#39;;return true;">www.avast.com

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re[2]: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

Guy Rouillier-2
Ok, I'm not a real fan of Spring, so hopefully one of the more experienced Spring users will jump in here.  Take a look at WEB-INF/lib/mybatis-3.3.1.jar and see if org/apache/ibatis/javassist/ByteArrayClassPath.class is in there.  I just downloaded the binary package from the MyBatis site and it is.  It gets built during JAR construction; if you look at the source zip, you won't find that file there.
 
Hopefully that will narrow down where the problem lies.
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "ksktech" <[hidden email]>
To: "mybatis-user" <[hidden email]>
Sent: 6/6/2016 8:49:40 PM
Subject: Re: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi Guy,

Sorry for the typo. I tried both Mybatis 3.4.0 and 3.3.1 with same results.

On Tuesday, June 7, 2016 at 12:34:46 PM UTC+12, Guy Rouillier wrote:
Your subject says Mybatis 3.4.0, but I see this in the stack trace you provided:
 
[ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
Why are you using mybatis-3.3.1.jar?
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "Senthil Kumar" <<A href="javascript:" rel=nofollow gdf-obfuscated-mailto="chyABlTgBQAJ">ksk...@...>
To: "mybatis-user" <<A href="javascript:" rel=nofollow gdf-obfuscated-mailto="chyABlTgBQAJ">mybati...@...>
Sent: 6/6/2016 6:05:44 PM
Subject: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi There,

I am trying to deploy a simple Spring Boot (1.3.4.RELEASE) application with mybatis dependency into IBM Websphere 8.5.5.9 (JDK 8). I see the following errors with Javassist package within the mybatis-3.4.0.jar file. This occurs only for all the classes under 'javassist' package in mybatis jar file.   How to resolve this issue?

Has anyone come across this issue? Thank You.

Basically I use Gradle to build a 'war' file for deployment. The following is my Gradle dependencies.

buildscript {
    ext {
        springBootVersion = '1.3.4.RELEASE'
    }
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-actuator-docs')
    compile('org.springframework.boot:spring-boot-starter-freemarker')
    compile('org.springframework.boot:spring-boot-starter-jdbc')
    compile('org.springframework.boot:spring-boot-starter-web')
    compile("org.springframework.boot:spring-boot-starter-jetty")
    compile("org.springframework.boot:spring-boot-starter-ws")
   
    compile("org.hsqldb:hsqldb")
    compile("wsdl4j:wsdl4j:1.6.1")
    compile("commons-lang:commons-lang:2.6")
    compile("com.oracle:ojdbc6:11.2.0.4.0")
    compile("org.javassist:javassist:3.20.0-GA")
    compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
   
    jaxb("com.sun.xml.bind:jaxb-xjc:2.2.4-1")
   
    testCompile("junit:junit")
    testCompile('org.springframework.boot:spring-boot-starter-test')
   
    compile(files(genJaxb.classesDir).builtBy(genJaxb))
}



From IBM WAS 8 SystemOut Logs:


************ Start Display Current Environment ************
WebSphere Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05][IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.9.30 cf091608.04] running with process name devcell85_gen-dcb\akl0ia306\D0_WS09_11 and process id 9043
Host Operating System is Linux, version 2.6.32-642.el6.x86_64
Java version = 1.8.0, Java Runtime Version = pxa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM

was.install.root = /opt/IBM/WebSphere85/AppServerDEV
user.install.root = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb
Java Home = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib:/opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/classes:/opt/IBM/WebSphere85/AppServerDEV/classes:/opt/IBM/WebSphere85/AppServerDEV/l
ib:/opt/IBM/WebSphere85/AppServerDEV/installedChannels:/opt/IBM/WebSphere85/AppServerDEV/lib/ext:/opt/IBM/WebSphere85/AppServerDEV/web/help:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/plugins/com.ibm.etool
s.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/properties:/opt/IBM/WebSphere85/AppServerDEV/properties:/opt/IBM/WebSphere85/AppServerDEV/lib/startup.jar:/opt/IBM/WebSphere85/AppServerD
EV/lib/bootstrap.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/jsf-nls.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/lmproxy.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/urlprotocols.jar:/opt/IBM/WebSphere85/AppServerDEV/
deploytool/itp/batchboot.jar:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/batch2.jar:/opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib/tools.jar
Java Library path = /opt/IBM/WebSphere85/AppServerDEV/lib/native/linux/x86_64/:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64:/opt/IBM/WebSphere85/AppServerDEV/bin:/opt/IBM/WebSphere85/AppServerDEV/nulldllsdir:/usr/lib:
Orb Version = IBM Java ORB build orb80-20151118.00
************* End Display Current Environment *************




[7/06/16 9:20:47:252 NZST] 00000071 ApplicationMg A   WSVR0204I: Application: loyalty-ws-mybatis-1_1  Application build level: Unknown
[7/06/16 9:20:48:451 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
[7/06/16 9:20:48:452 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/CannotCompileException.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]

.
.
.
.
.

[7/06/16 9:20:51:600 NZST] 00000071 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/apache/ibatis/javassist/ByteArrayClassPath.class in archive WEB-INF/lib/mybatis-3.3.1.jar
                                 java.lang.RuntimeException
        at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
        at org.objectweb.asm.ClassReader.b(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:149)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:124)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:120)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR(ScannerContextImpl.java:275)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs(ScannerContextImpl.java:315)
        at com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext.scanInternal(WARScannerContext.java:76)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan(ScannerContextImpl.java:87)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.getScannedClasses(ScannerContextImpl.java:70)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:764)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1178)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1383)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:972)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:777)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2197)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2202)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:126)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:984)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <A href="javascript:" rel=nofollow gdf-obfuscated-mailto="chyABlTgBQAJ">mybatis-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Virus-free. www.avast.com

Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

Senthil Kumar
Thanks Guy!

Well you are right the issue was around javassist pkg in the mybatis jar file. I just got around the issue by adding the the following entries in META-INFMANIFEST.MF now the app starts up fine with no issues.

Manifest-Version: 1.0
Ignore-Scanning-Archives: WEB-INF/lib/mybatis-3.4.0.jar
Ignore-Scanning-Packages:  org.apache.ibatis.javassist




On Tuesday, June 7, 2016 at 4:00:38 PM UTC+12, Guy Rouillier wrote:
Ok, I'm not a real fan of Spring, so hopefully one of the more experienced Spring users will jump in here.  Take a look at WEB-INF/lib/mybatis-3.3.1.jar and see if org/apache/ibatis/javassist/ByteArrayClassPath.class is in there.  I just downloaded the binary package from the MyBatis site and it is.  It gets built during JAR construction; if you look at the source zip, you won't find that file there.
 
Hopefully that will narrow down where the problem lies.
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "ksktech" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="obrLJ5DrBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">ksk...@...>
To: "mybatis-user" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="obrLJ5DrBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mybati...@...>
Cc: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="obrLJ5DrBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">guy.ro...@...
Sent: 6/6/2016 8:49:40 PM
Subject: Re: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi Guy,

Sorry for the typo. I tried both Mybatis 3.4.0 and 3.3.1 with same results.

On Tuesday, June 7, 2016 at 12:34:46 PM UTC+12, Guy Rouillier wrote:
Your subject says Mybatis 3.4.0, but I see this in the stack trace you provided:
 
[ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
Why are you using mybatis-3.3.1.jar?
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "Senthil Kumar" <[hidden email]>
To: "mybatis-user" <[hidden email]>
Sent: 6/6/2016 6:05:44 PM
Subject: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi There,

I am trying to deploy a simple Spring Boot (1.3.4.RELEASE) application with mybatis dependency into IBM Websphere 8.5.5.9 (JDK 8). I see the following errors with Javassist package within the mybatis-3.4.0.jar file. This occurs only for all the classes under 'javassist' package in mybatis jar file.   How to resolve this issue?

Has anyone come across this issue? Thank You.

Basically I use Gradle to build a 'war' file for deployment. The following is my Gradle dependencies.

buildscript {
    ext {
        springBootVersion = '1.3.4.RELEASE'
    }
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-actuator-docs')
    compile('org.springframework.boot:spring-boot-starter-freemarker')
    compile('org.springframework.boot:spring-boot-starter-jdbc')
    compile('org.springframework.boot:spring-boot-starter-web')
    compile("org.springframework.boot:spring-boot-starter-jetty")
    compile("org.springframework.boot:spring-boot-starter-ws")
   
    compile("org.hsqldb:hsqldb")
    compile("wsdl4j:wsdl4j:1.6.1")
    compile("commons-lang:commons-lang:2.6")
    compile("com.oracle:ojdbc6:11.2.0.4.0")
    compile("org.javassist:javassist:3.20.0-GA")
    compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
   
    jaxb("com.sun.xml.bind:jaxb-xjc:2.2.4-1")
   
    testCompile("junit:junit")
    testCompile('org.springframework.boot:spring-boot-starter-test')
   
    compile(files(genJaxb.classesDir).builtBy(genJaxb))
}



From IBM WAS 8 SystemOut Logs:


************ Start Display Current Environment ************
WebSphere Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05][IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.9.30 cf091608.04] running with process name devcell85_gen-dcb\akl0ia306\D0_WS09_11 and process id 9043
Host Operating System is Linux, version 2.6.32-642.el6.x86_64
Java version = 1.8.0, Java Runtime Version = pxa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM

was.install.root = /opt/IBM/WebSphere85/AppServerDEV
user.install.root = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb
Java Home = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib:/opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/classes:/opt/IBM/WebSphere85/AppServerDEV/classes:/opt/IBM/WebSphere85/AppServerDEV/l
ib:/opt/IBM/WebSphere85/AppServerDEV/installedChannels:/opt/IBM/WebSphere85/AppServerDEV/lib/ext:/opt/IBM/WebSphere85/AppServerDEV/web/help:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/plugins/com.ibm.etool
s.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/properties:/opt/IBM/WebSphere85/AppServerDEV/properties:/opt/IBM/WebSphere85/AppServerDEV/lib/startup.jar:/opt/IBM/WebSphere85/AppServerD
EV/lib/bootstrap.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/jsf-nls.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/lmproxy.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/urlprotocols.jar:/opt/IBM/WebSphere85/AppServerDEV/
deploytool/itp/batchboot.jar:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/batch2.jar:/opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib/tools.jar
Java Library path = /opt/IBM/WebSphere85/AppServerDEV/lib/native/linux/x86_64/:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64:/opt/IBM/WebSphere85/AppServerDEV/bin:/opt/IBM/WebSphere85/AppServerDEV/nulldllsdir:/usr/lib:
Orb Version = IBM Java ORB build orb80-20151118.00
************* End Display Current Environment *************




[7/06/16 9:20:47:252 NZST] 00000071 ApplicationMg A   WSVR0204I: Application: loyalty-ws-mybatis-1_1  Application build level: Unknown
[7/06/16 9:20:48:451 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
[7/06/16 9:20:48:452 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/CannotCompileException.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]

.
.
.
.
.

[7/06/16 9:20:51:600 NZST] 00000071 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/apache/ibatis/javassist/ByteArrayClassPath.class in archive WEB-INF/lib/mybatis-3.3.1.jar
                                 java.lang.RuntimeException
        at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
        at org.objectweb.asm.ClassReader.b(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:149)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:124)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:120)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR(ScannerContextImpl.java:275)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs(ScannerContextImpl.java:315)
        at com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext.scanInternal(WARScannerContext.java:76)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan(ScannerContextImpl.java:87)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.getScannedClasses(ScannerContextImpl.java:70)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:764)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1178)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1383)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:972)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:777)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2197)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2202)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:126)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:984)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

<a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient&amp;utm_term=icon" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dicon\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdgn6XHtGdGX0_ztl7zsznn9rycA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dicon\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdgn6XHtGdGX0_ztl7zsznn9rycA&#39;;return true;"> Virus-free. <a style="COLOR:#4453ea" href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient&amp;utm_term=link" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dlink\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBTW1oVO7X9WxlATGseHnM8Gn-HQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dlink\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBTW1oVO7X9WxlATGseHnM8Gn-HQ&#39;;return true;">www.avast.com

<a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient&amp;utm_term=icon" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dicon\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdgn6XHtGdGX0_ztl7zsznn9rycA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dicon\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGdgn6XHtGdGX0_ztl7zsznn9rycA&#39;;return true;"> Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient&amp;utm_term=link" style="color:#4453ea" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dlink\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBTW1oVO7X9WxlATGseHnM8Gn-HQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient%26utm_term%3Dlink\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBTW1oVO7X9WxlATGseHnM8Gn-HQ&#39;;return true;">www.avast.com

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re[4]: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

Guy Rouillier-2
Great work around!  Glad you found it.
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "ksktech" <[hidden email]>
To: "mybatis-user" <[hidden email]>
Sent: 6/7/2016 7:15:56 PM
Subject: Re: Re[2]: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Thanks Guy!

Well you are right the issue was around javassist pkg in the mybatis jar file. I just got around the issue by adding the the following entries in META-INFMANIFEST.MF now the app starts up fine with no issues.

Manifest-Version: 1.0
Ignore-Scanning-Archives: WEB-INF/lib/mybatis-3.4.0.jar
Ignore-Scanning-Packages:  org.apache.ibatis.javassist




On Tuesday, June 7, 2016 at 4:00:38 PM UTC+12, Guy Rouillier wrote:
Ok, I'm not a real fan of Spring, so hopefully one of the more experienced Spring users will jump in here.  Take a look at WEB-INF/lib/mybatis-3.3.1.jar and see if org/apache/ibatis/javassist/ByteArrayClassPath.class is in there.  I just downloaded the binary package from the MyBatis site and it is.  It gets built during JAR construction; if you look at the source zip, you won't find that file there.
 
Hopefully that will narrow down where the problem lies.
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "ksktech" <<A href="javascript:" rel=nofollow gdf-obfuscated-mailto="obrLJ5DrBQAJ">ksk...@...>
To: "mybatis-user" <<A href="javascript:" rel=nofollow gdf-obfuscated-mailto="obrLJ5DrBQAJ">mybati...@...>
Cc: <A href="javascript:" rel=nofollow gdf-obfuscated-mailto="obrLJ5DrBQAJ">guy.ro...@...
Sent: 6/6/2016 8:49:40 PM
Subject: Re: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi Guy,

Sorry for the typo. I tried both Mybatis 3.4.0 and 3.3.1 with same results.

On Tuesday, June 7, 2016 at 12:34:46 PM UTC+12, Guy Rouillier wrote:
Your subject says Mybatis 3.4.0, but I see this in the stack trace you provided:
 
[ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
Why are you using mybatis-3.3.1.jar?
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "Senthil Kumar" <[hidden email]>
To: "mybatis-user" <[hidden email]>
Sent: 6/6/2016 6:05:44 PM
Subject: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi There,

I am trying to deploy a simple Spring Boot (1.3.4.RELEASE) application with mybatis dependency into IBM Websphere 8.5.5.9 (JDK 8). I see the following errors with Javassist package within the mybatis-3.4.0.jar file. This occurs only for all the classes under 'javassist' package in mybatis jar file.   How to resolve this issue?

Has anyone come across this issue? Thank You.

Basically I use Gradle to build a 'war' file for deployment. The following is my Gradle dependencies.

buildscript {
    ext {
        springBootVersion = '1.3.4.RELEASE'
    }
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-actuator-docs')
    compile('org.springframework.boot:spring-boot-starter-freemarker')
    compile('org.springframework.boot:spring-boot-starter-jdbc')
    compile('org.springframework.boot:spring-boot-starter-web')
    compile("org.springframework.boot:spring-boot-starter-jetty")
    compile("org.springframework.boot:spring-boot-starter-ws")
   
    compile("org.hsqldb:hsqldb")
    compile("wsdl4j:wsdl4j:1.6.1")
    compile("commons-lang:commons-lang:2.6")
    compile("com.oracle:ojdbc6:11.2.0.4.0")
    compile("org.javassist:javassist:3.20.0-GA")
    compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
   
    jaxb("com.sun.xml.bind:jaxb-xjc:2.2.4-1")
   
    testCompile("junit:junit")
    testCompile('org.springframework.boot:spring-boot-starter-test')
   
    compile(files(genJaxb.classesDir).builtBy(genJaxb))
}



From IBM WAS 8 SystemOut Logs:


************ Start Display Current Environment ************
WebSphere Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05][IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.9.30 cf091608.04] running with process name devcell85_gen-dcb\akl0ia306\D0_WS09_11 and process id 9043
Host Operating System is Linux, version 2.6.32-642.el6.x86_64
Java version = 1.8.0, Java Runtime Version = pxa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM

was.install.root = /opt/IBM/WebSphere85/AppServerDEV
user.install.root = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb
Java Home = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib:/opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/classes:/opt/IBM/WebSphere85/AppServerDEV/classes:/opt/IBM/WebSphere85/AppServerDEV/l
ib:/opt/IBM/WebSphere85/AppServerDEV/installedChannels:/opt/IBM/WebSphere85/AppServerDEV/lib/ext:/opt/IBM/WebSphere85/AppServerDEV/web/help:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/plugins/com.ibm.etool
s.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/properties:/opt/IBM/WebSphere85/AppServerDEV/properties:/opt/IBM/WebSphere85/AppServerDEV/lib/startup.jar:/opt/IBM/WebSphere85/AppServerD
EV/lib/bootstrap.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/jsf-nls.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/lmproxy.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/urlprotocols.jar:/opt/IBM/WebSphere85/AppServerDEV/
deploytool/itp/batchboot.jar:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/batch2.jar:/opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib/tools.jar
Java Library path = /opt/IBM/WebSphere85/AppServerDEV/lib/native/linux/x86_64/:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64:/opt/IBM/WebSphere85/AppServerDEV/bin:/opt/IBM/WebSphere85/AppServerDEV/nulldllsdir:/usr/lib:
Orb Version = IBM Java ORB build orb80-20151118.00
************* End Display Current Environment *************




[7/06/16 9:20:47:252 NZST] 00000071 ApplicationMg A   WSVR0204I: Application: loyalty-ws-mybatis-1_1  Application build level: Unknown
[7/06/16 9:20:48:451 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
[7/06/16 9:20:48:452 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/CannotCompileException.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]

.
.
.
.
.

[7/06/16 9:20:51:600 NZST] 00000071 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/apache/ibatis/javassist/ByteArrayClassPath.class in archive WEB-INF/lib/mybatis-3.3.1.jar
                                 java.lang.RuntimeException
        at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
        at org.objectweb.asm.ClassReader.b(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:149)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:124)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:120)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR(ScannerContextImpl.java:275)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs(ScannerContextImpl.java:315)
        at com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext.scanInternal(WARScannerContext.java:76)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan(ScannerContextImpl.java:87)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.getScannedClasses(ScannerContextImpl.java:70)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:764)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1178)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1383)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:972)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:777)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2197)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2202)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:126)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:984)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Virus-free. www.avast.com

Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource

Iwao AVE!
In reply to this post by Senthil Kumar
Hi Senthil,

I know you have already found the workaround, but we are investigating possibilities for a permanent fix on MyBatis side.
By any chance, could you test the custom version of mybatis-3.4.0.jar attached to the following issue comment and see if it works without the ignore-scanning settings?

Thanks in advance,
Iwao

2016-06-08 8:15 GMT+09:00 ksktech <[hidden email]>:
Thanks Guy!

Well you are right the issue was around javassist pkg in the mybatis jar file. I just got around the issue by adding the the following entries in META-INFMANIFEST.MF now the app starts up fine with no issues.

Manifest-Version: 1.0
Ignore-Scanning-Archives: WEB-INF/lib/mybatis-3.4.0.jar
Ignore-Scanning-Packages:  org.apache.ibatis.javassist




On Tuesday, June 7, 2016 at 4:00:38 PM UTC+12, Guy Rouillier wrote:
Ok, I'm not a real fan of Spring, so hopefully one of the more experienced Spring users will jump in here.  Take a look at WEB-INF/lib/mybatis-3.3.1.jar and see if org/apache/ibatis/javassist/ByteArrayClassPath.class is in there.  I just downloaded the binary package from the MyBatis site and it is.  It gets built during JAR construction; if you look at the source zip, you won't find that file there.
 
Hopefully that will narrow down where the problem lies.
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "ksktech" <[hidden email]>
To: "mybatis-user" <[hidden email]>
Sent: 6/6/2016 8:49:40 PM
Subject: Re: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi Guy,

Sorry for the typo. I tried both Mybatis 3.4.0 and 3.3.1 with same results.

On Tuesday, June 7, 2016 at 12:34:46 PM UTC+12, Guy Rouillier wrote:
Your subject says Mybatis 3.4.0, but I see this in the stack trace you provided:
 
[ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
Why are you using mybatis-3.3.1.jar?
 
--
Guy Rouillier
 
 
 
------ Original Message ------
From: "Senthil Kumar" <[hidden email]>
To: "mybatis-user" <[hidden email]>
Sent: 6/6/2016 6:05:44 PM
Subject: IBM WAS 8.5.5.9 - Spring Boot 1.3.4 - Mybatis 3.4.0 - com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource
 
Hi There,

I am trying to deploy a simple Spring Boot (1.3.4.RELEASE) application with mybatis dependency into IBM Websphere 8.5.5.9 (JDK 8). I see the following errors with Javassist package within the mybatis-3.4.0.jar file. This occurs only for all the classes under 'javassist' package in mybatis jar file.   How to resolve this issue?

Has anyone come across this issue? Thank You.

Basically I use Gradle to build a 'war' file for deployment. The following is my Gradle dependencies.

buildscript {
    ext {
        springBootVersion = '1.3.4.RELEASE'
    }
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}



sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile('org.springframework.boot:spring-boot-starter-actuator')
    compile('org.springframework.boot:spring-boot-actuator-docs')
    compile('org.springframework.boot:spring-boot-starter-freemarker')
    compile('org.springframework.boot:spring-boot-starter-jdbc')
    compile('org.springframework.boot:spring-boot-starter-web')
    compile("org.springframework.boot:spring-boot-starter-jetty")
    compile("org.springframework.boot:spring-boot-starter-ws")
   
    compile("org.hsqldb:hsqldb")
    compile("wsdl4j:wsdl4j:1.6.1")
    compile("commons-lang:commons-lang:2.6")
    compile("com.oracle:ojdbc6:11.2.0.4.0")
    compile("org.javassist:javassist:3.20.0-GA")
    compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
   
    jaxb("com.sun.xml.bind:jaxb-xjc:2.2.4-1")
   
    testCompile("junit:junit")
    testCompile('org.springframework.boot:spring-boot-starter-test')
   
    compile(files(genJaxb.classesDir).builtBy(genJaxb))
}



From IBM WAS 8 SystemOut Logs:


************ Start Display Current Environment ************
WebSphere Platform 8.5.5.9 [ND 8.5.5.9 cf091608.05][IBMJAVA8 8.0.2.10 cf091608.04][IBMJAVA7 7.0.9.30 cf091608.04] running with process name devcell85_gen-dcb\akl0ia306\D0_WS09_11 and process id 9043
Host Operating System is Linux, version 2.6.32-642.el6.x86_64
Java version = 1.8.0, Java Runtime Version = pxa6480sr2fp10ifx-20160223_01 (SR2 FP10+IV81318+IV81645+IV81741+IV81716), Java Compiler = j9jit28, Java VM name = IBM J9 VM

was.install.root = /opt/IBM/WebSphere85/AppServerDEV
user.install.root = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb
Java Home = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/jre
ws.ext.dirs = /opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib:/opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/classes:/opt/IBM/WebSphere85/AppServerDEV/classes:/opt/IBM/WebSphere85/AppServerDEV/l
ib:/opt/IBM/WebSphere85/AppServerDEV/installedChannels:/opt/IBM/WebSphere85/AppServerDEV/lib/ext:/opt/IBM/WebSphere85/AppServerDEV/web/help:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/plugins/com.ibm.etool
s.ejbdeploy/runtime
Classpath = /opt/IBM/WebSphere85/AppServerDEV/profiles/devcell85_gen-dcb/properties:/opt/IBM/WebSphere85/AppServerDEV/properties:/opt/IBM/WebSphere85/AppServerDEV/lib/startup.jar:/opt/IBM/WebSphere85/AppServerD
EV/lib/bootstrap.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/jsf-nls.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/lmproxy.jar:/opt/IBM/WebSphere85/AppServerDEV/lib/urlprotocols.jar:/opt/IBM/WebSphere85/AppServerDEV/
deploytool/itp/batchboot.jar:/opt/IBM/WebSphere85/AppServerDEV/deploytool/itp/batch2.jar:/opt/IBM/WebSphere85/AppServerDEV/java_1.8_64/lib/tools.jar
Java Library path = /opt/IBM/WebSphere85/AppServerDEV/lib/native/linux/x86_64/:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere85/AppServerDEV/java/jre/lib/amd64:/opt/IBM/WebSphere85/AppServerDEV/bin:/opt/IBM/WebSphere85/AppServerDEV/nulldllsdir:/usr/lib:
Orb Version = IBM Java ORB build orb80-20151118.00
************* End Display Current Environment *************




[7/06/16 9:20:47:252 NZST] 00000071 ApplicationMg A   WSVR0204I: Application: loyalty-ws-mybatis-1_1  Application build level: Unknown
[7/06/16 9:20:48:451 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/ByteArrayClassPath.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]
[7/06/16 9:20:48:452 NZST] 00000071 wtp           W org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.WARFileAnnotationsDetector locateAnnotations Scan failure for [ org/apache/ibatis/javassist/CannotCompileException.class ] in [ WEB-INF/lib/mybatis-3.3.1.jar ]: [ null ]

.
.
.
.
.

[7/06/16 9:20:51:600 NZST] 00000071 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource org/apache/ibatis/javassist/ByteArrayClassPath.class in archive WEB-INF/lib/mybatis-3.3.1.jar
                                 java.lang.RuntimeException
        at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source)
        at org.objectweb.asm.ClassReader.b(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:149)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:124)
        at com.ibm.ws.ecs.internal.scan.impl.ClassScanner.scanInputStream(ClassScanner.java:120)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJAR(ScannerContextImpl.java:275)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scanJARs(ScannerContextImpl.java:315)
        at com.ibm.ws.ecs.internal.scan.context.impl.WARScannerContext.scanInternal(WARScannerContext.java:76)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.scan(ScannerContextImpl.java:87)
        at com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl.getScannedClasses(ScannerContextImpl.java:70)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.scanForHandlesTypesClasses(WebAppImpl.java:764)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:605)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:170)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1178)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1383)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:972)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:777)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2197)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5486)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5612)
        at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2202)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:126)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:984)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

Virus-free. www.avast.com

Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.