facebook

Weblogic 6 Question

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #221512 Reply

    rubcarreno
    Member

    My 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

    #221519

    Scott Anderson
    Participant

    You 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

    #221612

    rubcarreno
    Member

    I 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

    #221617

    Riyad Kalla
    Member

    rubcarreno,
    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?

    #223294

    Yter
    Member

    Had 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!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Weblogic 6 Question

You must be logged in to post in the forum log in