Topic
6 replies Latest Post - ‏2014-01-02T17:06:13Z by rsanchezh
rick.lacy
rick.lacy
15 Posts
ACCEPTED ANSWER

Pinned topic tag files in jar file with deployment assembly don't work

‏2013-07-07T03:22:41Z |

Here's my situation.

I'm developing some jsp tag files.  I have a Java project for these.  I placed the tag files in a subdirectory of META-INF and have an appropriate tld file.  I have a web project where I want to test these.  I added the Java project as a dependency to the web project via the deployment assembly screens.  I can use the custom tags in a jsp file and at some level RAD is aware of them because I have code completion for them.

However, deploying to WebSphere just doesn't work.  I get a long stack trace indicating that the tld file could not be parsed because the tag file cannot be found.  If I build a jar file and include this in a project, the custom tags are found just fine.  Also, if I remove any WebSphere specific libraries, I can deploy the same project to a tomcat server and it works as I would expect.  It really looks to me like a problem with the WebSphere server adapters.

I've tried this with RAD 8.5.1 and WAS 7 and I've tried it with RAD 9 and WAS 8.5.  Both fail.  The web preview server also fails to behave properly.  I'll probably end up opening a PMR, but wanted to check if someone had something simple I'm missing first.  It seems like this should just work...

 

Stack trace:

[7/6/13 21:46:59:870 CDT] 00000058 jsp E com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [myTLD.tld]: JSPG0036E: Failed to find resource /META-INF/tags/messages.tag

[7/6/13 21:46:59:871 CDT] 00000058 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadLooseLibTagFiles jsp error failed to parse loose library tld . location = [C:\workspaces\TagTest1\MyCustomTagLibrary\bin/META-INF]

com.ibm.ws.jsp.JspCoreException: com.ibm.ws.jsp.JspCoreException: JSPG0036E: Failed to find resource /META-INF/tags/messages.tag

at com.ibm.ws.jsp.taglib.TldParser.parseTLD(TldParser.java:271)

at com.ibm.ws.jsp.taglib.TagLibraryCache.loadLooseLibTagFiles(TagLibraryCache.java:624)

at com.ibm.ws.jsp.taglib.TagLibraryCache.loadLooseLibTagFiles(TagLibraryCache.java:684)

at com.ibm.ws.jsp.taglib.TagLibraryCache.<init>(TagLibraryCache.java:123)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.<init>(AbstractJSPExtensionProcessor.java:215)

at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionProcessor.<init>(WASJSPExtensionProcessor.java:81)

at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionFactory.createProcessor(WASJSPExtensionFactory.java:267)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionFactory.createExtensionProcessor(AbstractJSPExtensionFactory.java:76)

at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1370)

at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:531)

at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:407)

at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)

at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)

at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:746)

at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)

at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)

at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)

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

at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)

at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)

at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)

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

at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1367)

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

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)

at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:663)

at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5363)

at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5579)

at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

at com.ibm.ws.management.application.AppManagementImpl._startApplication(AppManagementImpl.java:1482)

at com.ibm.ws.management.application.AppManagementImpl.startApplication(AppManagementImpl.java:1371)

at com.ibm.ws.management.application.AppManagementImpl.startApplication(AppManagementImpl.java:1320)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

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:1814)

Caused by: com.ibm.ws.jsp.JspCoreException: JSPG0036E: Failed to find resource /META-INF/tags/messages.tag

at com.ibm.ws.jsp.taglib.TldParser.endElement(TldParser.java:482)

at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

at javax.xml.parsers.SAXParser.parse(Unknown Source)

at com.ibm.ws.jsp.translator.visitor.xml.ParserFactory.parseDocument(ParserFactory.java:102)

at com.ibm.ws.jsp.taglib.TldParser.parse(TldParser.java:315)

at com.ibm.ws.jsp.taglib.TldParser.parseTLD(TldParser.java:266)

... 83 more

---- Begin backtrace for Nested Throwables

com.ibm.ws.jsp.JspCoreException: JSPG0036E: Failed to find resource /META-INF/tags/messages.tag

at com.ibm.ws.jsp.translator.document.XMLEncodingDetector.getInputStream(XMLEncodingDetector.java:1632)

at com.ibm.ws.jsp.translator.document.XMLEncodingDetector.getEncoding(XMLEncodingDetector.java:79)

at com.ibm.ws.jsp.translator.document.Jsp2Dom.detectXMLEncoding(Jsp2Dom.java:602)

at com.ibm.ws.jsp.translator.document.Jsp2Dom.getSyntaxAndEncoding(Jsp2Dom.java:258)

at com.ibm.ws.jsp.translator.document.Jsp2Dom.getJspDocument(Jsp2Dom.java:175)

at com.ibm.ws.jsp.translator.JspTranslator.<init>(JspTranslator.java:73)

at com.ibm.ws.jsp.translator.JspTranslatorFactory.createTranslator(JspTranslatorFactory.java:116)

at com.ibm.ws.jsp.taglib.TldParser.endElement(TldParser.java:459)

at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

at javax.xml.parsers.SAXParser.parse(Unknown Source)

at com.ibm.ws.jsp.translator.visitor.xml.ParserFactory.parseDocument(ParserFactory.java:102)

at com.ibm.ws.jsp.taglib.TldParser.parse(TldParser.java:315)

at com.ibm.ws.jsp.taglib.TldParser.parseTLD(TldParser.java:266)

at com.ibm.ws.jsp.taglib.TagLibraryCache.loadLooseLibTagFiles(TagLibraryCache.java:624)

at com.ibm.ws.jsp.taglib.TagLibraryCache.loadLooseLibTagFiles(TagLibraryCache.java:684)

at com.ibm.ws.jsp.taglib.TagLibraryCache.<init>(TagLibraryCache.java:123)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.<init>(AbstractJSPExtensionProcessor.java:215)

at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionProcessor.<init>(WASJSPExtensionProcessor.java:81)

at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionFactory.createProcessor(WASJSPExtensionFactory.java:267)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionFactory.createExtensionProcessor(AbstractJSPExtensionFactory.java:76)

at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1370)

at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:531)

at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:407)

at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)

at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)

at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:746)

at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)

at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)

at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)

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

at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)

at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)

at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)

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

at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1367)

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

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)

at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)

at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:663)

at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5363)

at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5579)

at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

at com.ibm.ws.management.application.AppManagementImpl._startApplication(AppManagementImpl.java:1482)

at com.ibm.ws.management.application.AppManagementImpl.startApplication(AppManagementImpl.java:1371)

at com.ibm.ws.management.application.AppManagementImpl.startApplication(AppManagementImpl.java:1320)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

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:1814)

Caused by: java.io.FileNotFoundException: JSPG0036E: Failed to find resource /META-INF/tags/messages.tag

... 105 more

  • rick.lacy
    rick.lacy
    15 Posts
    ACCEPTED ANSWER

    Re: tag files in jar file with deployment assembly don't work

    ‏2013-07-07T03:32:18Z  in response to rick.lacy

    One more piece of information.  If I change the setting to Run server with resources on Server rather than workspace, the custom tag files are also found.  However, this is not really a good option - I want to use resources from the workspace for speed.

    • R.Goff
      R.Goff
      6 Posts
      ACCEPTED ANSWER

      Re: tag files in jar file with deployment assembly don't work

      ‏2013-07-08T14:27:42Z  in response to rick.lacy

      Please open up a pmr and provide jsp trace so that we can diagnose your issue.

      • Sanjeev@RAD
        Sanjeev@RAD
        2 Posts
        ACCEPTED ANSWER

        Re: tag files in jar file with deployment assembly don't work

        ‏2013-12-24T12:42:56Z  in response to R.Goff

         

        Hi IBM Support,

        We are using Clustered server of WAS ND7.0.0.25 and trying to deploy our EAR on it. but its giving below error. We are not able to access JSPs. Can you please analyze it and come back with solution.

         

        [12/24/13 18:00:15:277 IST] 0000001a webapp        I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: XGH.
        [12/24/13 18:00:15:777 IST] 00000019 SibMessage    I   [XGH_Bus:XGH_Cluster.000-XGH_Bus] CWSIV0777I: A connection to messaging engine XGH_Cluster.000-XGH_Bus for destination XGHTxnReprocessingQueue on bus XGH_Bus has been successfully created.
        [12/24/13 18:00:16:874 IST] 00000029 WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain chain_1.
        [12/24/13 18:00:16:122 IST] 0000001a annotation    W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses unable to instantiate class
                                         java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
                at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
                at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:363)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:511)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:543)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.loadClass(WASAnnotationHelper.java:725)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.collectClasses(WASAnnotationHelper.java:519)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.<init>(WASAnnotationHelper.java:140)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelperManager.getAnnotationHelper(WASAnnotationHelperManager.java:59)
                at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:247)
                at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
                at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:732)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1127)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
                at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2051)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:385)
                at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:328)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:113)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:895)
                at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
        Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport
                at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                ... 50 more
         
        [12/24/13 18:00:18:771 IST] 00000019 SibMessage    I   [XGH_Bus:XGH_Cluster.000-XGH_Bus] CWSIV0777I: A connection to messaging engine XGH_Cluster.000-XGH_Bus for destination XGH_JMS_QUEUE_DIST on bus XGH_Bus has been successfully created.
        [12/24/13 18:00:18:827 IST] 00000019 SibMessage    I   [XGH_Bus:XGH_Cluster.000-XGH_Bus] CWSIV0777I: A connection to messaging engine XGH_Cluster.000-XGH_Bus for destination XGHAlertsQueue on bus XGH_Bus has been successfully created.
        [12/24/13 18:00:18:852 IST] 00000019 SibMessage    I   [XGH_Bus:XGH_Cluster.000-XGH_Bus] CWSIV0777I: A connection to messaging engine XGH_Cluster.000-XGH_Bus for destination XGHAutoReportQueue on bus XGH_Bus has been successfully created.
        [12/24/13 18:00:18:876 IST] 0000001a annotation    W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses unable to instantiate class
                                         java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
                at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
                at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:363)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:511)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:543)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.loadClass(WASAnnotationHelper.java:725)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.collectClasses(WASAnnotationHelper.java:519)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.<init>(WASAnnotationHelper.java:140)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelperManager.getAnnotationHelper(WASAnnotationHelperManager.java:59)
                at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:247)
                at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
                at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:732)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1127)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
                at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2051)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:385)
                at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:328)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:113)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:895)
                at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
        Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport
                at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                ... 50 more
         
        [12/24/13 18:00:18:979 IST] 0000001a annotation    W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses unable to instantiate class
                                         java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
                at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
                at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:363)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:511)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:543)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.loadClass(WASAnnotationHelper.java:725)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.collectClasses(WASAnnotationHelper.java:519)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.<init>(WASAnnotationHelper.java:140)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelperManager.getAnnotationHelper(WASAnnotationHelperManager.java:59)
                at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:247)
                at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
                at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:732)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1127)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
                at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2051)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:385)
                at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:328)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:113)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:895)
                at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
        Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport
                at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                ... 50 more
         
        [12/24/13 18:00:19:017 IST] 00000029 SibMessage    I   [XGH_Bus:XGH_Cluster.000-XGH_Bus] CWSIT0028I: The connection for messaging engine XGH_Cluster.000-XGH_Bus in bus XGH_Bus to messaging engine XGH_Cluster.001-XGH_Bus started.
        [12/24/13 18:00:19:096 IST] 0000001a annotation    W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses unable to instantiate class
                                         java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
                at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
                at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:363)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:511)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:543)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.loadClass(WASAnnotationHelper.java:725)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.collectClasses(WASAnnotationHelper.java:519)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.<init>(WASAnnotationHelper.java:140)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelperManager.getAnnotationHelper(WASAnnotationHelperManager.java:59)
                at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:247)
                at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
                at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:732)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1127)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
                at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2051)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:385)
                at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:328)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:113)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:895)
                at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
        Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport
                at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                ... 50 more
         
        [12/24/13 18:00:19:318 IST] 0000001a annotation    W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses unable to instantiate class
                                         java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagSupport
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
                at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
                at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:363)
                at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
                at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:511)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:543)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:247)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.loadClass(WASAnnotationHelper.java:725)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.collectClasses(WASAnnotationHelper.java:519)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.<init>(WASAnnotationHelper.java:140)
                at com.ibm.ws.webcontainer.annotation.WASAnnotationHelperManager.getAnnotationHelper(WASAnnotationHelperManager.java:59)
                at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:247)
                at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
                at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:732)
                at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:617)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
                at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1127)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
                at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
                at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
                at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2051)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:385)
                at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:328)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:113)
                at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:895)
                at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
        Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagSupport
                at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                ... 50 more
         
        [12/24/13 18:00:19:724 IST] 0000001a WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_hostXGH
        [12/24/13 18:00:20:298 IST] 00000019 SibMessage    I   [XGH_Bus:XGH_Cluster.000-XGH

         

  • VictorSosa
    VictorSosa
    1 Post
    ACCEPTED ANSWER

    Re: tag files in jar file with deployment assembly don't work

    ‏2013-12-25T00:54:39Z  in response to rick.lacy

    Hello

    I might be wrong about this, but I think your problem is that you are using a WAS ND while RAD doesn't support this type of servers. This is very well documented in RAD infocenter

    http://pic.dhe.ibm.com/infocenter/radhelp/v8/index.jsp?topic=%2Fcom.ibm.rad.install.doc%2Ftopics%2Frswsuprad700.html

    http://pic.dhe.ibm.com/infocenter/radhelp/v9/index.jsp?topic=%2Fcom.ibm.servertools.doc%2Ftopics%2Fcwover.html

    Hope this helps.

    Happy holidays!

    • Sanjeev@RAD
      Sanjeev@RAD
      2 Posts
      ACCEPTED ANSWER

      Re: tag files in jar file with deployment assembly don't work

      ‏2013-12-25T10:11:37Z  in response to VictorSosa

      Hi Victor,

      Thanks for the reply. We are not using RAD. We are deploying application EAR on WAS ND 7.0.0.25 clustered servers. Its giving above exceptions.

       

      --Sanjeev

      • rsanchezh
        rsanchezh
        26 Posts
        ACCEPTED ANSWER

        Re: tag files in jar file with deployment assembly don't work

        ‏2014-01-02T17:06:13Z  in response to Sanjeev@RAD

        Hello,

        Given that the problem you are seeing is different from the problem originally reported in this post, and that you are not using RAD (in the originall post, the problem only happens when using RAD to publish using resources in workspace), I suggest opening a new thread to not mix up unrelated problems.

        If you open a new post, I suggest providing more details about your application (which Java EE version is using, etc).