java.lang.IllegalArgumentException: tcp://m20.cloudmq tt.com:13191

GitHub | 4refr0nt | 2 months ago
  1. 0

    GitHub comment 19#250447073

    GitHub | 2 months ago | 4refr0nt
    java.lang.IllegalArgumentException: tcp://m20.cloudmq tt.com:13191
  2. 0

    GitHub comment 1760#142159755

    GitHub | 1 year ago | drcrallen
    java.lang.IllegalArgumentException: Multiple entries with same key: sys/tcp/state/established=277 and sys/tcp/state/established=277
  3. 0

    GitHub comment 1663#223447570

    GitHub | 6 months ago | fedwmt
    java.lang.IllegalArgumentException: Multiple entries with same key: HOST=jdbc:oracle:thin:@(DESCRIPTION//=(LOAD_BALANCE//=on)(ADDRESS//=(PROTOCOL//=TCP)(HOST//=XXXXXXXXXX) and HOST=jdbc:oracle:thin:@(DESCRIPTION//=(LOAD_BALANCE//=on)(ADDRESS//=(PROTOCOL//=TCP)(HOST//=XXXXXXXXXX)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Launching the agent via the usual method: {noformat} pdezwart@Dschubba:~/Downloads[11:40:14](0,0)$ java -jar bamboo-agent-2.1.3.jar http://iclil/bamboo/agentServer/ log4j:ERROR Could not read configuration file from URL [http://iclil/bamboo/agentServer/GetResource.action?name=log4j.properties&fingerprint=1225283395682]. java.io.IOException: Server returned HTTP response code: 503 for URL: http://iclil/bamboo/agentServer/GetResource.action?name=log4j.properties&fingerprint=1225283395682 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170) at java.net.URL.openStream(URL.java:1007) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:433) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:336) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:57) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:23) at java.lang.Thread.run(Thread.java:613) log4j:ERROR Ignoring configuration file [http://iclil/bamboo/agentServer/GetResource.action?name=log4j.properties&fingerprint=1225283395682]. 0 [Thread-3] ERROR com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Exiting due to fatal exception. org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContextRemoteAgent.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContextRemoteAgent.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [applicationContextRemoteAgent.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:135) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:307) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:76) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:170) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:61) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:23) at java.lang.Thread.run(Thread.java:613) {noformat} Trying the old {{-Dbamboo.agent.brokerUrl=tcp://$HOST:54663}} argument: {noformat} pdezwart@Dschubba:~/Downloads[11:40:49](0,1)$ java -jar bamboo-agent-2.1.3.jar -Dbamboo.agent.brokerUrl=tcp://iclil:54663 0 [main] ERROR com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Remote agent could not start. Retrying in 30 seconds. java.lang.IllegalArgumentException: Invalid uri '-Dbamboo.agent.brokerUrl=tcp:://iclil:54663/GetFingerprint.action?hostName=Dschubba.central.dezwart.net.au': incorrect scheme at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:219) at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88) at com.atlassian.bamboo.agent.bootstrap.AgentContext.<init>(AgentContext.java:89) at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:77) at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:27) {noformat} Seems similar to [BAM-2008], but I am struggling trying to find relevant logs, as the {{catalina.out}} has nothing useful & there seems to be no log files in the server {{$BAMBOO_HOME}}.

    Atlassian JIRA | 8 years ago | Pete de Zwart
    java.lang.IllegalArgumentException: Invalid uri '-Dbamboo.agent.brokerUrl=tcp:://iclil:54663/GetFingerprint.action?hostName=Dschubba.central.dezwart.net.au': incorrect scheme
  6. 0

    Launching the agent via the usual method: {noformat} pdezwart@Dschubba:~/Downloads[11:40:14](0,0)$ java -jar bamboo-agent-2.1.3.jar http://iclil/bamboo/agentServer/ log4j:ERROR Could not read configuration file from URL [http://iclil/bamboo/agentServer/GetResource.action?name=log4j.properties&fingerprint=1225283395682]. java.io.IOException: Server returned HTTP response code: 503 for URL: http://iclil/bamboo/agentServer/GetResource.action?name=log4j.properties&fingerprint=1225283395682 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170) at java.net.URL.openStream(URL.java:1007) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:433) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:336) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:57) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:23) at java.lang.Thread.run(Thread.java:613) log4j:ERROR Ignoring configuration file [http://iclil/bamboo/agentServer/GetResource.action?name=log4j.properties&fingerprint=1225283395682]. 0 [Thread-3] ERROR com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Exiting due to fatal exception. org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContextRemoteAgent.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContextRemoteAgent.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [applicationContextRemoteAgent.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:135) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:307) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:76) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:170) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:61) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:23) at java.lang.Thread.run(Thread.java:613) {noformat} Trying the old {{-Dbamboo.agent.brokerUrl=tcp://$HOST:54663}} argument: {noformat} pdezwart@Dschubba:~/Downloads[11:40:49](0,1)$ java -jar bamboo-agent-2.1.3.jar -Dbamboo.agent.brokerUrl=tcp://iclil:54663 0 [main] ERROR com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Remote agent could not start. Retrying in 30 seconds. java.lang.IllegalArgumentException: Invalid uri '-Dbamboo.agent.brokerUrl=tcp:://iclil:54663/GetFingerprint.action?hostName=Dschubba.central.dezwart.net.au': incorrect scheme at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:219) at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88) at com.atlassian.bamboo.agent.bootstrap.AgentContext.<init>(AgentContext.java:89) at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:77) at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:27) {noformat} Seems similar to [BAM-2008], but I am struggling trying to find relevant logs, as the {{catalina.out}} has nothing useful & there seems to be no log files in the server {{$BAMBOO_HOME}}.

    Atlassian JIRA | 8 years ago | Pete de Zwart
    java.lang.IllegalArgumentException: Invalid uri '-Dbamboo.agent.brokerUrl=tcp:://iclil:54663/GetFingerprint.action?hostName=Dschubba.central.dezwart.net.au': incorrect scheme

  1. Agócs Tamás 3 times, last 9 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    tcp://m20.cloudmq tt.com:13191

    at org.eclipse.paho.client.mqttv3.MqttConnectOptions.validateURI()
  2. org.eclipse.paho
    MqttAsyncClient.<init>
    1. org.eclipse.paho.client.mqttv3.MqttConnectOptions.validateURI(MqttConnectOptions.java:512)
    2. org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:291)
    3. org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:185)
    3 frames
  3. com.arcoirislabs.plugin
    CordovaMqTTPlugin$1.run
    1. com.arcoirislabs.plugin.mqtt.CordovaMqTTPlugin.connect(CordovaMqTTPlugin.java:125)
    2. com.arcoirislabs.plugin.mqtt.CordovaMqTTPlugin.access$000(CordovaMqTTPlugin.java:24)
    3. com.arcoirislabs.plugin.mqtt.CordovaMqTTPlugin$1.run(CordovaMqTTPlugin.java:42)
    3 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames