Error 1920 during installation (VCM)

marcin.macioszczyk's Avatar

marcin.macioszczyk

08 Mar, 2010 11:39 AM via web

I'm trying to install vcm and have the following problem. At the end of installation process, error 1920 occures. Attached wrapper.log entries and screenshot of error msg. Operating system message in wrapper.log says "cannot find file".

java_home is set to: JAVA_HOME=d:\java\jdk1.6.14

  1. 2 Posted by stewartmckee on 08 Mar, 2010 11:51 AM

    stewartmckee's Avatar

    Hi,

    Not sure what the actual error is, but it looks like it is unable to use the java environment. Can you check that the environment variable %JAVA_HOME% points to the correct Java Runtime Environment for the user that is running the ActiveMQ Service. This is probably fine as the service installs to run under system, but its something to check.

    Another thing to try would be to run the command in wrapper.log manually to see if any other errors appear.

    thanks,
    Stewart.

  2. 3 Posted by marcin.macioszczyk on 08 Mar, 2010 12:56 PM

    marcin.macioszczyk's Avatar

    Hi,

    I run the command "%JAVA_HOME%\bin\java" -Dprogram.name=ActiveMQ -Dcom.sun.management.jmxremote -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dderby.system.home="../activemq-data" -Dderby.storage.fileSyncTransactionLog=true -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore="../conf/broker.ks" -Djavax.net.ssl.trustStore="../conf/broker.ts" -Dactivemq.home=".." -Dactivemq.base=".." -Xms128m -Xmx512m -Djava.library.path=""../lib"" -classpath ""../lib/wrapper.jar";run.jar" -Dwrapper.key="lEarfbm34_di82DA" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=3712 -Dwrapper.version="3.2.0" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp org.apache.activemq.console.Main start

    manually inside C:\vamosa\activemq\bin folder and then the output:

    "Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org"

    was shown and... hangs for 1h. Nothing happens.

  3. 4 Posted by stewartmckee on 08 Mar, 2010 01:59 PM

    stewartmckee's Avatar

    Hi,

    Firstly, if you could check all the paths make sense from where you are running the command from to make sure the command is fine. Secondly, if you could run activemq.bat from the activemq\bin folder, which will run it manually. If that does not run then there must be something wrong in the environment that is stopping it running, possibly permissions, ip port conflicts, etc. Once it has ran manually, you can check the log to see if there are any errors that are not reported on the command prompt.

    Stewart.

  4. 5 Posted by marcin.macioszczyk on 08 Mar, 2010 02:58 PM

    marcin.macioszczyk's Avatar

    Solved. Really strange: I changed the line:

    wrapper.java.command=%JAVA_HOME%/bin/java

    in the file C:\vamosa\activemq\bin\activeMQWrapper.conf

    to:

    wrapper.java.command=d:/java/jdk1.6.14/bin/java

    (my JAVA_HOME points to d:/java/jdk1.6.14) and now it is installing fine. I've got no idea why it's not working with variable, but luckily problem solved.

    thanks,
    marcin

  5. 6 Posted by stewartmckee on 08 Mar, 2010 03:36 PM

    stewartmckee's Avatar

    Hi,

    Good to hear, could it be that the JAVA_HOME env variable is set as a user variable?

    Stewart

  6. 7 Posted by marcin.macioszczyk on 08 Mar, 2010 03:44 PM

    marcin.macioszczyk's Avatar

    Hmmm, you are right :) It's set as a user variable.

    thanks,
    marcin

  7. stewartmckee closed this discussion on 08 Mar, 2010 04:12 PM.

Comments are currently closed for this discussion. You can start a new one.