This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue created application to Auto deploy Web app on Weblogic 11g

 
Gagandeep singh dhindsa
Greenhorn
Posts: 3
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have question regarding web application developed using Struts2.
I have created a tool for auto deployment of web application to weblogic 11g(10.3). when i created a stand alone application everything is working fine but when i converted
it to web using "Struts2" it is not working and giving error "Invocation Target exception while getting the WLSTOffLineScript path".

This error is coming at line "InteractiveInterpreter interpreter = new WLSTInterpreter();" in the code.. Earlier, it was giving error "weblogic.Home". I searched on the net
and found that i need to install weblogic on the server where this application will be running. I installed it and the error "weblogic.Home" disappeared as i deployed my app in weblogic but now it is giving me error "Invocation Target exception while getting the WLSTOffLineScript path". I have also tried setting CLASSPATH to the "Weblogic.jar" file available in weblogic but nothing is working. I am stuck at this point nothing is working. Can somebody tell me the steps to remove error and execute my app.

Any help would be highly appreciated.

Thanks in advance.


 
Gagandeep singh dhindsa
Greenhorn
Posts: 3
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gagandeep singh dhindsa singh wrote:Hi

I have question regarding web application developed using Struts2.
I have created a tool for auto deployment of web application to weblogic 11g(10.3). when i created a stand alone application everything is working fine but when i converted
it to web using "Struts2" it is not working and giving error "Invocation Target exception while getting the WLSTOffLineScript path".

This error is coming at line "InteractiveInterpreter interpreter = new WLSTInterpreter();" in the code.. Earlier, it was giving error "weblogic.Home". I searched on the net
and found that i need to install weblogic on the server where this application will be running. I installed it and the error "weblogic.Home" disappeared as i deployed my app in weblogic but now it is giving me error "Invocation Target exception while getting the WLSTOffLineScript path". I have also tried setting CLASSPATH to the "Weblogic.jar" file available in weblogic but nothing is working. I am stuck at this point nothing is working. Can somebody tell me the steps to remove error and execute my app.

Any help would be highly appreciated.

Thanks in advance.

Looking for reply, Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic