ActiveMQ 5.5 fails to start

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ActiveMQ 5.5 fails to start

Christopher Johnston
The class is there, paths look right as well.  Any ideas on what could be
causing this?

jvm 1    | Java Runtime: Sun Microsystems Inc. 1.6.0_22
/usr/java/jdk1.6.0_22-x86_64/jre
jvm 1    |   Heap sizes: current=182208k  free=172684k  max=466048k
jvm 1    |     JVM args: -Dactivemq.home=/usr/share/activemq
-Dactivemq.base=/usr/share/activemq -Dcom.sun.management.jmxremote
-Dorg.apache.activemq.UseDedicatedTaskRunner=true -Xmx512m
-Djava.library.path=/usr/lib:/usr/lib64:/usr/share/activemq/lib
-Dwrapper.key=CZI0aVskJpbemmMX -Dwrapper.port=32000
-Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
-Dwrapper.debug=TRUE -Dwrapper.pid=10607 -Dwrapper.version=3.5.9
-Dwrapper.native_library=wrapper -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
jvm 1    | ACTIVEMQ_HOME: /usr/share/activemq
jvm 1    | ACTIVEMQ_BASE: /usr/share/activemq
jvm 1    | Could not load class:
org.apache.activemq.console.command.ShellCommand
jvm 1    | Class loader setup:
jvm 1    | sun.misc.Launcher$ExtClassLoader {
jvm 1    |
file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunjce_provider.jar
jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/localedata.jar
jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/dnsns.jar
jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunpkcs11.jar
jvm 1    | }
jvm 1    |   sun.misc.Launcher$AppClassLoader {
jvm 1    |     file:/usr/share/java/tanukiwrapper-3.5.9.jar
jvm 1    |     file:/usr/share/activemq/bin/run.jar
jvm 1    |   }
jvm 1    |     java.net.URLClassLoader {
jvm 1    |       file:/usr/share/activemq/conf/
jvm 1    |     }
Reply | Threaded
Open this post in threaded view
|

Re: ActiveMQ 5.5 fails to start

Torsten Mielke-2
Is your wrapper.conf setup correctly?
Does the account that ActiveMQ is being started under have read access to the ActiveMQ installation?
What OS are you running on?



Torsten Mielke
[hidden email]
[hidden email]

On Nov 25, 2011, at 5:43 PM, Christopher Johnston wrote:

> The class is there, paths look right as well.  Any ideas on what could be
> causing this?
>
> jvm 1    | Java Runtime: Sun Microsystems Inc. 1.6.0_22
> /usr/java/jdk1.6.0_22-x86_64/jre
> jvm 1    |   Heap sizes: current=182208k  free=172684k  max=466048k
> jvm 1    |     JVM args: -Dactivemq.home=/usr/share/activemq
> -Dactivemq.base=/usr/share/activemq -Dcom.sun.management.jmxremote
> -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Xmx512m
> -Djava.library.path=/usr/lib:/usr/lib64:/usr/share/activemq/lib
> -Dwrapper.key=CZI0aVskJpbemmMX -Dwrapper.port=32000
> -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
> -Dwrapper.debug=TRUE -Dwrapper.pid=10607 -Dwrapper.version=3.5.9
> -Dwrapper.native_library=wrapper -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
> jvm 1    | ACTIVEMQ_HOME: /usr/share/activemq
> jvm 1    | ACTIVEMQ_BASE: /usr/share/activemq
> jvm 1    | Could not load class:
> org.apache.activemq.console.command.ShellCommand
> jvm 1    | Class loader setup:
> jvm 1    | sun.misc.Launcher$ExtClassLoader {
> jvm 1    |
> file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunjce_provider.jar
> jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/localedata.jar
> jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/dnsns.jar
> jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunpkcs11.jar
> jvm 1    | }
> jvm 1    |   sun.misc.Launcher$AppClassLoader {
> jvm 1    |     file:/usr/share/java/tanukiwrapper-3.5.9.jar
> jvm 1    |     file:/usr/share/activemq/bin/run.jar
> jvm 1    |   }
> jvm 1    |     java.net.URLClassLoader {
> jvm 1    |       file:/usr/share/activemq/conf/
> jvm 1    |     }




Reply | Threaded
Open this post in threaded view
|

Re: ActiveMQ 5.5 fails to start

Christopher Johnston
I actually got this working on Friday by changing to use root, so I am
thinking there is a permission problem somewhere.  I need to do a bit more
testing today to see where or what file it can not access.

Strangely I had no problems getting this going on Fedora 14, but on Fedora
10 I had issues.

-Chris

On Mon, Nov 28, 2011 at 10:06 AM, Torsten Mielke <[hidden email]>wrote:

> Is your wrapper.conf setup correctly?
> Does the account that ActiveMQ is being started under have read access to
> the ActiveMQ installation?
> What OS are you running on?
>
>
>
> Torsten Mielke
> [hidden email]
> [hidden email]
>
> On Nov 25, 2011, at 5:43 PM, Christopher Johnston wrote:
>
> > The class is there, paths look right as well.  Any ideas on what could be
> > causing this?
> >
> > jvm 1    | Java Runtime: Sun Microsystems Inc. 1.6.0_22
> > /usr/java/jdk1.6.0_22-x86_64/jre
> > jvm 1    |   Heap sizes: current=182208k  free=172684k  max=466048k
> > jvm 1    |     JVM args: -Dactivemq.home=/usr/share/activemq
> > -Dactivemq.base=/usr/share/activemq -Dcom.sun.management.jmxremote
> > -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Xmx512m
> > -Djava.library.path=/usr/lib:/usr/lib64:/usr/share/activemq/lib
> > -Dwrapper.key=CZI0aVskJpbemmMX -Dwrapper.port=32000
> > -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
> > -Dwrapper.debug=TRUE -Dwrapper.pid=10607 -Dwrapper.version=3.5.9
> > -Dwrapper.native_library=wrapper -Dwrapper.cpu.timeout=10
> -Dwrapper.jvmid=1
> > jvm 1    | ACTIVEMQ_HOME: /usr/share/activemq
> > jvm 1    | ACTIVEMQ_BASE: /usr/share/activemq
> > jvm 1    | Could not load class:
> > org.apache.activemq.console.command.ShellCommand
> > jvm 1    | Class loader setup:
> > jvm 1    | sun.misc.Launcher$ExtClassLoader {
> > jvm 1    |
> > file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunjce_provider.jar
> > jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/localedata.jar
> > jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/dnsns.jar
> > jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunpkcs11.jar
> > jvm 1    | }
> > jvm 1    |   sun.misc.Launcher$AppClassLoader {
> > jvm 1    |     file:/usr/share/java/tanukiwrapper-3.5.9.jar
> > jvm 1    |     file:/usr/share/activemq/bin/run.jar
> > jvm 1    |   }
> > jvm 1    |     java.net.URLClassLoader {
> > jvm 1    |       file:/usr/share/activemq/conf/
> > jvm 1    |     }
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ActiveMQ 5.5 fails to start

Christopher Johnston
Turned out to be a permission problem in my package, the top level
directory had permission to only allow root to access it so once I stated
drilling down I was able to pin point it.

-Chris

On Mon, Nov 28, 2011 at 10:14 AM, Christopher Johnston
<[hidden email]>wrote:

> I actually got this working on Friday by changing to use root, so I am
> thinking there is a permission problem somewhere.  I need to do a bit more
> testing today to see where or what file it can not access.
>
> Strangely I had no problems getting this going on Fedora 14, but on Fedora
> 10 I had issues.
>
> -Chris
>
>
> On Mon, Nov 28, 2011 at 10:06 AM, Torsten Mielke <[hidden email]>wrote:
>
>> Is your wrapper.conf setup correctly?
>> Does the account that ActiveMQ is being started under have read access to
>> the ActiveMQ installation?
>> What OS are you running on?
>>
>>
>>
>> Torsten Mielke
>> [hidden email]
>> [hidden email]
>>
>> On Nov 25, 2011, at 5:43 PM, Christopher Johnston wrote:
>>
>> > The class is there, paths look right as well.  Any ideas on what could
>> be
>> > causing this?
>> >
>> > jvm 1    | Java Runtime: Sun Microsystems Inc. 1.6.0_22
>> > /usr/java/jdk1.6.0_22-x86_64/jre
>> > jvm 1    |   Heap sizes: current=182208k  free=172684k  max=466048k
>> > jvm 1    |     JVM args: -Dactivemq.home=/usr/share/activemq
>> > -Dactivemq.base=/usr/share/activemq -Dcom.sun.management.jmxremote
>> > -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Xmx512m
>> > -Djava.library.path=/usr/lib:/usr/lib64:/usr/share/activemq/lib
>> > -Dwrapper.key=CZI0aVskJpbemmMX -Dwrapper.port=32000
>> > -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
>> > -Dwrapper.debug=TRUE -Dwrapper.pid=10607 -Dwrapper.version=3.5.9
>> > -Dwrapper.native_library=wrapper -Dwrapper.cpu.timeout=10
>> -Dwrapper.jvmid=1
>> > jvm 1    | ACTIVEMQ_HOME: /usr/share/activemq
>> > jvm 1    | ACTIVEMQ_BASE: /usr/share/activemq
>> > jvm 1    | Could not load class:
>> > org.apache.activemq.console.command.ShellCommand
>> > jvm 1    | Class loader setup:
>> > jvm 1    | sun.misc.Launcher$ExtClassLoader {
>> > jvm 1    |
>> > file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunjce_provider.jar
>> > jvm 1    |
>> file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/localedata.jar
>> > jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/dnsns.jar
>> > jvm 1    |   file:/usr/java/jdk1.6.0_22-x86_64/jre/lib/ext/sunpkcs11.jar
>> > jvm 1    | }
>> > jvm 1    |   sun.misc.Launcher$AppClassLoader {
>> > jvm 1    |     file:/usr/share/java/tanukiwrapper-3.5.9.jar
>> > jvm 1    |     file:/usr/share/activemq/bin/run.jar
>> > jvm 1    |   }
>> > jvm 1    |     java.net.URLClassLoader {
>> > jvm 1    |       file:/usr/share/activemq/conf/
>> > jvm 1    |     }
>>
>>
>>
>>
>>
>