VS: Tomcat configuration with multiple services

2009-02-02 Thread Jaakko Taipale
If I put two connectors under the same service like this: How can I force that users use https(or prevent http) when they access to hastobehttps.mydomain.com? I know I can make eg. httpsa

Re: mod_jk 1.2.27 strange default reply_timeout

2009-02-02 Thread Mladen Turk
Hubert de Heer wrote: Hi, Thanks for the quick answer. So the main difference between socket_timeout and socket_connect_timeout is that the later only affects the connect phase. Correct. I rolled back to mod_jk 1.2.26 but will try 1.2.27 with socket_connect_timeout tomorrow. Any advice on

Re: tomcat only query localhost database

2009-02-02 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby wrote: Any help? I suspect there is a system-wide configuration that tells not to consider the webapp-specific configuration, but I dont find where... -- Chef de projet chez Vectoris http://www.google.com/search?q=mihamina+rakotomandimby

Re: AJP vs HTTP connectors?

2009-02-02 Thread Mark Thomas
Eric B. wrote: > "Gregor Schneider" wrote in message > news:a2d59f0d0902021308v6f80a37btca0380933436c...@mail.gmail.com... >> hm, since I'd like to avoid to browse through the whole webinar: >> >> what are the benefits / advantages / disadvantages? >> >> actually we've been quite happy with mod_jk

Re: Tomcat resets the connection during load

2009-02-02 Thread Mark Thomas
Barak Yaish wrote: > I've records the traffic using Wireshark (http://www.wireshark.org), and > I've noticed that Tomcat send TCP Reset to the client, before it writes the > reponse to the stream. > > Can you please assist understanding this behavior and tuning Tomcat in order > to avoid these pr

tomcat only query localhost database

2009-02-02 Thread Mihamina Rakotomandimby
Hi, A developper gave me a .war webapp. When deploying it, it creates an xml file: /etc/tomcat6/Catalina/localhost/webappName.xml which is a copy of the one in /var/lib/tomcat6/webapps/webappName/META-INF/context.xml Then context.xml file contains the JDBC/MySQL host,login,pass where host is NOT

Re: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread Rusty Wright
If you have control of the mode of the directory where the files are placed you may find the sticky bit helpful for propagating stuff down the treee: http://www.dartmouth.edu/~rc/help/faq/permissions.html epicwin...@hotmail.com wrote: Date: Mon, 2 Feb 2009 22:00:24 +0100 From: a...@ice-sa

RE: ExtendedAccessLogValve pattern?

2009-02-02 Thread Caldarale, Charles R
> From: CameronL [mailto:cameron.develo...@gmail.com] > Subject: ExtendedAccessLogValve pattern? > > Can you not mix the different field patterns like this? A quick look at the code says you can't - you have to use the W3c fields, as documented here: http://tomcat.apache.org/tomcat-6.0-doc/api/or

RE: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Caldarale, Charles R
> From: Michael Ludwig [mailto:mil...@gmx.de] > Subject: Re: Deploy 1st Service to Tomcat proper > > I see. So my advice was irrelevant to Tori's problem. Not necessarily; we don't know definitively what's been done. > I just set up Tomcat to use Log4J and got 17 MB of messages > on startup. Got

ExtendedAccessLogValve pattern?

2009-02-02 Thread CameronL
I'm attempting to configure my Tomcat 6 installation to print out a few POST parameters. I understand that in order to do this, I'll need to configure the ExtendedAccessLogValve and use the 'x-P(XXX)' field to print out the parameter I want. However, when I mix with some fields from the AccessLog

Re: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Michael Ludwig
Caldarale, Charles R schrieb am 02.02.2009 um 18:32:46 (-0600): > > From: Michael Ludwig [mailto:mil...@gmx.de] > > Subject: Re: Deploy 1st Service to Tomcat proper > > > > http://tomcat.apache.org/tomcat-6.0-doc/extras.html > > http://tomcat.apache.org/tomcat-6.0-doc/logging.html > > Note that th

RE: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread epicwin...@hotmail.com
> Date: Tue, 3 Feb 2009 00:10:30 +0100 > From: a...@ice-sa.com > To: users@tomcat.apache.org > Subject: Re: running tomcat with root user.umask in jsvc? > > epicwin...@hotmail.com wrote: > [...] > I'm not a great security specialist, but your setup looks indeed safe > enough, if the users

