This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Null pointer exception while executing runtime.exec() from bean in tomcat

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SEVERE: An exception or error occurred in the container during the request processing
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11AprProcessor.process(
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

at java.util.concurrent.ThreadPoolExecutor$

while executing  from bean,jsp and servlet .
Working in netbeans project but now working in tomcat

 TStr_neroLoc="E:\\DARS\\BurnAware\\DataDisc.exe udf " + aTStr_append + dletter + " -b";
                                   //TStr_neroLoc=  "E:\\DARS\\CommandBurner\\cmdburn.exe  /burn /"+ dletter +" " + aTStr_append + " /eject";
           //TStr_neroLoc=  "C:\\Program Files \\burndisk.exe  /write "+ aTStr_append + dletter +" /eject";
           System.out.println("Path of burndisk===="+TStr_neroLoc);
           Runtime run=Runtime.getRuntime();  
               Process p=run.exec(TStr_neroLoc);
             num =p.waitFor();
               System.out.println("Return values of processs===="+num);

There are 29 Knuts in one Sickle, and 17 Sickles make up a Galleon. 42 tiny ads in a knut:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!