RE: Need tomcat build for Fedora 3 on x86

2006-01-30 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: RE: Need tomcat build for Fedora 3 on x86 > > But in reality I have so far never seen such a thing as a Java > "build once, run everywhere" come true. Actually, I've never seen it fail, for pure Java, headless-compatible programs.

RE: switch off tomcat version

2006-01-30 Thread Caldarale, Charles R
> From: Edward Quick [mailto:[EMAIL PROTECTED] > Subject: switch off tomcat version > > I have a Tomcat set up in production, but when it errors with > a 404 or 500, it reveals its version number at the bottom of > the page. Is there any way to disable this? Use a custom error page (see section

RE: From Java to C#, ASP.NET [Off Topic]

2006-01-30 Thread Caldarale, Charles R
> From: Hans Sowa [mailto:[EMAIL PROTECTED] > Subject: Re: From Java to C#, ASP.NET [Off Topic] > > I want to mentioned that it is not important which API is > used from JAVA to say that your application is a J2EE > application or not. The only two thinks which count are > 1) it is written in

RE: Tuning Tomcat , i need some advice

2006-01-30 Thread Caldarale, Charles R
> From: Legolas Woodland [mailto:[EMAIL PROTECTED] > Subject: Tuning Tomcat , i need some advice > > Where i can find more reference and how to(s) or step by step > manual to tune tomcat. I'd suggest starting with Peter Lin's paper: http://tomcat.apache.org/articles/performance.pdf Also look i

RE: is there any way to monitor application server when it is working ?

2006-01-30 Thread Caldarale, Charles R
> From: Legolas Woodland [mailto:[EMAIL PROTECTED] > Subject: is there any way to monitor application server when > it is working ? > > is there any application that help monitor an application > server when it is working ? Look at Tomcat's built-in manager app as an example. Read the doc: ht

RE: context.xml

2006-01-30 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: context.xml > > I thought the name of the xml file located in : > > $CATALINA_HOME/conf/[enginename]/[hostname]/ > > had to match the name of your webapp directory. No, it defines the name of the webapp, not the directory it's stor

RE: Tomcat and client certificates

2006-01-31 Thread Caldarale, Charles R
> From: Tom Bednarz [mailto:[EMAIL PROTECTED] > Subject: Tomcat and client certificates > > If that is not possible, I need two servers, each running > an instance of Tomcat with different server.xml settings. I haven't tried it, but I would think all you need is two sets of tags, not two comp

RE: Tomcat log to syslog

2006-01-31 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mark F > Subject: Tomcat log to syslog > > If there is a newer version available for SLES > could someone please let me know where to find it. Other than the optional APR connector, Tomcat is pure Java, so just grab the latest level from the To

RE: Cannot transform and load jsp file with Tomcat under Eclipse

2006-01-31 Thread Caldarale, Charles R
> From: David Ziants [mailto:[EMAIL PROTECTED] > Subject: Cannot transform and load jsp file with Tomcat under Eclipse > > I also added META-INF\context.xml file: > == > > > == The p

RE: RE: context.xml

2006-01-31 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: RE: RE: context.xml > > I am hoping to find a place for a context.xml to live where it will > never get deleted. That a customer can change and when we give them a > new war file, the context.xml changes that they have made will stick

RE: How to identify version of a running Tomcat and similar trivia

2006-02-01 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: How to identify version of a running Tomcat and > similar trivia > > 3. How to identify a Tomcat's config? > 4. Parsing the config > 5. Tool for monitoring a Tomcat's state For all of the above, try the manager and admin apps tha

RE: Betr.: RE: Memory Management between different webapps

2006-02-02 Thread Caldarale, Charles R
> From: Roel De Nijs [mailto:[EMAIL PROTECTED] > Subject: Betr.: RE: Memory Management between different webapps > > The problem we are confronted with: all our web-apps are > running fine in our test-environment, even if workload is > simulated to be very high. If we go to production environme

RE: APR in Tomcat 5.5

2006-02-02 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Antonio W. Lagnada > Subject: APR in Tomcat 5.5 > > Once I have apr installed, what is the configuration change > that I need to do to let tomcat know to use apr? None, assuming the APR native library is installed in the proper

RE: APR in Tomcat 5.5

2006-02-02 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: APR in Tomcat 5.5 > > None, assuming the APR native library is installed in the > proper place. Should have mentioned that the proper place is normally specified by the LD_LIBRARY_PATH environment

RE: Port 8443 won't become active

2006-02-02 Thread Caldarale, Charles R
> From: Jeffery G. Summers [mailto:[EMAIL PROTECTED] > Subject: Port 8443 won't become active > > Our webserver is an IBM P615C AIX 5.2 box. I have attempted > the following to enable port 8443: > > 1) keytool -genkey -alias tomcat -keyalg RSA > 2) Edited server.xml and uncommented the port

RE: the best way to distribute Tomcat with my web-application

2006-02-02 Thread Caldarale, Charles R
> From: Felipe Gaúcho [mailto:[EMAIL PROTECTED] > Subject: Re: the best way to distribute Tomcat with my web-application > > tomcat runs whithout installation under windows ? i.e., can I > simply unzip a tomcat version and run it through command line? Yes, if you start with the .zip version fro

RE: APR in Tomcat 5.5

2006-02-02 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Antonio W. Lagnada > Subject: Re: APR in Tomcat 5.5 > > Thanks. I'm assuming I need to append it to LD_LIBRARY_PATH as such: > LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/apr If you already have something in that environment v

RE: Port 8443 won't become active

2006-02-02 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: Port 8443 won't become active > > when I had this problem it was caused by the presence of a > file named "tcnative-1.dll" in the ~/Tomcat 5.5/bin > directory. When I removed that .dll file, everything worked > as described i

RE: Why TC 5.5 vs TC4.1 (perf reasons)

2006-02-03 Thread Caldarale, Charles R
> From: Lionel Farbos [mailto:[EMAIL PROTECTED] > Subject: Why TC 5.5 vs TC4.1 (perf reasons) > > is somebody know a good link that show why Tomcat 5.5 is > better than Tomcat 4.1 ? Don't know of any documented 4.1 vs. 5.5 studies, but Peter Lin published an interesting paper comparing static d

RE: need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Caldarale, Charles R
> From: Alan Honczar [mailto:[EMAIL PROTECTED] > Subject: need suggestion about jdk 1.4 logging in Tomcat > > I need a suggestion about java logging within a context. > I´d like to have a way to isolate the jdk1.4 log between > Tomcat contexts. You didn't bother to tell us what Tomcat version y

RE: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Caldarale, Charles R
> From: John [mailto:[EMAIL PROTECTED] > Subject: Managed beans not instantiated with embedded Tomcat 5.5.15 > > The web application makes use of managed beans > > This web application works fine when run in a Stand Alone > Tomcat that is not embedded. > > When the web application is run within ou

RE: Definitive Guide for setting up SSL for Tomcat

2006-02-03 Thread Caldarale, Charles R
> From: Patrick Lacson [mailto:[EMAIL PROTECTED] > Subject: Definitive Guide for setting up SSL for Tomcat > > This is where I need your help. I followed the Tomcat instructions ( > http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html) to > the letter and have been unsuccessful. You didn't sp

RE: Managed beans not instantiated with embedded Tomcat 5.5.15

2006-02-03 Thread Caldarale, Charles R
> From: Dennis Byrne [mailto:[EMAIL PROTECTED] > Subject: Re: Managed beans not instantiated with embedded > Tomcat 5.5.15 > > He's not talking about mBeans, he means JSF managed beans. Oops. Thanks for the clarification. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWIS

RE: KeepGenerated

2006-02-04 Thread Caldarale, Charles R
> From: Dave Morrow [mailto:[EMAIL PROTECTED] > Subject: KeepGenerated > > If my thinking is correct, the change in KeepGenerated should have > decrease performance? Am I correct in this assumption? > Does anyonw know of any drawbacks to what I have done? Changing keepgenerated shouldn't real

RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15

2006-02-04 Thread Caldarale, Charles R
> From: Yue Mu [mailto:[EMAIL PROTECTED] > Subject: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15 > > However, when the web application is stopped (unavailable), > it returns the default Tomcat 503 error page (see below), > not the custom error page. If the application is not available,

RE: Would like to know what might be causing this exception in servlet

2006-02-04 Thread Caldarale, Charles R
> From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] > Subject: Would like to know what might be causing this > exception in servlet > > Feb 1, 2006 9:09:33 PM org.apache.tomcat.util.net.PoolTcpEndpoint > processSocket > SEVERE: Socket error caused by remote host /204.244.137.23 > java.net.Sock

RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15

2006-02-04 Thread Caldarale, Charles R
> From: Yue Mu [mailto:[EMAIL PROTECTED] > Subject: RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15 > > If the sendError method is called on the response, I think the above clause lets the container off the hook, since the app code could not have used the sendError method (since the

RE: Tomcat startup class loading differences

2006-02-04 Thread Caldarale, Charles R
> From: Casey Dunn [mailto:[EMAIL PROTECTED] > Subject: Tomcat startup class loading differences > > Tomcat 4.1.24 java 1.4.2_09 > > Some days it works (either 200's or 404's) and others it does not > (403's) when making a request to our service. Is the problem reproducible on the current leve

RE: Missing startup/shutdown scripts in latest 5.1.15 Windows install

2006-02-05 Thread Caldarale, Charles R
> From: Glen Mazza [mailto:[EMAIL PROTECTED] > Subject: Re: Missing startup/shutdown scripts in latest > 5.1.15 Windows install > > I would forget about the windows installer and just install the TC > .zip binary version into a new directory instead, and create desktop > shortcuts to the bin/s

RE: Securing Tomcat

2006-02-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Securing Tomcat > > First I wondered why they were started as root process. Only to allow access to ports below 1024. You can use iptables to reroute ports, or use jsvc to start Tomcat with some other userid. Google or search the

RE: Error reported in catalina.out: Invalid path /login was requested

2006-02-06 Thread Caldarale, Charles R
> From: Tobias Illik [mailto:[EMAIL PROTECTED] > Subject: Error reported in catalina.out: Invalid path /login > was requested > > Whenever i access the Tomcat Administration Tool I get the > Error message: This is normal on the first access to the admin app. I haven't bothered to go through

RE: Two DNS Entries Two Sites?

2006-02-06 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: Two DNS Entries Two Sites? > > A week ago, I created another context (in the server.xml) for a > dev-site, of my live site, and I am using that for QA. I want to run a > second real-web site off this box, and same Tomcat. It has its own D

RE: Tomcat logrotation

2006-02-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Tomcat logrotation > > I would like to employ logrotate. Have you read the doc: http://tomcat.apache.org/tomcat-5.5-doc/logging.html http://tomcat.apache.org/faq/logging.html http://minaret.biz/tips/tomcatLogging.html#tomcat_5_5_l

RE: webapps/ROOT

2006-02-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: webapps/ROOT > > a) what is the standard purpose and use of the > webapps/ROOT context It's the default application for the host. > b) why would someone want to deploy their app to this location So that end users can use just the

RE: servlet.jar

2006-02-06 Thread Caldarale, Charles R
> From: Joe McTigue [mailto:[EMAIL PROTECTED] > Subject: RE: webapps/ROOT I think you just hijacked another thread. If you have a new question, please start a new thread, and not reuse an existing one. > But all I was asking was, "do you know where in the tomcat5.5 core > download The servlets

RE: Would like to know what might be causing this exception in servlet

2006-02-06 Thread Caldarale, Charles R
> From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] > Subject: RE: Would like to know what might be causing this > exception in servlet > > I have one more. This *IS* a real error, and is caused by something > breaking between MySQL and my servlets. (Should probably start a new thread for th

RE: Why JasperException "Unable to compile"

2006-02-07 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Why JasperException "Unable to compile" > > we run two Tomcats on two separate hosts which are assumed > to be configured exactly the same (at least as far as Tomcat, > Java env, and this webapp are concerned). And what would tha

RE: Tomcat 5.5.15 Context Reloading issue

2006-02-07 Thread Caldarale, Charles R
> From: Joey Geiger [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.15 Context Reloading issue > > The host is configured as: > > unpackWARs="true" autoDeploy="true" xmlValidation="false" > xmlNamespaceAware="false" reloadable="true"> > > > > An empty docBase path is rather odd. The appBa

RE: context.xml my old friend

2006-02-07 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: context.xml my old friend > > I cannot get tomcat 5.5.15 to use: > > $CATALINA_HOME/webapp/Monitor/META-INF/context.xml Do you mean webapp or webapps (the latter is the standard)? If the above was not just a typo, check that it mat

RE: context.xml my old friend

2006-02-07 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: RE: context.xml my old friend > > I've turned off autoDeploy. That should not affect deployment of apps that are already in the webapps directory, only deployment of ones added after Tomcat starts. It's the deployOnStartup attribute t

RE: context.xml my old friend

2006-02-07 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: RE: context.xml my old friend > > So perhaps I need to file a bug on this I don't think you'll get very far. I installed the probe application, turned off autoDeploy, and started Tomcat. The probe app comes up as privileged, and tha

RE: context.xml my old friend

2006-02-07 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: RE: context.xml my old friend > > When you did this, do you get a copy of the context.xml > within Catalina/localhost renamed to probe.xml? Nope - no extra copies of the file containing the tag were created. - Chuck THIS COMMUNI

RE: Virtual Directory

2006-02-07 Thread Caldarale, Charles R
> From: sumesh [mailto:[EMAIL PROTECTED] > Subject: Virtual Directory > > How can I create a Virtual Directory in Apache Tomcat? I have > installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I > have some Tutorials in "E:\Tutorial" .I want to publish the same using > the same We

RE: RotateLogs in Apache 2.0

2006-02-07 Thread Caldarale, Charles R
> From: Nehal Sangoi [mailto:[EMAIL PROTECTED] > Subject: RotateLogs in Apache 2.0 > > I need to rotate logs in apache 2.0 once they reach the > size limit of 5 MB. What commands would work to carry > out the reqd. job? Why would you be asking an Apache httpd question on the Apache Tomcat mail

RE: Tomcat compression not working for data sent by server only - compression works for receipt from browser

2006-02-08 Thread Caldarale, Charles R
> From: Medha Parathasarathy [mailto:[EMAIL PROTECTED] > Subject: Tomcat compression not working for data sent by > server only - compression works for receipt from browser > > We have a small application running on tomcat 5.5. We tried to enable > compression. The same is working on communcatio

RE: How to set the session pool size?

2006-02-08 Thread Caldarale, Charles R
> From: Vincent [mailto:[EMAIL PROTECTED] > Subject: How to set the session pool size? > > I met a strange problem , that it seems that when the session pool > size reaches 25 , exception will throw and my application have to > restart then it can be work again. What version of Tomcat? What exc

RE: Virtual Directory

2006-02-08 Thread Caldarale, Charles R
> From: sumesh [mailto:[EMAIL PROTECTED] > Subject: Virtual Directory > > How can I create a Virtual Directory in Apache Tomcat? I have > installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I > have some Tutorials in "E:\Tutorial" .I want to publish the same using > the same We

RE: Re: Verisign SSL on Tomcat 5.5.9

2006-02-08 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: Re: Verisign SSL on Tomcat 5.5.9 > > I struggled with the install for weeks, and after screwing > around, found out it was once executable that was in my > install (Tomcat) that was screwing things up. Are you thinking of the tcna

RE: caseSensitive on Windows XP

2006-02-08 Thread Caldarale, Charles R
> From: Bob Faist [mailto:[EMAIL PROTECTED] > Subject: RE: caseSensitive on Windows XP > > Try this: > > > > > > I think tomcat is case sensitive by default. I had to add > the "caseSensitive" attribute to the top level node. ??? O.k., this is getting really silly - you can't nest

RE: Symlinked directories

2006-02-08 Thread Caldarale, Charles R
> From: Alex Turner [mailto:[EMAIL PROTECTED] > Subject: Symlinked directories > > I'm using tomcat 5.5.12 on linux, and I'm wondering how I can get > tomcat to follow symlinks in a web app directory? RTFM: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Look at the allowLinking att

RE: context.xml my old friend (SOLVED)

2006-02-08 Thread Caldarale, Charles R
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Subject: RE: context.xml my old friend (SOLVED) > > When I had META-INF/context.xml it was never being deployed > (copied and renamed) to: > $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml This happens only when your app is in a .war file

RE: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-08 Thread Caldarale, Charles R
> From: Mark Demma [mailto:[EMAIL PROTECTED] > Subject: Using Tomcat over NFS over multiple hosts, want to > separate locations of directories > > the two main problems I run into is the inability to separate > the web app deploy path, i.e. where it LOOKS for the warfiles > and the expand path,

RE: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-08 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: 2006 February 08, Wednesday 23:06 > To: Tomcat Users List > Subject: RE: Using Tomcat over NFS over multiple hosts, want > to separate locations of directories > > You should probably take a long look at: >

RE: Problem with Tomcat and Java versions

2006-02-09 Thread Caldarale, Charles R
> From: Letícia Álvares Barbalho [mailto:[EMAIL PROTECTED] > Subject: Problem with Tomcat and Java versions > > I was using java 1.4.2 here, and recently migrated to java 1.5. > Unfortunately, something probably is missing, 'cause I'm > having problems with Tomcat. You don't say what Tomcat ver

RE: starting with JNDI

2006-02-09 Thread Caldarale, Charles R
> From: Marcelo Fukushima [mailto:[EMAIL PROTECTED] > Subject: Re: starting with JNDI > > #1 solved my problem quite right... tough, i couldnt find the > context.xml in the documentation whatsoever It's here: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html This is reached from t

RE: Environment Entry

2006-02-09 Thread Caldarale, Charles R
> From: Marcelo Fukushima [mailto:[EMAIL PROTECTED] > Subject: Environment Entry > > Another sily question: how do i retrieve these Environment Entries > within an application? im using tomcat 5.5 There are examples here: http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html - Chuc

RE: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-09 Thread Caldarale, Charles R
> From: Mark Demma [mailto:[EMAIL PROTECTED] > Subject: Re: Using Tomcat over NFS over multiple hosts, want > to separate locations of directories > > the problem is that anything I put into webapps barfs with the > following, looking like it can't find any of it's libraries at /usr/ > dist/p

RE: Using Tomcat over NFS over multiple hosts, want to separate locations of directories

2006-02-09 Thread Caldarale, Charles R
> From: Mark Demma [mailto:[EMAIL PROTECTED] > Subject: Re: Using Tomcat over NFS over multiple hosts, want > to separate locations of directories > > I can't for the life of me find anywhere that you can tell tomcat > that it should look for it's whole [EMAIL PROTECTED]@ conf/ directory in

RE: webapp under different URLs with different JSP but same java classes

2006-02-10 Thread Caldarale, Charles R
> From: Lothar Krenzien [mailto:[EMAIL PROTECTED] > Subject: Re: webapp under different URLs with different JSP > but same java classes > > "Tomcat Users List" schrieb am > 10.02.06 15:14:51: > > > > Duplicate your classes, one copy in each webapp > > Of course I did it. But I hoped there is

RE: Tomcat out of memory

2006-02-10 Thread Caldarale, Charles R
> From: Burak "Yýlmaz [mailto:[EMAIL PROTECTED] > Subject: Tomcat out of memory > > Webpages seem to be loading sometimes then blank page > comes(totaly blank no error messages)...I havent set any > memory pool option on Tomcat or havent installed native > software support of Tomcat... > > Pl

RE: Tomcat - blank page problem

2006-02-10 Thread Caldarale, Charles R
> From: Burak "Yýlmaz [mailto:[EMAIL PROTECTED] > Subject: Tomcat - blank page problem > > Webpages seem to be loading then usually blank page > comes(totaly blank no error messages) on high traffic. > > Anyone knows why this problem may occur...? What do you see in the Tomcat logs? Can you s

RE: java.lang.Object cannot be resolved

2006-02-11 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: java.lang.Object cannot be resolved > > import java.lang.Object; > > The type java.lang.Object cannot be resolved. It is indirectly > referenced from required .class files Don't know why you're suddenly getting thi

RE: java.lang.Object cannot be resolved

2006-02-11 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.Object cannot be resolved > > The type java.lang.Object cannot be resolved. It is indirectly > referenced from required .class files This would imply that javac (or whatever compiler is being used) cannot find rt.j

RE: [OT] java.lang.Object cannot be resolved

2006-02-11 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.Object cannot be resolved > > Lets start with the easy stuff is > $JAVA_HOME\lib\rt.jar on your $CLASSPATH ??? The rt.jar should NOT be on CLASSPATH. CLASSPATH refers to the location of application classes, not ones provi

RE: [OT] java.lang.Object cannot be resolved

2006-02-11 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.Object cannot be resolved > > I never set $CLASSPATH, but when I call rt.jar via "javac -cp .../ > rt.jar Servlet.java", it works fine. Should I set $CLASSPATH or is > that enough? No, you don't want to put rt.jar on th

RE: java.lang.Object cannot be resolved

2006-02-11 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.Object cannot be resolved > > $CLASSPATH=$JAVA_HOME/jre/lib/rt.jar:$CLASSPATH To reiterate: rt.jar must NOT be included in the CLASSPATH variable setting. Classes from rt.jar ate expected to be loaded by the bootstrap clas

RE: java.lang.Object cannot be resolved

2006-02-12 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.Object cannot be resolved > > I set $JAVA_HOME to /usr/lib/jdk, it's a link to /usr/lib/jdk1.5.0_05. JAVA_HOME has no effect on compilations; the Tomcat startup scripts use it to find the installed JRE/JDK, but the standar

RE: install tomcat under linux (java problem)

2006-02-12 Thread Caldarale, Charles R
> From: Hannes Hein [mailto:[EMAIL PROTECTED] > Subject: install tomcat under linux (java problem) > > I try to install tomcat in the way it is described here: > http://tomcat.apache.org/tomcat-5.5-doc/setup.html Note that this section is for running Tomcat as a daemon; does Tomcat run properly

RE: Suppress Servlet-Engine header info

2006-02-12 Thread Caldarale, Charles R
> From: Jo Pfeffer [mailto:[EMAIL PROTECTED] > Subject: Suppress Servlet-Engine header info > > can I change the config so that it just sends something like > 'Servlet-Engine: Tomcat Web Server' or similar? More modern versions of Tomcat support the server attribute on the HTTP tag, and you can

RE: No of concurrent requests per session

2006-02-13 Thread Caldarale, Charles R
> From: Abhilash Kumar [mailto:[EMAIL PROTECTED] > Subject: No of concurrent requests per session > > I am using Tomcat 5.0.30 with HTTP 1.1 Connector. If I try > to make a third request while two other request's (which i > have already made) responses have not yet arrived, then > Tomcat is n

RE: java.lang.Object cannot be resolved

2006-02-13 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Re: java.lang.Object cannot be resolved > > No, simple "javac Hello.java" doesn't work. Only if I set $CLASSPATH > to "/usr/lib/jdk/jre/lib/rt.jar" or with the -cp-option. Then your JDK installation is broken. Where is javac being exe

RE: Trouble accessing Resources in my Context

2006-02-14 Thread Caldarale, Charles R
> From: Mark Slater [mailto:[EMAIL PROTECTED] > Subject: Re: Trouble accessing Resources in my Context > > So, while this works acceptably (the context information for the > webapp is not included in server.xml), I would *much* prefer to use > the WEB-INF/context.xml the Tomcat docs say I can

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: default webapp not understanding > > I am having trouble understanding what is meant by the default webapp. (It would help if you'd tell us what Tomcat level you're running...) For 5.5.x, the default webapp is the one located in webapps

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > If I deploy the webapp in ROOT, then the structure would look > like this: > $TOMCAT_HOME/webapps/root/mywebapp. No - get rid of the mywebapp idea. Your app needs to be deployed AS root, not un

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > This has been my confusion ... when I put the war file there, > it creates the mywebapp folder structure. Should I of named > the webapp root? The "name" of the webapp (what's used on the URI) is

RE: Trouble accessing Resources in my Context

2006-02-14 Thread Caldarale, Charles R
> From: Mark Slater [mailto:[EMAIL PROTECTED] > Subject: Re: Trouble accessing Resources in my Context > > Is there any particular reason the context file goes in META-INF as > opposed to WEB-INF? As I understand it, the structure and contents of WEB-INF are defined by the servlet spec, and ad

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Caldarale, Charles R
> From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED] > Subject: RE: Session Expires At Every Request (Tomcat5.0.28/Firefox) > > As the problem occurs with a live site, you can see > it yourself at www.tophotelchoices.com. (OT: A bit depressing to see a Holiday Inn at Aylesbury - I used to l

RE: LoginModule JAAS and Tomcat (initialize method is not called)

2006-02-15 Thread Caldarale, Charles R
> From: Vincent Delhommois [mailto:[EMAIL PROTECTED] > Subject: Re: LoginModule JAAS and Tomcat (initialize method > is not called) > > I start Tomcat with the following option : > set > JVM_OPTS=-Djava.security.auth.login.config=D:/Appl/eclipse/wor > kspace2/testAppli/jaas.conf

RE: New to apache / Tomcat

2006-02-15 Thread Caldarale, Charles R
> From: Andrew English [mailto:[EMAIL PROTECTED] > Subject: New to apache / Tomcat > > As for the Windows Tomcat server it looks something like > c:\asnweb\jboss_tomcat\jboss\catalina\ssar.e\ssapp (as example), and > when you look for the asn.html file on the windows machine you find it > in tota

RE: New to apache / Tomcat

2006-02-15 Thread Caldarale, Charles R
> From: Andrew English [mailto:[EMAIL PROTECTED] > Subject: RE: New to apache / Tomcat > > Could it be they are running both? Certainly could be, but I would have to wonder why... > I looked through all the jboss folders and found nothing related to > catalina just the files which make up the w

RE: J2SE 1.4 and Tomcat5.5 compatability package

2006-02-16 Thread Caldarale, Charles R
> From: Ayyanar Inbamohan [mailto:[EMAIL PROTECTED] > Subject: Reg: J2SE 1.4 and Tomcat5.5 compatability package > > I am using J2SE 1.4 and Tomcat 5.5, > What is the compatability package I should add in the > Tomcat 5.5 server to work with J2SE 1.4. It's the one on the Tomcat download pag

RE: New to apache / Tomcat

2006-02-16 Thread Caldarale, Charles R
> From: Andrew English [mailto:[EMAIL PROTECTED] > Subject: RE: New to apache / Tomcat > > Does Jboss have Catalina as a component to it, or is Catalina a apache > component only? JBoss uses the embedded form of Tomcat; Catalina is the internal name given to the servlet container components of T

RE: How to install a simple servlet in Tomcat?

2006-02-16 Thread Caldarale, Charles R
> From: Marc Wentink [mailto:[EMAIL PROTECTED] > Subject: RE: How to install a simple servlet in Tomcat? > > One addition, my version of Tomcat is 4.1 Unless you're tasked with development or maintenance of an old application environment, I'd suggest moving up to the current 5.5.x version of Tom

RE: Assistance required

2006-02-16 Thread Caldarale, Charles R
> From: Giorgio Clavelli [mailto:[EMAIL PROTECTED] > Subject: Re: Assistance required > > It seems you don't have the MySql driver in your classpath. Nor should any Tomcat administrator or user. Jars for JDBC drivers should be placed in specific directories, as described in the Tomcat JDBC and

RE: Tomcat in debug mode

2006-02-16 Thread Caldarale, Charles R
> From: harmeek singh jhutty [mailto:[EMAIL PROTECTED] > Subject: Tomcat in debug mode > > But there is no catalina.bat file under tomcat5.5.7/bin > folder,so how to make this work. Download and install the .zip version of Tomcat, rather than the .exe file. For reasons unknown, the scripts are

RE: Re: context error

2006-02-16 Thread Caldarale, Charles R
> From: "jacky" <[EMAIL PROTECTED]> > Subject: Re: Re: context error > > server.xml is the default server.xml: > > > Part of the problem may be that you have no default . There should be one (and only one) tag with path="". If you want your app to be the default, you can jus

RE: JNDI Datasource Problem

2006-02-20 Thread Caldarale, Charles R
> From: Rose, Greg [mailto:[EMAIL PROTECTED] > Subject: RE: JNDI Datasource Problem > > If it is 5.5.x, you can not alter the Server.xml file. That's not correct. It is strongly recommended to put tags in either the META-INF directory of the webapp or in conf/Catalina/[hostname]/[appname].xml,

RE: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Caldarale, Charles R
> From: Alex David Shadrach Hooper [mailto:[EMAIL PROTECTED] > Subject: java.lang.IllegalStateException: removeAttribute: > Session already invalidated > > This doesn't seem to be related to anything in the webapp code What about a session or context listener? What's the stack trace associated

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Caldarale, Charles R
> From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] > Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector > > Here is the very simple JSP that have written to isolate the error This probably won't help much: your sample JSP works fine for me on nearly stock versions of 5.5.15 and 5.

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Caldarale, Charles R
> From: Glen Mazza [mailto:[EMAIL PROTECTED] > Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector > > For the Vector object you're using, it is possible > that the JDT compiler is not 1.5-compliant The methods of interest (Vector.add() and Vector.iterator()) have been around sinc

RE: Tomcat & JavaMail Help

2006-02-20 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Tomcat & JavaMail Help > > I am trying to send an email from a servlet. The application > is running on Windows 2003. What you don't tell us is which version of Tomcat. The rules for specifying resources have evolved as the differe

RE: Hotspot_compiler for tomcat as win service?

2006-02-20 Thread Caldarale, Charles R
> From: Paul Holmes-Higgin [mailto:[EMAIL PROTECTED] > Subject: Hotspot_compiler for tomcat as win service? > > I'm trying to find where I can put .hotspot_compiler files for Tomcat > when installed as a Windows service (service.bat). You could use -XX:CompileCommandFile in the Java Options area

RE: Hotspot_compiler for tomcat as win service?

2006-02-20 Thread Caldarale, Charles R
> From: Paul Holmes-Higgin [mailto:[EMAIL PROTECTED] > Subject: RE: Hotspot_compiler for tomcat as win service? > > Thanks for the suggestion - I've tried adding that option as an extra > java opt in service.bat, but it didn't appear to work. Also, this is > for a "portable" installation, so I c

RE: Fw: Servlet problem

2006-02-20 Thread Caldarale, Charles R
> From: Mark Whitby [mailto:[EMAIL PROTECTED] > Subject: Re: Fw: Servlet problem > > Yeah but that's not what I want to happen. I want the > servlet to redirect the user to searchnone.jsp as per > the servlet code and not to the servlet itself, if that > makes sense? The ACTION parameter in a

RE: Fw: Servlet problem

2006-02-20 Thread Caldarale, Charles R
> From: Mark Whitby [mailto:[EMAIL PROTECTED] > Subject: Re: Fw: Servlet problem > > If nothing is found then it redirects the user to > searchnone.jsp. If an item or more than one item > is found then the page will redirect to itemlist.jsp > or matchlist.jsp As a previous poster pointed out,

RE: how to get help if no answer from this list? - thanks for the right answer

2006-02-21 Thread Caldarale, Charles R
> From: Richard Schilling [mailto:[EMAIL PROTECTED] > Subject: Re: how to get help if no answer from this list? - > thanks for the right answer > > Windows stores long file names in an abbreviated format. That hasn't been true since FAT16 days. The newer Windows file systems use the long names

RE: tomcat 5.5.15 404 - extra path after jsp page

2006-02-22 Thread Caldarale, Charles R
> From: Xiangzhou Wang [mailto:[EMAIL PROTECTED] > Subject: tomcat 5.5.15 404 - extra path after jsp page > > I am using tomcat 5.5.15, I can access jsp page, but > if I put /something after jsp page, I will get 404 > error. Which is exactly what you should get. Why do you expect any different

RE: how to start and stop tomcat 5.5 from command prompt

2006-02-22 Thread Caldarale, Charles R
> From: krishna kishore [mailto:[EMAIL PROTECTED] > Subject: how to start and stop tomcat 5.5 from command prompt > > Till now I am starting and stopping tomcat from services > or from the system tray. > Now I want to start and stop Tomcat 5.5 from command prompt. If you download the .

RE: context.xml: ClassNotFoundException

2006-02-23 Thread Caldarale, Charles R
> From: Tremal Naik [mailto:[EMAIL PROTECTED] > Subject: context.xml: ClassNotFoundException > > The file is in the folder > CiccioPasticcio.war\META-INF\context.xml Can you verify that the following does not exist: conf\Catalina\[hostname]\CiccioPasticcio.xml where [hostname] is usually localh

RE: where can I find server.xml documentation?

2006-02-23 Thread Caldarale, Charles R
> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Subject: where can I find server.xml documentation? > > Where can I find comprehensive documentation on the contents of the > server.xml file? There's a fair amount within the file itself. Also look here: http://tomcat.apache.org/tomcat-5.5-doc

<    1   2   3   4   5   6   7   8   9   10   >