Re: Server.xml

2003-08-21 Thread Bill Barker
Of course, one way is to comment out the http connector. The other way is to include a security-constraint in your web.xml something like: security-constraint web-resource-collection web-resource-nameSSL area/web-resource-name url-pattern/protected/*/url-pattern

Re: Tomcat 4.1 DefaultContext Bug?

2003-08-21 Thread Peter Harrison
On Thu, 21 Aug 2003 15:26, Kwok Peng Tuck wrote: Specifically what problems do you have when running the app as a war file ? The main problem I think is that Velocity requires files. You supply the directory, and it accesses them from the filesystem. If you don't unpack Velocity can't find

Re: classpath issues and system properties

2003-08-21 Thread Bill Barker
srinivas reddy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am using tomcat 4.1.24. I have a couple of questions. 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have included j2ee.jar in my CLASSPATH, but tomcat is not

Fwd: Problem, can't get response form tomcat after some requests

2003-08-21 Thread Venkata Srinivasa Rao, Yerra
Dear All, Tomcat works fine for 1. Java HotSpot(TM) Server VM (build 1.4.2-b28, mixed mode) on Linux 9 without NPTL (LD_ASSUME_KERNEL=2.4.1) 2. Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) on Linux 9 with NPTL Tomcat process simply

Re: maxProcessors problem

2003-08-21 Thread achana
It seems that TC4 has some algorithm which tags objects (read HttpRequests) as long- or short-lived. Please do tell where you got that impression? ;) Actually I got that out of the book Professional Apache Tomcat. Better than reading through reams of JAVA codes :-))

Error when I load a file

2003-08-21 Thread Luong Phan
Hi all, Thanks for your advices. The error is that files startup.sh and shutdown.sh are not executable. Now I can start Tomcat. But I meet the following problem: - I use the mysql supported already by Redhat Linux 7.3 O/S to store my database. - The jakarta-tomcat-3.2.4 is used to be the server.

RE: Globally defined JNDI DataSource (was: JNDI DataSource Realm)

2003-08-21 Thread Madere, Colin
Yep. Here's server.xml with edits. Anyone else doing this JNDI datasource stuff with DefaultContext? Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener

RE: ResourceLink and DefaultContext

2003-08-21 Thread Madere, Colin
I'm having the exact same issue. I was assuming DefaultContext was working, but maybe the resource links were left out of the context propagation code for implicit contexts. I'd really rather not have to explicitly define all contexts that use a global datasource... kind of the idea of making it

Setting the root application

2003-08-21 Thread Duncan Strang
Hi I hope you don't consider this too trivial a question but I have tried everything I can think of to get this working. I have read as much of the docs as I can, looked at the faq's and searched the archives. I know the information is there but I can't find it. I want to make my application

Re: Error when I load a file

2003-08-21 Thread Jon Wingfield
I'm sure the stackTrace of the thrown exception would give you more information ;) The code as written would try to load the file myprop.prop from the current working directory. This will be where you executed startup.sh from. If it's not there then you'll probably get a FileNotFoundException.

Re: Setting the root application

2003-08-21 Thread Tim Funk
That is because / matches EVERY request so you have replaced the default servlet. Your servelt is now responsible for serving images. An easy workaround is to: - use welcome file listing in web.xml - create a welcome file (ex: index.jsp) that redirects to your servlet mapped to a better mapping

SSL-CLIENT authentication causes getUserPrincipal() to return null. Any idea why?

2003-08-21 Thread Christopher Williams
My setup: JWSDP 1.2 Windows XP Pro JDK 1.4.2 I want to know who's accessing a certain web page after they've authenticated to Tomcat. No problem if I use BASIC authentication. However, when I use SSL-CLIENT authentication, calling getUserPrincipal() on the incoming Request object returns null,

Knowing SSL and HTTP port

2003-08-21 Thread Madhu Vadlapudi
Hello friends, I have a doubt regarding accessing the SSL port. Actually how do my JSP application will know whether webserver having the capabilities of SSL request. If it has, how do u i know the port of the service (suppose if i am in http scheme, then want to shift to https scheme, like

Sessions dropped under load?

2003-08-21 Thread Neil Aggarwal
Hello: We are using Tomcat 4.1.24 with the session replication code form Filip Hanik. We have been using it for a while and it has been working fine. We have experienced some heavy loads recently and notice that many of our sessions are being dropped. Is it possible that Tomcat is throwing

Connection reset by peer

2003-08-21 Thread David Etheridge
I've spent some time searching for an answer to this one - several users have asked the question, but I can't find an answer. Apologies if it's been asked many times before. I have managed to get the Address Book SOAP example for work fine, but when I try to run an example that

Re: apache2, mod_jk2, tomcat4.1.27: server has been restarted or reset this connection

2003-08-21 Thread Chris Joelly
Hello Johan! since i'm using Debian GNU/Linux its very easy to get the mod_jk2 binary: install the package libapache2-mod-webapp (Apache 2.0 connector for the Tomcat servlet engine) from the package repository and thats it... ;-) if you aren't using such a kinky os then you may find a binary at

Context restarting automatically!!! please help

2003-08-21 Thread Adi Katz
Hi, I have few context-param element in my web.xml file which my web app can change dynamically. the problem is that when I change the value of any context-param the webapp is reloading automatically It looks like tomcat detects a change in the web.xml file and reload the context if a change

RE: Setting the root application

2003-08-21 Thread Duncan Strang
OK, thanks, actually this was my first idea...I've done it like this before. I was hoping to avoid doing it like this but until I figure out what is going on and how to deal with it I will do as you suggest Thanks for the advice Cheers Duncan L.Strang -Original Message- From: Tim Funk

Re: Apache-Tomcat-Struts 404 Not Found

2003-08-21 Thread John Turner
Yes, they do. AFAIK, if they are outside the VirtualHost block, they only apply to those requests NOT matched by a ServerName, which would not be the case in the example below. John James Harman wrote: Don't the JkMount lines need to be inside the VirtualHost tags? --- Johan Wasserman - CPX

Re: Error when I load a file

2003-08-21 Thread Gabriel Boian
You shoud try to put your property file in myapp/WEB-INF/classes directory and use a statement like this ResourceBundle bundle = ResourceBundle.getBundle(myprop.properties); - Original Message - From: Luong Phan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 21, 2003

Re: Starting tomcat from init scripts (HP/UX)

2003-08-21 Thread John Turner
It's the former. The latter doesn't occur on this list in my experience. John Lott, Carey wrote: Since nobody has responded does this mean nobody has any more ideas on the problem or am I getting the You idiot. The answer is staring you in the face. silent treatment? If it is the latter, I

Re: Quickly get Tomcat running with Apache on Solaris?

2003-08-21 Thread John Turner
Don't use Solaris tar to unpack GNU software. GNU software requires GNU tar. GNU tar and Solaris tar are incompatible. Tomcat is a Java application. A binary Java application is a binary for ALL operating systems, there are no distinctions. Did you download and install the JDK? The easiest

Re: Knowing SSL and HTTP port

2003-08-21 Thread John Turner
Madhu Vadlapudi wrote: I have a doubt regarding accessing the SSL port. Actually how do my JSP application will know whether webserver having the capabilities of SSL request. If it has, how do u i know the port of the service (suppose if i am in http scheme, then want to shift to https scheme,

Re: Error when I start Jakarta-tomcat(Cont) - Error when I load file

2003-08-21 Thread John Turner
Search the archives. Your properties files NEVER go in Tomcat's bin or conf directories. Here's an example: http://marc.theaimsgroup.com/?l=tomcat-userm=105792867317795w=2 John Luong Phan wrote: Hi all, Thanks for your advices. The error is that files startup.sh and shutdown.sh are not

RE: Context restarting automatically!!! please help

2003-08-21 Thread Shapira, Yoav
Howdy, Set reloadable=false for your context to avoid the reloading. It's not generally good practice for a webapp to modify its own deployment descriptor -- what's your use-case? Yoav Shapira Millennium ChemInformatics -Original Message- From: Adi Katz [mailto:[EMAIL PROTECTED] Sent:

RE: maxProcessors problem

2003-08-21 Thread Shapira, Yoav
Howdy, Aha, are there actually different reclamation algorithms that I can select from ?? I mean, like some parameter in catalina.sh ?? There are many different collection algorithms and settings available, which can have a *drastic* effect on how garbage collection behaves. These are all JVM

Re: Installing Tomcat as a Service

2003-08-21 Thread John Turner
Here you go: Oscar's page should be all you need: http://daydream.stanford.edu/tomcat/install_web_services.html Check the bottom of the page for his tomcatd script. Then use /sbin/chkconfig --add tomcatd to install it. John Stuart Stephen wrote: I already have done the hard work of

RE: maxProcessors problem

2003-08-21 Thread Shapira, Yoav
Howdy, It seems that TC4 has some algorithm which tags objects (read HttpRequests) as long- or short-lived. Please do tell where you got that impression? ;) Actually I got that out of the book Professional Apache Tomcat. Better than reading through reams of JAVA codes :-)) Can you be more

RE: maxProcessors problem

2003-08-21 Thread Shapira, Yoav
Howdy, Problem is, if I increase -Xmx and don't touch anything else, I get this OutOfMemoryError too. The system has 1.2 GB to 1.4 GB of memory free when this error occurs. As I mentioned in a previous email, the above suggests memory is not really the problem. Rather, you need to investigate

Apache2 + mod_jk + Tomcat 4.1.24

2003-08-21 Thread Luiz Ricardo
Hi, I am having a problem with Apache2 + mod_jk + Tomcat 4.1.24 when my site is under heavy load. Apache2 is configured to use worker MPM (multi-threaded), mod_jk is configured to use cachesize and cache_timeout and Tomcat 4.1.24 is with the following configuration in server.xml: ...

RE: Starting tomcat from init scripts (HP/UX)

2003-08-21 Thread Ralph Einfeldt
I have the following recommendations: - put a 'set -xv' in all batch scripts that are part of the startup procedure. - I'm not familiar with HP/UX. Under linux I would try to strace the startscript. (Under solaris it's truss) -Original Message- From: Lott, Carey

iPlanet 6 Connector Solaris 8

2003-08-21 Thread Fitzmaurice, Paul
I am having problems building a connector for iPlanet 6 on Solaris 8, does anyone have one built which they would like to share? Also, if you would be so kind as to pass along the iPlanet config settings to connect to a remote Tomcat Server. Thank you, Paul

2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Hi,. I have read John Turner HowTo and the Galatea ones too. I have tried multiple different combinations of these. I found John's assetion that Tomcat does not generate multi VirtualHosts, but you can take the generated one, insert at the bottom of the httpd.conf and modify it to work. I know

RV: Tomcat SSL client authentication problem with Internet Explore

2003-08-21 Thread Ratón Lacarcel, Antonio
Hi! I have a problem with Tomcat 4.0.6 and SSL client authentication. When I use the Internet Explorer browser (v6.0) and I try to access the secure URL (for example https://whatever:8043), an empty list of certificates is presented. However, if I use Mozilla 1.4 or Netscape 4.76, the client

How to keep same thread during a session

2003-08-21 Thread Roland Nygren
I have an application consisting of JSPs, Servlets and Java classes running in Tomcat 4.1. Normal HTTPSession isused to keep customer session. Each new customer session is given a unique Id called CallId. I.e. must this CallId be used in all logging. I would like to not have to pass this CallId

running tomcat from CD

2003-08-21 Thread samckins
Is there a way to run Tomcat completely off of a CD-ROM? Thanks Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread John Turner
I think there's some confusion...you only need this in workers.properties: # BEGIN workers.properties worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 .host = location of Tomcat When I first started trying to connect Tomcat and Apache a year ago, I

RE: How to keep same thread during a session

2003-08-21 Thread Ralph Einfeldt
The threads are request based. Each Thread services one request at a time. So store the id at the start of each request in a global ThreadLocal or a global Hashtable with the thread as key. Then you can access this id from any method called in the lifetime of the same request. If you have

RE: running tomcat from CD

2003-08-21 Thread Shapira, Yoav
Howdy, You would have to at least modify tomcat's work and temp directories. The servlet container is required to provide a writeable temporary directory for each context, so unless the CD is writeable all the time via regular Java IO APIs, you have to do the above. Yoav Shapira Millennium

RE: How to keep same thread during a session

2003-08-21 Thread Shapira, Yoav
Howdy, I like Senor Einfeldt's filter suggestion. One other interesting possibility for you would be log4j's mapped diagnostic context (MDC: http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/MDC.html) which handles these things automatically on a per-thread basis, so you might not have

Re: iPlanet 6 Connector Solaris 8

2003-08-21 Thread Eric J. Pinnell
Hi, Accepting a binary from strangers is risky business, IMHO. Maybe if you post what troubles you are having someone can help? The documentation is in the mod_jk source file. -e On Thu, 21 Aug 2003, Fitzmaurice, Paul wrote: I am having problems building a connector for iPlanet 6 on Solaris

RE: Processing .html files like JSPs

2003-08-21 Thread rmusser
Thanks, this works perfectly! -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 12:27 PM To: Tomcat Users List Subject: Re: Processing .html files like JSPs The quick way (but there are other ways too) In $TOMCAT_HOME/conf/web.xml

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Hi John, Thanks for the reply. I have fixed the workers.properties and related stuff in the httpd.conf you pointed out below. What I want is to see what i see at www.stpenable.com/se/servlet/se/templates/index.vm to be what I see when I hit www.stpenable.com Ditto for www.roamware.co.uk to see

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Actually I should qualify what I said. I have stpenable as the default Host so you can see www.stpenable.com/se/servlet/se/templates/index.vm but for some reason you cannot see www.roamware.co.uk/rwsite/servlet/rwsite/templates/index.vm which is the second of the VirtualHosts in my conf file.

session timeout and login.jsp

2003-08-21 Thread Srinivasu Gandu
I have a tomcat 4.1.24 server session time of 20min, when the session time expires I want to show the login.jsp page with the error message. How do I do that in my web.xml file.Will appreciate any help! Thanks - srini. - To

Problem with mod_jk and CoyoteConnector

2003-08-21 Thread J.P. Wadkin C9951627
Apache 2 Tomcat 4.1 JDK 1.4 Solaris 8 I've configured a server to use mod_jk with the Coyote connector (mod_jk2 doesn't work for some reason): Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75

RE: running tomcat from CD

2003-08-21 Thread Halstead, Chris
Clarify 'completely'. If you have no access to writable disk you'll be unable to produce logs or persist context data under ./work. I suppose that you could do some fancy stuff with a RAMdisk, assuming that you are running on an OS that supports this. With an out of the box binary set you

RE: How to keep same thread during a session

2003-08-21 Thread Roland Nygren
Hi, Sounds good. I would In the servlet where the session is created I would store the CallId with session.setParameter(CallId, callId); callIdListSingleton.set(Thread.currentThread().hashCode() , callId); and the in all other servlet / JSPs int callId = session.getParameter(CallId);

apache2 + mod_jk2 + tomcat problems...

2003-08-21 Thread Krist . vanBesien
Hello all, I have tomcat 4.1.27 running ok. I have two connectors defined, a http one on 9080, and an ajp13 one on 9009 (My system runs AIX 5.2.something) Accessing http://localhost:9080 I get the tomcat start page, and I can access the examples, the manager application etc. without any

Re: running tomcat from CD

2003-08-21 Thread Tim Funk
And this was discussed a few times in the archives! -Tim Shapira, Yoav wrote: Howdy, You would have to at least modify tomcat's work and temp directories. The servlet container is required to provide a writeable temporary directory for each context, so unless the CD is writeable all the time via

Null Session for Virtual Host

2003-08-21 Thread Kurt Blackmore
We're running into an odd problem with the Session being null when we try accessing a webapp as a virtual host. If the URL specifies the webapp, a Session is created and the app works as expected. For example... The server.xml virtual host entry looks like: Host name=registration.mydomain.com

Disabling creation of mod_jk.conf

2003-08-21 Thread Volker
Hi, a few weeks ago I asked here how to make tomcat create a mod_jk.conf under /conf/auto Now - all things run correctly and I do NOT want to overwrite tomcat the mod_jk.conf each time tomcat is restarted. So my question this time is how to prevent tomcat from generating a new mod_jk.conf next

Re: classpath issues and system properties

2003-08-21 Thread srinivas reddy
--- Bill Barker [EMAIL PROTECTED] wrote: srinivas reddy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am using tomcat 4.1.24. I have a couple of questions. 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have

RE: Problem with mod_jk and CoyoteConnector

2003-08-21 Thread Martin Smith
Hi, I think I'm right in saying that mod_jk2 only works with Apache 2.0.43. What's your exact Apache version??? Martin -Original Message- From: J.P. Wadkin C9951627 [mailto:[EMAIL PROTECTED] Sent: 21 August 2003 15:57 To: tomcat-user Subject: Problem with mod_jk and CoyoteConnector

Re: apache2 + mod_jk2 + tomcat problems...

2003-08-21 Thread Eric J. Pinnell
- I've got level=DEBUG in my logger component, and debug=9 in several other components. Yet I am not getting any debug-like info. Alos the jkstatus page shows debug levels=0 for all components. How do I get omore info in my logfile so I have a chance of finding out what my other problems are.

RE: Problem with mod_jk and CoyoteConnector

2003-08-21 Thread Eric J. Pinnell
JK2 works with later versions of Apache 2. Around 2.0.43 the version of JK2 you used was real picky about what version of Apache was being used. But anything after .43 should work with JK2. -e On Thu, 21 Aug 2003, Martin Smith wrote: Hi, I think I'm right in saying that mod_jk2 only works

8080

2003-08-21 Thread Dionisio Ruiz de Zarate
anybody can says me what must i to dellete (or comment) into the server.xml file for not respond the tomcat into the 8080 port? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Problems running in a chroot jail.

2003-08-21 Thread Steven W. Orr
Environment is Solaris 2.8 with java 1.4.2. I have the tomcat book and I'm trying to set the jail up. I created the directory structure and using ldd I rang out the list of shared objects that are needed. I'm not getting past running java. Using normal unchrooted java, here's what I get:

RE: How to keep same thread during a session

2003-08-21 Thread Roland Nygren
Hi Shapira, I updated my log4j.properties with: log4j.appender.R.layout.ConversionPattern=%p %t %c - %x %m%n where %x defines NDC output. Added the following code to my JSP: int callId = session.getAttribute(CallId); org.apache.log4j.NDC.push(CallId: + callId); ... org.apache.log4j.NDC.remove();

Re: Disabling creation of mod_jk.conf

2003-08-21 Thread Lajos
Volker - Just copy the contents that you want directly into httpd.conf (you might have to merge VirtualHost settings). Then disable the Listeners in httpd.conf. Regards, Lajos Volker wrote: Hi, a few weeks ago I asked here how to make tomcat create a mod_jk.conf under /conf/auto Now - all

Apache SSl with mod_jk

2003-08-21 Thread Shannon Scott
Hello, I have set up the apache webserver do ssl and it works well, but the .jsp files are not found even though they are in the same directory. www.domain.com/ssl/index.html works www.domain.com/ssl/index.jsp doesn't work My httpd.conf has the following: VirtualHost _default_:443

RE: Setting the root application

2003-08-21 Thread Mike Curwen
Actually, isn't / the default servlet ? /* would be every request, but just a single slash is 'when you don't recognize a request, try this servlet'. Do you think img src=images/foo.gif would work? (no leading / on the image path) -Original Message- From: Tim Funk

RE: 8080

2003-08-21 Thread Shapira, Yoav
Howdy, Comment out the Connector element whose port=8080. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 11:04 AM To: Tomcat Users List Subject: 8080 anybody can says me what must i to

RE: classpath issues and system properties

2003-08-21 Thread Shapira, Yoav
Howdy, I found this documentation at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html . Did I misunderstand it or it says what I am thinking? You misunderstood it. Why is using j2ee.jar with tomcat is not recommended? Because it contains duplicate older versions of

RE: How to keep same thread during a session

2003-08-21 Thread Shapira, Yoav
Howdy, I'm glad you're using it, figured it out so quickly, and like it ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Nygren [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 12:31 PM To: [EMAIL PROTECTED] Subject: RE: How to keep same thread during

Exception.

2003-08-21 Thread Gustavo Cebrian
Has anyone come across this exception? javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/jaxb-api.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930) at

Pre-compiling JSP pages

2003-08-21 Thread Venkat
Hi Can we do this: Compiling JSP files beforehand after translating them to .java files using jspc. then can I deploy the generated classes on Tomcat server so that when a request is made to the jsp the tomcat should consider the respective class for the JSP. I dont want to distribute the source

RE: running tomcat from CD

2003-08-21 Thread Yoav Shapira
Howdy, Note, however, that all FileLoggers have a configurable directory. The workDir for host and context is configurable as well. The system.out/system.err destination is set to $CATALINA_HOME/logs/catalina.out in $CATALINA_HOME/bin/catalina.sh and can be changed at will. So a more accurate

RE: Problem with mod_jk and CoyoteConnector

2003-08-21 Thread Jeff Tulley
Is it just me, or did he say he was using mod_jk? That should work with Apache 2 just fine. (At least it does on my system, NetWare). What is the exact Tomcat version? Where did you get mod_jk, what version is it? Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., The Leading

RE: running tomcat from CD

2003-08-21 Thread samckins
How do I access the archives? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 10:32 AM To: Tomcat Users List Subject: Re: running tomcat from CD And this was discussed a few times in the archives! -Tim Shapira, Yoav wrote: Howdy, You would

RE: Problem with mod_jk and CoyoteConnector

2003-08-21 Thread J.P. Wadkin C9951627
Apache 2.0.47 - mod_jk2 will compile as a DSO but Apache won't start due to a symbol error. I _thought_ I'd got everything working fine with mod_jk, then I ran into the response problem. John -Original Message- From: Martin Smith [mailto:[EMAIL PROTECTED] Sent: 21 August 2003 16:50 To:

RE: running tomcat from CD

2003-08-21 Thread Jeff Tulley
http://marc.theaimsgroup.com is a good one. Choose Tomcat-user (under Java), then do a search. http://jakarta.apache.org/site/mail.html also lists other archives at the bottom of the page, in case marc.theaimsgroup doesn't suit you. Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc.,

Re: Pre-compiling JSP pages

2003-08-21 Thread Justin Ruthenbeck
At 07:20 AM 8/21/2003, you wrote: Can we do this: Compiling JSP files beforehand after translating them to .java files using jspc. then can I deploy the generated classes on Tomcat server so that when a request is made to the jsp the tomcat should consider the respective class for the JSP. I dont

RE: running tomcat from CD

2003-08-21 Thread Halstead, Chris
Thus the request for clarification on what our good friend Scott means by 'completely'. If access to writable disk is not available, the whole shootin' match is off... I think we agree, we just said it in different ways ;-) -chris Howdy, Note, however, that all FileLoggers have a

Re: Setting the root application

2003-08-21 Thread Tim Funk
Via the spec: (SRV.11.2 Specification of Mappings) A string containing only the / character indicates the default servlet of the application. In this case the servlet path is the request URI minus the context path and the path info is null. As for images/foo.gif, this is translated to

RE: running tomcat from CD

2003-08-21 Thread samckins
Thanks for all the help. I will have access to a writ able drive and will direct outputs accordingly. -Original Message- From: Halstead, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 1:55 PM To: Tomcat Users List Subject: RE: running tomcat from CD Thus the request for

Re: running tomcat from CD

2003-08-21 Thread Jon Barber
samckins wrote: Thanks for all the help. I will have access to a writ able drive and will direct outputs accordingly. Well, maybe not Have a look at the Knoppix Linux project. This is a Linux distro that runs from CD, and sets up RAM disk for write operations. I've always wanted to set

How to apply for the hotfix of 4.1.27?

2003-08-21 Thread Vernon Smith
Is the only way to apply the patch by the following procedure: 1. unzip the jar file * 2. replace the class in the hotfix 3. zip into the jar file ago. * which one of the three jar files is the jar file? Any better way to get it done? And why don't get a new build with the fix? v.

RE: Disabling creation of mod_jk.conf

2003-08-21 Thread Madere, Colin
Alternatively, you can change where httpd.conf looks for the file, copy your desired file to that location and not care if Tomcat recreates it. -Original Message- From: Lajos [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 12:39 PM To: Tomcat Users List Subject: Re: Disabling

Re: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread John Turner
Did you remove the Context entries for some reason? They are critical. Also, in httpd.conf you have: # Static files Alias /rwsite /usr/local/tomcat/webapp1/rwsite and later JkMount /rwsite/servlet/* worker1 JkMount /rwsite/*.vm worker1 Thus, the URLs that Apache would expect would

RE: Tomcat 4.1 DefaultContext Bug?

2003-08-21 Thread Madere, Colin
This is likely related to the issue in the following threads: ResourceLink and DefaultContext Globally defined JNDI DataSource (was: JNDI DataSource Realm) Only difference being that yours is JDBC and these others are JDBC through JNDI. You get the driver class 'null' error, we get the jdbc not

Re: classpath issues and system properties

2003-08-21 Thread Justin Ruthenbeck
At 08:48 AM 8/21/2003, you wrote: 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have included j2ee.jar in my CLASSPATH, but tomcat is not picking it up. Why is it so? Wherever you saw these docs, they are wrong. Tomcat ignores the

Special Caracters Problem

2003-08-21 Thread Oscar \(Eccox\)
Hi, I'm from Brazil and I have a problem with special caracters... In an environment with TOMCAT 4.1.24, everything works fine when I use this kind of code in a page 'index.jsp': jsp:include page=topo.jsp jsp:param name=titulo value='%=mensagens.getString(TituloMenu)%'/

Apache 2.0.47, Tomcat 4.1.27 with mod_jk2 2.0.2 AND mod_deflate

2003-08-21 Thread Joshua McCulloch
I have setup Apache 2.0.47 on Windows XP to serve jsp/servlet requests using Tomcat 4.1.27. I did this using the mod_jk2 module and was able to successfully connect to http://host/examples and get the tomcat example pages. I'm using JDK 1.3.1-03. I then configured mod_deflate and was able to

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Hi, It seems that the second VirtualHost I have set up for my second domain name is not paasing the requests through mod_jk to Tomcat. It is not even clear that you can support 2 virtualhosts for different domains with the same IP address and port 80. This is a separate problem to the

Re: Special Caracters Problem

2003-08-21 Thread E. Michael Akerman
Have you tried using #205; instead? - Original Message - From: Oscar (Eccox) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 21, 2003 3:37 PM Subject: Special Caracters Problem Hi, I'm from Brazil and I have a problem with special caracters... In an

servlet execution help

2003-08-21 Thread Vincent Yau
Dear All, I have a servlet config issue. I have been developing an application on a Sun-Solaris/Tomcat 4.1.18 platform. I have modified the server.xml to include my own application domain. It has some JSP and also some servlet which I placed under TOMCAT_HOME/webapps/my_app/WEB-INF/classes.

servlet execution help

2003-08-21 Thread Vincent Yau
Sorry for my earlier post. I found the answer in the release notes... sorry --Vincent

Re: CVS with tomcat

2003-08-21 Thread Paul Sundling
I've attached my build.xml (with changes to IPs and passwords :)) The kind of setup I'd recommend is this: local developer machines (windows, linux, bsd, whatever) running local copies of tomcat, eclipse for an IDE attached to your CVS repository and ant either run from command line, or

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Hi John, Thanks for the pointers. I found a good tutorial on vhosts but using jk2 in the Tomcat 4.1 docs. So it helped a little. I have change to using DocumentRoot, less confusing. I also tried full paths instead of relative. I had removed the Context entries because it meant I could at least

catalina_home

2003-08-21 Thread in-noeng
: Yesteday, I have installed tomcat (winXP platform), then I use it right away. but next day morning when I started it again it won't work. the message said that CATALINA_HOME environment was'not set correctly. I checked the variable environtment, it's correctly set

Re: catalina_home

2003-08-21 Thread Chris Massam
try setting CATALINA_HOME to e:\jakarta-tomcat-4.1.18 [EMAIL PROTECTED] wrote: : Yesteday, I have installed tomcat (winXP platform), then I use it right away. but next day morning when I started it again it won't work. the message said that CATALINA_HOME environment was'not set correctly. I

CV_Therapeutics

2003-08-21 Thread admin, hr
Title: CV_Therapeutics Dear Applicant: We have received your employment inquiry and would like to thank you for giving us the opportunity to review your resume. It will be evaluated by a member or our Human Resources staff and then forwarded to those supervisors who may be able to

default apps for tomcat + apache

2003-08-21 Thread lcl
Hi all here , (B (BI have integrated tomcat4.1.27 and apache2.0.47 using mod_jk2, and work (Bfine, because I have set my apps "souko" as the default apps in tomcat, and (BI want so in apache, so I define the following uri in workers2.properties (B[uri:*/*] (B.. (B (Bit is ok, because I can

Does Tomcat trim sessions when it runs out of memory?

2003-08-21 Thread Neil Aggarwal
Hello: I have a question: Does Tomcat get rid of sessions when it run out of memory? We are seeing sessions disappear on our app and are trying to find an explanation for it? What does Tomcat do when it begins to run out of memory? Thanks, Neil -- Neil Aggarwal, JAMM Consulting,

Re: How to apply for the hotfix of 4.1.27?

2003-08-21 Thread Bill Barker
All you have to do is to unzip the file into $CATALINA_HOME (with the use pathnames option if that isn't the default), and it will end up in the correct place. The correct place is: $CATALINA_HOME/server/classes/org/apache/catalina/core/StandardContext.class . This works since Tomcat's

Re: Problems running in a chroot jail.

2003-08-21 Thread Bill Barker
It looks like you haven't setup /dev/zero correctly in your jail. Ever since 2.7, I've found it to be a lot of work to setup a chroot jail on Solaris. I usually just use a SecurityManager instead (which is almost as good). Steven W. Orr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Tomcat SSL client authentication problem with Internet Explore

2003-08-21 Thread Bill Barker
I'm guessing that you didn't install your CA's cert in MSIE's root certificates. Since Tomcat will ask for certs signed by your CA, if MSIE can't find any (that it can verify the chain with), you get an empty box. Ratón Lacarcel, Antonio [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

RE: Sessions dropped under load?

2003-08-21 Thread Filip Hanik
what do you mean dropped? disappearing all together? never seen that happen Filip -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 10:28 PM To: 'Tomcat-User' Subject: Sessions dropped under load? Hello: We are using Tomcat

Problem connecting to mysql database with Tomcat and JNDI

2003-08-21 Thread Robert S. Jones
Folks, I'm having trouble connecting to a mysql database through Tomcat. I'm using Tomcat 5.0.9a with mysql 4.0.14. I have the mysql 3.0.8 JDBC driver in ${TOMCAT_HOME}/common/lib. I'm running RedHat 8.0 with a stock kernel. I've been able to connect to the database without JNDI services.

  1   2   >