[jBPM] - How do I install jBPM into jBOSS 7.1 (Windows)?
by Al Koch
Al Koch [https://community.jboss.org/people/alkoch] created the discussion
"How do I install jBPM into jBOSS 7.1 (Windows)?"
To view the discussion, visit: https://community.jboss.org/message/833756#833756
--------------------------------------------------------------
Hello,
I have used the jBPM Installer Full to get some familiarity with jBPM and I now need to install JBoss and jBPM on a "production" system. That means I need just these two items and none of the other "demo" items installed by the Full Installer.
I installed (under Windows 7) JBoss 7.1.1 by downloading jboss-as-7.1.1.Final.zip from http://www.jboss.org/jbossas/downloads/ http://www.jboss.org/jbossas/downloads/ and then unzipped jboss-as-7.1.1.Final.zip to get the jboss-as-7.1.1.Final folder which I placed under C:\Program Files. I can launch the server with standalone.bat and I am able to access the Management Console so all indications are that it is running. (The "DOS Box" console shows no errors as well.)
I have tried to deploy jBMP in a couple of different ways:
1) With the server shutdown, I copied the six .war files (designer.war, drools-guvnor.war, jbpm-form-builder.war, jbpm-gwt-console.war, jbpm-gwt-console-server.war and jbpm-human-task-war.war) from the .\standalone\deployments folder that was created buy the Full Installer and placed them in the same folder of the new JBoss installation. I then launched JBoss and the console showed numerous errors as it detected and tried to deploy each .war. Once the "deployment process" completed the jBPM server was not running.
2) I downloaded jbpm-5.4.0.Final-gwt-console.zip from http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/ http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/. As above, I placed jbpm-gwt-console-server-5.4.0.Final-EE6.war in the .\standalone\deployments folder and started JBoss. I again got numerous errors which started with:
12:57:06,500 INFO [org.jboss.as.connector.subsystems.datasources] (MSC servicethread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
12:57:06,516 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "jbpm-gwt-console-server-5.4.0.Final-EE6.war"
12:57:14,157 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/C:/Program Files/jboss-as-7.1.1.Final/bin/content/jbpm-gwt-console-server-5.4.0.Final-EE6.war/WEB-INF/lib/jaxb-impl-2.2.5.jar" does not point to a valid jar for a Class-Path reference.
12:57:14,157 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/C:/Program Files/jboss-as-7.1.1.Final/bin/content/jbpm-gwt-console-server-5.4.0.Final-EE6.war/WEB-INF/lib/jaxb-impl-2.2.5.jar" does not point to a valid jar for a Class-Path reference.
...
3) Finally, I tried using the "Deploy" feature in the console. The "Deployment" seemed to go OK but when I tried to Enable I got a "Processing" message that never closed.
My questions are:
1) How do I deploy just JBoss and jBPM (not the Full Install/Demo)? I cannot locate any instructions for doing this; can you point me to documentation for this?
2) I am trying to locate the "source" of the six .War files installed by the Full Installer. I' guessing that the following might be correct:
Full Installer
jbpm-gwt-console.war jbpm-5.4.0.Final-gwt-console.zip @ http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/ http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/
jbpm-gwt-console-server.war "
jbpm-human-task-war.war jbpm-5.4.0.Final-human-task-war.zip @ http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/ http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/
designer.war designer @ http://sourceforge.net/projects/jbpm/files/ http://sourceforge.net/projects/jbpm/files/
jbpm-form-builder.war ???
jbpm-gwt-console.war ???
Is the above correct and where do the last two come from? Further, how do these relate to the various files in jbpm-5.4.0.Final-bin.zip?
3) jbpm-5.4.0.Final-gwt-console.zip from http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/ http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.4.0.Final/ contains the two files jbpm-gwt-console-server-5.4.0.Final-AS5.war and jbpm-gwt-console-server-5.4.0.Final-EE6.war. What are these two?
Thank you.
Al
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833756#833756]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months
[jBPM] - Can't get jbpm-5.4.0.Final-installer-full.zip to be working properly from fresh installation
by Corpsus Vitale
Corpsus Vitale [https://community.jboss.org/people/corpsusvitale] created the discussion
"Can't get jbpm-5.4.0.Final-installer-full.zip to be working properly from fresh installation"
To view the discussion, visit: https://community.jboss.org/message/833675#833675
--------------------------------------------------------------
I have been trying to get JBPM 5.4.0 installed and running for a couple of days now without any luck. I'm seriously disappointed that this installation doesn't simply work out of the box. It obviously results in a lot of frustration and moreover might result in passing on JBPM for my project. For now I'm still very much keen on getting things up and running but I need help.
So today I decided to start from scratch again. I downloaded jbpm-5.4.0.Final-installer-full.zip and started a clean installation. I did change the download location for eclipse since the url is obviously still wrong in the installer (see others posts). So here's what I did:
- download jbpm-5.4.0.Final-installer-full.zip
- unzip into D:\jbpm-installer
- edited build.xml to set the download location of eclipse to the proper URL
- start installation: ant install.demo
The installation finished without problems. So far so good. But when I start with 'ant start.demo', the server.log lists a load of errors and warnings. I've attached server.log and boot.log from after the clean install and first startup.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833675#833675]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months
[Datasource Configuration] - Fedora vs Windows 7 MySql Driver
by paul arber
paul arber [https://community.jboss.org/people/paularber] created the discussion
"Fedora vs Windows 7 MySql Driver"
To view the discussion, visit: https://community.jboss.org/message/833591#833591
--------------------------------------------------------------
I am running jobss eap 6.1, and develop on my desktop and would like to have a server where I install checkpoint relases. The desktop runs Windows 7, Jboss eap 6.1 and has a MySql datasource configured to use MySql on a remote server, all is working well. I installed Jboss eap 6.1 on Fedora 19 and attempted to configure the same MySql datasource but when I start Jboss I get:
12:40:00,555 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 31) JBAS014613: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("jdbc-driver" => "mysql")
]) - failure description: "JBAS010441: Failed to load module for driver [com.mysql]"
On both systems I installed MySql jdbc driver as a module in JBOSS/module/com/mysql/main. I have the same module.xml and the same <driver> definitions but on Fedora I get the above error. I have searched the net for similar issues, searched my definitions for any differences in the deployment and I have not found any solution. Has anyone come across this problem?
standalone-full.xml
...
<datasource jndi-name="java:jboss/datasources/myDS" pool-name="myDS" enabled="true" use-java-context="true">
<connection-url>jdbc:mysql://192.168.1.201:3306/jboss</connection-url>
<driver>mysql</driver>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<pool>
<min-pool-size>2</min-pool-size>
<max-pool-size>10</max-pool-size>
</pool>
<security>
<user-name>jboss</user-name>
<password>jboss</password>
</security>
<statement>
<prepared-statement-cache-size>100</prepared-statement-cache-size>
<share-prepared-statements/>
</statement>
</datasource>
<drivers>
<driver name="h2" module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
<driver name="mysql" module="com.mysql">
<driver-class>com.mysql.jdbc.Driver</driver-class>
</driver>
</drivers>
...
module.xml
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="com.mysql">
<resources>
<resource-root path="mysql-connector-java-5.1.25-bin.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833591#833591]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months