读书人

:weblogic9.2,在myeclipse5.5上deploy

发布时间: 2012-04-20 15:27:03 作者: rapoo

求助:weblogic9.2,在myeclipse5.5上deploy Enterprise Application Project失败!!
在eclipse下建了一个Enterprise Application Project,包含了一个web moudle 和一个ejb moudle,但是用myeclipse的deploy部署总是失败,出错信息如下:
<2007-9-11 下午09时10分32秒 CST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean _appsdir_DragonfxWebApp_dir. Error - weblogic.management.DeploymentException: 系统找不到指定的文件。 with : D:\bea\user_projects\domains\base_domain\.\autodeploy\DragonfxWebApp\Web.war.
weblogic.management.DeploymentException: 系统找不到指定的文件。 with : D:\bea\user_projects\domains\base_domain\.\autodeploy\DragonfxWebApp\Web.war
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
Truncated. see log file for complete stacktrace
java.io.IOException: 系统找不到指定的文件。 with : D:\bea\user_projects\domains\base_domain\.\autodeploy\DragonfxWebApp\Web.war
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile. <init> (ZipFile.java:204)
at java.util.jar.JarFile. <init> (JarFile.java:132)
at java.util.jar.JarFile. <init> (JarFile.java:97)
at weblogic.utils.jars.JarFileDelegate. <init> (JarFileDelegate.java:32)
Truncated. see log file for complete stacktrace
>
<2007-9-11 下午09时10分32秒 CST> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1189516231718 ' for task '0 '. Error is: 'weblogic.management.DeploymentException: 系统找不到指定的文件。 with : D:\bea\user_projects\domains\base_domain\.\autodeploy\DragonfxWebApp\Web.war '
weblogic.management.DeploymentException: 系统找不到指定的文件。 with : D:\bea\user_projects\domains\base_domain\.\autodeploy\DragonfxWebApp\Web.war
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
Truncated. see log file for complete stacktrace
java.io.IOException: 系统找不到指定的文件。 with : D:\bea\user_projects\domains\base_domain\.\autodeploy\DragonfxWebApp\Web.war
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile. <init> (ZipFile.java:204)
at java.util.jar.JarFile. <init> (JarFile.java:132)
at java.util.jar.JarFile. <init> (JarFile.java:97)
at weblogic.utils.jars.JarFileDelegate. <init> (JarFileDelegate.java:32)


Truncated. see log file for complete stacktrace
>
...........
application.xml信息如下:
<?xml version= "1.0 " encoding= "UTF-8 "?>
<application xmlns= "http://java.sun.com/xml/ns/j2ee " xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance " version= "1.4 " xsi:schemaLocation= "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd ">
<display-name> DragonfxWebApp </display-name>
<module id= "myeclipse.1178294600851 ">
<web>
<web-uri> Web.war </web-uri>
<context-root> /Web </context-root>
</web>
</module>
<module id= "myeclipse.1182013343492 ">
<ejb> WebEJB.jar </ejb>
</module>
</application>

不知道为何会出现这种错误,帮忙解决下,谢谢!
JDK版本用的是weblogic9.2自带的1.5

[解决办法]
系统找不到指定的文件啊,

D:\bea\user_projects\domains\base_domain\.\autodeploy\DragonfxWebApp\Web.war,

你是以war的形式发布的吧?尝试一下使用开放目录发布。
[解决办法]
请问:这个发布形式是在哪里修改啊??

读书人网 >J2EE开发

热点推荐