3 Replies Latest reply: May 7, 2012 4:33 AM by 903833 RSS

    Error running UploadJars.sh

    903833
      Hi All,

      I'm getting the following error when trying to run the UploadJars utility. Any suggestions would be appreciated...


      [oracle@toim02 bin]$ ./UploadJars.sh
      ./UploadJars.sh: line 30: /bin/java: No such file or directory
      [oracle@toim02 bin]$ export JAVA_HOME=/orahome/software/jdk1.6.0_29/
      [oracle@toim02 bin]$ ./UploadJars.sh
      [Enter Xellerate admin username :]xelsysadm
      [Enter the admin password :]
      [Enter serverURL :[ t3://localhost:7001 ]]t3://localhost:7001
      [Enter context Factory :[ weblogic.jndi.WLInitialContextFactory ]]weblogic.jndi.WLInitialContextFactory
      UsernamePasswordLoginModule.initialize(), debug enabled
      UsernamePasswordLoginModule.login(), username xelsysadm
      UsernamePasswordLoginModule.login(), URL t3://localhost:7001
      oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
      at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:197)
      at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
      at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
      at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
      at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
      at oracle.iam.platformservice.utils.JarUploadUtility.main(JarUploadUtility.java:217)
      Caused by: java.lang.reflect.InvocationTargetException
      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:513)
      at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:193)
      ... 5 more
      Caused by: oracle.iam.platform.utils.NoSuchServiceException: javax.naming.NameNotFoundException: Exception in lookup.: `ejb/stateless/ClientLoginSessionService#oracle/iam/platformservice/api/ClientLoginSessionServiceRemote' could not be found. [Root exception is weblogic.corba.cos.naming.NamingContextAnyPackage.NotFound: IDL:weblogic/corba/cos/naming/NamingContextAny/NotFound:1.0]
      at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.<init>(Unknown Source)
      ... 10 more
      Caused by: javax.naming.NameNotFoundException: Exception in lookup.: `ejb/stateless/ClientLoginSessionService#oracle/iam/platformservice/api/ClientLoginSessionServiceRemote' could not be found. [Root exception is weblogic.corba.cos.naming.NamingContextAnyPackage.NotFound: IDL:weblogic/corba/cos/naming/NamingContextAny/NotFound:1.0]
      at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:65)
      at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:289)
      at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132)
      at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
      at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
      at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:155)
      ... 11 more
      Caused by: weblogic.corba.cos.naming.NamingContextAnyPackage.NotFound: IDL:weblogic/corba/cos/naming/NamingContextAny/NotFound:1.0
      at weblogic.corba.cos.naming.NamingContextAnyPackage.NotFoundHelper.read(NotFoundHelper.java:72)
      at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:87)
      at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:267)
      ... 17 more
      Error occurred in performing the operation:
      null
      Please check the server logs for details