----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

OK, time for me to apologize !!  

Everything was fine with my Jserv configuration and access to my JDBC
drivers.  The problem was that in my zone I have a servlet that is set to
load on startup and create a JDBC connection in it's init method.  This
works fine when my boss has done the work that he says he is going to do and
allows connections through the firewall from the production web server to
the oracle server.  Otherwise the connection is blocked and I waste a day of
my time.

Thanks to all those that offered help.

Lee 

> -----Original Message-----
> From: Lee Turner 
> Sent: Wednesday, August 09, 2000 8:46 AM
> To:   'Java Apache Users'
> Subject:      RE: Problems with JDBC driver ??
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> This is already the case.  I already have a product set up and working on
> Jserv (NFuse - part of Citrix, not set up by me I might add ! ) and I
> copied
> the classes12.jar file into that directory and gave it the same
> permissions
> as the NFuse jar's.  This still didn't work.  I am really stumped here as
> this works fine on my NT development box.
> 
> On a side note, why would the file need execute permissions to enable it
> to
> work with Jserv ?
> 
> Lee 
> 
> > -----Original Message-----
> > From:       James Harman [SMTP:[EMAIL PROTECTED]]
> > Sent:       Tuesday, August 08, 2000 8:05 PM
> > To: Java Apache Users
> > Subject:    Re: Problems with JDBC driver ??
> > 
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files.  Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> > 
> > I would double check that
> > 
> > /usr/local/jserv/jdbc/classes12.jar
> > 
> > is the right file for your JDBC drivers and that all users have read and
> 
> > execute permissions on the directory and the jar file.
> > 
> > James
> > 
> > 
> > 
> > At 09:52 8/8/00, you wrote:
> > >----------------------------------------------------------------
> > >BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > >WHEN YOU POST, include all relevant version numbers, log files,
> > >and configuration files.  Don't make us guess your problem!!!
> > >----------------------------------------------------------------
> > >
> > >Hi
> > >
> > >I appear to be having problems installing my oracle JDBC driver on my
> > >production Linux box.
> > >
> > >I have apache and Jserv set up on my development box running on windows
> > NT
> > >4.  I have created my own zone and have my servlets accessing an oracle
> > >database using type 4 JDBC drivers.  All this works great.
> > >
> > >I am now trying to move my work onto the production server.  This is a
> > >server running Linux 6.2.  Apache and Jserv are already set up on this
> > box
> > >and working fine.  I have created the same zone as on my development
> box
> > and
> > >installed my servlets.  All this works fine and I can access my
> servlets.
> > >It seem to fall apart when I try to include the JDBC classes in the
> > >jserv.properties file.  When I do this and try to access and servlet I
> > get
> > >an internal server error.  Here is what it says in the apache error log
> :
> > >
> > >[Tue Aug  8 16:10:18 2000] [error] [client 127.0.0.1] Premature end of
> > >script headers: /client/IsItWorking
> > >
> > >The following is from the mod_jserv.log
> > >
> > >[08/08/2000 16:08:54:227] (EMERGENCY) ajp12: ping: no reply (-1)
> > >Please make sure that the wrapper.classpath is pointing             to
> > the
> > >correct version of ApacheJServ.jar
> > >[08/08/2000 16:09:15:247] (EMERGENCY) ajp12: ping: no reply (-1)
> > >Please make sure that the wrapper.classpath is pointing             to
> > the
> > >correct version of ApacheJServ.jar
> > >[08/08/2000 16:09:36:267] (EMERGENCY) ajp12: ping: no reply (-1)
> > >Please make sure that the wrapper.classpath is pointing             to
> > the
> > >correct version of ApacheJServ.jar
> > >[08/08/2000 16:09:57:287] (EMERGENCY) ajp12: ping: no reply (-1)
> > >Please make sure that the wrapper.classpath is pointing             to
> > the
> > >correct version of ApacheJServ.jar
> > >[08/08/2000 16:10:18:307] (EMERGENCY) ajp12: ping: no reply (-1)
> > >Please make sure that the wrapper.classpath is pointing             to
> > the
> > >correct version of ApacheJServ.jar
> > >[08/08/2000 16:10:18:308] (ERROR) wrapper: printing debugging
> information
> > >(command line, env)
> > >[08/08/2000 16:10:18:308] (ERROR) wrapper: argument[ 0]
> > >/usr/local/jdk1.3/bin/java
> > >[08/08/2000 16:10:18:308] (ERROR) wrapper: argument[ 1]
> > >org.apache.jserv.JServ
> > >[08/08/2000 16:10:18:308] (ERROR) wrapper: argument[ 2]
> > >/usr/local/jserv/etc/jserv.properties
> > >[08/08/2000 16:10:18:308] (ERROR) wrapper: environment[ 0]
> > >PATH=/bin:/usr/bin:/usr/local/bin
> > >[08/08/2000 16:10:18:308] (ERROR) wrapper: environment[ 1]
> >
> >CLASSPATH=/usr/local/jserv/libexec/ApacheJServ.jar:/usr/local/JSDK2.0/lib
> > /js
> >
> >dk.jar:/usr/local/jserv/jdbc/classes12.jar:/usr/local/jserv/NFuse/nfuse.j
> > ar:
> > >/usr/local/jserv/NFuse/ctxxml4j.jar:/usr/local/jserv/NFuse
> > >[08/08/2000 16:10:18:359] (EMERGENCY) ajp12[1]: cannot scan servlet
> > headers
> > >(500)
> > >[08/08/2000 16:10:18:359] (ERROR) an error returned handling request
> via
> > >protocol "ajpv12"
> > >
> > >If I comment out the wrapper.classpath line for the JDBC driver, I can
> > >access my servlets no problem (apart from the ones that use JDBC
> > obviously).
> > >
> > >Can anybody help me out here ?????
> > >
> > >TIA
> > >Lee
> > >
> > >
> > >
> > >--
> > >--------------------------------------------------------------
> > >Please read the FAQ! <http://java.apache.org/faq/>
> > >To subscribe:        [EMAIL PROTECTED]
> > >To unsubscribe:      [EMAIL PROTECTED]
> > >Search Archives:
> >
> ><http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> > >Problems?:           [EMAIL PROTECTED]
> > 
> > 
> > 
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Search Archives: 
> > <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> > Problems?:           [EMAIL PROTECTED]
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives: 
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to