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 http://www.siteA.com/

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 st

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 documentation

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

2005-12-03 Thread Joe Reger, Jr.
> 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). Hi Carl - I'm 32 bit right now. I'll check the archive for past posts. How would you go about using more of the memory that I have

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 w

Re: tomcat5 stop auto after started.

2005-12-03 Thread William Bonnet
Hi it stoped after short time. Does anyone help me? Do you have some more logs to provide ? Kind regards, -- William Bonnet SunWizard - Le site francais dédié aux amateurs de stations Unix http://www.sunwizard.net smime.p7s Description: S/MIME Cryptographic Signature

RE: Running jconsole against TC 5.5 on Windows

2005-12-03 Thread Nate Rock
Hey Damon, Whe you start up tomcat using the jmxrmote params the default is have SSL enabled and to force authentication. If you want to connect to it quickly, you have to explicitly turn this OFF! Try -Dcom.sun.management.jmxremote -Dcom.sun.management.jm

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 conti

Re: Charset configurations for JSP pages

2005-12-03 Thread Mark Thomas
Mieke Banderas wrote: Some links list searchers may appreciate: The JSP 1.1, 1.2 (the one I needed myself) and 2.0 specifications are downloadable (after reg) from Sun here: (Scroll down to the specs) and JSP documentation is here:

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

2005-12-03 Thread Nate Rock
-XX:+AggressiveHeap usage for JVM? This email is pointed almost directly for Carl Oliver, since he seems to be someone who knows his virtual memory settings, but I figure Joe Reger might get something out of it too ;) Evidently this setting by iteself "instructs the JVM to push memory use to the

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 JSP

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

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 UR

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:

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, .. 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 install process in Tomca

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 -

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Dhaval Patel
Scott, You might have to use OpenSSL instead of keytool. OpenSSL is recommended in production environment. Also if you want to use APR+SSL, you might have to use OpenSSL (I am not sure about it). So you have to generate key using openssl and then supplied key to Verisign. If you have time, r

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Scott Purcell
Do you think Verisign should be able to supply me with a openSSL certificate? Maybe that would help. I just don't know enough about this to make any logical sense. I will email Verisign and see what they say. Thanks, Scott PS, did you have Nates earlier email you described below? If so could you

Sttaus 500 when delivering PHP pages with JSR 223 Reference Implementation

2005-12-03 Thread Richard A. DeVenezia
My situation is that my web host processes php files using a cgi-bin/php mechanism, which incurs a php startup cost on each php page served. I don't have the option of getting mod_php turned on I do have pretty complete control over my Tomcat situation though. Thus, I want to try to use the JSR

Re: SSL InvalidKeystore Format?

2005-12-03 Thread James Rome
The accepted CAs are in /jre/lib/security/cacerts which you manage with keytool. This only comes into play if you require a client certificate. Then the user's browser only presents certificates from your CA list. Jim - To unsubs

Re: SSL InvalidKeystore Format?

2005-12-03 Thread Scott Purcell
Could you clarify? I am unsure what you mean. I am really stuck on this, and could use a hand. - Original Message - From: "James Rome" <[EMAIL PROTECTED]> To: Sent: Saturday, December 03, 2005 2:42 PM Subject: Re: SSL InvalidKeystore Format? > The accepted CAs are in /jre/lib/secur

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 org.apache.catalina.startup

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 -

Re: NullPointer Exception in HostConfig

2005-12-03 Thread hv @ Fashion Content
P.S. the ROOT.xml does end with a "hv @ Fashion Content" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > The error information on context.xml parsing is very sparse to say the > least... > > SEVERE: Error deploying configuration descriptor ROOT.xml > java.lang.NullPointerExce

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 cont

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 element. >Fro

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 tom

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

Re: Apache 2.2 and mod_proxy_ajp

2005-12-03 Thread Bill Barker
"Chris Lear" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >* Jess Holle wrote (02/12/05 13:53): >> I have some vague recollection that performance of mod_proxy_ajp tested >> just /slightly /better than mod_jk. > > But where is the information on this? > You can search the [EMAIL P

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 Which could well be part of the problem, since the tag is not . Case matters. Also, if you're using a 5.5 version of Tomcat, the

Re: Re: NullPointer Exception in HostConfig

2005-12-03 Thread hv @ Fashion Content
Well trying to be constructive. What syntax checker would you suggest? That aside, it didnt make much difference, I still get a nullpointer exception. It is happening on a webapp that has run fine for 6 months. The change I am making is to go from a single and multiple to multiple and on

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 server.xm

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 page

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: > deployOnStartup="true" autoDeploy="false" xmlValidation="true"> Have you always had xmlValidation set to true or did

RE: 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: Re: NullPointer Exception in HostConfig > > Well trying to be constructive. What syntax checker would > you suggest? There are literally hundreds available - many IDEs have plugins available, ConTEXT a

RE: Missing application web.xml

2005-12-03 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ > Fashion Content > Subject: Missing application web.xml > > 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)? > And how come the default behaviour

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: // here is what I am working with that is currently commented out // I was able to add the cert to the keystore using this: keytool -import -alias -keystore -

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??? > partial server.xml: > deployOnStartup="true" autoDeploy="false" xmlValidation="true"> >Have you always had xmlValidation set to true or did you change that >recently? I have been banging my hea

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

Re: Apache, Tomcat & Tomcat Connector 1.2.15

2005-12-03 Thread hv @ Fashion Content
You can have multiple 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 P

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 additional

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, > > O

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; port="8019" enableLookups="false" redirectP

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: > > > > Where is this context.xml file located? The docBase attribute must > not be used unless the tag is inside server.xml or > conf/Catalina//.xml; the only time a file named > context.xml is valid is inside the