Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception in thread "main" javax.security.auth.login.LoginException: java.net.MalformedURLException:

1051758Jan 3 2017 — edited Jan 11 2017

When I am trying to run  the UploadJars.sh script in Unix ,

I receive the folliwng error

[[Enter context (i.e.: weblogic.jndi.WLInitialContextFactory for weblogic or com.ibm.websphere.naming.WsnInitialContextFactory for websphere)]:]weblogic.jndi.WLInitialContextFactory

Exception in thread "main" javax.security.auth.login.LoginException: java.net.MalformedURLException: t3:OImserver:14000

        at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:194)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)

        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)

        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)

        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)

        at javax.security.auth.login.LoginContext.login(LoginContext.java:595)

        at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:61)

        at oracle.iam.platform.OIMClient.login(OIMClient.java:212)

        at oracle.iam.platform.OIMClient.login(OIMClient.java:196)

        at oracle.iam.platformservice.utils.JarUpdateUtility.main(JarUpdateUtility.java:214)

bash-4.1$

I have set the environment variables for all.

APP_SERVER is weblogic

OIM_ORACLE_HOME is /opt/local/user/Middleware/Oracle_IDM1/

JAVA_HOME is /opt/local/user/Middleware/jdk1.7.0_71

MW_HOME is /opt/local/user/Middleware

WL_HOME is /opt/local/user/Middleware/wlserver_10.3

DOMAIN_HOME is /opt/local/user/Middleware/user_projects/domains/oim_domain

Can you  please help me understand where is the issue.

This post has been answered by Satish Kurasala on Jan 3 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 3 2017
Added on Jan 3 2017
3 comments
510 views