This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat restart script from Jersey Restful API failing  RSS feed

Manjunatha Devraja
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to restart a Tomcat server after SSL certificate added to keystore from Java code, which is a restful webservice in Jersey.

Following is the code snippet :

This is opening cmd window and showing:

Files\java\jre7\java.exe" unexpected at this time
and nothing is happening.

The script is working fine if I run directly from cmd and also above code is also working fine when I'm running as normal Java application.

The issue is happening only when it is called inside a REST call.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!