ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | shark List | September 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [shark] can we user hibernater in shark 1.0 release?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Vladimir Puskas wrote:
| Hello Stephane
|
| on Wed, 2004-09-22 at 18:49, you wrote:
|
|>Vladislav Pernin wrote:
|>|
|>| That is a pity that nobody maintened them, and actually I do not have 
time to
|>| implement each modification that are introduced to the interface.
|
|
| I couldn't agree more, Shark *almost* got alternative db layer, but...
| Vladislav has finished his work (on hibernate implementation) before we
| did finished interface... :(
| At that time Shark was *beta*, and we were extensively changing things
| (interfaces included). Now, as version 1.0 is released, I doubt
| interfaces will change that much :).
|

Ok, this is good news then.

|
|>Yes.  I'm also in favor of hibernate as it's widely used and understandable.
|>I'm not able to build Shark from the source because DODS ant task crashes.
|>Don't know why; don't know where to look at;...
|
|
| Can you share with us, what's the problem with DODS generator? We should
| fix it anyways. How does it crash?
|

I'm not able to reproduce the crash I've observed with the dods ant target.

I'm having the following error:

/opt/advance/bpm/shark-1.0/build.xml:507: The following error occurred while 
executing this line:
/opt/advance/bpm/shark-1.0/build.xml:520: The following error occurred while 
executing this line:
/opt/advance/bpm/shark-1.0/input/build/moduletargets.xml:11: The following 
error occurred while
executing this line:
/opt/advance/bpm/shark-1.0/input/build/moduletargets.xml:14: The following 
error occurred while
executing this line:
/opt/advance/bpm/shark-1.0/input/build/dodstargets.xml:11: DODS_HOME not set

and I've defined DODS_HOME in build.properties, ANT_ARGS and also as a 
<property> in
the XML files.  The variable is correctly taken into account by ant but 
persist not to be
seen by the ant task.

- ----- ant -v extract
makedodsnodoc:
Override ignored for property DODS_HOME
~      [ant] Exiting 
/opt/advance/bpm/shark-1.0/modules/SharkUtilities/DODS/build.xml.
~  [antcall] Exiting 
/opt/advance/bpm/shark-1.0/modules/SharkUtilities/build.xml.
~      [ant] Exiting 
/opt/advance/bpm/shark-1.0/modules/SharkUtilities/build.xml.
~  [antcall] Exiting /opt/advance/bpm/shark-1.0/build.xml.

BUILD FAILED
/opt/advance/bpm/shark-1.0/build.xml:507: The following error occurred while 
executing this line:
/opt/advance/bpm/shark-1.0/build.xml:520: The following error occurred while 
executing this line:
/opt/advance/bpm/shark-1.0/input/build/moduletargets.xml:11: The following 
error occurred while
executing this line:
/opt/advance/bpm/shark-1.0/input/build/moduletargets.xml:14: The following 
error occurred while
executing this line:
/opt/advance/bpm/shark-1.0/input/build/dodstargets.xml:33: DODS_HOME not set
~        at 
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
~        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
~        at 
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
~        at org.apache.tools.ant.Task.perform(Task.java:364)
~        at 
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)

- -----

|
|>With hibernate it would have been easier.
|>How difficult is it to resurect the hibernate part?
|>
|>Can you quantify the changes you made on the DODS side and that were not
|>taken into account?
|>
|>Depending on the complexity, I may have a look at that.
|
|
| In HibernatePersistentManager there are exactly six (6) methods throwing
| PersistenceException("Not implemented yet!"). Also Buffer has been
| changed in the meantime.
| As for the bug we saw originally, there are problems with restoring
| process/activity variables (read: BLOB columns) from database, but we
| didn't investigate further.
|
| I would recommend to go component at a time. There are eight separate
| database components, but most important are InstancePersistence, buffer
| and counter (SharkUtilities/Hibernate).
|
| If you decide to do it (or anybody else), we'll help you as much as we
| can.
|
| regards
|

Ok.  This will help me a lot.

I was able to build shark with hibernate support.  It's a first step.

1/ I had to remove all DODS references from ant targets as it would not build
in my environment.
I don't know yet how to conditionally build DODS or Hibernate.

2/ The hibernate configuration files have an hard-coded configuration
for the database (postgres) and user account.  This makes the database
setting very difficult to set during deployment.  So, I had to remove
the DB settings (I'm using mysql) and the DB should probably be set
in a global properties file.

regards,

Stephane

- --
                Stephane Carrez
                Research & Development
SOLSOFT
                Phone:  +33 1 47 15 55 00
                Fax:    +33 1 47 15 55 09
                Email:  Stephane.Carrez@xxxxxxxxxxx
_________________________________________________
~      How secure networks are managed.
_________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBWU0sr4j+vqCKdwERAuHaAKCPBTwyGcAmCaWDDl3Hm0Jo3wFH4wCgtH1E
rbFkQAxXn0xtel7uotItkDw=
=/Dmn
-----END PGP SIGNATURE-----




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.