RE: Set group id using jsvc?

2005-04-18 Thread Neil Upfalow
How can you set that? Would that allow files created or written to by tomcat to get permissions I want ? We are using servers with the tanuki java service wrapper. Hopefully it can be done with that the same way... Thanks a lot. neil -Original Message- From: Nick Johnson

RE: calling ejb on another app server

2005-04-07 Thread Neil Upfalow
We do tomcat (servlet) to remote jboss (EJB). Isn't JNDI usually bound to 1099 ? Also, is usually a critical port. Some ISPs block it. Remapping to usually solves this problem. Hope it helps. Sincerely, Neil Upfalow -Original Message- From: Eric J Kaplan [mailto:[EMAIL

RE: calling ejb on another app server

2005-04-07 Thread Neil Upfalow
may also need to make jboss bind to your WAN ip. Add these options in run.bat: -Djava.rmi.server.hostname=JBOSS-WAN-STATIC-IP -Djava.rmi.server.useLocalHostname=false Sincerely, Neil Upfalow -Original Message- From: Eric J Kaplan [mailto:[EMAIL PROTECTED] Sent: Thursday, April

java linux system call fails

2005-04-06 Thread Neil Upfalow
When a JSP calls 'gzip -d /opt/tomcat5/3.05.tar.gz' Like this: Runtime.getRuntime().exec(gzip -d /opt/tomcat5/3.05.tar.gz'); I get: ERROR java.io.IOException: java.io.IOException: Cannot allocate memory I don't believe it's a memory issue at all. Maybe this is just something you can't do from a

How to update webapp on many Tomcats ???

2005-03-25 Thread Neil Upfalow
use a runtime exec() to untar with permissions. 2nd problem is how to best restart the tomcat webapp? Modify the web.xml ? is there a simple example to restart it? My hosting company uses tanuki wrapper on the JVM. Tomcat has it's programmatic API manager. Any ideas ? Sincerely, Neil Upfalow

RE: Tomcat rookie needs help updating project

2005-03-25 Thread Neil Upfalow
to programmatically make tomcat restart the web app. No idea how yet, other than writing to web.xml to modify it or looking into tomcat API . Any ideas? Sincerely, Neil Upfalow -Original Message- From: Steve Lianoglou [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 11:43 AM To: Tomcat