Re[2]: Running Tomcat as Non-Root

2003-07-19 Thread Anton Tagunov
Hello Gabriel! LG So I'm going to take that as a no. No one has bothered to pester sun LG about this. LG So I realize that its possible that you could only drop privs down to a LG single user in the vm, but gee wouldn't that be hugely better then what LG we have today, where if I want to run

Re: MOD_JK2 Error (shm.fil 13 Permission Denied)

2003-07-19 Thread Simon Pabst
Just put touch and chown shm.file in Apache control script (either apachectl or /etc/init.d/apache), and if you want in catalina.sh too At 16:11 18.07.2003 -0700, you wrote: My Apache HTTPD and Tomcat installation cosists for following version: 1. RedHat 8.0 2. Apache HTTPD 2.0.47 (from source)

problem with auto-generating mod_jk

2003-07-19 Thread achana
Hi all. I use Apache2 - mod_jk - mod_jk Been a while since I had to auto-generate mod_jk. I have some new virtual hosts which I inserted into server.xml. I copied server.xml to the Apache server, started and stopped Tomcat and got a new .../conf/auto/mod_jk.conf It has all the new virtual hosts,

Re: Running Tomcat as Non-Root

2003-07-19 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Friday 18 July 2003 23:07 schrieb John Turner: Because then ANYONE with a user account could bind a service to those ports. ... unless there are proper access privileges on ports as on files. I consider the start-as-root pattern as a hack (not

Re: Nedd Help with mod_jk or mod_jk2 in HPUX.

2003-07-19 Thread Tim Funk
http://marc.theaimsgroup.com/?l=tomcat-userm=105613524120716w=2 ?? Jeff usually posts links to the HPUX downloads - here's some more of his messages in case the one above might not work ... http://marc.theaimsgroup.com/?a=10337599615r=1w=2 -Tim jume wrote: Hi All, Does anyone have a

Re: How to clean objects in user's session

2003-07-19 Thread Tim Funk
Older versions of tomcat have their Enumeration from session.getAttributeNames() backed by an Iterator. So if a change is made you get the ConcurrentModificationException. I know tomcat 5 does not have this problem but I don't know about tomcat4. Since your using 4.1.24 - I am guessing the

Where can i find mod_webapp ?

2003-07-19 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi, i am looking for a connector between Apache 1.3 and TomCat 4.1.18. Can anybody help me? Regards, Euclides. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Where can i find mod_webapp ?

2003-07-19 Thread Yann Cébron
mod_webapp is deprecated, you should use mod_jk(2): http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html Yann Hi, i am looking for a connector between Apache 1.3 and TomCat 4.1.18. Can anybody help me? Regards, Euclides.

RES: Where can i find mod_webapp ?

2003-07-19 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Sorry, but i guess i am a little bit confused. First, which file(s) should i download ? Second, where can i find the main steps to install it? Thanks, Euclides. -Mensagem original- De: Yann Cibron [mailto:[EMAIL PROTECTED] Enviada em: sabado, 19 de julho de 2003 11:01 Para: [EMAIL

Re: Where can i find mod_webapp ?

2003-07-19 Thread Yann Cébron
This should you get started: http://jakarta.apache.org/tomcat/faq/connectors.html HTH, Yann Sorry, but i guess i am a little bit confused. First, which file(s) should i download ? Second, where can i find the main steps to install it? Thanks, Euclides. -Mensagem original- De:

Re: RES: Where can i find mod_webapp ?

2003-07-19 Thread Simon Pabst
Look at the docs: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html and the archive: http://www.mail-archive.com/[EMAIL PROTECTED]/msg98062.html At 11:10 19.07.2003 -0300, you wrote: Sorry, but i guess i am a little bit confused. First, which file(s) should i download ? Second,

missing setWrapper()

2003-07-19 Thread Gian-Luca Dei Rossi
Hi, i've some trouble with a servlet that extends ManagerServlet (i have to give users the capability of stop and start only a limited subset of application, without having a 'manager' role), as: public class proveapache extends ManagerServlet { when tomcat runs this servlet i obtain the

Re: Tomcat Standalone with Jboss

2003-07-19 Thread epyonne
Harsh, As I have said before, download and install the JBoss-Tomcat bundle and run it on a certain port. Then you can install the Tomcat standalone on another port. There is no conflict as long as they are on different ports. JBoss-Tomcat bundle does not use CATALINA_HOME, so you can keep that

Loosing DBCP object - how to solve it?

2003-07-19 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, i have made a bean which creates a Data Base Connection Pool instance once, so that others systems components can use it. This beans is instanced when the Controller Servlet's init method runs. In other words, just one time this bean is instanced! Whenever i wanna get a connection object,

RE: (How to) Tomcat as a Linux service

2003-07-19 Thread Kevin Passey
Hi, Is this good for RH Linux 7.2 Thanks Kevin -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: 18 July 2003 23:43 To: 'Tomcat Users List' Subject: RE: (How to) Tomcat as a Linux service Euclides, Save the attached file in /etc/init.d/ and update the

Re: autoloading TLDs

2003-07-19 Thread Bill Barker
There are two places in the JSP spec that are relevent. 1) Section 7.4 under the description of listener (for why it is done at startup). 2) Section 7.3.1 for why it does files of the form WEB-INF/*.tld Dmitry Beransky [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I've noticed

Re: Adherence to DTD issue

2003-07-19 Thread Bill Barker
Actually, all servlet declarations must come before any servlet-mapping declarations in the 2.2 DTD as well. It's just that Tomcat 3.2.x didn't enforce this. Tomcat 3.3.x does enforce it by default, but you can turn it off (for backwards compatibility reasons). Shapira, Yoav [EMAIL PROTECTED]

Re: Running Tomcat as Non-Root

2003-07-19 Thread Lukas Bradley
Because then ANYONE with a user account could bind a service to those ports. ... unless there are proper access privileges on ports as on files. I consider the start-as-root pattern as a hack (not a bad one though ;-) I was going to let a sleeping dog lie, but that's exactly what I think.

Jasper - including unbalanced jsp fragment

2003-07-19 Thread Craig Berry
I would like to include static content from one file (call it header.inc) as part of the jsp text of another (mypage.jsp). Specifically, header.inc is supposed to include common html, head, and body content, following which mypage.jsp will contain page-specific content. So header.inc contains

RE: How to clean objects in user's session

2003-07-19 Thread Imran Balkhi
Thanks Tim, your suggestion works. Here is the changed code Enumeration sessionAttributes = session.getAttributeNames(); ArrayList list = new ArrayList(); while(sessionAttributes.hasMoreElements()) { String name = (String) sessionAttributes.nextElement();

RE: Jasper - including unbalanced jsp fragment

2003-07-19 Thread Craig Berry
A quick clarification -- this actually only causes problems on server-side taglib items, like Struts html taglib. So the problem occurs when I have html:html in Header.inc but the close tag is elsewhere. I would think that Jasper would be combining the text pieces into one file before the

Recycling Tomcat

2003-07-19 Thread Rhino
Hi! We are running Tomcat 4.1.24 on a Mandrake 9.1 Linux box. Occasionally we need to recycle Tomcat and the only way the administrator has found which works is to delete the lock file for Tomcat and then start Tomcat. I have to believe that there is a more elegant way to do it. I would

Jasper, Java, and X11 Dependencies

2003-07-19 Thread Greg Zoller
Hello, I'm having a problem where I log into a server w/telnet, and run JBoss (w/embedded tomcat). The server fails in jasper with X11 auth problem. I have a workaround: use ssh -X to handle X. If I use ssh -X instead of telnet, everything works fine. But because I can't explain why there

Re: Jasper, Java, and X11 Dependencies

2003-07-19 Thread Bill Barker
Tomcat out-of-the-box has absolutely zero X11 dependencies. It must be something in your webapp. There are two ways to deal with this: 1) If you are using a 1.4.x JVM, you could try running it as 'headless'. 2) Install Xvfb, to provide a virtual X11 server. Greg Zoller [EMAIL PROTECTED] wrote