Re: how to unload all processes from the engine (shark server) (with one command) (click)

Vojtech Huser <[email protected]> Wed, 24 Aug 2005 10:18:18 -0600
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
the latest official release. 1.1-2.
I have not changed anything in the config.properties
:-(

here is my file pasted:
# By setting up 'db loader job' entry, you are determining which DB will
# be used by shark after calling configure script (of course, other related
# entries must be set properly)

# java_home
jdk_dir=w:/jdk1.4

# database vendor, pick one of:
# db2, hsql, informix, msql, mysql, oracle, postgresql, sybase
db_loader_job=hsql

# directory containing JDBC driver jar/zip files
db_ext_dirs=

# leave this property value empty if you wanna use caches 
# otherwise you should set the value to start with '#'
use_cache=

# comma separated list of db vendors to perform test with
db_vendors2test = hsql, msql, mysql, oracle, postgresql

# DB2
db2_JdbcDriver=COM.ibm.db2.jdbc.app.DB2Driver
db2_Connection_Url=jdbc:db2:shark
db2_user=sa
db2_passwd=

# HypersonicSQL
hsql_JdbcDriver=org.hsqldb.jdbcDriver
hsql_Connection_Url=jdbc:hsqldb:w:/pf/shark09/db/hsql/hsql
hsql_user=sa
hsql_passwd=

# Informix
informix_JdbcDriver=com.informix.jdbc.IfxDriver
informix_Connection_Url=jdbc:informix-sqli://localhost/shark
informix_user=sa
informix_passwd=sa

# MSQL
msql_JdbcDriver=com.microsoft.jdbc.sqlserver.SQLServerDriver
msql_Connection_Url=jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=shark;SelectMethod=cursor
msql_user=sa
msql_passwd=sa

# MySQL
mysql_JdbcDriver=org.gjt.mm.mysql.Driver
mysql_Connection_Url=jdbc:mysql://localhost/shark
mysql_user=sa
mysql_passwd=sa

# Oracle
oracle_JdbcDriver=oracle.jdbc.driver.OracleDriver
oracle_Connection_Url=jdbc:oracle:thin:@localhost:1521:shark
oracle_user=sa
oracle_passwd=sa

# PostgreSQL
postgresql_JdbcDriver=org.postgresql.Driver
postgresql_Connection_Url=jdbc:postgresql://localhost/shark
postgresql_user=sa
postgresql_passwd=sa

# Sybase
sybase_JdbcDriver=com.ddtek.jdbc.sybase.SybaseDriver
sybase_Connection_Url=jdbc:sybase://localhost/shark
sybase_user=sa
sybase_passwd=sa


# don't touch these unless you know what are you doing :-)
external_rep=../repository/external
history_rep=../repository/internal/history
internal_rep=../repository/internal

enable_if4=#
enable_ntel=#





I reinstalled from schratch and still the same error.
Where the class should be
   [java] java.lang.NoClassDefFoundError: java/sql/Savepoint

In jdk dir or in Shark dir.
I will just add it to shark/lib....
but where can I find the proper .jar

I am in a dead point. I will have to go to old shark version. My shark
is full with junk processes and I can't get dir of them. :-(

Vojtech



On 8/23/05, Peter Niederlag <[email protected]> wrote:
> Hi,
> 
> Vojtech Huser schrieb:
> > Thank you.
> > but it still does not nuke it.
> > I get an error about class missing.
> > How can I fix that ?
> >
> 
> some wild guesses since it's already late here. ;)
> 
> mmmhhh, have you changed anything to your DB-Settings(for example chosen
> to select another DB-Driver)?
> 
> What version of shark are U running?
> 
> looks like you are trying to execute the hsql-db loaderjob.
> hslibs should be on classpath...but somehow can't be found?
> 
> what's in your #shark-root-dir#/config.properties:
> 
> ---snipp----
> # database vendor, pick one of:
> # db2, hsql, informix, msql, mysql, oracle, postgresql, sybase
> db_loader_job=hsql
> #db_loader_job=mysql
> 
> # directory containing JDBC driver jar/zip files
> db_ext_dirs=/usr/share/java
> 
> [...]
> # HypersonicSQL
> hsql_JdbcDriver=org.hsqldb.jdbcDriver
> hsql_Connection_Url=jdbc:hsqldb:/usr/local/shark/db/hsql/hsql
> hsql_user=sa
> hsql_passwd=
> 
> ---snapp-----
> 
> try to execute  #shark-root-dir#/configure.[sh/bat] again?
> 
> HtH,
> Peter
> --
> Peter Niederlag * Neuer Sandberg 9 * 31535 Neustadt *
> Fon 05036/924100 * Fax 05036/924105
> http://www.niekom.de * TYPO3 und EDV Dienstleistungen *
> http://www.clown-goli.de * Clown-Comedy-Jonglage-Animation *
> 
> 
> 
> 
> 
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> 
> 
>
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws