0 Replies Latest reply on Jan 13, 2012 7:06 PM by calduser CS

    porting to jboss as 7, jar conflict.

    calduser CS Newbie

      Hi

      we have an ear that is working good in weblogic and now we are trying to port this ear to Jboss.

      I have modified ear structure and mapped Jboss related transaction files.

       

      Here is the exception that is coming and is this jar conflict with the ear? if so how to find jars that are shipped with jboss AS 7. how resolve the following error?

      thanks

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4) java.lang.reflect.InvocationTargetException

       

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4)           at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)

       

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

       

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4)           at java.lang.reflect.Method.invoke(Method.java:597)

       

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4)           at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)

       

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4)           at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)

       

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4)           at org.apache.commons.digester.Rule.end(Rule.java:276)

       

       

      16:03:41,601 INFO  [stdout] (MSC service thread 1-4)           at org.apache.commons.digester.Digester.endElement(Digester.java:1058)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:596)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1193)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1645)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1196)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.commons.digester.Digester.parse(Digester.java:1567)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.core.config.ServiceManager.init(ServiceManager.java:308)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.core.config.ServiceManager.init(ServiceManager.java:289)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.portal.api.core.AbstractApplication.loadServiceManagerFile(AbstractApplication.java:160)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.portal.api.core.AbstractApplication.init(AbstractApplication.java:110)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.portal.api.core.AbstractApplication.init(AbstractApplication.java:95)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.mbo.TrueMboWebApp.contextInitialized(TrueMboWebApp.java:13)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at java.lang.Thread.run(Thread.java:619)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4) Caused by: java.lang.NullPointerException

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.portal.api.core.meta.PortalUrlFinder.getPortalInternalRoot(PortalUrlFinder.java:26)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.portal.api.services.object.impl.ObjectSeqIdGenerator.init(ObjectSeqIdGenerator.java:44)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           at com.callidus.core.config.Module.addService(Module.java:119)

       

       

      16:03:41,617 INFO  [stdout] (MSC service thread 1-4)           ... 31 more

       

       

      16:03:41,617 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/TrueMBO]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class com.callidus.mbo.TrueMboWebApp: java.lang.RuntimeException: Error during ServiceManager initialization for URL : /C:/jboss-as-7.0.2.Final/bin/content/TrueMBO.ear/TrueMBO.war/WEB-INF/classes/portal-service-config.xml

                at com.callidus.core.config.ServiceManager.init(ServiceManager.java:292) [CoreConfig-K2-SNAPSHOT.jar:]

                at com.callidus.portal.api.core.AbstractApplication.loadServiceManagerFile(AbstractApplication.java:160) [cpor-api-core-K2-SNAPSHOT.jar:]

                at com.callidus.portal.api.core.AbstractApplication.init(AbstractApplication.java:110) [cpor-api-core-K2-SNAPSHOT.jar:]

                at com.callidus.portal.api.core.AbstractApplication.init(AbstractApplication.java:95) [cpor-api-core-K2-SNAPSHOT.jar:]

                at com.callidus.mbo.TrueMboWebApp.contextInitialized(TrueMboWebApp.java:13) [TrueMBO.jar:]

                at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_13]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_13]

                at java.lang.Thread.run(Thread.java:619) [:1.6.0_13]

      Caused by: java.lang.RuntimeException: java.lang.NullPointerException

                at com.callidus.core.config.ServiceManager.init(ServiceManager.java:314) [CoreConfig-K2-SNAPSHOT.jar:]

                at com.callidus.core.config.ServiceManager.init(ServiceManager.java:289) [CoreConfig-K2-SNAPSHOT.jar:]

                ... 12 more

      Caused by: java.lang.NullPointerException

                at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540) [commons-digester-1.5.jar:]

                at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566) [commons-digester-1.5.jar:]

                at org.apache.commons.digester.Digester.endElement(Digester.java:1061) [commons-digester-1.5.jar:]

                at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:596)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1193)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1645)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)

                at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)

                at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)

                at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)

                at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1196)

                at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)

                at org.apache.commons.digester.Digester.parse(Digester.java:1567) [commons-digester-1.5.jar:]

                at com.callidus.core.config.ServiceManager.init(ServiceManager.java:308) [CoreConfig-K2-SNAPSHOT.jar:]

                ... 13 more

       

       

      16:03:41,632 ERROR [stderr] (MSC service thread 1-4) java.lang.IllegalStateException: No modifications are allowed to a locked ResourceSet

       

       

      16:03:41,742 ERROR [stderr] (MSC service thread 1-4)           at org.apache.catalina.util.ResourceSet.add(ResourceSet.java:145)

       

       

      16:03:41,742 ERROR [stderr] (MSC service thread 1-4)           at java.util.AbstractCollection.addAll(AbstractCollection.java:305)

       

       

      16:03:41,742 ERROR [stderr] (MSC service thread 1-4)           at com.callidus.program.calc.webclient.WarResourceLocator.getResources(WarResourceLocator.java:134)

       

       

      16:03:41,742 ERROR [stderr] (MSC service thread 1-4)           at com.callidus.program.calc.webclient.WarResourceLocator.getResources(WarResourceLocator.java:65)

       

       

      16:03:41,742 ERROR [stderr] (MSC service thread 1-4)           at com.callidus.calc.config.resource.AbstractLocator.getResource(AbstractLocator.java:39)

       

       

      16:03:41,742 ERROR [stderr] (MSC service thread 1-4)           at com.callidus.program.calc.webclient.CalcServiceInitializer.initServiceManager(CalcServiceInitializer.java:49)

       

       

      16:03:41,742 ERROR [stderr] (MSC service thread 1-4)           at com.callidus.program.calc.webclient.CalcServiceInitializer.contextInitialized(CalcServiceInitializer.java:23)

       

       

      16:03:41,757 ERROR [stderr] (MSC service thread 1-4)           at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)

       

       

      16:03:41,757 ERROR [stderr] (MSC service thread 1-4)           at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)

       

       

      16:03:41,757 ERROR [stderr] (MSC service thread 1-4)           at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)

       

       

      16:03:41,773 ERROR [stderr] (MSC service thread 1-4)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

       

       

      16:03:41,773 ERROR [stderr] (MSC service thread 1-4)           at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

       

       

      16:03:41,773 ERROR [stderr] (MSC service thread 1-4)           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

       

       

      16:03:41,773 ERROR [stderr] (MSC service thread 1-4)           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

       

       

      16:03:41,773 ERROR [stderr] (MSC service thread 1-4)           at java.lang.Thread.run(Thread.java:619)