高手指教

03-04-23 happyboyjmw

Exception when I deploy a simple bean in deploytool of J2eeSDK 1.4 ,The message is as follows,

I just do not know what is wrong,please help;

distribute: E:\j2eetest\second.ear

*** Operation failed:

java.lang.IllegalStateException: Premature end of file.

at com.sun.enterprise.deployapi.SunDeploymentManager.distribute(SunDeploymentManager.java:728)

at com.sun.enterprise.deployapi.SunDeploymentManager.distribute(SunDeploymentManager.java:249)

at com.sun.enterprise.tools.deployment.ui.deploy.DeploymentPlatform._distribute(DeploymentPlatform.java:955)

at com.sun.enterprise.tools.deployment.ui.deploy.DeploymentPlatform._deploy(DeploymentPlatform.java:1051)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sun.enterprise.tools.deployment.ui.utils.UIActionDispatcher.invoke(UIActionDispatcher.java:365)

at com.sun.enterprise.tools.deployment.ui.utils.UIActionDispatcher.invoke(UIActionDispatcher.java:387)

at com.sun.enterprise.tools.deployment.ui.deploy.DeploymentPlatform$DeploymentProcess.run(DeploymentPlatform.java:1492)

at com.sun.enterprise.tools.deployment.ui.utils.ExecProcess$ThreadProcess.run(ExecProcess.java:570)

at java.lang.Thread.run(Thread.java:536)

any one want to give me a hand?

please leave your email I will send your the whole ejb jar,

Thank you very much!!!!