AW: Problems with graphics on Tomcat 5.5.9

2005-10-11 Thread Edao, Aliye
Hi Mauricio, I had the same problem. The solution is as follows: 1. Download and install a virtual frame buffer Where to find and how to install: http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/a832a07452b9a0e385256f8000760f68?OpenDocument 2. Do not forget to create a script to

RE: Newbee question on servlet and html - Really frustated with this problem.

2005-10-11 Thread Mauricio Fernandez A.
Did you define your servlet in your WEB-INF/web.xml? Mauricio Fernandez -Mensaje original- De: Developer Developer [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 octubre, 2005 5:23 Para: tomcat-user@jakarta.apache.org Asunto: Newbee question on servlet and html - Really frustated with

Problems with error handling framework in Tomcat 5.5 (includes workaround)

2005-10-11 Thread Robert Graf-Waczenski
Hi! We have a complex web application with lots of JSPs and a considerable amount of servlets for various purposes. Our app runs in Tomcat 5.5 and among other custom error handling techniques we also used the Servlet API mechanism of placing the following directive in our web.xml: error-page

Rép. : Executing custom action on d eploy

2005-10-11 Thread Antony GUILLOTEAU
In your web.xml file, declare a servlet like this : servlet servlet-namemyServlet/servlet-name servlet-classxx.xx.xx.myServlet/servlet-class load-on-startup1/load-on-startup /servlet And in your servlet, the init() method is called when the server start :

RE: Rep. : Executing custom action on deploy

2005-10-11 Thread Robert Graf-Waczenski
Or, if your init method is not in a servlet class, you may want to have your class implement the ServletContextListener interface. Then the method contextInitialized() is your friend, it is called by tomcat for each implementor upon initialization of your web app context, i.e. the startup event of

Tomcat service dies

2005-10-11 Thread Joakim Ahlén
Hi! We're running Tomcat 5.5.9 as a service on Windows Server 2003. With high load on the server, the tomcat process simply dies spontaneously, with no message in the stderr or stdout-logs, but these lines in jakarta_service_xxx.log: -- [2005-10-07 12:55:38]

After adding a context xml file, web-app doesn't always start

2005-10-11 Thread David Farrell
Hi all, For a while my web app was connecting manually to the db but obviously that's a bit rubbish so I looked at some examples and moved the db stuff into the context file for my app. I have never written a context file and I think I may have missed something. Now when I use ant to install my

Re: Problems with graphics on Tomcat 5.5.9

2005-10-11 Thread Amadeo Alonso
Cabe suponer que has mirado la linea 211 de tu'Graficador2.java'?, ... parece corresponder a lo primero escrito por ti y, frecuentemente, esto da una pista. Parece involucrar un problema de Acceso de Java -muy pijotero siempre-, ¿es todo accesible?. Graficar = =

Where does tomcat loads classes from? Mysterious classes loaded....

2005-10-11 Thread David Delbecq
Hi, to be short, tomcat send me an error in console for my webapp in classes which simply are not supposed to exist: xalan classes. Linux debian computer, here is what i do: [EMAIL PROTECTED]:~/tomcat/jakarta-tomcat-5.5.7$ find * -iname '*xalan*' [EMAIL PROTECTED]:~/tomcat/jakarta-tomcat-5.5.7$

Illegal Field Name Error

2005-10-11 Thread Asad Habib
I am receiving the following error when trying to run a Struts application. I checked and it seems that I do have all of the appropriate jar files installed. But for some reason, the Action class is not being recognized. Any help would be greatly appreciated. Thank you. - Asad HTTP Status

manager webapp question

2005-10-11 Thread Marcus Franke
Hello, I have a tomcat server which serves some webapps for different purposes. I now would like to have another instance of the the manager webapp just for one of the webapps on this server, that another person can use the manager webapp to administer this one special webapp and not all the

RE: Illegal Field Name Error

2005-10-11 Thread Raghupathy,Gurumoorthy
Cant you send the struts-config.xml ? -Original Message- From: Asad Habib [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 14:59 To: tomcat-user@jakarta.apache.org Subject: Illegal Field Name Error I am receiving the following error when trying to run a Struts application. I checked

Manage a context via JMX

2005-10-11 Thread Björn König
Hello, i'm using jmx to access the tomcat 5.5 server. I succeeded in retrieving a list of context mbeans. My problem is that the context-mbean doesn't contain any information about the availability of a context, the context description and number of sessions. I tried to get the original context

Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread Mauricio Fernandez A.
Thanks for your help Now I have reinstalled the XFree86 completly including the Xvfb and I can start it (XVfb), to test if it is running I execute a xclock and I don´t get any error, so I think it is running ok However, now, when I try to get the jsp wich must show a graphic I get another

Re: Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread David Delbecq
Hello, if, like i suppose from your various errors, jfreechart require awt/swing api and do draw on it, you need to run the tomcat server inside a X server, not only do you need to have fonts installed and corresponding X libraries (like your link suggest was problem), you also need to to have X

RE: After adding a context xml file, web-app doesn't always start

2005-10-11 Thread Caldarale, Charles R
From: David Farrell [mailto:[EMAIL PROTECTED] Subject: After adding a context xml file, web-app doesn't always start I think I may have missed something. Such as telling us which version of Tomcat you're using. tomcat throw an exeption that my app conspiracy cannot be found under

Re: Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread David Delbecq
David Delbecq a écrit : Hello, if, like i suppose from your various errors, jfreechart require awt/swing api and do draw on it, you need to run the tomcat server inside a X server, not only do you need to have fonts installed and corresponding X libraries (like your link suggest was problem), you

Re: manager webapp question

2005-10-11 Thread Marcus Franke
On Tue, Oct 11, 2005 at 04:00:24PM +0200, Marcus Franke wrote: Hello, I have a tomcat server which serves some webapps for different purposes. I now would like to have another instance of the the manager webapp just for one of the webapps on this server, that another person can use the

Re: manager webapp question

2005-10-11 Thread Marcus Franke
On Tue, Oct 11, 2005 at 05:13:33PM +0200, Marcus Franke wrote: On Tue, Oct 11, 2005 at 04:00:24PM +0200, Marcus Franke wrote: Can this be done? And if yes, what do I have to do? Hmm, I guess I can answer that question by myself. If I use vhosts in tomcat and I have just the manager

manager outofmemory exception

2005-10-11 Thread Enrique Rodriguez
I know this is a very common issue but i want to be sure about it. I have 5 tomcats on a 8Gb RAM machine. The number of applications installed on tomcats are 5 to 15. All the tomcat run with -Xms128M -Xmx512M but the manager aplication never show JVM memory higger than 128 This is the JVM memory

RE: manager outofmemory exception

2005-10-11 Thread Peter Crowther
From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] What i don't understand is that I sometimes get OutOfMemoryException when i upload new aplitications to the tomcat using the manager. I Profiled my aplication and i don't have any memory issue. Just to check: Did your profiling include

Re: manager outofmemory exception

2005-10-11 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/memory.html#why -Tim Enrique Rodriguez wrote: I know this is a very common issue but i want to be sure about it. I have 5 tomcats on a 8Gb RAM machine. The number of applications installed on tomcats are 5 to 15. All the tomcat run with -Xms128M -Xmx512M

RE: manager outofmemory exception

2005-10-11 Thread Caldarale, Charles R
From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] Subject: manager outofmemory exception What i don't understand is that I sometimes get OutOfMemoryException when i upload new aplitications to the tomcat using the manager. Search the archives - this comes up frequently. Assuming you're

Form Based Authentication

2005-10-11 Thread Peter Bright
Hello, We're currently using form-based authentication (i.e. auth-methodFORM/auth-method) but, as I suspect many people have found, it's rather limited. One requirement we have is enforced password changes in certain scenarios. Currently the approach we were thinking of using is as follows:

RE: Form Based Authentication

2005-10-11 Thread Caldarale, Charles R
From: Peter Bright [mailto:[EMAIL PROTECTED] Subject: Form Based Authentication It's point (c) that's proving problematic; there's no way to reauthenticate that I can see. What happens if you just invalidate the existing session? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Form Based Authentication

2005-10-11 Thread Peter Bright
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 17:18 To: Tomcat Users List Subject: RE: Form Based Authentication From: Peter Bright [mailto:[EMAIL PROTECTED] Subject: Form Based Authentication It's point (c) that's proving

RE: Form Based Authentication

2005-10-11 Thread Caldarale, Charles R
From: Peter Bright [mailto:[EMAIL PROTECTED] Subject: RE: Form Based Authentication It's point (c) that's proving problematic; there's no way to reauthenticate that I can see. What happens if you just invalidate the existing session? The user gets logged out. Exactly -

RE: Form Based Authentication

2005-10-11 Thread Peter Bright
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 17:23 To: Tomcat Users List Subject: RE: Form Based Authentication From: Peter Bright [mailto:[EMAIL PROTECTED] Subject: RE: Form Based Authentication It's point (c)

Re: JSP Newbie seeking guidance

2005-10-11 Thread Glen Mazza
Justin Jaynes wrote: I would HIGHLY recommend using SuSE Linux 10 which can be purchased or download from Novell directly at suse.com. Also, see the openSuSE project (essentially the open source community effort half of the SuSE/novell team). I used to run RedHat but was disappointed in the

Re: Continuing Frustration and Misery with Deployer

2005-10-11 Thread Glen Mazza
What happens if you deploy using the Tomcat manager application? Same error or doesn't occur then? This may help zero in on the problem. Glen Allistair Crossley wrote: Hi List, Honestly, I wish Tomcat web application deployment would be easier/smarter. To pre-empt certain list members

Re: manager webapp question

2005-10-11 Thread Marcus Franke
On Tue, Oct 11, 2005 at 05:47:00PM +0200, Marcus Franke wrote: On Tue, Oct 11, 2005 at 05:13:33PM +0200, Marcus Franke wrote: On Tue, Oct 11, 2005 at 04:00:24PM +0200, Marcus Franke wrote: Can this be done? And if yes, what do I have to do? Hmm, I guess I can answer that

Fwd: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Tim Fennell
Apologies in advance for cross-posting this, but I sent this email out to the tomcat-dev list a couple of days ago and have received no replies at all... I think this is quite a useful feature, and I'm wondering how best to go about contributing it. Thanks -Tim Fennell

RE: Problems with graphics on Tomcat 5.5.9 OK!!! BUT.....

2005-10-11 Thread Mauricio Fernandez A.
I know the best way to set up this is by using -Djava.awt.headless=true but I had been tryin almost everything. The problem is my server is a remote rack server so it doesn´t have any display hw and as the -Djava... option seems desn´t work for me i am trying to use the Xvfb. By the way, could it

Re: JSP Newbie seeking guidance

2005-10-11 Thread John Geiger
Not at all, Justin. Thank you, thank you! Also, thank you, Mark Eggers. As I am so new to this, I run the risk of veering off-topic, which I realize is inappropriate. That said, I will get my newbie noggin back into the woodshed so that I may be true to this list. Best wishes, John G. on

RE: Form Based Authentication

2005-10-11 Thread Frank W. Zammetti
Although we are working in a Websphere/LDAP environment, we had the same requirement as you, and we managed to solve it. What we did (and I'm going from fairly distant memories, so hopefully I'm at least close to right) is this... user logs on. We have a filter that checks for password

Re: Fwd: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Frank W. Zammetti
Wow, you are my hero! I've always missed that from the Weblogic days! I for one would love to see this added. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, October 11, 2005

RE: manager outofmemory exception

2005-10-11 Thread Enrique Rodriguez
Thanks, i will try to set maxpermsize to 256m Regards, Enrique. El mar, 11-10-2005 a las 17:11 +0100, Peter Crowther escribió: From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] What i don't understand is that I sometimes get OutOfMemoryException when i upload new aplitications to the

RE: More helpful reporting of exceptions in JSPs

2005-10-11 Thread GB Developer
regardless how the commiters feel about it, are you willing to release your patched source files? (So for example, I can compile and deploy them myself?) ;) If so, I'd say a page on your wiki might be alright for distro, with a link to the page sent to tomcat-user ? I'd be giving it a try

Re: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Leon Rosenberg
could you post your patch for download anywhere? If you need webspace, I can provide you some. I would find the patch extremely helpful, and would love to have it in my development tomcat, as soon as possible. thanx leon On 10/11/05, Tim Fennell [EMAIL PROTECTED] wrote: Apologies in advance for

Re: Virtual Hosting and SSL

2005-10-11 Thread Justin Jaynes
I DID try, but there is no IP address attribute for connector elements. .. at least not in the documentation listed on the 5.5 documentation / configuration setup. How would I do it? Can you please indicate the syntax? Thanks, Justin --- Hassan Schroeder [EMAIL PROTECTED] wrote: Justin

Re: JSP Newbie seeking guidance

2005-10-11 Thread Justin Jaynes
John, If you need help with setting up the environment I described (and BOY could I have used help my first time--mostly I tutored myself and failed and failed before succeeding) you can ask me and I will know at least where to point you for relevant information. I assume you have done your own

symlink outside of docroot area

2005-10-11 Thread wenzhou wang
I have a question regarding TOMCAT 5.5.9. Hope to get help from folks who have the knowledge and experience. I try to create a symbolic link from the docroot area in tomcat 5.5.9($Catalina_HOME/webapps/ROOT) to a directory in my Solaris file system which has read/write permission to all users.

Re: Virtual Hosting and SSL

2005-10-11 Thread David Smith
Try address=192.168.56.32 or whatever IP you want tomcat to bind to. The port attribute will do the same thing for defining what port number to bind to. --David Justin Jaynes wrote: I DID try, but there is no IP address attribute for connector elements. .. at least not in the documentation

Re: Virtual Hosting and SSL

2005-10-11 Thread Justin Jaynes
I'll try... thanks so much for such a fast reply. Is there any document about that feature on the tomcat apache site? Justin --- David Smith [EMAIL PROTECTED] wrote: Try address=192.168.56.32 or whatever IP you want tomcat to bind to. The port attribute will do the same thing for defining

Re: Virtual Hosting and SSL

2005-10-11 Thread Hassan Schroeder
Justin Jaynes wrote: I DID try, but there is no IP address attribute for connector elements. .. at least not in the documentation listed on the 5.5 documentation / configuration setup. On this page?? http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html Look again :-) -- Hassan

Re: Virtual Hosting and SSL

2005-10-11 Thread Justin Jaynes
Strike that--I just found that documentation after looking the hundredth time. I guess we overlook what we didn't know before, assuming it isn't what we wanted to find--or something strange like that. But I found it. Thanks everyone. Justin --- Justin Jaynes [EMAIL PROTECTED] wrote: I'll

Hijacking the coyote connector

2005-10-11 Thread Dobbins, Michael G
In tomcat 5.0.28, we were able to replace the coyote connector using a className setting in the connector in server.xml. In tomcat 5.5.9 it looks like className is ignored. Looking at the source, it looks like the Connector is hardcoded in. Is this the case or am I missing something? My next

Re: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Tim Fennell
I certainly don't have a problem with that. Obviously I'd rather have it in the main codebase - while I don't have a problem running a patched version of jasper, I'm sure that would freak out a good number of PHBs ;) But since there is interest I'll clean up what I have, put it online

RE: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-11 Thread [EMAIL PROTECTED]
To answer some questions below: Perfectly means it is our production tomcat server. It performs all the functions required and is accessed from the legacy webserver. Getting images from the path http://webserver/PI/image.png. We have no direct access linked to tomcat instances on the their

SocketException: Invalid argument

2005-10-11 Thread Luis Torres
Hello everyone, I have a question regarding an error I'm seeing more every day in my catalina.out 11/10/2005 12:08:34 PM org.apache.tomcat.util.net.TcpWorkerThread runIt GRAVE: Remote Host /10.49.156.64 SocketException: Invalid argument It happens with diverse IP addresses, both inside our

tomcat 3.2.4

2005-10-11 Thread Steve Souza
Hi folks, I'm new to the list, so I apologize in advance for any faux pas I may commit here! The question is simple - we'd like to get the 3.2.4 release of Tomcat, but do not see a download link on the Apache site. Is it archived somewhere? I know it's old, but we haven't moved to the new

Re: tomcat 3.2.4

2005-10-11 Thread Glen Mazza
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html should be 3.2.4. Glen Steve Souza wrote: Hi folks, I'm new to the list, so I apologize in advance for any faux pas I may commit here! The question is simple - we'd like to get the 3.2.4 release of Tomcat, but do not see a download

RE: tomcat 3.2.4

2005-10-11 Thread GB Developer
http://archive.apache.org/dist/jakarta/tomcat-3/archive/v3.2.4/ -Original Message- From: Steve Souza [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 3:18 PM To: Tomcat Users List Subject: tomcat 3.2.4 Hi folks, The question is simple - we'd like to get the 3.2.4

serving content from outside the context

2005-10-11 Thread John Laughton
Hi, I hope this is the right mailing list for this question I am using tomcat 5.0.28 I have a simple web app and want to serve up some images in the jsp pages, but the images are outside the context The HTTP statement looks like trtd img alt=thumb image src=/data/webData/family/DSC01183.JPG/

RE: Tomcat 5.5.9 bugs?

2005-10-11 Thread Niels Beekman
Hi, Related to the Dreamweaver-issue: I have this problem too, after some debugging I found that Dreamweaver does not correctly update the lastmodified-timestamp on JSP-files when putting them on the server, which obviously fools the JSP-compiler into thinking that nothing has changed.

cluster FAQ link?

2005-10-11 Thread Brian O'Rourke
Hi, Reading up on some of the Tomcat 5.5 documentation, and I noticed that the cluster documentation links to a FAQ that doesn't appear to exist. At the bottom of this page: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html The link refers to this page, which doesn't exist, nor

Anybody using autofarming feature on Tomcat 5.5 cluster?

2005-10-11 Thread Edmon Begoli
Hey all, Can anyone share any experiences with web application autofarming on the Tomcat 5.5 cluster. Is it reliable? Do you use it for production purposes? How big is the cluster? -- Thank you in advance, Edmon Begoli http://blogs.ittoolbox.com/eai/software

dynamical class reload

2005-10-11 Thread dumbQuestionsAsker _
hi everybody, I got a problem loading an interface dynamycally. Im working under Tomcat. com.myApp.DefinitionServiceRemote and com.myApp.DefinitionService have to be dynamically (re)loaded because they are uploaded. com.myApp.DefinitionServiceRemote extends com.myApp.DefinitionService. By

RE: Hijacking the coyote connector

2005-10-11 Thread Caldarale, Charles R
From: Dobbins, Michael G [mailto:[EMAIL PROTECTED] Subject: Hijacking the coyote connector My next attempt, I repackaged our connector to replace the org.apache.catalina.connector package and put that in the -Xbootclasspath I don't think that's the right place. -Xbootclasspath should be

tomcat unable to parse HTTP GET variables if is replaced with %2526

2005-10-11 Thread Isaacson, David A. (James Tower)
Running apache: httpd-2.0.46-46.3.ent tomcat: jakarta-tomcat-4.1.30 using the mod_jk connector. Earlier yesterday we started recieving the following error. java.lang.NumberFormatException: For input string: 88%26order=44%26start=3%26end=3 The page started to get refered to by

Getting Apache2 forwarding to tomcat5

2005-10-11 Thread Dan Chesmore
I have read about 25 different websites on getting this setup. I have read through this list trying to find the answer I need. I have spent the last 2 days and soon 3rd day trying to get this working. I need Apache to forward port 80 and 443 requests to tomcat to 8080 and 8443. I am working on the

Re: Getting Apache2 forwarding to tomcat5

2005-10-11 Thread Lyndon Tiu
Hello, 1) It is recommended to use mod_jk version 1 as version 2 is deprecated and anything that is new in version 2 has been rolled into version 1. 2) All you need is this in server.xml: !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector port=8009

RE: silent install of Tomcat

2005-10-11 Thread krux mania
Thanks Mauricio, I'll follow this and get back. pareeja Mauricio Fernandez A. [EMAIL PROTECTED] wrote: Maybe you can try with the .zip distribution if your so is Windows or .tar.gz if Linux or whatever you want/need from http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi If you

Re: silent install of Tomcat

2005-10-11 Thread krux mania
Sounds like you are using Windows? Yes i am using windows. On my Linux boxes I installed quite silently using rpm and no questions to be answered.. But you could use the tarball/zip for it. I'll try this, thanks. vivek - Yahoo! Music

Re: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Tim Fennell
Hi All, I've posted my patch for Jasper/Tomcat at the following location: http://www.tfenne.com/jasper/ The page has a brief overview, a download link and before and after screenshots so you can get an idea for what exactly the patch does before you decide to patch your own

RE: Tomcat 5.5.12 and user-agent header

2005-10-11 Thread Mark Thomas
Have you looked at the headers between Tomcat and your UA? Is your UA actually sending the UA header? If it is then it looks like a sitemesh problem from what you have described. There are a range of tools for looking at headers. livehttpheaders is good, as is TcpMon which is distributed as part

Harald Weigel/DS/GFK/DE ist außer Haus.

2005-10-11 Thread Harald . Weigel
Ich werde ab 12.10.2005 nicht im Büro sein. Ich kehre zurück am 13.10.2005. Ihre Nachrichten werde ich nach meiner Rückkehr bearbeiten. Wenden Sie sich während dieser Zeit in dringenden Fällen bitte an meinen Vertreter Herrn Werner Rößner ([EMAIL PROTECTED]). - I'm out of office on

RE: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-11 Thread Mark Eggers
Here's a quick writeup. This is going to be a long reply, and I hope it will be useful. I am using Fedora Core 4 as a model. I hope it will be close enough to RHEL 3 to be useful. You may have to change paths in order to correspond to your environment. First of all, my environment:

Re: Illegal Field Name Error

2005-10-11 Thread Anto Paul
On 10/10/05, Asad Habib [EMAIL PROTECTED] wrote: I am receiving the following error when trying to run a Struts application. I checked and it seems that I do have all of the appropriate jar files installed. But for some reason, the Action class is not being recognized. Any help would be