jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felipe gutierrez <fel...@usto.re>
Subject Version of jclouds 1.8.0 with jdk1.7.0_60
Date Tue, 14 Oct 2014 16:59:33 GMT
hello,

Does any one knows if it is about versions of jclouds with java? Thanks!

my app is using jclouds version 1.8.0 with jdk1.7.0_60 and I am getting
this error below when I add these dependencies at my pom:

<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.9</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections-spring</artifactId>
<version>0.9.9-RC1</version>
</dependency>

code:
Properties properties = new Properties();
properties.setProperty(FilesystemConstants.PROPERTY_BASEDIR,
pFile.getAbsolutePath());
ContextBuilder overrides =
ContextBuilder.newBuilder("filesystem").overrides(properties);
mContext = overrides.buildView(BlobStoreContext.class);


error:
[DEBUG] BACKUP Files started [100]:  - 2035 - 2036 - 2037 - 2038 - 2039 -
2040 - 2041 - 2042 - 2043 - 2044 - 2045 - 2046 - 2047 - 2048 - 2049 - 2050
- 2051 - 2052 - 2053 - 2054 - 2055 - 2056 - 2057 - 2058 - 2059 - 2060 -
2061 - 2062 - 2063 - 2064 - 2065 - 2066 - 2067 - 2068 - 2069 - 2070 - 2071
- 2072 - 2073 - 2074 - 2075 - 2076 - 2077 - 2078 - 2079 - 2080 - 2081 -
2082 - 2083 - 2084 - 2085 - 2086 - 2087 - 2088 - 2089 - 2090 - 2091 - 2092
- 2093 - 2094 - 2095 - 2096 - 2097 - 2098 - 2099 - 2100 - 2101 - 2102 -
2103 - 2104 - 2105 - 2106 - 2107 - 2108 - 2109 - 2110 - 2111 - 2112 - 2113
- 2114 - 2115 - 2116 - 2117 - 2118 - 2119 - 2120 - 2121 - 2122 - 2123 -
2124 - 2125 - 2126 - 2127 - 2128 - 2129 - 2130 - 2131 - 2132 - 2133 - 2134
[DEBUG] BACKUP Files completed [3]:  - 2032 - 2033 - 2034
13:47:59 ERROR main batch.TargetApp - The Target server is not started!
java.io.IOException: java.lang.reflect.InvocationTargetException
at
org.jscsi.target.storage.RandomAccessStorageModule.open(RandomAccessStorageModule.java:153)
at org.jscsi.target.Configuration.parseTargetElement(Configuration.java:328)
at org.jscsi.target.Configuration.create(Configuration.java:234)
at org.jscsi.batch.TargetApp.execute(TargetApp.java:60)
at
org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:406)
at
org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:330)
at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at
org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:271)
at
org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:77)
at
org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:368)
at
org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
at
org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)
at
org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:257)
at
org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:198)
at
org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148)
at
org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
at
org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:67)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:162)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:141)
at
org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:134)
at
org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:304)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:135)
at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:128)
at org.jscsi.batch.App.startTarget(App.java:41)
at org.jscsi.batch.App.main(App.java:67)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at
org.jscsi.target.storage.RandomAccessStorageModule.open(RandomAccessStorageModule.java:150)
... 25 more
Caused by: com.google.inject.CreationException: Guice creation errors:

1) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 5 at
org.jclouds.blobstore.internal.BlobStoreContextImpl.<init>(BlobStoreContextImpl.java:50)
  while locating org.jclouds.blobstore.BlobStoreContext
    for parameter 0 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

2) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.ConcatenateContainerLists.<init>(ConcatenateContainerLists.java:45)
  while locating org.jclouds.blobstore.strategy.ListContainerStrategy
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.ListContainerAndRecurseThroughFolders.<init>(ListContainerAndRecurseThroughFolders.java:50)
  while locating org.jclouds.blobstore.strategy.ListBlobsInContainer
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.CountBlobTypeInList.<init>(CountBlobTypeInList.java:36)
  while locating org.jclouds.blobstore.strategy.CountListStrategy
    for parameter 4 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

3) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 1 at
org.jclouds.blobstore.strategy.internal.DeleteAllKeysInList.<init>(DeleteAllKeysInList.java:81)
  while locating org.jclouds.blobstore.strategy.ClearListStrategy
    for parameter 1 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

4) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.MarkerFileMkdirStrategy.<init>(MarkerFileMkdirStrategy.java:45)
  while locating org.jclouds.blobstore.strategy.MkdirStrategy
    for parameter 3 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

5) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 2 at
org.jclouds.blobstore.strategy.internal.MarkersDeleteDirectoryStrategy.<init>(MarkersDeleteDirectoryStrategy.java:82)
  while locating org.jclouds.blobstore.strategy.DeleteDirectoryStrategy
    for parameter 5 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

6) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.MarkersGetDirectoryStrategy.<init>(MarkersGetDirectoryStrategy.java:57)
  while locating org.jclouds.blobstore.strategy.GetDirectoryStrategy
    for parameter 2 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

