apache 1.3.19/ tomcat 4.0.b1 - win32 error

2001-04-12 Thread kerry finn

Hi,

Been running tomcat (WIN32) standalone for a while - things work fine.
Now I'm ready
to try using apache/cgi scripts. I've install and started apache 1.3.19
along with the
tomcat package.

- WIN32
- installed and running tomcat for a while - servlets (backend mysql)
- also installed and running apache 1.3.19 and get errors try to run the 
  "test-cgi" script.


from the browser:   
-
http://dhcp-70-219/cgi-bin/test-cgi

error.log on the server:

[Wed Apr 11 22:25:39 2001] [error] [client 127.0.0.1] couldn't spawn
child process: c:/apache/apache_1.3.19/apache/cgi-bin/test-cgi

Maybe this is a specific apache question, sorry if this is the wrong
forum.

Any ideas?

thanks,
Kerry



servlet-jdbc question

2001-01-26 Thread kerry finn

Hi,

Not sure this message got through the first time.
I'm new to tomcat/apache and servlets in general.

- Installed fine (both tomcat and mysql)
- I've been able to add examples servlets.
- Ported jdbc application to use mysql and all works fine.
- Ported a generic dbexport (jdbc application) to a HttpServlet and no
go.
- Added the appropriate CLASSPATH's to various scripts.
- Nope still doesn't work
- Added (and updated) the server.xml file to include mysql stuff.
- Nope, not yet. I get this error:

"HTTP Status 500 - /examples/servlet/httpdbexport
The server encountered an internal error
(/examples/servlet/httpdbexport) that prevented it from fulfilling this
request.
"

Any ideas?

thanks,
Kerry


-- 
Kerry M Finn
Sun Microsystems Inc
1 Network Drive
Burlington, Ma. 01803

[EMAIL PROTECTED] Work Email
781-442-0408Work Phone
[EMAIL PROTECTED]   SMS Messaging
781-492-1051Cell Phone

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: servlet-jdbc question

2001-01-26 Thread Kerry Finn



Randy Layman wrote:

 Question 1:  Does it work in just Tomcat, without Apache?

I'm only running Tomcat (catalina 4.0 - needed to support http1.1).


 Question 2:  Do you see anything relevant in your log files?

Here is the most relevant message:

2001-01-25 11:42:48
StandardWrapper[/examples:org.apache.catalina.INVOKER.httpdbexport]:
Marking servlet org.apache.catalina.INVOKER.httpdbexport as unavailable
2001-01-25 11:42:48 invoker: serveRequest.load
javax.servlet.ServletException: Error instantiating servlet class
httpdbexport

When I've added similar apps (without JDBC) to the examples directory
they worked fine. Seems like there's some type of intialization error
when loading the class. This app works as stand alone (with main).



 -Original Message-
 From: kerry finn [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 26, 2001 11:26 AM
 To: [EMAIL PROTECTED]
 Subject: servlet-jdbc question

 Hi,

 Not sure this message got through the first time.
 I'm new to tomcat/apache and servlets in general.

 - Installed fine (both tomcat and mysql)
 - I've been able to add examples servlets.
 - Ported jdbc application to use mysql and all works fine.
 - Ported a generic dbexport (jdbc application) to a HttpServlet and no
 go.
 - Added the appropriate CLASSPATH's to various scripts.
 - Nope still doesn't work
 - Added (and updated) the server.xml file to include mysql stuff.
 - Nope, not yet. I get this error:

 "HTTP Status 500 - /examples/servlet/httpdbexport
 The server encountered an internal error
 (/examples/servlet/httpdbexport) that prevented it from fulfilling this
 request.
 "

 Any ideas?

 thanks,
 Kerry

 --
 Kerry M Finn
 Sun Microsystems Inc
 1 Network Drive
 Burlington, Ma. 01803

 [EMAIL PROTECTED] Work Email
 781-442-0408Work Phone
 [EMAIL PROTECTED]   SMS Messaging
 781-492-1051Cell Phone

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]