Re: WEBINFROOT changes make no effects
Re: WEBINFROOT changes make no effects
- Subject: Re: WEBINFROOT changes make no effects
- From: David Avendasora <email@hidden>
- Date: Wed, 4 Nov 2009 07:46:54 -0500
On Nov 4, 2009, at 7:27 AM, laurent Cros wrote:
Actually, in my eclipse I am working with normal deployment, but I
am trying to deploy my webobject app on a linux server, on a tomcat 6.
Right. When working in Eclipse, you just use the normal run/debug. By
using the instructions I just sent, when you do "Right-click -> WOLips
Ant tools -> Install" it will build a .war file that will run in
Tomcat on any platform! I've run my wo projects on Mac, Windows
(shudder) and Linux with _no_ modifications.
Long-term, you should look at setting up a build server like Hudson to
do this for you automatically every time you commit to SVN/CVS.
You do use version control, don't you!? :-)
Dave
Laurent cros
-----Message d'origine-----
De : David Avendasora [mailto:email@hidden]
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
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