RE: tomcat as service under linux how-to

2005-07-20 Thread dummy
Do u hv the example script for this ? That's what I mean actually. Sorry for the previous mail. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 11:18 AM To: Tomcat Users List Subject: Re: tomcat as service under linux how-to Put a script that

Re: tomcat as service under linux how-to

2005-07-20 Thread Foo Shyn
Here's my rc.local script that i used to start the Tomcat and Apache automatically. however i did not have any script that startup Apache and Tomcat both at boot time. i just added the isStarted and if statement, and haven't test on it, maybe u would wanna try on it, no success is

Trouble with multipart/form-data and servlet name

2005-07-20 Thread Eric Hartmann
Hello, I'm testing our applicatio under Tomcat 5.5.9 (under Linux and with sun jdk 1.4.2_08) and I have the following behaviour: The getServletName() return org.apache.catalina.INVOKER.com.sharedvalue.document.servlet.admin.UploadFiles when I use a form with enctype=multipart/form-data that call

RE: tomcat as service under linux how-to

2005-07-20 Thread dummy
So may I know what's the booting seq. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 4:13 PM To: Tomcat Users List Subject: Re: tomcat as service under linux how-to Here's my rc.local script that i used to start the Tomcat and Apache

Re: binary streaming / content-type problem with mod_jk ?

2005-07-20 Thread Jérôme Chauvin
Any ideas ? It would be helpful :) Thanks, Jérôme Chauvin Le 19 juil. 05, à 10:09, Jérôme Chauvin a écrit : Hi all ! I've developed a servlet (BinaryStreaming based on StreamingContent by Raj Behera) which does a binary stream of a mpeg video file which is created progressively (by another

Re: Tomcat and SSL

2005-07-20 Thread Peddireddy Srikanth
i dont think https and http requests from the same machine will be having any impact on the session created already. I mean even if u call request.getSession(true) in a secure page and if a valid session already exists , nothinng like creating a new session and invalidating it will happen. There

Re: Connection pool exhausted

2005-07-20 Thread Peddireddy Srikanth
hi, u have to close the connection, sothat container puts it back in the pool . as u set maxActive=100 at max only 100 connections will be maintained in pool and as u r not closing the connection, u would have ran out of all the connections available in pool (ie 100) closing the connection should

RE: Tomcat JNDI Realm + Active Directory Server

2005-07-20 Thread Kal Govindu
Two things that I noticed. I don't know how correct they are, but it seems to work in my environment. 1. In my Realm definition Realm I have connectionName and connectionPassword attributes which specify the user that can login to AD and query and authenticate others. 2. My Realm definition is

jkstatus

2005-07-20 Thread Rogerio Baldini das Neves
Hi, I have installed a cluster using Apache2.0.54 + mod_jk 1.2.13 + Tomcat5.5.9. And it´s working fine. I want to configure jkstatus but I haven´t been success. My worker.properties worker.tomcat1.type=ajp13 worker.tomcat1.host=localhost worker.tomcat1.port=8009 worker.tomcat1.lbfactor=1

Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
Hello ! This is probably a dumb question, but I'll try anyway. Please dont laugh at my ignorance ;-) I'm trying to use a constant (static final String) that is defined in a class. My code looks roughly so : %@ page import='ch.tecost.siems.dao.care.planification.FrequencyType' % [...]

RE: Using a constant in a JSP

2005-07-20 Thread Raghupathy,Gurumoorthy
html:radio name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % [...] / Regards Guru -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 20 July 2005 15:10 To: Tomcat Users List Subject: Using a constant in a JSP Hello ! This is probably a

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: html:radio name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % [...] / Regards Guru Thanks a lot ! Of course, it's obvious once we know it ...

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
Next dummy question : I have a test between a Constant and a page variable : c:when test=${form.frequencyType == % FrequencyType.MEAL_TIME.getValue(); %} Which also doesnt use the right syntax ... If you're not bored yet, could please help me a bit more ? Thanks a lot ! Guillaume On

AW: Using a constant in a JSP

2005-07-20 Thread Bernhard Slominski
Hi, this is simply not supported in EL! I submitted this already as an enhancement https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=134 But it won't be in the next release in JSP 2.1, that's for sure. So you need to do a workaround: - Use a bean to retrive the constant - write an EL

RE: Using a constant in a JSP

2005-07-20 Thread Raghupathy,Gurumoorthy
logic:equals name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % Guru Loves Struts /logic:equals -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 20 July 2005 15:29 To: Tomcat Users List Subject: Re: Using a constant in a JSP Next

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Bernhard Slominski [EMAIL PROTECTED] wrote: Hi, this is simply not supported in EL! I submitted this already as an enhancement https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=134 But it won't be in the next release in JSP 2.1, that's for sure. So you need to do a

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: logic:equals name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % Guru Loves Struts /logic:equals Wow... ! This one looks better ! Thanks a lot ! Guillaume

Tomcat 5.5.9 does loads classes from the wrong webapp

2005-07-20 Thread Schwarz
Hi, short: the classloader does load classes from a complete seperate webapp, because classes are the same and differ only by code versions. with this setup in server.conf : Host name=servername.de Alias name=bugzilla.servername.de

Re: Using a constant in a JSP

2005-07-20 Thread Guillaume Lederrey
On 7/20/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: logic:equals name=form property=frequencyType value=%= FrequencyType.MEAL_TIME % Guru Loves Struts /logic:equals Just a small correction for the next one who'll need this advice : The tag is logic:equal/ and NOT

RE: Using a constant in a JSP

2005-07-20 Thread Raghupathy,Gurumoorthy
Sorry My apologies ... Yes I am talking about struts taglibs ... Regards Guru I love Struts -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 20 July 2005 15:58 To: Tomcat Users List Subject: Re: Using a constant in a JSP On 7/20/05,

FW: OutOfMemoryError WebappClassLoader.openJARs(WebappClassLoader.java:1544)

2005-07-20 Thread Arup Vidyerthy
Guys, I have been experiencing an interesting problem lately with our production servers. We are running Tomcat 5.5.9 with 1.4.2_08 on Gentoo box. We have around 15 contexts (identical web application for 15 separate clients) inside weapps. Our application is very XML/XSLT oriented. Our main

RE: OutOfMemoryError WebappClassLoader.openJARs(WebappClassLoader.java:1544)

2005-07-20 Thread Caldarale, Charles R
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] Subject: FW: OutOfMemoryError WebappClassLoader.openJARs(WebappClassLoader.java:1544) Problem is every now and then we will see an OutOfMemoryError on the box that looks similar to this: java.lang.OutOfMemoryError

RE: OutOfMemoryError WebappClassLoader.openJARs(WebappClassLoader.java:1544)

2005-07-20 Thread Arup Vidyerthy
Hi Chuck, Thanks for your reply. In other words, may be not have 15 contexts/web app on one server. May be 10. I guess it is hard to say. Looking at the no. of jars, do you think it is an excessive amount? Any pointers in terms of how I should approach this problem...? Thanks... /Arup

RE: OutOfMemoryError WebappClassLoader.openJARs(WebappClassLoader.java:1544)

2005-07-20 Thread Caldarale, Charles R
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] Subject: RE: OutOfMemoryError WebappClassLoader.openJARs(WebappClassLoader.java:1544) Any pointers in terms of how I should approach this problem...? I'd raise the limit on the number of open file descriptors and see what happens. - Chuck

What parser does Tomcat 5.5 use by default?

2005-07-20 Thread Dewey, John
Hi all this is a simple question. I'm trying to figure out what parser tomcat 5.5 uses by default after a fresh install. Does anyone know? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: What parser does Tomcat 5.5 use by default?

2005-07-20 Thread Caldarale, Charles R
From: Dewey, John [mailto:[EMAIL PROTECTED] Subject: What parser does Tomcat 5.5 use by default? Hi all this is a simple question. I'm trying to figure out what parser tomcat 5.5 uses by default after a fresh install. Does anyone know? Parser for what? XML? JSP? ??? - Chuck THIS

RE: What parser does Tomcat 5.5 use by default?

2005-07-20 Thread Dewey, John
For XML. Sorry for not being more specific. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 9:49 AM To: Tomcat Users List Subject: RE: What parser does Tomcat 5.5 use by default? From: Dewey, John [mailto:[EMAIL PROTECTED]

Closing HTTP request/connections

2005-07-20 Thread Sean Dwyer
Within the Tomcat Manager console, what we have noticed is that when the Current thread busy reaches 99 (or whatever the max is set at), Tomcat begins serving up blank pages. At that point, we have to restart Tomcat to release the connections, and everything seems to work after that. Is there

Re: question about deployment (including executables in war)

2005-07-20 Thread Murad Nayal
Hi Alon, Thanks for reply. I am new to tomcat development. but I'll try my best to be more specific. it seems that there are a couple of ways to 'deploy' web applications. the deploy task has a localWar attribute that points to the local build directory. Or you can use the war attribute that

Re: question about deployment (including executables in war)

2005-07-20 Thread Murad Nayal
Many thanks Richard, I suppose that answers my question, albeit I was hoping there was something more elegant that can be done other than changing file permissions after installation. what is the correct way to reload applications after copying files into the installation directory? ant stop;

Re: Problem with refreshing JSP

2005-07-20 Thread Travis Stevens
The other thing to note about reloading JSPs is that tomcat 5.5 seems to copy ones web context directory into its own webapps directory. Any changes to the original JSPs will not show up unless you physically copy the JSP from the original directory to the webapps directory. I use the

HI

2005-07-20 Thread craigmcc
It's the long-awaited film version of the Broadway hit. The message sent as a binary attachment. ** ** WARNING: Panda Antivirus GateDefender has detected a virus in file attached

HI

2005-07-20 Thread craigmcc
It's the long-awaited film version of the Broadway hit. The message sent as a binary attachment. ** ** WARNING: Panda Antivirus GateDefender has detected a virus in file attached

can't start tomcat as user

2005-07-20 Thread dummy
Hi, Got problem starting Tomcat as user tomcat. No problem starting it under root. Any idea why ?

Re: can't start tomcat as user

2005-07-20 Thread Luis Durán
dummy wrote: Hi, Got problem starting Tomcat as user tomcat. No problem starting it under root. Any idea why ? On Linux, only root can open ports below 1024 (included). You must compile the jsvc program and setup a tomcat user and it will start tomcat as root and then change the

RE: can't start tomcat as user

2005-07-20 Thread dummy
Then how to start automatically at boot time ? -Original Message- From: Luis Durán [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 9:33 AM To: Tomcat Users List Subject: Re: can't start tomcat as user dummy wrote: Hi, Got problem starting Tomcat as user tomcat. No problem

RE: question about deployment (including executables in war)

2005-07-20 Thread Richard Mixon (qwest)
Murad, I would not copy the files - but just change the permissions. No restart should be necessary that way - unless I'm missing something. However to answer your question, using the build.xml in jakarta-tomcat-5.5.9-deployer, I usually use the following command to restart the application: