-
1. Re: 3.0.0b2 auth.conf SecurityException: Config Error
davidjencks Apr 9, 2002 8:42 PM (in response to elkner)hsqldb has UserName="sa", Password="" by default. Password="sa" doesn't work. I don't have jdk 1.4 yet, I don't understand exactly what the problem with the default auth.conf is. Could you explain in more detail?
-
2. Re: 3.0.0b2 auth.conf SecurityException: Config Error
elkner Apr 10, 2002 4:25 PM (in response to elkner)Hi David,
the problem is: having the password set to "", I get a lot
of security exceptions when starting jboss:
21:52:41,243 INFO [SecurityConfig] Starting
21:52:41,351 ERROR [SecurityConfig] Starting failed
java.lang.SecurityException: Configuration Error:
Line 60: system property [] expanded to empty value
at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
21:52:41,396 ERROR [SARDeployer] start operation failed on package file:/opt/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.(ConfigFile.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
21:52:41,699 ERROR [MainDeployer] could not start deployment :file:/opt/jboss-3.0.0beta2/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Configuration Error:
Line 60: system property [] expanded to empty value; - nested throwable is: java.lang.SecurityException: Configuration Error:
Line 60: system property [] expanded to empty value
java.lang.SecurityException: Configuration Error:
Line 60: system property [] expanded to empty value
at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
21:52:41,757 ERROR [MainDeployer] Couldn't deploy URL file:/opt/jboss-3.0.0beta2/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Configuration Error:
Line 60: system property [] expanded to empty value; - nested throwable is: java.lang.SecurityException: Configuration Error:
Line 60: system property [] expanded to empty value
java.lang.SecurityException: Configuration Error:
Line 60: system property [] expanded to empty value
at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
So JBoss suffer an IOException, "because an empty password is not allowed anymore".
Since you said, hsqldb has UserName="sa", Password="" by default, I assume, their is a way to change the default
password to a non-empty value and JBoss will probably work. Have you a hint, how to do that?
I know, this would be only a workaround. I guess, this is really a JBoss Bug, because JBoss probably assumes, that getProperty(key) always returns a non-null value ...
Regards,
jens.