Quantcast

Errors using repo/filesystem-derby

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Errors using repo/filesystem-derby

Adam Retter-3

I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)

However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -

artifactory.jcr.configDir=repo/filesystem-derby


and adjusted repo/filesystem-derby/repo.xml -

<param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>



However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?


artifactory.log -

2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
               _   _  __           _
    /\        | | (_)/ _|         | |
   /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
  / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
 / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
/_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
 Version: 2.1.2               Revision: 8706      __/ |
                                                 |___/
 Artifactory Home: '/usr/local/artifactory-2.1.2'
2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
]
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
        at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
        at $Proxy16.getXml(Unknown Source) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
        at $Proxy14.init(Unknown Source) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
        ... 21 common frames omitted
Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
        at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
        at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
        ... 49 common frames omitted
2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
        ... 16 common frames omitted
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
        at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
        at $Proxy16.getXml(Unknown Source) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
        at $Proxy14.init(Unknown Source) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
        ... 21 common frames omitted
Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
        at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
        at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
        at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
        at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
        at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
        at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
        ... 49 common frames omitted
2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081






Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Yoav  Landman
Hi Adam,

Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).

HTH,

Yoav

On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:

I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)

However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -

artifactory.jcr.configDir=repo/filesystem-derby


and adjusted repo/filesystem-derby/repo.xml -

<param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>



However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?


artifactory.log -

2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
              _   _  __           _
   /\        | | (_)/ _|         | |
  /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
 / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
 / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
/_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
 Version: 2.1.2               Revision: 8706      __/ |
                                                |___/
 Artifactory Home: '/usr/local/artifactory-2.1.2'
2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
       at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy16.getXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
       ... 21 common frames omitted
Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
       at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
       ... 49 common frames omitted
2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
       ... 16 common frames omitted
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
       at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy16.getXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
       ... 21 common frames omitted
Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
       at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
       at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
       at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
       ... 49 common frames omitted
2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081






Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users





------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Adam Retter-3

When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?

-----Original Message-----
From: Yoav Landman [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:09
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 
Hi Adam,

Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).


HTH,


Yoav


On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:



        I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)
       
        However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -
       
        artifactory.jcr.configDir=repo/filesystem-derby
       
       
        and adjusted repo/filesystem-derby/repo.xml -
       
        <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>
       
       
       
        However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?
       
       
        artifactory.log -
       
        2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
        2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
        2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
        2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                      _   _  __           _
           /\        | | (_)/ _|         | |
          /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
         / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
         / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
        /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
         Version: 2.1.2               Revision: 8706      __/ |
                                                        |___/
         Artifactory Home: '/usr/local/artifactory-2.1.2'
        2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
        2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
        actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
        2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
        8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
        2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
        2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
        2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
        2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
        2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
        2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
        2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
        2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
        java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
        ]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy16.getXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
               ... 21 common frames omitted
        Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
               ... 49 common frames omitted
        2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
        java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
               ... 16 common frames omitted
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy16.getXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
               ... 21 common frames omitted
        Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
               ... 49 common frames omitted
        2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
        2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       
        ------------------------------------------------------------------------------
        This SF.Net email is sponsored by the Verizon Developer Community
        Take advantage of Verizon's best-in-class app development support
        A streamlined, 14 day to market process makes app distribution fast and easy
        Join now and get one step closer to millions of Verizon customers
        http://p.sf.net/sfu/verizon-dev2dev
        _______________________________________________
        Artifactory-users mailing list
        [hidden email]
        https://lists.sourceforge.net/lists/listinfo/artifactory-users
       










Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Yoav  Landman
I mean remove all the content under usr/local/artifactory-2.1.2/data (or move it someplace else if you have a reason to maintain a backup of it).

On Wed, Dec 16, 2009 at 2:21 PM, Adam Retter <[hidden email]> wrote:

When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?

-----Original Message-----
From: Yoav Landman [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:09
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

Hi Adam,

Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).


HTH,


Yoav


On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:



       I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)

       However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -

       artifactory.jcr.configDir=repo/filesystem-derby


       and adjusted repo/filesystem-derby/repo.xml -

       <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>



       However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?


       artifactory.log -

       2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
       2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
       2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
       2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                     _   _  __           _
          /\        | | (_)/ _|         | |
         /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
        / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
        / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
       /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
        Version: 2.1.2               Revision: 8706      __/ |
                                                       |___/
        Artifactory Home: '/usr/local/artifactory-2.1.2'
       2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
       2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
       actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
       2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
       8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
       2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
       2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
       2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
       2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
       2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
       2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
       2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
       2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
       ]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy16.getXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
              ... 21 common frames omitted
       Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
              ... 49 common frames omitted
       2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
       java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
              ... 16 common frames omitted
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy16.getXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
              ... 21 common frames omitted
       Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
              at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
              at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
              ... 49 common frames omitted
       2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
       2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081






       Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
       Registered Number 2892803 Registered in England and Wales

       This email has been scanned by the MessageLabs Email Security System.
       For more information please visit http://www.messagelabs.com/email

       The information contained in this e-mail is confidential and may be subject to
       legal privilege. If you are not the intended recipient, you must not use, copy,
       distribute or disclose the e-mail or any part of its contents or take any
       action in reliance on it. If you have received this e-mail in error, please
       e-mail the sender by replying to this message. All reasonable precautions have
       been taken to ensure no viruses are present in this e-mail. Landmark Information
       Group Limited cannot accept responsibility for loss or damage arising from the
       use of this e-mail or attachments and recommend that you subject these to
       your virus checking procedures prior to use.


       ------------------------------------------------------------------------------
       This SF.Net email is sponsored by the Verizon Developer Community
       Take advantage of Verizon's best-in-class app development support
       A streamlined, 14 day to market process makes app distribution fast and easy
       Join now and get one step closer to millions of Verizon customers
       http://p.sf.net/sfu/verizon-dev2dev
       _______________________________________________
       Artifactory-users mailing list
       [hidden email]
       https://lists.sourceforge.net/lists/listinfo/artifactory-users











Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.





------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Adam Retter-3
In reply to this post by Adam Retter-3

Ah okay great thats helped :-)

But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???


2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
        at $Proxy16.setXml(Unknown Source) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
        at $Proxy14.init(Unknown Source) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
        ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
        at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
        ... 50 common frames omitted
2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
        ... 16 common frames omitted
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
        at $Proxy16.setXml(Unknown Source) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
        at $Proxy14.init(Unknown Source) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
        ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
        at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
        at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
        at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
        at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
        ... 50 common frames omitted
2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081


-----Original Message-----
From: Adam Retter [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:21
To: [hidden email]
Cc: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 

When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?

-----Original Message-----
From: Yoav Landman [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:09
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 
Hi Adam,

Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).


HTH,


Yoav


On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:



        I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)
       
        However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -
       
        artifactory.jcr.configDir=repo/filesystem-derby
       
       
        and adjusted repo/filesystem-derby/repo.xml -
       
        <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>
       
       
       
        However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?
       
       
        artifactory.log -
       
        2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
        2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
        2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
        2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                      _   _  __           _
           /\        | | (_)/ _|         | |
          /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
         / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
         / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
        /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
         Version: 2.1.2               Revision: 8706      __/ |
                                                        |___/
         Artifactory Home: '/usr/local/artifactory-2.1.2'
        2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
        2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
        actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
        2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
        8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
        2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
        2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
        2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
        2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
        2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
        2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
        2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
        2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
        java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
        ]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy16.getXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
               ... 21 common frames omitted
        Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
               ... 49 common frames omitted
        2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
        java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
               ... 16 common frames omitted
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy16.getXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
               ... 21 common frames omitted
        Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
               at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
               ... 49 common frames omitted
        2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
        2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       
        ------------------------------------------------------------------------------
        This SF.Net email is sponsored by the Verizon Developer Community
        Take advantage of Verizon's best-in-class app development support
        A streamlined, 14 day to market process makes app distribution fast and easy
        Join now and get one step closer to millions of Verizon customers
        http://p.sf.net/sfu/verizon-dev2dev
        _______________________________________________
        Artifactory-users mailing list
        [hidden email]
        https://lists.sourceforge.net/lists/listinfo/artifactory-users
       










Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.





Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Yoav  Landman
I assume you are running Artifactory as a service - is $ARTIFACTORY_USER defined to be 'artifactory'?

On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:

Ah okay great thats helped :-)

But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???


2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy16.setXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
       ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
       ... 50 common frames omitted
2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
       ... 16 common frames omitted
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy16.setXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
       ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
       at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
       at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
       at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
       ... 50 common frames omitted
2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081


-----Original Message-----
From: Adam Retter [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:21
To: [hidden email]
Cc: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby


When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?

-----Original Message-----
From: Yoav Landman [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:09
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

Hi Adam,

Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).


HTH,


Yoav


On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:



       I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)

       However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -

       artifactory.jcr.configDir=repo/filesystem-derby


       and adjusted repo/filesystem-derby/repo.xml -

       <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>



       However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?


       artifactory.log -

       2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
       2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
       2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
       2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                     _   _  __           _
          /\        | | (_)/ _|         | |
         /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
        / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
        / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
       /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
        Version: 2.1.2               Revision: 8706      __/ |
                                                       |___/
        Artifactory Home: '/usr/local/artifactory-2.1.2'
       2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
       2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
       actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
       2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
       8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
       2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
       2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
       2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
       2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
       2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
       2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
       2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
       2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
       ]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy16.getXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
              ... 21 common frames omitted
       Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
              ... 49 common frames omitted
       2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
       java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
              ... 16 common frames omitted
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy16.getXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
              ... 21 common frames omitted
       Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
              at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
              at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
              ... 49 common frames omitted
       2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
       2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081






       Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
       Registered Number 2892803 Registered in England and Wales

       This email has been scanned by the MessageLabs Email Security System.
       For more information please visit http://www.messagelabs.com/email

       The information contained in this e-mail is confidential and may be subject to
       legal privilege. If you are not the intended recipient, you must not use, copy,
       distribute or disclose the e-mail or any part of its contents or take any
       action in reliance on it. If you have received this e-mail in error, please
       e-mail the sender by replying to this message. All reasonable precautions have
       been taken to ensure no viruses are present in this e-mail. Landmark Information
       Group Limited cannot accept responsibility for loss or damage arising from the
       use of this e-mail or attachments and recommend that you subject these to
       your virus checking procedures prior to use.


       ------------------------------------------------------------------------------
       This SF.Net email is sponsored by the Verizon Developer Community
       Take advantage of Verizon's best-in-class app development support
       A streamlined, 14 day to market process makes app distribution fast and easy
       Join now and get one step closer to millions of Verizon customers
       http://p.sf.net/sfu/verizon-dev2dev
       _______________________________________________
       Artifactory-users mailing list
       [hidden email]
       https://lists.sourceforge.net/lists/listinfo/artifactory-users











Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.





Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.




------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Adam Retter-3

[root@exsubv02 artifactory]# /etc/init.d/artifactory check
Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
Checking arguments to Artifactory on Jetty:
ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
JETTY_CONF           =  
ARTIFACTORY_USER     =  artifactory
ARTIFACTORY_RUN      =  /var/run
ARTIFACTORY_PID      =  /var/run/artifactory.pid
ARTIFACTORY_CONSOLE  =  /usr/local/artifactory-2.1.2/logs/consoleout.log
JETTY_PORT           =  
JETTY_ARGS           =  
CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
CLASSPATH            =  
RUN_CMD              =  /usr/local/artifactory-2.1.2/bin/artifactory.init /usr/local/artifactory-2.1.2/etc/jetty.xml


I think the issue may be in how we mount the filesystem, I found this in /etc/fstab -

//cifs01/HCR_SubVersion /HCR_SubVersion cifs username=#subversion%somepassword,uid=2,gid=2 0 0

In this case uid 2 corresponds to daemon and gid 2 corresponds to daemon, I will get hold of our systems team and see if they have any thoughts on this... Do you know of anyone else using a CIFS filesystem for the repo?



-----Original Message-----
From: [hidden email] on behalf of Yoav Landman
Sent: Wed 16/12/2009 13:25
To: Adam Retter
Cc: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 
I assume you are running Artifactory as a service - is $ARTIFACTORY_USER defined to be 'artifactory'?


On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:



        Ah okay great thats helped :-)
       
        But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???
       
       
        2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
        2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       
        java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
               ... 50 common frames omitted
        2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
       
        java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
               ... 16 common frames omitted
       
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
               ... 50 common frames omitted
        2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
        2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       


        -----Original Message-----
        From: Adam Retter [mailto:[hidden email]]
        Sent: Wed 16/12/2009 12:21
        To: [hidden email]
       
        Cc: [hidden email]
        Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
       
        When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?
       
        -----Original Message-----
        From: Yoav Landman [mailto:[hidden email]]
        Sent: Wed 16/12/2009 12:09
        To: [hidden email]
        Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
        Hi Adam,
       
        Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).
       
       
        HTH,
       
       
        Yoav
       
       
        On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:
       
       
       
               I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)
       
               However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -
       
               artifactory.jcr.configDir=repo/filesystem-derby
       
       
               and adjusted repo/filesystem-derby/repo.xml -
       
               <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>
       
       
       
               However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?
       
       
               artifactory.log -
       
               2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
               2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
               2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
               2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                             _   _  __           _
                  /\        | | (_)/ _|         | |
                 /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
                / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
                / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
               /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
                Version: 2.1.2               Revision: 8706      __/ |
                                                               |___/
                Artifactory Home: '/usr/local/artifactory-2.1.2'
               2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
               2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
               actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
               2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
               8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
               2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
               2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
               2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
               2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
               2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
               2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
               2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
               2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
               java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
               ]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                      at $Proxy16.getXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                      ... 21 common frames omitted
               Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
                      ... 49 common frames omitted
               2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
               java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
               Caused by: java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                      ... 16 common frames omitted
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                      at $Proxy16.getXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                      ... 21 common frames omitted
               Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
                      at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
                      at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
                      ... 49 common frames omitted
               2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
               2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
       
       
       
               Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
               Registered Number 2892803 Registered in England and Wales
       
               This email has been scanned by the MessageLabs Email Security System.
               For more information please visit http://www.messagelabs.com/email
       
               The information contained in this e-mail is confidential and may be subject to
               legal privilege. If you are not the intended recipient, you must not use, copy,
               distribute or disclose the e-mail or any part of its contents or take any
               action in reliance on it. If you have received this e-mail in error, please
               e-mail the sender by replying to this message. All reasonable precautions have
               been taken to ensure no viruses are present in this e-mail. Landmark Information
               Group Limited cannot accept responsibility for loss or damage arising from the
               use of this e-mail or attachments and recommend that you subject these to
               your virus checking procedures prior to use.
       
       
               ------------------------------------------------------------------------------
               This SF.Net email is sponsored by the Verizon Developer Community
               Take advantage of Verizon's best-in-class app development support
               A streamlined, 14 day to market process makes app distribution fast and easy
               Join now and get one step closer to millions of Verizon customers
               http://p.sf.net/sfu/verizon-dev2dev
               _______________________________________________
               Artifactory-users mailing list
               [hidden email]
               https://lists.sourceforge.net/lists/listinfo/artifactory-users
       
       
       
       
       
       
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       





Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Frederic Simon
In reply to this post by Adam Retter-3
We have many customers that suffered from using CIFS for their data folder. The main problems are:
- Lucene (under data/index) needs exclusive access to its index files and keep them open. So, index gets corrupted often :(
- Derby DB files are also in needs of full lock, so CIFS is just not an option.
- The filestore folder containing all the big data file can be under a remote disk. Artifactory will stream them directly to the user (no local cache), so make sure the throughput is sufficient.
- We found some unix driver for CIFS allowing multiple mount of the same mount dir. This generated a disaster :( So, becareful...

HTH,
Fred.

On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:

Ah okay great thats helped :-)

But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???


2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy16.setXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
       ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
       ... 50 common frames omitted
2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
       ... 16 common frames omitted
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy16.setXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
       ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
       at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
       at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
       at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
       ... 50 common frames omitted
2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081


-----Original Message-----
From: Adam Retter [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:21
To: [hidden email]
Cc: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby


When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?

-----Original Message-----
From: Yoav Landman [mailto:[hidden email]]
Sent: Wed 16/12/2009 12:09
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

Hi Adam,

Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).


HTH,


Yoav


On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:



       I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)

       However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -

       artifactory.jcr.configDir=repo/filesystem-derby


       and adjusted repo/filesystem-derby/repo.xml -

       <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>



       However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?


       artifactory.log -

       2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
       2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
       2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
       2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                     _   _  __           _
          /\        | | (_)/ _|         | |
         /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
        / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
        / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
       /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
        Version: 2.1.2               Revision: 8706      __/ |
                                                       |___/
        Artifactory Home: '/usr/local/artifactory-2.1.2'
       2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
       2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
       actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
       2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
       8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
       2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
       2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
       2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
       2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
       2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
       2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
       2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
       2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
       ]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy16.getXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
              ... 21 common frames omitted
       Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
              ... 49 common frames omitted
       2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
       java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
              ... 16 common frames omitted
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy16.getXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
              ... 21 common frames omitted
       Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
              at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
              at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
              at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
              ... 49 common frames omitted
       2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
       2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081






       Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
       Registered Number 2892803 Registered in England and Wales

       This email has been scanned by the MessageLabs Email Security System.
       For more information please visit http://www.messagelabs.com/email

       The information contained in this e-mail is confidential and may be subject to
       legal privilege. If you are not the intended recipient, you must not use, copy,
       distribute or disclose the e-mail or any part of its contents or take any
       action in reliance on it. If you have received this e-mail in error, please
       e-mail the sender by replying to this message. All reasonable precautions have
       been taken to ensure no viruses are present in this e-mail. Landmark Information
       Group Limited cannot accept responsibility for loss or damage arising from the
       use of this e-mail or attachments and recommend that you subject these to
       your virus checking procedures prior to use.


       ------------------------------------------------------------------------------
       This SF.Net email is sponsored by the Verizon Developer Community
       Take advantage of Verizon's best-in-class app development support
       A streamlined, 14 day to market process makes app distribution fast and easy
       Join now and get one step closer to millions of Verizon customers
       http://p.sf.net/sfu/verizon-dev2dev
       _______________________________________________
       Artifactory-users mailing list
       [hidden email]
       https://lists.sourceforge.net/lists/listinfo/artifactory-users











Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.





Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users




--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Frederic Simon
In reply to this post by Adam Retter-3
In the configuration I know we are not enforcing user... And so all files are root.root (the one mounting the folder) !
It works, but sorry, I'm not crazy about CIFS :)

On Wed, Dec 16, 2009 at 3:33 PM, Adam Retter <[hidden email]> wrote:

[root@exsubv02 artifactory]# /etc/init.d/artifactory check
Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
Checking arguments to Artifactory on Jetty:
ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
JETTY_CONF           =
ARTIFACTORY_USER     =  artifactory
ARTIFACTORY_RUN      =  /var/run
ARTIFACTORY_PID      =  /var/run/artifactory.pid
ARTIFACTORY_CONSOLE  =  /usr/local/artifactory-2.1.2/logs/consoleout.log
JETTY_PORT           =
JETTY_ARGS           =
CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
CLASSPATH            =
RUN_CMD              =  /usr/local/artifactory-2.1.2/bin/artifactory.init /usr/local/artifactory-2.1.2/etc/jetty.xml


I think the issue may be in how we mount the filesystem, I found this in /etc/fstab -

//cifs01/HCR_SubVersion /HCR_SubVersion cifs username=#subversion%somepassword,uid=2,gid=2 0 0

In this case uid 2 corresponds to daemon and gid 2 corresponds to daemon, I will get hold of our systems team and see if they have any thoughts on this... Do you know of anyone else using a CIFS filesystem for the repo?




--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Adam Retter-3
In reply to this post by Adam Retter-3

According to our systems team, it would seem that we need to run artifactory as the daemon user, so that it can correctly access the CIFS share. I have modified etc/default and changed the permissions of artifcatory's folders and files appropriately.

Unfortunately, I am still getting errors, perhaps these are more related to known issues in Java IO with moving files between different mounts? I know that Apache Commons-IO tries to workaround these problems.

Perhaps I should just give up on the idea of storing our artifacts on a CIFS share??? Thoughts?



2009-12-16 10:19:52,860 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
2009-12-16 10:19:52,925 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
        at $Proxy16.setXml(Unknown Source) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
        at $Proxy14.init(Unknown Source) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
        ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
        at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
        ... 50 common frames omitted
2009-12-16 10:19:53,012 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@10bfedd{/artifactory,/usr/local/artifactory-2
.1.2/webapps/artifactory.war}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
        at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
        at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
        ... 16 common frames omitted
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
        at $Proxy16.setXml(Unknown Source) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
        at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
        at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
        at $Proxy14.init(Unknown Source) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
        at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
        ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
        at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
        at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
        at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
        at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
        at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
        at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
        ... 50 common frames omitted
2009-12-16 10:19:53,088 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
2009-12-16 10:19:53,583 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081


-----Original Message-----
From: Adam Retter
Sent: Wed 16/12/2009 13:33
To: Yoav Landman
Cc: [hidden email]
Subject: RE: [Artifactory-users] Errors using repo/filesystem-derby
 

[root@exsubv02 artifactory]# /etc/init.d/artifactory check
Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
Checking arguments to Artifactory on Jetty:
ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
JETTY_CONF           =  
ARTIFACTORY_USER     =  artifactory
ARTIFACTORY_RUN      =  /var/run
ARTIFACTORY_PID      =  /var/run/artifactory.pid
ARTIFACTORY_CONSOLE  =  /usr/local/artifactory-2.1.2/logs/consoleout.log
JETTY_PORT           =  
JETTY_ARGS           =  
CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
CLASSPATH            =  
RUN_CMD              =  /usr/local/artifactory-2.1.2/bin/artifactory.init /usr/local/artifactory-2.1.2/etc/jetty.xml


I think the issue may be in how we mount the filesystem, I found this in /etc/fstab -

//cifs01/HCR_SubVersion /HCR_SubVersion cifs username=#subversion%somepassword,uid=2,gid=2 0 0

In this case uid 2 corresponds to daemon and gid 2 corresponds to daemon, I will get hold of our systems team and see if they have any thoughts on this... Do you know of anyone else using a CIFS filesystem for the repo?



-----Original Message-----
From: [hidden email] on behalf of Yoav Landman
Sent: Wed 16/12/2009 13:25
To: Adam Retter
Cc: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 
I assume you are running Artifactory as a service - is $ARTIFACTORY_USER defined to be 'artifactory'?


On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:



        Ah okay great thats helped :-)
       
        But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???
       
       
        2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
        2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       
        java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
               ... 50 common frames omitted
        2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
       
        java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
               ... 16 common frames omitted
       
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
       
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
               ... 50 common frames omitted
        2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
        2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       


        -----Original Message-----
        From: Adam Retter [mailto:[hidden email]]
        Sent: Wed 16/12/2009 12:21
        To: [hidden email]
       
        Cc: [hidden email]
        Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
       
        When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?
       
        -----Original Message-----
        From: Yoav Landman [mailto:[hidden email]]
        Sent: Wed 16/12/2009 12:09
        To: [hidden email]
        Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
        Hi Adam,
       
        Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).
       
       
        HTH,
       
       
        Yoav
       
       
        On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:
       
       
       
               I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)
       
               However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -
       
               artifactory.jcr.configDir=repo/filesystem-derby
       
       
               and adjusted repo/filesystem-derby/repo.xml -
       
               <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>
       
       
       
               However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?
       
       
               artifactory.log -
       
               2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
               2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
               2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
               2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                             _   _  __           _
                  /\        | | (_)/ _|         | |
                 /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
                / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
                / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
               /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
                Version: 2.1.2               Revision: 8706      __/ |
                                                               |___/
                Artifactory Home: '/usr/local/artifactory-2.1.2'
               2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
               2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
               actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
               2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
               8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
               2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
               2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
               2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
               2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
               2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
               2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
               2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
               2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
               java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
               ]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                      at $Proxy16.getXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                      ... 21 common frames omitted
               Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
                      ... 49 common frames omitted
               2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
               java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
               Caused by: java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                      ... 16 common frames omitted
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                      at $Proxy16.getXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                      ... 21 common frames omitted
               Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                      at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
                      at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
                      at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
                      ... 49 common frames omitted
               2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
               2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
       
       
       
               Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
               Registered Number 2892803 Registered in England and Wales
       
               This email has been scanned by the MessageLabs Email Security System.
               For more information please visit http://www.messagelabs.com/email
       
               The information contained in this e-mail is confidential and may be subject to
               legal privilege. If you are not the intended recipient, you must not use, copy,
               distribute or disclose the e-mail or any part of its contents or take any
               action in reliance on it. If you have received this e-mail in error, please
               e-mail the sender by replying to this message. All reasonable precautions have
               been taken to ensure no viruses are present in this e-mail. Landmark Information
               Group Limited cannot accept responsibility for loss or damage arising from the
               use of this e-mail or attachments and recommend that you subject these to
               your virus checking procedures prior to use.
       
       
               ------------------------------------------------------------------------------
               This SF.Net email is sponsored by the Verizon Developer Community
               Take advantage of Verizon's best-in-class app development support
               A streamlined, 14 day to market process makes app distribution fast and easy
               Join now and get one step closer to millions of Verizon customers
               http://p.sf.net/sfu/verizon-dev2dev
               _______________________________________________
               Artifactory-users mailing list
               [hidden email]
               https://lists.sourceforge.net/lists/listinfo/artifactory-users
       
       
       
       
       
       
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       







Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Frederic Simon
You are right, it is the move operation, but it's actually forbidden by the underlying OS on most *NIXes especially when it is different file system.
I suggest if you can make a symlink "ln -s /usr/local/artifactory-2.1.2/data/tmp/prefilestore /HCR_SubVersion/artifactory/prefilestore" that can solve your problem.

On Wed, Dec 16, 2009 at 4:22 PM, Adam Retter <[hidden email]> wrote:

According to our systems team, it would seem that we need to run artifactory as the daemon user, so that it can correctly access the CIFS share. I have modified etc/default and changed the permissions of artifcatory's folders and files appropriately.

Unfortunately, I am still getting errors, perhaps these are more related to known issues in Java IO with moving files between different mounts? I know that Apache Commons-IO tries to workaround these problems.

Perhaps I should just give up on the idea of storing our artifacts on a CIFS share??? Thoughts?



2009-12-16 10:19:52,860 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
2009-12-16 10:19:52,925 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy16.setXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
       ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
       ... 50 common frames omitted
2009-12-16 10:19:53,012 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@10bfedd{/artifactory,/usr/local/artifactory-2
.1.2/webapps/artifactory.war}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
       at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
       at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
       at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
Caused by: java.lang.reflect.InvocationTargetException: null
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
       at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
       ... 16 common frames omitted
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy16.setXml(Unknown Source) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
       at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
       at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
       at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
       at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       at $Proxy14.init(Unknown Source) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
       at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
       ... 21 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
       at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
       at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
       at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
       at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
       at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
       at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
       at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
       ... 50 common frames omitted
2009-12-16 10:19:53,088 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
2009-12-16 10:19:53,583 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081


-----Original Message-----
From: Adam Retter
Sent: Wed 16/12/2009 13:33
To: Yoav Landman
Cc: [hidden email]
Subject: RE: [Artifactory-users] Errors using repo/filesystem-derby


[root@exsubv02 artifactory]# /etc/init.d/artifactory check
Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
Checking arguments to Artifactory on Jetty:
ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
JETTY_CONF           =
ARTIFACTORY_USER     =  artifactory
ARTIFACTORY_RUN      =  /var/run
ARTIFACTORY_PID      =  /var/run/artifactory.pid
ARTIFACTORY_CONSOLE  =  /usr/local/artifactory-2.1.2/logs/consoleout.log
JETTY_PORT           =
JETTY_ARGS           =
CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
CLASSPATH            =
RUN_CMD              =  /usr/local/artifactory-2.1.2/bin/artifactory.init /usr/local/artifactory-2.1.2/etc/jetty.xml


I think the issue may be in how we mount the filesystem, I found this in /etc/fstab -

//cifs01/HCR_SubVersion /HCR_SubVersion cifs username=#subversion%somepassword,uid=2,gid=2 0 0

In this case uid 2 corresponds to daemon and gid 2 corresponds to daemon, I will get hold of our systems team and see if they have any thoughts on this... Do you know of anyone else using a CIFS filesystem for the repo?



-----Original Message-----
From: [hidden email] on behalf of Yoav Landman
Sent: Wed 16/12/2009 13:25
To: Adam Retter
Cc: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

I assume you are running Artifactory as a service - is $ARTIFACTORY_USER defined to be 'artifactory'?


On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:



       Ah okay great thats helped :-)

       But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???


       2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
       2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context

       java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]

       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]

              at $Proxy16.setXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
              ... 21 common frames omitted

       Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
              ... 50 common frames omitted
       2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}

       java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
              ... 16 common frames omitted

       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]

              at $Proxy16.setXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
              ... 21 common frames omitted

       Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
              at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
              at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
              at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
              ... 50 common frames omitted
       2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
       2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081



       -----Original Message-----
       From: Adam Retter [mailto:[hidden email]]
       Sent: Wed 16/12/2009 12:21
       To: [hidden email]

       Cc: [hidden email]
       Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby


       When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?

       -----Original Message-----
       From: Yoav Landman [mailto:[hidden email]]
       Sent: Wed 16/12/2009 12:09
       To: [hidden email]
       Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

       Hi Adam,

       Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).


       HTH,


       Yoav


       On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:



              I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)

              However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -

              artifactory.jcr.configDir=repo/filesystem-derby


              and adjusted repo/filesystem-derby/repo.xml -

              <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>



              However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?


              artifactory.log -

              2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
              2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
              2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
              2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                            _   _  __           _
                 /\        | | (_)/ _|         | |
                /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
               / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
               / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
              /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
               Version: 2.1.2               Revision: 8706      __/ |
                                                              |___/
               Artifactory Home: '/usr/local/artifactory-2.1.2'
              2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
              2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
              actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
              2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
              8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
              2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
              2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
              2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
              2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
              2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
              2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
              2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
              2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
              java.lang.reflect.InvocationTargetException: null
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                     at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
              ]
                     at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
              Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                     at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                     at $Proxy16.getXml(Unknown Source) [na:na]
                     at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                     at $Proxy14.init(Unknown Source) [na:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                     ... 21 common frames omitted
              Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                     at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
                     at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
                     ... 49 common frames omitted
              2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
              java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                     at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
              Caused by: java.lang.reflect.InvocationTargetException: null
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                     at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                     ... 16 common frames omitted
              Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                     at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                     at $Proxy16.getXml(Unknown Source) [na:na]
                     at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
                     at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                     at $Proxy14.init(Unknown Source) [na:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                     ... 21 common frames omitted
              Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                     at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
                     at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
                     at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
                     at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
                     at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
                     at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
                     ... 49 common frames omitted
              2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
              2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081






              Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
              Registered Number 2892803 Registered in England and Wales

              This email has been scanned by the MessageLabs Email Security System.
              For more information please visit http://www.messagelabs.com/email

              The information contained in this e-mail is confidential and may be subject to
              legal privilege. If you are not the intended recipient, you must not use, copy,
              distribute or disclose the e-mail or any part of its contents or take any
              action in reliance on it. If you have received this e-mail in error, please
              e-mail the sender by replying to this message. All reasonable precautions have
              been taken to ensure no viruses are present in this e-mail. Landmark Information
              Group Limited cannot accept responsibility for loss or damage arising from the
              use of this e-mail or attachments and recommend that you subject these to
              your virus checking procedures prior to use.


              ------------------------------------------------------------------------------
              This SF.Net email is sponsored by the Verizon Developer Community
              Take advantage of Verizon's best-in-class app development support
              A streamlined, 14 day to market process makes app distribution fast and easy
              Join now and get one step closer to millions of Verizon customers
              http://p.sf.net/sfu/verizon-dev2dev
              _______________________________________________
              Artifactory-users mailing list
              [hidden email]
              https://lists.sourceforge.net/lists/listinfo/artifactory-users











       Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
       Registered Number 2892803 Registered in England and Wales

       This email has been scanned by the MessageLabs Email Security System.
       For more information please visit http://www.messagelabs.com/email

       The information contained in this e-mail is confidential and may be subject to
       legal privilege. If you are not the intended recipient, you must not use, copy,
       distribute or disclose the e-mail or any part of its contents or take any
       action in reliance on it. If you have received this e-mail in error, please
       e-mail the sender by replying to this message. All reasonable precautions have
       been taken to ensure no viruses are present in this e-mail. Landmark Information
       Group Limited cannot accept responsibility for loss or damage arising from the
       use of this e-mail or attachments and recommend that you subject these to
       your virus checking procedures prior to use.





       Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
       Registered Number 2892803 Registered in England and Wales

       This email has been scanned by the MessageLabs Email Security System.
       For more information please visit http://www.messagelabs.com/email

       The information contained in this e-mail is confidential and may be subject to
       legal privilege. If you are not the intended recipient, you must not use, copy,
       distribute or disclose the e-mail or any part of its contents or take any
       action in reliance on it. If you have received this e-mail in error, please
       e-mail the sender by replying to this message. All reasonable precautions have
       been taken to ensure no viruses are present in this e-mail. Landmark Information
       Group Limited cannot accept responsibility for loss or damage arising from the
       use of this e-mail or attachments and recommend that you subject these to
       your virus checking procedures prior to use.









Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Adam Retter-3

Superb thanks for all the support :-) I believe I have it up and running on the CIFS share now.

I actually had to make that link in the opposite direction i.e.

# mkdir /HCR_SubVersion/artifactiory/prefilestore
# cd /usr/local/artifactory/data/tmp
# ln -s /HCR_SubVersion/artifactory/prefilestore


Thanks again :-) Looking forward to playing with this now :-)

-----Original Message-----
From: Frederic Simon [mailto:[hidden email]]
Sent: Wed 16/12/2009 14:35
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 
You are right, it is the move operation, but it's actually forbidden by the underlying OS on most *NIXes especially when it is different file system.
I suggest if you can make a symlink "ln -s /usr/local/artifactory-2.1.2/data/tmp/prefilestore /HCR_SubVersion/artifactory/prefilestore" that can solve your problem.


On Wed, Dec 16, 2009 at 4:22 PM, Adam Retter <[hidden email]> wrote:



        According to our systems team, it would seem that we need to run artifactory as the daemon user, so that it can correctly access the CIFS share. I have modified etc/default and changed the permissions of artifcatory's folders and files appropriately.
       
        Unfortunately, I am still getting errors, perhaps these are more related to known issues in Java IO with moving files between different mounts? I know that Apache Commons-IO tries to workaround these problems.
       
        Perhaps I should just give up on the idea of storing our artifacts on a CIFS share??? Thoughts?
       
       
       
        2009-12-16 10:19:52,860 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
        2009-12-16 10:19:52,925 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       
        java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [artifactory-core-2.1.2.jar:na]
       
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
               ... 50 common frames omitted
       
        2009-12-16 10:19:53,012 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@10bfedd{/artifactory,/usr/local/artifactory-2
       
        .1.2/webapps/artifactory.war}
        java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
               ... 16 common frames omitted
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [na:na]
       
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
               ... 50 common frames omitted
       
        2009-12-16 10:19:53,088 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
        2009-12-16 10:19:53,583 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       


        -----Original Message-----
        From: Adam Retter
       
        Sent: Wed 16/12/2009 13:33
        To: Yoav Landman
        Cc: [hidden email]
       
        Subject: RE: [Artifactory-users] Errors using repo/filesystem-derby
       
       
        [root@exsubv02 artifactory]# /etc/init.d/artifactory check
        Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
        Checking arguments to Artifactory on Jetty:
        ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
        JETTY_CONF           =
        ARTIFACTORY_USER     =  artifactory
        ARTIFACTORY_RUN      =  /var/run
        ARTIFACTORY_PID      =  /var/run/artifactory.pid
        ARTIFACTORY_CONSOLE  =  /usr/local/artifactory-2.1.2/logs/consoleout.log
        JETTY_PORT           =
        JETTY_ARGS           =
        CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
        JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
        JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
        CLASSPATH            =
        RUN_CMD              =  /usr/local/artifactory-2.1.2/bin/artifactory.init /usr/local/artifactory-2.1.2/etc/jetty.xml
       
       
        I think the issue may be in how we mount the filesystem, I found this in /etc/fstab -
       
        //cifs01/HCR_SubVersion /HCR_SubVersion cifs username=#subversion%somepassword,uid=2,gid=2 0 0
       
        In this case uid 2 corresponds to daemon and gid 2 corresponds to daemon, I will get hold of our systems team and see if they have any thoughts on this... Do you know of anyone else using a CIFS filesystem for the repo?
       
       
       
        -----Original Message-----
        From: [hidden email] on behalf of Yoav Landman
        Sent: Wed 16/12/2009 13:25
        To: Adam Retter
        Cc: [hidden email]
        Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
        I assume you are running Artifactory as a service - is $ARTIFACTORY_USER defined to be 'artifactory'?
       
       
        On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:
       
       
       
               Ah okay great thats helped :-)
       
               But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???
       
       
               2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
               2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       
               java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       
                      at $Proxy16.setXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                      ... 21 common frames omitted
       
               Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
                      ... 50 common frames omitted
               2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
       
               java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
               Caused by: java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                      ... 16 common frames omitted
       
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       
                      at $Proxy16.setXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                      ... 21 common frames omitted
       
               Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
                      at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
                      at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
                      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
                      ... 50 common frames omitted
               2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
               2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
               -----Original Message-----
               From: Adam Retter [mailto:[hidden email]]
               Sent: Wed 16/12/2009 12:21
               To: [hidden email]
       
               Cc: [hidden email]
               Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
       
               When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?
       
               -----Original Message-----
               From: Yoav Landman [mailto:[hidden email]]
               Sent: Wed 16/12/2009 12:09
               To: [hidden email]
               Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
               Hi Adam,
       
               Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).
       
       
               HTH,
       
       
               Yoav
       
       
               On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:
       
       
       
                      I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)
       
                      However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -
       
                      artifactory.jcr.configDir=repo/filesystem-derby
       
       
                      and adjusted repo/filesystem-derby/repo.xml -
       
                      <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>
       
       
       
                      However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?
       
       
                      artifactory.log -
       
                      2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
                      2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
                      2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
                      2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                                    _   _  __           _
                         /\        | | (_)/ _|         | |
                        /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
                       / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
                       / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
                      /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
                       Version: 2.1.2               Revision: 8706      __/ |
                                                                      |___/
                       Artifactory Home: '/usr/local/artifactory-2.1.2'
                      2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
                      2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
                      actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
                      2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
                      8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
                      2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
                      2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
                      2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
                      2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
                      2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
                      2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
                      2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
                      2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
                      java.lang.reflect.InvocationTargetException: null
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                             at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
                      ]
                             at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
                      Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                             at $Proxy16.getXml(Unknown Source) [na:na]
                             at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                             at $Proxy14.init(Unknown Source) [na:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                             ... 21 common frames omitted
                      Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
                             at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                             at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                             at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                             at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
                             ... 49 common frames omitted
                      2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
                      java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                             at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
                      Caused by: java.lang.reflect.InvocationTargetException: null
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                             at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                             ... 16 common frames omitted
                      Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                             at $Proxy16.getXml(Unknown Source) [na:na]
                             at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
                             at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                             at $Proxy14.init(Unknown Source) [na:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                             ... 21 common frames omitted
                      Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
                             at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
                             at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
                             at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
                             at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
                             at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
                             ... 49 common frames omitted
                      2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
                      2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
       
       
       
                      Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
                      Registered Number 2892803 Registered in England and Wales
       
                      This email has been scanned by the MessageLabs Email Security System.
                      For more information please visit http://www.messagelabs.com/email
       
                      The information contained in this e-mail is confidential and may be subject to
                      legal privilege. If you are not the intended recipient, you must not use, copy,
                      distribute or disclose the e-mail or any part of its contents or take any
                      action in reliance on it. If you have received this e-mail in error, please
                      e-mail the sender by replying to this message. All reasonable precautions have
                      been taken to ensure no viruses are present in this e-mail. Landmark Information
                      Group Limited cannot accept responsibility for loss or damage arising from the
                      use of this e-mail or attachments and recommend that you subject these to
                      your virus checking procedures prior to use.
       
       
                      ------------------------------------------------------------------------------
                      This SF.Net email is sponsored by the Verizon Developer Community
                      Take advantage of Verizon's best-in-class app development support
                      A streamlined, 14 day to market process makes app distribution fast and easy
                      Join now and get one step closer to millions of Verizon customers
                      http://p.sf.net/sfu/verizon-dev2dev
                      _______________________________________________
                      Artifactory-users mailing list
                      [hidden email]
                      https://lists.sourceforge.net/lists/listinfo/artifactory-users
       
       
       
       
       
       
       
       
       
       
       
               Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
               Registered Number 2892803 Registered in England and Wales
       
               This email has been scanned by the MessageLabs Email Security System.
               For more information please visit http://www.messagelabs.com/email
       
               The information contained in this e-mail is confidential and may be subject to
               legal privilege. If you are not the intended recipient, you must not use, copy,
               distribute or disclose the e-mail or any part of its contents or take any
               action in reliance on it. If you have received this e-mail in error, please
               e-mail the sender by replying to this message. All reasonable precautions have
               been taken to ensure no viruses are present in this e-mail. Landmark Information
               Group Limited cannot accept responsibility for loss or damage arising from the
               use of this e-mail or attachments and recommend that you subject these to
               your virus checking procedures prior to use.
       
       
       
       
       
               Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
               Registered Number 2892803 Registered in England and Wales
       
               This email has been scanned by the MessageLabs Email Security System.
               For more information please visit http://www.messagelabs.com/email
       
               The information contained in this e-mail is confidential and may be subject to
               legal privilege. If you are not the intended recipient, you must not use, copy,
               distribute or disclose the e-mail or any part of its contents or take any
               action in reliance on it. If you have received this e-mail in error, please
               e-mail the sender by replying to this message. All reasonable precautions have
               been taken to ensure no viruses are present in this e-mail. Landmark Information
               Group Limited cannot accept responsibility for loss or damage arising from the
               use of this e-mail or attachments and recommend that you subject these to
               your virus checking procedures prior to use.
       
       
       
       
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       
        ------------------------------------------------------------------------------
        This SF.Net email is sponsored by the Verizon Developer Community
        Take advantage of Verizon's best-in-class app development support
        A streamlined, 14 day to market process makes app distribution fast and easy
        Join now and get one step closer to millions of Verizon customers
        http://p.sf.net/sfu/verizon-dev2dev
        _______________________________________________
        Artifactory-users mailing list
        [hidden email]
        https://lists.sourceforge.net/lists/listinfo/artifactory-users
       




--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33



Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Adam Retter-3
In reply to this post by Frederic Simon

When using filesystem-derby, where are my artifacts physically stored?

I cant immediately see them in /HCR_SubVersion/artifactory

-----Original Message-----
From: Frederic Simon [mailto:[hidden email]]
Sent: Wed 16/12/2009 14:35
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 
You are right, it is the move operation, but it's actually forbidden by the underlying OS on most *NIXes especially when it is different file system.
I suggest if you can make a symlink "ln -s /usr/local/artifactory-2.1.2/data/tmp/prefilestore /HCR_SubVersion/artifactory/prefilestore" that can solve your problem.


On Wed, Dec 16, 2009 at 4:22 PM, Adam Retter <[hidden email]> wrote:



        According to our systems team, it would seem that we need to run artifactory as the daemon user, so that it can correctly access the CIFS share. I have modified etc/default and changed the permissions of artifcatory's folders and files appropriately.
       
        Unfortunately, I am still getting errors, perhaps these are more related to known issues in Java IO with moving files between different mounts? I know that Apache Commons-IO tries to workaround these problems.
       
        Perhaps I should just give up on the idea of storing our artifacts on a CIFS share??? Thoughts?
       
       
       
        2009-12-16 10:19:52,860 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
        2009-12-16 10:19:52,925 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       
        java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [artifactory-core-2.1.2.jar:na]
       
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
               ... 50 common frames omitted
       
        2009-12-16 10:19:53,012 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@10bfedd{/artifactory,/usr/local/artifactory-2
       
        .1.2/webapps/artifactory.war}
        java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
               at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
               at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
               at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
        Caused by: java.lang.reflect.InvocationTargetException: null
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
               at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
               ... 16 common frames omitted
        Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy16.setXml(Unknown Source) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
               at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
               at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
               at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
               at $Proxy14.init(Unknown Source) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
               at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
               ... 21 common frames omitted
       
        Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [na:na]
       
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
               at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
               at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
               at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
               at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
               at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
               at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
               ... 50 common frames omitted
       
        2009-12-16 10:19:53,088 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
        2009-12-16 10:19:53,583 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       


        -----Original Message-----
        From: Adam Retter
       
        Sent: Wed 16/12/2009 13:33
        To: Yoav Landman
        Cc: [hidden email]
       
        Subject: RE: [Artifactory-users] Errors using repo/filesystem-derby
       
       
        [root@exsubv02 artifactory]# /etc/init.d/artifactory check
        Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
        Checking arguments to Artifactory on Jetty:
        ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
        JETTY_CONF           =
        ARTIFACTORY_USER     =  artifactory
        ARTIFACTORY_RUN      =  /var/run
        ARTIFACTORY_PID      =  /var/run/artifactory.pid
        ARTIFACTORY_CONSOLE  =  /usr/local/artifactory-2.1.2/logs/consoleout.log
        JETTY_PORT           =
        JETTY_ARGS           =
        CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
        JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
        JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
        CLASSPATH            =
        RUN_CMD              =  /usr/local/artifactory-2.1.2/bin/artifactory.init /usr/local/artifactory-2.1.2/etc/jetty.xml
       
       
        I think the issue may be in how we mount the filesystem, I found this in /etc/fstab -
       
        //cifs01/HCR_SubVersion /HCR_SubVersion cifs username=#subversion%somepassword,uid=2,gid=2 0 0
       
        In this case uid 2 corresponds to daemon and gid 2 corresponds to daemon, I will get hold of our systems team and see if they have any thoughts on this... Do you know of anyone else using a CIFS filesystem for the repo?
       
       
       
        -----Original Message-----
        From: [hidden email] on behalf of Yoav Landman
        Sent: Wed 16/12/2009 13:25
        To: Adam Retter
        Cc: [hidden email]
        Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
        I assume you are running Artifactory as a service - is $ARTIFACTORY_USER defined to be 'artifactory'?
       
       
        On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:
       
       
       
               Ah okay great thats helped :-)
       
               But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???
       
       
               2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
               2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
       
               java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
       
                      at $Proxy16.setXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                      ... 21 common frames omitted
       
               Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
                      ... 50 common frames omitted
               2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
       
               java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                      at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
               Caused by: java.lang.reflect.InvocationTargetException: null
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                      at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                      ... 16 common frames omitted
       
               Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
       
                      at $Proxy16.setXml(Unknown Source) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
                      at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
       
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                      at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                      at $Proxy14.init(Unknown Source) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                      at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                      ... 21 common frames omitted
       
               Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
                      at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
                      at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
                      at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
                      at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
                      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
                      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
                      at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
                      ... 50 common frames omitted
               2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
               2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
               -----Original Message-----
               From: Adam Retter [mailto:[hidden email]]
               Sent: Wed 16/12/2009 12:21
               To: [hidden email]
       
               Cc: [hidden email]
               Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
       
               When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?
       
               -----Original Message-----
               From: Yoav Landman [mailto:[hidden email]]
               Sent: Wed 16/12/2009 12:09
               To: [hidden email]
               Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
       
               Hi Adam,
       
               Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).
       
       
               HTH,
       
       
               Yoav
       
       
               On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:
       
       
       
                      I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)
       
                      However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -
       
                      artifactory.jcr.configDir=repo/filesystem-derby
       
       
                      and adjusted repo/filesystem-derby/repo.xml -
       
                      <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>
       
       
       
                      However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?
       
       
                      artifactory.log -
       
                      2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
                      2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
                      2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
                      2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                                    _   _  __           _
                         /\        | | (_)/ _|         | |
                        /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
                       / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
                       / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
                      /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
                       Version: 2.1.2               Revision: 8706      __/ |
                                                                      |___/
                       Artifactory Home: '/usr/local/artifactory-2.1.2'
                      2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
                      2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
                      actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
                      2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
                      8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
                      2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
                      2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
                      2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
                      2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
                      2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
                      2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
                      2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
                      2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
                      java.lang.reflect.InvocationTargetException: null
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                             at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
                      ]
                             at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                      at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
                      Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                             at $Proxy16.getXml(Unknown Source) [na:na]
                             at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                             at $Proxy14.init(Unknown Source) [na:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                             ... 21 common frames omitted
                      Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
                             at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                             at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                             at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                             at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
                             ... 49 common frames omitted
                      2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
                      java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                             at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                             at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                             at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
                      Caused by: java.lang.reflect.InvocationTargetException: null
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                             at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                             at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                             ... 16 common frames omitted
                      Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                             at $Proxy16.getXml(Unknown Source) [na:na]
                             at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
                             at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
                             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                             at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                             at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                             at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                             at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                             at $Proxy14.init(Unknown Source) [na:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                             at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                             ... 21 common frames omitted
                      Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                             at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
                             at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
                             at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
                             at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
                             at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
                             at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
                             at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
                             ... 49 common frames omitted
                      2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
                      2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081
       
       
       
       
       
       
                      Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
                      Registered Number 2892803 Registered in England and Wales
       
                      This email has been scanned by the MessageLabs Email Security System.
                      For more information please visit http://www.messagelabs.com/email
       
                      The information contained in this e-mail is confidential and may be subject to
                      legal privilege. If you are not the intended recipient, you must not use, copy,
                      distribute or disclose the e-mail or any part of its contents or take any
                      action in reliance on it. If you have received this e-mail in error, please
                      e-mail the sender by replying to this message. All reasonable precautions have
                      been taken to ensure no viruses are present in this e-mail. Landmark Information
                      Group Limited cannot accept responsibility for loss or damage arising from the
                      use of this e-mail or attachments and recommend that you subject these to
                      your virus checking procedures prior to use.
       
       
                      ------------------------------------------------------------------------------
                      This SF.Net email is sponsored by the Verizon Developer Community
                      Take advantage of Verizon's best-in-class app development support
                      A streamlined, 14 day to market process makes app distribution fast and easy
                      Join now and get one step closer to millions of Verizon customers
                      http://p.sf.net/sfu/verizon-dev2dev
                      _______________________________________________
                      Artifactory-users mailing list
                      [hidden email]
                      https://lists.sourceforge.net/lists/listinfo/artifactory-users
       
       
       
       
       
       
       
       
       
       
       
               Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
               Registered Number 2892803 Registered in England and Wales
       
               This email has been scanned by the MessageLabs Email Security System.
               For more information please visit http://www.messagelabs.com/email
       
               The information contained in this e-mail is confidential and may be subject to
               legal privilege. If you are not the intended recipient, you must not use, copy,
               distribute or disclose the e-mail or any part of its contents or take any
               action in reliance on it. If you have received this e-mail in error, please
               e-mail the sender by replying to this message. All reasonable precautions have
               been taken to ensure no viruses are present in this e-mail. Landmark Information
               Group Limited cannot accept responsibility for loss or damage arising from the
               use of this e-mail or attachments and recommend that you subject these to
               your virus checking procedures prior to use.
       
       
       
       
       
               Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
               Registered Number 2892803 Registered in England and Wales
       
               This email has been scanned by the MessageLabs Email Security System.
               For more information please visit http://www.messagelabs.com/email
       
               The information contained in this e-mail is confidential and may be subject to
               legal privilege. If you are not the intended recipient, you must not use, copy,
               distribute or disclose the e-mail or any part of its contents or take any
               action in reliance on it. If you have received this e-mail in error, please
               e-mail the sender by replying to this message. All reasonable precautions have
               been taken to ensure no viruses are present in this e-mail. Landmark Information
               Group Limited cannot accept responsibility for loss or damage arising from the
               use of this e-mail or attachments and recommend that you subject these to
               your virus checking procedures prior to use.
       
       
       
       
       
       
       
       
       
        Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
        Registered Number 2892803 Registered in England and Wales
       
        This email has been scanned by the MessageLabs Email Security System.
        For more information please visit http://www.messagelabs.com/email
       
        The information contained in this e-mail is confidential and may be subject to
        legal privilege. If you are not the intended recipient, you must not use, copy,
        distribute or disclose the e-mail or any part of its contents or take any
        action in reliance on it. If you have received this e-mail in error, please
        e-mail the sender by replying to this message. All reasonable precautions have
        been taken to ensure no viruses are present in this e-mail. Landmark Information
        Group Limited cannot accept responsibility for loss or damage arising from the
        use of this e-mail or attachments and recommend that you subject these to
        your virus checking procedures prior to use.
       
       
        ------------------------------------------------------------------------------
        This SF.Net email is sponsored by the Verizon Developer Community
        Take advantage of Verizon's best-in-class app development support
        A streamlined, 14 day to market process makes app distribution fast and easy
        Join now and get one step closer to millions of Verizon customers
        http://p.sf.net/sfu/verizon-dev2dev
        _______________________________________________
        Artifactory-users mailing list
        [hidden email]
        https://lists.sourceforge.net/lists/listinfo/artifactory-users
       




--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33



Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Yoav Landman
Administrator
They are under $ARTIFACTORY_HOME/data/store, but not laid out or named in the way they are in the local maven repository. Artifactory stores the binaries by checksum, so there is no duplication of data and move/copy operations are very cheap - just changing pointers (a bit like subversion does it).

On Wed, Dec 16, 2009 at 7:17 PM, Adam Retter <[hidden email]> wrote:

When using filesystem-derby, where are my artifacts physically stored?

I cant immediately see them in /HCR_SubVersion/artifactory

-----Original Message-----
From: Frederic Simon [mailto:[hidden email]]
Sent: Wed 16/12/2009 14:35
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

You are right, it is the move operation, but it's actually forbidden by the underlying OS on most *NIXes especially when it is different file system.
I suggest if you can make a symlink "ln -s /usr/local/artifactory-2.1.2/data/tmp/prefilestore /HCR_SubVersion/artifactory/prefilestore" that can solve your problem.


On Wed, Dec 16, 2009 at 4:22 PM, Adam Retter <[hidden email]> wrote:



       According to our systems team, it would seem that we need to run artifactory as the daemon user, so that it can correctly access the CIFS share. I have modified etc/default and changed the permissions of artifcatory's folders and files appropriately.

       Unfortunately, I am still getting errors, perhaps these are more related to known issues in Java IO with moving files between different mounts? I know that Apache Commons-IO tries to workaround these problems.

       Perhaps I should just give up on the idea of storing our artifacts on a CIFS share??? Thoughts?



       2009-12-16 10:19:52,860 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
       2009-12-16 10:19:52,925 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context

       java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy16.setXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
              ... 21 common frames omitted

       Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [artifactory-core-2.1.2.jar:na]

              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
              ... 50 common frames omitted

       2009-12-16 10:19:53,012 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@10bfedd{/artifactory,/usr/local/artifactory-2

       .1.2/webapps/artifactory.war}
       java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
              at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
              at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
       Caused by: java.lang.reflect.InvocationTargetException: null
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
              at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
              ... 16 common frames omitted
       Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy16.setXml(Unknown Source) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
              at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
              at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
              at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
              at $Proxy14.init(Unknown Source) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
              at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
              ... 21 common frames omitted

       Caused by: org.apache.jackrabbit.core.data.DataStoreException: File move for id 369436586b7562dcc442712dae0832f23610bfe1 from /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp to /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1 failed!
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535) [na:na]

              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
              at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
              at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
              at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
              at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
              at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
              at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
              at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
              ... 50 common frames omitted

       2009-12-16 10:19:53,088 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
       2009-12-16 10:19:53,583 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081



       -----Original Message-----
       From: Adam Retter

       Sent: Wed 16/12/2009 13:33
       To: Yoav Landman
       Cc: [hidden email]

       Subject: RE: [Artifactory-users] Errors using repo/filesystem-derby


       [root@exsubv02 artifactory]# /etc/init.d/artifactory check
       Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
       Checking arguments to Artifactory on Jetty:
       ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
       JETTY_CONF           =
       ARTIFACTORY_USER     =  artifactory
       ARTIFACTORY_RUN      =  /var/run
       ARTIFACTORY_PID      =  /var/run/artifactory.pid
       ARTIFACTORY_CONSOLE  =  /usr/local/artifactory-2.1.2/logs/consoleout.log
       JETTY_PORT           =
       JETTY_ARGS           =
       CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
       JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
       JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
       CLASSPATH            =
       RUN_CMD              =  /usr/local/artifactory-2.1.2/bin/artifactory.init /usr/local/artifactory-2.1.2/etc/jetty.xml


       I think the issue may be in how we mount the filesystem, I found this in /etc/fstab -

       //cifs01/HCR_SubVersion /HCR_SubVersion cifs username=#subversion%somepassword,uid=2,gid=2 0 0

       In this case uid 2 corresponds to daemon and gid 2 corresponds to daemon, I will get hold of our systems team and see if they have any thoughts on this... Do you know of anyone else using a CIFS filesystem for the repo?



       -----Original Message-----
       From: [hidden email] on behalf of Yoav Landman
       Sent: Wed 16/12/2009 13:25
       To: Adam Retter
       Cc: [hidden email]
       Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

       I assume you are running Artifactory as a service - is $ARTIFACTORY_USER defined to be 'artifactory'?


       On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <[hidden email]> wrote:



              Ah okay great thats helped :-)

              But I now seem to get errors with using the /HCR_SubVersion CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user artifactory and the group artifactory, but the initial folders created under there by artifactory seem to belong to the daemon user and group???


              2009-12-16 09:10:03,205 [main] [WARN ] (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
              2009-12-16 09:10:03,217 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context

              java.lang.reflect.InvocationTargetException: null
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                     at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na]
                     at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]

              Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
                     at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [artifactory-core-2.1.2.jar:na]

                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]

                     at $Proxy16.setXml(Unknown Source) [na:na]
                     at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na]

                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                     at $Proxy14.init(Unknown Source) [na:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                     ... 21 common frames omitted

              Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [artifactory-core-2.1.2.jar:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [artifactory-core-2.1.2.jar:na]
                     at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                     at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [artifactory-core-2.1.2.jar:na]
                     ... 50 common frames omitted
              2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@351f6d{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}

              java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                     at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                     at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
              Caused by: java.lang.reflect.InvocationTargetException: null
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                     at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                     at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                     ... 16 common frames omitted

              Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not save xml element 'current' on '/configuration/artifactory'.
                     at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
                     at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]

                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]

                     at $Proxy16.setXml(Unknown Source) [na:na]
                     at org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173) [na:na]
                     at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [na:na]

                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                     at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                     at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                     at $Proxy14.init(Unknown Source) [na:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                     at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                     ... 21 common frames omitted

              Caused by: org.apache.jackrabbit.core.data.DataStoreException: Could not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530) [na:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514) [na:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159) [na:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513) [na:na]
                     at org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270) [na:na]
                     at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120) [na:na]
                     at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642) [na:na]
                     at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125) [na:na]
                     at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634) [na:na]
                     at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549) [na:na]
                     at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
                     at org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
                     ... 50 common frames omitted
              2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
              2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081



              -----Original Message-----
              From: Adam Retter [mailto:[hidden email]]
              Sent: Wed 16/12/2009 12:21
              To: [hidden email]

              Cc: [hidden email]
              Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby


              When you say move away the content, do you mean delete the /usr/local/artifactory-2.1.2/data folder? or do you mean to move the subcontent into /HCR_SubVersion/artifactory ?

              -----Original Message-----
              From: Yoav Landman [mailto:[hidden email]]
              Sent: Wed 16/12/2009 12:09
              To: [hidden email]
              Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby

              Hi Adam,

              Your Artifactory is still using the old workspace definitions - move away the content of /usr/local/artifactory-2.1.2/data and it should be ok (I assume you have bo valuable content in your previous repo).


              HTH,


              Yoav


              On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <[hidden email]> wrote:



                     I installed Artifactory and all went very smoothly and easily, I was quite impressed :-)

                     However, before I started using it to do any work, I figured that I would switch to using the filesystem-derby repository approach (we are moving to this from Archiva), so I changed artifactory.system.properties -

                     artifactory.jcr.configDir=repo/filesystem-derby


                     and adjusted repo/filesystem-derby/repo.xml -

                     <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>



                     However, now when I start artifactory I am seeing a lot of exceptions in the logs and if I go to the website I get a Service Unavailable message. Is there some step that I have missed?


                     artifactory.log -

                     2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log             :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
                     2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log             :67) - jetty-6.1.21
                     2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log             :67) - NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet
                     2009-12-16 07:01:08,097 [main] [INFO ] (o.a.w.s.ArtifactoryContextConfigListener:75) -
                                   _   _  __           _
                        /\        | | (_)/ _|         | |
                       /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
                      / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
                      / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_| |
                     /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__, |
                      Version: 2.1.2               Revision: 8706      __/ |
                                                                     |___/
                      Artifactory Home: '/usr/local/artifactory-2.1.2'
                     2009-12-16 07:01:08,736 [main] [INFO ] (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
                     2009-12-16 07:01:09,073 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:411) - Refreshing org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name [org.artif
                     actory.spring.ArtifactoryApplicationContext@1318b]; startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
                     2009-12-16 07:01:22,994 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application context [org.artifactory.spring.ArtifactoryApplicationContext@131
                     8b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
                     2009-12-16 07:01:26,046 [main] [INFO ] (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
                     2009-12-16 07:01:42,603 [main] [INFO ] (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)
                     2009-12-16 07:01:49,949 [main] [INFO ] (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
                     2009-12-16 07:01:50,295 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting up...
                     2009-12-16 07:01:50,296 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.jcr.JcrService
                     2009-12-16 07:01:50,751 [main] [INFO ] (o.a.s.ArtifactoryApplicationContext:204) - Initializing org.artifactory.config.InternalCentralConfigService
                     2009-12-16 07:01:51,047 [main] [INFO ] (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from storage.
                     2009-12-16 07:01:51,325 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context
                     java.lang.reflect.InvocationTargetException: null
                            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                            at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                            at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na]
                            at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na
                     ]
                            at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                     at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
                     Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                            at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [artifactory-core-2.1.2.jar:na]
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                            at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                            at $Proxy16.getXml(Unknown Source) [na:na]
                            at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [artifactory-core-2.1.2.jar:na]
                            at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [artifactory-core-2.1.2.jar:na]
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                            at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
                            at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na]
                            at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
                            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
                            at $Proxy14.init(Unknown Source) [na:na]
                            at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na]
                            at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na]
                            ... 21 common frames omitted
                     Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                            at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [artifactory-core-2.1.2.jar:na]
                            at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [artifactory-core-2.1.2.jar:na]
                            at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                            at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                            at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [jackrabbit-core-jfrog-1.5.7b.jar:na]
                            at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [artifactory-core-2.1.2.jar:na]
                            at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [artifactory-core-2.1.2.jar:na]
                            ... 49 common frames omitted
                     2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log             :87) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@f82fe7{/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
                     java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
                            at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114) [na:na]
                            at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [na:na]
                            at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
                            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.21.jar:6.1.21]
                            at org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
                     Caused by: java.lang.reflect.InvocationTargetException: null
                            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_17]
                            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.6.0_17]
                            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_17]
                            at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_17]
                            at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [na:na]
                            ... 16 common frames omitted
                     Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                            at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482) [na:na]
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                            at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                            at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                            at $Proxy16.getXml(Unknown Source) [na:na]
                            at org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144) [na:na]
                            at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109) [na:na]
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_17]
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_17]
                            at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
                            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [na:na]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [na:na]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [na:na]
                            at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [na:na]
                            at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [na:na]
                            at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [na:na]
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [na:na]
                            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [na:na]
                            at $Proxy14.init(Unknown Source) [na:na]
                            at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [na:na]
                            at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [na:na]
                            ... 21 common frames omitted
                     Caused by: org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82 does not exists or has the wrong length!
                            at org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23) [na:na]
                            at org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130) [na:na]
                            at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100) [na:na]
                            at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364) [na:na]
                            at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489) [na:na]
                            at org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888) [na:na]
                            at org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480) [na:na]
                            ... 49 common frames omitted
                     2009-12-16 07:01:51,375 [main] [INFO ] (o.m.log             :67) - Opened /var/log/artifactory/2009_12_16.request.log
                     2009-12-16 07:01:51,729 [main] [INFO ] (o.m.log             :67) - Started SelectChannelConnector@0.0.0.0:8081






                     Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
                     Registered Number 2892803 Registered in England and Wales

                     This email has been scanned by the MessageLabs Email Security System.
                     For more information please visit http://www.messagelabs.com/email

                     The information contained in this e-mail is confidential and may be subject to
                     legal privilege. If you are not the intended recipient, you must not use, copy,
                     distribute or disclose the e-mail or any part of its contents or take any
                     action in reliance on it. If you have received this e-mail in error, please
                     e-mail the sender by replying to this message. All reasonable precautions have
                     been taken to ensure no viruses are present in this e-mail. Landmark Information
                     Group Limited cannot accept responsibility for loss or damage arising from the
                     use of this e-mail or attachments and recommend that you subject these to
                     your virus checking procedures prior to use.


                     ------------------------------------------------------------------------------
                     This SF.Net email is sponsored by the Verizon Developer Community
                     Take advantage of Verizon's best-in-class app development support
                     A streamlined, 14 day to market process makes app distribution fast and easy
                     Join now and get one step closer to millions of Verizon customers
                     http://p.sf.net/sfu/verizon-dev2dev
                     _______________________________________________
                     Artifactory-users mailing list
                     [hidden email]
                     https://lists.sourceforge.net/lists/listinfo/artifactory-users











              Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
              Registered Number 2892803 Registered in England and Wales

              This email has been scanned by the MessageLabs Email Security System.
              For more information please visit http://www.messagelabs.com/email

              The information contained in this e-mail is confidential and may be subject to
              legal privilege. If you are not the intended recipient, you must not use, copy,
              distribute or disclose the e-mail or any part of its contents or take any
              action in reliance on it. If you have received this e-mail in error, please
              e-mail the sender by replying to this message. All reasonable precautions have
              been taken to ensure no viruses are present in this e-mail. Landmark Information
              Group Limited cannot accept responsibility for loss or damage arising from the
              use of this e-mail or attachments and recommend that you subject these to
              your virus checking procedures prior to use.





              Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
              Registered Number 2892803 Registered in England and Wales

              This email has been scanned by the MessageLabs Email Security System.
              For more information please visit http://www.messagelabs.com/email

              The information contained in this e-mail is confidential and may be subject to
              legal privilege. If you are not the intended recipient, you must not use, copy,
              distribute or disclose the e-mail or any part of its contents or take any
              action in reliance on it. If you have received this e-mail in error, please
              e-mail the sender by replying to this message. All reasonable precautions have
              been taken to ensure no viruses are present in this e-mail. Landmark Information
              Group Limited cannot accept responsibility for loss or damage arising from the
              use of this e-mail or attachments and recommend that you subject these to
              your virus checking procedures prior to use.









       Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
       Registered Number 2892803 Registered in England and Wales

       This email has been scanned by the MessageLabs Email Security System.
       For more information please visit http://www.messagelabs.com/email

       The information contained in this e-mail is confidential and may be subject to
       legal privilege. If you are not the intended recipient, you must not use, copy,
       distribute or disclose the e-mail or any part of its contents or take any
       action in reliance on it. If you have received this e-mail in error, please
       e-mail the sender by replying to this message. All reasonable precautions have
       been taken to ensure no viruses are present in this e-mail. Landmark Information
       Group Limited cannot accept responsibility for loss or damage arising from the
       use of this e-mail or attachments and recommend that you subject these to
       your virus checking procedures prior to use.


       ------------------------------------------------------------------------------
       This SF.Net email is sponsored by the Verizon Developer Community
       Take advantage of Verizon's best-in-class app development support
       A streamlined, 14 day to market process makes app distribution fast and easy
       Join now and get one step closer to millions of Verizon customers
       http://p.sf.net/sfu/verizon-dev2dev
       _______________________________________________
       Artifactory-users mailing list
       [hidden email]
       https://lists.sourceforge.net/lists/listinfo/artifactory-users





--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33



Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

The information contained in this e-mail is confidential and may be subject to
legal privilege. If you are not the intended recipient, you must not use, copy,
distribute or disclose the e-mail or any part of its contents or take any
action in reliance on it. If you have received this e-mail in error, please
e-mail the sender by replying to this message. All reasonable precautions have
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the
use of this e-mail or attachments and recommend that you subject these to
your virus checking procedures prior to use.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Errors using repo/filesystem-derby

Adam Retter-3

Hmmm... but I switched to filesystem-derby, and set this in the repo.xml - <param name="fileStoreDir" value="/HCR_SubVersion/artifactory"/>

So I kinda expected it to be stored on /HCR_SubVersion/artifactory - so what is stored in that folder then?

Basically I want to get enough stored on our SAN CIFS share (HCR_SubVersion), that if the server were to crash, then I could recover the artifacts from there. Can you advise me what else I need to do?

Thanks Adam.



-----Original Message-----
From: Yoav Landman [mailto:[hidden email]]
Sent: Thu 17/12/2009 19:59
To: [hidden email]
Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
 
They are under $ARTIFACTORY_HOME/data/store, but not laid out or named in
the way they are in the local maven repository. Artifactory stores the
binaries by checksum, so there is no duplication of data and move/copy
operations are very cheap - just changing pointers (a bit like subversion
does it).

On Wed, Dec 16, 2009 at 7:17 PM, Adam Retter <[hidden email]>wrote:

>
> When using filesystem-derby, where are my artifacts physically stored?
>
> I cant immediately see them in /HCR_SubVersion/artifactory
>
> -----Original Message-----
> From: Frederic Simon [mailto:[hidden email]]
> Sent: Wed 16/12/2009 14:35
> To: [hidden email]
> Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
>
> You are right, it is the move operation, but it's actually forbidden by the
> underlying OS on most *NIXes especially when it is different file system.
> I suggest if you can make a symlink "ln -s
> /usr/local/artifactory-2.1.2/data/tmp/prefilestore
> /HCR_SubVersion/artifactory/prefilestore" that can solve your problem.
>
>
> On Wed, Dec 16, 2009 at 4:22 PM, Adam Retter <[hidden email]>
> wrote:
>
>
>
>        According to our systems team, it would seem that we need to run
> artifactory as the daemon user, so that it can correctly access the CIFS
> share. I have modified etc/default and changed the permissions of
> artifcatory's folders and files appropriately.
>
>        Unfortunately, I am still getting errors, perhaps these are more
> related to known issues in Java IO with moving files between different
> mounts? I know that Apache Commons-IO tries to workaround these problems.
>
>        Perhaps I should just give up on the idea of storing our artifacts
> on a CIFS share??? Thoughts?
>
>
>
>        2009-12-16 10:19:52,860 [main] [WARN ]
> (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: File
> move for id 369436586b7562dcc442712dae0832f23610bfe1 from
> /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp
> to
> /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1
> failed!
>        2009-12-16 10:19:52,925 [main] [ERROR]
> (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring
> context
>
>        java.lang.reflect.InvocationTargetException: null
>               at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [na:1.6.0_17]
>               at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> [na:1.6.0_17]
>               at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> [na:1.6.0_17]
>               at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [na:1.6.0_17]
>               at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108)
> [artifactory-web-application-2.1.2.jar:na]
>               at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57)
> [artifactory-web-application-2.1.2.jar:na]
>               at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [jetty-6.1.21.jar:6.1.21]
>               at org.mortbay.jetty.Server.doStart(Server.java:224)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at org.artifactory.standalone.main.Main.main(Main.java:74)
> [artifactory.jar:na]
>        Caused by:
> org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not
> save xml element 'current' on '/configuration/artifactory'.
>               at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490)
> [artifactory-core-2.1.2.jar:na]
>               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>               at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>               at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>               at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>               at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [spring-tx-2.5.6.jar:2.5.6]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
>               at $Proxy16.setXml(Unknown Source) [na:na]
>               at
> org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111)
> [artifactory-core-2.1.2.jar:na]
>               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>               at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>               at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>               at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>               at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [spring-tx-2.5.6.jar:2.5.6]
>               at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
>               at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
>               at $Proxy14.init(Unknown Source) [na:na]
>               at
> org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97)
> [artifactory-core-2.1.2.jar:na]
>               ... 21 common frames omitted
>
>        Caused by: org.apache.jackrabbit.core.data.DataStoreException: File
> move for id 369436586b7562dcc442712dae0832f23610bfe1 from
> /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp
> to
> /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1
> failed!
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535)
> [artifactory-core-2.1.2.jar:na]
>
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270)
> [artifactory-core-2.1.2.jar:na]
>               at
> org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>               at
> org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>               at
> org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>               at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>               at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>               at
> org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>               at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551)
> [artifactory-core-2.1.2.jar:na]
>               ... 50 common frames omitted
>
>        2009-12-16 10:19:53,012 [main] [ERROR] (o.m.log             :87) -
> Failed startup of context org.mortbay.jetty.webapp.WebAppContext@10bfedd
> {/artifactory,/usr/local/artifactory-2
>
>        .1.2/webapps/artifactory.war}
>        java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>               at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114)
> [na:na]
>               at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57)
> [na:na]
>               at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [jetty-6.1.21.jar:6.1.21]
>               at org.mortbay.jetty.Server.doStart(Server.java:224)
> [jetty-6.1.21.jar:6.1.21]
>               at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>               at org.artifactory.standalone.main.Main.main(Main.java:74)
> [artifactory.jar:na]
>        Caused by: java.lang.reflect.InvocationTargetException: null
>               at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [na:1.6.0_17]
>               at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> [na:1.6.0_17]
>               at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> [na:1.6.0_17]
>               at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [na:1.6.0_17]
>               at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108)
> [na:na]
>               ... 16 common frames omitted
>        Caused by:
> org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not
> save xml element 'current' on '/configuration/artifactory'.
>               at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
>               at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
>               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>               at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>               at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>               at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>               at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [na:na]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [na:na]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [na:na]
>               at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [na:na]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [na:na]
>               at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [na:na]
>               at $Proxy16.setXml(Unknown Source) [na:na]
>               at
> org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173)
> [na:na]
>               at
> org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111)
> [na:na]
>               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>               at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>               at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>               at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>               at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [na:na]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [na:na]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [na:na]
>               at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [na:na]
>               at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
> [na:na]
>               at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
> [na:na]
>               at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [na:na]
>               at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [na:na]
>               at $Proxy14.init(Unknown Source) [na:na]
>               at
> org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217)
> [na:na]
>               at
> org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97)
> [na:na]
>               ... 21 common frames omitted
>
>        Caused by: org.apache.jackrabbit.core.data.DataStoreException: File
> move for id 369436586b7562dcc442712dae0832f23610bfe1 from
> /usr/local/artifactory-2.1.2/data/tmp/prefilestore/dbRecord52013895357174360.tmp
> to
> /HCR_SubVersion/artifactory/36/94/36/369436586b7562dcc442712dae0832f23610bfe1
> failed!
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:535)
> [na:na]
>
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514)
> [na:na]
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159)
> [na:na]
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513)
> [na:na]
>               at
> org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270)
> [na:na]
>               at
> org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120)
> [na:na]
>               at
> org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642)
> [na:na]
>               at
> org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125)
> [na:na]
>               at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634)
> [na:na]
>               at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549)
> [na:na]
>               at
> org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
>               at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
>               ... 50 common frames omitted
>
>        2009-12-16 10:19:53,088 [main] [INFO ] (o.m.log             :67) -
> Opened /var/log/artifactory/2009_12_16.request.log
>        2009-12-16 10:19:53,583 [main] [INFO ] (o.m.log             :67) -
> Started SelectChannelConnector@0.0.0.0:8081
>
>
>
>        -----Original Message-----
>        From: Adam Retter
>
>        Sent: Wed 16/12/2009 13:33
>        To: Yoav Landman
>        Cc: [hidden email]
>
>        Subject: RE: [Artifactory-users] Errors using repo/filesystem-derby
>
>
>        [root@exsubv02 artifactory]# /etc/init.d/artifactory check
>        Created output file /usr/local/artifactory-2.1.2/logs/consoleout.log
>        Checking arguments to Artifactory on Jetty:
>        ARTIFACTORY_HOME     =  /usr/local/artifactory-2.1.2
>        JETTY_CONF           =
>        ARTIFACTORY_USER     =  artifactory
>        ARTIFACTORY_RUN      =  /var/run
>        ARTIFACTORY_PID      =  /var/run/artifactory.pid
>        ARTIFACTORY_CONSOLE  =
>  /usr/local/artifactory-2.1.2/logs/consoleout.log
>        JETTY_PORT           =
>        JETTY_ARGS           =
>        CONFIGS              =  /usr/local/artifactory-2.1.2/etc/jetty.xml
>        JAVA_OPTIONS         =  -server -Xms300m -Xmx1g -Xss256k
> -XX:PermSize=128m -XX:MaxPermSize=128m -Djava.awt.headless=true
>        JAVA                 =  /usr/java/jdk1.6.0_17/bin/java
>        CLASSPATH            =
>        RUN_CMD              =
>  /usr/local/artifactory-2.1.2/bin/artifactory.init
> /usr/local/artifactory-2.1.2/etc/jetty.xml
>
>
>        I think the issue may be in how we mount the filesystem, I found
> this in /etc/fstab -
>
>        //cifs01/HCR_SubVersion /HCR_SubVersion cifs
> username=#subversion%somepassword,uid=2,gid=2 0 0
>
>        In this case uid 2 corresponds to daemon and gid 2 corresponds to
> daemon, I will get hold of our systems team and see if they have any
> thoughts on this... Do you know of anyone else using a CIFS filesystem for
> the repo?
>
>
>
>        -----Original Message-----
>        From: [hidden email] on behalf of Yoav Landman
>        Sent: Wed 16/12/2009 13:25
>        To: Adam Retter
>        Cc: [hidden email]
>        Subject: Re: [Artifactory-users] Errors using repo/filesystem-derby
>
>        I assume you are running Artifactory as a service - is
> $ARTIFACTORY_USER defined to be 'artifactory'?
>
>
>        On Wed, Dec 16, 2009 at 3:16 PM, Adam Retter <
> [hidden email]> wrote:
>
>
>
>               Ah okay great thats helped :-)
>
>               But I now seem to get errors with using the /HCR_SubVersion
> CIFS filesystem, the /HCR_SubVersion/artifactory folder is owned by the user
> artifactory and the group artifactory, but the initial folders created under
> there by artifactory seem to belong to the daemon user and group???
>
>
>               2009-12-16 09:10:03,205 [main] [WARN ]
> (o.a.j.j.ArtifactoryBaseDataStore:646) - Can not insert new record: Could
> not create folder /HCR_SubVersion/artifactory/6b/0a/bd for file store
>               2009-12-16 09:10:03,217 [main] [ERROR]
> (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring
> context
>
>               java.lang.reflect.InvocationTargetException: null
>                      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [na:1.6.0_17]
>                      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> [na:1.6.0_17]
>                      at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> [na:1.6.0_17]
>                      at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [na:1.6.0_17]
>                      at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108)
> [artifactory-web-application-2.1.2.jar:na]
>                      at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57)
> [artifactory-web-application-2.1.2.jar:na]
>                      at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [jetty-6.1.21.jar:6.1.21]
>                      at org.mortbay.jetty.Server.doStart(Server.java:224)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
>
>               Caused by:
> org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not
> save xml element 'current' on '/configuration/artifactory'.
>                      at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490)
> [artifactory-core-2.1.2.jar:na]
>
>                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>                      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>                      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>                      at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>                      at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [spring-tx-2.5.6.jar:2.5.6]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
>
>                      at $Proxy16.setXml(Unknown Source) [na:na]
>                      at
> org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111)
> [artifactory-core-2.1.2.jar:na]
>
>                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>                      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>                      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>                      at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>                      at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [spring-tx-2.5.6.jar:2.5.6]
>                      at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
>                      at $Proxy14.init(Unknown Source) [na:na]
>                      at
> org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97)
> [artifactory-core-2.1.2.jar:na]
>                      ... 21 common frames omitted
>
>               Caused by:
> org.apache.jackrabbit.core.data.DataStoreException: Could not create folder
> /HCR_SubVersion/artifactory/6b/0a/bd for file store
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270)
> [artifactory-core-2.1.2.jar:na]
>                      at
> org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                      at
> org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                      at
> org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                      at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                      at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                      at
> org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                      at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551)
> [artifactory-core-2.1.2.jar:na]
>                      ... 50 common frames omitted
>               2009-12-16 09:10:03,232 [main] [ERROR] (o.m.log
> :87) - Failed startup of context
> org.mortbay.jetty.webapp.WebAppContext@351f6d
> {/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
>
>               java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>                      at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114)
> [na:na]
>                      at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57)
> [na:na]
>                      at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [jetty-6.1.21.jar:6.1.21]
>                      at org.mortbay.jetty.Server.doStart(Server.java:224)
> [jetty-6.1.21.jar:6.1.21]
>                      at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                      at
> org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
>               Caused by: java.lang.reflect.InvocationTargetException: null
>                      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [na:1.6.0_17]
>                      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> [na:1.6.0_17]
>                      at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> [na:1.6.0_17]
>                      at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [na:1.6.0_17]
>                      at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108)
> [na:na]
>                      ... 16 common frames omitted
>
>               Caused by:
> org.artifactory.api.repo.exception.RepositoryRuntimeException: Could not
> save xml element 'current' on '/configuration/artifactory'.
>                      at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:561) [na:na]
>                      at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:490) [na:na]
>
>                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>                      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>                      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>                      at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>                      at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [na:na]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [na:na]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [na:na]
>                      at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [na:na]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [na:na]
>                      at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [na:na]
>
>                      at $Proxy16.setXml(Unknown Source) [na:na]
>                      at
> org.artifactory.config.CentralConfigServiceImpl.setDescriptor(CentralConfigServiceImpl.java:173)
> [na:na]
>                      at
> org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111)
> [na:na]
>
>                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method) [na:1.6.0_17]
>                      at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>                      at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>                      at java.lang.reflect.Method.invoke(Method.java:597)
> [na:1.6.0_17]
>                      at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [na:na]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [na:na]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [na:na]
>                      at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [na:na]
>                      at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
> [na:na]
>                      at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
> [na:na]
>                      at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [na:na]
>                      at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [na:na]
>                      at $Proxy14.init(Unknown Source) [na:na]
>                      at
> org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217)
> [na:na]
>                      at
> org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97)
> [na:na]
>                      ... 21 common frames omitted
>
>               Caused by:
> org.apache.jackrabbit.core.data.DataStoreException: Could not create folder
> /HCR_SubVersion/artifactory/6b/0a/bd for file store
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:530)
> [na:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord$9.call(ArtifactoryDbDataRecord.java:514)
> [na:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.guardedActionOnFile(ArtifactoryDbDataRecord.java:159)
> [na:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.setFile(ArtifactoryDbDataRecord.java:513)
> [na:na]
>                      at
> org.artifactory.jcr.jackrabbit.ArtifactoryBaseDataStore.addRecord(ArtifactoryBaseDataStore.java:270)
> [na:na]
>                      at
> org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120)
> [na:na]
>                      at
> org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642)
> [na:na]
>                      at
> org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125)
> [na:na]
>                      at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634)
> [na:na]
>                      at
> org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549)
> [na:na]
>                      at
> org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437) [na:na]
>                      at
> org.artifactory.jcr.JcrServiceImpl.setXml(JcrServiceImpl.java:551) [na:na]
>                      ... 50 common frames omitted
>               2009-12-16 09:10:03,240 [main] [INFO ] (o.m.log
> :67) - Opened /var/log/artifactory/2009_12_16.request.log
>               2009-12-16 09:10:03,263 [main] [INFO ] (o.m.log
> :67) - Started SelectChannelConnector@0.0.0.0:8081
>
>
>
>               -----Original Message-----
>               From: Adam Retter [mailto:[hidden email]]
>               Sent: Wed 16/12/2009 12:21
>               To: [hidden email]
>
>               Cc: [hidden email]
>               Subject: Re: [Artifactory-users] Errors using
> repo/filesystem-derby
>
>
>               When you say move away the content, do you mean delete the
> /usr/local/artifactory-2.1.2/data folder? or do you mean to move the
> subcontent into /HCR_SubVersion/artifactory ?
>
>               -----Original Message-----
>               From: Yoav Landman [mailto:[hidden email]]
>               Sent: Wed 16/12/2009 12:09
>               To: [hidden email]
>               Subject: Re: [Artifactory-users] Errors using
> repo/filesystem-derby
>
>               Hi Adam,
>
>               Your Artifactory is still using the old workspace definitions
> - move away the content of /usr/local/artifactory-2.1.2/data and it should
> be ok (I assume you have bo valuable content in your previous repo).
>
>
>               HTH,
>
>
>               Yoav
>
>
>               On Wed, Dec 16, 2009 at 1:30 PM, Adam Retter <
> [hidden email]> wrote:
>
>
>
>                      I installed Artifactory and all went very smoothly and
> easily, I was quite impressed :-)
>
>                      However, before I started using it to do any work, I
> figured that I would switch to using the filesystem-derby repository
> approach (we are moving to this from Archiva), so I changed
> artifactory.system.properties -
>
>                      artifactory.jcr.configDir=repo/filesystem-derby
>
>
>                      and adjusted repo/filesystem-derby/repo.xml -
>
>                      <param name="fileStoreDir"
> value="/HCR_SubVersion/artifactory"/>
>
>
>
>                      However, now when I start artifactory I am seeing a
> lot of exceptions in the logs and if I go to the website I get a Service
> Unavailable message. Is there some step that I have missed?
>
>
>                      artifactory.log -
>
>                      2009-12-16 07:01:00,061 [main] [INFO ] (o.m.log
>       :67) - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
>                      2009-12-16 07:01:01,616 [main] [INFO ] (o.m.log
>       :67) - jetty-6.1.21
>                      2009-12-16 07:01:04,055 [main] [INFO ] (o.m.log
>       :67) - NO JSP Support for /artifactory, did not find
> org.apache.jasper.servlet.JspServlet
>                      2009-12-16 07:01:08,097 [main] [INFO ]
> (o.a.w.s.ArtifactoryContextConfigListener:75) -
>                                    _   _  __           _
>                         /\        | | (_)/ _|         | |
>                        /  \   _ __| |_ _| |_ __ _  ___| |_ ___  _ __ _   _
>                       / /\ \ | '__| __| |  _/ _` |/ __| __/ _ \| '__| | | |
>                       / ____ \| |  | |_| | || (_| | (__| || (_) | |  | |_|
> |
>                      /_/    \_\_|   \__|_|_| \__,_|\___|\__\___/|_|   \__,
> |
>                       Version: 2.1.2               Revision: 8706      __/
> |
>                                                                      |___/
>                       Artifactory Home: '/usr/local/artifactory-2.1.2'
>                      2009-12-16 07:01:08,736 [main] [INFO ]
> (o.a.s.SpringConfigResourceLoader:96) - artifactory.addons.disabled=[]
>                      2009-12-16 07:01:09,073 [main] [INFO ]
> (o.a.s.ArtifactoryApplicationContext:411) - Refreshing
> org.artifactory.spring.ArtifactoryApplicationContext@1318b: display name
> [org.artif
>                      actory.spring.ArtifactoryApplicationContext@1318b];
> startup date [Wed Dec 16 07:01:09 GMT 2009]; root of context hierarchy
>                      2009-12-16 07:01:22,994 [main] [INFO ]
> (o.a.s.ArtifactoryApplicationContext:426) - Bean factory for application
> context [org.artifactory.spring.ArtifactoryApplicationContext@131
>                      8b]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory@16721bd
>                      2009-12-16 07:01:26,046 [main] [INFO ]
> (o.a.r.a.RequestAdvice:49) - Creating request advice interceptor
>                      2009-12-16 07:01:42,603 [main] [INFO ]
> (o.a.j.j.ArtifactoryBaseDataStore:544) - Using JDBC driver Apache Derby
> Embedded JDBC Driver 10.5.3.0 - (802917)
>                      2009-12-16 07:01:49,949 [main] [INFO ]
> (o.a.s.ArtifactorySchedulerFactoryBean:626) - Starting Quartz Scheduler now
>                      2009-12-16 07:01:50,295 [main] [INFO ]
> (o.a.s.ArtifactoryApplicationContext:198) - Artifactory context starting
> up...
>                      2009-12-16 07:01:50,296 [main] [INFO ]
> (o.a.s.ArtifactoryApplicationContext:204) - Initializing
> org.artifactory.jcr.JcrService
>                      2009-12-16 07:01:50,751 [main] [INFO ]
> (o.a.s.ArtifactoryApplicationContext:204) - Initializing
> org.artifactory.config.InternalCentralConfigService
>                      2009-12-16 07:01:51,047 [main] [INFO ]
> (o.a.c.CentralConfigServiceImpl:143) - Loading existing configuration from
> storage.
>                      2009-12-16 07:01:51,325 [main] [ERROR]
> (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring
> context
>                      java.lang.reflect.InvocationTargetException: null
>                             at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [na:1.6.0_17]
>                             at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> [na:1.6.0_17]
>                             at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> [na:1.6.0_17]
>                             at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [na:1.6.0_17]
>                             at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108)
> [artifactory-web-application-2.1.2.jar:na]
>                             at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57)
> [artifactory-web-application-2.1.2.jar:na
>                      ]
>                             at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [jetty-6.1.21.jar:6.1.21]
>                      at org.mortbay.jetty.Server.doStart(Server.java:224)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
>                      Caused by:
> org.artifactory.api.repo.exception.RepositoryRuntimeException:
> org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not
> found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file
> /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82
> does not exists or has the wrong length!
>                             at
> org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:482)
> [artifactory-core-2.1.2.jar:na]
>                             at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
>                             at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>                             at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>                             at
> java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
>                             at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [spring-tx-2.5.6.jar:2.5.6]
>                             at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at $Proxy16.getXml(Unknown Source) [na:na]
>                             at
> org.artifactory.config.CentralConfigServiceImpl.getCurrentConfigXml(CentralConfigServiceImpl.java:144)
> [artifactory-core-2.1.2.jar:na]
>                             at
> org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:109)
> [artifactory-core-2.1.2.jar:na]
>                             at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_17]
>                             at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [na:1.6.0_17]
>                             at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [na:1.6.0_17]
>                             at
> java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_17]
>                             at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> [spring-tx-2.5.6.jar:2.5.6]
>                             at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)
> [artifactory-core-2.1.2.jar:na]
>                             at
> org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)
> [artifactory-core-2.1.2.jar:na]
>                             at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> [spring-aop-2.5.6.jar:2.5.6]
>                             at $Proxy14.init(Unknown Source) [na:na]
>                             at
> org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217)
> [artifactory-core-2.1.2.jar:na]
>                             at
> org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97)
> [artifactory-core-2.1.2.jar:na]
>                             ... 21 common frames omitted
>                      Caused by:
> org.artifactory.jcr.jackrabbit.DataStoreRecordNotFoundException: Record not
> found: b0b3108dc1593503d6f75d274b783d311ea23e82 as file
> /HCR_SubVersion/artifactory/b0/b3/10/b0b3108dc1593503d6f75d274b783d311ea23e82
> does not exists or has the wrong length!
>                             at
> org.artifactory.jcr.jackrabbit.ArtifactoryFileDataStoreImpl.getOrCreateFile(ArtifactoryFileDataStoreImpl.java:23)
> [artifactory-core-2.1.2.jar:na]
>                             at
> org.artifactory.jcr.jackrabbit.ArtifactoryDbDataRecord.getStream(ArtifactoryDbDataRecord.java:130)
> [artifactory-core-2.1.2.jar:na]
>                             at
> org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:100)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                             at
> org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:364)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                             at
> org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:489)
> [jackrabbit-core-jfrog-1.5.7b.jar:na]
>                             at
> org.artifactory.jcr.JcrServiceImpl.getRawXmlStream(JcrServiceImpl.java:888)
> [artifactory-core-2.1.2.jar:na]
>                             at
> org.artifactory.jcr.JcrServiceImpl.getXml(JcrServiceImpl.java:480)
> [artifactory-core-2.1.2.jar:na]
>                             ... 49 common frames omitted
>                      2009-12-16 07:01:51,360 [main] [ERROR] (o.m.log
>       :87) - Failed startup of context
> org.mortbay.jetty.webapp.WebAppContext@f82fe7
> {/artifactory,/usr/local/artifactory-2.1.2/webapps/artifactory.war}
>                      java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>                             at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:114)
> [na:na]
>                             at
> org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57)
> [na:na]
>                             at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.21.jar:6.1.21]
>                             at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [jetty-util-6.1.21.jar:6.1.21]
>                             at
> org.artifactory.standalone.main.Main.main(Main.java:74) [artifactory.jar:na]
>                      Caused by: <