Re: Getting a heap dump on OOME from Tomcat-as-a-service on Windows?

2010-02-02 Thread Peter Crowther
On 1 February 2010 22:23, Laird Nelson ljnel...@gmail.com wrote: Gave Everyone full control of the C:\crap directory.  Configured Tomcat through the service monitor to also append -XX:HeapDumpPath=C:\crap to the list of Java options.  Started and stopped the service.  Ran the build. Heap

Re: Tomcat 100% CPU usage after moving from Java 5 to 6

2010-02-02 Thread Jesse Klaasse
Christopher Schultz-2 wrote: Can you give us a timestamp for when the trouble started? Reading GC output is pretty tedious. I believe the trouble started around 15 - 20 minutes before the end of the gc log, so that would be from ~61h36m. Christopher Schultz-2 wrote: Also, what

changing trace level of 'internal' tomcat logs

2010-02-02 Thread Lominchar García , José Luis
Hi, ¿does somebody knows what I have to do to change trace level of jakarta_service_date.log and stdout_date.log from 'info' to 'warn'? Thanks! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: changing trace level of 'internal' tomcat logs

2010-02-02 Thread Konstantin Kolinko
2010/2/2 Lominchar García, José Luis jllo...@mapfre.com: Hi, ¿does somebody knows what I have to do to change trace level of jakarta_service_date.log and stdout_date.log from 'info' to 'warn'? jakarta_service_date.log : Start All Programs Apache Tomcat 6.0 Configure Tomcat then switch

one webapp - two security constraints

2010-02-02 Thread rjgallac
Hi I was hoping someone could help. I have searched the forums, tomcat docs and various other sites and cant see anyone else looking to try this. I'm looking to deploy one webapp with two urls. depending on the url one will be asked to enter username and password and the other will not. I was

RE: Trouble redeploying WAR that uses SQL Server integrated authentication

2010-02-02 Thread Dieter Decavele
My guess is the warning you get is because the web app loads your jdbc driver class. This eventually gets registered with DriverManager but this class has been loaded by the containers classloader. If the container wouldn't forcibly unregister this your webapp loaded classes would still be

NullPointerException in MimeHeaders

2010-02-02 Thread Bertalan Kis
Hi, At my company we can see NullPointerExceptions in the catalina.out files (see the attachments). We use Tomcat 6.0.14 on our 4 servers to handle web service calls from another tier of the application. The errors occur when the soap call was processed and ready to send the prepared response

RE: NullPointerException in MimeHeaders

2010-02-02 Thread Bertalan Kis
It seems attachments are disabled. Here are the stacktraces: Jan 29, 2010 1:13:20 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate doGet SEVERE: caught throwable java.lang.NullPointerException at org.apache.tomcat.util.http.MimeHeaders.setValue(MimeHeaders.java:269) at

RE: NullPointerException in MimeHeaders

2010-02-02 Thread Caldarale, Charles R
From: Bertalan Kis [mailto:bertalan@razorfish.com] Subject: RE: NullPointerException in MimeHeaders com.dnaO2.openspace.client.filter.MetadataRequestSynchFilter.doFilter (MetadataRequestSynchFilter.java:54) The above is the spot you should be looking at, since that's the only stack

RE: NullPointerException in MimeHeaders

2010-02-02 Thread Bertalan Kis
Hi, That piece of code was not changed since 2008 March and the application was working fine with this code more than half year. I can't see any suspicious in that class, maybe you can: public void doFilter(ServletRequest request, ServletResponse response, FilterChain

RE: one webapp - two security constraints

2010-02-02 Thread Caldarale, Charles R
From: rjgallac [mailto:rgallac...@ufi.com] Subject: one webapp - two security constraints You didn't bother to tell us the version of Tomcat you're using, so the following comments are based on using a 6.0.x level (but should also apply to 5.5.x). Host name=host1 appBase=webapps/files

RE: NullPointerException in MimeHeaders

2010-02-02 Thread Caldarale, Charles R
From: Bertalan Kis [mailto:bertalan@razorfish.com] Subject: RE: NullPointerException in MimeHeaders I can't see any suspicious in that class, maybe you can: The fact that the filter /sometimes/ chooses synchronization makes me very suspicious, especially since the failure occurred on

RE: NullPointerException in MimeHeaders

2010-02-02 Thread Bertalan Kis
Maybe, but I think this means that we should see the errors on all the servers and not only some of them. Currently we have 2 servers with errors and 2 without errors. It will change when we restart tomcats. Bertalan Kis -Original Message- From: Caldarale, Charles R

Threadlocal problem

2010-02-02 Thread Malcolm Warren
SEVERE: A web application created a ThreadLocal with key of type [org.apache.commons.lang.builder.ToStringStyle$1] (value [org.apache.commons.lang.builder.tostringstyl...@66a37d72]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was

Re: Threadlocal problem

2010-02-02 Thread Mark Thomas
On 02/02/2010 13:31, Malcolm Warren wrote: SEVERE: A web application created a ThreadLocal with key of type [org.apache.commons.lang.builder.ToStringStyle$1] (value [org.apache.commons.lang.builder.tostringstyl...@66a37d72]) and a value of type [java.util.HashSet] (value [[]]) but failed to

Re: Tomcat dies suddenly

2010-02-02 Thread Carl
Chris, There appears to be some bling that openSuse has that Slackware doesn't but otherwise they seem to be the same. I tried openSuse because 1) Dell stated they had tested their servers with that distribution and 2) Sun stated that the Java distribution had been tested using openSuse. My

Re: Threadlocal problem

2010-02-02 Thread Cyrille Le Clerc
Hello, Your threadLocal variable is created by the reflectionToString feature of Jakarta Commons Lang ToStringBuilder (1). This thread local variable seems to be used to prevent infinite recursion when ToStringBuilder traverse the objects. I didn't see yet a way (servlet filter, etc) to cleanup

Re: Threadlocal problem

2010-02-02 Thread Malcolm Warren
Thanks for your very helpful answers. I shall gradually cut out reflectionToString: unfortunately I've used it quite a lot, because it was useful! Thanks again, Malcolm Warren Cyrille Le Clerc ha scritto: Hello, Your threadLocal variable is created by the reflectionToString feature of

how to modify classpath on tomcat4.1.27

2010-02-02 Thread bhavik shah
HI I have installed tomcat 4.1.27 as a windows service. I want to modify the classpath and add the following line: c:\program files\documentum\shared\custom.jar Where should I modify the classpath? thanks bhavik

Fw: Serialization error while deploying Axis2 Cluster

2010-02-02 Thread Shailesh Potnis
Hi Tomcat Users: I encountered a problem while using Axis2 cluster and asked for help in axis2 users group but seems like this may be related to Tomcat Tribes framework. I am getting the following error when I deploy a sinple service version to axis2 cluster. Here is the error Could not

Re: How to do error page forwarding...

2010-02-02 Thread Dan Armbrust
1) - Is Tomcats handling of an error page defined in web.xml broken when a response has already been committed? Inconsistent? Yes. Broken? Maybe. 2) - Is there anything I can do to force the browser to a proper error page after a response has been committed? No. Adding the error page to

Re: how to modify classpath on tomcat4.1.27

2010-02-02 Thread Pid
On 02/02/2010 15:05, bhavik shah wrote: HI I have installed tomcat 4.1.27 as a windows service. Why so old, and why not the most recent version in that series? I want to modify the classpath and add the following line: c:\program files\documentum\shared\custom.jar Where should I modify

Re: Currency code not supported, gcc 4.1, and related issues

2010-02-02 Thread Pid
On 01/02/2010 20:18, Caldarale, Charles R wrote: From: Peter Smith [mailto:p...@citadelsecure.com] Subject: Currency code not supported, gcc 4.1, and related issues java.lang.IllegalArgumentException: The currency code, £, is not supported. at

RE: 64bit IIS 7 and ISAPI Connector Question

2010-02-02 Thread Luis Esquivel
Thank you for your answer. We are trying that. -Original Message- From: Jordan Michaels [mailto:jor...@viviotech.net] Sent: Monday, February 01, 2010 4:47 PM To: Tomcat Users List Subject: Re: 64bit IIS 7 and ISAPI Connector Question Not personally, no (which was disappointing). I'd

Re: 64bit IIS 7 and ISAPI Connector Question

2010-02-02 Thread Jordan Michaels
You're welcome. Let us know how it goes. =) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Railo Community Distributions Luis Esquivel wrote: Thank you for your answer. We are trying that. -Original Message- From: Jordan

Re: Tomcat dies suddenly

2010-02-02 Thread Dan Armbrust
Carl, Maybe I missed it, but you still haven't clarified what you mean by tomcat stops. Does Tomcat do an orderly shutdown? Does Tomcat appear to freeze (stop answering new requests) Does the JVM hosting Tomcat crash? Assuming you have a JVM crash issue here... you should try other JVMs (32

Re: Tomcat 100% CPU usage after moving from Java 5 to 6

2010-02-02 Thread Dan Armbrust
Well, as I said, Tomcat is working much more stable now than it did before. However, once in a few days it still becomes unresponsive, while CPU usage stays incredibly low. Unresponsive, meaning what, exactly? If the CPU is idle, but your webapp isn't returning a response... it seems to

Re: tomcat memory usage

2010-02-02 Thread Dan Armbrust
FYI - look out for this WRT MaxNewSize and NewRatio: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6862534 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Active DataSource Connection count never decreasing with PostgreSQL

2010-02-02 Thread Alexander Hartner
I have developed an application which accesses a database via Hibernate as well as directly via JDBC (datasource). The datasource is defined in the server.xml file as follows: Context path= docBase=AddressBookServer.war Environment name=LicenseFile value=Licensekey.license

tomcat can not work on vista sometimes

2010-02-02 Thread chenll
hi, i installed tomcat 6 and jre 1.6 on Windows Vista. i started tomcat by clicking the file of bin\tomcat6.exe, and then type http://localhost:8080 in IE explorer, sometims it can work and link to webpage of Apache Tomcat, but sometimes i failed and it showed that failed to connect.

Re: tomcat memory usage

2010-02-02 Thread Carl
Dan, These are the Javs opts currently set in catalina.sh: JAVA_OPTS=-Xms512m -Xmx512m -XX:PermSize=384m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/usr/local/tomcat/logs Do

Re: 64bit IIS 7 and ISAPI Connector Question

2010-02-02 Thread Jordan Michaels
To clarify, did you get the 64-bit connector working with IIS7.5 and W2k8 64-bit? Thanks for taking the time to post this. =) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Railo Community Distributions Luis Esquivel wrote: Ok,

Re: tomcat can not work on vista sometimes

2010-02-02 Thread Alexander Hartner
Please have a look in the Windows Event log and the Tomcat log for any error messages ? On 2 Feb 2010, at 19:49, chenll wrote: hi, i installed tomcat 6 and jre 1.6 on Windows Vista. i started tomcat by clicking the file of bin\tomcat6.exe, and then type http://localhost:8080 in IE

Re: Tomcat 100% CPU usage after moving from Java 5 to 6

2010-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse, On 2/2/2010 3:23 AM, Jesse Klaasse wrote: Christopher Schultz-2 wrote: Can you give us a timestamp for when the trouble started? Reading GC output is pretty tedious. I believe the trouble started around 15 - 20 minutes before the end

Re: tomcat can not work on vista sometimes

2010-02-02 Thread André Warnier
chenll wrote: hi, i installed tomcat 6 and jre 1.6 on Windows Vista. i started tomcat by clicking the file of bin\tomcat6.exe, and then type http://localhost:8080 in IE explorer, sometims it can work and link to webpage of Apache Tomcat, but sometimes i failed and it showed that failed to

Can't Disable Apache Tomcat

2010-02-02 Thread A. Wolf
Tomcat is set to disabled on my Vista machine. But it still appears in the taskbar and in task manager. How do I prevent it from loading entirely at startup? I've looked under Admin Tools -- Services, but it's listed as Disabled there. This is really bothering me. I'm about ready to

Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
I am still unable to get Tomcat to dump heap when it encounters an OutOfMemoryError. My StackOverflow topic sums up what I've tried so far: http://stackoverflow.com/questions/2172220/can-i-get-tomcat-running-as-a-service-to-dump-heap I'm using the graphical program that comes up when you select

Re: Can't Disable Apache Tomcat

2010-02-02 Thread Len Popp
What exactly is it that appears in the Task Manager? Is it tomcat6.exe? Or tomcat6w.exe? Or java.exe? tomcat6.exe is the Tomcat service. java.exe appears if you run Tomcat using startup.bat. tomcat6w.exe is the Monitor Tomcat program. It is not Tomcat, it is a separate small program for managing

Tomcat 6.0 Manager role not working on RHEL 5.4

