programing

야생 비행에 전쟁 배치 19

iphone6s 2023. 10. 24. 20:15
반응형

야생 비행에 전쟁 배치 19

Wildfly 19에 전쟁 파일을 배포하려고 하는데 통신 장애 오류가 발생합니다.저는 며칠 동안 이 문제를 해결하려고 노력했지만 아무 성과가 없었습니다.Google 검색에서 의미있는 결과가 나오지 않았습니다 :-(. 주소를 localhost에서 127.0.0.1로 변경하는 등의 제안을 일부 시도해 보았지만 되지 않았습니다.아래는 제가 받는 오류입니다.

MariaDB 10으로 Synology (Diskstation)에 와일드플라이 19가 있습니다.PMProdDS라는 데이터 소스가 다음과 같이 연결 URL로 구성되어 있습니다.jdbc:mysql://localhost:3307/pmprod?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=America/Chicago

도와주셔서 감사합니다!!!

persistence.xml 파일은 다음과 같습니다.

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.2"
    xmlns="http://xmlns.jcp.org/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
    <persistence-unit name="portfoliomanager"
        transaction-type="JTA">
        <jta-data-source>java:/PMProdDS</jta-data-source>
        <!-- <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> -->
        <properties>
            <property name="hibernate.show_sql" value="false" />
            <property name="hibernate.dialect"
                value="org.hibernate.dialect.MySQL8Dialect" />
            <property
                name="javax.persistence.schema-generation.database.action"
                value="update" />
            <property name="hibernate.format_sql" value="false" />
        </properties>
    </persistence-unit>
</persistence>

아래는 제가 받는 오류입니다...

{"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"portfoliomanager.war#portfoliomanager\"" => "javax.persistence.PersistenceException: [PersistenceUnit: portfoliomanager] Unable to build Hibernate SessionFactory
    Caused by: javax.persistence.PersistenceException: [PersistenceUnit: portfoliomanager] Unable to build Hibernate SessionFactory
    Caused by: org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution
    Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/PMProdDS
    Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/PMProdDS
    Caused by: javax.resource.ResourceException: IJ031084: Unable to create connection
    Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    Caused by: java.net.ConnectException: Connection refused (Connection refused)"}}

언급URL : https://stackoverflow.com/questions/67246069/deploying-war-to-wildfly-19

반응형