Odd exception

2001-10-04 Thread Brian Richards
2001-10-04 02:45:40 - Ctx() : Exception in R( + /index.jsp + null) - java.lang.NullPointerException at java.io.Writer.write(Writer.java:129) at org.apache.tomcat.modules.loggers.AccessLogInterceptor.beforeCommit(AccessLo gInterceptor.java:241) at

Re: Driver fails to load on two webapps

2001-10-04 Thread Brian Richards
this (Something with classloaders?) so that each web app can have it's own copy of the jar? Thanks Brian - Original Message - From: Brian Richards [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 04, 2001 12:53 AM Subject: Driver fails to load on two webapps Ok I am running two

Re: Odd exception

2001-10-04 Thread Brian Richards
Don't look too hard i assure you it's not the jsp but instead something to do with tomcat setup. -brian / index.jsp / %@ page import=java.io.*,java.util.*,java.sql.* % %! public final boolean debug=true; public final String propertiesPath =

Re: Driver fails to load on two webapps

2001-10-04 Thread Brian Richards
on two webapps Are all the sql related class files for each webapp in the respective webapps lib or classes directories? If not you might try that. (And if it works please report back.) HTH -Original Message- From: Brian Richards [mailto:[EMAIL PROTECTED]] Sent: Wednesday

Re: Driver fails to load on two webapps

2001-10-04 Thread Brian Richards
Thanks for all the replies I got from everyone. Some extra bits of information. I'm not using a connection pool in one application but I am using a pool in the other (Jive www.jivesoftware.com). I'm gonna try out the different scenrios and see if anything else works. I'll report my findings

Forward Request alogn with Parameters

2001-10-04 Thread Brian Richards
I get a null pointer exception at dispatcher.forward() am i doing something wrong? thanks brian request.setAttribute(custName,custName); request.setAttribute(custStreet,custStreet); request.setAttribute(custZip,custZip); request.setAttribute(custEmail,custEmail);

Re: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Brian Richards
try changing the path to use forward slashes like D:/jakarta-tomcat-3.2.3/conf/tomcat.conf -Brian - Original Message - From: Nathan Pfrimmer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 9:23 AM Subject: Using mod_jk with Apache-Tomcat I don't think my

Re: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Brian Richards
Try starting apache by itself by running apache.exe on the command line. you may get a clearer error message. -Brian -Original Message- From: Nathan Pfrimmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:05 AM To: Brian Richards; [EMAIL PROTECTED] Subject: RE: Using

2 webapps 2 jars 1 driver?

2001-10-03 Thread Brian Richards
Ok I am running two applications that use the IBM DB2 appdriver to connect to two different databases. The problem is this when i start up tomcat only one of the applications can access the database. The first one to have a request made wins and the other app gets a No Suitable Driver

Re: Newbie: Tomcat EJBs

2001-10-03 Thread Brian Richards
Tomcat deosn't try www.jboss.org -brian - Original Message - From: Andy Wagg [EMAIL PROTECTED] To: tomcat [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 3:15 PM Subject: Newbie: Tomcat EJBs Can someone tell me if tomcat supports EJB's, looking through the documentation I'm

2 webapps 2 jars 1 driver?

2001-10-03 Thread Brian Richards
Ok I am running two applications that use the IBM DB2 appdriver to connect to two different databases. The problem is this when i start up tomcat only one of the applications can access the database. The first one to have a request made wins and the other app gets a No Suitable Driver

Re: Auto config files not appearing under Linux

2001-10-03 Thread Brian Richards
try running tomcat.sh run jkconf -brian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 11:55 PM Subject: Auto config files not appearing under Linux Hi there, my server.xml has the following directive: ApacheConfig noRoot=true/

Virtual Hosts and error in stderr

2001-10-03 Thread Brian Richards
I found this in my jvm.stderr log anyone know what might be causing it? Using Tomcat 3.3rc1 Apache 1.3.6 and mod_jk I'm also having an issue with virtual hosts both hosts seem to be going to the same DocRoot pasted the contents of mod_jk.conf if you need anything else let me know. Thanks

Driver fails to load on two webapps

2001-10-03 Thread Brian Richards
Ok I am running two applications that use the IBM DB2 appdriver to connect to two different databases. The problem is this when i start up tomcat only one of the applications can access the database. The first one to have a request made wins and the other app gets a No Suitable Driver

Tomcat 4.0: Datasources and DB2

2001-10-02 Thread Brian Richards
1) Has anyone had any success creating DataSources with db2? Can I see a sample server.xml configuration? 2) does anyone have mod_webapp.dll available for connecting apache 1.3 and Tomcat 4.0? I know that raw database connections are fine i just haven't had any success with the datasource. And

Re: tomcat4 and JDBCRealm problem

2001-10-02 Thread Brian Richards
If you are using Tomcat 4 put it in CATALINA_HOME\common\lib - Original Message - From: Epling, Bob [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 10:35 AM Subject: RE: tomcat4 and JDBCRealm problem Craig, Thanks for the advice. For grins I wrote a quickie

nt service

2001-01-19 Thread Brian Richards
I am using w2k, jdk1.3 from sun and tomcat 3.2.1 whenever i try to start the service i am getting this error. Asked (and given) winsock 1.1Error: StartServiceCtrlDispatcher failed. So the service won't start i can start tomcat form the command line and it works but not the service...any