File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Jrun problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jrun problem" Watch "Jrun problem" New topic
Author

Jrun problem

Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
When I try to run a servlet I am getting a interal 500 error saying that no such servlet, now if I run my HelloWorld servlet it works the servlets are in the same directory and I have checked case sensitivity and such and the url i am using is http://localhost/servlet/GetDemo (first example in bills new book.) anybody have an idea why this could be?


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
I think the first thing to do would be to look at JRun's log files to see if you can get more information. Which version of JRun is this?
If you would like to write me directly, use:
wbrogden@bga.com
Bill
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
I went through the log files and i only found one thing suspicious but i do not thinks its the problem. The version is 3.0 service pack 1
12/08 14:59:51 info (session) Loading persistence storage provider 'file'
12/08 14:59:51 info (JRun) Loading authentication
12/08 14:59:51 info (JRun) Loading propfile
12/08 14:59:51 info (JRun) Loading jsp
12/08 14:59:52 info (JRun) Loading file
12/08 14:59:52 info (JRun) default-app Ready
12/08 14:59:52 info (JRun) Loading jcp
12/08 14:59:52 info (jcp) jcp listening on 127.0.0.1:8007
12/08 14:59:52 info (JRun) default Ready
12/08 15:00:30 info (JRun) invoker: init
12/08 15:01:03 info (JRun) jrun__index2ejspa: init
12/08 15:01:32 info (JRun) HelloWorld: init
12/08 15:01:49 info (JRun) Destroying jcp
12/08 15:01:49 info (JRun) Destroying default-app
12/08 15:01:49 info (JRun) HelloWorld: destroy
12/08 15:01:49 info (JRun) invoker: destroy
12/08 15:01:49 info (JRun) jrun__index2ejspa: destroy
12/08 15:01:50 info (session) 1 session(s) persisted
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
Todd Bush
Greenhorn

Joined: Mar 06, 2000
Posts: 14
It could be that the servlet is failing. Check stderr.log and stdout.log
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
I was unable to find those logs where are they located?
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
I finnally solved it. instead of defining my own directory under my www folder in the conf i added an alias that points to one of the pre-made server setups. and it works
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jrun problem