facebook

No J2EE deployment descriptor found exception at deploymen

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #273482 Reply

    Ivan
    Participant

    I 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.

    #273486 Reply

    Loyal Water
    Member

    Can you post your installation details here for me. The posting guidelines thread can be found at the top of the forum.

    #273487 Reply

    Ivan
    Participant

    Sorry 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 SDK

    Version: 3.2.2
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20060921-0945

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20060921-0945

    Eclipse 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

    #273490 Reply

    Loyal Water
    Member

    Are 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?.

    #273492 Reply

    Ivan
    Participant

    Yes, 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?

    #273522 Reply

    Loyal Water
    Member

    This 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.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: No J2EE deployment descriptor found exception at deploymen

You must be logged in to post in the forum log in