activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <tors...@fusesource.com>
Subject Re: help: ruby listener/publisher
Date Tue, 20 Nov 2012 16:41:49 GMT
You seem to be passing this argument to the activemq script:

xbean:file:c:\apache-activemq-5.7.0\conf\activemq-stomp-my.xml

These \ characters cause problems on Windows shells. 
Instead try using

xbean:file:/c:/apache-activemq-5.7.0/conf/activemq-stomp-my.xml

or a variation of this.

Torsten


On Nov 20, 2012, at 4:17 PM, topsweep1506 wrote:

> Hi thorsten
> 
> ive done what u told me with the broker file and the activemq-stomp.xml and
> im getting these errors which i think are java related
> 
> Warning: JAVA_HOME environment variable is not set.
> 
> Java Runtime: Oracle Corporation 1.7.0_09 C:\Program Files\Java\jre7
>  Heap sizes: current=1004928k  free=994439k  max=1004928k
>    JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G
> -Djava.util.logging.config.file=logging.properties
> -Dactivemq.classpath=c:\apache-activemq-5.7.0\bin\..\conf;c:\apache-activemq-5.7.0\bin\../conf;c:\apache-activemq-5.7.
> emq.home=c:\apache-activemq-5.7.0\bin\..
> -Dactivemq.base=c:\apache-activemq-5.7.0\bin\..
> -Dactivemq.conf=c:\apache-activemq-5.7.0\bin\..\conf
> -Dactivemq.data=c:\apache-activemq-5.7.0\bin\..\data
> -Djava.io.tmpdir=c:\apache-active
> mp
> Extensions classpath:
> 
> [c:\apache-activemq-5.7.0\bin\..\lib,c:\apache-activemq-5.7.0\bin\..\lib\camel,c:\apache-activemq-5.7.0\bin\..\lib\optional,c:\apache-activemq-5.7.0\bin\..\lib\web,c:\apache-activemq-5.7.0\bin\..\lib\extra]
> ACTIVEMQ_HOME: c:\apache-activemq-5.7.0\bin\..
> ACTIVEMQ_BASE: c:\apache-activemq-5.7.0\bin\..
> ACTIVEMQ_CONF: c:\apache-activemq-5.7.0\bin\..\conf
> ACTIVEMQ_DATA: c:\apache-activemq-5.7.0\bin\..\data
> ERROR: java.net.URISyntaxException: Illegal character in opaque part at
> index 13: xbean:file:c:\apache-activemq-5.7.0\conf\activemq-stomp-my.xml
> java.net.URISyntaxException: Illegal character in opaque part at index 13:
> xbean:file:c:\apache-activemq-5.7.0\conf\activemq-stomp-my.xml
>        at java.net.URI$Parser.fail(Unknown Source)
>        at java.net.URI$Parser.checkChars(Unknown Source)
>        at java.net.URI$Parser.parse(Unknown Source)
>        at java.net.URI.<init>(Unknown Source)
>        at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:85)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
>        at org.apache.activemq.console.Main.main(Main.java:115)
> 
> Im not sure whats goin on though or if its easier i could send u the 2 files
> to see were im goin wrong
> 
> TONY
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/help-ruby-listener-publisher-tp4659540p4659591.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Torsten Mielke
torsten@fusesource.com
tmielke.blogspot.com





Mime
View raw message