[JBoss jBPM] - Re: Error in Process Definition Deployment.
by Fornachari
Mputz
The structure of my application is correct, thank you.
I tried to use the hibernate.cfg.xml that you said (jbpm-console.war) and tried to intance my process like the java code I posted above, but I receivied the error "Could not find datasource"
But when I start the process from the jBPM Console, it works fine.
The differences from the hibernate.cfg.xml file that I was using from the hibernate.cfg.cml file that I tried now (the file that you said) are the following lines:
hibernate.cfg.xml that I was using - Receive the error: "couldn't find process definition NameofMyProcess'"
| <!-- JDBC connection properties (begin) -->
| <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
| <property name="hibernate.connection.url">jdbc:hsqldb:mem:jbpm</property>
| <property name="hibernate.connection.username">sa</property>
| <property name="hibernate.connection.password"></property>
| <!-- JDBC connection properties (end) -->
|
| <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
|
| <!-- DataSource properties (begin) ===
| <property name="hibernate.connection.datasource">java:/JbpmDS</property>
| ==== DataSource properties (end) -->
Hibernate.cfg.xml file that I tried now (jbpm-console.war) - Receive the error "Could not find datasource":
| <!-- JDBC connection properties (begin) ===
| <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
| <property name="hibernate.connection.url">jdbc:hsqldb:mem:jbpm</property>
| <property name="hibernate.connection.username">sa</property>
| <property name="hibernate.connection.password"></property>
| ==== JDBC connection properties (end) -->
|
| <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
|
| <!-- DataSource properties (begin) -->
| <property name="hibernate.connection.datasource">java:/JbpmDS</property>
| <!-- DataSource properties (end) -->
|
I just posted the differents lines between the two files, the other lines are the same for both files.
Any idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154006#4154006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154006
17 years, 11 months
[Beginners Corner] - Re: Installer versions, which one is for me???
by PeterJ
There four EAP 4.3 downloads are:
1) Application Platform 4.3.0.GA zip - binary zip file (this is what you want)
2) Application Platform 4.3.0.GA zip - the source zip file (unless you want to compile the app server from scratch, or like looking at code, ignore this)
3) Application Platform 4.3.0.GA installer - similar to the binary zip, but packaged as an installer
4) Application Platform 4.3.0.GA docs - the documentation (you want this)
Personally, I prefer using the binary zip over the installer. As far as I can tell, the installer produces the same set of files that you get if you unzip the binary zip, and then does a few extra things: it adds an entry to the Start menu (Windows and KDE); and it makes some tweaks on the configuration files (mainly security related). Now if the installer actually would set up the app server to run as a service the installer would be worthwhile, but you still have to do that yourself.
The other two entries you listed are the 4.2 version of EAP (CP01 and CP02 are essentially service pack 1 and 2, with each providing additional fixes). The primary difference between EAP 4.3 and 4.2 is that 4.3 contains JBoss Messaging instead of the older JBossMQ found in 4.2.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153995#4153995
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153995
17 years, 11 months