[jboss-dev] missing security config file?
Ales Justin
ales.justin at gmail.com
Thu Aug 7 07:47:19 EDT 2008
> So it can't find conf/login-config.xml
> since this is loaded by ClassLoader.getResource(), my guess is that you
> haven't added the new ClassPath deployer to deployers.xml
>
> Index: server/src/etc/conf/default/deployers.xml
> ===================================================================
> --- server/src/etc/conf/default/deployers.xml (revision 76563)
> +++ server/src/etc/conf/default/deployers.xml (working copy)
> @@ -206,6 +206,7 @@
> </property>
> </bean>
> <bean name="InMemoryClassesDeployer" class="org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer"/>
> + <bean name="ClassLoaderClassPathDeployer" class="org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderClassPathDeployer"/>
> <bean name="ClassLoaderDescribeDeployer" class="org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderDescribeDeployer">
> <property name="classLoading"><inject bean="ClassLoading"/></property>
> </bean>
>
> Failing that (assuming you did a clean build) you'll
> need to debug why it can't find the resource.
>
> e.g. enable TRACE for org.jboss.classloader
That's what I thought too.
But it's there:
<bean name="InMemoryClassesDeployer"
class="org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer"/>
<bean name="ClassLoaderClassPathDeployer"
class="org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderClassPathDeployer"/>
<bean name="ClassLoaderDescribeDeployer"
class="org.jboss.deployers.vfs.plugins.classloader.VFSClassLoaderDescribeDeployer">
OK, debug then. :-(
More information about the jboss-development
mailing list