Urgent (SecurityManager and Tomcat services and Runtime.getRuntime().exec ) ??

2002-04-28 Thread Tarek gh

Hi,

i installed Tomcat4.03 on windows 2000 advanced server.

if i have in my jsp code  :
 <%
 Process p=Runtime.getRuntime().exec(Myexe)
 or
 Process p=Runtime.getRuntime().exec("cmd Myexe")
 or
Process p=Runtime.getRuntime().exec("c:\\winnt\\system32\\cmd Myexe")

 
 %>
when i used the Apache Tomcat services, this command did not worked
if i stoped this services and started the startup batch file from 
tomcat_dir/bin the command worked properly

and my idea to :
SecurityManager and Tomcat
i don't know how can i pass an parameter to apache tomcat nt services to get 
my securityManager file in dirctory  : tomcat_home/bin
because the security manager include :

java.io.FilePermission("<>", "execute"))
and
java.lang.RuntimePermission
this class permit to execute Runtime.exec() from jsp file i think so


any help ?
thx




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Please Help (Apache Tomcat services and Runtime.getRuntime().exec ) ??

2002-04-26 Thread Tarek gh



Hi,

i installed Tomcat4.03 on windows 2000 advanced server.

if i have in my jsp code  :
<%
Process p=Runtime.getRuntime().exec(Myexe)

%>
when i used the Apache Tomcat services, this command did not worked
if i started the startup batch file and stoped this services the command 
worked properly
please any help ???


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Please Help (Urgent) problem : Tomcat3.1 and Nt services

2001-03-28 Thread Tarek gh

Hi,
I used Tomcat 3.1 and Apache 1.4.17 and i copied the jk_nt_service in the 
directory c:\jdk1.3\jre\bin\classic\

and in command prompt i used :
jk_nt_service.exe -i Tomcat c:\Apache\tomcat\conf\wrapper.properties

i created the service and everything is ok ,but i uused in some jsp file the 
command :
Process p =Runtime.getRuntime().exec("Myexe");

the command is off the jsp run without execute this command

if i started the Tomcat without the servis that's mean from Startup.bat
the command work prperly

Please Help.
Thanks
Bye

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Ctx( ): IOException in: R( + /tomcat-power.gif + null) socket write error

2001-03-12 Thread Tarek gh

Hello,

I am running tomcat 3.2 on NT. While trying to access
http://localhost/index.html I get the following errors:

2000-12-12 09:27:41 - Ctx(  ): IOException in: R(  + /index.html +
null)
socket write error (code=10053)
2000-12-12 09:27:41 - Ctx(  ): IOException in: R(  + /tomcat-
power.gif +
null) socket write error (code=10053)

but page loads fine. Any ideas?

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]