Re: Error : Servlet is currently unavailable

2006-03-15 Thread Michael Jouravlev
On 3/15/06, Antonio Petrelli [EMAIL PROTECTED] wrote: Anandi Vyagrapuri ha scritto: 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

Re: manager-remove/undeploy without losing sessions

2006-03-15 Thread Reinhard Moosauer
i filed an enhancement request for this issue here: http://issues.apache.org/bugzilla/show_bug.cgi?id=38975 Rodrigo, The mentioned session serialization is always activated and works fully automatic. But only if all requirements to your applicatin are met: All objects, which are ever bound to

AW: Programmatic access to error 500 stack trace

2006-03-15 Thread Eduard Wirch
Use this: } catch (Exception e) { java.io.StringWriter stackTrace = new java.io.StringWriter(); e.printStackTrace(new java.io.PrintWriter(stackTrace)); request.setAttribute(error, stackTrace.toString()); } -Ursprüngliche Nachricht- Von: Andrew Stepanenko [mailto:[EMAIL

Re: manager-remove/undeploy without losing sessions

2006-03-15 Thread Reinhard Moosauer
Peter, you saved me. Thanks a lot! I also upgraded to using the deploy-task with update=true and got even better behavior than before. Application-update works with a sub-second downtime now. BTW I use in META-INF/context.xml: Context Manager

Re: HTTPS setup

2006-03-15 Thread Julie McCabe
Hi, I have a ca signed p12 file from which I can extract both a certificate and key in pem format - I found some info (http://www.junlu.com/msg/85393.html) which states that you can use a p12 file as a keystore in tomcat by adding the following into the conf/server.xml file: Connector

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

2006-03-15 Thread Leon Rosenberg
Update 200 of previously mentioned threads are waiting on this lock: There are 8 further threads waiting to lock the same lock. Does it help? Leon http-8580-Processor17294 daemon prio=1 tid=0xc4a3f068 nid=0x259b waiting for monitor entry [0xae87e000..0xae87f640] at

Re: Fairwell to JB, but having Jasper problems

2006-03-15 Thread Joe Riopel
Dola, Did you ever get this fixed ? If not, how about pasting some of your build file? Especially around line 21. On 3/13/06, Dola Woolfe [EMAIL PROTECTED] wrote: Hi, After 3 years of using JBuilder, I have conclued that it is unusable. It was almost unusable in version 9, but became worse

Re: manager-remove/undeploy without losing sessions

2006-03-15 Thread Peter Rossbach
Your filter show only that the class implements java.io.Serializable and not that the object is really serializable ;-( A good live session analyze shows the probe tomcat manager. http://tomcatprobe.org regards Peter Am 15.03.2006 um 14:59 schrieb Tim Lucia: You may also find the following

RE: HTTP 500 error JasperException: Unable to compile class for J SP

2006-03-15 Thread Serlet Jean-Claude
Don't forget : CATALINA_HOME : the directory where you have installed Tomcat CATALINA_BASE : the directory where you install your web applications They could be the same but, that is my point of vue, it is better to have two distinct repertories Jean-Claude -Message d'origine- De :

RE: manager-remove/undeploy without losing sessions

2006-03-15 Thread Tim Lucia
True. But if you don't implement java.io.Serializable, you are surely not serializable, so it is a start. When I recently clustered an application, this filter found all those session objects which were not serializable. My first task at a new company was to cluster their app, which I knew

Problems with the ReplicationValve

2006-03-15 Thread Michael
Hi all, we tried to switch with a clusterable webapp from Tomcat 5.0 to Tomcat 5.5 and ran into problems with the primary session indication by the ReplicationValve. We have a cluster with two nodes (let's call them 'A' and 'B'). A sticky session is created at node A and is reported there as

Re: Problems with the ReplicationValve

2006-03-15 Thread Peter Rossbach
Hey Michael, yes that is true here my fix: ReplicationValve: protected void resetReplicationRequest(Request request, boolean isCrossContext) { Session contextSession = request.getSessionInternal(false); if(contextSession != null contextSession instanceof

RE: Tomcat taking too long to cycle through and come back up

2006-03-15 Thread Biernesser, Beth
Hi ... I'm wondering if there are any other tomcat user forums that anyone has had success with? I see a lot of questions being asked in this forum, but not many answers. My questions rarely get answered, and I'm just wondering if anyone knows of another avenue to present a question. If anyone

Pound sign £ in passwords

2006-03-15 Thread Duncan Brannen
Hi, We've just installed tomcat 5.5.15 and found that admin users cannot authenticate to the application manager if they have a £ in their password (The password in question started with a £ ) We're using openldap for authentication and can see the error=49 wrong password errors in the

Re: Error : Servlet is currently unavailable

2006-03-15 Thread Anandi Vyagrapuri
To try all your sugesstions, I replaced the web.xml with one of a working instance of the application. Removed my applications dir under tomcat/work/catalina/localhost Restarted tomcat There is no unexpected stmts in the catalina-xxx.log But this is what i see in the localhost.log I see that

RE: Pound sign £ in passwords

2006-03-15 Thread e-Denton Subscriber
I think it's in the parser--it ignores dollar signs and pound signs. C# Online.NET! http://wiki.csharp-online.net/ -Original Message- From: Duncan Brannen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:57 AM To: users@tomcat.apache.org Subject: Pound sign £ in passwords

How to forward requests from one application to another?

2006-03-15 Thread Toni Geci
Hi everyone, I have two applications running on Tomcat lets say application1 and application2. I'd like to forward certain requests from application1 to application2. Both applications are running on the same Tomcat on different ports. application1 is listening on port 8083 and application2

RE: Pound sign £ in passwords

2006-03-15 Thread Caldarale, Charles R
From: Duncan Brannen [mailto:[EMAIL PROTECTED] Subject: Pound sign £ in passwords We've just installed tomcat 5.5.15 and found that admin users cannot authenticate to the application manager if they have a £ in their password (The password in question started with a £) Might be a problem

RE: How to forward requests from one application to another?

2006-03-15 Thread Caldarale, Charles R
From: Toni Geci [mailto:[EMAIL PROTECTED] Subject: How to forward requests from one application to another? application1 is listening on port 8083 and application2 is listening on port 8080. Within Tomcat, applications don't listen on ports, connectors do. Do you have multiple virtual

Re: Problems with the ReplicationValve

2006-03-15 Thread Michael
Hi Peter! Peter Rossbach wrote: yes that is true here my fix: [...] Can you please test this, then I can commit the change. Yes, it works! Many thanks! :) Tipp: That your client/browser also know that B is forever the primary use JvmRouteBinderValve. That helps very much for longer

Deadlock - Out of Threads - Strange Exception - OutOfMemory - Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-15 Thread Leon Rosenberg
Hi, I analyzed my thread dump and log files from yesterdays's crash a bit. Here the flow of events: First probably the deadlock occured. The following entry in logfiles is an indication for it: Mar 14, 2006 8:53:03 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (750)

Re: Ant/Jasper problems

2006-03-15 Thread Dola Woolfe
--- Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: does the directory C:/Dola/tomcat/webbapps/projecta exist? ie, is the war already exploded? Hi, I'm a weird JSP programmer. I've been at it for 4 years but I've never used war's. I simply store my .jsp's in the afore mensioned dir and

How to reduce bandwidth (meaning message size) with Axis

2006-03-15 Thread David Kerber
Are there any adjustments I can do to my Axis settings to reduce the bandwidth usage on my SOAP requests? In particular, I would like to know how I can get rid of the xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; items in the argument elements. I'm using the minimum call

[OT] Re: How to reduce bandwidth (meaning message size) with Axis

2006-03-15 Thread Leon Rosenberg
To answer your subject: How to reduce bandwidth (meaning message size) with Axis don't use SOAP, use reliable, stable, high-performance protocols like CORBA :-) Btw, never understood it, why should someone use SOAP? regards Leon On 3/15/06, David Kerber [EMAIL PROTECTED] wrote: Are there

RE: Deadlock - Out of Threads - Strange Exception - OutOfMemory - Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-15 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Deadlock - Out of Threads - Strange Exception - OutOfMemory - Server Death. I can't find a locked 0x61655498 entry nowhere. But I should be able to see it to recognize the thread causing the deadlock, shouldn't I? I would think so.

Re: Deadlock - Out of Threads - Strange Exception - OutOfMemory - Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-15 Thread Leon Rosenberg
On 3/15/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Deadlock - Out of Threads - Strange Exception - OutOfMemory - Server Death. I can't find a locked 0x61655498 entry nowhere. But I should be able to see it to recognize the

How to configure in Tomcat?

2006-03-15 Thread Xi Chen
Hi, there. I have a question in my deployment under Tomcat 5.5. In one of the java classes I wrote, I have a line of code like the following: String propertiesFilePath = System.getEnv(MY_CONFIG_FILE_PATH); // Then I start load the contents of the file into java Properties. I

Re: How to configure in Tomcat?

2006-03-15 Thread foo shyn
It shouldn't be a problem for application to get system propertiestried that before and it worked fine for me... Is ur path a full path ? i mean is it something like C:\.. or is it just started with a slash like \..? If it's started with a \... u need to put the specific file and the

Users

2006-03-15 Thread Jeyabalan, Prakash
How to create the custom users in Tomcat 5.0.X Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Upgrade problem to Tomcat 5.5.16, login with Realm fails

2006-03-15 Thread Joacim Turesson
Hi! I'm currently running my webapplication using Tomcat 5.5.12 and it works great. When I upgrade to Tomcat 5.5.16 I'm no longer able to login in to the webapplication using Form based (or Basic) login with Memory Realm (in my development area). The webapplication is written in struts and

RE: Users

2006-03-15 Thread Jeyabalan, Prakash
I am using tomcat 5.0.27 this is the part of the content in web.xml (/manager). I could move further when the role-name * /role-name in http://localhost:8080/manager/html if i specify the particular name an role-name manager /role-name in the same URL i am getting the error as HTTP Status 403.