EXECUTE an external .exe-file (+Parameters) that creates data-filesI want to use later in my servlet

2003-01-21 Thread Patrick Kosiol
Hi, I'm runnung TomCat 4.0.4 and I want to start an external .exe-File. My Code: String[] runString = {relativeDataPath + data.exe, parameter0, parameter1, parameter2, parameter3}; Process p = Runtime.getRuntime().exec(runString); System.out.println(runString);

!!!HELP!!! how to execute an external .exe-file (+Parameters) thatcreates data-files I want to use later in my servlet

2003-01-21 Thread Patrick Kosiol
Hi, I'm runnung TomCat 4.0.4 and I want to start an external .exe-File. My Code: String[] runString = {relativeDataPath + data.exe, parameter0, parameter1, parameter2, parameter3}; Process p = Runtime.getRuntime().exec(runString); System.out.println(runString);

Re: !!!HELP!!! how to execute an external .exe-file (+Parameters)that creates data-files I want to use later in my servlet

2003-01-21 Thread Patrick Kosiol
Patrick ningr wrote: I met the same problems under linux, maybe you should put the data.exe in the directory $CATALINA_HOME/bin, and Process p = Runtime.getRuntime().exec( ./data.exe ); you can try it. - Original Message - From: Patrick Kosiol [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Starting an .exe though out of a servlet

2003-01-14 Thread Patrick Kosiol
not that there is an output and error stream which you are not aquireing that may have more detailed information. -rickb -Original Message- From: Patrick Kosiol [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 10:58 AM To: Tomcat Users List Subject: Starting an .exe though out

Re: Starting an .exe though out of a servlet

2003-01-14 Thread Patrick Kosiol
not that there is an output and error stream which you are not aquireing that may have more detailed information. -rickb -Original Message- From: Patrick Kosiol [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 10:58 AM To: Tomcat Users List Subject: Starting an .exe though out

Starting an .exe though out of a servlet

2003-01-13 Thread Patrick Kosiol
Hi, I'm runnung TomCat 4.0.4 and I want to start an external .exe-File. My Code: String[] runString = {relativeDataPath + data.exe, parameter0, parameter1, parameter2, parameter3}; Process p = Runtime.getRuntime().exec(runString); System.out.println(runString);

Re: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Patrick Kosiol
Hi, this is a good question. In Java there is also a System.err. So I am also interested where the Messages were written. How does Tomcat handle those errormessages? Are them be logged in a special file oder easiely given out through the console. Are there differences between Linux and

Re: where is stderr sent? AND ALSO 'System.err'

2002-12-11 Thread Patrick Kosiol
Hi, OK, thats right but where are the messages written to? Into a logFile? Patrick Jon Eaves wrote: Hi all, Try these: Logger className=org.apache.catalina.logger.SystemErrLogger / Logger className=org.apache.catalina.logger.SystemOutLogger / Cheers, -- jon Patrick

Re: URGENT : Multiple host in Tomcat

2002-12-11 Thread Patrick Kosiol
Hi, check this docu: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html Patrick Laxmikanth M.S. wrote: This is what I am trying to do Host name=www.testhost.com debug=15 appBase=testhost Context path=/

Re: How to get a File for a certain folder

2002-12-10 Thread Patrick Kosiol
use it is not immediately important. Just use it in a servlet. If you don't know how to use servlets, that is a separate problem. Check out Hunter and Crawford on servlets. At 12:37 PM 12/9/2002 +0100, you wrote: Patrick Kosiol wrote: Hi, how can I get a File-Object for a certain Folder

How to get a File for a certain folder

2002-12-09 Thread Patrick Kosiol
Hi, how can I get a File-Object for a certain Folder placed under my $CATALINA_HOME/webapps/ROOT/ - Folder. I want to traverse over the files that are placed there. Can anyone help me? thx Patrick -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

How to get a File for a certain folder

2002-12-09 Thread Patrick Kosiol
Patrick Kosiol wrote: Hi, how can I get a File-Object for a certain Folder placed under my $CATALINA_HOME/webapps/ROOT/ - Folder. I want to traverse over the files that are placed there. Can anyone help me? thx Patrick -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Get the IP-Adress in a servlet

2002-12-05 Thread Patrick Kosiol
Hi, How do I get the IP - Adress (and port) from my Tomcat-Server in a servlet? thx4ur help Patrick -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Get the IP-Adress in a servlet

2002-12-05 Thread Patrick Kosiol
was received. I don't know how to get the server IP address, but you can get the server name with the getServerName() method. Hope this helps. Greetings Mauro Patrick Kosiol wrote: Hi, How do I get the IP - Adress (and port) from my Tomcat-Server in a servlet? thx4ur help Patrick -- To unsubscribe

How to connect to a Data-File above the WEB-INF-Folder from a servlet????

2002-12-03 Thread Patrick Kosiol
Hi, How do I connect to a Data-File above the WEB-INF-Folder from a servlet For example my class is placed in $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/myApp/server/servlet.class and my data-files are placed in $CATALINA_HOME/webapps/data/data.dat or so. Is this possible or does anybody

Re: How to connect to a Data-File above the WEB-INF-Folder from aservlet????

2002-12-03 Thread Patrick Kosiol
Howdy ;-) thx 4 ur help, this it is what I wanted. But there is also another Question. I have a .exe-file that I want to start out of the servlet. Of course with some paramteters and one of my data-files as one of the parameters. Is that possible? And how do I do that? If that works and the

Servlet and Applet working in Tomcat 4.0.4 standalone

2002-11-29 Thread Patrick Kosiol
Hi, I am using the Tomcat 4.0.4 as a standalone-server. Esspecially because JBuilder7 supports Servlet debugging. OK. I have an webApplication that includes a client- and a server-directory (package). The server-dir contains the Servlet-Class and the client-dir contains the client, of course.

Re: RES: Servlet and Applet working in Tomcat 4.0.4 standalone

2002-11-29 Thread Patrick Kosiol
I do that? thx Patrick Tiago Ferraz Machado wrote: Hi, I don't know if it is it, but there is a directive called unpackWARs=true that I think you should add to your server.xml. Could anyone confirm that ? Thanks, Tiago. -Mensagem original- De: Patrick Kosiol [mailto:[EMAIL PROTECTED

Re: Servlet and Applet working in Tomcat 4.0.4 standalone

2002-11-29 Thread Patrick Kosiol
David Brown wrote: Patrick Kosiol writes: Hi, I am using the Tomcat 4.0.4 as a standalone-server. Esspecially because JBuilder7 supports Servlet debugging. OK. I have an webApplication that includes a client- and a server-directory (package). The server-dir contains the Servlet-Class