For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 4 voices, and was last updated 20 years, 11 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 moreDecember 18, 2004 at 6:24 pm #221519
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.htmlDecember 20, 2004 at 3:33 pm #221612
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
December 20, 2004 at 4:46 pm #221617
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?January 21, 2005 at 9:56 am #223294
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
