cancel
Showing results for 
Search instead for 
Did you mean: 

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

valarmathi
Champ in-the-making
Champ in-the-making
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
14 REPLIES 14

jbarrez
Star Contributor
Star Contributor
That class exists within the h2 jar. It should be in the setup/dependencies/lib folder.

valarmathi
Champ in-the-making
Champ in-the-making
That class is there in setup/dependencies/lib folder ,but i got the same error.

I will tell the what are all the steps i followed

copy the h2 and tomcat 6.0.32 files from setup/apps folder ,then run the command ant demo.start

i can't open the activiti-explorer -but H2 and tomcat server is started.

valarmathi
Champ in-the-making
Champ in-the-making
Hi,
The activiti version 5.10 i got the org.h2.tools.server class file,i didnt get any error in the command prompt.But browser i can't open the activiti explorer ,i got the below error

" The requested resource (/activiti-explorer) is not available."Please anyone help me out.

Thanks,
Valarmathi P

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Then activiti is not started… Look in yor server log

valarmathi
Champ in-the-making
Champ in-the-making
In tomcat server it will deployed all the activiti applications,but explorer not working.

After starting the tomcat server in the command prompt  i got the below lines

Sep 17,2012 2:48:21 PM org.apache.catalina.session.ManagerBase processExpires
FINE: End expire sessions StandardManager processingTime 0 expired sessions :0

i don't know why i'm getting the message.

Please help me out.

Thanks,
Valarmathi P

jbarrez
Star Contributor
Star Contributor
That log message doesn't indicate anything related to Activiti.

Just to be sure: did you try a new download of activiti and re-do the setup?
I've really got no clue why it is not working as expected at this point …

valarmathi
Champ in-the-making
Champ in-the-making
Hi,

While running the ant demo.start command,i'm getting the apache-tomcat-6.0.32.zip file.but i can't extract the file(while extracting asking for password and key file).What should i do.Please help me.

Thanks,
Valarmathi P

jbarrez
Star Contributor
Star Contributor
That sounds seriously screwed up?
Are you running it behind some secured proxy or whatever? I never heard of people needing to give a password when extracting the tomcat zip

valarmathi
Champ in-the-making
Champ in-the-making
hi,

I'm not running any secured proxy server.I'm using normal machine.I don't know why i'm getting like this.I'm again download the activiti file and check it.