• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jrun problem

 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It could be that the servlet is failing. Check stderr.log and stdout.log
 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic