문제는 로그에이 라인 이후에 발생 :
INFO: HHH000227: Running hbm2ddl schema export
INFO: HHH000230: Schema export complete
INFO: HHH000030: Cleaning up connection pool [jdbc:hsqldb:mem:richfaces_showcase]
그래서, 내가 문제가 richfaces-showcase
에 의한 추측, Hibernate가 연결 풀을 정리하기 위해 시도 할 때.
어쨌든 richfaces-showcase
을 사용하지 않는 경우 (아마도 그렇지 않을 수도 있음) 종속성에서 제외하여 아무런 문제가 발생할 수 없습니다.를 빼고 포함 된 종속
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces-distribution</artifactId>
<version>4.3.2.Final</version>
<type>zip</type>
</dependency>
, :
+- org.richfaces.ui:richfaces-components-api:jar:4.3.2.Final:compile +- org.richfaces.ui:richfaces-components-ui:jar:4.3.2.Final:compile +- org.richfaces.core:richfaces-core-api:jar:4.3.2.Final:compile +- org.richfaces.core:richfaces-core-impl:jar:4.3.2.Final:compile +- org.richfaces.examples:richfaces-showcase:war:tomcat6:4.3.2.Final:compile +- org.richfaces.archetypes:richfaces-archetype-simpleapp:jar:4.3.2.Final:compile
는 그냥 richfaces-distribution
의존성을 대체하십시오 dependency:tree
목표를 실행하여 , 당신은 richfaces-distribution
는 다음이 포함되어 있는지 볼 수 있습니다 richfaces-showcase
:
<dependency>
<groupId>org.richfaces.core</groupId>
<artifactId>richfaces-core-impl</artifactId>
<version>4.3.3.Final</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-components-api</artifactId>
<version>4.3.3.Final</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-components-ui</artifactId>
<version>4.3.3.Final</version>
</dependency>
<dependency>
<groupId>org.richfaces.core</groupId>
<artifactId>richfaces-core-api</artifactId>
<version>4.3.3.Final</version>
</dependency>
문제를 해결하는 또 다른 식으로 richfaces-showcase
에 대한 최대 절전 모드 설정을하는 것 (을하지만이의 확실하지 않다, 그것은 단지 가정이다). (GlassFish 서버 때문에 이것이 필요하다고 생각합니다. richfaces 배포의 기본 구성은 Tomcat 용입니다 : org.richfaces.examples:richfaces-showcase:war:tomcat6:4.3.2.Final:compile
). 포장 트리를 보여
전쟁은 내가 그것을 pom.xml 파일 – mebada
도움이 될 것입니다 전쟁에서 온 콘텐츠 –
내가 u는 특정 폴더 필요하면 말해, 나는 또한 전쟁의 내용을 포함하여 전쟁 – mebada