Yes It's a 64bits. But I don't have a 32bits virtual machine with mingw 
installed to test:/

Thanks for sharing, I'll use the cmd console;)

-- Arnaud sur son iPhone


> Le 18 déc. 2014 à 22:41, Niels <[email protected]> a écrit :
> 
> Is your Win7 a 64bit build by any chance? I remember having the same issue 
> some time ago. I recall that in my case the SIGHUP error was generated by the 
> actual shell as it tried to attach a signal handler to the windows process. 
> Niels
> 
>> On 19 Dec 2014, at 3:18, Arnaud Vandyck <[email protected]> wrote:
>> 
>> With MINGW32, I have a *nix like console on windows (with GNU tools). Some 
>> scripts take care of that.
>> 
>> By the way, using the "traditional Windows command line tool", everything is 
>> ok.
>> 
>> Thanks,
>> 
>> 2014-12-18 16:42 GMT+01:00 Jean-Baptiste Onofré <[email protected]>:
>>> 
>>> Hi Arnaud,
>>> 
>>> not sure to follow what you do.
>>> 
>>> If you use Windows, you have to use the *.bat scripts, the bin/karaf, 
>>> bin/shell, etc are for Unix system.
>>> 
>>> It's described here:
>>> 
>>> http://karaf.apache.org/manual/latest/users-guide/start-stop.html
>>> 
>>> Regards
>>> JB
>>> 
>>> 
>>>> On 12/18/2014 04:14 PM, Arnaud Vandyck wrote:
>>>> Hi,
>>>> 
>>>> When I use ./bin/shell, I have
>>>> 
>>>> $ ./bin/shell
>>>> shell: Ignoring predefined value for KARAF_HOME
>>>>          __ __                  ____
>>>>         / //_/____ __________ _/ __/
>>>>        / ,<  / __ `/ ___/ __ `/ /_
>>>>       / /| |/ /_/ / /  / /_/ / __/
>>>>      /_/ |_|\__,_/_/   \__,_/_/
>>>> 
>>>>    Apache Karaf (4.0.0.M1)
>>>> 
>>>> Hit '<tab>' for a list of available commands
>>>> and '[cmd] --help' for help on a specific command.
>>>> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
>>>> 
>>>> karaf@root()>
>>>> 
>>>> But if I try ./bin/karaf, I have
>>>> 
>>>> $ ./bin/karaf
>>>> karaf: Ignoring predefined value for KARAF_HOME
>>>> javax.management.JMRuntimeException: Failed to load MBeanServerBuilder
>>>> class org.apache.karaf.management.boot.KarafMBeanServerBuilder:
>>>> java.lang.ClassNotFoundException: org.apache.karaf.management.boo
>>>> t.KarafMBeanServerBuilder
>>>>          at
>>>> javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:503)
>>>>          at
>>>> javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:539)
>>>>          at
>>>> javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
>>>>          at
>>>> javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:231)
>>>>          at
>>>> javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:192)
>>>>          at
>>>> java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:468)
>>>>          at
>>>> sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:518)
>>>>          at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
>>>>          at sun.management.Agent.startAgent(Agent.java:260)
>>>>          at sun.management.Agent.startAgent(Agent.java:447)
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> org.apache.karaf.management.boot.KarafMBeanServerBuilder
>>>>          at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
>>>>          at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>>>>          at java.security.AccessController.doPrivileged(Native Method)
>>>>          at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
>>>>          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>>>          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>>>          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>>>          at
>>>> javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:446)
>>>>          at
>>>> javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:488)
>>>>          ... 9 more
>>>> Exception envoyée par l'agent : javax.management.JMRuntimeException:
>>>> Failed to load MBeanServerBuilder class
>>>> org.apache.karaf.management.boot.KarafMBeanServerBuilder:
>>>> java.lang.ClassNotFoundException:
>>>>   org.apache.karaf.management.boot.KarafMBeanServerBuilder
>>>> 
>>>> When launching with the cmd and .\bin\karaf.bat, I have a error but it
>>>> seems to be running:
>>>> karaf.bat: Ignoring predefined value for KARAF_HOME
>>>> Error starting karaf activator
>>>> org.apache.karaf.diagnostic.core.internal.Activator: Unknown signal: HUP
>>>>          __ __                  ____
>>>>         / //_/____ __________ _/ __/
>>>>        / ,<  / __ `/ ___/ __ `/ /_
>>>>       / /| |/ /_/ / /  / /_/ / __/
>>>>      /_/ |_|\__,_/_/   \__,_/_/
>>>> 
>>>>    Apache Karaf (4.0.0.M1)
>>>> 
>>>> Hit '<tab>' for a list of available commands
>>>> and '[cmd] --help' for help on a specific command.
>>>> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
>>>> 
>>>> karaf@root()>
>>>> 
>>>> Cheers,
>>>> 
>>>> --
>>>> Arnaud Vandyck
>>>> http://about.me/avdyk
>>> 
>>> -- 
>>> Jean-Baptiste Onofré
>>> [email protected]
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>> 
>> 
>> -- 
>> Arnaud Vandyck
>> http://about.me/avdyk

Reply via email to