各位大侠,我的第一个j2ee程序竟然有误。请指教:::

superzrb 华兴 2002-07-13 11:31:34
按照sun公司的文档写的第一个小程序,在配置时出现错误:
There was a deployment error

java.rmi.ServerException:RemoteException occurred in server thread;nested exception is:
java.rmi.RemoteException:Error processing ejb jar:Compilation failed.
Please refer to
<J2EE_HOME>/logs/<machine-name>/j2ee/j2ee/error.log
for more information.please verify your Application with the Verifier tool.
...全文
66 点赞 收藏 9
写回复
9 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
superzrb 2002-07-16
gz
回复
superzrb 2002-07-15
谢谢cloudwon(地球之巅) ,我找到错误了,我在用deploytool配置生成.jar时将起改为远程,而不是本地就可以了,为什么?????
回复
王鹏云 2002-07-14
是不是你的配置描述文件有问题,先verify一下。
回复
superzrb 2002-07-14
对,我是用j2ee自带的deploytool进行配置的,我的j2ee版本是1.3.1,按照书上的进行配置,生成ejb-jar.xml,在生成的过程中出现错误, 我的程序没有问题,是最简单的hello world问题,请问大虾门有没有遇到这个问题,请告知,分数只管说!!!!
回复
anjun 2002-07-14
头好晕
回复
oceanboywjk 2002-07-13
它不是叫你去看<J2EE_HOME>/logs/<machine-name>/j2ee/j2ee/error.log吗,你看了没有,说什么
回复
superzrb 2002-07-13
程序无误,而且是按照sun的文档一步一步配置的。
不知道有人遇到这个问题了吗?
很着急。
回复
learn
回复
superzrb 2002-07-13
看了呀。

Compilation failed.
at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:232)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:625)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)

Compilation failed.
at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:232)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:625)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)

Compilation failed.
at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:232)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:625)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
回复
发帖
Java EE
创建于2007-09-28

6.6w+

社区成员

J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
申请成为版主
帖子事件
创建了帖子
2002-07-13 11:31
社区公告
暂无公告