SV: Icons ?

2010-03-08 Thread Søren Blidorf
It's not a favicon. Like in the addressbar. If that’s what you mean. For that use on your webpage. Søren -Oprindelig meddelelse- Fra: Mark Thomas [mailto:ma...@apache.org] Sendt: 9. marts 2010 08:45 Til: Tomcat Users List Emne: Re: Icons ? On 09/03/2010 01:36, Ashika Umanga Umagiliya

Re: Icons ?

2010-03-08 Thread Mark Thomas
On 09/03/2010 01:36, Ashika Umanga Umagiliya wrote: Greetings friends, Has the icon usage feature implemented in Tomcat : /icons/small-icon.gif /icons/large-icon.ico This wont show any icon in my browser? Where are you expecting them to show up? Mark ---

Comet event.setTimeOut Bug!! Still no answer

2010-03-08 Thread Animesh Sonkar
Hi, I am not sure why my previous mail was not answered? I hope that i will get the reply this time So here is the same query again... Was curious what event.setTimeOut(timeOutValue) means on a comet event. 1. Does it mean that the request will timeout after timeOutValue and the server will clos

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
> From: Shirely [mailto:shir...@powerelab.com] > Subject: Re: Tomcat response Blank Page > > What is the access log? How to check it? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access%20Log%20Valve - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWI

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
> From: Shirely [mailto:shir...@powerelab.com] > Subject: RE: Tomcat response Blank Page > > I don't undestand it. But my page is not empty so why send out empty? The output isn't empty - it's a chunked response with zero bytes in the body. Perfectly valid, and typical of a servlet that quits b

Re: Tomcat response Blank Page

2010-03-08 Thread Shirely
What is the access log? How to check it? Pid Ster wrote: > > On 08/03/2010 04:37, Shirely wrote: >> >> No error log. >> This is the return packet >> >> No. TimeSourceDestination Protocol >> Info >> 3749 202.714770 118.142.22.3 192.168.1.109

RE: Tomcat response Blank Page

2010-03-08 Thread Shirely
I don't undestand it. But my page is not empty so why send out empty? Also, if u say some exception may exist, is it the exception for this user (me) only or exception in whole server (as the server is also using by other ppl). Shirley n828cl wrote: > >> From: Pid [mailto:p...@pidster.com] >>

Re: Context path configuration in tomcat5.5.28

2010-03-08 Thread tembugs tembugs
Hi Konstantin, It is the same but now the problem is I can't use a hard coded path in the import statement in xsl. So I really wonder why relative paths in xsl:import are not working with context root deployment of the war. Regards, Tembug On Tue, Mar 9, 2010 at 5:12 AM, Konstantin Kolinko wrot

RE: Secured photo rendering

2010-03-08 Thread Martin Gainty
the easiest implementation would be develop a security fence for your front end (https with secure connnector) http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html once the request is 'inside' the servlet (or listener or filter) you can reference 'local' folders which contain the necessary jpg

Re: Multiple SSL certificates on same server

2010-03-08 Thread Leon Kolchinsky
Hi, Here's an idea for you: You can use wildcard when generating your certificate, like *.domain.com, assuming your servers using same domain.com. Regards, Leon Kolchinsky On Tue, Mar 9, 2010 at 11:49, Crypto Sal wrote: > On 03/08/2010 06:46 PM, Richard Huntrods wrote: > >> Does anyone know i

Icons ?

2010-03-08 Thread Ashika Umanga Umagiliya
Greetings friends, Has the icon usage feature implemented in Tomcat : /icons/small-icon.gif /icons/large-icon.ico This wont show any icon in my browser? - To unsubscribe, e-mail: users-unsubscr...@tomcat.a

Re: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread James Matthews
Thank you Chuck, you've been most helpful. Regards, James On 8 March 2010 19:41, Caldarale, Charles R wrote: >> From: James Matthews [mailto:jxmatth...@gmail.com] >> Subject: RE: Best Practices for Deployment with separate Context XML >> file (Tomcat 6.0.20) >> >> is using a separate Context XM

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread David Kerber
André Warnier wrote: David kerber wrote: Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Installation differences between 6.0.24 and 5.5.28 Why not? Here are the entries on the java tab of tomcat6w: -Dcatalina.base=C:\TomcatClients\Pelican -Djava.io.t

Re: Multiple SSL certificates on same server

2010-03-08 Thread Crypto Sal
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 curren

RE: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread Caldarale, Charles R
> From: James Matthews [mailto:jxmatth...@gmail.com] > Subject: RE: Best Practices for Deployment with separate Context XML > file (Tomcat 6.0.20) > > is using a separate Context XML file the best way of providing > server-specific configuration to a tomcat web application? I think so, since oth

RE: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: tomcat shutdown: catalina.sh STOP vs SIGTERM > > I'm not sure why it would take 20-30 seconds for you to see > the above message: it should be immediate. One possible cause is specifying a large heap size in JAVA_OP

RE: Multiple SSL certificates on same server

2010-03-08 Thread Jason Pyeron
> -Original Message- > From: Richard Huntrods [mailto:huntr...@nucleus.com] > Sent: Monday, March 08, 2010 18:46 > To: users@tomcat.apache.org > Subject: Multiple SSL certificates on same server > > Does anyone know if it is possible, or has anyone done this: > > I have two applicatio

Re: class loaded twice when sharing wlfullclient.jar by two web apps

2010-03-08 Thread Konstantin Kolinko
2010/3/5 Michal Bunarowski : >> > ClassCastException occurs in my web app, because classloaders load >> > the same class twice, when two web apps share WebLogic >> wlfullclient.jar. >> > Any idea how to avoid that? Details below. >> >> Don't share the jar. Deploy a separate copy with each web appli

Multiple SSL certificates on same server

2010-03-08 Thread Richard Huntrods
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 currently working just fine). https://domain1/applica

Re: Context path configuration in tomcat5.5.28

2010-03-08 Thread Konstantin Kolinko
2010/3/8 tembugs tembugs : > In my servelt, I try to transform my xml data available as a string to html > using the xsl files available. > http://marc.info/?t=12665788981&r=1&w=2 That was your thread. Is anything different now? Best regards, Konstantin Kolinko

jul.ConsoleHandler doesn't work with SystemLogHandler redirectStreams

2010-03-08 Thread youngm
I'm using Tomcat with juli. I'm using java.util.logging.ConsoleHandler to handle logging output. My logging.properties looks like the following: handlers = java.util.logging.ConsoleHandler .handlers = java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.level = FINE java.util.log

Re: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread Mark Thomas
On 08/03/2010 22:47, James Matthews wrote: > Thank you so much Chuck, that works perfectly (interestingly each 'touch' > still only instigates the "Undeploy" log in catalina.out, but the > application does now redeploy seamlessly). Thats a 'feature'. It is fixed in 6.0.24 onwards. Mark ---

Re: [OT] Secured photo rendering

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Angelo, On 3/8/2010 6:22 PM, Angelo Chen wrote: > As I notice, the photo rendering usually uses file system/Apache to speed up > displaying Where did you notice this? I can't imagine that Apache [httpd] improves the performance of rendering an image.

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 2:56 PM, Aggarwal, Ajay wrote: > When I send SIGTERM to tomcat, I actually do get > > 1) these messages in my catalina.out > > Mar 8, 2010 2:46:05 PM org.apache.catalina.core.StandardService stop > INFO: Stopping service Catalina

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Konstantin Kolinko
2010/3/8 Aggarwal, Ajay : > When I send SIGTERM to tomcat, I actually do get > Tomcat installs a shutdown hook into JVM so that it will shutdown gracefully. There is a problem though that if there are several shutdown hooks then they run in parallel. That is particularly visible in 6.0.24, becaus

Secured photo rendering

2010-03-08 Thread Angelo Chen
Hi, As I notice, the photo rendering usually uses file system/Apache to speed up displaying, a url point at a photo URL, the photo is still available even when the page is finished. Is there a way to show the photo only thru the page? somehow secure the photo? Thanks, Angelo -- View this messag

Re: which subdirectories where ?

2010-03-08 Thread Konstantin Kolinko
2010/3/9 André Warnier : > Hi. > > To the Tomcat developers : > > In reference to the thread : Installation differences between 6.0.24 and > 5.5.28 > > It seems to me that one reason for David's confusion may be the lack of a > clear indication in the documentation, of which subdirectories of a Tom

RE: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread James Matthews
Thank you so much Chuck, that works perfectly (interestingly each 'touch' still only instigates the "Undeploy" log in catalina.out, but the application does now redeploy seamlessly). Out of curiosity, is using a separate Context XML file the best way of providing server-specific configuration to a

which subdirectories where ?

2010-03-08 Thread André Warnier
Hi. To the Tomcat developers : In reference to the thread : Installation differences between 6.0.24 and 5.5.28 It seems to me that one reason for David's confusion may be the lack of a clear indication in the documentation, of which subdirectories of a Tomcat installation are relative to CA

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread André Warnier
David kerber wrote: Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Installation differences between 6.0.24 and 5.5.28 Why not? Here are the entries on the java tab of tomcat6w: -Dcatalina.base=C:\TomcatClients\Pelican -Djava.io.tmpdir=C:\TomcatClients

RE: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread Caldarale, Charles R
> From: James Matthews [mailto:jxmatth...@gmail.com] > Subject: RE: Best Practices for Deployment with separate Context XML > file (Tomcat 6.0.20) > docBase="/home/farthing/appservers/userapps"> The above should be "/home/farthing/appservers/userapps/Application.war". - Chuck THIS COMMUNICAT

RE: Adding security constraint breaks sql functionality

2010-03-08 Thread Caldarale, Charles R
> From: Robert Jacobson [mailto:vvnxbdd...@snkmail.com] > Subject: Adding security constraint breaks sql functionality > > --- BEGIN web.xml for /changepass > > > > > changepass Web > /changepass/* Not sure what else is going on, but the above is incorrect for your webapp

RE: JNDI Realm question

2010-03-08 Thread Martin Gainty
Good Afternoon Leo i would suggest using wildcard searches using the objectclass,cn,objectcategory or sn as specified here http://msdn.microsoft.com/en-us/library/aa746475(VS.85).aspx once you have a valid LDAP query then confgure the tc realm Note: i would suggest using LDAP_MATCHING_RULE_IN

RE: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread James Matthews
Hi Chuck, I am attempting to follow your instructions, but I am not having much luck, can I just check I am understanding you correctly. 1) I have created a folder with absolute path: /home/farthing/appservers/userapps 2) In this folder I have placed my WAR file, Application.war 3) In /home/farth

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Installation differences between 6.0.24 and 5.5.28 Why not? Here are the entries on the java tab of tomcat6w: -Dcatalina.base=C:\TomcatClients\Pelican -Djava.io.tmpdir=C:\TomcatClients\Pelican\temp And to

RE: Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread Caldarale, Charles R
> From: James Matthews [mailto:jxmatth...@gmail.com] > Subject: Best Practices for Deployment with separate Context XML file > (Tomcat 6.0.20) > > My question focuses on the best way to deploy a Web Application > to a running Tomcat instance when specifying the Context Container's > configuration

JNDI Realm question

2010-03-08 Thread Leo Donahue - PLANDEVX
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm Using Tomcat 6.0.24 on Windows Server 2003 Standard R2 SP2 1. We use MS Active Directory, is the "uid" in the following example for userPattern the same as the "sAMAcco

RE: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Installation differences between 6.0.24 and 5.5.28 > > Why not? Here are the entries on the java tab of tomcat6w: > -Dcatalina.base=C:\TomcatClients\Pelican > -Djava.io.tmpdir=C:\TomcatClients\Pelican\temp > > And tomcat5w has > -

Best Practices for Deployment with separate Context XML file (Tomcat 6.0.20)

2010-03-08 Thread James Matthews
Dear all, My question focuses on the best way to deploy a Web Application to a running Tomcat instance when specifying the Context Container's configuration in a separate XML file in $CATALINA_BASE/conf/[enginename]/[hostname]/ In an ideal world I would like to be able to keep a *permanent* Appl

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Installation differences between 6.0.24 and 5.5.28 Regardless, you cannot reliably share anything between two different Tomcat versions. I have no desire to do so; ??? That contradicts your previous s

RE: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Installation differences between 6.0.24 and 5.5.28 > > > Regardless, you cannot reliably share anything between two > > different Tomcat versions. > I have no desire to do so; ??? That contradicts your previous statement: > Corr

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread Konstantin Kolinko
2010/3/8 David kerber : > Caldarale, Charles R wrote: >>> >>> From: David kerber [mailto:dcker...@verizon.net] >>> Subject: Re: Installation differences between 6.0.24 and 5.5.28 >>> >>> That's what I'm trying to figure out, what those differences are. >> >> Regardless, you cannot reliably share an

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Installation differences between 6.0.24 and 5.5.28 That's what I'm trying to figure out, what those differences are. Regardless, you cannot reliably share anything between two different Tomcat versions.

RE: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Installation differences between 6.0.24 and 5.5.28 > > That's what I'm trying to figure out, what those differences are. Regardless, you cannot reliably share anything between two different Tomcat versions. Trying to do so will o

RE: Configuring SSL on Tomcat 5.5.28

2010-03-08 Thread Caldarale, Charles R
> From: CBy [mailto:tom...@byrman.demon.nl] > Subject: Re: Configuring SSL on Tomcat 5.5.28 > > On 8-3-2010 20:40, Jessica Krosschell wrote: > > I was able to create one using the keytool utilities with a > > keystore, but it has already expired (it's been 90 days). > > Use -validity numberOfDays

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread David kerber
Konstantin Kolinko wrote: 2010/3/8 David kerber : I then created a service for my app with each version's service.bat (different names), which starts from a separate folder on the HD. With IDENTICAL settings, both pointing to the exact same catalina_base You cannot use the same catalina_base

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread David kerber
André Warnier wrote: David kerber wrote: I've run into this before, but didn't have time to hunt down the issue. Now I do, so here goes. I have installed both TC 6.0.24 and 5.5.28 on Windows server 2003 32-bit (into separate directories, of course). In each case, I first ran the windows ins

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread Konstantin Kolinko
2010/3/8 David kerber : > I then created a service for my app with each version's service.bat > (different names), which starts from a separate folder on the HD.  With > IDENTICAL settings, both pointing to the exact same catalina_base You cannot use the same catalina_base for different Tomcat ver

RE: [OT] Question on Executor (thread pool)

2010-03-08 Thread Caldarale, Charles R
> From: CBy [mailto:tom...@byrman.demon.nl] > Subject: Re: [OT] Question on Executor (thread pool) > > I thought it was pretty common to share precious resources across web > apps. Isn't database connection pooling often implemented this way? Not in my experience - you want to keep things as sepa

Re: Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread André Warnier
David kerber wrote: I've run into this before, but didn't have time to hunt down the issue. Now I do, so here goes. I have installed both TC 6.0.24 and 5.5.28 on Windows server 2003 32-bit (into separate directories, of course). In each case, I first ran the windows installer .exe, and then

Re: Configuring SSL on Tomcat 5.5.28

2010-03-08 Thread CBy
On 8-3-2010 20:40, Jessica Krosschell wrote: Good afternoon, I am implementing SSL on Tomcat 5.5.28 (on a Windows Server 2008 box) for the first time as part of a BusinessObjects implementation. My client wants to use a self signed certificate and I was able to create one using the keytool ut

Installation differences between 6.0.24 and 5.5.28

2010-03-08 Thread David kerber
I've run into this before, but didn't have time to hunt down the issue. Now I do, so here goes. I have installed both TC 6.0.24 and 5.5.28 on Windows server 2003 32-bit (into separate directories, of course). In each case, I first ran the windows installer .exe, and then unzipped the .zip pac

RE: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Aggarwal, Ajay
When I send SIGTERM to tomcat, I actually do get 1) these messages in my catalina.out Mar 8, 2010 2:46:05 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina and, 2) my servlets destroy() methods do get called. That’s why I suspect that even SIGTERM seems to br

Re: [OT] Question on Executor (thread pool)

2010-03-08 Thread CBy
On 8-3-2010 17:07, Caldarale, Charles R wrote: From: CBy [mailto:tom...@byrman.demon.nl] Subject: Re: [OT] Question on Executor (thread pool) I am still curious though on when and how to use Tomcat's Executor. I someone could provide me with a nice example, I would be most grateful. Tomca

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Hassan Schroeder
On Mon, Mar 8, 2010 at 9:53 AM, Aggarwal, Ajay wrote: > What is  the downside of using SIGTERM, if any? It does seem to bring > tomcat down in an orderly manner and much faster than "catalina.sh > stop". Yeah, "seem to" would be the operative phrase, I think. A leap off a tall structure might "

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 12:53 PM, Aggarwal, Ajay wrote: > Sometimes on a busy system I have seen that "catalina.sh stop" does take > a long time to shutdown tomcat. You might want to investigate why this is happening: my Tomcat instances (we have 4 in prod

Adding security constraint breaks sql functionality

2010-03-08 Thread Robert Jacobson
Hi, I'm running Tomcat 6.0.20 on Windows 2003 Server, with JRE 1.6.0_14. I have a working Tomcat configuration using MySQL authentication to access to ROOT webapp. I'm using DataSourceRealm just like the one in the Tomcat docs (http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#DataSourc

tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Aggarwal, Ajay
Sometimes on a busy system I have seen that "catalina.sh stop" does take a long time to shutdown tomcat. We are running another "monitoring service" on the system that monitors tomcat and few other system services. After issuing "catalina.sh" and waiting for some time (up to 25 seconds) it loses pa

Re: SSL with IBM JVM

2010-03-08 Thread Carl
Pid, I would never hijack a thread. I started this thread from scratch by sending it to the Tomcat users group... is that not what I have done? Thanks, Carl - Original Message - From: "Pid" To: Sent: Monday, March 08, 2010 10:41 AM Subject: Re: SSL with IBM JVM On 08/03/2010

RE: [OT] Question on Executor (thread pool)

2010-03-08 Thread Caldarale, Charles R
> From: CBy [mailto:tom...@byrman.demon.nl] > Subject: Re: [OT] Question on Executor (thread pool) > > I am still curious though on when and how to use Tomcat's Executor. I > someone could provide me with a nice example, I would be most grateful. Tomcat's thread pools used to be on a connector ba

Re: [OT] Question on Executor (thread pool)

2010-03-08 Thread CBy
Thanks for your help, Chris. With "you could create a service" you mean a process not managed by Tomcat? The class loader route seems less flexible but easier. I think I'll try that first. I am still curious though on when and how to use Tomcat's Executor. I someone could provide me with a n

Re: Tomcat response Blank Page

2010-03-08 Thread Pid
On 08/03/2010 15:13, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/8/2010 6:42 AM, Pid wrote: What happens if the line: Utility.writeToFile("/WP.txt",str +"\n"); throws an exception? The only line which writes output to the response is after that line,

Re: SSL with IBM JVM

2010-03-08 Thread Pid
On 08/03/2010 12:53, Carl wrote: I am trying the IBM JVM as a possible cure for the problem 'Tomcat dies suddenly'. A quick recap: New Dell T110 Slackware 13 - 64 bit Tomcat 6.0.24 The problem: Tomcat would die suddenly without any entry in any log but would leave a core file that indicated

Re: [OT] Question on Executor (thread pool)

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CBy, On 3/8/2010 7:03 AM, CBy wrote: > My web service wraps a command-line application that is rather resource > demanding. To manage the maximum number of instances that can run > concurrently, it uses a (custom) thread pool. Are you on Java 1.5+?

Re: Apache 2.2.3(mod_proxy_ajp) - Tomcat 6.0.13 Loadbalancing - error logs in apache

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 3/4/2010 12:34 AM, jkv wrote: > We have a eye popping requirement to handle 15000 concurrent https users > simultaneously, an I am not sure a single Apache Server and five Tomcat > instances (what we now have) can take this?

Re: Tomcat response Blank Page

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/8/2010 6:42 AM, Pid wrote: > What happens if the line: > > Utility.writeToFile("/WP.txt",str +"\n"); > > throws an exception? > The only line which writes output to the response is after that line, so > if something stops the page before

Re: Servlet mapping, welcome file and trailing slashes

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregg, On 3/5/2010 7:56 PM, GreggCarrier wrote: > I'm having a frustrating problem and I can't find the right configuration for > what I want. Hoping someone can offer some insight. > > Desired behavior: I want all requests to my webapp to be handled

Re: SSL with IBM JVM

2010-03-08 Thread Carl
Peter, Good questions. I am dumping each request to catalina.out. I see the expected sequence of requests in the log. The sequence is: - Create two frames (one for work which covers the entire visible screen and one for communicating with the server for printing, applets, etc... an applet

Re: SSL with IBM JVM

2010-03-08 Thread Carl
Chuck, I have downloaded that JVM and brought it up on a spare server. We'll find out in the next week if it will work. Thanks, Carl - Original Message - From: "Caldarale, Charles R" To: "Tomcat Users List" Sent: Monday, March 08, 2010 8:10 AM Subject: RE: SSL with IBM JVM Fr

Re: SSL with IBM JVM

2010-03-08 Thread Carl
Thanks for your reply. Interesting. Your suggestion is to front Tomcat with Apache and let Apache deal with SSL. I have tried to let Tomcat do everything, including serving html pages. I am going to try Chuck's idea of Sun's JVM 1.6.0_7 first. Thanks, Carl - Original Message - F

Re: Issue while stopping Tomcat 6.0.24 using java 1.6.0_18

2010-03-08 Thread Mark Thomas
On 08/03/2010 14:08, Chinmoy Chakraborty wrote: > Hi All, > > In our web app we use JSF1.1 (Sun's RI) . Now when our app is deployed in > tomcat 6.0.24 using java version "1.6.0_18" and we start tomcat and then > subsequently stop tomcat we are getting the following errors in catalina.log > >

Issue while stopping Tomcat 6.0.24 using java 1.6.0_18

2010-03-08 Thread Chinmoy Chakraborty
Hi All, In our web app we use JSF1.1 (Sun's RI) . Now when our app is deployed in tomcat 6.0.24 using java version "1.6.0_18" and we start tomcat and then subsequently stop tomcat we are getting the following errors in catalina.log INFO: Stopping service Catalina Mar 8, 2010 7:02:04 PM org.a

Re: SSL with IBM JVM

2010-03-08 Thread Peter Crowther
On 8 March 2010 12:53, Carl wrote: > Switched to the latest IBM JVM last Friday. We run https for all > applications as we deal mostly with children's data. About 10% of the users > experienced problems with accessing the site. Both IE and Firefox caused > problems. Switching them to http eli

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-08 Thread Chinmoy Chakraborty
Thanks everyone for help. Chinmoy On Thu, Mar 4, 2010 at 6:43 PM, Michael Powe wrote: > On Thu, Mar 04, 2010 at 06:26:50PM +0530, Chinmoy Chakraborty wrote: > > > Actually I want to update the jar with the latest one inside 'lib'...and > > want to make our app hot-updatable. what would be a goo

Re: SSL with IBM JVM

2010-03-08 Thread Mikolaj Rydzewski
Carl wrote: Switched to the latest IBM JVM last Friday. We run https for all applications as we deal mostly with children's data. About 10% of the users experienced problems with accessing the site. Both IE and Firefox caused problems. Switching them to http eliminated the problem but we c

RE: Tomcat 6.0.24 catalina log issue

2010-03-08 Thread Caldarale, Charles R
> From: lakshmi raman [mailto:rlaksh...@yahoo.com] > Subject: Tomcat 6.0.24 catalina log issue > > When I start tomcat service and if I have no error during startup the > catalina.log is empty. > When I start tomact service and have a few errors the catalina.log > prints the logs partially and sto

RE: Tomcat response Blank Page

2010-03-08 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Tomcat response Blank Page > > Admittedly, I can't think of a way for the page to stop there as a > result of an exception and still send a 200 status, but it's worth > exploring. It's chunked output, so zero-length content is quite valid. I'm

RE: SSL with IBM JVM

2010-03-08 Thread Caldarale, Charles R
> From: Carl [mailto:c...@etrak-plus.com] > Subject: SSL with IBM JVM > > I had been using the Sun JVM 1.6.0_18. I have tried 1.6.0_16 (because > Taylan said his system started a similar problem when he went from > 1.6.0_16 to 1.6.0_18) but not 1.6.0_9 (as Chuck suggested.) Minor correction: the

SSL with IBM JVM

2010-03-08 Thread Carl
I am trying the IBM JVM as a possible cure for the problem 'Tomcat dies suddenly'. A quick recap: New Dell T110 Slackware 13 - 64 bit Tomcat 6.0.24 The problem: Tomcat would die suddenly without any entry in any log but would leave a core file that indicated the JVM exited with a seg fault. I

Tomcat 6.0.24 catalina log issue

2010-03-08 Thread lakshmi raman
Hello,   I have installed the 32 bit version of Tomcat 6.0.24(apache-tomcat-6.0.24-windows-x86.zip) on Windows XP& Windows Server 2003 machines. I have installed it as a service. When I start tomcat service and if I have no error during startup the catalina.log is empty. When I start tomact serv

Re: JMX query to modify attribute value

2010-03-08 Thread Mark Thomas
On 08/03/2010 10:04, Cummins College wrote: > Hello, > > I have tried this JMX query to modify the connector properties of > connector. > http://localhost:8080/manager/jmxproxy/?set=Catalina:type=Connector,port=8443&att=secure&val=false > > When I again check the status of the connector with this

Re: Common Pages or parts in pages

2010-03-08 Thread Pid
On 08/03/2010 11:59, nitingupta183 wrote: Hi All, I am working on a web application in which there is a shoppping cart element as well. I have divided the applications into 2. One is my main app (lets call it main)& the other is the shopping cart app (lets call it shop). I intend to deploy bo

Re: Context path configuration in tomcat5.5.28

2010-03-08 Thread tembugs tembugs
In my servelt, I try to transform my xml data available as a string to html using the xsl files available. On Mon, Mar 8, 2010 at 5:14 PM, Pid wrote: > On 08/03/2010 08:51, tembugs tembugs wrote: > >> Hi, >> >> On Mon, Mar 8, 2010 at 2:13 PM, André Warnier wrote: >> >> tembugs tembugs wrote: >>

Question on Executor (thread pool)

2010-03-08 Thread CBy
Hi, My web service wraps a command-line application that is rather resource demanding. To manage the maximum number of instances that can run concurrently, it uses a (custom) thread pool. This all works fine, but my current thread pool is local to my service. Now that I have to develop simila

Common Pages or parts in pages

2010-03-08 Thread nitingupta183
Hi All, I am working on a web application in which there is a shoppping cart element as well. I have divided the applications into 2. One is my main app (lets call it main) & the other is the shopping cart app (lets call it shop). I intend to deploy both these apps in Tomcat (as individual WAR f

Re: JMX query to modify attribute value

2010-03-08 Thread Pid
On 08/03/2010 10:04, Cummins College wrote: Hello, I have tried this JMX query to modify the connector properties of connector. http://localhost:8080/manager/jmxproxy/?set=Catalina:type=Connector,port=8443&att=secure&val=false When I again check the status of the connector with this query, ht

Re: Context path configuration in tomcat5.5.28

2010-03-08 Thread Pid
On 08/03/2010 08:51, tembugs tembugs wrote: Hi, On Mon, Mar 8, 2010 at 2:13 PM, André Warnier wrote: tembugs tembugs wrote: Hi, I am trying to deploy my web application in tomcat5.5.28 using multilevel path. Example, my webmodule is testapp.war and I am deploying it as module1/user1/test

Re: Tomcat response Blank Page

2010-03-08 Thread Pid
On 08/03/2010 04:37, Shirely wrote: No error log. This is the return packet No. TimeSourceDestination Protocol Info 3749 202.714770 118.142.22.3 192.168.1.109 HTTP HTTP/1.1 200 OK Sure, but that does the access log say, does it also

Re: Best practise very secure system without any password in cleartext

2010-03-08 Thread Peter Crowther
On 8 March 2010 09:55, Alexander Diedler wrote: > We have to create an Application with an Offline Client based on Tomcat and > SQL Server on Laptops. That means, that the Laptops has an local installed > Webserver with Tomcat and a local installed SQL Server (Full oder Express > Edition 2005). N

JMX query to modify attribute value

2010-03-08 Thread Cummins College
Hello, I have tried this JMX query to modify the connector properties of connector. http://localhost:8080/manager/jmxproxy/?set=Catalina:type=Connector,port=8443&att=secure&val=false When I again check the status of the connector with this query, http://localhost:8080/manager/jmxproxy/?qry=*:typ

Best practise very secure system without any password in cleartext

2010-03-08 Thread Alexander Diedler
Hello @ll, Some difficult task seems to be very strange to realize. We have to create an Application with an Offline Client based on Tomcat and SQL Server on Laptops. That means, that the Laptops has an local installed Webserver with Tomcat and a local installed SQL Server (Full oder Express Edi

Re: Context path configuration in tomcat5.5.28

2010-03-08 Thread tembugs tembugs
Hi, On Mon, Mar 8, 2010 at 2:13 PM, André Warnier wrote: > tembugs tembugs wrote: > >> Hi, >> >> I am trying to deploy my web application in tomcat5.5.28 using multilevel path. Example, my webmodule is testapp.war and I am deploying it as module1/user1/testapp using tomcat manager. It deploys

Re: Context path configuration in tomcat5.5.28

2010-03-08 Thread André Warnier
tembugs tembugs wrote: Hi, Can anyone give the step by step procedure to do context path in tomcat 5.5.28? I couldn't follow the one given in apache website. Maybe, if you explain what you mean by "do context path". It might be better to explain what you are trying to do, and how it is not w

Context path configuration in tomcat5.5.28

2010-03-08 Thread tembugs tembugs
Hi, Can anyone give the step by step procedure to do context path in tomcat 5.5.28? I couldn't follow the one given in apache website. Regards, Sangeetha