Vertx tcp client failing in Websphere 8.5.5 version, during jar scanning

475 views
Skip to first unread message

hyginous neto

unread,
Apr 6, 2017, 9:27:03 PM4/6/17
to vert.x
Hi Vertx Team,

We have created a java log component which uses Vertx TCP client, and connects to Vertx TCP service. 

Vertx TCP client is failing during deployment, specifically during jar scanning

-1.03-SNAPSHOT.war/WEB-INF/lib/jboss-jaxrs-api_2.0_spec-1.0.1.Beta1.jar location rather than from a product class loader.

[4/6/17 17:44:31:776 MST] 00000064 AbstractInjec W   CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the file:/profiles/wsfpp1/installedApps/AU02/loyalty_merchandising_api_ear_A.ear/axp-loyalty-merchandising-api-war-1.03-SNAPSHOT.war/WEB-INF/lib/jboss-jaxrs-api_2.0_spec-1.0.1.Beta1.jar location rather than from a product class loader.

[4/6/17 17:44:31:804 MST] 00000064 WASSessionCor I SessionContextRegistry getSessionContext CWSEN0176I: Will create a new session context for application key http_service_A/loyalty-merchandise

[4/6/17 17:44:31:818 MST] 00000064 jsp           I com.ibm.ws.jsp.configuration.GlobalJspConfigProps populateGlobalProperties JSPG8502I: The value of the JSP attribute jdkSourceLevel is "16".

[4/6/17 17:44:33:136 MST] 00000064 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource io/vertx/core/cli/CLI.class in archive WEB-INF/lib/vertx-core-3.3.3.jar

                                 java.lang.RuntimeException

        at org.objectweb.asm.MethodVisitor.visitTypeAnnotation(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.startApplicationDynamically(ApplicationMgrImpl.java:1380)

        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2191)

        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$1.run(CompositionUnitMgrImpl.java:653)

        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.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:667)

        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:611)

        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1270)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

        at java.lang.reflect.Method.invoke(Method.java:507)

        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83)

        at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

        at java.lang.reflect.Method.invoke(Method.java:507)

        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)

        at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1263)

        at java.security.AccessController.doPrivileged(AccessController.java:620)

        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)

        at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1257)

        at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1096)

        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:831)

        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:813)

        at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1350)

        at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)

        at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1243)

        at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)

        at com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:247)

        at com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:360)

        at com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink$IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:602)

        at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1820)

        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)

 

[4/6/17 17:44:33:144 MST] 00000064 ecs           W com.ibm.ws.ecs.internal.scan.context.impl.ScannerContextImpl scanJAR unable to open input stream for resource io/vertx/core/cli/CommandLine.class in archive WEB-INF/lib/vertx-core-3.3.3.jar

                                 java.lang.RuntimeException

        at org.objectweb.asm.MethodVisitor.visitTypeAnnotation(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)

Jez P

unread,
Apr 7, 2017, 3:06:39 AM4/7/17
to vert.x
I think you probably need to work with Websphere to get more information on why it's failing during scanning. The information provided isn't going to give anyone much of a clue as to why. Find out if there is a way of getting more information out of Websphere or ASM on the failure. 

hyginous neto

unread,
Apr 7, 2017, 5:42:59 PM4/7/17
to vert.x
Hi Jez,

Thanks, will followup with Websphere team, But i wanted to check if there is anything can be done within Vertx jar.
Reply all
Reply to author
Forward
0 new messages