aspose file tools*
The moose likes Servlets and the fly likes JRun is crashing on every 2nd or 3rd hit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JRun is crashing on every 2nd or 3rd hit" Watch "JRun is crashing on every 2nd or 3rd hit" New topic
Author

JRun is crashing on every 2nd or 3rd hit

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
We have Jrun installed here. when ever I run an application, after every 3rd or 4th request to the Jrun server, the Jrun crashes. Dr.Watson's message window opens out and says there is some access violation error with javaw.exe. Any idea about the problem ?
gbvenkat
Greenhorn

Joined: Jul 04, 2000
Posts: 2
Hi,
you are supposed to run the polisytool.exe in the jrun/jre/bin directory and click add and select All Permissions and goto file menu and select save as in to user directory which you logged in it will be in profoles directory if you are using NT it will be in c:\winnt\profiles and select your login user directory and give file name as .java.policy
I hope this will solve your problem
Regards,
venkat
Originally posted by Krishnan S:
We have Jrun installed here. when ever I run an application, after every 3rd or 4th request to the Jrun server, the Jrun crashes. Dr.Watson's message window opens out and says there is some access violation error with javaw.exe. Any idea about the problem ?

srlim
Greenhorn

Joined: Jun 21, 2001
Posts: 1
The javaw.exe access error still occurs after creating the .java.policy file. Are there any more tips as to why this happens and how i could prevent this? It seems that the access violation occurs when i try to traverse the list of records from end to end quickly. It happens sometimes, but not always. Thanks for your help. =)
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"Krishnan S", "gbvenkat", "srlim"
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
sarah lim
Greenhorn

Joined: Jun 24, 2001
Posts: 2
Sorry about that. This is srlim. Could anyone answer my question. Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
Which version of JRun?
Does anything informative get written to the JRun error log?
Does it matter what kind of application is called?
Which operating system?
Are you running JRun stand alone or as an add-on?
If an add-on - to which web server?
Did you download JRun over the net or from a CD?
Have you checked with the JRun web site for similar problem reports?
Bill
sarah lim
Greenhorn

Joined: Jun 24, 2001
Posts: 2
I've tried searching for answers on the net, but I haven't found any answers. We're using a Windows NT server, Jrun 3.0 which we downloaded over the net. Jrun is an add-on to IIS. The error only occurs when accessing the SQL Server database through jsp code. The default-event.log lists the error as:
06/25 13:22:51 error (JRun) JRun Aborting! [javax.servlet.ServletException: Port in use by another service or process: 8082]
[1]java.net.BindException: Port in use by another service or process: 8082
at allaire.jrun.NetworkService.bind(../NetworkService.java:273)
at allaire.jrun.NetworkService.init(../NetworkService.java:114)
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: Port in use by another service or process: 8082
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)
Any tips on how I can fix this and where i can find more info? thanks so much.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
Well, thats a pretty clear error message
06/25 13:22:51 error (JRun) JRun Aborting! [javax.servlet.ServletException: Port in use by another
service or process: 8082]
[1]java.net.BindException: Port in use by another service or process: 8082
at allaire.jrun.NetworkService.bind(../NetworkService.java:273)
You need to figure out what else is using port 8082. In a quick search of my JRun installation I found 8082 mentioned in
'D:\JRun3\lib\global.properties'
but your problem may come from elsewhere. Perhaps your application is opening that port and not managing it properly?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JRun is crashing on every 2nd or 3rd hit