On Thu, 2008-08-07 at 12:54 +0200, Ales Justin wrote:
I've applied
https://jira.jboss.org/jira/browse/JBDEPLOY-14 to
AS5_trunk.
Building/running on Adrian's snapshot suggestion:
-
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140206
I get this exceptions at runtime (see below).
I doubt JBDEPLOY-14 is the issue.
Does anyone else see this - w/o JBDEPLOY-14, but with Adrian's changes?
Or any idea where to find the cause for this?
12:36:46,234 ERROR [AbstractKernelController] Error installing to
Start:
name=jboss.messaging:service=PersistenceManager state=Create mode=Manual
requiredState=Installed
java.lang.SecurityException: Unable to locate a login configuration
at
com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
at
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
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx