Thanks Rob,
I have used classpath in the /etc/profile (now via a script under
/etc/profile.d/) for the earlier working installation, but not in the current
setup. The latest Java spec will automatically find jars in the
JAVA_HOME/jre/lib/ext subdir now - evidently classpath has been deprecated for
the newer versions (I like.)
But maybe the JSDK 2.0 jar files need a classpath env variable. I'll try that
next.
I just investigated Apache Jakarta Tomcat, have downloaded it, and will install
soon. It sounds like the next step from Apache Jserv. Perhaps it will resolve
some of the inconsistencies in locating class packages, which seems to be the
heart of my current problem.
Guess I have to descend into Hades once again!
Jon Lancelle
Rob Hazlewood wrote:
> Jon,
> I have a P100, with 64 meg ram running redhat 6.1 + apache + apache jserv
> (the current releases 2 months ago)
> i'm using it as my web server for developing servlets, and have access via
> samba from linux and nt. It works extremly well. Hasn't ever crashed.
> i'm using the jdk1.2.2 as the jvm - only using sun and apache.
>
> Jar archives work by using the format:
> http://192.168.1.1/servlet/A_Package.Class
> and all the java source files have to have the following line at the top:
>
> package A_Package;
>
> also if you are using jar archives, the location of the archive must be set in
> the classpath environment variable. This can be set in /etc/profiles (i
> think). Use the same format as path, making sure to add classpath to the
> export.
>
> once you get it running, make the servlet, http, log and config (zone config)
> accessible from samba, and you have yourself an extremly nice web server that
> can run for years and never give probs. I also have IP macq running on the
> machine.
>
> Hopefully this is of help
> Rob
>
> Jon Lancelle <[EMAIL PROTECTED]> wrote:
> > I have just installed the following:
> > Red Hat Linux ver. 6.2 with the latest release of Apache server/jserv
> as
> > came bundled with the release
> > Alphaworks IBM Developer Kit for Linux, Java 2 Technology Edition,
> Version
> > 1.3.0 Early Beta Release
> >
> > At first crack, I got basic servlets to run using the jre supplied by
> > Alphaworks. In the build of all servlets, I include the jsdk.jar file from
> Sun
> > JSDK 2.0 release.
> >
> > The problem arises when trying to build a servlet using a jar file from a
> > database product I am testing, Ovrimos. The jar is ovjdbc.jar. I can
> compile
> > the servlet...the problem occurs when trying to access the servlet. The
> most
> > common error message (depending on how fiddled with the properties files
> have
> > been) is 'Can Not Scan Servlet Headers.'
> >
> > This particular servlet ran successfully under earlier releases of all
> cited
> > above. I used RH 6.1, JSDK 2.0, Java 1.2, etc. and all ran beautifully.
> >
> > Is my problem the 1.3 build? Am I expecting too much when pushing the
> envelope
> > too far? I would hate to fall back on Java 1.2, as the new release contains
> > many wheels which I would dislike writing from scratch.
> >
> > I would appreciate hearing about any other experiences with this
> > configuration...Thanks.
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html