[jboss-user] [JBoss jBPM] - deploying bpel as a service in jboss

asmaSediki do-not-reply at jboss.com
Mon Apr 16 04:36:43 EDT 2007


hi
i'm trying to deploy bpel as a service in jboss but i have always some errors when i try to run jboss.
i specified the default datasource described in jbpm-bpel-ds.xml as my datasource
<jndi-name>JbpmBpelDS</jndi-name> 
  |   <connection-url>jdbc:hsqldb:C:\dev\jboss-4.0.4.GA\server\default\data\hypersonic\JbpmBpel</connection-url> 
  |   <driver-class>org.hsqldb.jdbcDriver</driver-class> 
  |   <user-name>sa</user-name> 
  |   <password /> 
  |   <min-pool-size>5</min-pool-size> 
  |   <max-pool-size>20</max-pool-size> 
  |   <idle-timeout-minutes>0</idle-timeout-minutes> 
  | - <!--   <check-valid-connection-sql>SELECT 1</check-valid-connection-sql> 
  |   --> 
  |   <track-statements /> 
  |   </local-tx-datasource>
  |   </datasources>

then i created a session factory using eclipse
i customized build.properties 
and in hibernate.cfg.xml 
 
  | <?xml version='1.0' encoding='utf-8'?>
  | <!DOCTYPE hibernate-configuration PUBLIC
  |           "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  |           "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  | <hibernate-configuration>
  | 
  | <session-factory>
  | 
  | <property name="hibernate.session_factory_name">java:comp/hibernate/SessionFactory</property> 
  | 
  | <!-- SQL dialect 
  | <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property> -->
  | <!-- DataSource properties (begin) -->
  | <property name="hibernate.connection.datasource">
  | java:/JbpmBpelDS </property>
  | <property name="hibernate.hbm2ddl.auto">update</property>
  | <property name="hibernate.cache.provider_class">
  | org.hibernate.cache.EhCacheProvider </property>
  | <!-- DataSource properties (end) -->
  | 
  | <!-- JTA transaction properties (begin) -->
  | <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
  | <property name="jta.UserTransaction">java:comp/UserTransaction</property>
  | 	<!--  JTA transaction properties (end) -->
  | 
  | <property name="jndi.url">C:\dev\jboss-4.0.4.GA\server\default\deploy\JbpmBpelDS</property>
  | 
then i specified mapping files

could you please indicate me step by step how to configure all this files and what i can change in jboss configuration to deploy seccussfully bpel as a service?
thinks for help

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

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



More information about the jboss-user mailing list