[jBPM Users] - Re: Deploying processes on Tomcat
by sebastian.s
Okay, it's me again:
Where and how can I make the HSQLDB server used in the demo setup bind to the actual IP address and not to localhost? The reason: I am trying to deploy remote.
I have done the following for a workaround: I stopped Tomcat and I changed the supplied start-up script to start the HSQLDB from
java -cp hsqldb.jar org.hsqldb.Server -address localhost -port 1701 -dbname.0 jbpmDatabase
to
java -cp hsqldb.jar org.hsqldb.Server -address 0.0.0.0 -port 1701 -dbname.0 jbpmDatabase
Then I started the HSQLDB server using the start script and I could deploy my process from the remote system. Afterwards I stopped the HSQLDB server and restarted Tomcat.
Where can I set the address to bind to when the server is started in/by Tomcat?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255242#4255242
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255242
16 years, 6 months
[jBPM Users] - Re: Deploying processes on Tomcat
by sebastian.s
The actual problem is that I don't succeed in deploying processes with the help of the ANT task. The tasks runs but it always deploys the processs to an in-memory database although I have specified the connection details in the build.xml file.
I have to say I am a bit confused because there are jdbc-properties and hibernate-properties. To be sure I set them both
| <property name="jdbc.driver" value="org.hsqldb.jdbcDriver"/>
| <property name="jdbc.url" value="jdbc:hsqldb:hsql://myserver.mydomain.de:1701"/>
| <property name="jdbc.username" value="sa"/>
| <property name="jdbc.password" value=""/>
|
| <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialec"/>
| <property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver"/>
| <property name="hibernate.connection.url" value="jdbc:hsqldb:hsql://myserver.mydomain.de:1701"/>
| <property name="hibernate.connection.username" value="sa"/>
| <property name="hibernate.connection.password" value=""/>
| <property name="hibernate.format_sql" value="true"/>
|
But obviously connection details are ignored:
| [jbpm-deploy] INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:.
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255229#4255229
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255229
16 years, 6 months