Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9662

Remote Agents demand JDK, when they should work fine with JRE only.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Low
    • oldversion
    • 2.7.2
    • Agents
    • None

    Description

      When a 1.6 JRE is used to install the agent, the following is reported:

      STATUS | wrapper | 2011/08/24 14:57:07 | --> Wrapper Started as Console
      STATUS | wrapper | 2011/08/24 14:57:07 | Launching a JVM...
      INFO | jvm 1 | 2011/08/24 14:57:07 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.org
      INFO | jvm 1 | 2011/08/24 14:57:07 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
      INFO | jvm 1 | 2011/08/24 14:57:07 |
      INFO | jvm 1 | 2011/08/24 14:57:08 | Agent bootstrap using baseUrl: http://domain.com:8085/agentServer
      INFO | jvm 1 | 2011/08/24 14:57:08 | Requesting fingerprintRequestUrl: http://domain.com:8085/agentServer/GetFingerprint.action?hostName=domain.com
      INFO | jvm 1 | 2011/08/24 14:57:08 | Exiting due to fatal exception.
      INFO | jvm 1 | 2011/08/24 14:57:08 | java.lang.ExceptionInInitializerError
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.RBTableBuilder.build(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.RBCollationTables.<init>(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.RuleBasedCollator.<init>(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.Collator.getInstance(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.Cookie.<clinit>(Cookie.java:537)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.cookie.CookieSpecBase.parse(CookieSpecBase.java:181)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.cookie.CookieSpecBase.parse(CookieSpecBase.java:247)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders(HttpMethodBase.java:1481)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1593)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.<init>(AgentContext.java:66)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:91)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:44)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.lang.reflect.Method.invoke(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.lang.Thread.run(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | Caused by: java.lang.RuntimeException: could not locate data
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.text.normalizer.NormalizerImpl.<clinit>(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | ... 23 more
      INFO | jvm 1 | 2011/08/24 14:57:08 | 1 [WrapperSimpleAppMain] FATAL com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Exiting due to fatal exception.
      INFO | jvm 1 | 2011/08/24 14:57:08 | java.lang.ExceptionInInitializerError
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.RBTableBuilder.build(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.RBCollationTables.<init>(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.RuleBasedCollator.<init>(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.text.Collator.getInstance(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.Cookie.<clinit>(Cookie.java:537)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.cookie.CookieSpecBase.parse(CookieSpecBase.java:181)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.cookie.CookieSpecBase.parse(CookieSpecBase.java:247)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders(HttpMethodBase.java:1481)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1593)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.<init>(AgentContext.java:66)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:91)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:44)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.lang.reflect.Method.invoke(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO | jvm 1 | 2011/08/24 14:57:08 | at java.lang.Thread.run(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | Caused by: java.lang.RuntimeException: could not locate data
      INFO | jvm 1 | 2011/08/24 14:57:08 | at sun.text.normalizer.NormalizerImpl.<clinit>(Unknown Source)
      INFO | jvm 1 | 2011/08/24 14:57:08 | ... 23 more
      ERROR | wrapper | 2011/08/24 14:57:08 | JVM exited while starting the application.
      
      I should note that visiting the URL for the fingerprint yields the following:
      
      bootstrapVersion=1&fingerprint=-890635206128573270&agentClassName=com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent&userProperty.bamboo.agent.brokerUrl=failover%3A%28tcp%3A%2F%2FOCDEV.domain.com%3A54663%3FwireFormat.maxInactivityDuration%3D300000%26useLocalHost%3Dfalse%29%3FmaxReconnectAttempts%3D10%26initialReconnectDelay%3D15000&userProperty.bamboo.agent.heartbeatInterval=5
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbattaglin Renan Battaglin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: