Precomplie Jsps

2002-12-14 Thread Billy Ng
Hi folks, Would any body please tell me how to pre-compile jsp files. Any websites with step by step instruction will help too. Thanks in advance! Billy Ng

Two inhibiting problems in developement with tomcat 4

2002-12-14 Thread Lukas Österreicher
Hello there. I use tomcat 4.1.12 and there are two problems i have: - each time I recompile some classes (servlets) I have to restart tomcat. I have read tomcat 4 has a switch to auto-load these new classes so I don't have to restart again. What to do to turn over this switch to have

Re: Class loading issue with JavaMail 1.3 and Tomcat 4.1?

2002-12-14 Thread Garrett Smith
I had that before. happyaxis.jsp [attached] helped me find the other class. You've got StandardClassLoader and WebappClassLoader. TC uses to the list, happyaxis.jsp can be found from the axis page on xml.apache.org (If I remember correctly). Hope it helps. Garrett --- Mike Meehan [EMAIL

connecting Apache2.x and tomcat 4.1.x, mod_jk

2002-12-14 Thread cvrajasekhar murthy
Hello, I'm facing with a problem in connecting Apache 2.0.39 Tomcat 4.1.x and JBOSS3 MY Configuration:- Apache 2.0.39 mod_jk-2.0.43.dll Tomcat 4.1.x Jboss3 windows 98 JDK1.4 I have done the httpd.conf file settings in the apache as shown below

Re: Tomcat for Enterprise Applications

2002-12-14 Thread Pae Choi
Hi all, i have currently an dicussion going on about creating a 3/Multi Tier Enterprise Application which will have one Webbased Client and one Standalone Client. The main aim is the Webbased Client. For the most(if not all)modern Enterprise Application is based on the n-tier, a.k.a.,

Can't open workers2.properties

2002-12-14 Thread Daryl Lee
I am trying to get Apache 2.0.43 and Tomcat 4.1.12 connected with mod_jk2, and am stuck on an error I can't understand. The error is reported in catalina.out when tomcat starts, and is: [Sat Dec 14 00:58:10 2002] (error ) [jk_config_file.c (261)] config.update(): Can't find config file

Re: Precomplie Jsps

2002-12-14 Thread Carl Trusiak
If you are using Ant, there is an Optional task which ships with it. I use it on my project and it works great. I have Tomcat 4.1.12 and Ant 1.5.1 The Relavent portions are: taskdef name=jspc classname=org.apache.tools.ant.taskdefs.optional.jsp.JspC/ !-- create reusable classpath --

Re: Almost there...Updated Apach-Tomcat with mod_jk

2002-12-14 Thread Denise Mangano
I also found this in my cataline.out log. INFO: Loading registry information Dec 13, 2002 4:29:37 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Dec 13, 2002 4:29:38 PM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Dec 13, 2002

Re: Almost there...Updated Apach-Tomcat with mod_jk

2002-12-14 Thread Daryl Lee
Denise, we may be fellow-strugglers wading through the same swamp. I am trying to configure mod_jk2, and am also getting a workers file not found (in my case it's workers2.properties). So far as I can tell, jk2.properties specifies the base directory for the Apache server in a 'serverRoot'

Connector

2002-12-14 Thread response
Hello. Is the following true for Tomcat 4.1? mod_jk2 ajp1.3/ajp1.4 CoyoteConnector+JkCoyoteHandler Current developpements. Enabled by default in 4.1; works in 4.0. mod_jk2 supports in-process JVM and load balancing. See Coyote JK 2 http://192.168.1.3:8080/tomcat-docs/config/jk2.html

Re: Almost there...Updated Apach-Tomcat with mod_jk

2002-12-14 Thread Milt Epstein
On Sat, 14 Dec 2002, Denise Mangano wrote: I also found this in my cataline.out log. INFO: Loading registry information Dec 13, 2002 4:29:37 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Dec 13, 2002 4:29:38 PM org.apache.commons.modeler.Registry

RE: newbie almost connected...

2002-12-14 Thread Peter
I'm connectd and http://www.ccc.com:8080 gets me to the tomcat index.jsp page fine ...however I can not browse www.ccc.com ? What do I need to change if my index.html is located in /opt/mysite/index.html? Thanks, Peter My bad...I forgot to add the second directive to server.xml... Tref

Problems starting with tomcat on Windows XP

2002-12-14 Thread Eduardo Kotujansky
I just installed j2sdk1.4.1_01 and is ok. I installed TomCat 4.1.12 and when i try ona browser : http://localhost:8080 I get this message: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

Re: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-14 Thread Craig R. McClanahan
On Thu, 12 Dec 2002, RXZ JLo wrote: If you're serving your own static content with your own servlet, then you could do this. Using a Filter lets you use Tomcat's standard static file serving servlet with no modifications. It seems I am confused about how RequestDispatcher

ClassCastException when using BasicDataSource

2002-12-14 Thread Tuncay Baskan (nternet Grubu)
I'm trying to use a JNDI name for a JDBC resource. Configuration is as follows: Tomcat 4.0.3 DBCP 1.0 In the server.xml, I have the following DefaultContext entry. (It must be DefaultContext because there are 3 other webapps that use the same database) DefaultContext Resource auth=Container

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, RXZ JLo wrote: Date: Fri, 13 Dec 2002 05:31:12 -0800 (PST) From: RXZ JLo [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: RequestDispatcher scenarios ( was RE: static url routing) --- Cox, Charlie

JDBC Datasource problem

2002-12-14 Thread Chandolu, Yuva
Hi, I am getting org.apache.jasper.JasperException: Cannot create resource instance when I am trying to get connection from the DBCP pool. the jsp code I wrote is... = Context initCtx = new InitialContext(); Context envCtx = (Context)

Re: Problems with starting Tomcat 4.1.12 - PLEASE HELP

2002-12-14 Thread Ronin Quigley
John, I have tried your suggesions but I think the problem is the path to Tomcat. I am using Windows XP and the command promp automatically defaults to C:\Documents and Settings\Go For It Web Design, it doesn't recognise C:\ as a valid command. How can I get around this as Tomcat is installed

RE: JDBC Datasource problem

2002-12-14 Thread Chandolu, Yuva
OK, I got out of the org.apache.jasper.JasperException: Cannot create resource instance problem. I had copied the DBCP and Pool zip files to commons\lib folder and renamed them to .jar files. But the zip files have the actual jars inside, I extracted them and copied to commons\lib folder. But

Re: DBCP Pool Max Connection

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, Sundar Chakravarthy wrote: Date: Fri, 13 Dec 2002 12:18:34 -0500 From: Sundar Chakravarthy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: DBCP Pool Max Connection What happens if #concurrent users

Re: Difficult sections in server.xml and web.xml...

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, Johnson, Garrett wrote: Date: Fri, 13 Dec 2002 14:00:59 -0500 From: Johnson, Garrett [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Difficult sections in server.xml and web.xml... Ladies and

Re: HttpSessionListern BUG in 4.1.12 ! ?!

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, Jeff Wishnie wrote: Date: Fri, 13 Dec 2002 17:35:18 -0800 From: Jeff Wishnie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: HttpSessionListern BUG in 4.1.12 ! ?! It appears the session object in the

Re: HttpSessionListener beforeSessionDestroyed (Craig, Sean)?

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, Garrett Smith wrote: Date: Fri, 13 Dec 2002 18:04:42 -0800 (PST) From: Garrett Smith [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: HttpSessionListener beforeSessionDestroyed (Craig, Sean)? Hello

RE: HttpSessionListener beforeSessionDestroyed? no,HttpSessionActivationListener

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, Garrett Smith wrote: Date: Fri, 13 Dec 2002 22:05:46 -0800 (PST) From: Garrett Smith [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: HttpSessionListener beforeSessionDestroyed? no,

Re: Sharing session between contexts

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, [EMAIL PROTECTED] wrote: Date: Fri, 13 Dec 2002 23:10:54 -0800 From: [EMAIL PROTECTED] [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Sharing session between contexts Hello all, I was hoping

Setting up Apache ~userdir with mod_jk

2002-12-14 Thread Kevin Conaway
Is it possible to setup Apache/Tomcat/mod_jk to let users have servlets in the ~/public_html directory? I have tomcat setup so that if you call http://localhost:8080/~user it works, but it doesnt work through the main Apache server and mod_jk. Any thoughts? Kevin

RE: Almost there...Updated Apach-Tomcat with mod_jk

2002-12-14 Thread Denise Mangano
Daryl, Glad to see I'm not alone in the boat :) The error I get seems to be because the ApacheConfig file isn't pointing to a legal location. But I do not know how to change this... posting again in a second to respond to Milt Epstein's comment on the situation... -Original Message-

Re: Two inhibiting problems in developement with tomcat 4

2002-12-14 Thread Tomcat User
Lukas Österreicher wrote: Hello there. I use tomcat 4.1.12 and there are two problems i have: - each time I recompile some classes (servlets) I have to restart tomcat. I have read tomcat 4 has a switch to auto-load these new classes so I don't have to restart again. What to do to turn over

Re: Almost there...Updated Apach-Tomcat with mod_jk

2002-12-14 Thread Bill Barker
I'm really getting tired of saying this ;-). ApacheConfig is for use with mod_jk 1.x. It doesn't work at all with Jk2. Forget about it and get on with your life :). Denise Mangano [EMAIL PROTECTED] wrote in message

RE: Almost there...Updated Apach-Tomcat with mod_jk .. please help!

2002-12-14 Thread Denise Mangano
At first I thought it might be a permission problem, so I changed permissions to 775 on workers.properties and still no good. NOW my Apache won't work. I am getting an error message saying that Apache could not bind to port 443, that the port is already in use. Figuring on the problem being