Re: Howto activate JSSESupport in Apache-mod_jk-Tomcat 5.5.x

2006-04-24 Thread Oliver Schoenwald
Hi Mark, sorry, you misunderstood me. Of cause we already SSL for Apache, configured mod_jk to deliver certain SSL-Information etc. etc. etc. What Tomcat/Catalina doesn't support by default is getting a SSLSession based on the SSL-SessionID of a running SSL-Connection. So far I have found no info

Re: servlet mapping request

2006-04-24 Thread Raymond P. Jones
Hello Tomcat Users. I've researched Linux books for a solution and no luck on httpd.conf. So I am guessing all I need to do is change the following in httpd.conf FROM : > LoadModule jk_module libexec/mod_jk.so > AddModule mod_jk.c > > > ServerAlias nbfc.us > ServerAdmin [EMAIL PROTECTED]

Re: A docbase ... inside the host appBase has been specified

2006-04-24 Thread bloggy_ttop
Thanks so much for your helpful response. I mistakenly thought that was the problem with my servlet. Now I see that it is actually running (I was trying to hit http://localhost: 8080/CommandServlet rather than http://localhost:8080/subset/ CommandServlet -- sorry, rookie here). I was hopin

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread David Smith
As pointed out by another, load-on-startup only refers to servlets within a specific webapp. It does not have any influence over the load order of web applications themselves. --David Eric Haszlakiewicz wrote: On Mon, Apr 24, 2006 at 11:20:54AM -0400, David Smith wrote: This question come

Re: A docbase ... inside the host appBase has been specified

2006-04-24 Thread David Smith
What it means is there is a context xml file (typically in config/Catalina/localhost, probably subset.xml) that specifies a docBase attribute. That attribute is useful if the webapp is not within tomcat's webapps directory, but ignored as redundant when the webapp is in the webapps directory.

A docbase ... inside the host appBase has been specified

2006-04-24 Thread bloggy_ttop
I apologize for the rookie mistake, but I can't figure out what I've done wrong here... I'm trying to configure a simple servlet, but when I launch tomcat (via IDEA) I see this message in the tomcat output: "A docBase /Volumes/misc/apache-tomcat-5.5.17/webapps/subset inside the host appBa

RE: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Tim Lucia
It defines the order of servlet startup, if pre-loaded/pre-started at all, when the webapp actually starts. It does not affect the order in which the webapps themselves are loaded and/or started. Tim -Original Message- From: Eric Haszlakiewicz [mailto:[EMAIL PROTECTED] Sent: Monday, Ap

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Eric Haszlakiewicz
On Mon, Apr 24, 2006 at 11:20:54AM -0400, David Smith wrote: > This question comes up every so often and the answer is always no. The > webapp load order cannot be relied upon. In your case, might I suggest > the database webapp be run on a separate instance of tomcat? Can the > connection be d

memory footprint question (5.0.28)

2006-04-24 Thread Rumpa Giri
I had a question on individual memory footprint of a tomcat instance and increasing the number of instances: Is this assumption correct that increasing the number of instances of tomcat on a machine and modifying the IIS worker properties to have more worker instances in the balanced_worker pro

j-_security_check session problem with load balancer

2006-04-24 Thread Andrew Arrow
Hello, We are using tomcat 5.5.16 with a Redline Networks Enterprise Application Processor load balancer between two machines. The balancer is session sticky. Every so often we get a problem with users not being able to log in. (We are using JDBC Realm form authentication.) The error the user

Re: Tomcat Security....

2006-04-24 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: HTML Pages in Tomcat????

2006-04-24 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: Howto activate JSSESupport in Apache-mod_jk-Tomcat 5.5.x

2006-04-24 Thread Mark Thomas
Oliver Schoenwald wrote: If your are using mod_jk, you need to configure SSL on Apache. If you are using Tomcat on its own, read http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html Mark - To unsubscribe, e-mail: [EMAIL PROTE

RE: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Caldarale, Charles R
> From: Vivek Mohan [mailto:[EMAIL PROTECTED] > Subject: Re: is there a possibility to define the startup > order for webapps? > > I believe that the loading of webapps is based on the order of the > webapp folders (or war files) coming into the purview of the tomcat > webapp loader. Which may

RE: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Tim Lucia
You cannot rely on this, especially when you change OSes, servers, or tomcat versions. -Original Message- From: Vivek Mohan [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 3:00 PM To: Tomcat Users List Subject: Re: is there a possibility to define the startup order for webapps? I

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Vivek Mohan
I believe that the loading of webapps is based on the order of the webapp folders (or war files) coming into the purview of the tomcat webapp loader. This is mostly in the order the OS lists the files/folders within the webapps folder. I think you can experiment with changing the name of the datab

Re: jsvc creates LOTS of processes

2006-04-24 Thread David Smith
Chances are you are doing nothing wrong. How many threads/processes are started when you start tomcat manually?It could easily be the way your kernel implementation handles threads (assuming this is Linux). Some list threads as processes (version 2.4 and before), newer 2.6 kernels don't. --Dav

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Frank W. Zammetti
One could envision a rather complex and somewhat funky solution to this... I'm not so sure I'd recommend it, but in the interest of creative thinking... (1) Add a context parameter isAppRunning to the webapp, initially set to "false". (2) Create a filter that is mapped to handle all requests

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread SOA Work
argh. annoying. ok. thx anyway. > -Ursprüngliche Nachricht- > Von: "Tomcat Users List" > Gesendet: 24.04.06 17:57:49 > An: "Tomcat Users List" > Betreff: Re: is there a possibility to define the startup order for webapps? > A couple of other ideas: > > Use a small shared class (in sh

jsvc creates LOTS of processes

2006-04-24 Thread Mark Shifman
I noticed that jsvc creates about 68 processes on one of my servers. I start it using an init.d script under redhat 9. I don't think I have done anything egregious. ...snip CATALINA_OPTS=" -Djava.awt.headless=true -Xmx750m -Xms750m" ...snip start(){ $DAEMON_HOME/jsvc \ -user $TOMCAT_USER \

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread Len Popp
A couple of other ideas: Use a small shared class (in shared/lib) to keep track of whether the database is running. The first webapp notifies this class when it's ready, and the second webapp checks if the database is ready before using it. Or, just accept that database errors will occur during s

Problems with tomcat hanging

2006-04-24 Thread james edwards
We are running separate tomcat and apache servers, the http requests are being proxied from the apache server to the tomcat server. Tomcat connects to an informix database; our application is a webpage that allows users to make queries against the dB and report the results in html. Here is the box

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread David Smith
This question comes up every so often and the answer is always no. The webapp load order cannot be relied upon. In your case, might I suggest the database webapp be run on a separate instance of tomcat? Can the connection be done via TCP/IP? --David SOA Work wrote: Hi there, I'm currenttly

Upgrade from tomcat 4.0.27 to 5.5.15 results in: "No Host matches server name"

2006-04-24 Thread Martin Sperl
Hi! I am just upgrading our application to use tomcat 5.5.15 instead of 4.0.27 and after reconfiguring server.xml to conform to the new configurations I get the message "No Host matches server name ..." when accessing via apache and mod_jk. Also I have to mention that I did NOT change anything on

is there a possibility to define the startup order for webapps?

2006-04-24 Thread SOA Work
Hi there, I'm currenttly using tomcat 5.x for running my webapps. Now I have the following problem: I'm using an database system which runs as webapplication inside tomcat. Another webapplication needs the database connection for startup. Everytime I restart tomcat the server doesn't get up, b

Re: HTML Pages in Tomcat????

2006-04-24 Thread Marc Farrow
best thing is to place them either in the imagescan app folder or a subfolder of it such as imagescan/html then reference them with url via http://localhost:8080/imagescan/page1.htm#anchorname or http://localhost:8080/imagescane/html/page1.html#anchorname On 5/2/04, Michael McQuade <[EMAIL PROTEC

Re: using digester from within a servlet

2006-04-24 Thread Frank W. Zammetti
Christopher Piggott wrote: Frank W. Zammetti [mailto:[EMAIL PROTECTED] writes ... It looks to me like your ObjectCreate rule is incorrect... I believe the class you reference must be the fully-qualified name. That set me on the right track - thank you. My ObjectCreate rule was actually OK be

RE: http gzip compreses in tomcat

2006-04-24 Thread Tim Lucia
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html (Attribute "compression" on the Http Connector) -Original Message- From: wakeup [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 10:26 AM To: users@tomcat.apache.org Subject: http gzip compreses in tomcat Hello, I'm using

Proxy Server

2006-04-24 Thread Mohammed Yousuff
Hi , guys . i am trying to get a XML files in the another Server (RSS Feeds).So when i configured with server to get the data. in our Organisation they are using Proxy Server . so my server (Tomcat 5) unable to connect . then i configured with the Proxy server using the CATALINA_OPTS environmental

http gzip compreses in tomcat

2006-04-24 Thread wakeup
Hello, I'm using tomcat 5.5 I want enable compressing http gzip in my server. How can I do it? Thanks ___ HipHop Directo De Chiste -- View this message in context: http://www.nabble.com/http-gzip-compreses-in-tomcat-t1499582.html#a4064695 Sent from the Tomcat - User forum at Na

RE: Tomcat Security....

2006-04-24 Thread Allistair Crossley
You need a firewall. Can be a router or a software firewall with your PC. You tell your firewall to allow access to the port that Tomcat is open on, e.g 8080 and lock down ports you don't want open such as your database port. Tomcat connects to the database locally on your machine, so the outside w

Tomcat Security....

2006-04-24 Thread Michael McQuade
Dumb question number 2 of the Day folks I'm a programmer, not real swift on the security side of life I have Tomcat (5.0.28)running on my server at home, to develop an application. I now want to open up my Server to the Internet, so potential clients can demo my product from their

RE: HTML Pages in Tomcat????

2006-04-24 Thread Allistair Crossley
/imagescan/anywhere/you/like E.g /imagescan/help -Original Message- From: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: 02 May 2004 14:49 To: Tomcat Users List Subject: HTML Pages in Tomcat Hi folks, real dumb question here. I have an application running on Tomcat... All my

HTML Pages in Tomcat????

2006-04-24 Thread Michael McQuade
Hi folks, real dumb question here. I have an application running on Tomcat... All my HTML Pages are built on the fly by the Java Programs EXCEPT, on each screen I have a HELP button, that is an Anchor Basically opens up a new browser with the Help information on it These are St

Re: Help with embedded server

2006-04-24 Thread Marc Farrow
This is just a guess, but I think you might want/need to add a servlet mapping for all JSPs somewhere. I do not have this problem. It must be a configuration problem. On 4/24/06, Trevor Miller <[EMAIL PROTECTED]> wrote: > > Hi, > > On a standard binary tomcat distribution I can deploy JSP's with

Re: Tomcat 5.5.17 500 error

2006-04-24 Thread Marc Farrow
Looks like the "webwork" context is not deployed on the other machine. Although you might have copied the app over, the context is not deployed under Tomcat. Try to view your list of contexts deployed by using this URL and logging into an account that has a manager role defined. http://localhost:

Re: Tomcat works on Linux localhost but not in the network

2006-04-24 Thread Grant Johnson
Here's a little more reading on IPTABLES if that's the firewall methodology you are using. Grant josemanuel lopez wrote: yeap . I disable the firewall and I'm getting response, but do you know how to enable the firewall and allow access to the port 8080 only I'm running RedHat EE r3 T

Re: Re[4]: Tomcat works on Linux localhost but not in the network

2006-04-24 Thread vineesh kumar
check iptables configuration documentation in RHEL site On 4/24/06, Corobitsyn Roman <[EMAIL PROTECTED]> wrote: > This is Linux question, but not Tomcat > I don`t know how to set up firewall in RH > See this link > http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/security-guide/ch-fw.ht

RE: using digester from within a servlet

2006-04-24 Thread Christopher Piggott
Frank W. Zammetti [mailto:[EMAIL PROTECTED] writes ... >It looks to me like your ObjectCreate rule is incorrect... >I believe the class you reference must be the fully-qualified name. That set me on the right track - thank you. My ObjectCreate rule was actually OK because I specified the Class i

Howto activate JSSESupport in Apache-mod_jk-Tomcat 5.5.x

2006-04-24 Thread Oliver Schoenwald
Hello, I want to use SSLSessions in Tomcat 5.5.x and wonder how I can activate the JSSE-Support and SSLSession-Handling for Tomcat? In the source-code I see some classes in the connectors-directory that seem to prepare the catalina-engine for the use of SSLSessions with and without X509Certif

Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread Markus Schönhaber
Tom Bednarz wrote: > Markus Schönhaber wrote: > >WAG: maybe you did overload GenericServlet#init instead of overriding it. > > But I doubt that anyone can tell for sure with so little information > > provided. > > Don't know what you mean with that. Here is part of my servlet code: > > public final

Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread Tom Bednarz
Markus Schönhaber wrote: Tom Bednarz wrote: I defined the following in the web.xml of my web application: MTWInit ch.smartsol.mtweb.servlets.MTWInit MailConfiguration /WEB-INF/config/Mail.properties 1 This servlet is NOT loaded at all. This is true for the fo

Help with embedded server

2006-04-24 Thread Trevor Miller
Hi, On a standard binary tomcat distribution I can deploy JSP's without putting in any entries into the web.xml but when deployed on the embedded server I get 404's until I add: org.apache.jsp.index_jsp org.apache.jsp.index_jsp org.apache.jsp.index_jsp

Tomcat 5.5 + JMX

2006-04-24 Thread RODRIGUES DE ALMEIDA Thiago
Hi, I need a help for doing an implementation of JMX within Tomcat. In fact, i use Tomcat 5.5 to host my application. I have problems with performance and would like to implement JMX into my application in order to get some manageble informations. Can you help my on how to implements a JMX solut

[ZySPAM] - [ZySPAM] - Re: [ZySPAM] - [ZySPAM] - Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread Tom Bednarz
Context.xml ??? Mine seems to have only default entry (I never touched it). I thought it is being used only if configuration changes should be loaded WITHOUT stopping the server. I do not require this, and with previous versions of tomcat this file was inexistent. Here is what I have in my co

tomcat flood

2006-04-24 Thread Namiri Smaîl
Hi i have developed a web application with .jsp running on tomcat 5.5 with a oracle database. I 300 max user ; The application is running well but time in time the the pages be very slow to get the response of the request sending by the users (for me the oracle is too slow to response for to

Hiding error logging when using JK loadbalancer for transparent production builds

2006-04-24 Thread Allistair Crossley
Hi, I've started to use JK's loadbalancer behaviour to hide production builds from our users, so that if I am going to build new functionality, I bring up a 2nd Tomcat which is a copy of the 1st, and then bring the 1st down for the build. However, when a build is complete, I do not run 2 Tomcats f

Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread manivannan84
hi, have you enabled reload="true" in tag in conf/server.xml? -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Tom Bednarz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Mon, 24 Apr 2006 08:19:10 +0200 Subject: Preload of servlet does not w

RE: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread abdurrahman sahin
hi; i have a servlet with tag and no mapping is defined and it is working with tomcat 5.0.28 http://asahin.net -Original Message- From: Markus Schönhaber [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 9:57 AM To: Tomcat Users List Subject: Re: Preload of servlet does not work w