The problem is in the parsing of conf/auth.conf. jboss-sdk1.4 crashes
when parses this fragment:
// Security domain for testing new jca framework
DefaultDbRealm {
//
// Security domain for new jca framework.
// One per ManagedConnectionFactory are required.
org.jboss.resource.security.ConfiguredIdentityLoginModule required
principal="sa"
userName="sa"
>>> password=""
managedConnectionFactoryName="jboss.jca:service=LocalTxCM"
;
};
If you changes password="" by password="xxx" then it starts ok, but you
have to modify passord in Default Db conforming to this by changing this
line in db/hypersonic/default.script from:
CREATE USER SA PASSWORD "" ADMIN
to:
CREATE USER SA PASSWORD "xxx" ADMIN
This worked to me, but is really weird
Xavi
El mi�, 27-03-2002 a las 00:23, Francisco Reverbel escribi�:
> It may not be a good idea to ask such a thing while people are celebrating
> at JBossOne... :-)
>
> Anyway, is this happening with somebody else? Or is it just with me?
>
> I am running jdk 1.4 on Linux. The relevant log excerpt is included below.
>
> Best,
>
> Francisco
>
> PS: So Marc had to attend the award ceremony while everybody else was
> having a party at JBossOne? ;-)
>
> --------------------> log excerpt <---------------------------------------
> 2002-03-26 20:05:43,946 INFO [org.jboss.security.plugins.SecurityConfig] Starting
> 2002-03-26 20:05:44,124 ERROR [org.jboss.security.plugins.SecurityConfig] Starting
>failed
> java.lang.SecurityException: Configuration Error:
> Line 60: system property [] expanded to empty value
> at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:296)
> at java.lang.Class.newInstance(Class.java:249)
> at javax.security.auth.login.Configuration$3.run(Configuration.java:221)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>javax.security.auth.login.Configuration.getConfiguration(Configuration.java:215)
> at
>org.jboss.security.plugins.DefaultLoginConfig.getConfiguration(DefaultLoginConfig.java:78)
> at
>org.jboss.security.plugins.DefaultLoginConfig.invoke(DefaultLoginConfig.java:155)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at
>org.jboss.security.plugins.SecurityConfig.installConfig(SecurityConfig.java:138)
> at
>org.jboss.security.plugins.SecurityConfig.pushLoginConfig(SecurityConfig.java:106)
> at
>org.jboss.security.plugins.SecurityConfig.startService(SecurityConfig.java:79)
> at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at
>org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:673)
> at $Proxy1.start(Unknown Source)
> at org.jboss.system.ServiceController.start(ServiceController.java:280)
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:169)
> at $Proxy4.start(Unknown Source)
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:642)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:500)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:463)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:445)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:320)
> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:208)
> at org.jboss.Main.boot(Main.java:138)
> at org.jboss.Main$1.run(Main.java:371)
> at java.lang.Thread.run(Thread.java:536)
> Caused by: java.io.IOException: Configuration Error:
> Line 60: system property [] expanded to empty value
> at com.sun.security.auth.login.ConfigFile.expand(ConfigFile.java:571)
> at com.sun.security.auth.login.ConfigFile.parseLoginEntry(ConfigFile.java:366)
> at com.sun.security.auth.login.ConfigFile.readConfig(ConfigFile.java:308)
> at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:218)
> at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:163)
> at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
> ... 48 more
> 2002-03-26 20:05:44,234 ERROR [org.jboss.deployment.SARDeployer] start operation
>failed on package
>file:/home/reverbel/jboss-all/build/output/jboss-3.0.0beta2/server/default/conf/jboss-service.xml
> java.lang.SecurityException: Configuration Error:
> Line 60: system property [] expanded to empty value
> at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:296)
> at java.lang.Class.newInstance(Class.java:249)
> at javax.security.auth.login.Configuration$3.run(Configuration.java:221)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>javax.security.auth.login.Configuration.getConfiguration(Configuration.java:215)
> at
>org.jboss.security.plugins.DefaultLoginConfig.getConfiguration(DefaultLoginConfig.java:78)
> at
>org.jboss.security.plugins.DefaultLoginConfig.invoke(DefaultLoginConfig.java:155)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at
>org.jboss.security.plugins.SecurityConfig.installConfig(SecurityConfig.java:138)
> at
>org.jboss.security.plugins.SecurityConfig.pushLoginConfig(SecurityConfig.java:106)
> at
>org.jboss.security.plugins.SecurityConfig.startService(SecurityConfig.java:79)
> at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at
>org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:673)
> at $Proxy1.start(Unknown Source)
> at org.jboss.system.ServiceController.start(ServiceController.java:280)
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:169)
> at $Proxy4.start(Unknown Source)
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:642)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:500)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:463)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:445)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:441)
> at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:320)
> at org.jboss.system.server.ServerImpl.start(ServerImpl.java:208)
> at org.jboss.Main.boot(Main.java:138)
> at org.jboss.Main$1.run(Main.java:371)
> at java.lang.Thread.run(Thread.java:536)
> Caused by: java.io.IOException: Configuration Error:
> Line 60: system property [] expanded to empty value
> at com.sun.security.auth.login.ConfigFile.expand(ConfigFile.java:571)
> at com.sun.security.auth.login.ConfigFile.parseLoginEntry(ConfigFile.java:366)
> at com.sun.security.auth.login.ConfigFile.readConfig(ConfigFile.java:308)
> at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:218)
> at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:163)
> at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
> ... 48 more
> 2002-03-26 20:05:44,303 DEBUG [org.jboss.deployment.SARDeployer] undeploying
>document
>file:/home/reverbel/jboss-all/build/output/jboss-3.0.0beta2/server/default/conf/jboss-service.xml
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development