The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Oracle e-Load

Pages: 1
prustc
Newbie


Reged: 01/09/08
Posts: 17
Error: load test with OLT server as remote agent
      #685198 - 09/14/11 03:18 AM

Hi,
When I try to run a load test script in OLT using OLT server as remote agent, I get the following error:

Error communicating with Oracle Load Testing Agent Manager on oats-am://localhost:9001:Timed out after 90 seconds.

I had the same problem earlier so I have re-installed everything in OATS.

Regards
CP


Post Extras: Print Post   Remind Me!   Notify Moderator  
prustc
Newbie


Reged: 01/09/08
Posts: 17
Re: Error: load test with OLT server as remote agent [Re: prustc]
      #685203 - 09/14/11 03:40 AM

Extract from agentmanager.log in Oracle ATS

11:10:06,625 INFO [Messenger] Try server=t3://192.168.0.2:8088 queue=oracle/oats/queue/AgentPoolNotificationQueue
11:10:11,656 ERROR [Messenger] JNDI Error:
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://192.168.0.2:8088: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:787)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
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 oracle.oats.server.jndi.JndiLookup.createInitialContextInternal(Unknown Source)
at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Source)
at oracle.oats.empstart.Messenger.startConnection(Messenger.java:105)
at oracle.oats.empstart.EmpStartMain.<init>(EmpStartMain.java:483)
at oracle.oats.empstart.EmpStartMain.main(EmpStartMain.java:384)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:105)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: t3://192.168.0.2:8088: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; 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$1.run(WLInitialContextFactoryDelegate.java:345)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
... 18 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; 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:254)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
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:198)
at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal(Unknown Source)
at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Source)
at oracle.oats.empstart.Messenger.startConnection(Messenger.java:105)
at oracle.oats.empstart.EmpStartMain.<init>(EmpStartMain.java:483)
at oracle.oats.empstart.EmpStartMain.main(EmpStartMain.java:384)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:106)
... 1 more
11:10:11,672 ERROR [EmpStartMain] Exception in main thread
java.lang.NullPointerException
at oracle.oats.empstart.Messenger.endConnection(Messenger.java:149)
at oracle.oats.empstart.EmpStartMain.<init>(EmpStartMain.java:496)
at oracle.oats.empstart.EmpStartMain.main(EmpStartMain.java:384)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:105)
at java.lang.Thread.run(Thread.java:619)

When I run netstat -a I can see the following :
TCP laptop-1ea5197f:9001 laptop-1ea5197f:0 LISTENING


Post Extras: Print Post   Remind Me!   Notify Moderator  
prustc
Newbie


Reged: 01/09/08
Posts: 17
Re: Error: load test with OLT server as remote agent [Re: prustc]
      #685218 - 09/14/11 04:28 AM

I have resolved this. It was a proxy/network issue.

I disconnected from my VPN and then restarted OATS service and now I can record and run scripts.
Its weird but I guess this is the drawback of web based load test tools. You cannot easily change networks.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  Joe Strazzere, martinh, AJ 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4927

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5