Newsgroup: it.comp.java
Titolo: JBoss problemi di startup con login-config.cml





Salve a tutti,


    Sto utilizzando JBoss 4.0.3 SP1 e allo start-up mi 
compare il seguente messaggio di errore:
4:46:45,843 WARN 
[XMLLoginConfigImpl] End loadConfig, failed to load config: 
file:/D:/jboss-4.0.3SP1/server/default/conf/login-config.xml
org.jboss.security.auth.login.ParseException: 
Encountered "<?xml" at line 1, column 1.
Was expecting one 
of:
<EOF> 
<IDENTIFIER> ...
at 
org.jboss.security.auth.login.SunConfigParser.generateParseException(SunConfigParser.java:395)
at 
org.jboss.security.auth.login.SunConfigParser.jj_consume_token(SunConfigParser.java:333)
at 
org.jboss.security.auth.login.SunConfigParser.config(SunConfigParser.java:98)
at 
org.jboss.security.auth.login.SunConfigParser.parse(SunConfigParser.java:57)
at 
org.jboss.security.auth.login.SunConfigParser.doParse(SunConfigParser.java:79)
at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadSunConfig(XMLLoginConfigImpl.java:294)
at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:278)
at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:252)
at 
org.jboss.security.auth.login.XMLLoginConfig.startService(XMLLoginConfig.java:162)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at 
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at 
java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at 
$Proxy0.start(Unknown Source)
at 
org.jboss.system.ServiceController.start(ServiceController.java:428)
at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at 
java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at 
$Proxy4.start(Unknown Source)
at 
org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
at 
org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at 
java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at 
$Proxy5.deploy(Unknown Source)
at 
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
at 
org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
at 
org.jboss.Main.boot(Main.java:187)
at 
org.jboss.Main$1.run(Main.java:438)
at java.lang.Thread.run(Unknown 
Source)
Non riesco a capire quale possa essere la 
ragione!
Qualcuno mi potrebbe aiutare?


Grazie in 
anticipo
Andrea



I get the same problem running JBoss 4.0.3 SP1 in Eclipse with a hacked
Jboss 3 config -
did U get anywhere with this?
Steve.
