[jboss-user] [JBoss jBPM] - Implement JBPM on WEBLogic and using DB2

momocha do-not-reply at jboss.com
Mon Sep 15 08:42:28 EDT 2008


hi all,

i have a problem implementing the jbpm on weblogic using db2 ...
i want to deploy the process definition ... with this class ...


	public static void main( String[] args ) {
		String processDef = args[0];
		ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource( processDef );
		JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
		try {
			jbpmContext.deployProcessDefinition(processDefinition);
		} finally {
			jbpmContext.close();
		}
	}


and the connection for the hibernate, i'm using the jndi ...

    	OFAPool
		t3://localhost:80
		weblogic.jndi.WLInitialContextFactory
    	org.hibernate.dialect.DB2Dialect


and here is the error ...

     [java] DEBUG - 15 Sep 2008 19:51:16,845:org.hibernate.jdbc.AbstractBatcher - closing statement
     [java] DEBUG - 15 Sep 2008 19:51:16,855:org.hibernate.util.JDBCExceptionReporter - could not execute query [select proce
ssdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME3_4_, processdef0_.DESCRIPTION_ as DESCRIPT4_4_, processdef0_.VERSION_ as VE
RSION5_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_, processdef0_.STARTSTATE_ as STARTSTATE7_4_ from JBPM_PROCESSD
EFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
     [java] java.sql.SQLException: [BEA][DB2 JDBC Driver][DB2]ILLEGAL SYMBOL ; VALID SYMBOLS ARE )





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176498#4176498

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176498



More information about the jboss-user mailing list