Hi dave, many thanks to answering me ! 

 

Are you manually adding anything to the web.xml file, or is this simply what is 
generated by the build?

 

Yes, I just tried to replace the WEBINFROOT by its value 
(C:\java\apache-tomcat-6.0.9\webapps\testNewWolips\WEB-INF)

I also tried to set  the WEBINFROOT in a environment variable in the 
catalina.bat

It seems to me whatever you do with your WEBINFROOT variable nothing changes.

 

This particular line looks suspicious:

 

 WEBINFROOT/testNewWolips/WEB-INF/testNewWolips.woa/Resources/Java/

 

Yes you right when I undo my change I made a mistake. I attach to this email my 
original web.xml

 

Also, have you verified that the frameworks exist where the WOClasspath entry 
in the web.xml file says they do?

 

 

Yes I think it's ok

 

 

Is it normal to have all the librariries in the 
tomcat\webapps\testnewWolips\WEB-INF\lib (testnewWolips is my project name) ?

 

Laurent.

 

 

 

Dave

 

On Dec 15, 2009, at 4:49 AM, laurent Cros wrote:





HI all,

 

  I finally deployed with my eclipse 3.4.2 and WOLIPS.

 

I deploy on a windows tomcat (6.0.9), and I have the following message :

 

No ERX_MARKER field in NSMutableArray found.

This means your class path is incorrect. Adjust it so that ERExtensions come 
before JavaFoundation.

 

In copy I attach my web.xml.

 

Thanks for the help !

 

Laurent Cros

Software engineer

Société CLS
8-10rue Hermès, Parc technologique du canal
31560 Ramonville Saint-Agne France
Tel. +33 5 61 393 701
Fax +33 5 61 394 750

 

<image001.gif>

 

<web.xml> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
<http://lists.apple.com/mailman/options/webobjects-dev/[email protected]>
 

This email sent to [email protected]

 

David Avendasora

Senior Software Engineer

K12, Inc.

 

*****

WebObjects Documentation Wiki : 
http://wiki.objectstyle.org/confluence/display/WO/

*****

WebObjects API: 
http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html

*****

 

 

Cliquez ici 
<https://www.mailcontrol.com/sr/SN2C8GS+opPTndxI!oX7UixArsuB8jk7DoFNTEKGEnf4kU9BADIRC9zsI3ZF99hqpg+sLvaqCZ9PcbrY0G8NdQ==>
  si ce message est indésirable (pourriel).

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

<!-- This web.xml file by itself will allow you to run the corresponding
     WebObjects application in a Servlet container. If you would like to
     merge the WebObjects application with your existing JSP/Servlet
     application, you have to merge this web.xml with your existing web.xml.

     NOTE: This file is normally included as the template file 'web.xml.template'.
     During the build process, the placeholders for WOROOT, LOCALROOT, WOAINSTALLROOT,
     WOAppMode, WOClassPath, WOApplicationClass and WOtaglib will be replaced
     with the appropriate values. Other parts of the template file may be
     customized as required.
     
     NOTE: WEBINFROOT is added to the WOClassPath at build time, but the replacement
     value is replaced at runtime to be the path to the WEB-INF directory. 
-->

<web-app>
  <!-- Indicates the root where WebObjects frameworks are installed. In Mac OS X,
       for example, WO frameworks are located in the "/System/Library/Frameworks"
       directory; keeping in tradition, WOROOT is set to "/System". On Windows,
       it could be "c:\Apple", on Solaris, it could be "/opt/Apple".
       If "-DWOROOT=/path/to/somewhere" is defined (in the container startup script,
       for example), the value indicated here is ignored. -->
  <context-param>
    <param-name>WOROOT</param-name>
    <param-value>C:/Apple</param-value>
  </context-param>

  <!-- Indicates the root where local frameworks are installed. In Mac OS X,
       for example, these frameworks are located in the "/Library/Frameworks"
       directory; keeping in tradition, LOCALROOT is set to "/". On Windows,
       it could be "c:\Apple\Local", on Solaris, it could be "/opt/Apple/Local".
       If "-DLOCALROOT=/path/to/somewhere" is defined (in the container startup script,
       for example), the value indicated here is ignored. -->
  <context-param>
    <param-name>LOCALROOT</param-name>
    <param-value>C:/Apple/Local</param-value>
  </context-param>

  <!-- Indicates the root where WebObjects applications are installed. In Mac OS X
       deployment, for example, WO applications are usually deployed in the
       "/Library/WebObjects/Applications" directory and WOAINSTALLROOT is set to
       "/Library/WebObjects/Applications". If "-DWOAINSTALLROOT=/path/to/somewhere"
       is defined (in the container startup script, for example), the value
       indicated here is ignored. -->
  <context-param>
    <param-name>WOAINSTALLROOT</param-name>
    <param-value>C:/Apple/Applications</param-value>
  </context-param>

  <!-- Indicates if application is development or deployment mode. In development
       mode, images are vended by the application directly from frameworks. In
       deployment mode, images are vended by the webserver. -->
  <context-param>
    <param-name>WOAppMode</param-name>
    <param-value>Development</param-value>
  </context-param>
  
  <!-- This parameter points to the WebObjects directories required for
       this application. If a directory contains resources, they will be
       picked up; as well, if a directory contains JARs, they will be
       picked up. WOROOT, LOCALROOT or WOAINSTALLROOT placeholders here
       will be replaced at runtime with the appropriate values (Java System
       Properties if defined, the context-param values located above 
       otherwise). WEBINFROOT placeholders will be replaced at runtime 
       with the full path to the WEB-INF directory. -->
  <context-param>
    <param-name>WOClasspath</param-name>
    <param-value>
    WEBINFROOT\Resources\Java\
WEBINFROOT\Resources\Java\testnewwolips.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxwo54.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/WOOgnl.framework/Resources/Java/ognl-2.6.7.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
WEBINFROOT/testNewWolips.woa/Contents/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar
</param-value>
  </context-param>

  <!-- Class name of the WOApplication subclass that defines the
       WebObjects application. -->
  <context-param>
    <param-name>WOApplicationClass</param-name>
    <param-value>your.app.Application</param-value>
  </context-param>

  <context-param> 
    <param-name>WEBINFROOT</param-name> 
    <param-value>%WEBINFROOT%</param-value> 
  </context-param>

  <!-- The WebObjects Servlet that interfaces between the Servlet container
       world and the WebObjects world. -->
  <servlet>
    <servlet-name>WOServletAdaptor</servlet-name>
    <servlet-class>er.extensions.jspservlet.ERXServletAdaptor</servlet-class>
    <load-on-startup>5</load-on-startup>
  </servlet>

  <!-- URLs starting with 'WebObjects' use the WebObjects Servlet adaptor. --> 
  <servlet-mapping>
    <servlet-name>WOServletAdaptor</servlet-name>
    <url-pattern>/WebObjects/*</url-pattern>
  </servlet-mapping>
  
  <!-- Session timeout in minutes. This is for both JSP/Servlet and 
       WOSessions. Note this overrides the WebObjects session timeout
       settings. Uncomment to use. --> 
  <!--
  <session-config>
    <session-timeout>30</session-timeout>
  </session-config>
  -->


  <!-- This tag library allows the use of WOComponents within JSPs. -->
  <taglib>
    <taglib-uri>/WOtaglib</taglib-uri>
    <taglib-location>/WEB-INF/tlds//WEB-INF/tlds/WOtaglib_1_0.tld</taglib-location>
  </taglib>



</web-app>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to