Guenther Wieser wrote:
>
> I'm not sure how you handle this.
> I think moving a jar file into a zone repository can cause that jserv
> will no longer find the classes inside that jar file.
> Am I wrong?
I think you are wrong. In the servlet zones documentation the example is
# The list of servlet repositories controlled by this servlet zone
# Syntax: repositories=<repository>,<repository>...
repositories=/usr/local/apache/servlets,/usr/local/java/servlets.jar
Armin
>
> Armin Haaf wrote:
> >
> > Guenther Wieser wrote:
> > >
> > > A collegue of mine had problems with the awt when there was no X-Server
> > > running where the jvm could connect to. He started a virtual X server
> > > for that purpose and his error emssages were gone.
> > > Maybe in your case that's a similar problem?
> >
> > No, there is a X-Server running. And the servlet works as long as all
> > jars are in the wrapper classpath. If I try to move some jars to the
> > zone repository I get the Exception described below.
> >
> > Armin
> >
> > >
> > > Armin Haaf wrote:
> > > >
> > > > Hello,
> > > >
> > > > I need more than one JVM running jserv. This is because if I try to
> > > > configure zones for the different servlets, I get the following
> > > > Exception (I use AWT to load gifs and manipulate them)
> > > >
> > > > java.io.IOException
> > > > at
> > > > sun.awt.image.GifImageDecoder.readHeader(GifImageDecoder.java:331)
> > > > at
> > > > sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:130)
> > > > at
> > > > sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j
> > > > ava:257)
> > > > at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:143)
> > > > at sun.awt.image.ImageFetcher.run(ImageFetcher.java:119)
> > > > java.io.IOException
> > > > at
> > > > sun.awt.image.GifImageDecoder.readHeader(GifImageDecoder.java:331)
> > > > at
> > > > sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:130)
> > > > at
> > > > sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j
> > > > ava:257)
> > > > at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:143)
> > > > at sun.awt.image.ImageFetcher.run(ImageFetcher.java:119)
> > > > java.io.IOException
> > > > at
> > > > sun.awt.image.GifImageDecoder.readHeader(GifImageDecoder.java:331)
> > > > at
> > > > sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:130)
> > > > at
> > > > sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j
> > > > ava:257)
> > > > at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:143)
> > > > at sun.awt.image.ImageFetcher.run(ImageFetcher.java:119)
> > > >
> > > > It would be fine if somebody knows why I get this Exception.
> > > > But it would be also fine to know how to configure an additional JVM to
> > > > run another jserv instance.
> > > >
> > > > Many thanks
> > > >
> > > > Armin
> > > >
> >
-- --------------------------------------------------------------
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]