Error while setting up posgres database for jBPM standalone application

47 views
Skip to first unread message

Joji Joy

unread,
Mar 17, 2025, 1:05:39 AMMar 17
to jBPM Usage
I am trying to run standalone.bat file after changing my datasource to postgres as described in readme.txt that comes with installation.

I am using the driver jar that comes with the jbpm.

Exception is attached as txt file.


PostGresSQL_SetUp_Exception.txt

Joy, Joji

unread,
Mar 18, 2025, 4:40:05 AMMar 18
to ganesh bambal, jbpm-...@googlegroups.com
Hey Ganesh,

This worked. Why is module version 1.1 BTW any idea?

Following module config worked for me. Adding it for others if they are facing the same issue.

jBPM version: 7.74.1
postgresql jar version : 42.3.4

<?xml version="1.0" encoding="UTF-8"?>

<module xmlns="urn:jboss:module:1.1" name="org.postgres">
    <resources>
        <resource-root path="postgresql.jar"/>
    </resources>
    <dependencies>
        <module name="javax.api"/>
        <module name="javax.transaction.api"/>
    </dependencies>
</module>

Rest everything is same and have update the standalone.xml to use postGre.
Connection is established now.
Thanks.

On Tue, Mar 18, 2025 at 9:58 AM ganesh bambal <ganeshb...@gmail.com> wrote:
copy the driver for postgres past in jbpmhome\modules\system\layers\base\com\ postgres\main folder.
create a module.xml at the location ( jbpmhome\modules\system\layers\base\com\ postgres\main) with below content.
and restart.
<?xml version='1.0' encoding='UTF-8'?>

<module xmlns="urn:jboss:module:1.1" name="com.mysql">

    <resources>
        <resource-root path="postgresql.jar"/>
    </resources>

    <dependencies>
        <module name="javax.api"/>
        <module name="javax.transaction.api"/>
    </dependencies>
</module>

pls provide the standalone.xml for if this dont work.

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jbpm-usage/d12b4c2d-f44e-4093-8cb7-83db5b97e125n%40googlegroups.com.


--
Regards,
Joji Joy

SDE-III, Network Ops - VDSI


Reply all
Reply to author
Forward
0 new messages