Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JRun is crashing on every 2nd or 3rd hit

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
sarah lim
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about that. This is srlim. Could anyone answer my question. Thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic