0 Replies Latest reply on May 19, 2015 9:23 AM by Raghava Karthik Reddy Samireddy

    s3 ping in wildfly 9.0.0CR1

    Raghava Karthik Reddy Samireddy Newbie

      I am trying to make s3ping work in wildfly 9.0.0CR1 but i get these following errors

       

      14:30:44,063 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.messaging.default: org.jboss.msc.service.StartException in service jboss.messaging.default: WFLYMSG0033: Failed to start service

          at org.jboss.as.messaging.HornetQService.start(HornetQService.java:298)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

          at java.lang.Thread.run(Thread.java:745)

      Caused by: java.security.PrivilegedActionException: java.io.IOException: bucket '/tmp/jgroups' could not be accessed (rsp=301 (Moved Permanently). Maybe the bucket is owned by somebody else or the authentication failed

          at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:638)

          at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:99)

          at org.jboss.as.messaging.HornetQService.start(HornetQService.java:240)

          ... 5 more

      Caused by: java.io.IOException: bucket '/tmp/jgroups' could not be accessed (rsp=301 (Moved Permanently). Maybe the bucket is owned by somebody else or the authentication failed

          at org.jgroups.protocols.S3_PING$AWSAuthConnection.checkBucketExists(S3_PING.java:451)

          at org.jgroups.protocols.S3_PING.init(S3_PING.java:89)

          at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:860)

          at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481)

          at org.jgroups.JChannel.init(JChannel.java:854)

          at org.jgroups.JChannel.<init>(JChannel.java:159)

          at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:96)

          at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:93)

          at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)

          ... 7 more

       

      14:30:44,070 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([

          ("subsystem" => "messaging"),

          ("hornetq-server" => "default")

      ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.messaging.default" => "org.jboss.msc.service.StartException in service jboss.messaging.default: WFLYMSG0033: Failed to start service

          Caused by: java.security.PrivilegedActionException: java.io.IOException: bucket '/tmp/jgroups' could not be accessed (rsp=301 (Moved Permanently). Maybe the bucket is owned by somebody else or the authentication failed

          Caused by: java.io.IOException: bucket '/tmp/jgroups' could not be accessed (rsp=301 (Moved Permanently). Maybe the bucket is owned by somebody else or the authentication failed"}}

      14:30:44,199 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.messaging.default: org.jboss.msc.service.StartException in service jboss.messaging.default: WFLYMSG0033: Failed to start service

       

      14:30:44,458 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

      14:30:44,458 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

      14:30:44,459 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.0.CR1 (WildFly Core 1.0.0.CR1) started (with errors) in 7413ms - Started 246 of 469 services (2 services failed or missing dependencies, 279 services are lazy, passive or on-demand)

       

       

      My s3 bucket , access and secret keys are valid and working with wildfly 8.2.0.final

       

      Here's my standalone-ec2-full-ha.xml

       

      <stacks default="tcp">

      <stack name="tcp">

                          <transport type="TCP" socket-binding="jgroups-tcp"/>

                          <protocol type="S3_PING">

                              <property name="access_key">

                                 XXXXXXXXXXXXXXXX

                              </property>

                              <property name="secret_access_key">

                                 XXXXXXXXXXXXXXXXXXXXXXXXXXX

                              </property>

                              <property name="location">

                                  jboss-config

                              </property>

                          </protocol>

                          <protocol type="MERGE3"/>

                          <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>

                          <protocol type="FD"/>

                          <protocol type="VERIFY_SUSPECT"/>

                          <protocol type="pbcast.NAKACK2"/>

                          <protocol type="UNICAST3"/>

                          <protocol type="pbcast.STABLE"/>

                          <protocol type="pbcast.GMS"/>

                          <protocol type="MFC"/>

                          <protocol type="FRAG2"/>

                          <protocol type="RSVP"/>

                      </stack>

      ..........

      ..........

      <broadcast-groups>

                          <broadcast-group name="bg-group1">

                              <jgroups-stack>tcp</jgroups-stack>

                              <jgroups-channel>hq-cluster</jgroups-channel>

                              <connector-ref>http-connector</connector-ref>

                          </broadcast-group>

                      </broadcast-groups>

                      <discovery-groups>

                          <discovery-group name="dg-group1">

                              <jgroups-stack>tcp</jgroups-stack>

                              <jgroups-channel>hq-cluster</jgroups-channel>

                          </discovery-group>

                      </discovery-groups>