Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread Gabriel Wong

Charly,

The URL, provided by Christopher, provides some very useful tips for 
port 80 binding.
I would also like to add, another option (used in the hosting world) is 
to create a VPS for the application server to run under.
So the application server would be able to run as root but yet in a 
restrictive environment set by the VPS policy.



Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charly,

charly wrote:
  

jsvc seems to be no matter on this mailing list?



Well, this is the Tomcat mailing list... not the jsvc mailing list. Try
asking on the commons-user mailing list. We can't be experts on all
subjects posted to this list, even if jsvc /is/ often suggested as a
useful tool. I also suggest using 'cron' all the time, but asking
questions about cron on this list is a mistake, too.

  

Are there other tools for running tomcat on port 80 with nonroot user on
unix/solaris?



http://www.owasp.org/index.php/Securing_tomcat#Using_Port_80

  

Running apache only for nonroot port 80 access seems to be
oversized/extensive for me (maintenance,complexity,..)



Then use one of the other options.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6UO79CaO5/Lv0PARAmsgAJ9iwUIlCVyI8HrMG+oNuPDlbeE6/QCffk5S
2ZTBRDeKOqiUMo7OhJXiJiw=
=gk9Q
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



--
Regards



Gabriel Wong

Beyond Private JVM JAVA Hosting

http://www.webappcabaret.com


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: the tomcat welcome file one struts action

2007-09-08 Thread Gabriel Wong
You may want to check on the Struts list. It could be a CASE SENSITIVITY 
issue.

Does your app come up when you include Index.do in the URL?

Miren Urkixo wrote:

Hello
I am trying to make one web aplication using  struts into one tomcat 
5.0.XX
In my web.xml file i writte whic is my welcome file, one struts action 
(Index.do) but the tomcat doesn't not show the action, shows me the 
all files from the index directory, listing my / directory.
Can you help me for making the index file , welcome file, been one 
struts action (Index.do)?


Thanks
My web.xml file is this:


http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.4"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

VeniveNicaragua

 
  javax.servlet.jsp.jstl.fmt.localizationContext
 
 
  /WEB-INF/classes/com/ApplicationResources
 



 Filtro
 Filtro
 
  com.gestor.Filtro
 


 Filtro
 /


 Filtro
 *.jsp


 Filtro
 /Index.do



 InitServlet
 
  com.gestor.servlets.InitServlet
 
 1


 action
 
  org.apache.struts.action.ActionServlet
 
 
  config
  /WEB-INF/struts-config.xml
 
 
  debug
  3
 
 
  detail
  3
 
 0


 action
 *.do


 Index.do


 
  /WEB-INF/struts-bean.tld
  /WEB-INF/struts-bean.tld
 
 
  /WEB-INF/struts-html.tld
  /WEB-INF/struts-html.tld
 
 
  /WEB-INF/struts-logic.tld
  /WEB-INF/struts-logic.tld
 
 
  /WEB-INF/struts-nested.tld
  
   /WEB-INF/struts-nested.tld
  
 
 
  /WEB-INF/struts-tiles.tld
  /WEB-INF/struts-tiles.tld
 
 
  http://java.sun.com/jstl/fmt
  /WEB-INF/fmt.tld
 
 
  /WEB-INF/c-rt.tld
  /WEB-INF/c-rt.tld
 
 
  /WEB-INF/c.tld
  /WEB-INF/c.tld
 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Regards



Gabriel Wong

Beyond Private JVM JAVA Hosting

http://www.webappcabaret.com


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES

2007-09-06 Thread Gabriel Wong

Anurag,

As mentioned before on this list, avoid the default Linux JAVA/Tomcat 
packages.
So once you install the JDK rpm from http://java.sun.com and install the 
Tomcat server from http://tomcat.apache.org,

you should not have any compatibility issues.

[EMAIL PROTECTED] wrote:
Does it require additional configuration? 


-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 06, 2007 12:55 PM

To: Tomcat Users List
Subject: Re: Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES

On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
  

Has anyone installed Tomcat 6.0.x on RedHat Linux ES 3.0 (Linux kernel



  

2.4.2)? Is this a compatible configuration?



Tomcat is *Java* -- if you have a JVM that works on your platform,
you're set. :-)

But for the record, yes, as it happens I have an ES3/2.4.2 box with TC 6
on it...

HTH,
--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



--
Regards



Gabriel Wong

Beyond Private JVM JAVA Hosting

http://www.webappcabaret.com


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache authentication information (remoteuser) not visible in Tomcat

2007-08-25 Thread Gabriel Wong
he original transmission from all of your systems
and hard drives, including any attachments, without making a copy.

-Original Message-
From: Omar Nafees [mailto:[EMAIL PROTECTED] Sent: Friday, 
August 24, 2007 2:30 PM

To: Tomcat Users List
Subject: Re: Apache authentication information (remoteuser) not 
visible

in Tomcat

Thanks for the response Christopher... although I had very early 
on, already tried what is suggested in the link you have referred 
to, i.e., setting tomcatAuthentication="false" in the appropriate 
server.xml line (see the config listing I produced earlier in the 
thread).


Oh I hope its not some obscure bug in mod_jk!! :)

Thanks,
Omar



Christopher Schultz wrote:
 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Omar,

Omar Nafees wrote:
   

request.getRemoteUser() returns null in my servlet.
request.getAttribute("REMOTE_USER") also returns null. I have even
checked the headers that are being sent to the AJP connector in
  

Tomcat.
 
  

This is a FAQ. The answer is easily findable in the archives:

http://www.nabble.com/forum/ViewPost.jtp?post=3132974&framed=y

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGzxDY9CaO5/Lv0PARAi0fAKC+7Rb+k5E3fEPFGhhiXvXumpz9QwCgwgss
OPTfCFM5pLAQ0jH0i+BCkis=
=+c/H
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-----
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Regards



Gabriel Wong

Beyond Private JVM JAVA Hosting

http://www.webappcabaret.com


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]