- This topic has 5 replies, 2 voices, and was last updated 17 years, 10 months ago by
Loyal Water.
-
AuthorPosts
-
IvanParticipantI am getting the following exception when deploying my web project onto the Weblogic server from MyEclipse:
weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at…
I have to repeat the deployment step 5-10 times before it actually deploys it.
Loyal WaterMemberCan you post your installation details here for me. The posting guidelines thread can be found at the top of the forum.
IvanParticipantSorry about that. My first post. Here are the MyEclipse installation details:
*** Date:
Friday, August 3, 2007 10:09:04 AM MDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.0 Milestone 2
Build id: 20070409-5.5.0-Milestone2*** Eclipse details:
Eclipse SDKVersion: 3.2.2
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20060921-0945Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse32\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
12d8_ac
-vm
C:\Program Files\Java\j2re1.4.2_13\bin\javaw.exe
Loyal WaterMemberAre you deploying in exploded format while WebLogic is running? If so, WebLogic might be attempting to deploy before your application is completely copied out. How about shuttind down WebLogic, redeploying your app in exploded format, then starting WebLogic. Does that work?.
IvanParticipantYes, the deployment is in exploded format. If I stop Weblogic, deploy the app, and then start the Weblogic, it works. However, restarting the server takes quite a bit of time. Is there a way to tell Weblogic not to deploy until the entire app is copied?
Loyal WaterMemberThis is actually caused by WebLogic’s refresh time on directories being too short, so what is actually happening is that WebLogic is detecting that the web application has changed WHILE MyEclipse is deploying it, and before MyEclipse has copied out the web.xml file, and throwing this exception.
You need a weblogic.xml file (in the proper format, of course) in the WEB-INF directory of your web project that contains the following:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 7.0//EN" "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd"> <weblogic-web-app> <description>WebLogic Descriptor</description> <jsp-descriptor> <jsp-param> <param-name>pageCheckSeconds</param-name> <param-value>1</param-value> </jsp-param> <jsp-param> <param-name>debug</param-name> <param-value>true</param-value> </jsp-param> </jsp-descriptor> </weblogic-web-app>
BEA’s documentation has much more detail about what’s available, of course.
-
AuthorPosts