AnsweredAssumed Answered

Activiti REST API with postgresql

Question asked by arag on Apr 11, 2016
Latest reply on Apr 26, 2016 by jbarrez
Hello i need help with the connection

I work with jboss, postgresql and java and i want to connect activiti with my db in postgres, the problem is that i must deploy the war archive in jboss but when i modify the content (add the postgresql driver jar) doesn't work

Error message

HTTP Status 404 - /activiti-rest/service/repository/deployments

What is the problem? I have the archive context.xml with my configuration and in the jboss log doesn't appear any kind of error message
only says:   "Register web context: /activiti-rest"

Please Help me

my configuration in context.xml is


<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/activiti-rest2">
    <Resource auth="Container"
              name="jdbc/activitiDB"
              type="javax.sql.DataSource"
              scope="Shareable"
              description="JDBC DataSource"
              url="jdbc:postgresql://localhost:5432/test"
              driverClassName="org.postgresql.Driver"
              username="postgres"
              password="d4rk7h3r10n"
              defaultAutoCommit="false"
              initialSize="5"
              maxWait="5000"
              maxActive="120"
              maxIdle="5"/>
</Context>

Outcomes