Re: Tomcat 6 SSL configuration error

2010-07-23 Thread aung bar hlay
I'm running on WindowsXP. Path to my keystore file is "c:\is.keystore". And this is server.xml file. ---server.xml---

Issue with Eclipse 3.6, Tomcat 6/7 with Apache Myfaces 2.0

2010-07-23 Thread puneet arora
Hi All I have defined a dynamic web project in Eclipse 3.6 to which i have added a user library that has all the Myfaces 2.0 jars as well as the el-api-1.1 and el-impl-1.1 jars. When i publish the project under wtp to the reference tomcat, i get the following startup error: java.lang.LinkageE

Re: Problems starting Tomcat on windows 7 64bit.

2010-07-23 Thread sharkanana
Well this is the first time I've tried running tomcat on this system, so I am using a vanilla install. I have set JAVA_HOME and JRE_HOME in my env vars, I'm not sure if they should be there or not. I have removed the CLASSPATH var. Other than that I have tried 5.5, 6 and 7 fresh installs and am

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread André Warnier
Robinson, Eric wrote: This Tomcat and Java are just trying to say, in the only way they can, that after some 10 years of good and hard labor, it is now time to retire them and have the burden taken over by a new generation. Yes, that's probably it. One of the... [r...@app03 ~]# ps ax|grep

Re: Cocoon 2.0.4 with Tomcat 5.5.23

2010-07-23 Thread Pid
On 23 Jul 2010, at 19:51, Venkat Tanga wrote: > Hi All, > > Does Tomcat 5.5.23 supports Apache Cocoon 2.0.4 ., till now I am using > Tomcat 5.0.18 which is working fine with Cocoon 2.0.4. Tomcat supports Servlet Spec compliant applications. p > -- > Regards, > Venkat > > > --

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Robinson, Eric
> This Tomcat and Java are just trying to say, in the only > way they can, that after some 10 years of good and hard > labor, it is now time to retire them and have the burden > taken over by a new generation. Yes, that's probably it. One of the... [r...@app03 ~]# ps ax|grep java|wc -l 164

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread André Warnier
Robinson, Eric wrote: Tomcat 5.x.y what? Be specific. Also tell us the JVM you're using and the platform you're running on. Apache Tomcat/5.0.28 Java 1.4.2_09-b05 Sun Microsystems Inc. Linux 2.6.18-92.1.22.el5PAE i386 Gentlemen, I think we need a minute of silence here, and a golden wat

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Robinson, Eric
> Maybe something from this recent discussion applies: > http://marc.info/?t=12767355721&r=1&w=2 Good thread, thanks. Unfortunately, the situations it describes don't apply in this case. -- Eric Robinson Disclaimer - July 23, 2010 This email and any files transmitted with it are confident

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Robinson, Eric
> Tomcat 5.x.y what? Be specific. Also tell us the JVM > you're using and the platform you're running on. Apache Tomcat/5.0.28 Java 1.4.2_09-b05 Sun Microsystems Inc. Linux 2.6.18-92.1.22.el5PAE i386 > If one of your webapps is doing something antisocial such > as calling System.exit(), t

Re: using Apache as a front end for Tomcat

2010-07-23 Thread James Godrej
Hi, I am using Apache2 Architecture: amd64 Version: 2.2.14-5ubuntu8 and for Tomcat it is apache-tomcat-5.5.29 The machine on which tomcat is running has an Apache instance also. Which is same Architecture: amd64 Version: 2.2.14-5ubuntu8 The operating system is Ubuntu 10.04

Cocoon 2.0.4 with Tomcat 5.5.23

2010-07-23 Thread Venkat Tanga
Hi All, Does Tomcat 5.5.23 supports Apache Cocoon 2.0.4 ., till now I am using Tomcat 5.0.18 which is working fine with Cocoon 2.0.4. -- Regards, Venkat - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread Rainer Jung
On 23.07.2010 19:43, Robinson, Eric wrote: We've observed tomcat5 shutting down seemingly by itself recently. This morning I saw this in the log: - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. Any way to tell why tomcat is shutting down? Maybe something from this recent di

Re: Problems starting Tomcat on windows 7 64bit.

2010-07-23 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sharkanana, On 7/22/2010 8:34 PM, sharkanana wrote: Here is my server.xml. It is default. Yup, that looks like the default -- or close enough that it doesn't matter what you may have changed. Could you try reinstallin

RE: Tomcat Shutting Down by Itself?

2010-07-23 Thread Caldarale, Charles R
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > Subject: Tomcat Shutting Down by Itself? > > We've observed tomcat5 Tomcat 5.x.y what? Be specific. Also tell us the JVM you're using and the platform you're running on. > shutting down seemingly by itself recently. This > morning I sa

Re: Fire off asynch task in Tomcat.

2010-07-23 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 7/22/2010 7:41 PM, Eric P wrote: I'll probably go w/the email queue/database table approach. All the points André and Christopher raised gave me further insight into the robustness of this approach (loose coupli

Re: Problems starting Tomcat on windows 7 64bit.

2010-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sharkanana, On 7/22/2010 8:34 PM, sharkanana wrote: > Here is my server.xml. It is default. Yup, that looks like the default -- or close enough that it doesn't matter what you may have changed. Could you try reinstalling a fresh copy of Tomcat and

Re: Default JVM argument for tomcat

2010-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gopi, On 7/22/2010 5:46 PM, Gopi Valleru wrote: > Do you you know the reason why? Is there is any way that we can predict > this. Just a quick Google search yields many resources, including this one which appears to have a lot of info: http://techno

Re: Fire off asynch task in Tomcat.

2010-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 7/22/2010 7:41 PM, Eric P wrote: > I'll probably go w/the email queue/database table approach. All the > points André and Christopher raised gave me further insight into the > robustness of this approach (loose coupling w/the app, no extra l

Tomcat Shutting Down by Itself?

2010-07-23 Thread Robinson, Eric
We've observed tomcat5 shutting down seemingly by itself recently. This morning I saw this in the log: - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. Any way to tell why tomcat is shutting down? -- Eric Robinson Disclaimer - July 23, 2010 This email and any files transmit

change the default javac from JDT to ant

2010-07-23 Thread 王科选
Hi, I have put the ant.jar and tools.jar into $CATALINA_HOME/lib directory and while compiling JSP, this error occurs: java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain could anyone explain how to solve this problem? -

Re: Debugging Tomcat

2010-07-23 Thread Mark Thomas
On 23/07/2010 15:56, André Warnier wrote: > Mark Thomas wrote: >> On 23/07/2010 15:44, André Warnier wrote: >>> Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have

Re: Debugging Tomcat

2010-07-23 Thread André Warnier
Mark Thomas wrote: On 23/07/2010 15:44, André Warnier wrote: Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server

Re: Debugging Tomcat

2010-07-23 Thread Andy Bell
Unfortunately, no, the address just means 'port' according to: http://download.oracle.com/docs/cd/E17476_01/javase/1.3/docs/tooldocs/solaris/jdb.html > I don't know anything about debugging Java, but considering that the > attribute above is called "address", should you not be giving it a value >

Re: Debugging Tomcat

2010-07-23 Thread Mark Thomas
On 23/07/2010 15:44, André Warnier wrote: > Andy Bell wrote: >> Hi >> >> I'm running Tomcat 6.0.24 as aa serviced on Windows XP. >> >> I am trying to debug Java code in the webapp Ihave deployed to Tomcat >> and I have added this line: >> >> -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server

Re: Debugging Tomcat

2010-07-23 Thread André Warnier
Andy Bell wrote: Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n I don't know anything about debugging Java, but c

Re: getting StandardContext in Tomcat 7

2010-07-23 Thread Mark Thomas
On 23/07/2010 15:33, martin.szna...@centrum.cz wrote: > > Hello > In Tomcat 6 I was using this code to get StandardContext: > StandardEngine engine = (StandardEngine) > ServerFactory.getServer().findService("Catalina").getContainer(); > StandardContext context = (StandardContext)

getting StandardContext in Tomcat 7

2010-07-23 Thread martin.sznapka
Hello In Tomcat 6 I was using this code to get StandardContext: StandardEngine engine = (StandardEngine) ServerFactory.getServer().findService("Catalina").getContainer(); StandardContext context = (StandardContext) engine.findChild(engine.getDefaultHost()).findChild(getPortalCont

Debugging Tomcat

2010-07-23 Thread Andy Bell
Hi I'm running Tomcat 6.0.24 as aa serviced on Windows XP. I am trying to debug Java code in the webapp Ihave deployed to Tomcat and I have added this line: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n to the Java Options in the Tomcat 6 Properties Java Options. I've ad

Re: setHeader vs addHeader problem

2010-07-23 Thread Pid
On 23/07/2010 10:10, Yoryos wrote: > Hello > looking at HttpServletResponse > javadoc > I > can understand that the difference between setHeader and addHeader is that > the first one overrides previous set

RE: manual reloading a class

2010-07-23 Thread Caldarale, Charles R
> From: michel [mailto:compu...@videotron.ca] > Subject: manual reloading a class If this has anything to do with Tomcat, it's not clear. > I don't want to use the automatic class reload for performance reasons, What "automatic class reload" are you referring to? What performance issues you do

RE: Tomcat 6 SSL configuration error

2010-07-23 Thread Caldarale, Charles R
> From: aung bar hlay [mailto:aungbarh...@gmail.com] > Subject: Tomcat 6 SSL configuration error > > I've read tomcat 6 ssl configuration and > have gone through all the steps. Be precise - tell us exactly what you did. "All the steps" means nothing, since there are two ways to set up SSL, depe

Re: Tomcat 6 SSL configuration error

2010-07-23 Thread Stephen Lorenz
Try "http://localhost:8443/ " (i.e. without the https). Perhaps the sslEnabled parameter is not configured properly? --Steve On Fri, Jul 23, 2010 at 6:26 AM, aung bar hlay wrote: > hi > > I've read tomcat 6 ssl configuration and > have gone through all the steps. > > My

[ANN] Apache Tomcat 6.0.29 released

2010-07-23 Thread jean-frederic clere
The Apache Tomcat team announces the immediate availability of Apache Tomcat 6.0.29 stable. This release includes bug-fixes over Apache Tomcat 6.0.28. Apache Tomcat 6.0 includes new features over Apache Tomcat 5.5, including support for the new Servlet 2.5 and JSP 2.1 specifications, a refactored

Tomcat 6 SSL configuration error

2010-07-23 Thread aung bar hlay
hi I've read tomcat 6 ssl configuration and have gone through all the steps. My problem is when i open browser and type "https://localhost:8443/";, then,it takes too long and at last display error "connection was reset". I'm using Apache Tomcat 6.0.18, Mozilla Firefox 3.6, Jdk 1.6.0. Please rep

manual reloading a class

2010-07-23 Thread michel
I don't want to use the automatic class reload for performance reasons, but is there some code or such that will reload a specific class? Thank you!

Re: setHeader vs addHeader problem

2010-07-23 Thread Yoryos
I forgot to mention that I use Tomcat v6.0.20 On Fri, Jul 23, 2010 at 12:10, Yoryos wrote: > Hello > looking at HttpServletResponse > javadoc > I > can understand that the difference between setHeader

setHeader vs addHeader problem

2010-07-23 Thread Yoryos
Hello looking at HttpServletResponse javadoc I can understand that the difference between setHeader and addHeader is that the first one overrides previous setted one (if any) and the second one just ads th

Re: Tomcat AJP vs mod_jk's max_pool_size

2010-07-23 Thread Rainer Jung
On 23.07.2010 04:07, Imran Khan wrote: Hi, I am currently using apache tomcat 5.5 using mod_jk to connect with apache 2.2. I am curious to understand how the AJP 1.3 connector works. Basically I would like to know if maxThreads attribute has the same meaning with the AJP connector as it does wi

Re: Spring security configuration in web.xml results in 403 error

2010-07-23 Thread André Warnier
Ashish Jain wrote: any takers for this Q??? On Thu, Jul 15, 2010 at 1:38 PM, Ashish Jain wrote: Hi, I have an application which uses non interactive login and hence utilizes NONLogin Authenticator in tomcat. Here is a snippet from web.xml. contextConfigLocation /WEB-INF/app

RE: isapi_redirect.dll fail in SSO on high cpu load

2010-07-23 Thread Yun Feng Chua
Yes it is a IIS issue. and i think i just solve it. I increase the "Max number of Worker Processes" from 1 to 3 in the Default Application Pool. and it works. It will not prompt for authentication immediately anymore, but will just try to serve the page when the cpu is not 100%. I should s

Re: SSL, mod_proxy_ajp and AJP connectors query

2010-07-23 Thread Brett Delle Grazie
To Christopher and Rainer, Thanks, that resolved the issue completely. Best Regards, Brett On Thu, 2010-07-22 at 17:35 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Brett, > > On 7/22/2010 1:31 PM, Brett Delle Grazie wrote: > > Tomcat 6.0.28 (binary d