Discussion:
[jboss-user] [jBPM] - Re: some problems with jBpm5.3 using mysql
irshad mansuri
2013-04-26 11:51:50 UTC
Permalink
irshad mansuri [https://community.jboss.org/people/irs] created the discussion

"Re: some problems with jBpm5.3 using mysql"

To view the discussion, visit: https://community.jboss.org/message/810539#810539

--------------------------------------------------------------
Hi

1) you can follow the following article for mysql configuration, from *build.properties* section.

https://community.jboss.org/docs/DOC-48374 https://community.jboss.org/wiki/SetUpJBPM54FinalInstallerToUseMySQL-OrHowToRunSection37OfTheUserGuide

after changing the files you will have to fire the following command  "*ant install.db" * instead of  "*ant start.demo.db".*

2) For minimal environment you can deploy the war files available in the lib folder of the jbpm-installer. you can deploy "*jbpm-human-task-war-5.4.0.Final-EE6.war*" for human task implementation and "*jbpm-gwt-console-server-5.4.0.Final-EE6"* fro jbpm server engine.

*Regards,*
*Irshad
*
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810539#810539]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
dapeng king
2013-05-06 02:02:06 UTC
Permalink
dapeng king [https://community.jboss.org/people/dapengking] created the discussion

"Re: some problems with jBpm5.3 using mysql"

To view the discussion, visit: https://community.jboss.org/message/816116#816116

--------------------------------------------------------------
Hi
Firstly thanks a lot .
I followed your steps . But when I type in the command "ant install.db" , it did not work. The cmd console show me the message "Target 'install.db' does not exist in the project 'jBPM.install' ".Would you tell me how to do with it.
Wishes!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816116#816116]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
irshad mansuri
2013-05-06 09:58:32 UTC
Permalink
irshad mansuri [https://community.jboss.org/people/irs] created the discussion

"Re: some problems with jBpm5.3 using mysql"

To view the discussion, visit: https://community.jboss.org/message/816192#816192

--------------------------------------------------------------
Hi

Sorry for the late reply.
my mistake the cmd is "*ant install.db.files*". you can verify the command in your build.xml of the jbpminstaller. this target should be available in your build.xml.

Regards,
Irshad
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816192#816192]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
dapeng king
2013-05-06 12:14:39 UTC
Permalink
dapeng king [https://community.jboss.org/people/dapengking] created the discussion

"Re: some problems with jBpm5.3 using mysql"

To view the discussion, visit: https://community.jboss.org/message/816229#816229

--------------------------------------------------------------
Hi Irshad:
     Thanks a lot for your patience . I did as the link you give me above . After I changed all the files , I run the command " ant install.db.files" . And it showed me the "successful" msg . But If I want to start the JBoss , and run the sample attached in the jBpm5.4-final in the eclipse , what should I do?
     I looked up in the *build.xml* file , found that the Command Line "install.demo" just call the function "*install.jboss,install.db.files,install.guvnor.into.jboss,install.designer.into.jboss,install.jBPM-gwt-console.into.jboss,install.jBPM-ht.into.jboss,install.form.builder.into.jboss,install.eclipse,install.jBPM.runtime,install.droolsjbpm-eclipse.into.eclipse*" . Could I just change the command for example : I change it into "*install.jboss,install.db.files,install.jBPM-ht.into.jboss,install.eclipse,install.jBPM.runtime,install.droolsjbpm-eclipse.into.eclipse*" , Then run the command "ant install.demo" to install the environment for minimal ? But I did it , it did not work well ... ( after the install command , I can't start the jBoss . The log file tell me the war is deployed failed .)
     And then I reinstall all the jBpm5.4 . Changed all the files as the steps . And *did not* change the bulid.xml as I said above . This time I run "ant start.demo" , after the eclipse started , I imported the sample . But I can not run it . The console tells "Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5153&host=127-0-0-1" . And when I visited the jBPM Console in my web browser , it showed the msg as the pic.
Loading Image... Loading Image...
     I don't know what should I do ...

     Thanks again ,  And I feel very sorry to trouble you . Any help will be thankful !

Wishes!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816229#816229]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
irshad mansuri
2013-05-06 13:43:13 UTC
Permalink
irshad mansuri [https://community.jboss.org/people/irs] created the discussion

"Re: some problems with jBpm5.3 using mysql"

To view the discussion, visit: https://community.jboss.org/message/816260#816260

--------------------------------------------------------------
Hi

*"Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5153&host=127-0-0-1".* If you are getting this error after starting the process then you will have to start the human task server. For starting the humantask server you will have to run the follwing command "*ant start.human.task".*

For the minimal installation you can download the seprate war file and deploy them in to your web server.

Regards,
Irshad
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816260#816260]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
dapeng king
2013-05-06 14:11:38 UTC
Permalink
dapeng king [https://community.jboss.org/people/dapengking] created the discussion

"Re: some problems with jBpm5.3 using mysql"

To view the discussion, visit: https://community.jboss.org/message/816271#816271

--------------------------------------------------------------
Hi
     I already restart the jboss server . But it did not work ... Still unable to connect to the server . and I typed in the command "ant start.human.task" , it throwed exception ,showed that "jdbc driver not found" . But here is the situation if I use the default database like h2 . And use the command "ant install.demo" then "ant start.demo" , the sample project can work well .
     Anyway, it did help me a lot .Thanks all the same .
Wishes!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816271#816271]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
irshad mansuri
2013-05-07 07:32:05 UTC
Permalink
irshad mansuri [https://community.jboss.org/people/irs] created the discussion

"Re: some problems with jBpm5.3 using mysql"

To view the discussion, visit: https://community.jboss.org/message/816422#816422

--------------------------------------------------------------
Hi dapeng,

you can check if the driver is downloaded in your "installer/db/driver" path if not then you can place your driver in to that path and try it.
Hope this helps ...

Regards,
Irshad
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816422#816422]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...