webservice consumption works correctly in Tomcat but fails in WebLogic 12c

0

I have managed to consume a service using jax-ws , when I deployed to tomcat everything worked correctly, but when I deployed in weblogic everything works fine until I try to consume the service and throws the following error:

  

could not commit jpa transaction; nested exception is javax.persistence.rollbackexception

Do you need any additional settings to display in weblogic?

I have created this file weblogic.xml within the folder WEB-INF but still the service still does not respond on the weblogic server. This is my code:

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd">
<jsp-descriptor>
<keepgenerated>true</keepgenerated>
<debug>true</debug>

</jsp-descriptor>
<container-descriptor>
<prefer-application-packages>
  <package-name>org.slf4j</package-name>
  <package-name>c3p0</package-name>
  <package-name>antlr.*</package-name>
  <package-name>com.ctc.wstx.*</package-name>
  <package-name>org.apache.*</package-name>
  <package-name>org.springframework.*</package-name>
</prefer-application-packages>

<show-archived-real-path-enabled>true</show-archived-real-path-enabled>
</container-descriptor>
<context-root>/sibad</context-root>
</weblogic-web-app>

Any ideas on how to administer it?

    
asked by Fabian Vera Sanchez 03.12.2018 в 16:50
source

0 answers