How to make a redirector?

2005-12-03 Thread Seak, Teng-Fong
I've seen some websites providing redirector. I'd like to know if anyone has done so in Tomcat. Well, I'm not sure how this mechanism is called exactly, maybe not called redirector, so let me explain. I've seen some URL which contains two URL's, something like

How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Joe Reger, Jr.
Hi! I'm having trouble getting my Tomcat 5.5. production box to use more than 1.1Gb of memory. 1) When I use the Configure Tomcat console's Java tab to set the Maximum Memory Pool I can only use a max of 1999Mb. If I go above that the Windows Tomcat service will fail to start. 2) Tomcat will

RE: How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Carl Olivier
Hi. Are you running a 64bit or 32bit OS? If 32bit the JVM will not be able to assign higher that 2gb for a single process (which includes system overheads etc). You will need to move to a 64bit OS to be able to create higher Heap. I would check your OS memory/kernel/process memory

RE: How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Carl Olivier
Hi Joe. Well, heres how I run it - and remember this is all dependent on the beakdown of requirements of the following: 1. Web app memory needs - how memory intensive are your web apps within Tomcat going to be? 2. Concurrent connections (tcp threads) for incoming requests - how busy will the

Re: When does 408 happen ?

2005-12-03 Thread Mark Thomas
hv @ Fashion Content wrote: So what if my login page does NOT create a session and the user browses to the login page and then enters credentials ? Tomcat will create one if it does not exist. I recognise the text The time allowed for the login process has been exceeded. If you wish to

Re: How to make a redirector?

2005-12-03 Thread Martin Gainty
Good Morning Seak If your intention is to implement an apache/tomcat redirector I would start here http://developer.novell.com/education/tutorials/portal/novell12.htm If your intention is to redirect a (jsp) page automatically to another (jsp)page I would place this text in your original

RE: How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Caldarale, Charles R
From: Joe Reger, Jr. [mailto:[EMAIL PROTECTED] Subject: Re: How much memory will Tomcat 5.5/Java 5 support? How would you go about using more of the memory that I have on the server? Can I run two Tomcat services and cluster? 32-bit Windows normally only provides 2 GB of virtual space per

RE: How to make a redirector?

2005-12-03 Thread Caldarale, Charles R
From: Seak, Teng-Fong [mailto:[EMAIL PROTECTED] Subject: How to make a redirector? I've seen some URL which contains two URL's, something like http://www.siteA.com/x/http://www.siteB.com/some/path/here/ Are you sure you're not missing a rather important ? between the siteA URL and

RE: Deploying new virtual hosts

2005-12-03 Thread George Sexton
Can you recommend a commercial hosting application that would manage tomcat and meet my needs? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Terence M. Bandoian [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 2:08

RE: How much memory will Tomcat 5.5/Java 5 support?

2005-12-03 Thread Carl Olivier
Hi Nate. Yeah, the AggressiveHeap is definitely an option. My take on it - over months of researching, fighting, tweaking the memory settings is that it leaves a lot of decision making up to the VM. While this is not necessarily a bad thing - prefer to keep some more control - although that may

Re: Verisign Certificate Still Giving Me Troubles:

2005-12-03 Thread Kyle
Scott, I don't remember reading your previous thread, so I may be off-base but, .. famous last words To state the obvious, you just need to replace in config whichever self-signed cert file you generated with your new Verisign cert file. Ignoring for a second the certificate

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Scott Purcell
Just found this in my email mess: Thanks for responding: Here is what I supplied to verisign for my certificate: 1) Prepared the Keystore: keytool -genkey -keystore myKeystore -alias keystoreAlias (it asked for me for passwords, etc.); 2) Generated a CSR a) keytool -genkey -alias keystoreAlias

NullPointer Exception in HostConfig

2005-12-03 Thread hv @ Fashion Content
The error information on context.xml parsing is very sparse to say the least... SEVERE: Error deploying configuration descriptor ROOT.xml java.lang.NullPointerException at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:574) at

Re: Problems with Mod JK (Apache 2.052 and Tomcat 5.5.9)

2005-12-03 Thread Luka Andrejasic
The Catalina log file does contain the message you suggested. And also another one listening on /0.0.0.0:8010. There is only the basic firewall running on the server, with the following settings : *filter :INPUT ACCEPT [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -p icmp -m limit

Apache, Tomcat Tomcat Connector 1.2.15

2005-12-03 Thread Larry Morroni
Hi, I have the following setup: Sun Solaris 9 Apache 2.0.54 Tomcat 5.5.12 Tomcat Connectors 1.2.15 I run a small ISP. We would like to setup one tomcat server instance to handle multiple low-volume tomcat sites. Right now, the only way I can use the connector per domain is by putting the

Re: Verisign Certificate Still Giving Me Troubles:

2005-12-03 Thread Bill Barker
Well, firstly, Verisign should have given you a cert.crt file :). Verisign uses an intermediate cert to sign with (available from their site). Based on configuring mod_ssl I'm guessing that you need to download it and set: SSLCertificateChainFile=/path/to/int/cert.crt in your Connector

