Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Peter Stavrinides
I realize that SQL isn't exactly the most widely adhered to standard Perhaps! But then again before the new ANSI SQL standard (particularly the ANSI SQL/92 join syntax changes) this was far worse, MS-SQL 6.5 and Oracle (SQL/86 standard) were horrendous and migrating was not fun, these days

Servlet silently dropped

2009-01-19 Thread D. Barnhoorn
Hi, We have a strange problem at one of our clients in that Tomcat seems to drop a specific servlet while running. This happens very sporadically and is possibly connected with a high load. The server is a Sun sparc running Tomcat 5 in java 1.4.2_02 The application is based around one servlet

Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Ognjen Blagojevic
In our company we used MySQL and Postgres for several projects. Both DBMSs are mature and stable, and they are used worldwide for large-scale projects. Performance-wise we measured some differences, but they were not so big to notice them in the real-life loads. In other words, having some

Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Kees de Kooter
the only really major difference I can think of is T-SQL stored procedures, which have no counterpart in Postgres. PostgreSQL does have support for stored procedures, you can even choose from 4 languages out of the box and 3 more from addons: http://www.postgresql.org/download/products/4.html.

Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread matyg
I upgraded Tomcat 6.0.14 to 6.0.18. Using Beyond Compare, I have not seen any major differences between 6.0.14 deployment (that includes also my proprietry webapp) and 6.0.18 deployment, and everything work fine in v6.0.14 but I have problems in v6.018... The problem is with the login process

Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread Konstantin Kolinko
2009/1/19 matyg ma...@expand.com: set

Re: Servlet silently dropped

2009-01-19 Thread Konstantin Kolinko
2009/1/19 D. Barnhoorn d.barnho...@tfe.nl: Hi, We have a strange problem at one of our clients in that Tomcat seems to drop a specific servlet while running. This happens very sporadically and is possibly connected with a high load. The server is a Sun sparc running Tomcat 5 in java

disable behaviour for a worker in modjk

2009-01-19 Thread Gerhardus.Geldenhuis
Hi We are interested to know what the exact behaviour of modjk is with regards to current running requests when you disable a worker in the web interface. Does it drop all requests currently being processed by that worker or would it wait for requests to be finalized? The worker is part of a load

Re: Servlet silently dropped

2009-01-19 Thread D. Barnhoorn
Hi Konstantin, You are right it's one of the auxiliaries, forgot to add that. The init() completes, the servlet will also work for an indefinite amount of time - if we're lucky right up till the next update of the site. Otherwise we have too restart Tomcat to get the servlet up and running

Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread matyg
Yes, I know this page, but it is not understoodable from what is described how it should be done. They write there All such classes are visible to both Tomcat internal classes, and to web applications. What I understand is that I need to add classes to the system class loaded. Where do I do that?

Re: Writing a proxy transformation servlet.

2009-01-19 Thread Karl San Gabriel
sandy8531 wrote: Hi, I need to set up a proxy-server-with-transformation that frontends the clients and transforms the incoming request (HTTP post) and forwards it to the actual application server, and then get a response back and transforms it back into data format that the client understands

Resource Mixup when using AJP proxy (strange one)

2009-01-19 Thread Yuval Perlov
Setup: For one of our projects we are using httpd in front of tomcat. At the moment everything is routed via tomcat, static and dynamic content alike (except for one directory of images that resides outside the application). We are using AJP proxy. Symptoms: After running for a while (day

RE: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread Caldarale, Charles R
From: matyg [mailto:ma...@expand.com] Subject: Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue They write there All such classes are visible to both Tomcat internal classes, and to web applications. What I understand is that I need to add classes to the system class loaded.

RE: Servlet silently dropped

2009-01-19 Thread Caldarale, Charles R
From: D. Barnhoorn [mailto:d.barnho...@tfe.nl] Subject: Servlet silently dropped One of those servlets stops handling or maybe even getting requests that it has a mapping for. What does a thread dump show in this situation? What is odd is that: - it's always the same one Which narrows

Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread Pid
matyg wrote: Yes, I know this page, but it is not understoodable from what is described how it should be done. They write there All such classes are visible to both Tomcat internal classes, and to web applications. Classes placed inside a webapp should not be visible to the container. This is

GWT Sessions with Tomcat Session Replication?

2009-01-19 Thread bikkel bikkel
Good morning, I'm using GWT in a web application running on Tomcat 6. This is running fine for months. Today i was told to get the GWT application running in a Tomcat Cluster. Configuring Tomcat wasn't a problem, normal HttpSession are replicated between servers without problems when using

java6, jaf and multiple contexts in tomcat 5.5.27

2009-01-19 Thread Ronald Klop
Hi, I'm running a webapp which use jaf (java activation framework) for javamail. In the past it was possible to deploy different versions of our webapp in different contexts of one tomcat instance. Jaf always was a jar within our context. Since java 6 jaf is included in java 6 and we removed

jsvc error with tomcat and java 1.6 on os x

2009-01-19 Thread Adam Dajka
Dear List! I have an issue with both tomcat5 and tomcat6 on os x leopard when trying to use java 1.6. When I set JAVA_JVM_VERSION=1.6 in setenv.sh starting tomcat fails. I get the error message from jsvc into catalina.err: 14/01/2009 13:06:42 1465 jsvc error: Cannot dynamically link to /

Re: Memory Leak(?) causing tomcat to store 57610801 tomcat objects in ONE request

2009-01-19 Thread Leon Rosenberg
I'd like to thank everyone involved, as many of you suspected it turned out to be an infinite loop in a component of our webapp, i've tracked the issue down to the places where it is most possible and gave it over to the owner of the component. Thank all of you for great help finding it ! Leon

Re: JK connector fails with long URLs

2009-01-19 Thread br1
br1 wrote: Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Br1, br1 wrote: Do you think this limit will be increased in the next versions? In theory, no limit is imposed by the protocol itself. I would tend to think JK should at least support what

Re: JK connector fails with long URLs

2009-01-19 Thread Mladen Turk
br1 wrote: My suggestion to the developers here, could you please intercept the error and maybe return a 413 Request Entity Too Large message? This is what happens for instance with Ionics rewrite (see 31 october 2008 release,

RE: Multi-level context broken in Tomcat 6.0.18?

2009-01-19 Thread jclark42796
Caldarale, Charles R wrote: and the app fails to deploy. What messages do you see in the log concerning the deployment? - Chuck Thanks for the reply. BTW, this is attempting to deploy Confluence. Here's the error I get: {code} SEVERE: Exception starting filter sitemesh ... Caused

RE: java6, jaf and multiple contexts in tomcat 5.5.27

2009-01-19 Thread Caldarale, Charles R
From: Ronald Klop [mailto:ronald-mailingl...@base.nl] Subject: java6, jaf and multiple contexts in tomcat 5.5.27 But since it is part of java 6 it is also loaded by the system classloader (I think). Not also, it's loaded only by the system classloader. When we now load multiple contexts

Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Peter Stavrinides
Sorry my bad, absolutely correct. PostgreSQL does have support for stored procedures, you can even choose from 4 languages out of the box and 3 more from addons: http://www.postgresql.org/download/products/4.html. - Original Message - From: Kees de Kooter kdekoo...@gmail.com To: Tomcat

Re: Resource Mixup when using AJP proxy (strange one)

2009-01-19 Thread Konstantin Kolinko
2009/1/18 Yuval Perlov yu...@r-u-on.com: Setup: For one of our projects we are using httpd in front of tomcat. At the moment everything is routed via tomcat, static and dynamic content alike (except for one directory of images that resides outside the application). We are using AJP proxy.

Re: JK connector fails with long URLs

2009-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Br1, br1 wrote: Ok, I am starting to understand better what is happening, there seem to be two problems here. 1 - The max URL length for IIS 5 is about 2k or so. This cannot be changed probably. That's what my knee-jerk reaction was to

Re: GWT Sessions with Tomcat Session Replication?

2009-01-19 Thread Rusty Wright
Since this is com.google.gwt.user.server.rpc.RemoteServiceServlet, my first guess would be that that's where the problem is. Have you tried the gwt mailing list/forum? bikkel bikkel wrote: Good morning, I'm using GWT in a web application running on Tomcat 6. This is running fine for

RE: Multi-level context broken in Tomcat 6.0.18?

2009-01-19 Thread Caldarale, Charles R
From: jclark42796 [mailto:jclark42...@gmail.com] Subject: RE: Multi-level context broken in Tomcat 6.0.18? I don't think my app should have to know about the '#'? It shouldn't - if your app is coded properly. You should be using ServletContext.getResourceAsStream() to access the file. Are

Super newbie - Install on Apple 10.5.6 w/macports not quite working

2009-01-19 Thread gbhumphrey
Hi all, I've used macports to install tomcat6, and when I go to localhost:8080, I see the welcome the page. However severl things I think are odd are happening: 1) The files are all read-only - I have to change the perms on the tomcat6/webapps/ROOT/index.html to edit it. 2) I was editing it to

Re: disable behaviour for a worker in modjk

2009-01-19 Thread Rainer Jung
On 19.01.2009 13:40, gerhardus.geldenh...@gta-travel.com wrote: Hi We are interested to know what the exact behaviour of modjk is with regards to current running requests when you disable a worker in the web interface. Does it drop all requests currently being processed by that worker or would

Re: Super newbie - Install on Apple 10.5.6 w/macports not quite working

2009-01-19 Thread Edoardo Panfili
gbhumphrey ha scritto: Hi all, I've used macports to install tomcat6, and when I go to localhost:8080, I see the welcome the page. However severl things I think are odd are happening: 1) The files are all read-only - I have to change the perms on the tomcat6/webapps/ROOT/index.html to edit it.

undeploy fails with success

2009-01-19 Thread agent59624285
When i use the tomcat manager to undeploy a process the OK message however the process is only stopped not undeployed. it still remains in the list of applications and i can't remove it or upload a new war file to replace it. -- View this message in context:

Tomcat 6 binary in 64-bit

2009-01-19 Thread m zyzy
Could Tomcat 6 core binary be used in 64-bit Linux O/S ? which one of 64-bit JDK 5 or 6 is recommended ? FYI the machine's processor is a 2 core Intel with Intel 64 support, 16 GB DDR2 FB and 160Gb SATA2 SAS. And how many maximum heap -Xmx and PermGen space memory should be enough with 120mb of

RE: Tomcat 6 binary in 64-bit

2009-01-19 Thread Caldarale, Charles R
From: m zyzy [mailto:myz...@gmail.com] Subject: Tomcat 6 binary in 64-bit Could Tomcat 6 core binary be used in 64-bit Linux O/S ? Tomcat is pure Java (other than the APR connector), so it doesn't care what platform it's running on. You just have to run it under an appropriate JVM. which

Re: Tomcat 6 binary in 64-bit

2009-01-19 Thread Victor H De la Luz
On Mon, Jan 19, 2009 at 6:04 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: m zyzy [mailto:myz...@gmail.com] Subject: Tomcat 6 binary in 64-bit Could Tomcat 6 core binary be used in 64-bit Linux O/S ? Tomcat is pure Java (other than the APR connector), so it doesn't care

Re: undeploy fails with success

2009-01-19 Thread agent59624285
for some reason owner of the file was switched to root. Once it was back to tomcat everything started to work again agent59624285 wrote: When i use the tomcat manager to undeploy a process the OK message however the process is only stopped not undeployed. it still remains in the list of

Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Terence M. Bandoian
I don't have a great deal of experience with Postgres but I have been using MySQL since the days of mSQL and have found it to be fast, reliable, easy to install on both Linux and Windows and straightforward to administer. It provides good support for the ANSI standard and the documentation is

Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Alan Chaney
I stopped using MySQL when it was at version 4 because the transactional locking table (InnoDB) had different licensing restrictions than the rest of MySql (I'm not sure if this is true any longer.) We switched to Postgresql (of comparable price!) and basically found it well-documented,

Random Connection Closed Exceptions - Question to the code example

2009-01-19 Thread Stefan Riegel
I guess I understood the point with the Random Connection Closed Exceptions Problem. See at the end of http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html As I understand, only the connection itself must be protected this way. The statement and ResultSet must not. Is

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-19 Thread Alan Chaney
Hi Stefan You don't need to repeat the stmt.close();conn.close() etc in the 'try' body. The 'finally' by definition is ALWAYS called and that is where you should do the tidy up... Alan Chaney Stefan Riegel wrote: I guess I understood the point with the Random Connection Closed Exceptions

keepalive over mod_proxy_ajp?

2009-01-19 Thread Stefan Textor
Hi, we are using Tomcat 5.5.26 with mod_proxy_ajp and apache httpd 2.2. The dynamic content is served by tomcat and the static content is served by httpd. May there be any traffic from tomcat itself or mod_proxy or httpd to the browser before the response from my webapp is send? I mean some

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-19 Thread Stefan Riegel
Thanks Alan, just to make the thing really clear. You propose code like this: public void execute() { Connection conn = null; Statement stmt = null; ResultSet rs = null; Context envContext = null; try {

root context path - war file not unwar'd

2009-01-19 Thread AD
Hello, I have an issue where inside a host i set the context path of / to a directory inside webapps (myapp). The issue is when i delete the directory , on first startup the directory is not available yet (not unwar'd yet it appears) so it auto-sets the root context path to the default tomcat

Re: Super newbie - Install on Apple 10.5.6 w/macports not quite working

2009-01-19 Thread gbhumphrey
Hey thanks, However I have a whole new set of issues that led me to get Tomcat6 working. I found /Library/LaunchDaemns/org.apache.tomcat.tomcat6.plist which I believe was launching and calling an older version of Tomcat. So, I renamed it so it wouldn't be called. In that dir there is also

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-19 Thread Alan Chaney
Hi Stefan I went and read the comments more carefully and it seems to me that the proposed solution is an attempt to avoid a race condition between issuing the 'close' in one thread and then it being closed again whilst its being used in another thread. If the problem is closing it twice

Memory Leak

2009-01-19 Thread Mohit Anchlia
tomcat 6: Is there a way to look at memory leaks in tomcat? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Memory Leak

2009-01-19 Thread Jose Vicente Nunez Zuleta
Hello Mohit, You can try to check how the process is running using Jconsole or jstack, jmap (granted if you have JDK 6.0). Read the documentation of this tools to figure out the meaning of the output: *

Re: jsvc error with tomcat and java 1.6 on os x

2009-01-19 Thread Bill Barker
There are some recent fixes to jsvc on OS/X in the commons SVN repository, but they haven't been released yet. You could try those and see if it helps. There is more info from the commons developer's list archive at http://markmail.org/message/z7klsse5tylcv5es. Adam Dajka

RE: root context path - war file not unwar'd

2009-01-19 Thread Caldarale, Charles R
From: AD [mailto:straightfl...@gmail.com] Subject: root context path - war file not unwar'd I have an issue where inside a host i set the context path of / to a directory inside webapps (myapp). This is bad practice, and gets your webapp deployed twice. Sounds like you also didn't remove

Re: jsvc error with tomcat and java 1.6 on os x

2009-01-19 Thread m zyzy
try using the core binary download , extract it and run the startup script inside the /bin folder of extracted folder , test it on the browser http://localhost:8080 . to stop the server , use the shutdown script . Make sure you have set the JAVA_HOME,PATH of java /bin/ , CLASSPATH , and

Problem in APR installation.

2009-01-19 Thread Pswami Vivekananda
Hey everybody, I'm trying to get the apr-1.2.8 work with apache-tomcat-6.0.16 which comes with tomcat-native-1.1.12. I have a Sun Sparc m5000 box with solaris 10 on it. The first time i compiled the apr-native in tomcat directly and thus got the error no apr found. So then i downloaded

Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread matyg
Ok, I have removed all the setClasspath changes I did, and made sure that all the 'common' JARs are under tomcat_home/lib. I ran my webapp and I received the following exception: SEVERE: Error deploying configuration descriptor MyWebApp.xml java.lang.NoClassDefFoundError: