Debugging ofbiz with JBoss in eclipse gyanemede

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging ofbiz with JBoss in eclipse gyanemede

Neha Mehta

   Hi,

 

  I am trying to debug ofbiz with jboss server in eclipse gyanemede. I get an exception trace as follows. I am not able to find out the reason for this.

 

 ERROR [[/accounting]] Exception starting filter ContextFilter

java.lang.NullPointerException

      at org.ofbiz.base.util.FileUtil.getFile(FileUtil.java:57)

      at org.ofbiz.base.util.FileUtil.getFile(FileUtil.java:53)

      at org.ofbiz.base.container.ComponentContainer.loadComponents(ComponentContainer.java:124)

      at org.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:90)

      at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188)

      at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)

      at org.ofbiz.base.container.ContainerLoader.loadContainers(ContainerLoader.java:203)

      at org.ofbiz.webapp.control.ContextFilter.getContainers(ContextFilter.java:415)

      at org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:100)

      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)

      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)

 

 

ERROR [StandardContext] Error filterStart

12:20:04,687 ERROR [StandardContext] Context [/accounting] startup failed due to previous errors

12:20:04,718 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=accounting.war,id=1025421308

org.jboss.deployment.DeploymentException: URL file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/ deployment failed

      at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)

      at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

      at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

      at org.jboss.web.WebModule.startModule(WebModule.java:83)

 

 

 

ERROR [MainDeployer] Could not start deployment: file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/

org.jboss.deployment.DeploymentException: URL file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/ deployment failed

      at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)

      at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

      at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

      at org.jboss.web.WebModule.startModule(WebModule.java:83)

      at org.jboss.web.WebModule.startService(WebModule.java:61)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

 

 

-- Incompletely deployed packages ---

org.jboss.deployment.DeploymentInfo@3d1eaffc { url=file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/ }

  deployer: MBeanProxyExt[jboss.web:service=WebServer]

  status: Deployment FAILED reason: URL file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/ deployment failed

  state: FAILED

  watch: file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/accounting.war/WEB-INF/web.xml

  altDD: null

  lastDeployed: 1270018195484

  lastModified: 1265801791175

  mbeans:

 

org.jboss.deployment.DeploymentInfo@177de7a2 { url=file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ap.war/ }

  deployer: MBeanProxyExt[jboss.web:service=WebServer]

  status: Created

  state: CREATED

  watch: file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ap.war/WEB-INF/web.xml

  altDD: null

  lastDeployed: 1270018195672

  lastModified: 1265801791847

  mbeans:

 

org.jboss.deployment.DeploymentInfo@1ae798e0 { url=file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ar.war/ }

  deployer: MBeanProxyExt[jboss.web:service=WebServer]

  status: Created

  state: CREATED

  watch: file:/D:/dev/ofbiz_jboss_postgres/jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ar.war/WEB-INF/web.xml

  altDD: null

  lastDeployed: 1270018196578

  lastModified: 1265801791222

  mbeans:

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks & Regards,

Neha Mehta

 



This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Debugging ofbiz with JBoss in eclipse gyanemede

Ravindra Mandre-2
Hi,
looking to the details that you provided it seems that you are using a old
one war file for accounting, ar,ap . Please check your settings , build path
and then compile again. if you get some different error then post .

HTH

Ravindra Mandre
Reply | Threaded
Open this post in threaded view
|

Re: Debugging ofbiz with JBoss in eclipse gyanemede

sapan
In reply to this post by Neha Mehta
Did you find a solution to the problem? I am facing the same problem with Ofbiz 10.0.4 and jboss 501.