Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Mohd. Jeffry
my application name is sd. This is my catalina.out . . . INFO: Processing Context configuration file URL file:/etc/tomcat5/Catalina/localhost/balancer.xml Aug 1, 2005 11:21:31 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /sd from URL fil

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
Servlet mapping specifies an unknown servlet name invoker Maybe you try to map a servlet name that's not declared yet on web.xml ? How about your web.xml file ? On 8/1/05, Mohd. Jeffry <[EMAIL PROTECTED]> wrote: > > my application name is sd. This is my catalina.out > > . > . > . > INFO: Proces

Re: Servlet mapping - url pattern with *

2005-08-01 Thread Bill Barker
"flower" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Let's consider situation like this: > We have got some servlets responsible for genereting galery page. We want > group galery pages by use common part in uri (/galery/): > http://x.com/galery/galery_id/firstpage.h

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Mohd. Jeffry
which one? tomcat or my application web.xml ? On 8/1/05, Lintang JP <[EMAIL PROTECTED]> wrote: > Servlet mapping specifies an > unknown servlet name invoker > > Maybe you try to map a servlet name that's not declared yet on web.xml ? > How about your web.xml file ? > > > On 8/1/05, Mohd. J

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
you app.specific web.xml, at WEB-INF On 8/1/05, Mohd. Jeffry <[EMAIL PROTECTED]> wrote: > > which one? tomcat or my application web.xml ? > > On 8/1/05, Lintang JP <[EMAIL PROTECTED]> wrote: > > Servlet mapping specifies an > > unknown servlet name invoker > > > > Maybe you try to map a servlet

TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Darryl L. Miles
I've never had TC bind itself to 127.0.0.1:8005 to allow correct shutdown to occur. I've always had to kill the TC JVM. I use JSVC to be able to get a non-root userid. Does this affect how the shutdown port works ? My startup command line: ./bin/jsvc -Djava.endorsed.dirs=./common/endorse

