File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes More JRun Install Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "More JRun Install Problems" Watch "More JRun Install Problems" New topic

More JRun Install Problems

JC Cook
Ranch Hand

Joined: Nov 13, 2000
Posts: 32
This is going to be a long one because I'm looking for help [bold]and[/bold] I want to document my problems for whatever good it might do in showing Allaire what we're going through.
First some facts:
Running NT Workstation 4.0
Netscape 4.7, no proxy server
CLASSPATH=.;d:\java;d:\java\other classes;d:\java\other classes\;d:\j2sdkee1.2.1\lib\j2ee.jar;d:\java\jaxp.jar;d:\java\parser.jar
As you can see, all my stuff is installed on my much larger D: drive -- C: is full.
The first time I installed JRun, I took all the defaults EXCEPT I changed c: to d:, and I unchecked the box for starting JRun service at startup. Before I could even get signed on to admin server, both servers abended. I restarted admin and was able to bring it up, but couldn't alter port for default server -- admin server wouldn't stay up long enough. I decided to take the old "do it over" approach, and un-installed JRun. Six installs later I just seemed to be in a hole, no success. Then it dawned on me to look at the Allaire directory AFTER un-install, and lo and behold, everything was still there! Nothing deleted by un-install.
I deleted the whole folder and re-installed, and voila! Everything seemed to work as follows:
- changed default server port from 8100 to 80, rebooted server, OK and stayed open.
- directed browser to http://localhost/demo and played with demo servlets.
- directed browser to http://localhost and got a view of d:\java contents.
- created index.html file in d:\java that said "loaded index.html at /Java" and pointed browser to that file - text appeared.
I created, compiled it to TestServlet.class in d:\java\WEB-INF\classes, and tried to access http://localhost/servlet/TestServlet and got the following:

So, basically, I can run all the little demo servlets, but can't seem to run any that I create myself. I'm getting pretty good at the default installation, though. So far I'm at 5 hours invested and still not quite there. Any ideas?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
You might want to try renaming to
Also - are you sure you need these in your classpath?
Doesn't JRun have its own J2ee and xml libraries?
JC Cook
Ranch Hand

Joined: Nov 13, 2000
Posts: 32
Thanks, Bill. That was so easy!
paul wheaton

Joined: Dec 14, 1998
Posts: 20917

JRun might have that stuff in there somewhere, but I couldn't find it. And we still need to compile this stuff!

permaculture Wood Burning Stoves 2.0 - 4-DVD set
I agree. Here's the link:
subject: More JRun Install Problems
It's not a secret anymore!