Title: Message Title
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
4.1, 4.0, 4.2
|
Assignee:
|
Unassigned
|
Created:
|
12/May/14 9:37 PM
|
Environment:
|
RHEL 6, Tomcat 7, PostgreSQL 9.1
|
Priority:
|
Minor
|
Reporter:
|
Hardy Pottinger
|
|
I've encountered the issue mentioned in this thread http://sourceforge.net/p/dspace/mailman/message/26791017/ The error message I see in catalina.out is some variation of this: SEVERE: The web application [/lni] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Searching on this error message leads me to this thread: http://stackoverflow.com/questions/3320400/to-prevent-a-memory-leak-the-jdbc-driver-has-been-forcibly-unregistered What I think is happening is when Tomcat 7 attempts to stop, the additional step of force-unloading the PostgreSQL driver is causing the stop script to give up, and leaves the PID file around, which prevents Tomcat from ever starting, unless I manually remove the old PID file. I'm using a service launch script which essentially calls the built-in tomcat start and stop scripts. I mention it because some people use the jsvc script for running Tomcat, and that script may not have the level of "pickiness" about the PostgreSQL driver. Which may account for this error not being noticed until now. Other explanations are possibly that JSPUI and LNI webapps are not being deployed by very many people? But, surely that can't be, and surely someone has run into this and is dealing with it in some other way? As the Stackoverflow thread above mentions, you can utilize another way of loading the driver (manually copy the jar file to the tomcat lib folder, load it as a resource in the webapp's context fragment file). If such a deployment is required in order to run the JSPUI and LNI webapps, we should document it.
|
|
|
|
|
|
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel