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);
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);
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
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
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
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);
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
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
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=/
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
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:
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
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]
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
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
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
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.
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
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
19 matches
Mail list logo