Re: Setting Up SSL on Tomcat

2007-09-20 Thread Hassan Schroeder
On 9/20/07, Clifford Bryant <[EMAIL PROTECTED]> wrote: > I am trying to set up Tomcat 5.5.23 on a Linux server to use SSL. The > SSL port (8443) is uncommented in the server.xml. And, I set up a > certificate. I tried to navigate to the Tomcat startup page from > another (Windows) machine. I ca

Setting Up SSL on Tomcat

2007-09-20 Thread Clifford Bryant
I am trying to set up Tomcat 5.5.23 on a Linux server to use SSL. The SSL port (8443) is uncommented in the server.xml. And, I set up a certificate. I tried to navigate to the Tomcat startup page from another (Windows) machine. I can get to the HTTP port (8080). But, I get a "Server not found

Jasper/Tomcat custom .tag processing extremely slow if in .jars -- profiling results

2007-09-20 Thread Berglas, Anthony
PROBLEM JSPs that make use of custom .tag files can be very slow to compile -- several tens of seconds for each .jsp. It takes longer to compile a single .jsp than the entire Tomcat 6 & Jasper source. Our application uses .tag files fairly heavily to provide boiler plate text for headings, men

Re: JSessionId

2007-09-20 Thread David Smith
How?? Tomcat doesn't get a cookie from the browser until it set's one. --David formpost wrote: If that is the case, surely the browsers request to the tomcat to server index.jsp would tell tomcat that cookies are enabled. David Smith-2 wrote: In reality it happens anytime it finds the bro

Re: JSessionId

2007-09-20 Thread formpost
If that is the case, surely the browsers request to the tomcat to server index.jsp would tell tomcat that cookies are enabled. David Smith-2 wrote: > > In reality it happens anytime it finds the browser doesn't support > cookies. On the first request, both show up because tomcat doesn't know

Re: virtual host

2007-09-20 Thread Hassan Schroeder
On 9/20/07, karmariv <[EMAIL PROTECTED]> wrote: > I would like to know how I can change an address > "http://ip:8080/site1/index1.jsp"; and "http://ip:8080/site2/index2.jsp"; in > an address like "http://my_server_name.com/site1"; , > "http://my_server_name.com/site2"; The way you're using the t

Re: JSessionId

2007-09-20 Thread David Smith
In reality it happens anytime it finds the browser doesn't support cookies. On the first request, both show up because tomcat doesn't know if the browser supports cookies. On subsequent requests, it will act accordingly depending on how the session id comes back (cookie or req parameter). -

virtual host

2007-09-20 Thread karmariv
Hi I am new in Tomcat. I have two sites in my server, if want to enter in site1 I must write in my browser: http://162.17.3.80:8080/site1/index1.jsp If I want to enter in site2 I write: http://162.17.3.80:8080/site2/index2.jsp I would like to know how I can change an address "http://ip:8080/s

JSessionId

2007-09-20 Thread form post
Question about the url parameter, jsessionid. As far as I can tell this should only appear if I have cookie disable. However, I am getting this parameter when cookies are enabled. I have a pretty simple web app. However, my index.jsp redirects to page that is behind the dispatch controller. e

RE: With JK 1.2.x using route causes problems with redirect?

2007-09-20 Thread Brian.Horblit
Rainer (and all interested), Just thought I'd let you know I threw some load at 4 Tomcats behind 1 Apache with the JK connector using domains and routes to implement two different clusters of two Tomcats each and it seems to work well. My load test tool (Grinder) reported that I was executing ab

Re: Problem with Tomcat hangs for no obvious reason

2007-09-20 Thread David Smith
I'm wondering if the Ajax is consuming the two or so connections your browser allows so all other calls to the server get blocked. If you close all your browser windows and re-launch IE, does tomcat start responding again? If so, tomcat isn't hanging -- it's a javascript issue with your clien

Re: creation of a common session variable.

2007-09-20 Thread Pavan Singaraju
Thanks guys, I have one more question. Using the JNDI, will it put any additional burden on Tomcat webserver?? I mean performance wise? -- Pavan S. Kumar On 9/20/07, David Smith <[EMAIL PROTECTED]> wrote: > > Another possibility is to store it in the ServletContext (ie application > scope) if it's

Granting permissions to JSPs in catalina.policy

2007-09-20 Thread Munz, Matthew
Hi all, I have a JSP that calls some code that requires permissions that aren't in the default grant block in catalina.policy. Even though those permissions are granted to the code that is being called, I'm getting access exceptions when the JSP is loaded. I believe this is because the JSP (or

Problem with Tomcat hangs for no obvious reason

2007-09-20 Thread Mingus, Jennifer (JC)
Hi, I have tomcat 5.5.23 installed on Red Hat Enterprise Linux 5 and a simple web application using JSF/AJAX. The web application only has two pages. In the first page, it has a few dropdown lists, which get the options from a SQL server database. The last dropdown list is refreshed when selec

Re: creation of a common session variable.

2007-09-20 Thread David Smith
Another possibility is to store it in the ServletContext (ie application scope) if it's just used on one webapp. --David Dale Nesbitt wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe you can load any JavaBean using JNDI, and the bean will be shared between all sessions in the

Re: creation of a common session variable.

2007-09-20 Thread Dale Nesbitt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe you can load any JavaBean using JNDI, and the bean will be shared between all sessions in the context. Pavan Singaraju wrote: > Hi, >i have a design related question. I have to maintain some data common to > all sessions. If one session

Integrating Apache 2.x with Tomcat 6.x

2007-09-20 Thread Tata, Jagadeesh
Hi, Please let me know the process for integrating Apache 2.x with Tomcat 6.x. I installed Tomcat 6.0.13, Apache 2.x And Apache connector Jk-1.2.25 on Solaris SPARC server. If there is any documentation, that would be greatful. Thanks in advance. Jagadeesh Tata.

creation of a common session variable.

2007-09-20 Thread Pavan Singaraju
Hi, i have a design related question. I have to maintain some data common to all sessions. If one session updates the value in the data structure, then it should either updated in all the sessions / in the common data structure. Is there an approach i can go with? -- Pavan S. Kumar

RE: Tomcat manager app question

2007-09-20 Thread Caldarale, Charles R
> From: Matthew Boeckman [mailto:[EMAIL PROTECTED] > Subject: Tomcat manager app question > > I am looking to grab some of the JVM memory utilization > information presented in the tomcat5.5 manager webapp > and pull that into a monitoring/reporting system. Assuming you want to do this remotely

Apache native libarary not being found when using AJP 1.3

2007-09-20 Thread Rafael Caceres
Hi All, For a while now, I've been seeing the "INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the...paths:paths.." on my logs. I'm using an AJP 1.3 connector on port 8009 and it indicates "..protocol=AJP/1.3". This is the only def

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-09-20 Thread Martin Gainty
Hi Sam your TC 6.0.10 copy is old here is the source from the lastest 6.0.14 TC distro package org.apache.jasper; /** * Some constants and other global data that are used by the compiler and the runtime. * * @author Anil K. Vijendran * @author Harish Prabandham * @author Shawn Bayern * @author

Tomcat manager app question

2007-09-20 Thread Matthew Boeckman
Hello list! I've combed through the docs and cannot find a reference to my question. I am looking to grab some of the JVM memory utilization information presented in the tomcat5.5 manager webapp and pull that into a monitoring/reporting system. So far I have found :8080/manager/serverinfo Which

RE: WAR File Not Expanded

2007-09-20 Thread Caldarale, Charles R
> From: Walter, Patrick A [mailto:[EMAIL PROTECTED] > Subject: WAR File Not Expanded > > For other applications, starting tomcat it does not get expanded. Not quite sure how to parse the above "sentence". > What causes this and how can I make sure it always expands > the war file?? Have you l

Re: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 and connector1.2.25 (last in date) on Windows Server 2k3

2007-09-20 Thread Baldurien
Martin Gainty wrote: good point-- also check your supported types of compressableMimeType have you observed this behaviour with other agents or just IE6? I finally managed to test it under Firefox :) However, I think I can close this thread : without a Content-Length header set by myself, i

WAR File Not Expanded

2007-09-20 Thread Walter, Patrick A
Not sure if this request was sent (if so, sorry for duplication)... > When I place an war file in CATALINA_HOME\webapps directory, SOME TIMES the > war file gets expanded into its own directory other times it does not. > For example: > MyApp.war is placed in C:\apache-tomcat-5.5.17\w

Re: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 and connector1.2.25 (last in date) on Windows Server 2k3

2007-09-20 Thread Baldurien
In fact, it was a gzip compression not on Tomcat side, but in the webapp itself (using servlet filter). I do not know whether it's better or not, but it's how it was done. Caldarale, Charles R wrote: From: Baldurien [mailto:[EMAIL PROTECTED] Subject: Re: Download problem with IE6, IIS 6.0, SS

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-09-20 Thread Hassan Schroeder
On 9/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Nobody says nothing so i admit it it's something new as i feared. And > probably nobody is using tomcat 6 (wise people). utter nonsense. > My html pages i get without any problem. And the examples work fine. The > same for another weapp

Re: Filter mapped to "/*" not seeing Axis requests (Tomcat 5.0.19)

2007-09-20 Thread Jim Cox
I conveniently found two relevant stack traces in the log files, as you suspected they do show a crucial difference: excerpt from a request that the filter sees: ... at blah.blah.blah.MyLogFilter.doFilter(MyLogFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter

Re: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 and connector1.2.25 (last in date) on Windows Server 2k3

2007-09-20 Thread Martin Gainty
good point-- also check your supported types of compressableMimeType have you observed this behaviour with other agents or just IE6? M-- - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, September 20, 2007 9:50 AM Subject: R

Can't stop Tomcat

2007-09-20 Thread Irek Matysiewicz
Hello everyone. I have the following, serious problem with Tomcat: We're using Tomcat 5.5.23. We run Tomcat as system service. In Linux it works well, but in Window Vista almost always (and sometimes in Windows XP) we have one of the following exceptions during Tomcat shutdown: 2007-08-13 20:

Re: Tomcat Website

2007-09-20 Thread Mark Thomas
Timothy Wonil Lee wrote: > Anybody going to update that page? Just fixed it. It should be sync'd to the live sites in an hour or so. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PR

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-09-20 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=7258 Posted on behalf of a User Did anyone end up with a solution or fix for this issue? I have encountered this problem as well. The one thing I can add is that under http the jsp pages compile and run, however under https, that's where I

Re: Filter mapped to "/*" not seeing Axis requests (Tomcat 5.0.19)

2007-09-20 Thread Steve Souza
I suspect it is not working due to the axis servlets location under /top/. '/*' might only work for the root context and not any subcontexts/subdirectories. Something else that might be of interest. Today, I am going to release JAMon 2.7 which contains a Tomcat valve that will keep aggregate st

Re: Filter mapped to "/*" not seeing Axis requests (Tomcat 5.0.19)

2007-09-20 Thread David Delbecq
Hello Filter mapped to /* should see everything that reach it's application. This include your axis service. I suggest you investigate to possibility that your ignoredUrls or ignoredPatterns apply to all your axis request, making your filter ignore them. If you see not output from your filter for

Filter mapped to "/*" not seeing Axis requests (Tomcat 5.0.19)

2007-09-20 Thread Jim Cox
I developed a simple logging filter to debug some performance problems on a Tomcat 5.0.19 installation. It works well for the requests it sees, but the filter does not see requests serviced by a .wsdd-deployed Axis servlet. Anyone have any help/info/pointers to offer? Only one webapp is defined o

Re: Please Un-subscribe

2007-09-20 Thread David Delbecq
En l'instant précis du 20/09/07 15:47, Harald Henkel s'exprimait en ces termes: > Please somebody unsubscribe my email address > [EMAIL PROTECTED] > from this list. > > Thanks in advance, > Harald Henkel > GS automation GmbH > > > > >

RE: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 and connector1.2.25 (last in date) on Windows Server 2k3

2007-09-20 Thread Caldarale, Charles R
> From: Baldurien [mailto:[EMAIL PROTECTED] > Subject: Re: Download problem with IE6, IIS 6.0, SSL, Tomcat > 6.0.13 and connector1.2.25 (last in date) on Windows Server 2k3 > > I've found a reason to my problem : I was sending a Content-Length > header, albeit I was using GZIP Compression. > >

Please Un-subscribe

2007-09-20 Thread Harald Henkel
Please somebody unsubscribe my email address [EMAIL PROTECTED] from this list. Thanks in advance, Harald Henkel GS automation GmbH - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECT

Re: Download problem with IE6, IIS 6.0, SSL, Tomcat 6.0.13 and connector 1.2.25 (last in date) on Windows Server 2k3

2007-09-20 Thread Baldurien
I've found a reason to my problem : I was sending a Content-Length header, albeit I was using GZIP Compression. What I do not understand, is why the browser could get the content on tomcat despise that header, and why the connector could not? Martin Gainty wrote: when you change an attribut

Re: Session uniqueness

2007-09-20 Thread Dale Nesbitt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 An archives search yielded me nothing. I must be phrasing my query in an incorrect, non-jargon manner. I suppose the _easiest_ way would be to use a persistent database to keep track of the users logged in, and use an HttpSessionListener to log users

Re: Changing ROOT context

2007-09-20 Thread Waseem Azhar
Sorry I overlooked some previous conversation. On 9/18/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Waseem Azhar [mailto:[EMAIL PROTECTED] > > Subject: Re: Changing ROOT context > > > > Just open your server.xml add line > docBase="your-app-name" debug="99" reloadable="true"/>

Tomcat JOTM problem

2007-09-20 Thread stevecox
Trying desperately to get the adobe livecycle data services samples working on tomcat6. After a few issues which are now resolved all the examples work apart from those using the data management facilities. I believe the problem is down to jotm. I've copied all the .jar files from the jotm downlo

Re: changing the default application

2007-09-20 Thread Pid
Thomas Schweikle wrote: > Hi! > > How can I change the default application from the tomcat > "ROOT/index.jsp" page to an application installed in > "$CATALINA_HOME/Catalina/localhost/app.xml"? > > I found the default application in "web.xml" and changed it from > > > default >