Sitemap

Amicuk Programming Answers

Error While trying to Run load test  on OATS using Command prompt

2015-10-11   Views:5

Advertisement

Getting the below error message while trying to execute command line to start OATS load test. log4j:WARN No appenders could be found for logger (oracle.oats.server.jndi.JndiL ookup). log4j:WARN Please initialize the log4j system properly. log4j:WARN

Getting the below error message while trying to execute command line to start OATS load test.
log4j:WARN No appenders could be found for logger (oracle.oats.server.jndi.JndiL
ookup).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
fo.
Error initializing controller connection to t3://rws21410019.us.oracle.com:8088/
weblogic\n\n(message id=ctl.initError)
oracle.oats.client.controller.ControllerException: Error initializing controller
connection to t3://rws21410019.us.oracle.com:8088/weblogic\n\n(message id=ctl.i
nitError)
        at oracle.oats.app.controller.client.ControllerClient.initController(Con
trollerClient.java:268)
        at oracle.oats.app.controller.client.ControllerSyncedClient.<init>(Contr
ollerSyncedClient.java:137)
        at oracle.oats.app.controller.client.OltCommandLine.<init>(OltCommandLin
e.java:43)
        at oracle.oats.client.CommandLine.initController(CommandLine.java:748)
        at oracle.oats.client.CommandLine.run(CommandLine.java:179)
        at oracle.oats.client.CommandLine.main(CommandLine.java:61)
Caused by: javax.naming.AuthenticationException [Root exception is java.lang.Sec
urityException: User: weblogic, failed to be authenticated.]
        at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
nTranslator.java:42)
        at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
tialContextFactoryDelegate.java:788)
        at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialCo
ntextFactoryDelegate.java:682)
        at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
textFactoryDelegate.java:469)
        at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:376)
        at weblogic.jndi.Environment.getContext(Environment.java:315)
        at weblogic.jndi.Environment.getContext(Environment.java:285)
        at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:117)
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.<init>(Unknown Source)
        at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal(Unkno
wn Source)
        at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Sourc
e)
        at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Sourc
e)
        at oracle.oats.app.session.SessionClient.initSession(SessionClient.java:
104)
        at oracle.oats.app.controller.client.ControllerClient.initController(Con
trollerClient.java:262)
        ... 5 more
Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticat
ed.
        at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServi
ceImpl.java:116)
        at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Sou
rce)
        at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
        at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
146)
        at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:518)
        at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.jav
a:118)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Please make sure the OLT server is running!
Thanks

The replay answer
Advertisement
This issue was resolved after changing the user name to "oats" this is the user name of weblogic server and not the OATS console.

Go to See the other 2 answers

Error While trying to Run load test  on OATS using Command prompt

Category:DefaultRelease time:2015-10-11Views:130

Getting the below error message while trying to execute command line to start OATS load test. log4j:WARN No appenders could be found for logger (oracle.oats.server.jndi.JndiL ookup). log4j:WARN Please initialize the log4j system properly. log4j:WARN[More]

Running a Program in JDeveloper using Command Prompt

Category:DefaultRelease time:2015-10-11Views:130

Hi, I downoladed Oracle JDeveloper 10g. I had written a simple java class called Echo. java. I want to run the file using command prompt. My JDK has the following path: F:\Sowmya My java file has the following path: F:\Sowmya\jdev\mywork\1\1\src\pkg1[More]

Running a GUI application without holding command prompt

Category:DefaultRelease time:2015-10-11Views:130

Hi there , I have developed a GUI application using Swing. After compiling the same successfully , when I run the same , presently , I am running it like , c:\> java xxx where c:\ is the general command prompt on a Windows machine where I can type in[More]

Having problems trying to run a sql script using the command prompt.

Category:DefaultRelease time:2015-10-11Views:130

I place my script at the root c: open run SQL Command Line. I connected to the database using connet userid/password Then I tried to execute the script by doing @test_add_comments I am getting the error message. SQL> @test_add_comments SP2-0310: unab[More]

Encountering a RunTime error when I try running from command prompt

Category:DefaultRelease time:2015-10-11Views:130

When I try to load my class from the command prompt I get the error: Exception in thread "main" java.lang.NoClassDefFoundError: MiniTriangle Since this seems like a pretty basic error, I'm hoping there's a black and white solution to it. Unfortu[More]

How to run a java program in command prompt

Category:DefaultRelease time:2015-10-11Views:130

hi i want to run a java program from in command prompt from another directory i want to run a file named First in C:\Program Files\Java\jdk1.6.0_07\bin so when i give the command java "C:\Program Files\Java\jdk1.6.0_07\bin\First" it doesnt works[More]

Hot
Just recently bought a brand-new iPod touch, 5th generation. To be exact, got it two days ago, this past Saturday, on 12/13/2014. Initially, when I first turned it on, it had a fully charge and I didn't need to charge it. I also didn't see anything i [More]
Hi All,    Just recently new to Sharepoint in our company we have went with the foundation 2013 product. Had a bit of bother Setting the server up initially as our servers do not have direct access to the internet, so did the offline installation thr [More]
I already have anyconnect running in my network, planning to use Webvpn also to let specific users access the web based applications via webvpn( i believe for this they just have to put in the url and they would be prompted by SSL VPN's login page). [More]
I would first like to state that this is my first time having an issue with Verizon Customer Service.In all my years of using their service, I had never run into someone that truly had no idea what they were talking about. I would like to file a comp [More]
I have four results sets, Plan, Forecast, Actual and SPLY per eight different product lines.  I want to add conditional formatting of background color if actual is above or below Plan and/or Forecast.  The report needs to export properly to Excel.  I [More]
I wonder if there is any way to display the images in exactly the same dimensions as it was originally saved that is if the image s saved it should display as small and if big it should display as a big imageOne of the 3rd-party Crystal Reports Deskt [More]
I am a musician and producer and just got "LiveWire CMR-210" cords at Guitar Center today. One is gray and the other is red, and the end has a jack that can connect to your headphone jack or line-in on your computer. I also have a Realistic ster [More]
For example The Fall by Gorillaz has unique artwork for each song but when I'm in album view it only shows the artwork for the first song not the actual cover of the album. I'm wondering if there's a way for it to display the actual album cover in al [More]
When I go to a website that has a PDF file and try to print it, it sends me to Preview and when I try to print, the computer freezes up. This does not happen on Safari. Why can't I print a PDF file when I am on Firefox?To print a PDF, you need to use [More]
I've about had it. Built a site, posted here with some issues with a P7 menu adding blue bar. I deleted all the P7 code...page was back to normal, but without a navigation bar. So, I added one of the new Spry bars in DW, set it all up, tested it on m [More]