• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

JRUN exits abnormally

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
thanks
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What your OS
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai,
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.
regards,
kichu
 
ammuswar kumar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using windows 2000
 
ammuswar kumar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
java.classpath={user.classpath};{jrun.classpath};{ejb.classpath};{servlet.cl
asspath}
For a definition of all these {...} see "C:\Program
Files\Allaire\JRun\lib\global.properties".
Items in local.properties of a server override for that server the ones in
global.properties.
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.
regards,
kichu
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
/hello.jsp:
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
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi geetha,
You have stored your jsp file at this location=>
C:\programfiles\allaire\jrun\servers\default\default-app\web-inf\jsp
BY default the jsp files are stored at ==>
C:\programfiles\allaire\jrun\servers\default\default-app\.
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
[email protected]
regards,
kichu
[This message has been edited by kichu kichu (edited August 21, 2001).]
[This message has been edited by kichu kichu (edited August 21, 2001).]
reply
    Bookmark Topic Watch Topic
  • New Topic