This discussion is archived
6 Replies Latest reply: Nov 28, 2012 3:12 AM by Chandramouly P RSS

unable to run rpm 13.2 batches

Chandramouly P Newbie
Currently Being Moderated
I am trying to run loactionMoveBatch.sh and this is the result being displayed:

[oracle@retailsols scripts]$ ./locationMoveBatch.sh rpm
Classpath ...
../lib/jps-unsupported-api.jar:../lib/platform-conf.jar:../lib/castor-1.3.1.jar:../lib/hibernate2.jar:../lib/ejb.jar:../lib/rpm_client_properties.jar:../lib/jacc-api.jar:../lib/xercesImpl.jar:../lib/jps-manifest.jar:../lib/pvxTable.jar:../lib/oraclepki.jar:../lib/repositorycheck.jar:../lib/osdt_core.jar:../lib/platform-resources.jar:../lib/jacc-spi.jar:../lib/rpm13.jar:../lib/sjsxp.jar:../lib/ons.jar:../lib/commons-logging-1.1.1.jar:../lib/xml-apis.jar:../lib/rib-public-api.jar:../lib/rib-private-common.jar:../lib/jsr173_1.0_api.jar:../lib/log4j-1.2.16.jar:../lib/rsm13-external-api.jar:../lib/rib-private-app-plugin.jar:../lib/jps-mbeans.jar:../lib/rsm13-client-resource.jar:../lib/commons-collections-3.2.1.jar:../lib/platform-api.jar:../lib/jps-internal.jar:../lib/jps-common.jar:../lib/rpm_server_properties.jar:../lib/rpm13-ui.jar:../lib/retail-public-security-api.jar:../lib/jaxb-impl.jar:../lib/platform-client.jar:../lib/platform-server.jar:../lib/optic.jar:../lib/rsm13-api.jar:../lib/osdt_cert.jar:../lib/rpm_client_config.jar:../lib/castor-1.3.1-xml.jar:../lib/commons-beanutils-core-1.8.3.jar:../lib/jps-api.jar:../lib/foxtrot.jar:../lib/opmnconfig.jar:../lib/fsm.jar:../lib/jps-ee.jar:../lib/retail-public-payload-java-beans.jar:../lib/jps-wls.jar:../lib/jaxb-api.jar:../lib/commons-beanutils-1.8.3.jar:../lib/identitystore.jar:../lib/rpm13-api.jar:../lib/oc4jclient.jar:../lib/wlfullclient.jar:../lib/jps-upgrade.jar:../lib/rsm13-client.jar:../lib/commons-beanutils-bean-collections-1.8.3.jar:../lib/castor-1.3.1-core.jar:../lib/commons-lang-2.5.jar:../lib/platform-common.jar:../lib/retail-public-payload-java-beans-base.jar:../lib/argus.jar
/usr/java/jdk1.6.0_32/bin/java -Xmx512M -Xms128m -classpath ../lib/jps-unsupported-api.jar:../lib/platform-conf.jar:../lib/castor-1.3.1.jar:../lib/hibernate2.jar:../lib/ejb.jar:../lib/rpm_client_properties.jar:../lib/jacc-api.jar:../lib/xercesImpl.jar:../lib/jps-manifest.jar:../lib/pvxTable.jar:../lib/oraclepki.jar:../lib/repositorycheck.jar:../lib/osdt_core.jar:../lib/platform-resources.jar:../lib/jacc-spi.jar:../lib/rpm13.jar:../lib/sjsxp.jar:../lib/ons.jar:../lib/commons-logging-1.1.1.jar:../lib/xml-apis.jar:../lib/rib-public-api.jar:../lib/rib-private-common.jar:../lib/jsr173_1.0_api.jar:../lib/log4j-1.2.16.jar:../lib/rsm13-external-api.jar:../lib/rib-private-app-plugin.jar:../lib/jps-mbeans.jar:../lib/rsm13-client-resource.jar:../lib/commons-collections-3.2.1.jar:../lib/platform-api.jar:../lib/jps-internal.jar:../lib/jps-common.jar:../lib/rpm_server_properties.jar:../lib/rpm13-ui.jar:../lib/retail-public-security-api.jar:../lib/jaxb-impl.jar:../lib/platform-client.jar:../lib/platform-server.jar:../lib/optic.jar:../lib/rsm13-api.jar:../lib/osdt_cert.jar:../lib/rpm_client_config.jar:../lib/castor-1.3.1-xml.jar:../lib/commons-beanutils-core-1.8.3.jar:../lib/jps-api.jar:../lib/foxtrot.jar:../lib/opmnconfig.jar:../lib/fsm.jar:../lib/jps-ee.jar:../lib/retail-public-payload-java-beans.jar:../lib/jps-wls.jar:../lib/jaxb-api.jar:../lib/commons-beanutils-1.8.3.jar:../lib/identitystore.jar:../lib/rpm13-api.jar:../lib/oc4jclient.jar:../lib/wlfullclient.jar:../lib/jps-upgrade.jar:../lib/rsm13-client.jar:../lib/commons-beanutils-bean-collections-1.8.3.jar:../lib/castor-1.3.1-core.jar:../lib/commons-lang-2.5.jar:../lib/platform-common.jar:../lib/retail-public-payload-java-beans-base.jar:../lib/argus.jar:../conf -Djava.naming.provider.url=t3://retailsols:4003 -Djava.security.auth.login.config=jaas_client.conf -Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory com.retek.rpm.batch.LocationMove.LocationMoveBatch rpm
15:27:34,995 INFO [LocationMoveBatch] Starting Location Move Batch.
15:27:39,696 ERROR [EjbServiceLocator] error while finding home interface(interface com.retek.rpm.app.core.service.RPMCommandExecutionServiceRemoteHome) jndi-name(com/retek/rpm/app/core/service/RPMCommandExecutionService)
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://retailsols:4003: Destination unreachable; nested exception is:
        java.net.ConnectException: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:367)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.retek.platform.service.EjbServiceLocator.getInitialContext(EjbServiceLocator.java:232)
at com.retek.platform.service.EjbServiceLocator.findEjbHome(EjbServiceLocator.java:188)
at com.retek.platform.service.EjbServiceLocator.locate(EjbServiceLocator.java:99)
at com.retek.platform.service.ServiceFactory.getServicesImpl(ServiceFactory.java:253)
at com.retek.platform.service.ServiceFactory.getService(ServiceFactory.java:95)
at com.retek.platform.service.ServiceAccessor.getNamedService(ServiceAccessor.java:456)
at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:294)
at com.retek.rpm.app.RPMServiceAccessorProxy.remoteTransaction(RPMServiceAccessorProxy.java:24)
at com.retek.platform.service.ServiceAccessorProxy.invoke(ServiceAccessorProxy.java:52)
at $Proxy2.login(Unknown Source)
at com.retek.rpm.batch.RpmBatch.getValidatedUser(RpmBatch.java:92)
at com.retek.rpm.batch.RpmBatch.authenticateUser(RpmBatch.java:86)
at com.retek.rpm.batch.RpmBatch.process(RpmBatch.java:58)
at com.retek.rpm.batch.RpmBatch.execute(RpmBatch.java:37)
at com.retek.rpm.batch.LocationMove.LocationMoveBatch.main(LocationMoveBatch.java:47)
Caused by: java.net.ConnectException: t3://retailsols:4003: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:352)
... 22 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
... 25 more
15:27:39,701 ERROR [ServiceAccessor] ERROR on making a service call to com.retek.rpm.app.core.service.RPMCommandExecutionService on method executeCommand
com.retek.platform.exception.RetekNetworkException: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://retailsols:4003: Destination unreachable; nested exception is:
        java.net.ConnectException: Connection refused; No available router to destination]
