Thanks. We will look into the shutdown issue - seems like a bug.
http://issues.jfrog.org/jira/browse/RTFACT-3406.

On Wed, Aug 4, 2010 at 9:40 AM, <mremerson...@aim.com> wrote:

> Hi Yoav,
>
> after a reinstallation of tomcat and artifactory this problem didnt occur
> again - so there must have been something wrong at my side, as I dont see
> that exception anymore.
>
> Another thing happens now regularly.
>
> If I want to shut down tomcat via ./catalina.sh stop the log is creating
> several entries with:
>
> 04.08.2010 08:28:14 org.apache.catalina.loader.WebappClassLoader
> clearThreadLocalMap
> SCHWERWIEGEND: The web application [/artifactory] created a ThreadLocal
> with key of type [java.lang.ThreadLocal] (value
> [java.lang.threadlo...@486d1d]) and a value of type
> [org.springframework.security.core.context.SecurityContextImpl] (value
> [org.springframework.security.core.context.securitycontexti...@ffffffff:
> Null authentication]) but failed to remove it when the web application was
> stopped. This is very likely to create a memory leak.
> 04.08.2010 08:28:14 org.apache.catalina.loader.WebappClassLoader
> clearThreadLocalMap
> SCHWERWIEGEND: The web application [/artifactory] created a ThreadLocal
> with key of type [null] (value
> [ch.qos.logback.core.unsynchronizedappenderbas...@1c21524]) and a value of
> type [java.lang.Boolean] (value [false]) but failed to remove it when the
> web application was stopped. This is very likely to create a memory leak.
>
> And the tomcat process does not stop. It takes about 3 minutes then this
> appears in the logs:
>
> 04.08.2010 08:28:15 org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8092
> 04.08.2010 08:31:12 org.apache.catalina.loader.WebappClassLoader loadClass
> INFO: Illegal access: this web application instance has been stopped
> already.  Could not load ch.qos.logback.classic.spi.ThrowableProxyUtil.  The
> eventual following stack trace is caused by an error thrown for debugging
> purposes as well as to attempt to terminate the thread which caused the
> illegal access, and has no functional impact.
> java.lang.IllegalStateException
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1531)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at
> ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:35)
>         at
> ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:107)
>         at
> ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:463)
>         at
> ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:419)
>         at ch.qos.logback.classic.Logger.log(Logger.java:838)
>         at
> org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:225)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:211)
>         at
> org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:90)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>         at java.lang.Thread.run(Thread.java:619)
> Exception in thread "art-exec-2" java.lang.NoClassDefFoundError:
> ch/qos/logback/classic/spi/ThrowableProxyUtil
>         at
> ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:35)
>         at
> ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:107)
>         at
> ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:463)
>         at
> ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:419)
>         at ch.qos.logback.classic.Logger.log(Logger.java:838)
>         at
> org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:225)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:211)
>         at
> org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:90)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>         at java.lang.Thread.run(Thread.java:619)
>
>  and the process dies.
>
> I attached the completet log file for that - any help is appreciated
>
>
>  -----Original Message-----
> From: Yoav Landman <yo...@jfrog.org>
> To: artifactory-users <artifactory-users@lists.sourceforge.net>
> Sent: Tue, Aug 3, 2010 7:11 pm
> Subject: Re: [Artifactory-users] problem with tomcat 6 and fresh
> artifactory
>
>  - Do you have old data under /opt/artifactory, perhaps form a previous
> installation?
> - Does the user running tomcat have read permissions on /opt/artifactory
> and r/w permission on /opt/artifactory/data?
>   - Can you attach the full startup log?
>
>  On Tue, Aug 3, 2010 at 6:23 PM, <mremerson...@aim.com> wrote:
>
>> Hi,
>>
>> when I deploy a fresh artifactory.war on my tomcat it failes to deploy
>> with the exception
>>
>> Caused by: java.lang.RuntimeException: Failed to config jcr repo.
>>         at
>> org.artifactory.jcr.JcrRepoInitHelper.createJcrRepository(JcrRepoInitHelper.java:115)
>> [artifactory-core-2.2.5.jar:na]
>> Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
>> PoolableConnectionFactory (Connection authentication failure occurred.
>>  Reason: Invalid authentication..)
>>
>> what authentication does it mean ?
>>
>> I downloaded artifactory, put the .war in the tomcat/webapps and startet
>> via catalina.sh start with export ARTIFACTORY_HOME=/opt/artifactory.
>>
>> What went wrong ?
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Artifactory-users mailing list
>> Artifactory-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>>
>
>     
> ------------------------------------------------------------------------------
>
>
> The Palm PDK Hot Apps Program offers developers who use the
>
>
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>
>
> of $1 Million in cash or HP Products. Visit us here for more details:
>
> http://p.sf.net/sfu/dev2dev-palm
>
>   _______________________________________________
>
>
> Artifactory-users mailing list
>
> Artifactory-users@lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Artifactory-users mailing list
> Artifactory-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to