Hi Laurent,

Sorry, I meant to include the link in my previous email!

http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup

The Objectstyle Wiki http://wiki.objectstyle.org/confluence/display/WO/Home is the best resource for WebObjects documentation.

Dave

On Nov 4, 2009, at 6:34 AM, laurent Cros wrote:


HI david,

I add to my <param-name>WOClasspath</param-name> the following line

/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-ptf/WEB-INF/lib/ Library/Frameworks/ERExtensions.framework/Resources/Java/ ERExtensions.jar

But it's not working, What I have to do to make tomcat load this library ?

If I put the ERExtensions library in lib/ directory I got 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.

 Laurent.

-----Message d'origine-----
De : David Avendasora [mailto:webobje...@avendasora.com]
Envoyé : mercredi 4 novembre 2009 12:10
À : laurent Cros
Cc : webobjects-dev Apple
Objet : Re: WEBINFROOT changes make no effects

Hi Laurent,

How are you building your deployment? I have used WO with Tomcat lots
of times and have no troubles. There are specific options you can
check in WOLips to have it build a .war file that Tomcat will
automatically expand and run.

Dave



On Nov 4, 2009, at 5:03 AM, laurent Cros wrote:

Hi all,

I am trying to deploy my webobjects app to tomcat.

Here is a part of my web.xml file, when I am trying to change the
classpath, there is no effect.

The only directory the application is seems to load is WEBINFROOT/ lib/
but

<context-param>
  <param-name>WOROOT</param-name>

<param-value>/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-
ptf/WE
B-INF/</param-value>
</context-param>


<context-param>
  <param-name>LOCALROOT</param-name>

<param-value>/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-
ptf/WE
B-INF/Local</param-value>
</context-param>


<context-param>
  <param-name>WOAINSTALLROOT</param-name>

<param-value>/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-
ptf/WE
B-INF/Local/Library/WebObjects/Applications/</param-value>
</context-param>



<context-param>
  <param-name>WOClasspath</param-name>
  <param-value>
WEBINFROOT/lib/jcommops-ptf.jar
WEBINFROOT/lib/
WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/
EREx
tensions.jar
WEBINFROOT/Library/Frameworks/JavaDirectToWeb.framework/Resources/
Java/j
avadirecttoweb.jar
WEBINFROOT/Library/Frameworks/JavaDTWGeneration.framework/Resources/
Java
/javadtwgeneration.jar
WEBINFROOT/Library/Frameworks/Ajax.framework/Resources/Java
WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java
WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar
WEBINFROOT/lib/jcommops-ptf.jar
  </param-value>
</context-param>

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

<param-value>/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-
ptf/WE
B-INF/</param-value>
<!--    <param-value>%WEBINFROOT%</param-value> -->
</context-param>


Thanks for your helps !

Best regards


 Laurent Cros



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

This email sent to webobje...@avendasora.com





                          Cliquez sur l'url suivante
https://www.mailcontrol.com/sr/ErAJiJB31LrTndxI!oX7Uo9cpkuWnNqkwRYvv3MMXNBravQ1bL0Zt3w3apX!ZMDWij8xukOV3pVTQ40Is2HDWw==
                   si ce message est indésirable (pourriel).



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

This email sent to arch...@mail-archive.com

Reply via email to