Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/364.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java JBoss服务器错误_Java_Jboss - Fatal编程技术网

Java JBoss服务器错误

Java JBoss服务器错误,java,jboss,Java,Jboss,当我启动服务器时,会发生错误 DEPLOYMENTS IN ERROR: Deployment "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" is in error due to the following reason(s): Instantiated Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is in error due to t

当我启动服务器时,会发生错误

DEPLOYMENTS IN ERROR:
  Deployment "interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory" is in error due to the following reason(s): Instantiated
  Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is in error due to the following reason(s): java.net.ConnectException: Connection refused: connect
  Deployment "persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb" is in error due to the following reason(s): org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection available, **ERROR**
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.2.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.2.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.1.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.1.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at java.lang.Thread.run(Unknown Source) [:1.8.0_31]`

您部署了一个使用
hibernate
的应用程序。正如错误消息所说,当没有可用连接时,必须设置“hibernate.dialent”。您必须定义hibernate方言。

他更可能需要修复与数据库的连接。