RE: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Caldarale, Charles R
> From: Michael Ludwig [mailto:mil...@gmx.de] > Subject: Re: Deploy 1st Service to Tomcat proper > > By default, Tomcat does not include Log4J. You have to take additional > steps in order to get it to work. Please read the following and ensure > you've configured your installation accordingly: > >

Re: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Michael Ludwig
Toriacht schrieb am 02.02.2009 um 15:41:17 (-0800): > > My problem is on Tomcat with NO IDE. I mentioned just the IDE to > illustrate that the service does work. It's when I leave the IDE i > have problems. > > There are NO errors in any of the logs! Catilina.log mentions that it > is deplying th

Re: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Toriacht
Hi Michael... I'm sorry for the confusion. My problem is on Tomcat with NO IDE. I mentioned just the IDE to illustrate that the service does work. It's when I leave the IDE i have problems. There are NO errors in any of the logs! Catilina.log mentions that it is deplying the service on startup.

Re: Deploy 1st Service to Tomcat proper

2009-02-02 Thread Michael Ludwig
Toriacht schrieb am 29.01.2009 um 01:24:12 (-0800): > > When i click on the application in my Tomcat Manager page I get a HTTP > Status 404 error telling me that my web service (requested resource) > is not available. > > There is no error in the $Tomcat/logs" folder. I checked, manager, > catali

Re: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread André Warnier
epicwin...@hotmail.com wrote: [...] I'm not a great security specialist, but your setup looks indeed safe enough, if the users are chrooted to their home directories. I can't imagine how they could break out and access things they shouldn't. Just one more question : how do you arrange to know w

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-02 Thread Michael Ludwig
Martin Gainty schrieb am 02.02.2009 um 17:45:42 (-0500): > > i downloaded libxml and dont see any Visual Studio project files > (assuming they are *.ds?) ..although I see makefiles in \win32 folder That's a misunderstanding - I was talking about Berkeley DB XML, which is an XML extension to the

Re: And how about this mod_jk.log ?

2009-02-02 Thread André Warnier
Hi. Just to anyone who contributed ideas to the issue originally mentioned, thanks. As a reminder, the problem was, on the one hand, entries like this one in the mod_jk logfile : [Mon Jan 19 15:02:52 2009] [6802:4416] [info] ajp_process_callback::jk_ajp_common.c (1447): Writing to client a

RE: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-02 Thread Martin Gainty
i downloaded libxml and dont see any Visual Studio project files (assuming they are *.ds?) ..although I see makefiles in \win32 folder can you provide the link where you acquired the source? thanks/ Martin __ Disclaimer and confidentiality note Eve

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-02 Thread Michael Ludwig
Caldarale, Charles R schrieb am 01.02.2009 um 22:38:57 (-0600): > > From: Michael Ludwig [mailto:mil...@gmx.de] > > Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) > > > > The Java bridge DLLs (or whatever they're called) can be moved to a > > directory only contained in java

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-02 Thread Michael Ludwig
Martin Gainty schrieb am 01.02.2009 um 22:42:59 (-0500): > > saw this in the 2.2.69 readme.txt did you use cscript to config the > environment? Version 2.2.69 of what? Anyway, Berkeley DB XML on Windows is built using a Visual Studio project file. > cscript configure.js help No such thing in

IIS plugins and tomcat 6

2009-02-02 Thread Sangeeta Verma
We are using IIS ver6.0 with Tomcat 6.0 on windows 2003. setup the configuration according to steps in http://tomcat.apache.org/connectors-doc/reference/iis.html http://localhost/examples/jsp/ throws 404 error. entry in uriworkermap.properties: /examples/*=mobius entry in workers.properties *work

RE: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread epicwin...@hotmail.com
> Date: Mon, 2 Feb 2009 22:00:24 +0100 > From: a...@ice-sa.com > To: users@tomcat.apache.org > Subject: Re: running tomcat with root user.umask in jsvc? > > epicwin...@hotmail.com wrote: > > That is a possible solution. There is a fairly heavy amount of files > > uploaded from many differ

Re: AJP vs HTTP connectors?

2009-02-02 Thread Gregor
uhm, basically you're right, however, i wouldn't consider mark thomas "some dude" ;) rgds gregor Am 02.02.2009 um 23:05 schrieb Filip Hanik - Dev Lists >: first and foremost, always apply "ol' grandpa's logic" The famous quote is "if it ain't broke, don't fix it" So if you are using someth

Re: AJP vs HTTP connectors?

2009-02-02 Thread Filip Hanik - Dev Lists
first and foremost, always apply "ol' grandpa's logic" The famous quote is "if it ain't broke, don't fix it" So if you are using something that is working, don't even consider switching just cause some dude on a webinar told you so. That should take you 90% of the way. The rest is understanding

RE: mod_jk 1.2.27 strange default reply_timeout

2009-02-02 Thread Hubert de Heer
Hi, Thanks for the quick answer. So the main difference between socket_timeout and socket_connect_timeout is that the later only affects the connect phase. I rolled back to mod_jk 1.2.26 but will try 1.2.27 with socket_connect_timeout tomorrow. Any advice on whether I should forget about the soc

Re: AJP vs HTTP connectors?

2009-02-02 Thread Gregor Schneider
argl... - 4gimme my typos - I need an after-editor for this mailinglist - duuuh...! -- 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: AJP vs HTTP connectors?

2009-02-02 Thread Gregor Schneider
What I do now is that mod_proxy is not all that easy to configure and offers quite some possibilities to open a leak if you don't know exactly what you're doing. Besides, I'm not aware that mod_proxy offers any loadbalancing features, but maybe I'm missing something here. And, last not least: Ra

Re: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Steve Ochani
On 2 Feb 2009 at 18:36, Shaolin wrote: Send reply to: Tomcat Users List Date sent: Mon, 02 Feb 2009 18:36:04 + Subject:Re: package javax.servlet does not exist import javax.servlet.* ; From: Shaolin To: Tomcat Users List > It worked, but how comes I have to use classpa

Re: AJP vs HTTP connectors?

2009-02-02 Thread Eric B.
"Gregor Schneider" wrote in message news:a2d59f0d0902021308v6f80a37btca0380933436c...@mail.gmail.com... > hm, since I'd like to avoid to browse through the whole webinar: > > what are the benefits / advantages / disadvantages? > > actually we've been quite happy with mod_jk, that's why I'm wonderi

RE: AJP vs HTTP connectors?

2009-02-02 Thread Caldarale, Charles R
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > Subject: Re: AJP vs HTTP connectors? > > hm, since I'd like to avoid to browse through the whole webinar: > what are the benefits / advantages / disadvantages? I'd like to know as well, since I watched the same webinar when it was presente

Re: AJP vs HTTP connectors?

2009-02-02 Thread Gregor Schneider
hm, since I'd like to avoid to browse through the whole webinar: what are the benefits / advantages / disadvantages? actually we've been quite happy with mod_jk, that's why I'm wondering Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA5268070267

Re: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread André Warnier
epicwin...@hotmail.com wrote: That is a possible solution. There is a fairly heavy amount of files uploaded from many different users so it would mean a lot of configuration and a lot of maintenance to that config as i add new users. So I am trying to avoid the operating system chmod commands in

Re: AJP vs HTTP connectors?

2009-02-02 Thread David Boreham
Eric B. wrote: My question, then becomes, if someone wants to use Tomcat to serve up pages behind Apache Httpd, how to configure it to use the http connector? So far, the only thing I found is to use proxy/reverse proxy which is slow and can be problematic. To date, I've always been using mod

RE: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread epicwin...@hotmail.com
That is a possible solution. There is a fairly heavy amount of files uploaded from many different users so it would mean a lot of configuration and a lot of maintenance to that config as i add new users. So I am trying to avoid the operating system chmod commands in my code. If i add umask

AJP vs HTTP connectors?

