tomcat 6.0.18 issue with my customer Tag class

2009-03-07 Thread Mike.G
Hi, everyone, I run the tomcat 6.0.18 on my ubuntu 8.04.2, the jdk version is 1.6.0_07 I configure the localhost 's ROOT to my home directory /home/ghw/myjava the configuration file like this: and I created the di

Re: java.lang.NullPointerException loading resource from classpath

2009-03-07 Thread Timothy Washington
Nope!!! I lied, it's still not working in tomcat 4 :| tim From: Timothy Washington To: Tomcat Users List Sent: Saturday, March 7, 2009 10:19:16 PM Subject: Re: java.lang.NullPointerException loading resource from classpath Update: I tried this webapp in 'a

Re: java.lang.NullPointerException loading resource from classpath

2009-03-07 Thread Timothy Washington
Update: I tried this webapp in 'apache-tomcat-4.1.39-LE-jdk14' and the code in question works fine. So my question is what happened to tomcat 5 and after that makes resource loading so difficult? It's a very simple call to 'MyClass.class.getResourceAsStream("myresource.xml")' and the resourc

java.lang.NullPointerException loading resource from classpath

2009-03-07 Thread Timothy Washington
Hi there, I have what seems to be a very simple problem. I've deployed a web application to tomcat. But in the application, when I try to load a resource (an XML file), it comes back as null. This is very frustrating, because some of the most basic approaches are not working to give me my XM

Re: Problem when I launch Tomcat

2009-03-07 Thread frenchStudent
Hello Gregor, thank you a lot for this constructive response. I understand now that the problem is from plugin tomcat in eclipse. Scuse me for my english and "Merci beaucoup" ! Best regards. Gregor Schneider wrote: > > Halem, > > On Sat, Mar 7, 2009 at 8:05 PM, frenchStudent > wrote: >> >

RE: mod_jk and 304

2009-03-07 Thread Anthony J. Biacco
If you have your jkloglevel set to at least info, the modjk log file (whatever you have it set to) will show the jk version when apache is started or reloaded -Tony Sent from my Windows Mobile® phone. -Original Message- From: Eqbal Sent: Saturday, March 07, 2009 2:13 PM To: Tomcat User

Re: mod_jk and 304

2009-03-07 Thread Eqbal
Yes I tested on newer version as well, but could not reproduce it there. The extra bytes are not content and they are always the same regardless of what resource is requested. How do I find the mod_jk version? It came with the suse distribution. I tried debug logging, but that didn't spit the v

Re: Tuning worker MPM

2009-03-07 Thread kulbir Saini
httpd -l output is Compiled in modules: core.c worker.c http_core.c mod_so.c We are in worker mode. Thanks Kulbir On Sat, Mar 7, 2009 at 11:55 AM, Martin Gainty wrote: > > quoting the httpd doc > "Prefork and worker are mutually exclusive modules. How did you compile > Apache? "

Re: Problem when I launch Tomcat

2009-03-07 Thread Gregor Schneider
Halem, On Sat, Mar 7, 2009 at 8:05 PM, frenchStudent wrote: > > > [code]7 mars 2009 20:01:01 org.apache.tomcat.util.digester.SetPropertiesRule > begin > ATTENTION: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting > property 'source' to 'org.eclipse.jst.jee.server:newProject' did no

Re: Problem when I launch Tomcat

2009-03-07 Thread frenchStudent
Hello, when I run a servlet from eclipse with plugin tomcat ; it run but I have all those error messages which I'm unable to understand : [code]7 mars 2009 20:01:01 org.apache.tomcat.util.digester.SetPropertiesRule begin ATTENTION: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting

Re: Tomcat - don't output errors to browser

2009-03-07 Thread xlinuks
Thanks a lot! web.xml & error500.jsp - issue solved! -- View this message in context: http://www.nabble.com/Tomcat---don%27t-output-errors-to-browser-tp22386610p22389940.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: mod_jk and 304

2009-03-07 Thread Len Popp
I'm not seeing that problem on my system, but I'm running newer versions (httpd 2.2.9 and Tomcat 6.0.18). I do recall seeing some strange 304 responses with 2.0 & 5.5, but it was a while ago and I don't remember if the problem was extra bytes in the response. What version of mod_jk are you using?

RE: Tuning worker MPM

2009-03-07 Thread Martin Gainty
quoting the httpd doc "Prefork and worker are mutually exclusive modules. How did you compile Apache? " Check the output of "httpd -l". find out which module you have compiled into your server then tune the settings for that module Martin __ Disc

Re: Tuning worker MPM

2009-03-07 Thread Mark Thomas
kulbir Saini wrote: > Any suggestions? Try the httpd users list? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Problem when I launch Tomcat

2009-03-07 Thread frenchStudent
Gregor Schneider wrote: > > seems some dlls could not be found, maybe due to a missing ${JAVA_HOME}. > > Try the following: > > - de-install Tomcat > - re- install it (having Java all set up beforehand) > > If it's still not working, drop in here again. > > Rgds > > Gregor > -- > just be

