ODKAggregate could not be started

Hi, I got a problem here.

I ever installed ODKAggregate on my local computer (OS:Windows 10) and it
worked well. After some undeploying and redeploying the ODKAggregate,
suddenly I got an error message after trying starting the ODK on Tomcat
webapp manager on browser.

This is the error message : "FAIL - Application at context path
/ODKAggregate could not be started"

I've heard too that this problem is caused by MEMORY LEAK.
I clicked find leak button on the tomcat webapp manager page and found
this message :

"The following web applications were stopped (reloaded, undeployed), but
their classes from previous runs are still loaded in memory, thus causing a
memory leak (use a profiler to confirm):
/ODKAggregate"

I have uninstalled everything having connection with this problem (java,
tomcat, mysql, etc) and reinstalled but STILL find this problem.
I have cleaned the registry too, but seems not working at all.

I need it to start working again at the end of this January.
Please, I need your help. I'm LOST here

It is normal for ODK Aggregate to not clean up perfectly when it is
stopped. Stopping and starting the Tomcat service will reclaim that
memory. Since the server is usually running 24/7, the retained memory is
not a problem. i.e., once everything is set up, there is generally no
benefit to turning on and off the server.

Problems like these can be investigated by looking at all the files in the
Tomcat logs directory.

If you have been uninstalling and re-installing Tomcat, you likely forgot
to copy a MySQL Connector/J jar into the libs directory.
Or perhaps you have not run the database-configuration scripts produced by
the installer?

The Tomcat logs will indicate the cause of the failure.

··· On Fri, Jan 22, 2016 at 1:16 AM, Mirza Ilmawan Hakim <13.7732@stis.ac.id> wrote:

Hi, I got a problem here.

I ever installed ODKAggregate on my local computer (OS:Windows 10) and it
worked well. After some undeploying and redeploying the ODKAggregate,
suddenly I got an error message after trying starting the ODK on Tomcat
webapp manager on browser.

This is the error message : "FAIL - Application at context path
/ODKAggregate could not be started"

I've heard too that this problem is caused by MEMORY LEAK.
I clicked find leak button on the tomcat webapp manager page and found
this message :

"The following web applications were stopped (reloaded, undeployed), but
their classes from previous runs are still loaded in memory, thus causing a
memory leak (use a profiler to confirm):
/ODKAggregate"

I have uninstalled everything having connection with this problem (java,
tomcat, mysql, etc) and reinstalled but STILL find this problem.
I have cleaned the registry too, but seems not working at all.

I need it to start working again at the end of this January.
Please, I need your help. I'm LOST here

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thank you for your fast response..
Anyway I've DONE these all :

  • Stopping and starting the Tomcat (because it's still a test before
    implementing it to a real server)
  • copying a MySQL Connector/J jar into the libs directory
  • running the database-configuration scripts produced by the installer

I've noticed a "SEVERE" warning in the log but I don't know what to do
next. Here my CATALINA log file

catalina.2016-01-22.log (6.33 KB)

··· On Fri, Jan 22, 2016 at 11:32 PM, Mitch Sundt wrote:

It is normal for ODK Aggregate to not clean up perfectly when it is
stopped. Stopping and starting the Tomcat service will reclaim that
memory. Since the server is usually running 24/7, the retained memory is
not a problem. i.e., once everything is set up, there is generally no
benefit to turning on and off the server.

Problems like these can be investigated by looking at all the files in the
Tomcat logs directory.

If you have been uninstalling and re-installing Tomcat, you likely forgot
to copy a MySQL Connector/J jar into the libs directory.
Or perhaps you have not run the database-configuration scripts produced by
the installer?

The Tomcat logs will indicate the cause of the failure.

On Fri, Jan 22, 2016 at 1:16 AM, Mirza Ilmawan Hakim 13.7732@stis.ac.id wrote:

Hi, I got a problem here.

I ever installed ODKAggregate on my local computer (OS:Windows 10) and it
worked well. After some undeploying and redeploying the ODKAggregate,
suddenly I got an error message after trying starting the ODK on Tomcat
webapp manager on browser.

This is the error message : "FAIL - Application at context path
/ODKAggregate could not be started"

I've heard too that this problem is caused by MEMORY LEAK.
I clicked find leak button on the tomcat webapp manager page and found
this message :

"The following web applications were stopped (reloaded, undeployed), but
their classes from previous runs are still loaded in memory, thus causing a
memory leak (use a profiler to confirm):
/ODKAggregate"

I have uninstalled everything having connection with this problem (java,
tomcat, mysql, etc) and reinstalled but STILL find this problem.
I have cleaned the registry too, but seems not working at all.

I need it to start working again at the end of this January.
Please, I need your help. I'm LOST here

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/TMuRqY8lNbk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Try increasing logging (http://stackoverflow.com/a/19678482/152938)
and see if that offers any clues.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Sat, Jan 23, 2016 at 8:48 AM, Mirza Ilmawan Hakim 13.7732@stis.ac.id wrote:

Thank you for your fast response..
Anyway I've DONE these all :

  • Stopping and starting the Tomcat (because it's still a test before
    implementing it to a real server)
  • copying a MySQL Connector/J jar into the libs directory
  • running the database-configuration scripts produced by the installer

I've noticed a "SEVERE" warning in the log but I don't know what to do next.
Here my CATALINA log file

On Fri, Jan 22, 2016 at 11:32 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

It is normal for ODK Aggregate to not clean up perfectly when it is
stopped. Stopping and starting the Tomcat service will reclaim that memory.
Since the server is usually running 24/7, the retained memory is not a
problem. i.e., once everything is set up, there is generally no benefit to
turning on and off the server.

Problems like these can be investigated by looking at all the files in the
Tomcat logs directory.

If you have been uninstalling and re-installing Tomcat, you likely forgot
to copy a MySQL Connector/J jar into the libs directory.
Or perhaps you have not run the database-configuration scripts produced by
the installer?

The Tomcat logs will indicate the cause of the failure.

On Fri, Jan 22, 2016 at 1:16 AM, Mirza Ilmawan Hakim 13.7732@stis.ac.id wrote:

Hi, I got a problem here.

I ever installed ODKAggregate on my local computer (OS:Windows 10) and it
worked well. After some undeploying and redeploying the ODKAggregate,
suddenly I got an error message after trying starting the ODK on Tomcat
webapp manager on browser.

This is the error message : "FAIL - Application at context path
/ODKAggregate could not be started"

I've heard too that this problem is caused by MEMORY LEAK.
I clicked find leak button on the tomcat webapp manager page and found
this message :

"The following web applications were stopped (reloaded, undeployed), but
their classes from previous runs are still loaded in memory, thus causing a
memory leak (use a profiler to confirm):
/ODKAggregate"

I have uninstalled everything having connection with this problem (java,
tomcat, mysql, etc) and reinstalled but STILL find this problem.
I have cleaned the registry too, but seems not working at all.

I need it to start working again at the end of this January.
Please, I need your help. I'm LOST here

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/TMuRqY8lNbk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.