Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

wildfly deployment error: mvn -DskipTests install fails with v4.3 #56

Description

@ilarimikkonen

versions in use:

postgres: psql (PostgreSQL) 10.5 (Ubuntu 10.5-0ubuntu0.18.04)
java: openjdk version "1.8.0_181"
maven: Apache Maven 3.5.2

others are as in here: https://github.com/afimb/chouette/tree/V3_4

error: when doing mvn -DskipTests install, there is an error:

[INFO] chouette_iev ....................................... FAILURE [01:15 min]

going further, when trying:
sudo ./jboss-cli.sh --connect --command="deploy /home/ilari/GTFS/chouette/chouette/chouette_iev/target/chouette.ear"

Result:

ilari@scrappy:/opt/wildfly-8.2.0.Final/bin$ sudo ./jboss-cli.sh --connect --command="deploy /home/ilari/GTFS/chouette/chouette/c houette_iev/target/chouette.ear"
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.subunit."chouette.ear"."mobi.chouette.service.jar".component.Scheduler.START" => "org.jboss .msc.service.StartException in service jboss.deployment.subunit."chouette.ear"."mobi.chouette.service.jar".component.Schedul er.START: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
Caused by: javax.ejb.EJBTransactionRolledbackException: JBAS011048: Failed to construct component instance
Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
Caused by: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.GenericJDBCException: Could not open connect ion
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Could not open connection
Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jbos s/datasources/iev
Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/iev
Caused by: javax.resource.ResourceException: Could not create connection
Caused by: org.postgresql.util.PSQLException: This ResultSet is closed."}}}}

I tried to follow the instructions as well as I could.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions