hi evry body,
i have problems when starting "hsqldb.server"; the server doasn't start
normaly, i have these error:
java.lang.NoClassDefFoundError
at org.hsqldb.persist.Logger.closeLog(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.Server.openDatabases(Unknown Source)
at org.hsqldb.Server.run(Unknown Source)
at org.hsqldb.Server.access$000(Unknown Source)
at org.hsqldb.Server$ServerThread.run(Unknown Source)
and when i try this example on eclipse
public static void main(String[] args) {
// TODO Auto-generated method stub
JbpmSessionFactory jbpmSessionFactory =
JbpmSessionFactory.buildJbpmSessionFactory();
jbpmSessionFactory.getJbpmSchema().createSchema();
JbpmSession jbpmSession = jbpmSessionFactory.openJbpmSession();
ProcessDefinition processDefinition =
ProcessDefinition.parseXmlString(
"<process-definition name='hello world'>" +
" <start-state name='start'>" +
" " +
" </start-state>" +
" " +
" " +
" " +
" <end-state name='end' />" +
"</process-definition>"
);
// Let's open a new persistence session
// ... and begin a transaction on the persistence
session
jbpmSession.beginTransaction();
// Save the process definition in the database
jbpmSession
.getGraphSession()
.saveProcessDefinition(processDefinition);
// Commit the transaction
jbpmSession.commitTransaction();
// And close the jbpmSession.
jbpmSession.close();
}
it give this message at the end and the execution stops
Initializing c3p0 pool... [EMAIL PROTECTED] [ connectionPoolDataSource ->
[EMAIL PROTECTED] [ acquireIncrement -> 1, acquireRetryAttempts -> 30,
acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable ->
null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0,
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false,
idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxIdleTime -> 0,
maxPoolSize -> 3, maxStatements -> 0, maxStatementsPerConnection -> 0,
minPoolSize -> 1, nestedDataSource -> [EMAIL PROTECTED] [ description -> null,
driverClass -> null, factoryClassLocation -> null, jdbcUrl ->
jdbc:hsqldb:hsql://localhost:1701, properties -> {user=******, password=******}
] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin
-> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies
-> false ] , factoryClassLocation -> null, numHelperThreads -> 3,
poolOwnerIdentityToken -> 1df8b99 ]
thank you for any help
Nassim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913504#3913504
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913504
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user