[JBoss-dev] DocumentException "missing" in Branch_4_0

Scott M Stark scott.stark at jboss.org
Thu Sep 21 13:30:30 EDT 2006


The problem is that there are dom4j dependencies in jboss-common.jar 
(org.jboss.util.state.xml.StateMachineParser for one), and these will 
need to be removed to avoid leaking this dependency into the bootstrap 
classpath.

Kabir Khan wrote:
> When starting up jboss in Branch_4_0 I get a load of these errors
>
> 2006-09-21 17:27:17,406 WARN  [org.jboss.system.ServiceController] Problem
> starting service jboss.web.deployment:id=-1758252921,war=invoker.war
> java.lang.NoClassDefFoundError: org/dom4j/DocumentException
> 	at
> org.jboss.security.jacc.JBossPolicyConfigurationFactory.<init>(JBossPolicyCo
> nfigurationFactory.java:57)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> 	at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
> sorImpl.java:39)
> 	at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
> torAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> 	at java.lang.Class.newInstance0(Class.java:308)
> 	at java.lang.Class.newInstance(Class.java:261)
> 	at
> javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory
> (PolicyConfigurationFactory.java:91)
> 	at
> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:351)
> 	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(ServiceMBeanSupp
> ort.java:245)
> 	at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>
> But server/all/lib/dom4j.jar contains org.dom4j.DocumentException. Any
> ideas?
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
>   




More information about the jboss-development mailing list