Re: Apache, Tomcat Tomcat Connector 1.2.15

2005-12-03 Thread Bill Barker
Larry Morroni [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have the following setup: Sun Solaris 9 Apache 2.0.54 Tomcat 5.5.12 Tomcat Connectors 1.2.15 I run a small ISP. We would like to setup one tomcat server instance to handle multiple low-volume tomcat sites.

Re: Charset configurations for JSP pages

2005-12-03 Thread Bill Barker
Mieke Banderas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Mark Thomas said: Mieke Banderas wrote: Mark Thomas said: Read the spec. Where in the spec? JSP.4 Internationalization Issues would seem to be a blinding obvious place to start. I didn't find anything obvious in that

RE: Re: NullPointer Exception in HostConfig

2005-12-03 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content Subject: Re: NullPointer Exception in HostConfig P.S. the ROOT.xml does end with a /context Which could well be part of the problem, since the tag is Context not context. Case matters. Also, if you're using a 5.5

Missing application web.xml

2005-12-03 Thread hv @ Fashion Content
Sigh :( Gawd I hate changing Tomcat configurations, it always goes pearshaped. Why does Tomcat say that there is no web.xml when it is in the war file when I unzip it??? And how come the default behaviour is to show the contents of the hosts app base ??? Tomcat 5.5.9 on FC2 partial

Re: When does 408 happen ?

2005-12-03 Thread hv @ Fashion Content
Ok, in a way the problem is solved, as I apparently was trying to achieve something that goes against the implemented behaivour. On the default page of the site I put a login form as descibed in the Servlet spec. I then specified the default page to be the login page and listed all other pages

Re: Missing application web.xml

2005-12-03 Thread Wendy Smoak
On 12/3/05, hv @ Fashion Content [EMAIL PROTECTED] wrote: Why does Tomcat say that there is no web.xml when it is in the war file when I unzip it??? partial server.xml: Host name=.. appBase=fc_webapps unpackWARs=true deployOnStartup=true autoDeploy=false xmlValidation=true Have you always

Fw: Verisign Certificate Still Giving Me Troubles:

2005-12-03 Thread Scott Purcell
Thanks Bill for the info. Verisign gave me a cert.cer file. So I am not sure how to handle this. My connector currently is this: Service name=Catalina Connector port=80 // the normal http port / // here is what I am working with that is currently commented out // I was able to add the cert

Re: Missing application web.xml

2005-12-03 Thread hv @ Fashion Content
Why does Tomcat say that there is no web.xml when it is in the war file when I unzip it??? Is it inside WEB-INF (which must be in caps)? It is generated by the Ant WAR task, so yes it is, and I verified it as well. context.xml is in META-INF. And how come the default behaviour is to show

Re: Missing application web.xml

2005-12-03 Thread Rob Hills
Hi Henrik, On 4 Dec 2005 at 3:33, hv @ Fashion Content wrote: Sigh :( Gawd I hate changing Tomcat configurations, it always goes pearshaped. Why does Tomcat say that there is no web.xml when it is in the war file when I unzip it??? And how come the default behaviour is to show the

Re: Apache, Tomcat Tomcat Connector 1.2.15

2005-12-03 Thread hv @ Fashion Content
You can have multiple Host definitions in server.xml I am trying to get what you are looking for to work on my own setup atm. In principle it is easy. But as always when configuration goes wrong with Tomcat, you are in the dark. Bill Barker [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL

Integrating tomcat 5.5.9 w/ Apache 2.0.54 --- which mod_jk

2005-12-03 Thread Kyle
Hi folks, Can I still use (reliably and stable[y] ) mod_jk 1.2.14.1 when integrating TC 5.5.9 with Apache 2? Or am I going to be forced to use mod_jk2? MTiA Kyle - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Missing application web.xml

2005-12-03 Thread hv @ Fashion Content
Thanks for the advice mate. I did indeed have an empty Context tag. Changing it didn't make the Missing application web.xml message go away though. I guess I will have to upgrade to 5.5.12 tomorrow. Rob Hills [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] Hi Henrik, On 4

tomcat 5.5.9 w/ Apache 2.0.54 --- 'className=' no longer needed????

2005-12-03 Thread Kyle
It sems (to me anyway) that tomcat 5.5.9 has changed in recent months and documentation is in somewhat of a transition period. So, I'm now a little lost w/r to integrating an AJP connector for Apache. In TC v4.1, server.xml had a connector; Connector

Re: Missing application web.xml

2005-12-03 Thread Rob Hills
Hi Henrik, On 4 Dec 2005 at 4:38, hv @ Fashion Content wrote: context.xml: Context docBase=ROOT reloadable=true/Context Where is this context.xml file located? The docBase attribute must not be used unless the Context tag is inside server.xml or conf/Catalina/host_name/app_name.xml;