jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes JRUN exits abnormally Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JRUN exits abnormally" Watch "JRUN exits abnormally" New topic

JRUN exits abnormally

ammuswar kumar

Joined: Aug 19, 2001
Posts: 27
hi guys
tell me even after succesful installation of JRUN 3.0 when i try to start Admin server it does start but then also there is a alert saying JRUN exited abnormally so i cannot run my servlets .
Dorj Galaa
Ranch Hand

Joined: May 29, 2001
Posts: 113
What your OS

Senior software engineer
kichu kichu
Ranch Hand

Joined: May 10, 2001
Posts: 59
I too have this problem.I have installed jrun3.0.But this does not prevent me from running my programs using jrun.
They are running pretty smoothly.
What i'm doing is ,at the browser type==>http://localhost:8000
This inturn opens up a loginpage.Type in your username and password here.Now you will come to the index page.
Here you can control both the admin and default servers.(ie.u can start and stop them)..
As this procedure is working fine for me,i'm going along with it.
try it out and send a reply.
ammuswar kumar

Joined: Aug 19, 2001
Posts: 27
i am using windows 2000
ammuswar kumar

Joined: Aug 19, 2001
Posts: 27
hi kichu
thanks for the reply i tried it but the problem is even if i login and then successfully use the connector wizard then also the servlet does not run
what happens is i have to keep starting/restarting the default server
and once in every 10 tries i get my servlet running ,but if run it again it will not run .
where do u keep ur java file the compiled java file has to be kept in the WEB-INF/CLASSES directory of JRUN and tell me how did u specify the class path for javac because if and only is i keep the java file at the root directory i.e. c:\ then only the file compiles .so every time i have to cut and paste the .class file to the WEB-INF/CLASSES directory of JRUN.
please advice me
regards amit
kichu kichu
Ranch Hand

Joined: May 10, 2001
Posts: 59
Hi amit,
Every server in JRun has its own java virtual machine. You
change the classpath for that particular server so it loads first the
classes in a local directory of that server, and then the classes in
"\JRun\lib\ext". That way you don't have to put anything in the
"JRun\lib\ext" folder and the JRun application and the other servers (Admin,
Default) are not affected by your experiments.
Step 1: restore JRun to the original configuration or reinstall JRun so it
works again.
Step 2: create a new server (e.g. "Fopserver" ) (see setup guide). Now you
have 3 servers in "C:\Program Files\Allaire\JRun\servers" : "admin",
"default" and "Fopserver" .
This step is not really necessary, you can also use the existing default
server if you want. In that case replace in the following steps "Fopserver"
with "default".
Step 3: edit the file
"C:\Program Files\Allaire\JRun\servers\Fopserver\local.properties" :
Change (or add if it doesn't exist) the line that starts with
"java.classpath=" to:
For a definition of all these {...} see "C:\Program
Items in local.properties of a server override for that server the ones in
Step 4: put all the apache jars(Xerces,Xalan,Fop,...) and other jars you
need in the folder "C:\Program Files\Allaire\JRun\servers\Fopserver\lib".
They will be available to all apps in that server.
Try these steps and get back to me.
Geetha KR

Joined: Aug 21, 2001
Posts: 1

Hi Kichu,
I am new to JRUN, learning JSP,
stored one JSP file in C:\programfiles\allaire\jrun\servers\default\default-app\web-inf\jsp.
Started admin and default servers, when I executed the file from http://localhost:8000/hello.jsp , it is giving the following error.
404 Not Found
allaire.jrun.JRunServletException: The page /hello.jsp could not be found.
at allaire.jrun.jsp.JSPTranslator.loadClass(../jsp/JSPTranslator.java:149)
at allaire.jrun.jsp.JSPTranslator.translate(../jsp/JSPTranslator.java:96)
at allaire.jrun.jsp.JSPTranslator.translate(../jsp/JSPTranslator.java:67)
at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:216)
at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:196)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
at allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)

Could you please tell me how to execute a JSP file Using JRUN.

Thank you.
kichu kichu
Ranch Hand

Joined: May 10, 2001
Posts: 59
Hi geetha,
You have stored your jsp file at this location=>
BY default the jsp files are stored at ==>
As you know there are two servers ,the admin and the default.
We use the default server whose port number is 8100.
The port number of the admin server is 8000.
You have typed 8000 instead of typing 8100.
SO your correct path should be==> http://localhost:8100/name of your file.
This is if you are saving your file inside default-app as i mentioned above.
If u want to save it in another location u will have to set that path in the classpath settings.
I hope u have understood what i explained.
If u are still having problems ,post your problem or mail me at
[This message has been edited by kichu kichu (edited August 21, 2001).]
[This message has been edited by kichu kichu (edited August 21, 2001).]
I agree. Here's the link: http://aspose.com/file-tools
subject: JRUN exits abnormally
It's not a secret anymore!