Re: SV: Icons ?

2010-03-09 Thread Ashika Umanga Umagiliya
Thanks Søren for the tip, But what are small-icon and large-icon elements functionality ? regards Søren Blidorf wrote: It's not a favicon. Like in the addressbar. If that's what you mean. For that use link rel=shortcut icon href=favicon.ico on your webpage. Søren -Oprindelig

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-09 Thread André Warnier
David Kerber wrote: ... It turns out that the shared vs lib issue doesn't matter (at least for my very simple case), and SOME of the config files can be used in both places, but others cannot. I didn't check all of the files in conf, but I did check server.xml, context.xml and web.xml, and

SV: SV: Icons ?

2010-03-09 Thread Søren Blidorf
Never used them. I think they can be used in the manager. Like the display name is shown in the manager!!! Søren -Oprindelig meddelelse- Fra: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Sendt: 9. marts 2010 09:11 Til: Tomcat Users List Emne: Re: SV: Icons ? Thanks Søren for

No gain after pre-compilation

2010-03-09 Thread Alexander Skwar
Hello. In the Tomcat 6.0 Jasper documentation at http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Production%20Configuration or http://LNK.by/c2H2, I read that the most performance gain can be achieved by pre-compiling the JSPs. Because of that, I simply gave that a try and can't find

Re: SV: Icons ?

2010-03-09 Thread Mark Thomas
On 09/03/2010 08:11, Ashika Umanga Umagiliya wrote: Thanks Søren for the tip, But what are small-icon and large-icon elements functionality ? That is defined in the Servlet spec - recommended reading (some would say mandatory reading) for people writing web applications. Mark

Re: No gain after pre-compilation

2010-03-09 Thread Markus Schönhaber
09.03.2010 10:25, Alexander Skwar: I didn't look at your build script, just a general remark below. Or is it just, that this shows, that our web app doesn't have a bottleneck in the JSP land (which would be a true statement - it communicates with some background databases and apps, which

Re: Secured photo rendering

2010-03-09 Thread André Warnier
David kerber wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Secured photo rendering But it should not, if the server sends the image with the appropriate no caching and/or expires HTTP headers. The headers don't matter, since the client has the

Re: JNDI Realm question

2010-03-09 Thread Felix Schumacher
Hi Leo, On Mon, 8 Mar 2010 14:11:50 -0700, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html Using Tomcat 6.0.24 on Windows Server 2003 Standard R2 SP2 1.

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-09 Thread David kerber
André Warnier wrote: David Kerber wrote: ... It turns out that the shared vs lib issue doesn't matter (at least for my very simple case), and SOME of the config files can be used in both places, but others cannot. I didn't check all of the files in conf, but I did check server.xml,

Re: No gain after pre-compilation

2010-03-09 Thread Markus Schönhaber
09.03.2010 12:43, Alexander Skwar: Do you happen to have any idea, why I did not notice any impovements in the 1st time load delay? Ie. why do I still have to wait 10s after having deployed, before the login screen is shown for the first time? At this point in time, the web app does not

Re: No gain after pre-compilation

2010-03-09 Thread Markus Schönhaber
09.03.2010 13:25, Markus Schönhaber: What you could check [...] Forgot to mention: it might be useful to increase the log-level of Jasper's Compiler class, i. e. add org.apache.jasper.compiler.Compiler.level=FINE to conf/logging.properties You should then see in Tomcat's logs whether

Re: Adding security constraint breaks sql functionality

2010-03-09 Thread Robert Jacobson
Chuck wrote: Not sure what else is going on, but the above is incorrect for your webapp - the context name is *not* part of the url-pattern. Oops! You're right of course. Thank you! I'm a little confused as to why having an incorrect url-pattern would cause the SQL to fail. About the

RE: jvm exits without trace

2010-03-09 Thread Taylan Develioglu
The switch is from APR to JIO. SSL practically doesn't get used. Almost all pages served are jsp or java, very little static files are served and keep-alive is on. where peak busy-threads used to be ~50 with APR, now it has become ~200 with JIO. Here are the connector definitions for reference

RE: Secured photo rendering

2010-03-09 Thread Joseph Morgan
Joseph Morgan wrote: I think the OP is asking how to prevent an image from being cached by a client and, I cannot imagine there is a way if the image is to display in a client at all, the image is now there, and the client can do anything it wants... But it should not, if the server sends

Re: JNDI Realm question

2010-03-09 Thread Stefan Zoerner
Hi Leo, in general I would recommend to use an LDAP tool like Apache Directory Studio in order to develop and verify the JNDI Realm specific parameters. http://directory.apache.org/studio/ If this works (authentication, authorization searches), add the parameters to your tomcat

RE: Secured photo rendering

2010-03-09 Thread Joseph Morgan
I think the OP is asking how to prevent an image from being cached by a client and, I cannot imagine there is a way if the image is to display in a client at all, the image is now there, and the client can do anything it wants... Angelo... am I correct? You want to prevent the image from

RE: Secured photo rendering

2010-03-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Secured photo rendering But it should not, if the server sends the image with the appropriate no caching and/or expires HTTP headers. The headers don't matter, since the client has the image in hand. Browsers, for example, allow a

Possible issues with Jasper in latest Tomcat release (6.0.24)

2010-03-09 Thread Sai Pullabhotla
Hello, We have been successfully running our JSF (Java Server Faces) application deployed to Tomcat 6.0.18. Due to some of the security issues that were fixed in the newer versions, we are trying to upgrade to 6.0.24. While most of the things seem to be working fine, we came across a specific

Re: Possible issues with Jasper in latest Tomcat release (6.0.24)

2010-03-09 Thread Mark Thomas
On 09/03/2010 14:08, Sai Pullabhotla wrote: I'm not sure if either of these are good workarounds, but would love to hear from you folks. https://issues.apache.org/bugzilla/show_bug.cgi?id=48627 6.0.26 should be out shortly. Mark

Unregister jdbc driver on tc shutdown

2010-03-09 Thread David kerber
As part of my migration to tc 6.0, my testing is turning up this notice when I shutdown the tc service on windows server 2003: SEVERE: A web application registered the JBDC driver [ianywhere.ml.jdbcodbc.IDriver] but failed to unregister it when the web application was stopped. To prevent a

RE: Multiple SSL certificates on same server

2010-03-09 Thread Martin Gainty
Good Morning Richard david is right each keystore is bound to one certificate each cert will work on only one IP, one domain and one set of credentials (the same credentials used for the keystore) you may want to consider domain2 aliasing (to the working SSL connector on domain1) ..your

Re: Secured photo rendering

2010-03-09 Thread David kerber
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Secured photo rendering But it should not, if the server sends the image with the appropriate no caching and/or expires HTTP headers. The headers don't matter, since the client has the image in hand.

Re: Possible issues with Jasper in latest Tomcat release (6.0.24)

2010-03-09 Thread Sai Pullabhotla
Thanks for the info, Mark. I tried the patch and it seems to working well. I will play with it some more the next couple of days. Do you know when the 6.0.26 with this patch will be available? Thanks. Regards, Sai Pullabhotla On Tue, Mar 9, 2010 at 8:12 AM, Mark Thomas ma...@apache.org

RE: jvm exits without trace

2010-03-09 Thread Caldarale, Charles R
From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] Subject: RE: jvm exits without trace where peak busy-threads used to be ~50 with APR, now it has become ~200 with JIO. To be expected when you have unlimited keep-alives configured. Each HTTP connection requires a separate thread

RE: Intermitten issues with SSL handshake

2010-03-09 Thread Honey Bajaj
Hi, Our application (hosted on tomcat5.5.9, jdk 1.6_4 using JSSE) connects to the external webservice. During SSL handshake, based on the following messages, it appears that tomcat is unable to send client certificate chain to the server after serverhello has been received but this issue

RE: Unregister jdbc driver on tc shutdown

2010-03-09 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Unregister jdbc driver on tc shutdown I think I understand what this is telling me, but how do I unregister the jdbc driver to prevent this warning? java.sql.DriverManager.deregisterDriver()

RE: Secured photo rendering

2010-03-09 Thread Joseph Morgan
Everyone is right... but... I think the OP has to better describe the need at hand. -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Tuesday, March 09, 2010 8:35 AM To: Tomcat Users List Subject: Re: Secured photo rendering Caldarale, Charles R wrote: From:

Re: Multiple SSL certificates on same server

2010-03-09 Thread David Smith
On 3/8/2010 6:46 PM, Richard Huntrods wrote: Does anyone know if it is possible, or has anyone done this: I have two applications running on a single server. The applications use different domains and URLs, so the single Tomcat instance can easily tell them apart. (Note: this part is

Re: No gain after pre-compilation

2010-03-09 Thread Alexander Skwar
Hello! Thanks a lot for the conformation. Do you happen to have any idea, why I did not notice any impovements in the 1st time load delay? Ie. why do I still have to wait 10s after having deployed, before the login screen is shown for the first time? At this point in time, the web app

RE: Intermitten issues with SSL handshake

2010-03-09 Thread Caldarale, Charles R
From: Honey Bajaj [mailto:hbaj...@sapient.com] Subject: RE: Intermitten issues with SSL handshake Our application (hosted on tomcat5.5.9, jdk 1.6_4 using JSSE) connects to the external webservice. Which means Tomcat is not involved. It's your webapp doing the negotiation, not Tomcat. I

RE: Intermitten issues with SSL handshake

2010-03-09 Thread Honey Bajaj
Thanks Charles, but I need to understand why intermittently it fails to pick up the alias and hence fails to deliver the certificate chain. Upgrade is in our roadmap but it will take couple of months to propagate it to production, any solution or workaround to resolve this issue is highly

RE: Intermitten issues with SSL handshake

2010-03-09 Thread Caldarale, Charles R
From: Honey Bajaj [mailto:hbaj...@sapient.com] Subject: RE: Intermitten issues with SSL handshake I need to understand why intermittently it fails to pick up the alias and hence fails to deliver the certificate chain. You'll need to discuss that with the developers of the webapp; again,

Re: Secured photo rendering

2010-03-09 Thread André Warnier
Joseph Morgan wrote: I think the OP is asking how to prevent an image from being cached by a client and, I cannot imagine there is a way if the image is to display in a client at all, the image is now there, and the client can do anything it wants... But it should not, if the server

Re: Unregister jdbc driver on tc shutdown

2010-03-09 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Unregister jdbc driver on tc shutdown I think I understand what this is telling me, but how do I unregister the jdbc driver to prevent this warning? java.sql.DriverManager.deregisterDriver()

Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
Hi, I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the tomcat_dbcp.jar has the commons files renamed, however I would prefer to use the commons jar files so I can use the class org.apache.commons.dbcp.BasicDataSource in my code. To do this, I deleted the tomcat_dbcp.jar

Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Hello All, This is my first Tomcat install, so sorry if this is a dumb question. Server Information Windows Server Standard 2008 Service Pack 2 64bit IIS Version 7.0.6000.16386 Tomcat Version 6.0.24 64 bit Isapi_redirector 1.2.30 amd64 I have my site up and running in Tomcat. I also have

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
Joshua Gregoire wrote: Hello All, This is my first Tomcat install, so sorry if this is a dumb question. Server Information Windows Server Standard 2008 Service Pack 2 64bit IIS Version 7.0.6000.16386 Tomcat Version 6.0.24 64 bit Isapi_redirector 1.2.30 amd64 Thank you for specifying

Re: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread André Warnier
Hi. I can't be categorical, because I have never used Tomcat on an Apple machine, but neither here nor in the attachments do I spot anything that might be Tomcat-related. If there anything which mentions Tomcat or Jakarta or Apache, please point it out. Malcolm Warren wrote: Not quite

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
r18test2.kcc.edu brings me to the root drectory of the site in IIS. I have a redirect set on the default page in IIS to go to http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2 The url in the browser then changes to http://10.10.11.90:8080/WebAdvisor2/WebAdvisor2 The uriworkermap.properties is set

RE: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24 I can't be categorical, because I have never used Tomcat on an Apple machine, but neither here nor in the attachments do I spot anything that might be Tomcat-related. It's definitely

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Mark Shifman
http://marc.info/?l=tomcat-userm=126772163323329w=2 This article claims you can set a startup option... but I haven't tried it. mas Dhiren Bhatia wrote: Hi, I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the tomcat_dbcp.jar has the commons files renamed, however I

RE: Multiple SSL certificates on same server

2010-03-09 Thread Richard Huntrods
On 03/08/2010 06:46 PM, Richard Huntrods wrote: Does anyone know if it is possible, or has anyone done this: I have two applications running on a single server. The applications use different domains and URLs, so the single Tomcat instance can easily tell them apart. (Note: this part is

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiren, On 3/9/2010 11:48 AM, Dhiren Bhatia wrote: I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the tomcat_dbcp.jar has the commons files renamed, however I would prefer to use the commons jar files so I can use the

RE: jvm exits without trace

2010-03-09 Thread Taylan Develioglu
Chuck, if that is true how can we explain I see only 637 busy threads on a server that is serving 2172 clients ? If every connection requires its own thread there should be 2172 threads. On Tue, 2010-03-09 at 16:40 +0100, Caldarale, Charles R wrote: From: Taylan Develioglu

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Konstantin Kolinko
2010/3/9 Dhiren Bhatia dhiren.for...@gmail.com: Hi, I'm trying to use the commons DBCP package with Tomcat 6.x. I know that the tomcat_dbcp.jar has the commons files renamed, however I would prefer to use the commons jar files so I can use the class org.apache.commons.dbcp.BasicDataSource in

RE: jvm exits without trace

2010-03-09 Thread Caldarale, Charles R
From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] Subject: RE: jvm exits without trace If every connection requires its own thread there should be 2172 threads. Only if the client *chooses* to maintain the keep-alive. Browsers and other clients are free to terminate the connection

Re: Adding security constraint breaks sql functionality

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 3/8/2010 1:31 PM, Robert Jacobson wrote: I managed to figure out a way to do it using a jdbc resource and sql:query and sql:update tags in a couple JSP files. Yuck :( Well, the code works wonderfully when I don't have any security

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Propes, Barry L
I was initially getting this error, too, with my first install, but rebuilt the Tomcat collection and finally vanquished it using the factory reference of org.apache.tomcat.dbcp.DataSourceConnectionFactory in there, even though I'd initially gotten an error not being able to create the factory

Re: jvm exits without trace

2010-03-09 Thread André Warnier
Taylan Develioglu wrote: Chuck, if that is true how can we explain I see only 637 busy threads on a server that is serving 2172 clients ? Woaw ! can you give us your trick ? If every connection requires its own thread there should be 2172 threads. Seriously now : when a thread is finished

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
André Warnier wrote: Joshua Gregoire wrote: r18test2.kcc.edu brings me to the root drectory of the site in IIS. I have a redirect set on the default page in IIS to go to http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2 The url in the browser then changes to

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
Here's the exception I get with the tomcat_dbcp.jar file in lib: java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.commons.dbcp.BasicDataSource When I remove the tomcat_dbcp.jar file from lib, I get this exception:

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Question 1: Not sure this server will always be used for just this site. Also, we will have three versions of this site on the server. 1 will be production other two will be test instances. Wasn't sure how tomcat handled multiple sites with multiple domain names. Question 2: The redirect is

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
First, thanks for your assistance with this, I appreciate the time and effort. It's quite possible I'm using it wrong. In IIS, I setup a site with root drive on C:\inetpub\r18test2.kcc.edu and I created two virtual directories, 1 for the isapi dll called jakarta and another for the

Re: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Malcolm Warren
Ok, thanks. In fact just after receiving this email from you I also got one from Apple saying that it's a bug and that they're trying to solve it. Sorry for the bother, and thanks again. Malcolm Il 09/03/10 18.25, Caldarale, Charles R ha scritto: From: André Warnier [mailto:a...@ice-sa.com]

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Caldarale, Charles R
From: Dhiren Bhatia [mailto:dhiren.for...@gmail.com] Subject: Re: Commons DBCP in Tomcat 6.x Why is it looking for org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory? For us to answer that, you need to pay attention to Konstantin's question: -Original Message- From: Konstantin

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
Joshua Gregoire wrote: First, thanks for your assistance with this, I appreciate the time and effort. No problem. The people here are all volunteers, who try to help because they like doing this. They also do it to the limit of their abilities. Unfortunately my abilities in terms of IIS

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
The Resource is defined as follows in the server.xml file: Context path=/myapp docBase=myapp debug=0 reloadable=true crossContext=true Resource name=jdbc/myserver auth=Container type=javax.sql.DataSource /

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Will do and thanks again!!! André Warnier a...@ice-sa.com 3/9/2010 2:19 PM Joshua Gregoire wrote: First, thanks for your assistance with this, I appreciate the time and effort. No problem. The people here are all volunteers, who try to help because they like doing this. They also do it

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Caldarale, Charles R
From: Dhiren Bhatia [mailto:dhiren.for...@gmail.com] Subject: Re: Commons DBCP in Tomcat 6.x Context path=/myapp docBase=myapp debug=0 reloadable=true crossContext=true Context elements should not be placed in server.xml: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

Memory settings

2010-03-09 Thread Mats Eklund
Hi, I'm using Tomcat 5.5 on Windows and am sometimes experiencing exceptions thrown in my web application: java.lang.OutOfMemoryError: Java heap space. I will profile my application to see if this can be avoided by changing the code, however, I'm also interested to know whether and how memory

Re: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Malcolm, On 3/9/2010 2:46 PM, Malcolm Warren wrote: In fact just after receiving this email from you I also got one from Apple saying that it's a bug and that they're trying to solve it. Sorry for the bother, and thanks again. You might get lucky

Re: Memory settings

2010-03-09 Thread André Warnier
Mats Eklund wrote: Hi, I'm using Tomcat 5.5 on Windows and am sometimes experiencing exceptions thrown in my web application: java.lang.OutOfMemoryError: Java heap space. I will profile my application to see if this can be avoided by changing the code, however, I'm also interested to know

RE: Memory settings

2010-03-09 Thread Caldarale, Charles R
From: Mats Eklund [mailto:mats.ekl...@yahoo.com] Subject: Memory settings I'm also interested to know whether and how memory available to the application can be configured. Memory isn't configured for individual webapps, it's done for the whole JVM. The standard settings (-Xmx, -Xms,

RE: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24 You might get lucky if you downloaded and installed the JRE directly from Sun You can't - Sun does not supply an OS X variant, since it's an almost-but-not-quite

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua, On 3/9/2010 2:25 PM, Joshua Gregoire wrote: First, thanks for your assistance with this, I appreciate the time and effort. Thanks for the thanks (mostly to others, not me just yet): as Andre' mentions, it's always nice when the community

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiren, On 3/9/2010 3:19 PM, Dhiren Bhatia wrote: The Resource is defined as follows in the server.xml file: As Chuck suggests, move Context from server.xml to META-INF/context.xml in your webapp. Context path=/myapp docBase=myapp

Re: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/9/2010 4:02 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24 You might get lucky if you downloaded and installed the JRE

RE: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Commons DBCP in Tomcat 6.x ResourceParams name=jdbc/myserver Again, as Chuck suggests, this is the long way of doing resource parameters. You can shove all this stuff into Resource, now. It's not the long way -

RE: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24 (Written in Objective C?) Ha. Don't laugh - our phones use it too. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/9/2010 7:57 AM, David kerber wrote: André Warnier wrote: Basically, if one of your hidden purposes was to investigate whether a convenient tactic for the migration from 5.5 to 6.0 would be to set up tomcat 6.0 so that, when tomcat 5.5

Re: Memory settings

2010-03-09 Thread Mats Eklund
Thanks a lot! In the Java tab I have the Java Options field with parameters such as -Dcatalina.home So I just add another few lines to it with the -Xms... parameters? There are a few fields below that field called: initial memory pool, maximum memory pool, thread stack size. Should I

RE: JNDI Realm question

2010-03-09 Thread Leo Donahue - PLANDEVX
I downloaded the Apache Directory Tool. Very nice. Much better than the ldap browser tool I was using. I was able to create a search using the Filter Editor, of the Apache Directory Tool, that returns sAMAccounts that I wanted. The filter: ( (objectCategory=person)

Native mode...

2010-03-09 Thread Mats Eklund
Hi, I'm running a webapp on Tomcat 5.5 on Windows Server 2003 and find statements in the log saying that the server could run faster if native libraries were installed. How can I install these libraries? If I rerun the installer, will I get a repair option where I can opt in this library?

RE: Memory settings

2010-03-09 Thread Caldarale, Charles R
From: Mats Eklund [mailto:mats.ekl...@yahoo.com] Subject: Re: Memory settings In the Java tab I have the Java Options field with parameters such as -Dcatalina.home So I just add another few lines to it with the - Xms... parameters? The -Xmx and -Xms settings should be specified in the

RE: Native mode...

2010-03-09 Thread Caldarale, Charles R
From: Mats Eklund [mailto:mats.ekl...@yahoo.com] Subject: Native mode... I'm running a webapp on Tomcat 5.5 on Windows Server 2003 and find statements in the log saying that the server could run faster if native libraries were installed. The performance difference between using APR and the

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Hey Chris, Here is the code for the meta redirect. META HTTP-EQUIV=REFRESH CONTENT=0;URL=http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2; The WebAdvisor2 app does do something behind the scenes once tomcat has it and the url ends up

Re: Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/9/2010 4:15 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24 (Written in Objective C?) Ha. Don't laugh - our phones

RE: Native mode...

2010-03-09 Thread Mats Eklund
Thanks! I'm not running SSL, so I guess I shouldn't bother. --- On Tue, 3/9/10, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com Subject: RE: Native mode... To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, March 9, 2010,

RE: Native mode...

2010-03-09 Thread Caldarale, Charles R
From: Mats Eklund [mailto:mats.ekl...@yahoo.com] Subject: RE: Native mode... Thanks! I'm not running SSL, so I guess I shouldn't bother. If you want to get rid of the INFO message, just comment out the AprLifecycleListener in server.xml. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua, On 3/9/2010 4:50 PM, Joshua Gregoire wrote: META HTTP-EQUIV=REFRESH CONTENT=0;URL=http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2; That looks fine. I hadn't seen that you already posted this in another reply before I wrote mine. Sorry to

RE: [OT] Nasty problem with headless mode in Tomcat 6-0-24

2010-03-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24 To me, Objective C is no more objectionable than C++: they're both horrible beasts. Objectionable C - the beginning of a new language: takes all the crap in C++

Re: Memory settings

2010-03-09 Thread André Warnier
Mats Eklund wrote: Thanks a lot! In the Java tab I have the Java Options field with parameters such as -Dcatalina.home So I just add another few lines to it with the -Xms... parameters? Basically, yes. But see below. There are a few fields below that field called: initial memory

RE: JNDI Realm question

2010-03-09 Thread Leo Donahue - PLANDEVX
Ok, it's working. I changed too many things at once, so I'm not sure which one fixed it. I shouldn't have done that, but I can't spend too much time on this, 3 days already. I changed server.xml to this: !-- This Realm uses Active Directory -- Realm

RE: JNDI Realm question

2010-03-09 Thread Leo Donahue - PLANDEVX
And thank you everyone for your help! -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Tuesday, March 09, 2010 3:18 PM To: 'Tomcat Users List' Subject: RE: JNDI Realm question Ok, it's working. I changed too many things at once, so I'm not

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread Joshua Gregoire
Hey Chris, That triggered a thought and I got it working. I had to make a change in our database application that this webapp communicates with and now I'm up and running. Thanks again to you and Andre for all your help!! Josh Christopher Schultz ch...@christopherschultz.net 3/9/2010

Re: Tomcat displays IP instead of DNS name

2010-03-09 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua, On 3/9/2010 4:50 PM, Joshua Gregoire wrote: META HTTP-EQUIV=REFRESH CONTENT=0;URL=http://r18test2.kcc.edu/WebAdvisor2/WebAdvisor2; That looks fine. I hadn't seen that you already posted this in another reply

Eclipse Galileo Tomcat 6 - Win Vista IIS HTTP Error 500.24 - Internal Server Error

2010-03-09 Thread henry23
I have a laptop with Win Vista SP2 installed on it, and on which all of the IIS features with IIS in the name have been turned off. I have Eclipse Galileo and Tomcat 6 installed as part of the setup to working through an online tutorial for Eclipse/Tomcat. I have the Java 5 EE SDK installed as

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Dhiren Bhatia
Thanks for the feedback, I've updated the Resource Tag and moved Context to META_INF. I've also changed the code to use javax.sql.DataSource. Is there any way to get the number of active/idle connections like you can with the BasicDataSource object's methods getNumActive etc? How do I get

Re: Eclipse Galileo Tomcat 6 - Win Vista IIS HTTP Error 500.24 - Internal Server Error

2010-03-09 Thread Konstantin Kolinko
2010/3/10 henry23 versm...@netzero.com: Then I tried this URL http://localhost:8080/ and got this error: HTTP Status 404 - / type Status report message / description The requested resource (/) is not available.

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-09 Thread Konstantin Kolinko
2010/3/10 Christopher Schultz ch...@christopherschultz.net: I don't mean to belabor the point, but upgrading from Tomcat 5.5 to 6.0 should have been this easy: 0. Stop Tomcat 5.5 1. Install Tomcat 6.0 2. Copy yourapp.war from Tomcat 5.5\webapps - Tomcat 6.0\webapps 3. Start Tomcat 6.0

Re: Possible issues with Jasper in latest Tomcat release (6.0.24)

2010-03-09 Thread Konstantin Kolinko
2010/3/9 Sai Pullabhotla sai.pullabho...@jmethods.com: Do you know when the 6.0.26 with this patch will be available? A release candidate for 6.0.26 has been proposed for voting several hours ago. See the thread [VOTE] Release build 6.0.26 on the dev list. You may participate in the testing.