2010-02-02 Thread Ajay Tomar
Hi, I installed tomcat 6 on RHEL 5.4 and would like to get access to manager app. But I am not able to get it work even after modifying tomcat-users.xml.. Here is the output --- tomcat-users !-- role rolename=tomcat/ role rolename=manager/ role rolename=role1/ user username=tomcat

Re: Tomcat 6.0 Manager role not working on RHEL 5.4

2010-02-02 Thread Jordan Michaels
Looks like your manager and user entries are still within the comments. I'd also recommend changing the username and password to something much more obscure. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Railo Community

Re: Tomcat 6.0 Manager role not working on RHEL 5.4

2010-02-02 Thread André Warnier
Ajay Tomar wrote: Hi, I installed tomcat 6 on RHEL 5.4 and would like to get access to manager app. But I am not able to get it work even after modifying tomcat-users.xml.. Here is the output --- tomcat-users See these little squibbles : !-- --- **here** role rolename=tomcat/ role

Re: Problem on Tomcat 6.0.20

2010-02-02 Thread Richard Sickler
On Mon, Feb 1, 2010 at 7:12 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Richard Sickler [mailto:richard.sick...@avagotech.com] Subject: Problem on Tomcat 6.0.20 when I copy the war, (WebApplication2.war) to c:\Program Files\Apache Software Foundation\Tomcat

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Caldarale, Charles R
From: Laird Nelson [mailto:ljnel...@gmail.com] Subject: Still unable to get a heap dump from Tomcat running on Windows as a service I am still unable to get Tomcat to dump heap when it encounters an OutOfMemoryError. You appear to be unique in that regard, since no one else seems to be

RE: Problem on Tomcat 6.0.20

2010-02-02 Thread Caldarale, Charles R
From: Richard Sickler [mailto:richard.sick...@avagotech.com] Subject: Re: Problem on Tomcat 6.0.20 I removed a file and a directory named WebApplication2, and that cleared up that problem. On to the next undocumented feature! It's fully documented: Context elements may be explicitly

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Still unable to get a heap dump from Tomcat running on Windows as a service I would try removing the existing Tomcat service, reinstalling the current (6.0.24) Tomcat from the .zip download I would also create a bin/setenv.bat script to set the

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
On Tue, Feb 2, 2010 at 4:19 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Laird Nelson [mailto:ljnel...@gmail.com] Subject: Still unable to get a heap dump from Tomcat running on Windows as a service I am still unable to get Tomcat to dump heap when it encounters an

RE: Can't Disable Apache Tomcat

2010-02-02 Thread Caldarale, Charles R
From: A. Wolf [mailto:a.lup...@gmail.com] Subject: Can't Disable Apache Tomcat Tomcat is set to disabled on my Vista machine. That's the Tomcat service, not the GUI interface. But it still appears in the taskbar and in task manager. That's the GUI management tool. How do I prevent it

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Sateesh Narahari
The default user account 'System' has some weird permission state on Windows, so try the admin user. Also, review the event log ( Windows Log, Security ) if it yields any information. I believe you can also download resource kit from Microsoft that has tools that lets you watch all objects

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Caldarale, Charles R
From: Laird Nelson [mailto:ljnel...@gmail.com] Subject: Re: Still unable to get a heap dump from Tomcat running on Windows as a service The one selected by default when one chooses the Log On tab of the graphical Tomcat monitor. The value of the label is: Local System account. That radio

RE: Can't Disable Apache Tomcat

2010-02-02 Thread Jeffrey Janner
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, February 02, 2010 3:36 PM To: Tomcat Users List Subject: RE: Can't Disable Apache Tomcat From: A. Wolf [mailto:a.lup...@gmail.com] Subject: Can't Disable Apache Tomcat Tomcat is set to disabled on my Vista

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
On Tue, Feb 2, 2010 at 4:40 PM, Sateesh Narahari sateesh.narah...@gmail.com wrote: The default user account 'System' has some weird permission state on Windows, so try the admin user. OK; leery of running my Tomcat as the administrator, but am not up to speed on which Windows users would be

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
On Tue, Feb 2, 2010 at 4:41 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: That's not a user account, that's the system account, with pretty much no privileges to do anything. ...which is pretty much how I like it. :-) I'm not a Windows guy, so bear with me for a moment: since

RE: 64bit IIS 7 and ISAPI Connector Question

2010-02-02 Thread Luis Esquivel
Actually, I got the 32-bit connector working on W2k8 64 bit with IIS7.5. I don't mind posting at all! If it helps someone out there cool. -Original Message- From: Jordan Michaels [mailto:jor...@viviotech.net] Sent: Tuesday, February 02, 2010 1:14 PM To: Tomcat Users List Subject: Re:

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Caldarale, Charles R
From: Laird Nelson [mailto:ljnel...@gmail.com] Subject: Re: Still unable to get a heap dump from Tomcat running on Windows as a service I'm not a Windows guy, so bear with me for a moment: I'm not sure there's anyone who really understands Windows security. Or is there some other

Re: tomcat memory usage

2010-02-02 Thread Dan Armbrust
Nope, but I'm not an expert with these (at all). I use something pretty similar, the only real difference is that I haven't turned on the CMSIncrementalMode. My apps haven't shown an issue with long pause times, so I haven't researched/tested it yet. Dan On Tue, Feb 2, 2010 at 1:55 PM, Carl

Re: how to modify classpath on tomcat4.1.27

2010-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bhavik, On 2/2/2010 10:05 AM, bhavik shah wrote: HI I have installed tomcat 4.1.27 as a windows service. I want to modify the classpath and add the following line: c:\program files\documentum\shared\custom.jar Where should I modify the

Re: Active DataSource Connection count never decreasing with PostgreSQL

2010-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander, On 2/2/2010 2:44 PM, Alexander Hartner wrote: I have developed an application which accesses a database via Hibernate as well as directly via JDBC (datasource). The datasource is defined in the server.xml file as follows: Context

Re: Problem on Tomcat 6.0.20

2010-02-02 Thread Dan Armbrust
On Tue, Feb 2, 2010 at 3:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Richard Sickler [mailto:richard.sick...@avagotech.com] Subject: Re: Problem on Tomcat 6.0.20 I removed a file and a directory named WebApplication2, and that cleared up that problem.  On to the next

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread André Warnier
Laird Nelson wrote: On Tue, Feb 2, 2010 at 4:40 PM, Sateesh Narahari sateesh.narah...@gmail.com wrote: The default user account 'System' has some weird permission state on Windows, so try the admin user. OK; leery of running my Tomcat as the administrator, but am not up to speed on which

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Peter Crowther
On 2 February 2010 21:48, Laird Nelson ljnel...@gmail.com wrote: OK; leery of running my Tomcat as the administrator, but am not up to speed on which Windows users would be better choices.  I naturally assumed that the local user selected by default was appropriate. LocalSystem can impersonate

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Still unable to get a heap dump from Tomcat running on Windows as a service I just tried forcing an OOME dump with Tomcat running under the Local System Account - and it worked. This is under Vista 64, not Server 2K3, and starting with the .zip

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread André Warnier
Caldarale, Charles R wrote: ... You might try changing your log level and see if something interesting shows up. I guess that phrases like that one explain why one talks about the Art of computer programming, and not the Science of ditto. That, along with the fact that in this thread, the

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Filip Hanik - Dev Lists
set the HeapDumpPath option, so you can actually write to a location on disk On 02/02/2010 02:19 PM, Caldarale, Charles R wrote: From: Laird Nelson [mailto:ljnel...@gmail.com] Subject: Still unable to get a heap dump from Tomcat running on Windows as a service I am still unable to get Tomcat

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Still unable to get a heap dump from Tomcat running on Windows as a service I guess that phrases like that one explain why one talks about the Art of computer programming, and not the Science of ditto. Knuth knew whereof he spoke.

RE: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Caldarale, Charles R
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com] Subject: Re: Still unable to get a heap dump from Tomcat running on Windows as a service set the HeapDumpPath option, so you can actually write to a location on disk You're late to the party; that's already been tried, to no

Re: Active DataSource Connection count never decreasing with PostgreSQL

2010-02-02 Thread Alexander Hartner
Hi Christopher, Thanks for your suggestion. On 2 Feb 2010, at 22:48, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander, On 2/2/2010 2:44 PM, Alexander Hartner wrote: I have developed an application which accesses a database via Hibernate as well as

RE: Active DataSource Connection count never decreasing with PostgreSQL

2010-02-02 Thread Caldarale, Charles R
From: Alexander Hartner [mailto:a...@j2anywhere.com] Subject: Re: Active DataSource Connection count never decreasing with PostgreSQL Put this into either META-INF/context.xml within your WAR/webapp directory, or into CATALINA_BASE/Catalina/[hostname]/ROOT.xml Remove the path and

Re: Active DataSource Connection count never decreasing with PostgreSQL

2010-02-02 Thread Alexander Hartner
The URL is interpreted by the JDBC driver / database. If you take a look at the database documentation even tilde ~ is suggested. Otherwise the database is relative to the working directory http://www.h2database.com/html/cheatSheet.html However this has got nothing to do with my issue which is

Re: Active DataSource Connection count never decreasing with PostgreSQL

2010-02-02 Thread Alexander Hartner
The following log message is reported during startup : 2010-Feb-03 00:34:36 [JCLLoggerAdapter - INFO] Using datasource: java:/comp/env/jdbc/AddressBookDB AbandonedObjectPool is used (org.apache.tomcat.dbcp.dbcp.abandonedobjectp...@1f4175) LogAbandoned: true RemoveAbandoned: true

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Laird Nelson
Thanks for sticking with me, guys. No luck so far. I will begin the laborious process of requesting a reinstall. :-( (Incidentally, no service logs either, anywhere; this is all very bizarre.) L On Tue, Feb 2, 2010 at 7:01 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From:

Hi

2010-02-02 Thread Mohd Ismail
Question: How to host more then one website on Tomcat 5.5 web server?

Re: NullPointerException in MimeHeaders

2010-02-02 Thread Konstantin Kolinko
2010/2/2 Bertalan Kis bertalan@razorfish.com: It seems attachments are disabled. Here are the stacktraces: Jan 29, 2010 1:13:20 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate doGet SEVERE: caught throwable java.lang.NullPointerException        at

Re: Problem on Tomcat 6.0.20

2010-02-02 Thread Mark Thomas
On 02/02/2010 22:57, Dan Armbrust wrote: On Tue, Feb 2, 2010 at 3:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Richard Sickler [mailto:richard.sick...@avagotech.com] Subject: Re: Problem on Tomcat 6.0.20 I removed a file and a directory named WebApplication2, and that

Re: Hi

2010-02-02 Thread Mark Thomas
On 03/02/2010 05:08, Mohd Ismail wrote: Question: How to host more then one website on Tomcat 5.5 web server? http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html - To unsubscribe, e-mail:

Re: save session information

2010-02-02 Thread Mark Thomas
On 03/02/2010 05:28, Ashish Kulkarni wrote: Hi Is it possible with tomcat to save session information in database or some where which can be retrieved after restart, for example raisin provides symmetrical session which can be saved to database or file system Hi. Yes.

Re: How to find network user id of user in servlet

2010-02-02 Thread Mark Thomas
On 03/02/2010 05:29, Ashish Kulkarni wrote: Hi How to find network user id who is logged into windows from servlet, there is a method in request getRemoteUser(), but it is returning null, Tomcat doesn't support that directly. You need a 3rd party authentication mechanism that supports windows

RE: How to find network user id of user in servlet

2010-02-02 Thread Hadole, Nishant IN BOM SISL
Using mod_auth_sspi.so module for Apache for windows authentication will help. Configuration changes - LoadModule sspi_auth_module modules/mod_auth_sspi.so Location /X/servlet/ SSPIAuth On AllowOverride None Order allow,deny Allow from all AuthName

RE: changing trace level of 'internal' tomcat logs

2010-02-02 Thread Lominchar García , José Luis
Hi What bin/*.exe corresponds to 'Start All Programs Apache Tomcat 6.0 Configure Tomcat' ? java.util.logging.ConsoleHandler.level = WARNING (in conf\logging.properties) didn't work .. Thanks! -Mensaje original- De: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Enviado el:

Re: How to find network user id of user in servlet

2010-02-02 Thread André Warnier
Ashish Kulkarni wrote: Hi How to find network user id who is logged into windows from servlet, there is a method in request getRemoteUser(), but it is returning null, This will definitely help : http://www.ioplex.com/ Look for Jespa It is free up to a number of users, and very reasonably

Re: changing trace level of 'internal' tomcat logs

2010-02-02 Thread André Warnier
Lominchar García wrote: Hi What bin/*.exe corresponds to 'Start All Programs Apache Tomcat 6.0 Configure Tomcat' ? bin/tomcat?w.exe (where ? is the version of tomcat) - To unsubscribe, e-mail: