Re: Include Directive Misbehaving: Feedback for Mark Thomas

2006-11-08 Thread Justin Jaynes
Mark Thomas, To start on a positive note, I 've never found an open source project with real help as accessable, as reliable, as knowledgeable, or as patient as I have with Tomcat. I have access to amazing support/discussion groups, with immediate communications to developers and document writers

Re: Use tomcat ant task to precompile jsp file in my webapp

2006-11-08 Thread ying lcs
Sorry, I found it: http://tomcat.apache.org/tomcat-4.1-doc/jasper-howto.html On 11/8/06, ying lcs <[EMAIL PROTECTED]> wrote: Hi, Can you please tell me where can i find tomcat ant task to precompile jsp files in my webapp? I am using tomcat 4.1. From here it said i shouldn't use the jspc tas

Re: Use tomcat ant task to precompile jsp file in my webapp

2006-11-08 Thread Mark Thomas
ying lcs wrote: > Hi, > > Can you please tell me where can i find tomcat ant task to precompile > jsp files in my webapp? > I am using tomcat 4.1. > >> From here it said i shouldn't use the jspc task in ant. > http://ant.apache.org/manual/OptionalTasks/jspc.html > > and from here, i can't find a

Use tomcat ant task to precompile jsp file in my webapp

2006-11-08 Thread ying lcs
Hi, Can you please tell me where can i find tomcat ant task to precompile jsp files in my webapp? I am using tomcat 4.1. From here it said i shouldn't use the jspc task in ant. http://ant.apache.org/manual/OptionalTasks/jspc.html and from here, i can't find an example of how to use tomcat 4.1

RE: Session Creation in Tomcat...Session timeout

2006-11-08 Thread Chetan Pandey
This must then be related to the session-timeout problem I am facing. This is what is happening: When my Session - currently set to 1 minute in web.xml - times-out clicking on any LINK automatically redirects me to the Login Page. On re-logging in, through the logs I am observing that it is not

Re: Session Creation in Tomcat

2006-11-08 Thread Mark Thomas
Chetan Pandey wrote: > I am also using Formm-based JDBC-JNDI Realm based Authentication. > So can anyone pls clarify if the session is supposed to be created when we > l;aunch the URL or session is supposed to be created when the User logs in. FORM authentication requires a session so one gets cr

Session Creation in Tomcat

2006-11-08 Thread Chetan Pandey
Hi All: I have implemented a HttpSessionListener in my Struts based Web App. And session creation and destruction are indicated by the printing of Debug Statements on the Console. I am also using Formm-based JDBC-JNDI Realm based Authentication. But what I find strange is that when

Re: Tomcat and JSF. Internet Explorer prompts for download

2006-11-08 Thread Stephen Souness
I'm no JSF expert, but the following might get you somewhere... Do you have a MIME type configured for the url extension(s) that you have for your JSF URLs? I've also seen a recommendation to add the following directive: on the Core JSF FAQ page. -- Stephen Christopher Schultz wrote: -

Re: Can anyone get startup -jkconf to work?

2006-11-08 Thread Bill Barker
If you are using a Tomcat version later that 3.3.x, then no. That option is only for 3.3.x. "Beagan, Patrick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Can anyone get startup -jkconf to work? I've tried this command on multiple OSes and it never produces a jkConfig file. To

RE: Installing a SSL under Tomcat 5

2006-11-08 Thread Andy Tipton
Ah, great... thank you for the info... -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 9:49 PM To: Tomcat Users List Subject: Re: Installing a SSL under Tomcat 5 Andy Tipton wrote: > Evening, > > I have been reading about in

Re: Installing a SSL under Tomcat 5

2006-11-08 Thread Mark Thomas
Andy Tipton wrote: > Evening, > > I have been reading about installing the SSL certificate for my > server and when I when to download the JSSE (from Sun), it said that that > version did not support versions 1.4 and 1.5 of the JDK. I am on 1.5, so > what do I do? Nothing! JSSE is i

Installing a SSL under Tomcat 5

2006-11-08 Thread Andy Tipton
Evening, I have been reading about installing the SSL certificate for my server and when I when to download the JSSE (from Sun), it said that that version did not support versions 1.4 and 1.5 of the JDK. I am on 1.5, so what do I do? Thank you in advance, Andy

Re: Extracting certificate information

2006-11-08 Thread Martin Gainty
the request.AuthType needs to be request.CLIENT_CERT_AUTH if(request.getAuthType()==request.CLIENT_CERT_AUTH) { //do your cert processing... } so in web.xml CLIENT_CERT RealmName so check the auth-method from your web.xml and make sure you set up to Standard Caveats apply as this is Only one

Re: configuring tomcat 6

2006-11-08 Thread Mark Thomas
Martin Gainty wrote: > Henry - > > It would be much easier to to implement this under tomcat standalone > Is/Are there any reasons to run Apache with Tomcat or could you run Tomcat > standalone? Martin - you are confusing "Apache Httpd" which is commonly known as "Apache" and "Apache Tomcat" the

Extracting certificate information

2006-11-08 Thread Andrew Friebel
I wish to extract certificate information from my servlet that is running within tomcat. The problem that I get is that my x509 certificate array is always null. The code snippet that I am attempting to use is: X509Certificate[] certs = (X509Certificate[]) request.getAttribute("javax.servlet.re

Extracting certificate information

2006-11-08 Thread Andrew Friebel
I wish to extract certificate information from my servlet that is running within tomcat. The problem that I get is that my x509 certificate array is always null. The code snippet that I am attempting to use is: X509Certificate[] certs = (X509Certificate[]) request.getAttribute("javax.servlet.re

Re: problems with unpacking ROOT.war

2006-11-08 Thread Chris Halstead
Hi Andy, Perhaps I'm missing a key point about what you're trying to achieve, but if you simply put your ROOT.war file *outside* of ${CATALINA_HOME}/webapps and update your ROOT.xml file with an appropriate docBase element you'll find that it unpacks just fine. To wit, this works on TC-5.5.20

RE: Web Service state migration/preservation possibly in combination with WSRF

2006-11-08 Thread Richard Mixon (Qwest)
As you asked on the Tomcat forum, I'm assuming your wish a solution that runs on Tomcat. I have seen a number of web services frameworks discussed on this forum - all that run under Tomcat (Axis is one I believe). I would think they must all be built using the Servlet API as a foundation - but I d

RE: SSL not working on Tomcat - The Solution

2006-11-08 Thread Michael Casale
Hi All - The simple solution to this whole problem is that I was using the wrong Keystore file - not the one I originally used to generate my certificate request. I originally tried to use the original keystore file to import in my newly purchased certification, but I kept getting the error "Wron

Re: configuring tomcat 6

2006-11-08 Thread Martin Gainty
Henry - It would be much easier to to implement this under tomcat standalone Is/Are there any reasons to run Apache with Tomcat or could you run Tomcat standalone? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated

Re: Tomcat and JSF. Internet Explorer prompts for download

2006-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josué, Josué Alcalde González wrote: > I am developing a JSF application using tomcat 5.5.20 and myfaces 1.1.4. > > It works perfect in Firefox but IE doesn't show the faces pages, but it > prompts to download. MSIE is a pile of crap. Given your JSP

Re: Include Directive Misbehaving

2006-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, Justin Jaynes wrote: > Oh snap! I just love it when people use that phrase! You just brightened-up my evening, Justin. > That's exactly what's happening. No wonder nothing makes sense. Glad you found your problem. Good luck. - -chris -

Re: Include Directive

2006-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, Justin Jaynes wrote: > You also suggested this: <%@ include file="<%= request.getContextPath() > %>/header.jsp" %> > I tried it but the code inside the quotes does not get evaluated. Yeah, that was just an idea. I can't remember, does <[EMAI

Re: SSL not working on Tomcat

2006-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Michael Casale wrote: > I've installed Firefox 2.0 and I get the error: > > "Firefox can't connect securely to upm.knoa.com because the site uses a > security protocol which isn't enabled" > > So... I changed sslProtocol="TLS" to sslProtoco

Tomcat 5.0.30-27.2 Admin Tool Service (Catalina) tree does not display

2006-11-08 Thread Roger Hendrix at Baldor-IS
Greetings: I have a new installation of linux (SuSe 10 Enterprise Server) running on an IBM Z9 mainframe. I installed the Tomcat server (version 5.0.30-27.2) and all seems to work but the Admin Tool Service drop down window. When I hover the mouse over the link the link appears to be incomplet

Re: Tomcat & Apache

2006-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, You really ought to post this kind of stuff to the list. I'm cc'ing the list so everyone can see our discussion. You can leave me off the cc list from now on. Paul Hickey wrote: > I have tomcat & apache running side by side, and I've manged to

configoration

2006-11-08 Thread chukwudi henry
hi my name is henry,am relatively new with jsp. i just downloaded Apache-tomcat 6.0 after installing java5.0.i also set the environment variables for java.also i ve installed Apache tomcat too but ve not set the environment variables because i don't no the variable value.i used the default loca

configuring tomcat 6

2006-11-08 Thread chukwudi henry
hi my name is henry,am relatively new with jsp. i just downloaded Apache-tomcat 6.0 after installing java5.0.i also set the environment variables for java.also i ve installed Apache tomcat too but ve not set the environment variables because i don't no the variable value.i used the default loca

using JAAS, SSL, tomcat JAASReam - how to get user's session

2006-11-08 Thread Kent, Doug
Hello, I am implementing user authentication and authorization on an SSL-secured Web server running Tomcat 4.1 on Debian Linux, using the JAAS interfaces; in addition, am using the vanilla tomcat org.apache.catalina.realm.JAASRealm class. My question is, how would I get the user's session going

Re: Tomcat and JSF. Internet Explorer prompts for download

2006-11-08 Thread Martin Gainty
Josue- I cannot resolve http://java.sun.com/jsf/html from your index.jsp Entiende? M This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby no

RE: Load balancing mark down question

2006-11-08 Thread Sharma, Siddharth
Hey Rainer I currently have 1.2.15. Do I need to install all the interim releases or 1.2.19 is all encompassing? Thanks Sidd Ref: http://www.nabble.com/Load-balancing-mark-down-question-t2590766.html -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Wednesday, Novemb

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > I manually added servlet-api.jar to CLASSPATH at first and Tomcat > started without errors. You've got something else going on. Tomcat completely ignore

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
That makes no sense at all, since there are no javax.* classes in tools.jar. The only thing that Tomcat might use out of tools.jar is the javac classes, and then only if you configure it to use javac instead of the default compiler. I know it looks strange. I manually added servlet-api.jar to C

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > Linux version of catalina/bin/setclasspath.sh in 5.5.15,17,20 hides > the following classpath setting under condition. With tools.jar in > classpath it wo

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Hi! The problem was solved. Linux version of catalina/bin/setclasspath.sh in 5.5.15,17,20 hides the following classpath setting under condition. With tools.jar in classpath it works. if [ "$1" = "debug" -o "$1" = "javac" ] ; then CLASSPATH="$JAVA_HOME"/lib/tools.jar fi Btw, setclasspath.bat d

Tomcat 5.5 not recognizing my trustedCertEntry?

2006-11-08 Thread Michael Casale
Hi All, I'm very new to Tomcat, so please excuse my ignorance. I'm setting up a server with Tomcat and SSL for our developers. For their product they must use Tomcat 5.5 - they can not upgrade to 6 at this time. The problem: I've purchased a cert from Geotrust.com, successfully imported it

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Martin, Chuck Thanks for reply. 1. servlet-api.jat is only in tomcat/common/lib 2. cut from web.xml Can we see the web.xml listener element configuration for ServletContextListener and any listener's deriving from ServletContextListener org.springframework.web.context.ContextLoa

minimum context file contents

2006-11-08 Thread Michael Hencin
Hello I have a context file with a JNDI resource configured in it. My context .xml file is located in the META-INF, and gets copied to the conf/Catalina/localhost/ just fine. I routinely rename my war file to app2.war, app3.war, etc to create discrete instances for demo purposes. However, the cont

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Martin Gainty
Vasily- Can we see the web.xml listener element configuration for ServletContextListener and any listener's deriving from ServletContextListener have you verified your $CATALINA_HOME/commons/lib/servlet-api.jar is the same as the OS specific distro jar? Anyone else? M- This e-mail communication

RE: Application deployment error

2006-11-08 Thread Caldarale, Charles R
> From: evi [mailto:[EMAIL PROTECTED] > Subject: Application deployment error > > SEVERE: Error initializing endpoint > java.net.BindException: Address already in use: JVM_Bind:8080 So what else is using port 8080? Could be another copy of Tomcat running, could be another process, could be conf

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
> From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] > Subject: java.lang.NoClassDefFoundError: > javax/servlet/ServletContextListener > > - Error configuring application listener of class > myapp.util.WebApplicationContextSupport > java.lang.NoClassDefFoundError: javax/servlet/ServletContextList

Re: Load balancing mark down question

2006-11-08 Thread Rainer Jung
Sharma, from the 1.2.19 code the request should also work by completely omitting the id parameter and only using the worker name :) Regards, Rainer Sharma, Siddharth schrieb: > Hi Rainer > Thx for the response. > > What does "missing answers" mean? > If there is no http body, will it be mark

Web Service state migration/preservation possibly in combination with WSRF

2006-11-08 Thread Bertrand Baesjou
Hi all, I have a question regarding the preservation of the state of a WS. Lets say I have two nodes which both run the same service and one of those nodes is sort of the primary node (clients only connect to the primary node). Now I want that the second node "knows" the state of the first no

Application deployment error

2006-11-08 Thread evi
Hello, While trying to deploy Jetspeed portal application I get an error: SEVERE: Context [/jetspeed] startup failed due to previous errors Please advise where to look for solution. Evi The Tomcat Catalina.log reads: Nov 8, 2006 5:24:22 PM org.apache.catalina.core.AprLifecycleListener lifecyc

Re[2]: Comet + tomcat6

2006-11-08 Thread Dima Retov
JK> If you could guide us or send us a link as to how to use APR and NIO JK> connectors (which support Comet). APR is not comet. NIO is comet. I do not think that APR support async IO. APR only handles sleeping keep-alive connections in async way. APR processes requests in regular way. Am I righ

Can anyone get startup -jkconf to work?

2006-11-08 Thread Beagan, Patrick
Can anyone get startup -jkconf to work? I've tried this command on multiple OSes and it never produces a jkConfig file. Tomcat just starts up normally. Is this feature broken? I doubt it, but it is not producing a file as stated in the docs. Any ideas? thanks.

java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Hi! I've got the following problem during Tomcat 5.5.20 startup - Error configuring application listener of class myapp.util.WebApplicationContextSupport java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener servlet-api.jar is in common/lib. I've never had such problem with Tom

Valve using Spring / Classloading problem

2006-11-08 Thread Marco Pöhler
Hi list, I try to write a Valve, that uses a Spring BeanFactory to lookup beans and do things. A FactoryBean is initialized when the Valve is called the first time. Here is the code for the Valve: public class TrackingValve extends ValveBase { private StorageService storageService; pr

Re: Undeploy does not remove all of the files in the application

2006-11-08 Thread Mikolaj Rydzewski
René Schade wrote: Any help is appreciated! The classloaders cannot be unloaded. It's a common problem. Google for it ;-) The simple workadound is to use anti*locking attributes in context.xml: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html -- Mikolaj Rydzewski <[EMAIL PROT

Undeploy does not remove all of the files in the application

2006-11-08 Thread René Schade
Hi! I have a problem when trying to undeploy an application. Whenever I try to undeploy using the manager application (or from Ant), not all of the files in the application (located in webapps) are removed. Some of the jar-files still exist in the folder. I have to restart tomcat in order to r

Re: Several hosts with default contexts...

2006-11-08 Thread Mark Thomas
Peter Björkman wrote: > Hi! This might be a stupid question, but I can't find the answer anywhere. This came up yesterday. I think I need to put something in the docs... http://marc.theaimsgroup.com/?l=tomcat-user&m=116296369528038&w=2 Mark --

Several hosts with default contexts...

2006-11-08 Thread Peter Björkman
Hi! This might be a stupid question, but I can't find the answer anywhere. I will run multiple hosts (Tomcat 5.0) and they should each have different default web applications. I could define the contexts in server.xml, but this is not recommended according to the documentation. The way we usual

Re: Comet + tomcat6

2006-11-08 Thread Mark Thomas
Jayant Kumar wrote: > Hi Mark > > Thank you for your suggestions. We are using the default connector for > tomcat6(probably the Http connectors). We would be greatful to you > If you could guide us or send us a link as to how to use APR and NIO > connectors (which support Comet). It was in my la

RE: Comet + tomcat6

2006-11-08 Thread Jayant Kumar
Hi Mark Thank you for your suggestions. We are using the default connector for tomcat6(probably the Http connectors). We would be greatful to you If you could guide us or send us a link as to how to use APR and NIO connectors (which support Comet). Regards Jayant -Original Message- From

RE: Why can java.io.NotSerializableException occur?

2006-11-08 Thread Tim Lucia
If all your session objects (beans) implement java.io.Serializable, then Tomcat can persist sessions across shutdowns and restarts. If they do not, then session cannot survive a shutdown/restart. The message is otherwise harmless. If you want to cluster Tomcats to serve your app, you really shou

Re: Call For Papers -- 2007 Southern California Linux Expo

2006-11-08 Thread Ilan Rabinovitch
Hello, We are coming up on the end of the SCALE 5x call for papers, and I wanted to give everyone a quick reminder that the last day for submissions is Novmeber 20, 2006. SCALE 5x is the 5th annual Southern California Linux Expo. It will be held at the Los Angeles Airport Westin Hotel on Feb 10

Re: Need setting up Tomcat with Apache web-server

2006-11-08 Thread Rainer Jung
You made a mistake when trying to post your workers.properties. You posted the httpd.conf twice. Please post worker.properties. The error situation looks strange. I would like to know, if you can successfully send the same request to tomcats http conector. Even if you don't want to use that connec

Tomcat and JSF. Internet Explorer prompts for download

2006-11-08 Thread Josué Alcalde González
I am developing a JSF application using tomcat 5.5.20 and myfaces 1.1.4. It works perfect in Firefox but IE doesn't show the faces pages, but it prompts to download. This is my web.xml file: --- http://java.sun.com/xml/ns/