facebook

depoyment descriptor for jrun

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #215153 Reply

    rmeier
    Member

    i found that the following deployment descriptor doesnt work with JRun:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <web-app version=”2.4″
    xmlns=”http://java.sun.com/xml/ns/j2ee&#8221;
    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221;
    xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd”&gt;
    …..
    ..

    i removed alle the stuff in <web-app> Tag and now it works

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <web-app>

    ..

    Can anybody pls explain for wath all this stuff is?
    thanks

    #215179 Reply

    Riyad Kalla
    Member

    When you create a new Web module project, make sure to set J2EE 1.3 as the spec level, J2EE 1.4 is what is the default and what was used to generated that web 2.4 version file, which JRun doesn’t currently support.

    #215180 Reply

    Riyad Kalla
    Member

    Moving to support

    #215407 Reply

    rmeier
    Member

    ty for response.
    what can i do with existing web projects? can i just change the library set from 1.4 to 1.3.
    or do i have to delete the project (without deleteing the content) and make a new?

    #215414 Reply

    Riyad Kalla
    Member

    The easiest way is to create a new J2EE 1.3 project, and copy over the web.xml file from it into your new project and also change the library set from 1.4 to 1.3 as you stated. Also you want to open your .mymetadata file and change the “j2ee-spec” value from 1.4 to 1.3

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: depoyment descriptor for jrun

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