我正在eclipse mars上开发一个EJB3.0应用程序。我无法在glassfish 4服务器上部署项目。我使用JDK 7。
我的服务器日志:
cannot Deploy SampleEJBProject
deploy is failing=Error occurred during deployment: Exception while deploying the app [SampleEJBProject] : A MultiException has 2 exceptions. They are:
1. com.sun.enterprise.module.ResolveError:
我想从父pom部署到glassfish4,但是我总是收到以下错误消息:
No plugin found for prefix 'glassfish' in the current project and in the plugin groups
[org.apache.maven.plugins, org.codehaus.mojo] available from the repositories
[local (c:\Programs\Server\.m2\repository), central (http://repo.maven.apache.org/maven2)]
目前,我正在尝试在glassfish应用服务器中部署一个ear格式的web应用。
按照jboss关于如何使用seam-gen的说明,我能够创建这个项目。但是当我调用gf-deploy时,我得到了ff错误:
gf-deploy-datasource:
[exec] Authentication failed for user: null
[exec] (Usually, this means invalid user name and/or password)
[exec] Command add-resources failed.
[exec] Auth
当我创建会话bean时,我正在尝试创建一个web应用程序,它向我显示以下错误: GlassFish Server 4.1,deploy,null,false C:\Users\User\Documents\NetBeansProjects\realestateTest\nbproject\build-impl.xml:1045:模块尚未部署。有关详细信息,请参阅服务器日志。 我使用的Netbeans版本是Netbeans 8.2,glassfish版本4.1,java ee版本: Java EE 7 Web 有没有人能帮帮我?
我有一个ejb项目,它添加了完整的库。但是,当我运行ejb-war时,我在Glassfish服务器中得到了这个错误。
SEVERE: The return type of the lifecycle method [construcGroup] must be void
SEVERE: Exception while deploying the app [mcGrawLibPro-war]
SEVERE: Exception during lifecycle processing
和ejb战争
In-place deployment at C:\Users\Hung\Documen
同一个.war文件在Glassfish v2.1上部署得很好。我不知道我最后一次尝试v3是什么时候,但我想检查一下热部署功能,因为有传言说它正在NetBeans6.8中使用glassfish v3。因此,我像往常一样部署,并得到以下错误:
SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbDeployer load method
....
SEVERE: Exception while loading the app
java.lang.RuntimeException: Unable to load EJB
我正在研究如何使用Glassfish和Ant构建文件。我已经(第一次)编写了一个构建脚本,它将创建我的基本Hello World应用程序的WAR文件。
然后,我尝试将此WAR作为构建脚本的一部分部署到Glassfish。我找到了glassfish-deploy任务的详细信息,并在类路径中包含了ant-task jar文件后,设法将其包含在构建脚本中。
但是,当我运行该脚本时,我得到消息:[glassfish-deploy] Install Directory of application server not known. Specify either the installDir attri
错误: Publisher deploy已中止,原因是出现异常部署:对org.codehaus.cargo.container.glassfish.GlassFish2xInstalledLocalDeployer.doDeploy(GlassFish2xInstalledLocalDeployer.java:79) at org.codehaus.cargo.container.glassfish.internal.AbstractGlassFishInstalledLocalDeployer.redeploy(AbstractGlassFishInstalledLocalDeployer.
这是一个使用Restful (泽西)和JPA2编写的web应用程序。我创建了一个war文件,并试图在tomcat 8下在CentOS上部署这个war。当我启动Tomcat时,tomcat成功启动。但是,当我试图访问一个URL时,我会看到以下错误。
Exception Description: An exception was thrown while trying to load persistence unit at url: file:/opt/tomcat/webapps/DSystem.war
Internal Exception: Exception [Eclipse
在我的GlassFish服务器中,我收到以下错误消息:
In-place deployment at D:\simpers\simpers\simpers-war\build\web<br>
GlassFish Server, deploy, null, false<br>
D:\simpers\simpers\simpers-war\nbproject\build-impl.xml:1118: The module has not been deployed.<br>
See the server log for details.<br>
BU
我正在学习以下关于通过NetBeans创建企业应用程序的教程:
https://netbeans.org/kb/docs/javaee/entappclient.html#Exercise_10
在学习本教程之前,我下载了Glassfish 3(我们在生产中使用),并将其添加为NetBeans中的服务器。我还从NetBeans集成开发环境的服务器节点中删除了Glassfish 4服务器。
我已经构建、部署并运行了企业应用程序--它可以工作。但是,下面显示的部署说明表明应该已经创建了一个EAR文件,但我还没有找到它。我应该在哪里查看,或者它实际上是创建的?
Deploying the Ente