Ah thanks that helped :)
-----Original Message-----
From: Noam Y. Tenne <[email protected]>
To: artifactory-users <[email protected]>
Sent: Wed, May 11, 2011 3:21 pm
Subject: Re: [Artifactory-users] Artifactory does not start up anymore
Hi,
This behavior might by caused by a broken index, which in turn results in a
sort of infinite loop.
Try moving the index folder away from $ARTIFACTORY_HOME/data and restarting
Artifactory.
HTH,
Noam
On Tue, May 10, 2011 at 5:34 PM, <[email protected]> wrote:
Hi,
I restared our Artifactory and since then it will not come up again. In the log
file I see
2011-05-10 16:28:53.454:INFO::Started [email protected]:8090
2011-05-10 16:29:02,129 [art-init] [INFO ] (o.a.r.a.RequestAdvice:50) -
Creating request advice interceptor
2011-05-10 16:29:05,509 [art-init] [INFO ]
(o.a.j.j.ArtifactoryBaseDataStore:519) - Using JDBC driver Apache Derby
Embedded JDBC Driver 10.5.3.0 - (802917)
2011-05-10 16:30:41,802 [art-init] [ERROR] (o.a.j.c.RepositoryImpl:434) - In
addition to startup fail, another unexpected problem occurred while shutting
down the repository again.
java.lang.NullPointerException: dispatcher
at
org.apache.jackrabbit.core.observation.ObservationManagerImpl.<init>(ObservationManagerImpl.java:97)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.WorkspaceImpl.getObservationManager(WorkspaceImpl.java:748)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.SessionImpl.removeRegisteredEventListeners(SessionImpl.java:1190)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:1219)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doDispose(RepositoryImpl.java:2225)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.dispose(RepositoryImpl.java:2180)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:1206)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:1158)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:430)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:704)
[jackrabbit-core-jfrog-2.1.0a.jar:2.1.0a]
at
org.artifactory.jcr.JcrRepoInitHelper.createJcrRepository(JcrRepoInitHelper.java:113)
[artifactory-core-2.2.5.jar:na]
at
org.artifactory.jcr.JcrServiceImpl.initJcrRepository(JcrServiceImpl.java:232)
[artifactory-core-2.2.5.jar:na]
at
org.artifactory.jcr.JcrServiceImpl.initJcrRepository(JcrServiceImpl.java:218)
[artifactory-core-2.2.5.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[na:1.6.0_25]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[na:1.6.0_25]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_25]
....
2011-05-10 16:30:41,812 [art-init] [ERROR]
(o.a.w.s.ArtifactoryContextConfigListener:164) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) [na:1.6.0_25]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[na:1.6.0_25]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[na:1.6.0_25]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[na:1.6.0_25]
at
org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:159)
[artifactory-web-application-2.2.5.jar:na]
at
org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$100(ArtifactoryContextConfigListener.java:47)
[artifactory-web-application-2.2.5.jar:na]
at
org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:66)
[artifactory-web-application-2.2.5.jar:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'wicketAddonsImpl': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.artifactory.api.config.CentralConfigService
org.artifactory.addon.wicket.WicketAddonsImpl.centralConfigService; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'centralConfig': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.artifactory.api.security.AuthorizationService
org.artifactory.config.CentralConfigServiceImpl.authService; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'securityServiceImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: private org.artifactory.security.InternalAclManager
org.artifactory.security.SecurityServiceImpl.internalAclManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jcrAclManager': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.artifactory.jcr.JcrService
org.artifactory.security.JcrAclManager.jcr; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jcrServiceImpl': Invocation of init method failed; nested exception
is java.lang.OutOfMemoryError: Java heap space
This error about Java heap space is comming several times. I just dont get it
why - before it was running without any problems. Also changing the Heap space
in $ARTIFACTORY_HOME/bin/artifactory.sh to a much higher value still results
this error.
Is there something else going wrong or what is the problem ?
I am using Artifactor 2.2.5
Thank you
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users