AnsweredAssumed Answered

Where can i get the org.h2.tools.server class

Question asked by valarmathi on Sep 14, 2012
Latest reply on Oct 25, 2013 by trademak
Hi,

I used to run the setup file from the command prompt.I'm using this command ant demo.start ,i got the H2 and tomcat server started message in the command prompt,but i can't get the url in the browser 

http://localhost:8080/activiti-explorer  -while using the url from the browser i got the error message like

"The requested resource (/activiti-explorer) is not available.".In the command prompt i got the error message like

D:\activiti-5.9\setup>ant demo.start
Buildfile: D:\activiti-5.9\setup\build.xml

demo.install:

internal.cfg.create:
     [copy] Copying 1 file to D:\activiti-5.9\setup\build\activiti-cfg
      [zip] Building zip: D:\activiti-5.9\setup\build\activiti-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/m
ain/config
    [unzip] Expanding: D:\activiti-5.9\setup\build\activiti-cfg.jar into D:\acti
viti-5.9\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

internal.taskdef.launch:

h2.start:
     [echo] starting H2 database…
   [launch] launching cmd 'D:\activiti-5.9\apps\h2\h2.start.bat ' in dir 'D:\act
iviti-5.9\apps\h2'
  [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   java.lang.NoClassDefFoundError: org/h2/tools/Server
   [launch]   Caused by: java.lang.ClassNotFoundException: org.h2.tools.Server
   [launch]     at java.net.URLClassLoader$1.run(Unknown Source)
   [launch]     at java.security.AccessController.doPrivileged(Native Method)
   [launch]     at java.net.URLClassLoader.findClass(Unknown Source)
   [launch]     at java.lang.ClassLoader.loadClass(Unknown Source)
   [launch]     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   [launch]     at java.lang.ClassLoader.loadClass(Unknown Source)
   [launch]   Could not find the main class: org.h2.tools.Server.  Program will
exit.
   [launch]   Exception in thread "main"

   [launch] launched process completed
     [echo] H2 database started

tomcat.start:
   [launch] launching cmd 'D:\activiti-5.9\apps\apache-tomcat-6.0.32\bin\startup
.bat ' in dir 'D:\activiti-5.9\apps\apache-tomcat-6.0.32\bin'
   [launch] waiting for launch completion msg 'Using CLASSPATH:'…
   [launch]   D:\activiti-5.9\apps\apache-tomcat-6.0.32
   [launch]   Using CATALINA_BASE:   "D:\activiti-5.9\apps\apache-tomcat-6.0.32"

   [launch]   Using CATALINA_HOME:   "D:\activiti-5.9\apps\apache-tomcat-6.0.32"

   [launch]   Using CATALINA_TMPDIR: "D:\activiti-5.9\apps\apache-tomcat-6.0.32\
temp"
   [launch]   Using JRE_HOME:        "C:\Program Files\Java\jre6"
   [launch]   Using CLASSPATH:       "D:\activiti-5.9\apps\apache-tomcat-6.0.32\
bin\bootstrap.jar"

explorer.browser.open:

demo.start:

BUILD SUCCESSFUL
Total time: 6 seconds



Please help me out how can i use the org.h2.tools.server class.Is this a batch file or java class what it is .please explain this one.

Thanks,
Valarmathi P

Outcomes