Venkatraman Krishnamoorthy wrote:
> Ofcourse, we hv written some packages and we are using those packages in
> =
> >our servlets. So, in the repositories I m putting the classpaths of all =
> >packages in jar format only. I m not using any alias in zones.properties
>
sorry, I'm afraid I don't understand what you mean. What I'm asking is if instead of
setting CLASSPATH=/root/path/to/my/packages , you instead have CLASSPATH=MyJarFile.jar
. (Apoligies if this is obvious, just checking) Also, are your servlets a member
of a package (like com.my.servlets.MyServlet). This is probably not a factor, since
you can run your servlets un-jar'd.
>
> Venkatraman Krishnamoorthy wrote:
>
> > Hi Everybody,
> >
> > I m using Apache Server 1.3.6 with JServer 1.0b4.
> >
> > 1. For my servlets, I m having classfiles in jar format. In the zone's
>configuration file, under repositories I m putting the name of the classfiles.
> >
>
> Are you including the jar file in your classpath?
> Do your servlets belong to a package? If so, it may be an alias problem.
>
> >
> > But, when I run servlets, I m getting class not found exception. Then if I unjar
>and put the appropriate path in zone's config. file, everything is working fine.
> >
> > What's the problem here?
> >
> > 2. The next question is on configuring Apache web server. My requirement is I want
>to run one server on 80port and another on 81. I made two copy of all binaries and
>put it two different directories. In httpd.conf I put one for 80 and another for 81.
> >
> > When I start 81, after starting 80, I m getting httpd started. But nothing is
>running. What should I do to run more that one http server on the same machine?
> >
> > Thanks in advance.
> >
> > Regds,
> >
> > Venkatraman K
> >
> >
>
> -- --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> READ THE FAQ!!!! <http://java.apache.org/faq/>
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]