• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
tomcat deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tomcat deployment


  • Subject: tomcat deployment
  • From: "laurent Cros" <email@hidden>
  • Date: Tue, 15 Dec 2009 10:49:47 +0100
  • Thread-topic: tomcat deployment

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

 

[]

 

<?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/testNewWolips/WEB-INF/testNewWolips.woa/Resources/Java/
WEBINFROOT/testNewWolips.woa/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>WEBINFROOT/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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: tomcat deployment
      • From: David Avendasora <email@hidden>
    • RE: tomcat deployment
      • From: "laurent Cros" <email@hidden>
  • Prev by Date: Re: You backtrack too far problem.
  • Next by Date: Getting a Connection When Created?
  • Previous by thread: Re: Relative URLs for Forms
  • Next by thread: RE: tomcat deployment
  • Index(es):
    • Date
    • Thread