2009-02-02 Thread Eric B.
Hi, I was listening to a webinar on spring source by Filip Hanik & Mark Thomas regarding tuning Tomcat for production in which they indicate that the Http connector is recommended vs an AJP connector (http://www.springsource.com/node/555). My question, then becomes, if someone wants to use Tom

Re: help Comet Tomcat

2009-02-02 Thread Filip Hanik - Dev Lists
If you simply are looking for an example to use the CometProcessor interface, there is a module that is built around it https://svn.apache.org/repos/asf/tomcat/trunk/modules/bayeux/ Filip sam wrote: I am new to COMET in Tomcat, someone could show me one example on using COMET in Tomcat

Re: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread André Warnier
André Warnier wrote: epicwin...@hotmail.com wrote: You are correct, I found a setting that relaxes the group access permissions on the jailkit. Now I just have one more problem. When tomcat creates files in these user directories I need the permissions to be set appropriately. What is the b

Re: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread André Warnier
epicwin...@hotmail.com wrote: You are correct, I found a setting that relaxes the group access permissions on the jailkit. Now I just have one more problem. When tomcat creates files in these user directories I need the permissions to be set appropriately. What is the best way to set the u

RE: NoClassDefFoundError: HttpServlet

2009-02-02 Thread Caldarale, Charles R
> From: Ladislav Gaspar [mailto:ladislav.gas...@it-vision.com] > Subject: AW: NoClassDefFoundError: HttpServlet > > Sorry for the misinformation. The the servlet-api.jar is in > $catalina_home/lib. The %CLASSPATH% is not adjusted The symptoms are still identical with those that appear when servlet

RE: running tomcat with root user.....umask in jsvc?

2009-02-02 Thread epicwin...@hotmail.com
You are correct, I found a setting that relaxes the group access permissions on the jailkit. Now I just have one more problem. When tomcat creates files in these user directories I need the permissions to be set appropriately. What is the best way to set the umask value when running tomcat

Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-02 Thread Jorge Medina
Hi I am having problems with the mod_jk module 1.2.26 and Tomcat Native connectors running in Solaris 10. The problem occurs in both processors x86 (64-bit) and sparc (64-bit). (The problem does not occur on RedHat EL5 64-bit). On the mod_jk workers.properties file I am specifying a va

RE: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Caldarale, Charles R
> From: Shaolin [mailto:shaolinfin...@gmail.com] > Subject: Re: package javax.servlet does not exist import > javax.servlet.* ; > > It worked, but how comes I have to use classpath now and not > when I used to do it before ? Before what? > is there any way of overcoming this ? Typing up CPs' in >

Re: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Shaolin
It worked, but how comes I have to use classpath now and not when I used to do it before ? is there any way of overcoming this ? Typing up CPs' in command line takes too much time. 2009/2/2 Caldarale, Charles R > > From: Shaolin [mailto:shaolinfin...@gmail.com] > > Subject: Re: package javax.ser

RE: Location of properties file for web app in Tomcat

2009-02-02 Thread Caldarale, Charles R
> From: Flavius [mailto:flav...@silverlion.com] > Subject: Re: Location of properties file for web app in Tomcat > > It seems the ContextClassLoader should know where it's running from > on the physical path. But I haven't figured that out yet. As has been discussed on this list several times, th

RE: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Caldarale, Charles R
> From: Shaolin [mailto:shaolinfin...@gmail.com] > Subject: Re: package javax.servlet does not exist import > javax.servlet.* ; > > > You'll need to tell javac (or whatever IDE you're > > using) where the servlet-api.jar is. > > How do I do that ? For javac, use the -cp parameter; for any IDE, you

Re: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Gregor Schneider
if you're compiling from the console-window: javac -help take a look at "-classpath" if you're using an ide, check out your ide's documentation rgds gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available

Re: Location of properties file for web app in Tomcat

2009-02-02 Thread Flavius
Thanks guys. I think I'll try that. I had hoped to get around setting the system property by simply requiring that the properties file exist in the same dir as the war file. Then the war file can simply ask, "where am I?" and use that path to load the properties file. It seems the ContextClas

Re: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Shaolin
Thanks - Im using the exe version and replaced the tomcat6 and tomcat6w versions with the 64 bit ones. I tried it with another app of mine that works but it wouldnt compile that one either. > You'll need to tell javac (or whatever IDE you're using) where the servlet-api.jar is. How do I do that ?

Re: mod_jk 1.2.27 strange default reply_timeout

2009-02-02 Thread Mladen Turk
Hubert de Heer wrote: Hi, worker.host_1.socket_timeout=15 This is the root of the problem cause it imposes the timeout on any socket operation between mod_jk and tomcat. What we notice is that Apache will respond with an error 502 Bad Gateway when a response takes more than 30sec. so

RE: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Caldarale, Charles R
> From: Shaolin [mailto:shaolinfin...@gmail.com] > Subject: Re: package javax.servlet does not exist import > javax.servlet.* ; > > 1. Im using 6.0.18 64 bit with windows xp 64 and Java SDK SE > 6 update 11 (64bit). Did you install Tomcat from the .exe download or the .zip one? You will need th

Re: Apache Tomcat 6.0 loads blank page

2009-02-02 Thread zia mohades
Hello guys, Thank you again for your help chuck! 1) I just looked at the CGI servlet help that you sent. Actually I just have to uncomment the CGI servlet part in the web.xml and now at least i don't get an error, it's just a blank( which is probably the address problem, i.e a file pointing to a

RE: Apache Tomcat 6.0 loads blank page

2009-02-02 Thread Caldarale, Charles R
> From: zia mohades [mailto:zia.si...@gmail.com] > Subject: Re: Apache Tomcat 6.0 loads blank page > > 3) however now i have a new problem: for some reason my html > page doesn't communicate with the cgi file. Did you follow the instructions here, in particular enabling the CGI servlet? http://tom

Re: Apache Tomcat 6.0 loads blank page

2009-02-02 Thread André Warnier
zia mohades wrote: [...] 1) for the connector port I have commented out one of them actually, so only two of them are active these ones: I'll let someone else comment definitely on the above, but in my understanding this is a no-no, and I don't understand how it could work. You

Re: jsvc problem with PID. Resolution

2009-02-02 Thread Dave Pawson
Progress. Uninstalled the FC10 tomcat6 (it does need documentation, asp classes, servlet api classes, ROOT + examples, and other deps) Reinstalled from tc main site. As root. In $CATALINA_HOME/bin/jsvc-src/native there is a file Tomcat.sh which, when updated for various changes 1. paths. 2. PID

Re: Apache Tomcat 6.0 loads blank page

2009-02-02 Thread zia mohades
Hi everyone, Chuck, I just double checked the web.xml and the following: index.html index.htm > welcome-file> > index.jsp > > is in fact there. And Also i restarted the apache server couple of time and now I can access the web server using http://localhost:8080/mms

RE: Tomcat configuration with multiple services

2009-02-02 Thread Caldarale, Charles R
> From: Jaakko Taipale [mailto:jaakko.taip...@dbmanager.fi] > Subject: Tomcat configuration with multiple services > There is two services other for http and other for https > connections. Is this right way to do this I've never seen anyone try that. Can't imagine what your requirements would be

Re: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Shaolin
1. Im using 6.0.18 64 bit with windows xp 64 and Java SDK SE 6 update 11 (64bit). 2. I did do it just afew moments ago to see if it would work at which it didnt so I removed it. 3. The servlet-api jar is in the tomcat lib dir and not in app lib dir 4. Didnt find the j2ee jar in the tomcat folder.

RE: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Caldarale, Charles R
> From: Shaolin [mailto:shaolinfin...@gmail.com] > Subject: package javax.servlet does not exist import javax.servlet.* ; > > The servlet jars cannot be found. I checked the tomcat lib > dir and it was present and it looks like its something to > do with the classpath. 1) Tell us which version of

mod_jk 1.2.27 strange default reply_timeout

2009-02-02 Thread Hubert de Heer
Hi, We have an environment running Apache 2.2.9, mod_jk 1.2.27 and Tomcat 5.5.27. The following settings are in place: Apache (prefork mode) = Timeout 60 KeepAliveTimeout 5 JkWatchdogInterval 90 JkOptions +DisableReuse worker.properties

package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Shaolin
Hi Guys The servlet jars cannot be found. I checked the tomcat lib dir and it was present and it looks like its something to do with the classpath. How can I change/update it so that it will work ? Im on a windows

Re: tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
thanks - removed On Mon, 2009-02-02 at 14:46 +0100, Felix Schumacher wrote: > Hi Ray, > > On Mon, February 2, 2009 1:59 pm, Ray Holme wrote: > > I run tomcat 6 on Linux and have multiple applications in development > > mode. From my testing I have discovered that a Java bean shared by all > > appl

Re: tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
thanks - makes sense. removed the GC call as someone else put it there a long time ago also removed System.runFinalization() - assume this is not something to do in my "garbage sweep" where I check for other things. :=] On Mon, 2009-02-02 at 14:45 +0100, Kees de Kooter wrote: > Hi Ray, > > It

Re: tomcat 5 and the JVM

