executing process

Dinesh Abichandani <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
hi there
I am trying to execute a process through my servlet. problem is sometimes
the process get executed and sometimes it does not.I have checked for all
the arguments that I am passing and they all are correct. I am also getting
parameters correctly from my HTML page using post method.here is the code :
 Process proc=null;
 Runtime rt = Runtime.getRuntime();
String[]{"java","-cp","/vol1/people/dinesh/jakarta-tomcat-4.0.6/lib/biojava.jar:/vol1/people/dinesh/jakarta-tomcat-4.0.6/lib/xerces.jar: /vol1/people/dinesh/jakarta-tomcat-4.0.6/lib/bytecode.jar:/vol1/people/dinesh/jakarta-tomcat-4.0.6/lib/servlet.jar:/usr/java2v131_02/lib/tools.jar:"
,"ex","/vol1/people/dinesh/modeller6v0/scripts/"+pdbfile});
where "ex" is the program name and it accepts a file.
/vol1/people/dinesh/modeller6v0/scripts/ is path of file
pdbfile is the name of file .

does anybody has any idea.

bye
dinesh

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.