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.deploymenti...@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.deploymenti...@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.deploymenti...@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.
______________________________________________________________________