- This topic has 4 replies, 4 voices, and was last updated 19 years, 10 months ago by Yter.
-
AuthorPosts
-
rubcarrenoMemberMy trace is
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(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
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:404)
at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate.java:78)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:210)
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
Scott AndersonParticipantYou need to specify a security policy and possibly a JAAS login configuration for WLS 6. Please compare your configuration to the WebLogic 6 configuration shown here:
http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-16.html
rubcarrenoMemberI have the same configuration except for password. But I still with the same problem.
I have follow the recomendation of genuitec in this pdfs
http://www.genuitec.com/products/JDK14_WLS61.pdf
But when I tried to add the security line in startWebLogic, I received a large line is not accepted.
Do I have to exchange jdk 1.3 with 1.4 ?
Thank you for your help
Riyad KallaMemberrubcarreno,
That PDF seems to be for JDK1.4 and WLS6.1 so I’d guess that most likely the JDK might be the issue, can you give it a try and post back your results here?
YterMemberHad the same problem, this is what I did.
ServerLoginModule
{
weblogic.security.internal.ServerLoginModule required debug=true;
};This is saved in a plain text file in C:\bea\wlserver6.1
then point myEclipse to this file as the JAAS login config.
Byte!
-
AuthorPosts