exception id: 1353923859701
at com.retek.platform.service.EjbServiceLocator.findEjbHome(EjbServiceLocator.java:194)
at com.retek.platform.service.EjbServiceLocator.locate(EjbServiceLocator.java:99)
at com.retek.platform.service.ServiceFactory.getServicesImpl(ServiceFactory.java:253)
at com.retek.platform.service.ServiceFactory.getService(ServiceFactory.java:95)
at com.retek.platform.service.ServiceAccessor.getNamedService(ServiceAccessor.java:456)
at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:294)
at com.retek.rpm.app.RPMServiceAccessorProxy.remoteTransaction(RPMServiceAccessorProxy.java:24)
at com.retek.platform.service.ServiceAccessorProxy.invoke(ServiceAccessorProxy.java:52)
at $Proxy2.login(Unknown Source)
at com.retek.rpm.batch.RpmBatch.getValidatedUser(RpmBatch.java:92)
at com.retek.rpm.batch.RpmBatch.authenticateUser(RpmBatch.java:86)
at com.retek.rpm.batch.RpmBatch.process(RpmBatch.java:58)
at com.retek.rpm.batch.RpmBatch.execute(RpmBatch.java:37)
at com.retek.rpm.batch.LocationMove.LocationMoveBatch.main(LocationMoveBatch.java:47)
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://retailsols:4003: Destination unreachable; nested exception is:
        java.net.ConnectException: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:367)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.retek.platform.service.EjbServiceLocator.getInitialContext(EjbServiceLocator.java:232)
at com.retek.platform.service.EjbServiceLocator.findEjbHome(EjbServiceLocator.java:188)
... 13 more
Caused by: java.net.ConnectException: t3://retailsols:4003: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:352)
... 22 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
... 25 more
15:27:39,703 WARN [ServiceAccessor] WARNING Comm failed calling remote method executeCommand in service com.retek.rpm.app.security.service.SecurityAppService -- asking for new service
15:27:39,705 INFO [ServiceAccessor] Server connection retries will be attempted for the next 0 minutes.
15:27:39,707 ERROR [ServiceAccessorProxy] Cannot call service, com.retek.rpm.app.security.service.SecurityAppService, via the CommandExecutionService. Rethrowing exception of type: com.retek.platform.exception.RetekNetworkException
15:27:39,707 ERROR [RpmBatch] Batch process failed
com.retek.platform.exception.RetekNetworkException: Server connection failed and retries were not successful .
exception id: 1353923859707
at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:383)
at com.retek.rpm.app.RPMServiceAccessorProxy.remoteTransaction(RPMServiceAccessorProxy.java:24)
at com.retek.platform.service.ServiceAccessorProxy.invoke(ServiceAccessorProxy.java:52)
at $Proxy2.login(Unknown Source)
at com.retek.rpm.batch.RpmBatch.getValidatedUser(RpmBatch.java:92)
at com.retek.rpm.batch.RpmBatch.authenticateUser(RpmBatch.java:86)
at com.retek.rpm.batch.RpmBatch.process(RpmBatch.java:58)
at com.retek.rpm.batch.RpmBatch.execute(RpmBatch.java:37)
at com.retek.rpm.batch.LocationMove.LocationMoveBatch.main(LocationMoveBatch.java:47)
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://retailsols:4003: Destination unreachable; nested exception is:
        java.net.ConnectException: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:367)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.retek.platform.service.EjbServiceLocator.getInitialContext(EjbServiceLocator.java:232)
at com.retek.platform.service.EjbServiceLocator.findEjbHome(EjbServiceLocator.java:188)
at com.retek.platform.service.EjbServiceLocator.locate(EjbServiceLocator.java:99)
at com.retek.platform.service.ServiceFactory.getServicesImpl(ServiceFactory.java:253)
at com.retek.platform.service.ServiceFactory.getService(ServiceFactory.java:95)
at com.retek.platform.service.ServiceAccessor.getNamedService(ServiceAccessor.java:456)
at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:294)
... 8 more
Caused by: java.net.ConnectException: t3://retailsols:4003: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:352)
... 22 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
... 25 more

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points