Re: Multiple instances of Tomcat on same machine

2006-05-01 Thread Michael Echerer
keith wrote: Hi all, I'm wondering if anyone knows what are the advantages of running the same web application in multiple instances of Tomcat on the same machine (with a dual duo-core Intel processor). Do having multiple instances affect performance positively or negatively taking in to

Encoding problem In special character in xls and txt upload

2006-05-01 Thread birendar . waldiya
Hi, Gurus I am doing an xls text upload in parallel and inserting data into data base. When I am viewing data I find the data through txt upload is comming correct and through xls upload is comming wrong. I am doign this with thease four character Š š Ž ž I am using iso-latin-1 encoding. My

RE: Encoding problem In special character in xls and txt upload

2006-05-01 Thread Tim Lucia
The XLS file is not encoded using the expected encoding scheme (iso-latin-1, according to this post). Simply expecting the file to be encoded in such a way (or telling tomcat to expect it) does not make it so. You must save the file using the expected encoding, or you can translate it if you

Re: Class loading from within a servlet: interface definition not found

2006-05-01 Thread David Smith
I think you are assuming the classloader org.something.DatabaseRequestHandler is using is the webapp's local classloader. I doubt this is the case. Those with more knowlege of the classloader architecture may chime in, but the classloader being used is most likely the shared classloader instead.

Re: Classloading questions

2006-05-01 Thread Michael Echerer
Christopher Piggott wrote: As an experiment, I placed a file in the webapp dir of a servlet (not in WEB-INF but in the directory above it) and attempted to read it using getResource(). What I found was that I could not locate the resource unless I used getServletContext().getResource().

Re: Class loading from within a servlet: interface definition not found

2006-05-01 Thread Michael Echerer
David Smith wrote: most likely the shared classloader instead. If possible, move the handler.jar from shared/lib to WEB-INF/lib of your webapp and the problem should go away. It took me a few minutes to realize that this was not a ClassNotFound exception, but something else. Reading docs I

O/T Jrun config topic

2006-05-01 Thread Martin Gainty
Good Morning All- One of the reasons why I like Tomcat is the ease of configuring in new components thru updates to server.xml Is there/Are there anything similar configuration capabilities available in Jrun?? Many Thanks and apologies for decidedly O/T item , Martin --

Re: My Tomcat just not start

2006-05-01 Thread Rodrigo Tenorio
Lung My Virtual Machine configuration in Java tab is C:\Arquivos de programas\Java\jre1.5.0_06\bin\client\jvm.dll... I notice that you say-me to try C:\Java\jdk1.5.0_06\jre\bin\client\jvm.dll, but my jdk in same Java diractory is jdk1.5.0_04. I don't know how to explain, but Tomcat functioned

Re: Easy Tomcat Linux/Unix Platform

2006-05-01 Thread lrnobs
Thanks everyone. I think I might like the Novell idea. They probably have a lot of people for support. I'll be sure not to use the G# as well :) Larry Nobs Bill Clemmons wrote: Well, first you need to put in the double bar and repeat in order to create the the simple binary form,

Re: Changing tomcat's group

2006-05-01 Thread Aria Bamdad
Bob makes an excellent point. The find command will take care of any existing directories. Thanks Bob. Aria. On Fri, 28 Apr 2006 16:11:44 -0700 (PDT) Bob Hall said: --- Aria Bamdad [EMAIL PROTECTED] wrote: Solved!!! The solution is to use the linux group sticky bit to force any files

How to access WebService implementation from Context?

2006-05-01 Thread Andrew McDowall
Hi, I have a WebService that implements a specific interface (Registerable), and a Valve who's actions depend upon whether the WebService dealing with a given request implements this Registerable interface. What I need to be able to do, in the invoke method of the Valve, is somehow say:

Re: My Tomcat just not start

2006-05-01 Thread Lung Chan
hmm did you try to launche tomcat manually? with batch file that's in Tomcat/bin/ ? eclipse working you said, then tomcat should work Sorry can't help you. I installe tomcat pretty easily, didn't run into any trouble. On 5/1/06, Rodrigo Tenorio [EMAIL PROTECTED] wrote: Lung My Virtual

Re: My Tomcat just not start

2006-05-01 Thread Rodrigo Tenorio
Yes, I've tryed... But the .bat that Manivanaan mentioned do not exist im my Tomcat's directories... Well... Thanks... I will try reinstall JDK, Tomcat and Eclipse. Lung Chan escreveu: hmm did you try to launche tomcat manually? with batch file that's in Tomcat/bin/ ? eclipse working you

RE: My Tomcat just not start

2006-05-01 Thread Chris Berthold
It sounds more like an issue with you JAVA_HOME environment variable. Make sure you point your JAVA_HOME at your JDK path. If you have run the upgrade that comes with the JAVA JRE then it only upgrades the JRE and not the JDK. You can only use the JRE if you precompile EVERYTHING. Great for a

Single SignOFF?

2006-05-01 Thread JWM
I'm using the single signon authenticator for cross-web-app authentication. For logoff, I was simply killing the session. But that only kills the one session where the call was made. How do I log a user off of all logged on sessions? Thanks.

RE: deployXML question.

2006-05-01 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Could anyone shed some litght on this question? Or possibly point me in the right direction for documentation. Thanks, -Original Message- From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 12:59 PM To: Tomcat Users

Server reboot, Tomcat ok, but app needs starting

2006-05-01 Thread reid . x . maynard
Hi On my RHEL server, running tomcat 5.5.12, jvm 1.5.0_06-b05 when I litterally reboot the server, tomcat restarts, which I then access via the tomcat manager; and everything is Running = true except for my application. I can click Start and it starts just fine. I know there must be

Re: Server reboot, Tomcat ok, but app needs starting

2006-05-01 Thread David Rees
On 5/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On my RHEL server, running tomcat 5.5.12, jvm 1.5.0_06-b05 when I litterally reboot the server, tomcat restarts, which I then access via the tomcat manager; and everything is Running = true except for my application. I can click Start and it

RE: Server reboot, Tomcat ok, but app needs starting

2006-05-01 Thread Chris Berthold
I would agree if there are exceptions being throw in the log file. If there isn't I'm thinking that maybe deployOnStartup in the config is set to false. Check your server.xml for that host. Chris Berthold IT Systems Analyst Commercial Refrigerator Door Company 941 . 371 . 8110 x 205

Persistent HTTP session cookies

2006-05-01 Thread Paul Sideleau
I am in progress of moving an old legacy based web application for internal use from Sun Java System Web Server to tomcat. We currently have a Sun Java System Web Server specific setting that allows the JSESSIONID cookie to be persisted to their machine for a day. This allows internal users to

Re: Persistent HTTP session cookies

2006-05-01 Thread Leon Rosenberg
I doubt that tomcat support this kind of session cookies. However, you could configure tomcat to have session timeout about 24h (or whatever you need) and in your servlet/filter/action overwrite JSESSIONID Cookie with a persistent cookie. I think it should work equally well. regards Leon On

No Class def found error

2006-05-01 Thread Abhishek Goel
Hi , I am using tomcat 5.5.17 along with jdk 1.5. I am trying to define a Single sign on agent valve by using the following tag Host name=client.com appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=true xmlNamespaceAware=true Valve

Re: No Class def found error

2006-05-01 Thread Filip Hanik - Dev Lists
make sure that the valve classes are under server/lib or server/classes instead of common/lib or common/classes Abhishek Goel wrote: Hi , I am using tomcat 5.5.17 along with jdk 1.5. I am trying to define a Single sign on agent valve by using the following tag Host name=client.com

Re: No Class def found error

2006-05-01 Thread Filip Hanik - Dev Lists
make sure that the valve classes are under server/lib or server/classes instead of common/lib or common/classes Abhishek Goel wrote: Hi , I am using tomcat 5.5.17 along with jdk 1.5. I am trying to define a Single sign on agent valve by using the following tag Host name=client.com

RE: No Class def found error

2006-05-01 Thread Abhishek Goel
Valves are under the server directory only. MoreOver the error message says java.lang.NoClassDefFoundError: org/apache/catalina/Request I looked into the org.apache.catalina package. It does not contain the request interface. My query is why this is being looked into

JAAS DIGEST authentication Tomcat5.5.17

2006-05-01 Thread Frederic . Visticot
I have Tomcat working with FORM and BASIC authentication. All is OK for this 2 modes. When i try with DIGEST and insert digest=MD5 in the JAAS realm i have the error copied in attach. IS Digest supported with JAAS in this Tomcat version ??? What can i do ? Is it a bug ? 1 mai 2006 23:36:52

can't get parameter when security is on

2006-05-01 Thread John Wallace
I am having problems getting a parameter from my web form when I have security turned on for a servlet running in Tomcat 5.5.15. Here is the code: My Tomcat's server.xml file has this defined: Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25

Exception attempting to expand war

2006-05-01 Thread Kenneth Litwak
I've been modifying, undeploying and redeploying through Tomcat's manager application a web application for days. Suddenly at about 3 PM today, after I added a submit button in my HTML, I started getting this on the Tomcat 5 console: WARNING: Exception while expanding web application archive

Re: deployXML question.

2006-05-01 Thread Mark Thomas
BATCHELOR, SCOTT (CONTRACTOR) wrote: Could anyone shed some litght on this question? Or possibly point me in the right direction for documentation. Have a read of http://tomcat.apache.org/tomcat-5.5-doc/config/context.html With deployXML=true you have control over privileged, crossContext for

Re: can't get parameter when security is on

2006-05-01 Thread Marc Farrow
This looks like it should work. Sorry. On 5/1/06, John Wallace [EMAIL PROTECTED] wrote: I am having problems getting a parameter from my web form when I have security turned on for a servlet running in Tomcat 5.5.15. Here is the code: My Tomcat's server.xml file has this defined:

Re: JAAS DIGEST authentication Tomcat5.5.17

2006-05-01 Thread Mark Thomas
[EMAIL PROTECTED] wrote: I have Tomcat working with FORM and BASIC authentication. All is OK for this 2 modes. When i try with DIGEST and insert digest=MD5 in the JAAS realm i have the error copied in attach. With DIGEST auth and digest=MD5 you need to make sure the passwords are digested

Applet sharing utility class with Servlet

2006-05-01 Thread Andrew Bubnic
Hi guys, hoping someone has an answer to this: I have a servlet and an applet running in the same webapp. The servlet needs to access a class the applet .jar contains. The applet is visible to the browser. Problem is: I need to access this applet utility class (or it could be any class

Re: Applet sharing utility class with Servlet

2006-05-01 Thread Jess Holle
This is a feature of the servlet spec. To use a class from both client and server you're forced to have multiple copies of it in your web app -- or alternatively to do non-standard adjustments to the web app loader / classpath. If you don't have too many of these copy cases, I advise just

RE: Applet sharing utility class with Servlet

2006-05-01 Thread Andrew Bubnic
Thanks for the quick reply. Looks like I'm keeping two copies.. serves me right for making my own storage objects for niceness. -Original Message- From: Jess Holle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 02 May 2006 12:06 PM To: Tomcat Users List Subject: Re: Applet sharing utility

Re: Easy Tomcat Linux/Unix Platform

2006-05-01 Thread Eric Haszlakiewicz
On Sun, Apr 30, 2006 at 10:03:49AM -0400, Mark Thomas wrote: 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