Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment of SubmitServer on Tomcat 7 fails, SEVERE: Error filterStart #32

Open
GoogleCodeExporter opened this issue Mar 29, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Try to setup marmoset submit server according to the Wiki-documentation on a 
plain Ubuntu/12.04, with installed Tomcat 7 and OpenJDK 1.7
2. Building of SubmitServer.war works
3. Deployment of SubmitServer.war fails

What is the expected output? What do you see instead?
Deployment of submitServer.war fails because of the following error message in 
Tomcat's log files:
-----
Jun 25, 2013 5:14:40 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
Jun 25, 2013 5:14:40 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/submitServer] startup failed due to previous errors
Jun 25, 2013 5:14:40 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/submitServer] appears to have started a thread 
named [com.google.inject.internal.util.$Finalizer] but has failed to stop it. 
This is very likely to create a memory leak.
Jun 25, 2013 5:14:40 PM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
SEVERE: The web application [/submitServer] created a ThreadLocal with key of 
type [com.google.inject.internal.InjectorImpl$1] (value 
[com.google.inject.internal.InjectorImpl$1@65cd7629]) and a value of type 
[java.lang.Object[]] (value [[Ljava.lang.Object;@1408b1f6]) but failed to 
remove it when the web application was stopped. Threads are going to be renewed 
over time to try and avoid a probable memory leak.
-----

So, what am I doing wrong?

Original issue reported on code.google.com by fromm.a...@gmail.com on 25 Jun 2013 at 3:25

@GoogleCodeExporter
Copy link
Author

I get the same error but before those I also get: 

ERROR 2013-10-01 13:37:07,770 rolling.RollingFileAppender: 
setFile(/usr/share/tomcat7/logs/marmoset/submitServerServlet.log,true) call 
failed.
java.io.FileNotFoundException: 
/usr/share/tomcat7/logs/marmoset/submitServerServlet.log (No such file or 
directory)

Original comment by sukl...@gmail.com on 1 Oct 2013 at 11:40

@GoogleCodeExporter
Copy link
Author

I acutally managed to found some more information. In localhost_xx.log I get 
the folowing error: 

SEVERE: Exception starting filter RegistrationFilter
java.lang.RuntimeException: Unable to load sql driver "com.mysql.jdbc.Driver"

I put the mysql-connector-java.jar inside $CATALINA_HOME/lib but still get that 
error. Could you please tell us,  how do we configure the datbase? I have this 
lines in local.web.properties, but it seems I have the database.driver setup 
wrongly: 
database.driver="com.mysql.jdbc.Driver"
database.server.jdbc.url=jdbc:mysql://localhost:3306/marmoset
database.options=unicode=true&characterEncoding=utf8

Thank you for the help

Original comment by sukl...@gmail.com on 1 Oct 2013 at 1:01

@GoogleCodeExporter
Copy link
Author

I solved the problem and got it running - I had quotes around the driver, which 
shouldn't be there

If you have SEVERE: Error filterStart, you probably have the database driver 
wrongly setup.

Original comment by sukl...@gmail.com on 2 Oct 2013 at 10:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant