I downloaded the cerbergrid-0.50-BETA.tar to my local system , but could not move ahead as I did not see the windows compatible batch file .
I think most of the users are going to test this first with the windows .
I tried with the cygwin too but failed to get this working
Here is the error which I got
Vicky@D6XT8G1S /cygdrive/c/cerbergrid/cerbergrid-0.50-BETA.tar/cerbergrid-0.50-B
ETA/bin
$ ./run.sh
: command not found
: command not found
: command not found
'/run.sh: line 18: syntax error near unexpected token `{
'/run.sh: line 18: `warn() {
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I spend some time by manually setting the classpath in the windows batch but yet I am getting the error . Here is what I am running
*******************************************************************************************
C:\cerbergrid\cerbergrid-0.50-BETA.tar\cerbergrid-0.50-BETA\bin>run
C:\cerbergrid\cerbergrid-0.50-BETA.tar\cerbergrid-0.50-BETA\bin>C:\jdk\jdk1.6.0\
bin\java com.cerbergrid.test.CerberGridDemo
Exception in thread "Thread-0" java.lang.NullPointerException
at com.cerbergrid.CerberGridNode.main(CerberGridNode.java:92)
at com.cerbergrid.test.CerberGridDemo$1.run(CerberGridDemo.java:31)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-1" java.lang.NullPointerException
at com.cerbergrid.CerberGridController.main(CerberGridController.java:19
2)12:46:39,390 ERROR HibernateSession:<clinit>:46 - javax/persistence/Entity
at com.cerbergrid.test.CerberGridDemo$2.run(CerberGridDemo.java:36)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "main" java.lang.NullPointerException
at com.cerbergrid.HibernateSession.currentSession(HibernateSession.java:
55)
at com.cerbergrid.test.CerberGridDemo.main(CerberGridDemo.java:42)
set classpath=CerberGridController.jar;../lib/log4j-1.2.11.jar;../lib/hibernate3.jar;CerberGridNode.jar;../conf
set classpath=%classpath%;../lib/commons-lang-2.1.jar;../lib/hibernate-annotations.jar;../lib/dom4j-1.6.1.jar;../lib/commons-logging-1.0.4.jar;../conf/cerbergrid.properties;../conf/;../lib/mysql-connector-java-3.1.13-bin.jar
C:\jdk\jdk1.6.0\bin\java com.cerbergrid.test.CerberGridDemo
Let me know if I miss jar or it is a DB related issue .
Btw I have modified the Hibernate related properties file too .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=606789
Originator: YES
I tried with the cygwin too but failed to get this working
Here is the error which I got
Vicky@D6XT8G1S /cygdrive/c/cerbergrid/cerbergrid-0.50-BETA.tar/cerbergrid-0.50-B
ETA/bin
$ ./run.sh
: command not found
: command not found
: command not found
'/run.sh: line 18: syntax error near unexpected token `{
'/run.sh: line 18: `warn() {
Logged In: YES
user_id=606789
Originator: YES
I spend some time by manually setting the classpath in the windows batch but yet I am getting the error . Here is what I am running
*******************************************************************************************
C:\cerbergrid\cerbergrid-0.50-BETA.tar\cerbergrid-0.50-BETA\bin>run
C:\cerbergrid\cerbergrid-0.50-BETA.tar\cerbergrid-0.50-BETA\bin>set classpath=Ce
rberGridController.jar;../lib/log4j-1.2.11.jar;../lib/hibernate3.jar;CerberGridN
ode.jar;../conf
C:\cerbergrid\cerbergrid-0.50-BETA.tar\cerbergrid-0.50-BETA\bin>set classpath=Ce
rberGridController.jar;../lib/log4j-1.2.11.jar;../lib/hibernate3.jar;CerberGridN
ode.jar;../conf;../lib/commons-lang-2.1.jar;../lib/hibernate-annotations.jar;../
lib/dom4j-1.6.1.jar;../lib/commons-logging-1.0.4.jar;../conf/cerbergrid.properti
es;../conf/;../lib/mysql-connector-java-3.1.13-bin.jar
C:\cerbergrid\cerbergrid-0.50-BETA.tar\cerbergrid-0.50-BETA\bin>C:\jdk\jdk1.6.0\ bin\java com.cerbergrid.test.CerberGridDemo
Exception in thread "Thread-0" java.lang.NullPointerException
at com.cerbergrid.CerberGridNode.main(CerberGridNode.java:92)
at com.cerbergrid.test.CerberGridDemo$1.run(CerberGridDemo.java:31)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-1" java.lang.NullPointerException
at com.cerbergrid.CerberGridController.main(CerberGridController.java:19
2)12:46:39,390 ERROR HibernateSession:<clinit>:46 - javax/persistence/Entity
at com.cerbergrid.test.CerberGridDemo$2.run(CerberGridDemo.java:36)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "main" java.lang.NullPointerException
at com.cerbergrid.HibernateSession.currentSession(HibernateSession.java:
55)
at com.cerbergrid.test.CerberGridDemo.main(CerberGridDemo.java:42)
C:\cerbergrid\cerbergrid-0.50-BETA.tar\cerbergrid-0.50-BETA\bin>
**********************************************************************************
The run.bat contains the following entries
set classpath=CerberGridController.jar;../lib/log4j-1.2.11.jar;../lib/hibernate3.jar;CerberGridNode.jar;../conf
set classpath=%classpath%;../lib/commons-lang-2.1.jar;../lib/hibernate-annotations.jar;../lib/dom4j-1.6.1.jar;../lib/commons-logging-1.0.4.jar;../conf/cerbergrid.properties;../conf/;../lib/mysql-connector-java-3.1.13-bin.jar
C:\jdk\jdk1.6.0\bin\java com.cerbergrid.test.CerberGridDemo
Let me know if I miss jar or it is a DB related issue .
Btw I have modified the Hibernate related properties file too .
Logged In: YES
user_id=606789
Originator: YES
>>com.cerbergrid.HibernateSession.currentSession(HibernateSession.java:
>>55)
This is the cause of failure .....