This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes problem with jrun Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem with jrun" Watch "problem with jrun" New topic
Author

problem with jrun

Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
I have recently changed my JDK directory since I upgraded it to 1.3.1 and now nothing works with jrun. Does anybody know how I can change the path to the JDK for Jrun to work?
------------------
In Gates we trust. Yeah right....


"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."
ken chou
Ranch Hand

Joined: Feb 08, 2001
Posts: 68

If you are using the JRun 3.0, in the interface of JRun Management Console, click on JRun Default Server -> Java Settings -> Java Executable, change your setting from there. It should work after you restart your JRun.
Scott Stirling
Greenhorn

Joined: Mar 05, 2001
Posts: 24
What he said. If you have a problem, let me know. You can also just edit the java.exe property in JRun\lib\global.properties to point to your new JVM. This will apply the change globally to all your server instances.
------------------
Scott Stirling
Author of Java Server Pages Application Development


Scott Stirling<BR>Author of <A HREF="http://www.amazon.com/exec/obidos/ASIN/067231939X/ref=ase_electricporkchop/107-2476442-4883722" TARGET=_blank rel="nofollow">Java Server Pages Application Development</A>
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
well last night beofre i went to bed I downloaded Jrun again, now the server will not even start I am guessing it is an incompatibility with the 1.3.1-beta JVM. here is the log
03/07 05:54:27 error (JRun) The ejb service failed to load. Please verify that you are using a Java Virtual Machine version 1.2 or higher.
03/07 05:54:27 error (JRun) JRun Aborting! [javax.servlet.ServletException: The system cannot find the path specified]
[2]java.util.zip.ZipException: The system cannot find the path specified
at allaire.ejipt._Runtime._createException(allaire/ejipt/_Runtime.java:289)
at allaire.ejipt.Ejipt$_StubLoader.<init>(allaire/ejipt/Ejipt.java:1078)
at allaire.ejipt.Ejipt.prepareProperties(allaire/ejipt/Ejipt.java:215)
at allaire.jrun.ejb.EjbService.init(../ejb/EjbService.java:67)
at allaire.jrun.ServletService.init(../ServletService.java:66)
at allaire.jrun.ServletService.init(../ServletService.java:31)
at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunServletLoader.java:236)
at allaire.jrun.servlet.JRunSE.initServices(../servlet/JRunSE.java:620)
at allaire.jrun.servlet.JvmContext.initServices(../servlet/JvmContext.java:96)
at allaire.jrun.servlet.JRunSE.init(../servlet/JRunSE.java:187)
at allaire.jrun.servlet.JvmContext.init(../servlet/JvmContext.java:35)
at allaire.jrun.ServletService.init(../ServletService.java:66)
at allaire.jrun.ServletService.init(../ServletService.java:31)
at JRun.main(../../../JRun.java:169)
[1]javax.servlet.ServletException: The system cannot find the path specified
at allaire.jrun.ejb.EjbService.init(../ejb/EjbService.java:83)
at allaire.jrun.ServletService.init(../ServletService.java:66)
at allaire.jrun.ServletService.init(../ServletService.java:31)
at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunServletLoader.java:236)
at allaire.jrun.servlet.JRunSE.initServices(../servlet/JRunSE.java:620)
at allaire.jrun.servlet.JvmContext.initServices(../servlet/JvmContext.java:96)
at allaire.jrun.servlet.JRunSE.init(../servlet/JRunSE.java:187)
at allaire.jrun.servlet.JvmContext.init(../servlet/JvmContext.java:35)
at allaire.jrun.ServletService.init(../ServletService.java:66)
at allaire.jrun.ServletService.init(../ServletService.java:31)
at JRun.main(../../../JRun.java:169)
[0]javax.servlet.ServletException: The system cannot find the path specified
at allaire.jrun.ServletService.init(../ServletService.java:33)
at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunServletLoader.java:236)
at allaire.jrun.servlet.JRunSE.initServices(../servlet/JRunSE.java:620)
at allaire.jrun.servlet.JvmContext.initServices(../servlet/JvmContext.java:96)
at allaire.jrun.servlet.JRunSE.init(../servlet/JRunSE.java:187)
at allaire.jrun.servlet.JvmContext.init(../servlet/JvmContext.java:35)
at allaire.jrun.ServletService.init(../ServletService.java:66)
at allaire.jrun.ServletService.init(../ServletService.java:31)
at JRun.main(../../../JRun.java:169)

------------------
In Gates we trust. Yeah right....
Brian Nice
Ranch Hand

Joined: Nov 02, 2000
Posts: 195
I seem to remember something about this from a while back. Check out Allaire's web site for their web based help and do a search on the ejb problem. I think it is a matter of commenting a couple lines out the one of the config files. Of course, if you are actually using ejb then you will have to find another solution. Here's the link:
http://forums.allaire.com/JRunconf/Search_Results.cfm?
Brian
[This message has been edited by Brian Nice (edited March 07, 2001).]
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
still doesnt work. I couldnt find anything on it in the forums and your link doesnt work it says 'your broswer doesnt support this action use your browsers back button'
------------------
In Gates we trust. Yeah right....
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9048
    
  10
I remember reading about some of these type of problems when I was hanging around allaire. Try going to their JRun forum and post your error messages. Hopefully someone will be able to interpret them for you. You can also do a search on their forum.

Another option:
Search their Knowledge Base http://www.allaire.com/support/KnowledgeBase/SearchForm.cfm

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with jrun