Re: upgrade servlet API

2006-03-14 Thread Bill Barker
"Manos Moschous" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I use an old version of tomcat server that is integrated in a whole system > ( this is a streaming server platform ). > Recenlty i needed to support greek language charset encoding and i tried > to use the re

Re: class file has wrong version 49.0, should be 48.0

2006-03-14 Thread Martin Gainty
Yep I downloaded J2EE 1.4 from sun and somehow there were 1.5 binaries mixed in the tar I reverted back to my JDeveloper JDK/JRE and all is well Thanks Leon Martin- - Original Message - From: "Leon Rosenberg" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTEC

RE: Is this lock normal or an indication for a deadlock?

2006-03-14 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Re: Is this lock normal or an indication for a deadlock? > > the thread dump is 56450 lines long and > I haven't checked it completely yet. I guess we won't be holding our collective breath for the outcome... - Chuck THIS COMMUNICA

Re: Is this lock normal or an indication for a deadlock?

2006-03-14 Thread Leon Rosenberg
:-) You are right as usual, but the thread dump is 56450 lines long and I haven't checked it completely yet. regards leon On 3/14/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > > Subject: Is this lock normal or an indication for a deadlock

RE: Is this lock normal or an indication for a deadlock?

2006-03-14 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Is this lock normal or an indication for a deadlock? > > our new shiny 4x opteron dual core server just stoped responding. I've > sent it a kill -QUIT and found out that 678 Threads were hanging in > the same "StackTrace". What's of mor

Re: class file has wrong version 49.0, should be 48.0

2006-03-14 Thread Leon Rosenberg
compiled with jdk 1.5, executed with jdk 1.4? regards leon On 3/14/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > Greets- > > Does anyone know what this message means? > "class file has wrong version 49.0, should be 48.0" > > Thanks, > M- > ---

RE: Fairwell to JB, but having Jasper problems

2006-03-14 Thread David Grace
Hi all, Netbeans is open source as well and is also definitely rapidly evolving. My experience is Netbeans is more mature, has more built in features and is more stable. But everyone has there own opinion. Dave. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Tue

class file has wrong version 49.0, should be 48.0

2006-03-14 Thread Martin Gainty
Greets- Does anyone know what this message means? "class file has wrong version 49.0, should be 48.0" Thanks, M-

Error : Servlet is currently unavailable

2006-03-14 Thread Anandi Vyagrapuri
Hi , I have a servlet that i have placed in webapps/myapplication/WEB-INF/lib It is a .jar file. When i try to invoke the servlet, the jsp hangs. This is what i found in tomcat/logs/localhostmmddyy.txt -> Mar 14, 2006 5:43:48 PM org.apache.catalina.core.Standa

Re: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-14 Thread Stuart Lowes
Antonio Petrelli wrote: Stuart Lowes ha scritto: I've been trying to get tomcat4 running on Debian sarge for the past week and a bit and am now at a loss for what to try or where to look. Try to copy /lib/tools.jar in /common/lib Thanks for the suggestion, Antonio. I tried this with a symlin

Excel mime-mapping and SSL

2006-03-14 Thread Tim Sodergren
Hello, all. I am having trouble serving excel files with Tomcat 5.5.9. This site uses SSL with form-based authentication through a JDBC user database, I have added the following to the application's WEB-INF/web.xml file: xls application/vnd.ms-excel and the following to the META-I

Re: Is this lock normal or an indication for a deadlock?

2006-03-14 Thread Leon Rosenberg
sorry, forgot to mention: jdk1.5_06, 32bit, os: linux, 2.6.8-11-amd64-k8-smp tomcat: 5.0.28 Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Is this lock normal or an indication for a deadlock?

2006-03-14 Thread Leon Rosenberg
Hi, our new shiny 4x opteron dual core server just stoped responding. I've sent it a kill -QUIT and found out that 678 Threads were hanging in the same "StackTrace". I won't paste it 678 times, but once :-) Is it normal for code to hang around there, or is it an indication for a deadlock of some k

Re: [OT] Performance tricks with multiple tomcat instances

2006-03-14 Thread Leon Rosenberg
Chuck, Darryl I'd like to thank you both on the amazing insights of concurrency. Learned a lot today :-) thanx leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Concurrency question for servlets