Tuning worker MPM

2009-03-07 Thread kulbir Saini
Hi, we have a web server with two apache instances running on that. Experiencing high load on server and the "top" shows httpd's taking CPU. The httpd.conf worker setting is - #ServerLimit 25 StartServers 2 MaxClients 300 MinSpareThreads 75 MaxSpareThreads250 Thre

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2009-03-07 Thread Martin Gainty
Hello Wong- Now that your PostGIS Datasource and JDBCRealm configurations are correct..a few questions do you prefer GoogleEarth over the UMinn MapServer? Can you use GWT Ajax tools to construct pages to interact with GoogleEarth Server? Does GoogleEarth have any tutorials available? Thanks Ma

RE: JavaBridge Payment Gateway Issue on Tomcat

2009-03-07 Thread Caldarale, Charles R
> From: Gaurav Pruthi [mailto:gkpru...@gmail.com] > Subject: JavaBridge Payment Gateway Issue on Tomcat > > servlet-api.jar which is copied to tomcat lib directory, > jre lib directory and JavaBridge lib path. No, no, no. The servlet-api.jar must only be in Tomcat's lib directory, nowhere els

Re: Tomcat - don't output errors to browser

2009-03-07 Thread Gregor Schneider
guys, please forgive me all my typos 2day, got some knots in my fingers.. corrected version: On Sat, Mar 7, 2009 at 3:27 PM, Gregor Schneider wrote: > You also might find the tag in the > -element helpful, esp., if you specify it for > java.lang.Throwable > Rgds Gregor -- just because your

Re: Tomcat - don't output errors to browser

2009-03-07 Thread Gregor Schneider
You also might find the tag in the -elemnt halbful, esp., if you pecify it for java.lang.Throwable Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 ---

Re: Problem when I launch Tomcat

2009-03-07 Thread Gregor Schneider
seems some dlls could not be found, maybe due to a missing ${JAVA_HOME}. Try the following: - de-install Tomcat - re- install it (having Java all set up beforehand) If it's still not working, drop in here again. Rgds Gregor -- just because your paranoid, doesn't mean they're not after you...

Re: Run multiple web applications in Tomcat each as an independent windows service question

2009-03-07 Thread Gregor Schneider
sound slike a very crude design to me, however... On Fri, Mar 6, 2009 at 9:36 PM, Joe Wallace wrote: > I essentially will be running the same web app installed multiple times.   > Each web app will connect to its own unique > database.  Since I don't want them sharing static variables in the jvm

Re: JavaBridge Payment Gateway Issue on Tomcat

2009-03-07 Thread Stephen Caine
Gaurav To the best of my knowledge, JavaBridge is no longer supported. Use JNI. Stephen Caine Soft Breeze Systems, LLC On Mar 7, 2009, at 1:39 AM, Gaurav Pruthi wrote: Dear All, I am facing a strange issue in tomcat from last 2 months. I have 2 websites which are running on PHP. They

Re: Tomcat - don't output errors to browser

2009-03-07 Thread Anurag Kapur
You can add the following entry to your deployment descriptor (web.xml) 500 /error500.jsp You can display an end user friendly message in the error500.jsp instead of the Error stacktrace. Hope this helps Cheers -- Anurag

Tomcat - don't output errors to browser

2009-03-07 Thread xlinuks
Hi folks I use Tomcat 6 and NetBeans 6.5 (on Ubuntu 8.10) and I'd like tomcat to output the error messages to somewhere else instead of the browser, for example to the NetBeans output console. Here's a screenshot of the error output to the browser which I'd like redirected to somewhere else: http

Re: JavaBridge Payment Gateway Issue on Tomcat

2009-03-07 Thread Pid
Gaurav Pruthi wrote: > Dear All, > > I am facing a strange issue in tomcat from last 2 months. I have 2 websites > which are running on PHP. They took tomcat hosting for Payment Gateway > Configuration as we only provide JRE in tomcat environment.. I am using > JavaBridge for this purpose. > > On

Re: Problem when I launch Tomcat

2009-03-07 Thread frenchStudent
frenchStudent wrote: > > Hello, > > I just installed tomcat6. > > When I launch it ( http://localhost:8080/ ), I have an error page. > > In the repertory log of tomcat I have those error message : > > [code][2009-03-06 22:23:19] [info] Procrun (2.0.4.0) started > [2009-03-06 22:23:19] [info

Problem when I launch Tomcat

2009-03-07 Thread frenchStudent
Hello, I just installed tomcat6. When I launch it ( http://localhost:8080/ ), I have an error page. In the repertory log of tomcat I have those error message : [code][2009-03-06 22:23:19] [info] Procrun (2.0.4.0) started [2009-03-06 22:23:19] [info] Service Tomcat6 name Apache Tomcat [2009-03-