2009-02-02 Thread Felix Schumacher
Hi Ray, On Mon, February 2, 2009 1:59 pm, Ray Holme wrote: > I run tomcat 6 on Linux and have multiple applications in development > mode. From my testing I have discovered that a Java bean shared by all > applications and with ALL methods as static SEEMS to have a separate > instance for each ap

Re: tomcat 5 and the JVM

2009-02-02 Thread Kees de Kooter
Hi Ray, It is one JVM, but separate classloaders so applications do not "see" classes of other apps. Oh and please be extremely careful with using System.gc(). Using it can lead to severe and unexpected performance issues. If you "need" gc() you almost always have a flaw in your code. Cheers, Ke

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread Gregor Schneider
Within the docs I do not see a recommendation to place the JDBC-driver both in ${CATALIN_HOME}/lib *AND* WEB-INF: == 1. Install Your JDBC Driver Use of the JDBC Data Sources JNDI Resource Factory requires that you make an appropriate JDBC driver available to both Tomcat internal clas

tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications and with ALL methods as static SEEMS to have a separate instance for each appliction - i.e. getDebugLevel() returns 0 from the 2nd applicati

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread Kees de Kooter
Hi Ramesh, Did you configure a JNDI datasource in tomcat? In that case the datasource exists "outside" your app. Cheers, Kees de Kooter http://www.boplicity.net On Mon, Feb 2, 2009 at 13:06, peterramesh wrote: > > Hi, > > On reading Tomcat help doc > http://tomcat.apache.org/tomcat-6.0-doc/jn

help Comet Tomcat

2009-02-02 Thread sammmmm
I am new to COMET in Tomcat, someone could show me one example on using COMET in Tomcat I have already changed the connector. i try example of http://tomcat.apache.org/tomcat-6.0-doc/aio.html and various example of this web I have managed to operate comet in Glassfish using Dojo, but Tomcat d

Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread peterramesh
Hi, On reading Tomcat help doc http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html, it recommends to place the MySQL JDBC driver in both places (CATALINA_HOME/lib and WEB-INF/lib folder of the app). If I haven't placed in CATALINA_HOME/lib folder, my app is failing with driver no

Re: jsvc problem with PID

2009-02-02 Thread Dave Pawson
2009/2/2 André Warnier : > Just a few points though in defense of the packagers, a much-criticised > group (to which I do not belong by the way) : NO critique of their work. They have different drivers. > - like the Tomcat people, they are working for free, in a spirit of helping > other people

Re: jsvc problem with PID

2009-02-02 Thread André Warnier
Dave Pawson wrote: [...] I tried the Fedora install (instead of the Main Tomcat one). It's horribly complex. Installs all over the machine, Is missing the manager app and the docs. Yuk. That will be music to the ears of some; can't wait for their comments. As for me, I'm glad to hear that it

Re: jsvc problem with PID

2009-02-02 Thread Dave Pawson
2009/2/1 Qiao Jin : > Could it be that you are running the start-up script (the one using jsvc) as > a normal user and thus does not have the permission to write to /var/run? In > my system, CentOS 5, /var/run can only be written by root. I run my jsvc > script as root and use the "-user" option

Tomcat resets the connection during load

2009-02-02 Thread Barak Yaish
I'm running a Tomcat 6.0.16 (native library is compiled )on a Linux box (CentOS 5), java version is: java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) The connection configuration is: I've deployed my we

Tomcat configuration with multiple services

2009-02-02 Thread Jaakko Taipale
Hi, I have following tomcat server.xml configuration: There is two services other for http and other for https connections. Is this right way to do this and does it have some performance issues? Also I point users accessin

Re: Tomcat 6 on Linux - session - DB connections and other shared resources

2009-02-02 Thread Kees de Kooter
Servlet filters are the best way to solve this. Where do you get stuck with filters? Cheers, Kees de Kooter http://www.boplicity.net On Sun, Feb 1, 2009 at 23:55, Ray Holme wrote: > I have a few web applications being moved to tomcat. They all share some > commonality - I use Firebird not MySQ

Re: Slightly OT: ApacheCon Europe 2009

2009-02-02 Thread Pieter Temmerman
Being a Belgian, I couldn't agree more! A wise man has spoken :-) After peeking at the schedule, I must say there are some very interesting talks and workshops. Unfortunately, I'm afraid my company isn't willing to pay for that trip. Therefor I was wondering whether there is any possibility to att