W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 2000

Jigsaw servlet help please

From: Frank Bevers (EMX) <EMXFKBS@am1.ericsson.se>
Date: Fri, 3 Nov 2000 08:09:15 -0600
Message-ID: <93756969FBC8D2119F5A0000000054A007FACF9D@eamrcnt723.exu.ericsson.se>
To: "'Sejin Oh'" <sejinoh@yahoo.com>, "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Hi again Sejin and others:

Thanks again for your help! I tried what you said and it doesn't seem to make any difference. Jigsaw simply won't recognize any .jar files. Anyhow, thats not my real problem. I can work around that. Here's what I'm doing: I'm developing java servlet software using JBuilder 3 Professional as my IDE. I am trying to use Jigsaw 2.0.5 as my server. I create a servlet (call it abc) and it needs a class (call it xyz) in \util. I compile everything and it works fine in JBuilder. Then I try to use Jigsaw. I put the abc servlet in Jigsaw\Www\servlet and Jigsaw runs my servlet just fine. I put the xyz class in Jigsaw\Www\servlet\utils. The servlet sees the class fine. However, when the servlet tries to instantiate an object of class xyz, I get that funky error (see below). This is not good. I've tried just about everything and I always get the error. Could it be because of the Servlet wrapper put around the servlet files in that directory? Do I need to do some type of indexing or configu!
!
!
ration? I'm really stuck and I could use some help. I'm about to abort using Jigsaw and try the Apache server. Anybody have any ideas or suggestions? Thanks.

Frank B. Bevers
Senior Software Engineer
Ericsson Messaging Systems
145 Crossways Park Drive West
Woodbury, NY 11797
Phone: +516-677-8023
Email: frank.bevers@ericsson.com


-----Original Message-----
From: Sejin Oh [mailto:sejinoh@yahoo.com]
Sent: Thursday, November 02, 2000 2:15 PM
To: Frank Bevers (EMX)
Subject: RE: Jigsaw servlet help


Hi Frank

in your script/jigsaw.bat

set
CLASSPATH=Jigsaw;..\classes\jigsaw.zip;..\classes\servlet.jar;path_to_your_jar_file;.
java -classpath %CLASSPATH% org.w3c.jigsaw.Main -root
..\Jigsaw
pause

and restart using this jigsaw.bat ... it should work..

hope this helped.



--- "Frank Bevers (EMX)" <EMXFKBS@am1.ericsson.se>
wrote:
> Hi Sejin:
> 
> Thanks for the reply. I am still having a problem.
> Jigsaw doesnt recognize any .jar files. I have a
> servlet xyz.class that I copy to the \servlet
> directory. The servlet runs fine. Now the servlet
> needs a class in \util\*. Si I create a
> \servlet\util directory and copy the *.class file to
> that directory. The servlet finds the class fine.
> However, I get an error that says: A nonfatal
> internal JIT <3.00.078<x>> error "GetRegisterA' has
> occurred in
> 'util\x.<init><[B>V' Interpreting method. Any ideas?
> Thanks.
> 
> Frank
> 
> -----Original Message-----
> From: Sejin Oh [mailto:sejinoh@yahoo.com]
> Sent: Wednesday, November 01, 2000 10:21 PM
> To: Frank Bevers (EMX)
> Subject: Re: Jigsaw servlet help
> 
> 
> add that jar file to CLASSPATH and restart JigSaw
> with
> CLASSPATH set.
> 
> help this helped.
> 
> 
> --- "Frank Bevers (EMX)" <EMXFKBS@am1.ericsson.se>
> wrote:
> > Hi:
> > 
> > I can't get jigsaw to recognize a .jar file that
> > contains a servlet and some other classes the
> > servlet needs. How do I get jigsaw to do this? My
> > problem is that I have a servlet that needs other
> > classes. I have two choices; copying the servlet
> > .class file to the \servlet directory and what to
> do
> > with the other .class files? Or I can put all the
> > classes (including my servlet) in a .jar file
> > and how do I get Jigsaw to recognize this? I need
> > some help. Thanks.
> > 
> > Frank B. Bevers
> > Senior Software Engineer
> > Ericsson Messaging Systems
> > 145 Crossways Park Drive West
> > Woodbury, NY 11797
> > Phone: +516-677-8023
> > Email: frank.bevers@ericsson.com
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> From homework help to love advice, Yahoo! Experts
> has your answer.
> http://experts.yahoo.com/
> 


__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/
Received on Friday, 3 November 2000 09:09:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT