Zafif, this is the case here. We are doing some JNI and when we hose the system up such that jrun.exe won't exit, even though the vm is gone, but you try and start up a new instance anyway, the symptom reported in the log is
Port in use by another service or process: 53000 so I think your hypothesis is right on. BenG. [EMAIL PROTECTED] wrote: >Thank you for your reply. I will try to implement that this week and see how it >goes. > >The real problem we are having is every now and then, one of our apps is >crashing the jrun default server with the following msg: >javax.servlet.ServletException: Port in use by another service or process: >53000. > >I searched the web and this forum, and found the tech notes. But it seems that >this port is not being used by any other apps. The only other explanation I >have is maybe an instance of the app is not closing. Or maybe the JDBC >connection is not closing. So I wrote a routine to check it for the classes that >have the connection set up and make sure to close it if it is not null, (even >though I already instructed it to close!) > >It worked fine for few days and now, it crashed again. I noticed from the logs >that prior to that, it had created several JDBC connections but did not close >them or time out. I'm pretty sure that these were opened by the Jrun datasource >and not my classes. > >Anyone can suggest what else we can do to resolve this? > > [968] [1]java.net.BindException: Port in use by another service or process: >53000 > [967] 07/30 15:29:28 error (JRun) JRun Aborting! >[javax.servlet.ServletException: Port in use by another service or process: >53000] > [966] 07/30 15:29:28 info (JRun) Loading control > [965] 07/30 15:29:28 info (license) Enabling unlimited concurrency for >Advanced > [964] 07/30 15:29:28 info (JRun) Loading license > [963] 07/30 15:29:28 info (JRun) Loading monitor > [962] 07/30 15:29:11 info (JRun) Destroying jdbc > [961] 07/30 15:29:11 info (JRun) Destroying ejb > [960] 07/30 15:29:11 info (JRun) Destroying jms > [959] 07/30 15:29:11 info (JRun) Destroying jndi > [958] 07/30 15:29:11 info (JRun) Destroying mail > [957] 07/30 15:29:11 info (JRun) Destroying url > [956] 07/30 15:29:11 info (JRun) Destroying default-app > [955] 07/30 15:29:11 info (JRun) Destroying demo-app > [954] 07/30 15:29:11 info (JRun) Destroying invoice-app > [953] 07/30 15:29:11 info (JRun) Destroying MPDEV > [952] 07/30 15:29:11 info (JRun) Destroying MP Production > [951] 07/30 15:29:11 info (JRun) Destroying PCF > [950] 07/30 15:29:11 info (JRun) Destroying GEF > [949] 07/30 15:29:11 info (JRun) Destroying MP2 > [948] 07/30 15:29:11 info (session) 3 session(s) persisted > [947] 07/30 15:29:11 info (JRun) SearchCriteria: destroy > [946] 07/30 15:29:11 info (JRun) invoker: destroy > [945] 07/30 15:29:11 info (JRun) Destroying BNWPPDev > [944] 07/30 15:29:11 info (JRun) Destroying web > [943] 07/30 15:29:11 info (JRun) Destroying jcp > [942] 07/30 15:26:26 info (JRun) (BNWPP)Removing JDBC connection >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP due to >timeout even though connection is still in use. > [941] 07/30 15:25:28 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [940] 07/30 15:25:16 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [939] 07/30 15:25:05 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [938] 07/30 15:24:58 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [937] 07/30 15:23:30 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [936] 07/30 15:22:38 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [935] 07/30 15:22:32 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [934] 07/30 15:22:07 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [933] 07/30 15:21:28 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [932] 07/30 14:40:59 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [931] 07/30 14:38:26 info (JRun) (BNWPP) Removing JDBC connection >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP due to >timeout > [930] 07/30 14:25:15 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [929] 07/30 14:24:26 info (JRun) (BNWPP) Removing JDBC connection >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP due to >timeout > [928] 07/30 14:08:26 info (JRun) (MP2) Removing JDBC connection >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=MP2 due to timeout > [927] 07/30 14:07:55 info (JRun) (BNWPP) Creating JDBC connection to >jdbc:jrun:sqlserver://esdsql2.worldbank.org:1433;databaseName=BNWPP > [926] 07/30 14:00:26 info (JRun) (BNWPP) Removing JDBC connection > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