7) No implementation for org.jclouds.blobstore.LocalStorageStrategy was
bound.
  while locating org.jclouds.blobstore.LocalStorageStrategy
    for parameter 8 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

8) No implementation for org.jclouds.blobstore.attr.ConsistencyModel was
bound.
  while locating org.jclouds.blobstore.attr.ConsistencyModel
    for parameter 3 at
org.jclouds.blobstore.internal.BlobStoreContextImpl.<init>(BlobStoreContextImpl.java:50)
  while locating org.jclouds.blobstore.BlobStoreContext
    for parameter 0 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

9) No implementation for org.jclouds.blobstore.domain.Blob$Factory was
bound.
  while locating org.jclouds.blobstore.domain.Blob$Factory
    for parameter 7 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

10)
org.jclouds.rest.config.CallGetOnFuturesProvider<org.jclouds.blobstore.config.LocalBlobStore,
A> cannot be used as a key; It is not fully specified.

11)
org.jclouds.rest.config.SyncToAsyncHttpApiProvider<org.jclouds.rest.HttpClient,
A> cannot be used as a key; It is not fully specified.

12) No implementation for org.jclouds.blobstore.config.LocalBlobStore was
bound.
  at
org.jclouds.rest.config.BinderUtils.bindCallGetOnFutures(BinderUtils.java:142)

13) No implementation for org.jclouds.rest.HttpClient was bound.
  at
org.jclouds.rest.config.BinderUtils.bindHttpApiProvider(BinderUtils.java:102)

13 errors
at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:404)
at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:328)
at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:619)
at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:599)
at
org.jscsi.target.storage.JCloudsStorageModule.<init>(JCloudsStorageModule.java:150)
... 30 more
13:47:59 ERROR main step.AbstractStep - Encountered an error executing step
start in job startTarget
org.springframework.batch.core.UnexpectedJobExecutionException: The Target
server is not started!
at org.jscsi.batch.TargetApp.execute(TargetApp.java:72)
at
org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:406)
at
org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:330)
at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at
org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:271)
at
org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:77)
at
org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:368)
at
org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
at
org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)
at
org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:257)
at
org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:198)
at
org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148)
at
org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
at
org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:67)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:162)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:141)
at
org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:134)
at
org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:304)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:135)
at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:128)
at org.jscsi.batch.App.startTarget(App.java:41)
at org.jscsi.batch.App.main(App.java:67)
Caused by: java.io.IOException: java.lang.reflect.InvocationTargetException
at
org.jscsi.target.storage.RandomAccessStorageModule.open(RandomAccessStorageModule.java:153)
at org.jscsi.target.Configuration.parseTargetElement(Configuration.java:328)
at org.jscsi.target.Configuration.create(Configuration.java:234)
at org.jscsi.batch.TargetApp.execute(TargetApp.java:60)
... 22 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at
org.jscsi.target.storage.RandomAccessStorageModule.open(RandomAccessStorageModule.java:150)
... 25 more
Caused by: com.google.inject.CreationException: Guice creation errors:

1) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 5 at
org.jclouds.blobstore.internal.BlobStoreContextImpl.<init>(BlobStoreContextImpl.java:50)
  while locating org.jclouds.blobstore.BlobStoreContext
    for parameter 0 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

2) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.ConcatenateContainerLists.<init>(ConcatenateContainerLists.java:45)
  while locating org.jclouds.blobstore.strategy.ListContainerStrategy
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.ListContainerAndRecurseThroughFolders.<init>(ListContainerAndRecurseThroughFolders.java:50)
  while locating org.jclouds.blobstore.strategy.ListBlobsInContainer
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.CountBlobTypeInList.<init>(CountBlobTypeInList.java:36)
  while locating org.jclouds.blobstore.strategy.CountListStrategy
    for parameter 4 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

3) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 1 at
org.jclouds.blobstore.strategy.internal.DeleteAllKeysInList.<init>(DeleteAllKeysInList.java:81)
  while locating org.jclouds.blobstore.strategy.ClearListStrategy
    for parameter 1 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

4) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.MarkerFileMkdirStrategy.<init>(MarkerFileMkdirStrategy.java:45)
  while locating org.jclouds.blobstore.strategy.MkdirStrategy
    for parameter 3 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

5) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 2 at
org.jclouds.blobstore.strategy.internal.MarkersDeleteDirectoryStrategy.<init>(MarkersDeleteDirectoryStrategy.java:82)
  while locating org.jclouds.blobstore.strategy.DeleteDirectoryStrategy
    for parameter 5 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

6) No implementation for org.jclouds.blobstore.BlobStore was bound.
  while locating org.jclouds.blobstore.BlobStore
    for parameter 0 at
org.jclouds.blobstore.strategy.internal.MarkersGetDirectoryStrategy.<init>(MarkersGetDirectoryStrategy.java:57)
  while locating org.jclouds.blobstore.strategy.GetDirectoryStrategy
    for parameter 2 at
org.jclouds.blobstore.util.internal.BlobUtilsImpl.<init>(BlobUtilsImpl.java:50)
  while locating org.jclouds.blobstore.util.BlobUtils
    for parameter 1 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

7) No implementation for org.jclouds.blobstore.LocalStorageStrategy was
bound.
  while locating org.jclouds.blobstore.LocalStorageStrategy
    for parameter 8 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

8) No implementation for org.jclouds.blobstore.attr.ConsistencyModel was
bound.
  while locating org.jclouds.blobstore.attr.ConsistencyModel
    for parameter 3 at
org.jclouds.blobstore.internal.BlobStoreContextImpl.<init>(BlobStoreContextImpl.java:50)
  while locating org.jclouds.blobstore.BlobStoreContext
    for parameter 0 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

9) No implementation for org.jclouds.blobstore.domain.Blob$Factory was
bound.
  while locating org.jclouds.blobstore.domain.Blob$Factory
    for parameter 7 at
org.jclouds.blobstore.LocalAsyncBlobStore.<init>(LocalAsyncBlobStore.java:112)
  at
org.jclouds.filesystem.config.FilesystemBlobStoreContextModule.configure(FilesystemBlobStoreContextModule.java:44)

10)
org.jclouds.rest.config.CallGetOnFuturesProvider<org.jclouds.blobstore.config.LocalBlobStore,
A> cannot be used as a key; It is not fully specified.

11)
org.jclouds.rest.config.SyncToAsyncHttpApiProvider<org.jclouds.rest.HttpClient,
A> cannot be used as a key; It is not fully specified.

12) No implementation for org.jclouds.blobstore.config.LocalBlobStore was
bound.
  at
org.jclouds.rest.config.BinderUtils.bindCallGetOnFutures(BinderUtils.java:142)

13) No implementation for org.jclouds.rest.HttpClient was bound.
  at
org.jclouds.rest.config.BinderUtils.bindHttpApiProvider(BinderUtils.java:102)

13 errors
at
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
at
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
at com.google.inject.Guice.createInjector(Guice.java:95)
at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:404)
at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:328)
at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:619)
at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:599)
at
org.jscsi.target.storage.JCloudsStorageModule.<init>(JCloudsStorageModule.java:150)
... 30 more
13:47:59 ERROR main batch.App - Exit Status :
[org.springframework.batch.core.UnexpectedJobExecutionException: The Target
server is not started!]
13:48:00 ERROR pool-9-thread-1 tasklet.TaskletStep - Rolling back with
transaction in unknown state
13:48:00 ERROR pool-9-thread-1 spi.SqlExceptionHelper - Database is already
closed (to disable automatic closing at VM shutdown, add
";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-181]
13:48:00 ERROR pool-9-thread-1 spi.SqlExceptionHelper - Already closed.
13:48:00 ERROR pool-9-thread-1 step.AbstractStep - Encountered an error
executing step targetAvailabilityStep in job targetAvailabilityJob
org.springframework.transaction.TransactionSystemException: Could not
commit Hibernate transaction; nested exception is
org.hibernate.TransactionException: commit failed
at
org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:559)
at
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
at
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726)
at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:150)
at
org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:271)
at
org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:77)
at
org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:368)
at
org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
at
org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)
at
org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:257)
at
org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:198)
at
org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148)
at
org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
at
org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:67)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:162)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:141)
at
org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:134)
at
org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:304)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:135)
at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:128)
at
org.jscsi.batch.TargetAvailabilityBatch.run(TargetAvailabilityBatch.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at
org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.hibernate.TransactionException: commit failed
at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:185)
at
org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:555)
... 35 more
Caused by: org.hibernate.TransactionException: unable to commit against
JDBC connection
at
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doCommit(JdbcTransaction.java:116)
at
org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:178)
... 36 more
Caused by: org.h2.jdbc.JdbcSQLException: Database is already closed (to
disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to
the db URL) [90121-181]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1469)
at org.h2.jdbc.JdbcConnection.checkClosedForWrite(JdbcConnection.java:1454)
at org.h2.jdbc.JdbcConnection.commit(JdbcConnection.java:465)
at
org.apache.commons.dbcp.DelegatingConnection.commit(DelegatingConnection.java:248)
at
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.commit(PoolingDataSource.java:244)
at
org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doCommit(JdbcTransaction.java:112)
... 37 more
13:48:00 ERROR pool-9-thread-1 step.AbstractStep - Encountered an error
saving batch meta data for step targetAvailabilityStep in job
targetAvailabilityJob. This job is now in an unknown state and should not
be restarted.
org.springframework.dao.OptimisticLockingFailureException: Attempt to
update step execution id=170 with wrong version (1), where current version
is 2
at
org.springframework.batch.core.repository.dao.MapStepExecutionDao.updateStepExecution(MapStepExecutionDao.java:102)
at
org.springframework.batch.core.repository.support.SimpleJobRepository.update(SimpleJobRepository.java:191)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy33.update(Unknown Source)
at
org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:256)
at
org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148)
at
org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
at
org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:67)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:162)
at
org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:141)
at
org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:134)
at
org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:304)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:135)
at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
at
org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:128)
at
org.jscsi.batch.TargetAvailabilityBatch.run(TargetAvailabilityBatch.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at
org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Mime
View raw message