File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Server won't start after JDK change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Server won Watch "Server won New topic
Author

Server won't start after JDK change

Jake Lee
Greenhorn

Joined: Apr 02, 2002
Posts: 18
I change the jdk from 131 to 140...then the server won't start...
Anyone can help here?
Thanks.
W

java.lang.SecurityException: Unable to locate a login configuration
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(DelegatingConstructorAccessorIm
pl.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 javax.security.auth.login.LoginContext$1.run(LoginContext.java:170)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.init(LoginContext.java:167)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:393)
at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate.java:81)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:200)
at weblogic.Server.main(Server.java:35)
Caused by: java.io.IOException: Unable to locate a login configuration
at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
... 16 more
cdscds
Greenhorn

Joined: Oct 11, 2002
Posts: 2
I have the same question
but the jdk1.3.1_05 is also have the question
if you know why please tell my
thanks
my
jdk 1.3 or jdk1.4
linux red hat 7.2 or red flag
weblogic 6.1
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
BEA does not support running WebLogic under J2SE 1.4. There is a way to get it to work however (read hack). Check this document for more information: WebLogic Server 6.1 - JDK 1.4 Login Configuration.
Remember that BEA does not officially support this configuration.
Justin Oliver
Greenhorn

Joined: Nov 21, 2003
Posts: 1
The document suggests using Sun's NTLoginModule. I had authentication problems using this module.
Instead I used Weblogic's module ie login.conf should contain:
ServerLoginModule {
weblogic.security.internal.ServerLoginModule required debug=true;
};
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Server won't start after JDK change