[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JRun issue simple deployment



I am using JRun 4.

I started the admin server with ./jrun -start admin

After logging in, I created the bob server from the menu at the top of the admin page using port 8101.

I created the WEB-INF and WEB-INF/classes directories and the WEB-INF/web.xml.  WEB-INF is located directly below [jrun_root]/servers/bob/. I then placed my HelloWorld.java and HelloWorld.class to [jrun_root]/servers/bob/WEB-INF/classes.

I then restarted the bob server.  First using the admin page, then from the command line.  I tried to access the HelloWorld servlet using the following URL

http://localhost:8101/HelloWorld and got this message in the browser

-----------------------------------------------------------------------
Oops! We couldn't find your document.

The file that you requested could not be found on this server.
-----------------------------------------------------------------------

and this message on the command line

-----------------------------------------------------------------------
02/20 14:52:46 info HelloWorld
02/20 14:52:46 info HelloWorld
02/20 14:52:46 info HelloWorld
02/20 14:52:46 error Requested resource null not found
-----------------------------------------------------------------------

This is all the feedback I have received and have done nothing besides what I wrote here.

Is there something else I need to do?

-Jason


On Thu, 2003-02-20 at 14:34, Mike Arnett wrote:
The structure should be the same as TomCat with all
classes that are NOT in a jar or zip archive being
located in the WEB-INF/classes directory and the
web.xml file being in the WEB-INF directory.
What version are you using?  Are you using the JMC to
deploy or hot deploy or what?  Are you able to deploy,
but unable to access the servlet or are you unable to
deploy altogether?
Hope this helps,
-MLA

--- "Jason R. Kretzer" <jason@OpinionOne.com> wrote:
> Hello all,
> 
> I have downloaded the trial version today and I am
> having problems
> deploying a simple "HelloWorld" servlet.
> I am using the JMC on port 8000 and have created a
> new server called
> bob. 
> 
> Where does the HelloWorld.class file need to go? How
> do I access it once
> it is in place?
> 
> http://localhost/HelloWorld (for port 80)?
> 
> Where do I place my web.xml? Where do any images
> that I need to use go?
> 
> I have much experience with Tomcat but this seems to
> be really
> different. Please help.
> 
> -Jason
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/