[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Sender updated CLOUDSTACK-8204:
--------------------------------------
    Component/s: AWSAPI

> Duplicate entry 'http://localhost:7080/awsapi' for key 'mhost_uq_host'
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8204
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8204
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API, AWSAPI
>    Affects Versions: 4.3.1
>         Environment: Cloudplatform 4.3
>            Reporter: Adrian Sender
>            Priority: Minor
>
> SEVERE: Servlet /awsapi threw load() exception
> com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
> Duplicate entry 'http://localhost:7080/awsapi' for key 'mhost_uq_host'
> 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:534)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> at com.mysql.jdbc.Util.getInstance(Util.java:386)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
> at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
> at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
> at 
> com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)
> at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
> at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
> at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
> at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1313)
> at 
> com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_eeaf5c2e.CGLIB$persist$25(<generated>)
> at 
> com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_eeaf5c2e_FastClassByCloudStack_d6cd886a.invoke(<generated>)
> at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at 
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at 
> com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_eeaf5c2e.persist(<generated>)
> at 
> com.cloud.bridge.service.controller.s3.ServiceProvider.setupHost(ServiceProvider.java:307)
> at 
> com.cloud.bridge.service.controller.s3.ServiceProvider.initialize(ServiceProvider.java:241)
> at 
> com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_7bd9c18e.CGLIB$initialize$1(<generated>)
> at 
> com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_7bd9c18e_FastClassByCloudStack_ae37ab3f.invoke(<generated>)
> at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at 
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at 
> com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_7bd9c18e.initialize(<generated>)
> at 
> com.cloud.bridge.service.controller.s3.ServiceProvider.configure(ServiceProvider.java:112)
> at 
> com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:114)
> at com.cloud.bridge.service.EC2MainServlet.init(EC2MainServlet.java:69)
> at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
> at 
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
> at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
> at 
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
> at 
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
> at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> at org.apache.catalina.core.StandardService.start(StandardService.java:516)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
> 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:622)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> Sep 1, 2014 4:42:31 PM org.apache.axis2.deployment.ClusterBuilder buildCluster



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to