简体   繁体   English

在GlassFish中部署应用程序时出现问题

[英]Problem While Deploying Application in GlassFish

I have to deploy an application named "mrs-ws-server.war" in glassfish. 我必须在glassfish中部署一个名为“ mrs-ws-server.war”的应用程序。 I did it using both : 我做到了两个:

1) Package File to be uploaded to the server 2) Local package File or Directory 1)要上传到服务器的软件包文件2)本地软件包文件或目录

at the address : http://localhost:42328/common/index.jsf 地址: http:// localhost:42328 / common / index.jsf

It generates the following error : 它产生以下错误:

Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection

What should be the solution for the same ? 相同的解决方案应该是什么?

There are a number of possible root causes . 许多可能的根本原因 Is there more information in the server log that might help someone help you? 服务器日志中是否有其他信息可以帮助某人帮助您?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM