cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "danny webb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-976) unable to start cloudstack (error: "java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString([B)Ljava/lang/String;")
Date Fri, 05 Apr 2013 10:12:15 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623498#comment-13623498
] 

danny webb commented on CLOUDSTACK-976:
---------------------------------------

re-opening this ticket as I just hit this bug also.

[root@slo-cnkvm001 management]# cat /etc/redhat-release 
installed from the centos 6.3 livedvd

CentOS release 6.3 (Final)

installed from the cloudstack yum repo

[root@slo-cnkvm001 management]# rpm -qa|grep cloud
cloud-utils-4.0.1-1.el6.x86_64
cloud-python-4.0.1-1.el6.x86_64
cloud-core-4.0.1-1.el6.x86_64
cloud-client-4.0.1-1.el6.x86_64
cloud-server-4.0.1-1.el6.x86_64
cloud-usage-4.0.1-1.el6.x86_64
cloud-setup-4.0.1-1.el6.x86_64
cloud-aws-api-4.0.1-1.el6.x86_64
cloud-cli-4.0.1-1.el6.x86_64
cloud-deps-4.0.1-1.el6.x86_64
cloud-client-ui-4.0.1-1.el6.x86_64
cloud-scripts-4.0.1-1.el6.x86_64

[root@slo-cnkvm001 management]# rpm -qa|grep tomc
tomcat6-lib-6.0.24-52.el6_4.noarch
tomcat6-servlet-2.5-api-6.0.24-52.el6_4.noarch
tomcat6-6.0.24-52.el6_4.noarch
apache-tomcat-apis-0.1-1.el6.noarch
tomcat6-jsp-2.1-api-6.0.24-52.el6_4.noarch
tomcat6-el-2.1-api-6.0.24-52.el6_4.noarch

[root@slo-cnkvm001 management]# rpm -qa|grep jakar
jakarta-commons-httpclient-3.1-0.6.el6.x86_64
jakarta-commons-logging-1.0.4-10.el6.noarch
jakarta-commons-dbcp-1.2.1-13.8.el6.noarch
jakarta-commons-daemon-jsvc-1.0.1-8.9.el6.x86_64
jakarta-commons-discovery-0.4-5.4.el6.noarch
jakarta-commons-pool-1.3-12.7.el6.x86_64
jakarta-commons-collections-3.2.1-3.4.el6.noarch
jakarta-commons-codec-1.3-11.7.el6.x86_64
jakarta-commons-daemon-1.0.1-8.9.el6.x86_64
jakarta-commons-lang-2.4-1.1.el6.noarch

                
> unable to start cloudstack (error: "java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString([B)Ljava/lang/String;")
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-976
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-976
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.0.1
>            Reporter: Jessica Wang
>             Fix For: 4.0.2
>
>         Attachments: awsapi.log, vmops.log
>
>
> steps:
> (1) get latest code from apache 4.0 branch 
> (2) run "mvn -P deps"
> (3) run "ant clean-all build-all deploy-server deploydb"
> (4) run "ant debug":
> error:
>    [java] Jan 14, 2013 2:32:21 PM org.apache.catalina.core.StandardContext loadOnStartup
>    [java] SEVERE: Servlet /client threw load() exception
>    [java] java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString([B)Ljava/lang/String;
>    [java]     at com.cloud.server.ConfigurationServerImpl.updateSSOKey(ConfigurationServerImpl.java:773)
>    [java]     at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:223)
>    [java]     at com.cloud.server.ConfigurationServerImpl$$EnhancerByCGLIB$$46a32077.CGLIB$persistDefaultValues$0(<generated>)
>    [java]     at com.cloud.server.ConfigurationServerImpl$$EnhancerByCGLIB$$46a32077$$FastClassByCGLIB$$f92a33e4.invoke(<generated>)
>    [java]     at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
>    [java]     at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>    [java]     at com.cloud.server.ConfigurationServerImpl$$EnhancerByCGLIB$$46a32077.persistDefaultValues(<generated>)
>    [java]     at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:47)
>    [java]     at javax.servlet.GenericServlet.init(GenericServlet.java:215)
>    [java]     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
>    [java]     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
>    [java]     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
>    [java]     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
>    [java]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>    [java]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>    [java]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>    [java]     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
>    [java]     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
>    [java]     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
>    [java]     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
>    [java]     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>    [java]     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>    [java]     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>    [java]     at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>    [java]     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>    [java]     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>    [java]     at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>    [java]     at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>    [java]     at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>    [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>    [java]     at java.lang.reflect.Method.invoke(Method.java:597)
>    [java]     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>    [java]     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>    [java] Jan 14, 2013 2:32:22 PM org.apache.coyote.http11.Http11NioProtocol start
>    [java] INFO: Starting Coyote HTTP/1.1 on http-8080

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message