Hi,

now I'm trying to deploy
JCloudsNova<http://jclouds.apache.org/documentation/quickstart/openstack/>
<http://jclouds.apache.org/documentation/quickstart/openstack/>example on
JbossAS 7.

At Jb7 startup I've this error:
09:48:16,856 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2)
JBAS016008: Starting weld service for deployment mysimpleWebApp.war
09:48:17,590 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2)
MSC00001: Failed to start service
jboss.deployment.unit."mysimpleWebApp.war".WeldService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."mysimpleWebApp.war".WeldService:
com.google.common.collect.ComputationException:
java.lang.ArrayIndexOutOfBoundsException: 3
        at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]

It seems that this error is caused by guava libraries release used by
jcloud: guava-15.0.jar.

So I've tried to change guava-15.0.jar whit guava release 16.0-rc1.

With guava 16.0-rc1, JB 7 start correctly, but when I try ro use
JCloudsNova<http://jclouds.apache.org/documentation/quickstart/openstack/>
<http://jclouds.apache.org/documentation/quickstart/openstack/>example,
I've this error:

10:03:32,109 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mysimpleWebApp].[jsp]]
(http--0.0.0.0-10000-1) Servlet.service() for servlet jsp threw exception:
java.lang.Error: Unresolved compilation problems:
        The import com.google.common.collect.FluentIterable cannot be
resolved
        The import com.google.common.collect.ImmutableSet cannot be resolved
        ImmutableSet cannot be resolved
        The type com.google.common.reflect.TypeToken cannot be resolved. It
is indirectly referenced from required .class files
        FluentIterable cannot be resolved to a type
        The type com.google.common.collect.FluentIterable cannot be
resolved. It is indirectly referenced from required .class files


thanks in advance

luca

Reply via email to