RE: TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Peter Crowther
> From: Darryl L. Miles [mailto:[EMAIL PROTECTED] > Subject: TC5.5.9 Linux - shutdown port 8005 not bound BUG? > I've never had TC bind itself to 127.0.0.1:8005 to allow correct > shutdown to occur. [...] > $ netstat -tanp | grep 80 > tcp0 0 :::127.0.0.1:8009 > :::*

Re: TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Darryl L. Miles
Peter Crowther wrote: From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Subject: TC5.5.9 Linux - shutdown port 8005 not bound BUG? I've never had TC bind itself to 127.0.0.1:8005 to allow correct shutdown to occur. [...] $ netstat -tanp | grep 80 tcp0 0 :::127.0.0.1:8

RE: TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Peter Crowther
> From: Darryl L. Miles [mailto:[EMAIL PROTECTED] > Sorry yes... 8009 is the apj13 port (was figuring you'd guess). Doh. My bad - I use Tomcat directly, not via a front-end, so missed that one. Sorry Darryl (and anyone reading this thread in the archives). > My apache is using it locally I hav

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Mohd. Jeffry
I don't think its a good idea to post it here. The files got thousands of lines.. perhaps there are specific parts that I should be look in to? On 8/1/05, Lintang JP <[EMAIL PROTECTED]> wrote: > you app.specific web.xml, at WEB-INF > > > On 8/1/05, Mohd. Jeffry <[EMAIL PROTECTED]> wrote: > > whi

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

2005-08-01 Thread Lintang JP
1. try to match the part with the , maybe there's some unmatch item there 2. If U just migrate to tomcat 5, U shd also look the DTD item at the top of your web.xml file, which dtd is used by web.xml in tomcat 5 I guess that's all ? On 8/1/05, Mohd. Jeffry <[EMAIL PROTECTED]> wrote: > > I don'

j_security_check & sessions

2005-08-01 Thread Chris Holden
Hi, I am using the built in security constraints to password protect some directories in my app. It works fine, but I was wondering when someone uses the login form to get to the passworded directory or page, is it possible to get the username and/or password that the user submits in the j_secur

Redirect HTTP to HTTPS

2005-08-01 Thread Faine, Mark
I know I can redirect HTTP to HTTPS by adding: CONFIDENTIAL to my web.xml but the problem is that this does not redirect when someone just goes to a directory path. I would like http://servername/ to redirect to https://servername/ Thanks, -Mar

turning all logging off (Tomcat 4.1.18)

2005-08-01 Thread Kolev, Nik
Hi, I am switching from Tomcat 3.2.X to Tomcat 4.1.18 (yeah, I know these are old, but that's what a 3rd party software vendor requires for their servlet). I do not need any of the Tomcat/servlets' logs and in Tomcat 3.2.X have modified the conf/server.xml Logger tags to contain the attribute

Re: Redirect HTTP to HTTPS

2005-08-01 Thread Martin Bromley
Just create a filter (mapping it to /* for example so it gets applied to all requests), test for a secure connection with request.isSecure(), and if it isn't, redirect using response.sendRedirect. Martin Faine, Mark wrote: I know I can redirect HTTP to HTTPS by adding:

Re: j_security_check & sessions

2005-08-01 Thread Frank W. Zammetti
AFAIK, no, there is no way to do it. Here at work we've built a whole security framework that works hand-in-hand with J2EE security, specifically to deal with shortcomings just like this. In our framework, we have a filter who has a couple of functions, and one of them is exactly what you describ

ZipOutputStream Tomcat 5.5 problem

2005-08-01 Thread Tommaso Nolli
Hi all, I have a web app that writes some plain text data and then some zipped data to the client: ServletOutputStream out = ... out.print("PLAIN_HEADER|"); ZipOutputStream zos = new ZipOutputStream(out); ... use zos ... well, this code is in production since tomcat 4.0.x and works fine since

Moving to another drive

2005-08-01 Thread Sternbergh, Cornell
Hi everybody I'm using Tomcat (4.1) with the Sysdeo plug-in for Eclipse (3.0) on a WinXP machine. Had everything installed on C:\ and all was right with the world. Then came McAfee and the bureaucrats, who feel that ALL files should be scanned on access. Which means that even something as beni

Re: Moving to another drive

2005-08-01 Thread Manfred Steurer
Did you change "Tomcat Home" and "Configuration File" at Window/Preferences/Tomcat? Fight the bureaucrats ;) - Manfred Sternbergh, Cornell wrote: Hi everybody I'm using Tomcat (4.1) with the Sysdeo plug-in for Eclipse (3.0) on a WinXP machine. Had everything installed on C:\ and all was rig

Cannot create JDBC driver of class - help!!

2005-08-01 Thread Anish Tom Ashley
Hi, I'm trying to create a struts based application which tries to access MySQL dB using mysql-connector-java-3.1.10 connector. I'm having problem with my getConnection() code. The following error is occurring. org.apache.commons.dbcp.SQLNestedException: Cannot crea

RE: Moving to another drive

2005-08-01 Thread Sternbergh, Cornell
That's what I was missing! I'd mucked about in eclipse looking for something like that, I was looking for a tomcat menu item, that could lead to preferences. I didn't think that the preferences would contain the preferences for all. Thanks Manfred! Thanks Cornell Sternbergh (717) 787-6760 [EMAI

RE: Cannot create JDBC driver of class - help!!

2005-08-01 Thread Allistair Crossley
Is Context not supposed to be within a Host element? You also have a lowercase "c" in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html Allistair. > -Original Message- > From: Anish Tom Ashley [mailto:[EMAIL PROTECTED] > Sent: 01 August 2005 16:30 > To:

RE: HTTP/1.1 GZIP compression and its impact on server

2005-08-01 Thread George Sexton
Our App does GZIP compression. I actually did some real testing on using it. Here's what we tell our customers: Enable GZIP Compression Enabling this option will cause Connect Daily to send web pages to the browser compressed in the GZIP format. This can result in a compression factor of six (6)

Problem front-ending tomcat with IIS

2005-08-01 Thread Ikonne, Ike
Hi all, I am trying to configure Basic Authentication with IIS/Tomcat and have not had any success yet. Here is my operating environment: Tomcat 5.5.9 IIS 5.0 I get HTTP 401 error when I ran this setup. I have successfully ran the same setup with Apache/Tomcat. I would appreci

Re: Tomcat, getRequestURI(), and URL fragments

2005-08-01 Thread Kito D. Mann
At 01:02 PM 7/30/2005, you wrote: The web browser never sends (or shouldn't send) #blah so the webserver will never see it. -Tim Ah. That's kind of what I was thinking. For some reason, some browsers do actually send it, so I was getting a little confused. Thanks. Kito D. Mann wrote: I'

Having problem posting to the group

2005-08-01 Thread Ikonne, Ike
Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post to the group: Unable to deliver message to the following address(es) . Remote host said: 554 delivery error: This user doesn't have an ac I know that I subscribe to t

RE: Having problem posting to the group

2005-08-01 Thread Sternbergh, Cornell
I've posited twice today, this will be my third. Both posts showed up (Subject: moving to another drive). Both posts caused emails complaining of delivery failure to show up in my inbox. Thanks Cornell Sternbergh (717) 787-6760 [EMAIL PROTECTED] -Original Message- From: Ikonne, Ike [ma

invalid web.xml - mime-mappng is not facet-valid with regard to the '+' char

2005-08-01 Thread Robert Koberg
I don't think I have tried to ever validate the $CATALINA_HOME/conf/web.xml before, but I am trying to track down a bug and found the web.xml to be invalid (according to XML Schema validation). For example it fails on: ... mathml application/mathml+xml ... It seems to be failing on the

Re: Having problem posting to the group

2005-08-01 Thread Spammed TooMuch
Hi Ike, I've been having the same problem since Friday. But, I did get your post. So it appears to be going out to the list, it is just also giving you the error. Which means maybe my posts worked as well -- did you see one titled "WARs not being unpacked in Embedded Tomat?". Perhaps it was sent

Re: Having problem posting to the group

2005-08-01 Thread Tom
Maybe you subscribed with an alias (a different email address than you reply-to that also arrives in the same mailbox)? Tom Ikonne, Ike wrote: Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post to the group: Unab

RE: Having problem posting to the group

2005-08-01 Thread Ikonne, Ike
Hi all, Thanks, you know when you receive that message you can never tell if your posting actually made it to the list, it is comforting to know that the problem is not unique to me alone. Ike -Original Message- From: Spammed TooMuch [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2

RE: Having problem posting to the group

2005-08-01 Thread Ikonne, Ike
Hi Tom, Actually, this is the only e-mail address that I have used to subscribe to Tomcat Thanks, Ike -Original Message- From: Tom [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 12:18 PM To: Tomcat Users List Subject: Re: Having problem posting to the group Maybe you subscrib

Re: Having problem posting to the group

2005-08-01 Thread Luis Torres
I have that same problem since 2 weeks or so. I did see your post about WARs not being unpacked though =) Adios Luis Spammed TooMuch wrote: Hi Ike, I've been having the same problem since Friday. But, I did get your post. So it appears to be going out to the list, it is just also giving yo

RE: Having problem posting to the group

2005-08-01 Thread Sternbergh, Cornell
And I might point out that the address in the error message is tomcat-user@jakarta.apache.org which would indicate that jakarta.apache.org doesn't know about tomcat-user... except that it does, as is evidenced by the mail that comes from there ;-) Thanks Cornell Sternbergh (717) 787-6760 [EMAIL

RE: Having problem posting to the group

2005-08-01 Thread Ikonne, Ike
Hi Cornell, That's exactly correct ;) Ike -Original Message- From: Sternbergh, Cornell [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 12:57 PM To: Tomcat Users List Subject: RE: Having problem posting to the group And I might point out that the address in the error message is

Re: strange cache behavior in Tomcat 5.5.9?

2005-08-01 Thread Seth Ladd
Gabriel Belingueres wrote: Hi, In my JSP pages I put the following tags to avoid the browser cache the pages. I wouldn't trust this way. I would always use the below method for manipulating any cache control or general HTTP headers. <% response.setHeader("Cache-Control","no-store");

Re: Having problem posting to the group

2005-08-01 Thread Mark Thomas
See: http://marc.theaimsgroup.com/?l=tomcat-user&m=111895333829546&w=2 There has been no progress since my original message. Mark [EMAIL PROTECTED] Ikonne, Ike wrote: Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post

W3C log format in Tomcat 4?

2005-08-01 Thread Jason
I'm new to Tomcat 4 and am trying to figure out how to configure my logs so that Deepmetrix's LiveStats 7 can import them. Does Tomcat 4 support logging to the W3C Extended logging format? If so, could you provide me with a link to a resource that tells how to configure this? Thanks, Jason _

Re: W3C log format in Tomcat 4?

2005-08-01 Thread Mark Thomas
Jason, See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html You want the AccessLogValve Mark Jason wrote: I'm new to Tomcat 4 and am trying to figure out how to configure my logs so that Deepmetrix's LiveStats 7 can import them. Does Tomcat 4 support logging to the W3C Extend

Re: Servlet mapping - url pattern with *

2005-08-01 Thread flower
Bill Barker wrote: "flower" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, Let's consider situation like this: We have got some servlets responsible for genereting galery page. We want group galery pages by use common part in uri (/galery/): http://x.com/galery/galery_

How do I get user credential in Tomcat

2005-08-01 Thread Ikonne, Ike
Hi all, I am implementing Basic authentication, I would like to make both the Principal and Credential visible to my servlet being managed by Tomcat, I know how to get the Principal, but I can't seem to find a away to get the Credential. Does anyone have an idea as to how I can get this info

Using more than one SSL cert in keystore?

2005-08-01 Thread Justin Jaynes
If I host more than one domain on my tomcat installation (standalone, not with apache), can I imort an SSL certificate for each domain and will tomcat just know which to use for which hosts? Justin Jaynes - To unsubscribe, e-mail

Re: W3C log format in Tomcat 4?

2005-08-01 Thread Tim Funk
Try the ExtendedAccessLogValve. You'll need to look in the javadocs for the details. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/valves/ExtendedAccessLogValve.html -Tim Jason wrote: I'm new to Tomcat 4 and am trying to figure out how to configure my

Forwarding Domains

2005-08-01 Thread Justin Jaynes
Is it possible for me to host somedomain.com on my tomcat, and as that is my prefered domain name format, and want all users who go to www.somedomain.com (YES, I have A records set up for both and they point to the same tomcat server) to be re-directed to somedomain.com, using my tomcat setup? In

Re: WARs not being unpacked in Embedded Tomat?

2005-08-01 Thread Spammed TooMuch
Hi, Following up my post in-case anyone can correct or learn from my experiments. It appears I have to tell Embedded to use the WAR file myself. To keep it like regular Tomcat, I check for a directory first. If not found and there is a WAR file of the same name, I: deployer.findDeployedApp( conte

Setting multiple docbases in Tomcat

2005-08-01 Thread Ben Ricker
I am using Tomcat 5.0.28 on AIX. I have a third-party app that has multiple directories strewn about the filesystem containing html and jsps that I want to load as part of the main app I load from webapps. I looked into adding context tags tp the server.xml but there are some reasons not to do this

Re: Using more than one SSL cert in keystore?

2005-08-01 Thread Justin Jaynes
In the (brief) interim between my asking the original question below, and now, I have found additional information--SSL must occur before HTTP handshake, and will therefore not work on hosts based on the same IP. I have more than one IP available from my ISP. I suppose the question would better b

Re: How do I get user credential in Tomcat

2005-08-01 Thread Jo
Previous mails on 'j-security_check & sessions' could give you a useful information. Since you're looking at Basic authentication, try to extract the credential from the authorization header. Jo.- - Original Message - From: "Ikonne, Ike" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 02,

Re: How do I get user credential in Tomcat

2005-08-01 Thread Chris Holden
Well thanks to Frank I have been looking into filters so I'll probably use j_security_check and a filter to do what I want. I did look at BASIC authentication as an alternative, as you can extract the user:pass combo from the Authorization header with a little base64decoding, have a look at this s

RE: How do I get user credential in Tomcat

2005-08-01 Thread Ikonne, Ike
Hi Chris, Thanks, the information you provided is very useful. Ike -Original Message- From: Chris Holden [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 6:48 PM To: Tomcat Users List Subject: Re: How do I get user credential in Tomcat Well thanks to Frank I have been looking in

RE: How do I get user credential in Tomcat

2005-08-01 Thread Ikonne, Ike
Hi Jo, Thanks, that's exactly what I was looking for. Ike -Original Message- From: Jo [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 6:36 PM To: Tomcat Users List Subject: Re: How do I get user credential in Tomcat Previous mails on 'j-security_check & sessions' could give you

Re: Forwarding Domains

2005-08-01 Thread Tim Funk
Sorry, there is no way out of the box. But there are filters which can do this for you. For example: http://tuckey.org/urlrewrite/ -Tim Justin Jaynes wrote: Is it possible for me to host somedomain.com on my tomcat, and as that is my prefered domain name format, and want all users who go to ww

Re: W3C log format in Tomcat 4?

2005-08-01 Thread Jason
Tim, This looks like it is what I was looking for. Since I'm very new to Tomcat, I'm struggling to figure out how to implement this valve. Do you have an example of a standard implementation that you could send me that I could paste into my server.xml file? Thanks a bunch for your help! Jason

Re: W3C log format in Tomcat 4?

2005-08-01 Thread Tim Funk
I think this will work ... -Tim Jason wrote: Tim, This looks like it is what I was looking for. Since I'm very new to Tomcat, I'm struggling to figure out how to implement this valve. Do you have an example of a standard implementation that you could send me that I could paste into my serv

HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap

2005-08-01 Thread MC Moisei
Hi, I manage to configure my tomcat with jsvc(common-daemon) and everything work great till I start to launch it as root. If I run it as tomcat user it does work great. If I try to run it as root from command prompt or from init.d I get the following exception ( see below ) Right are given a

Re: W3C log format in Tomcat 4?

2005-08-01 Thread Jason
Tim, Perfect, that worked exactly like I needed it to. Thank you VERY much! Is there a searcable archive of all these mailing list questions and responses? Thanks, Jason --- Tim Funk <[EMAIL PROTECTED]> wrote: > I think this will work ... > className="org.apache.catalina.valves.ExtendedAcces

Re: Setting multiple docbases in Tomcat

2005-08-01 Thread Lintang JP
Hi Ben U can put your settings in TOMCAT_HOME/conf/Catalina/localhost, there are some xml files there, just create one xml file there, and fill it just like the other existing one. On 8/2/05, Ben Ricker <[EMAIL PROTECTED]> wrote: > > I am using Tomcat 5.0.28 on AIX. I have a third-party app tha

Re: Forwarding Domains

2005-08-01 Thread Bruno Georges
Hi justin You can achieve url forwarding/rewriting using a simple servlet filter, or better if you have apache in the front, use mod-rewrite, which is configurable in your httpd.conf. If you are using iis, there are few available isapi filter which you can use, alternatively you can write your o

Re: Using more than one SSL cert in keystore?

2005-08-01 Thread Bruno Georges
Justin In this situation, I would use apache + modrewrite If you want some example I can help you Bruno Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 - Original Message - From: Justin Jaynes [EMAIL PROTECTED] Sent: 02.08.2005 00:54 To: Tomcat Users Li

Re: Forwarding Domains

2005-08-01 Thread Bruno Georges
Hi justin You can achieve url forwarding/rewriting using a simple servlet filter, or better if you have apache in the front, use mod-rewrite, which is configurable in your httpd.conf. If you are using iis, there are few available isapi filter which you can use, alternatively you can write your o

Re: mod_rewrite for Tomcat 5.5

2005-08-01 Thread Bruno Georges
Hi david As Tim pointed out, there are product which does this for you However, your requierments can be easily covered with a servlet filter. You just need to ship it with your war and configure it in your deployment descriptor I have some examples if needed Best regards Bruno Bruno Georges G

forwarding from a servlet after writing to disk

2005-08-01 Thread Billy Kantartzis
Hello every-one i am trying to have a servlet forward to a jsp page after using the jakarta.common.uploadc utility to upload a file into tomcat. i have noticed the following behavior; if i request the forward operarion without performing the upload function the forward is executed. if i allow t

Re: mod_rewrite for Tomcat 5.5

2005-08-01 Thread Bruno Georges
Hi david As Tim pointed out, there are product which does this for you However, your requierments can be easily covered with a servlet filter. You just need to ship it with your war and configure it in your deployment descriptor I have some examples if needed Best regards Bruno Bruno Georges G