2006-03-14 Thread Leon Rosenberg
Hi, from the tomcat source package org.apache.catalina.core; public class ApplicationContext implements ServletContext { public Object getAttribute(String name) { synchronized (attributes) { return (attributes.get(name)); } } to answer your ques

Re: Tomcat Native library (RedHat 4) produces an endless loop or incomplete page with struts validation

2006-03-14 Thread Mladen Turk
Elagin, Egor wrote: Hello, I'm using struts 1.2.8 with Tomcat 5.5.15 and just installed libtcnative (Linux Red Hat 4) to fix the warning I was getting: Now that I have installed that library, tomcat works faster and I do not get the warning anymore, BUT I can't use any forms derived from Valid

Tomcat Native library (RedHat 4) produces an endless loop or incomplete page with struts validation

2006-03-14 Thread Elagin, Egor
Hello, I'm using struts 1.2.8 with Tomcat 5.5.15 and just installed libtcnative (Linux Red Hat 4) to fix the warning I was getting: INFO AprLifecycleListener:86 - The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /

RE: [OT] Performance tricks with multiple tomcat instances

2006-03-14 Thread Caldarale, Charles R
> From: Darryl L. Miles [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] Performance tricks with multiple tomcat instances > > I had read some comments that might lead others to think > that "count++" on a java "int" type is in some way atomic. Yes, there are many misinformed people out there, eve

Concurrency question for servlets

2006-03-14 Thread Klotz Jr, Dennis
Hello. I hope everyone is having a great day! I hope you have a moment for a quick question. I am fighting a memory leak problem and I want to try and rule in or out concurrency issues. So given: Servlet Code: - public enum XMSContextAttributes { applicationContext }; public void doGet (H

RE: how can I run normal web sites using Tomcat?

2006-03-14 Thread Andrew E. Davidson
Thanks David Andy -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 5:36 AM To: Tomcat Users List Subject: Re: how can I run normal web sites using Tomcat? My stuff is 90% java and jsp, with only a few static resources. Where should I put th

RE: how can I run normal web sites using Tomcat?

2006-03-14 Thread Andrew E. Davidson
Thanks Charles andy -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 5:50 AM To: Tomcat Users List Subject: RE: how can I run normal web sites using Tomcat? > From: David Kerber [mailto:[EMAIL PROTECTED] > Subject: Re: how can I run

RE: how can I run normal web sites using Tomcat?

2006-03-14 Thread Andrew E. Davidson
Thanks Filip Andy -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 8:29 PM To: Tomcat Users List Subject: Re: how can I run normal web sites using Tomcat? the setup can be trivial, if you pair one apache to one tomcat, and use mod_

RE: how can I run normal web sites using Tomcat?

2006-03-14 Thread Andrew E. Davidson
Thanks Alan Andy -Original Message- From: Alan Chaney [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 8:08 PM To: Tomcat Users List Subject: Re: how can I run normal web sites using Tomcat? Hi Andrew Tomcat is not a 'general purpose' web server - rather, it is a 'Java web appli

[BUG] Tomcat 5.0.x doesn't handle permission errors on classes correctly

2006-03-14 Thread Francis Galiegue
Hello, I've noticed today quite a disturbing bug in the 5.0.x series, x <= 27 (I haven't tested this on more recent versions). I've inadvertently put wrong permissions on a directory which tomcat needed to traverse at startup time in order to load. As a result, I got a very confusing "IllegalArgu

Re: SSL trusted certificate

2006-03-14 Thread David Avenante
Thank you very much for your help. In my situation the probleme was that i' ve generate a bad certificate. When the java keytool ask me the question "what' s your name" i need to set this value with the name of my server (in my case with "localhost") and not MY name ;) So now all woks fine. And

Re: SSL trusted certificate

2006-03-14 Thread David Avenante
Thank you very much for your help. In my situation the probleme was that i' ve generate a bad certificate. When the java keytool ask me the question "what' s your name" i need to set this value with the name of my server (in my case with "localhost") and not MY name ;) So now all woks fine. On

Re: [OT] Performance tricks with multiple tomcat instances

2006-03-14 Thread Darryl L. Miles
Caldarale, Charles R wrote: From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Subject: Re: Performance tricks with multiple tomcat instances I would hope that JIT compiler engineers would as a minimum implicitly add the "lock" instruction before all operations on primitive types declared volati

MySQL JDBC Exception: "No operations allowed after connection closed"

2006-03-14 Thread amiljusevic
I use Tomcat 5.0.28 on both Fedora and FreeBSD, MySQL 4.1.14, J/Connector JDBC driver for MySQL 3.1.11 and JOTM 2.0.10. From time to time I get the MySQL JDBC driver exception "No operations allowed after connection closed", after which DB calls from my application keep failing. The stack trace

Re: version of jintegra and tomcat5.5 compatibility

2006-03-14 Thread Bruno Georges
We use 2.5.0.0 without problems. With Best Regards Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 |-+---> | | "bhavik shah" | | | <[EMAIL PROTECTED]| | | .com> | |

Re: version of jintegra and tomcat5.5 compatibility

2006-03-14 Thread Markus Schönhaber
bhavik shah wrote: > We were using tomcat Version 3i > and we move to 5.5 now its a issue of jintegra compatibility.can > anybody tell me please which jintegra version i should use with tomcat 5.5 > thanks Hm, I'd guess that whoever provides jintegra (whatever this is) should be the one w

RE: [OT] Performance tricks with multiple tomcat instances

2006-03-14 Thread Caldarale, Charles R
> From: Darryl L. Miles [mailto:[EMAIL PROTECTED] > Subject: Re: Performance tricks with multiple tomcat instances > > I would hope that JIT compiler engineers would as a minimum > implicitly add the "lock" instruction before all operations > on primitive types declared volatile that are in the

version of jintegra and tomcat5.5 compatibility

2006-03-14 Thread bhavik shah
Hi, We were using tomcat Version 3i and we move to 5.5 now its a issue of jintegra compatibility.can anybody tell me please which jintegra version i should use with tomcat 5.5 thanks

RE: manager-remove/undeploy without losing sessions

2006-03-14 Thread Asensio, Rodrigo
Reinhard, thanks for the tip, is that option (serialize sessions) in the manager or in the admin ? Or it is a value that need to be changed manually in server.xml or any props file ? Thanks Rodrigo Asensio -Original Message- From: Reinhard Moosauer [mailto:[EMAIL PROTECTED] Sent: Tue

Re: manager-remove/undeploy without losing sessions

2006-03-14 Thread Peter Rossbach
Please open a bug report, then we can better discuss the issue. Peter Am 14.03.2006 um 16:21 schrieb Reinhard Moosauer: Hi Peter, thanks for making it clear. I would appreciate your opinon in how we could enhance this: - I think, even on production systems, there should be a possibility

Re: manager-remove/undeploy without losing sessions

2006-03-14 Thread Reinhard Moosauer
Hi Peter, thanks for making it clear. I would appreciate your opinon in how we could enhance this: - I think, even on production systems, there should be a possibility to do a 'soft' application update without interrupting all users. When only minor changes in the application are made, the

Re: Help on error "Name jdbc is not bound in this context"

2006-03-14 Thread Edward Manalansan
Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file jdbc/jspbook javax.sql.DataSource Container Thank you Filip. Filip Hanik - Dev List

Re: Encoding and Operative System

2006-03-14 Thread Jonathan Soons
> How does the OS effect the decoding / accepting of the submitted forms? You might want to check that you have UTF-8 installed as a locale first. Since you are using Debian do: bash:# locale -a If you see UTF-8 in the output then you should su to the user that starts tomcat (probably root) and

Re: Help on error "Name jdbc is not bound in this context"

2006-03-14 Thread Filip Hanik - Dev Lists
what did you put in your web.xml? Filip Edward Manalansan wrote: Hi there, I've trying to setup a Datasource in Tomcat 5.028 and I can't get it to work. I've meticulously followed the tomcat documentation and still no luck. I went into several famous forums and still didn't work.

Help on error "Name jdbc is not bound in this context"

2006-03-14 Thread Edward Manalansan
Hi there, I've trying to setup a Datasource in Tomcat 5.028 and I can't get it to work. I've meticulously followed the tomcat documentation and still no luck. I went into several famous forums and still didn't work. For starter, I tried adding the Datasource manually in the admin sc

Re: Performance tricks with multiple tomcat instances

2006-03-14 Thread Darryl L. Miles
Leon Rosenberg wrote: Well, personally I had collywobbles before we've gone on 2 cpu machines, but it went well. I mean, as long as you are one cpu machine you can be sure that your threads are never really concurrent and atomic operations remain atomic (like ++) but in case of 2 cpus you start

Re: manager-remove/undeploy without losing sessions

2006-03-14 Thread Peter Rossbach
Hmm, I thing you are right. ContextConfig.destroy() remove the working dir after undeploy the app. /** * Process a "destroy" event for this Context. */ protected synchronized void destroy() { // Called from StandardContext.destroy() if (log.isDebugEnabled())

Re: AW: Problem disabling session serialization duing shutdown.

2006-03-14 Thread Peter Rossbach
or shorter with at tomcat 5.5 add the description at your META-INF/context.xml or at the conf/context.xml :-) Peter Am 14.03.2006 um 15:31 schrieb Michael Südkamp: Hmm, context.xml? I know only of server.xml. At least on

AW: Problem disabling session serialization duing shutdown.

2006-03-14 Thread Michael Südkamp
Hmm, context.xml? I know only of server.xml. At least on Windows. Here is a context snippet for server.xml which disables session persistence. Michael - To unsubscribe,

Re: manager-remove/undeploy without losing sessions

2006-03-14 Thread Reinhard Moosauer
Hi List, I found something, that looked promising, but did not work. Developers, please look, this could be a bug: The deploy-task has an attribute "update", removes the context before re-installing it. I hoped that this one would do what I want. But unfortunately, it is equivalent to undeploy/

Re: how can I run normal web sites using Tomcat?

2006-03-14 Thread David Kerber
Thanks! Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: how can I run normal web sites using Tomcat? My stuff is 90% java and jsp, with only a few static resources. Where should I put them in the Tomcat structure? Do they go under the appropriate spot

RE: how can I run normal web sites using Tomcat?

2006-03-14 Thread Caldarale, Charles R
> From: David Kerber [mailto:[EMAIL PROTECTED] > Subject: Re: how can I run normal web sites using Tomcat? > > My stuff is 90% java and jsp, with only a few static > resources. Where should I put them in the Tomcat > structure? Do they go under the appropriate spot > in /webapps? Yes; stati

Re: how can I run normal web sites using Tomcat?

2006-03-14 Thread David Kerber
My stuff is 90% java and jsp, with only a few static resources. Where should I put them in the Tomcat structure? Do they go under the appropriate spot in /webapps? Filip Hanik - Dev Lists wrote: the setup can be trivial, if you pair one apache to one tomcat, and use mod_proxy. you should

RE: manager-remove/undeploy without losing sessions

2006-03-14 Thread Asensio, Rodrigo
Sorry, other question over yours How works that smooth behavior ? I'm tomcat 5.0.x and each time that we need update the call center version, everybody has to stop working for a few minutes. Any clue ? thanks -Original Message- From: Reinhard Moosauer [mailto:[EMAIL PROTECTED] Sent: Tu

manager-remove/undeploy without losing sessions

2006-03-14 Thread Reinhard Moosauer
Hello List, recently I upgraded from tomcat 5.5.9 to 5.5.15 Since then, all my sessions are lost after a remove/install via the manager. The problem is the following: I installed a war-file, which is copied to the webapps-folder during manager-install. When I want to replace the war with a new v

Tomcat taking too long to cycle through and come back up

2006-03-14 Thread Biernesser, Beth
Does anyone have any idea why tomcat would take 13 minutes to cycle through and come back up? The process gets stuck on this line: INFO: Processing Context configuration file URL file:/usr/local/tomcat-5.0.25/conf/Catalina/localhost/appname.xml I really didn't think the process was going to come

Re: Problem with starting Tomcat

2006-03-14 Thread Antonio Petrelli
Nenad Bosanac ha scritto: Hello! I have a problem when i want to start my project in NetBeans I don't know if it's useful, but Netbeans (I tested 4.1 version) sometimes "forgets" that the server is already started, and starts a new instance of Tomcat, thus generating this problem. To avoid it

Problem with starting Tomcat

2006-03-14 Thread Nenad Bosanac
Hello! I have a problem when i want to start my project in NetBeans he show me next thing: Starting server Bundled Tomcat (5.5.9) Starting of Tomcat failed, the server port 8084 is already in use. C:\NetBeans_projects\Poslovi_u_CITu\nbproject\build-impl.xml:413: Deployment error: Starting

Migration from form based to Digest

2006-03-14 Thread Jeyabalan, Prakash
could any pls tell me the steps to be implemented for Form Based Authentication to Digest Base Authentication for ex: Form based Auth., is implemented for manger, if i try to change it to DIGEST i am getting HTTP Status 403 - Access to the requested resource has been denied regds ---

RE: Time out on sessions with AJP13

2006-03-14 Thread Serlet Jean-Claude
Hello Thanks to all These answers give me some ideas to verify the developer's code I 'll try to set a session listener Sorry for the connection : the application's security is coded in the database by using Oracle's role and we can't use pool connection Jean-Claude -Message d'origine-

Re: Strange behaviour with Tomcat 5.5.15/5.5.16

2006-03-14 Thread Jean-Pierre Astier
Ok, thanks Antonio, I will to do that. JP Le 14 mars 06 à 10:47, Antonio Petrelli a écrit : Jean-Pierre Astier ha scritto: Ok, but why there is no problem with tomcat 5.5.9 I think it is a fixed bug in Tomcat. You have to check all the resolved bugs after version 5.5.9 and searching t

Re: Strange behaviour with Tomcat 5.5.15/5.5.16

2006-03-14 Thread Antonio Petrelli
Jean-Pierre Astier ha scritto: Ok, but why there is no problem with tomcat 5.5.9 I think it is a fixed bug in Tomcat. You have to check all the resolved bugs after version 5.5.9 and searching the one you are interested in (I have not time to check myself). But, from my point of view, this

upgrade servlet API

2006-03-14 Thread Manos Moschous
Hi, I use an old version of tomcat server that is integrated in a whole system ( this is a streaming server platform ). Recenlty i needed to support greek language charset encoding and i tried to use the request.setCharacterEncoding. Unfortunately i have an old version of servlet API and i am

Re: Internal logging in Tomcat 5.5?

2006-03-14 Thread Boris Unckel
Hello, > Von: "Antti Ollilainen" <[EMAIL PROTECTED]> > I have copied log4j and commons logging jars to Tomcat's common/lib and > copypasted the log4j.properties from the logging documentation to > common/classes. The result was that after restarting the apps their > logging > went to this common l

Re: Strange behaviour with Tomcat 5.5.15/5.5.16

2006-03-14 Thread Jean-Pierre Astier
Ok, but why there is no problem with tomcat 5.5.9 Le 14 mars 06 à 10:20, Antonio Petrelli a écrit : Jean-Pierre Astier ha scritto: OS : Mac OS X 10.4.5/10.3.9 - 1

Re: Strange behaviour with Tomcat 5.5.15/5.5.16

2006-03-14 Thread Antonio Petrelli
Jean-Pierre Astier ha scritto: OS : Mac OS X 10.4.5/10.3.9 - 10 mars 2006 09:26:18 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: "Servlet.service()" pour

Re: Strange behaviour with Tomcat 5.5.15/5.5.16

2006-03-14 Thread Jean-Pierre Astier
Hi all, There is no response for my problem Jean-Pierre Astier Le 10 mars 06 à 14:51, Jean-Pierre Astier a écrit : OS : Mac OS X 10.4.5/10.3.9 JVM : java version "1.4.2_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java HotSpot(TM) Client VM (build 1.4.2-54,

Re: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-14 Thread Antonio Petrelli
Stuart Lowes ha scritto: Hi list, I've been trying to get tomcat4 running on Debian sarge for the past week and a bit and am now at a loss for what to try or where to look. I'm new to tomcat and not much of a Java expert either.. Try to copy /lib/tools.jar in /common/lib