• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JRun is crashing on every 2nd or 3rd hit

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?


 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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. =)
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry about that. This is srlim. Could anyone answer my question. Thanks.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic