Re: Deployment with Tomcat 8 (and beyond)

2015-11-10 Thread Kevin Hinkson
Thanks Jon. That regex for " clean up whatever is left” solved my issue.

On Nov 9, 2015, at 5:01 PM, Jon Nolan  > wrote:

It does sound familiar.  I don’t remember exactly how we fixed it but it’s one 
of these we have at the bottom of the ssdd target.  If I remember correctly 
it’s the second one.  Let me know if anything here is helpful.






















---
jon nolan - sitequest technologies


On Mon, Nov 9, 2015 at 1:50 PM, Kevin Hinkson  > wrote:

Hi Jon,

With Tomcat 8 I started getting errors concerning resolving the location of the 
WEB-INF folder or at least resolving the variable in web.xml. Something about 
access to that variable changed from between Tomcat 7 and 8. 

I hope that makes sense. I'm responding off the top of my head as I am away 
from my development machine. 

On 9 Nov 2015, at 4:44 PM, Jon Nolan  > wrote:

Hi Kevin,

We successfully deploy on AWS with 64bit Amazon Linux 2015.03 v1.4.1 running 
Tomcat 8 Java 8.  What difficulties are you encountering?

Jon

---
jon nolan - sitequest technologies


On Mon, Nov 9, 2015 at 9:20 AM, Kevin Hinkson  > wrote:

Hi,

Is there anyone currently using Tomcat to deploy WebObjects Applications? 

I ask because while I can deploy with Tomcat 7, I’ve encountered difficulties 
with deploying using Tomcat 8 and I’m wondering how that will affect deployment 
in the future. Reason being, I deploy using AWS Elastic Beanstalk which can 
manage application scaling pretty nicely for me and at some point in the future 
Tomcat 7 will be deprecated. 

Has anyone had any success deploying to Tomcat 8?


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/jon%40sitequesttech.com

This email sent to j...@sitequesttech.com  




 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Deployment with Tomcat 8 (and beyond)

2015-11-09 Thread Jon Nolan
It does sound familiar.  I don’t remember exactly how we fixed it but it’s one 
of these we have at the bottom of the ssdd target.  If I remember correctly 
it’s the second one.  Let me know if anything here is helpful.




















































---
jon nolan - sitequest technologies

On Mon, Nov 9, 2015 at 1:50 PM, Kevin Hinkson  wrote:

> Hi Jon,
> With Tomcat 8 I started getting errors concerning resolving the location of 
> the WEB-INF folder or at least resolving the variable in web.xml. Something 
> about access to that variable changed from between Tomcat 7 and 8. 
> I hope that makes sense. I'm responding off the top of my head as I am away 
> from my development machine. 
> On 9 Nov 2015, at 4:44 PM, Jon Nolan   > wrote:
> Hi Kevin,
> We successfully deploy on AWS with 64bit Amazon Linux 2015.03 v1.4.1 running 
> Tomcat 8 Java 8.  What difficulties are you encountering?
> Jon
> ---
> jon nolan - sitequest technologies
> On Mon, Nov 9, 2015 at 9:20 AM, Kevin Hinkson   > wrote:
> Hi,
> Is there anyone currently using Tomcat to deploy WebObjects Applications? 
> I ask because while I can deploy with Tomcat 7, I’ve encountered difficulties 
> with deploying using Tomcat 8 and I’m wondering how that will affect 
> deployment in the future. Reason being, I deploy using AWS Elastic Beanstalk 
> which can manage application scaling pretty nicely for me and at some point 
> in the future Tomcat 7 will be deprecated. 
> Has anyone had any success deploying to Tomcat 8?
>  ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/jon%40sitequesttech.com
> This email sent to j...@sitequesttech.com   ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Deployment with Tomcat 8 (and beyond)

2015-11-09 Thread Kevin Hinkson
Hi,

Is there anyone currently using Tomcat to deploy WebObjects Applications? 

I ask because while I can deploy with Tomcat 7, I’ve encountered difficulties 
with deploying using Tomcat 8 and I’m wondering how that will affect deployment 
in the future. Reason being, I deploy using AWS Elastic Beanstalk which can 
manage application scaling pretty nicely for me and at some point in the future 
Tomcat 7 will be deprecated. 

Has anyone had any success deploying to Tomcat 8?

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Deployment with Tomcat 8 (and beyond)

2015-11-09 Thread Kevin Hinkson
Hi Jon,

With Tomcat 8 I started getting errors concerning resolving the location of the 
WEB-INF folder or at least resolving the variable in web.xml. Something about 
access to that variable changed from between Tomcat 7 and 8. 

I hope that makes sense. I'm responding off the top of my head as I am away 
from my development machine. 

On 9 Nov 2015, at 4:44 PM, Jon Nolan  > wrote:

Hi Kevin,

We successfully deploy on AWS with 64bit Amazon Linux 2015.03 v1.4.1 running 
Tomcat 8 Java 8.  What difficulties are you encountering?

Jon

---
jon nolan - sitequest technologies


On Mon, Nov 9, 2015 at 9:20 AM, Kevin Hinkson  > wrote:

Hi,

Is there anyone currently using Tomcat to deploy WebObjects Applications? 

I ask because while I can deploy with Tomcat 7, I’ve encountered difficulties 
with deploying using Tomcat 8 and I’m wondering how that will affect deployment 
in the future. Reason being, I deploy using AWS Elastic Beanstalk which can 
manage application scaling pretty nicely for me and at some point in the future 
Tomcat 7 will be deprecated. 

Has anyone had any success deploying to Tomcat 8?

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/jon%40sitequesttech.com

This email sent to j...@sitequesttech.com  


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Deployment with Tomcat 8 (and beyond)

2015-11-09 Thread Jon Nolan
Hi Kevin,




We successfully deploy on AWS with 64bit Amazon Linux 2015.03 v1.4.1 running 
Tomcat 8 Java 8.  What difficulties are you encountering?




Jon


---
jon nolan - sitequest technologies

On Mon, Nov 9, 2015 at 9:20 AM, Kevin Hinkson  wrote:

> Hi,
> Is there anyone currently using Tomcat to deploy WebObjects Applications? 
> I ask because while I can deploy with Tomcat 7, I’ve encountered difficulties 
> with deploying using Tomcat 8 and I’m wondering how that will affect 
> deployment in the future. Reason being, I deploy using AWS Elastic Beanstalk 
> which can manage application scaling pretty nicely for me and at some point 
> in the future Tomcat 7 will be deprecated. 
> Has anyone had any success deploying to Tomcat 8?
>  ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/jon%40sitequesttech.com
> This email sent to j...@sitequesttech.com ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: regular deployment vs tomcat deployment .. UnknownKeyException

2011-05-28 Thread EMail Archive
Nothing like a night's sleep to clear the addled brain!  The problem
was my build generating a classpath file with truncated paths for the
application resources.  It generated:

WEBINFROOT/Resources/Java/
WEBINFROOT/Resources/Java/appo.jar
WEBINFROOT/Appo/Contents/Frameworks/CoreServices.framework/Resources/Java/coreservices.jar

instead of, of course:

WEBINFROOT/Appo/Contents/Resources/Java/
WEBINFROOT/Appo/Contents/Resources/Java/appo.jar
WEBINFROOT/Appo/Contents/Frameworks/CoreServices.framework/Resources/Java/coreservices.jar

Now to find where I corrupted the build.xml file ...
__

On Fri, May 27, 2011 at 8:01 PM, EMail Archive arch...@gavineadie.com wrote:
 I'm back in the world of webObjects after a couple of years and seem
 to have forgotten some basic things, or at least I suspect they are
 basic.
 ___
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


regular deployment vs tomcat deployment .. UnknownKeyException

2011-05-27 Thread EMail Archive
I'm back in the world of webObjects after a couple of years and seem
to have forgotten some basic things, or at least I suspect they are
basic.  I'm converting an application to live within Tomcat and it has
trouble starting up.  The first component is Main.wo and it's of the
form

Main.wod:

wo:switch WOComponentName=MinimalPageWrapper css=style/login.css
  div id=login
  
wo:string value=[licence] escapeHTML=FALSE /
  /div
/wo:switch

and MinimalPageWrapper.wod is of the form:

  head
title/title
wo:ERXStyleSheet filename=[^css] framework=app /
  /head
  body onload=document.authform.userfield.focus()
div id=container class=panelWhitewo:componentContent //div
  /body

My error is as follows:
Error: com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException exception
Reason:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message
  '[com.webobjects.appserver.WOComponent name: MinimalPageWrapper
subcomponents: null  takeValueForKey()]:
attempt to assign value to unknown key: 'css'.
This WOComponent does not have an instance variable of the name css or _css,
nor a method of the name setCss or _setCss' object
'com.webobjects.appserver.WOComponent name: MinimalPageWrapper
subcomponents: null ' key 'css'

It is, indeed, true that MinimalPageWrapper has no accessor for css
but it doesn't need them when it runs in Eclipse or via direct access
outside Eclipse (and if I add them, they are not called anyway).  As
noted, I suspect stupidity at work here but I've been banging my head
on this all afternoon and I'm now blind to the obvious -- your help
would be appreciated .. thanks, Gavin
 ___
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


RE: deployment on tomcat

2010-06-18 Thread Cros Laurent
Hi Henrique,

Thanks for answering me yesterday evening !

I put the WOJarBundle to true and now the application can't load my Properties 
file, it's located : 
C:\java\apache-tomcat-6.0.26\webapps\jcommops-ptf\WEB-INF\jcommops-ptf.woa\Contents\Resources\properties

Here is the error :

  Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file 
can't
be read.  Did you run as a Java Application instead of a WOApplication in WOLips
?

Thanks,

  Laurent. 

-Message d'origine-
De : webobjects-dev-bounces+lcros=cls...@lists.apple.com 
[mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de 
Henrique Prange
Envoyé : jeudi 17 juin 2010 22:26
À : webobjects-dev@lists.apple.com
Objet : Re: deployment on tomcat

Hi Julio,

On 17/06/10 14:43, Julio Ortiz wrote:
 Hi,

 Since one year I only deploy my apps in Tomcat the easy way is as follows

 1- Always deploy over JDK 1.6

Not a requirement. What kind of problems have you faced with JDK 1.5?

 2- Just Compile with ANT and copy the WEB-INF generated directory in the
 Tomcat Context dir.

Maven produces true WAR packages. The default Ant build provided by 
WOLips produces SSDD packages. Both have advantages and drawbacks. I 
prefer true WAR packages because they are less problematic and easier to 
understand.

 3- Do not use the er.extensions.jspservlet.ERXServletAdaptor, instead
 use com.webobjects.jspservlet.WOServletAdaptor

ERXServletAdaptor is a requirement if you have Wonder based applications.

 4- Restart Tomcat and enjoy


Good advice.

Cheers,

Henrique


 Best regards

 Julio


 On Jun 17, 2010, at 5:09 AM, Cros Laurent wrote:

 HI guys,
 I am trying to deploy my app on tomcat.
 With the basic url :
 http://localhost:8080/jcommops-ptf/WebObjects/jcommops-ptf.woa/ , I
 have no error by empty content, here is my log in tomcat :
 juin 17 11:55:12 JavaWebObjects[-1] DEBUG NSLog -
 com.webobjects.appserver._private.WOComponentDefinition No template
 found for component Main at null.
 juin 17 11:55:12 JavaWebObjects[-1] DEBUG
 er.extensions.appserver.ERXBrowserFactory - Factory null creating
 default browser factory. null
 juin 17 11:55:12 JavaWebObjects[-1] DEBUG
 er.extensions.appserver.ERXBrowserFactory -
 _incrementReferenceCounterForKey() - count = 1, key =
 Safari.533.4.5.0.Windows.{cpu = Unknown CPU; geckoRevision = No
 Gecko;}
 juin 17 11:55:12 JavaWebObjects[-1] DEBUG er.extensions.eof.ERXEC -
 setting useUnlocker to true
 juin 17 11:55:12 JavaWebObjects[-1] DEBUG
 er.extensions.ERXApplication.RequestHandling - Returning, encoding:
 UTF-8 response: er.extensions.appserver.ERXResponse
 (er.extensions.appserver.ERXResponsehttpVersion=HTTP/1.0
 headers={cache-control=[private, no-cache, no-store, must-revalidate,
 max-age=0], content-type=[text/html], date=[Thu, 17-Jun-2010 09:55:12
 GMT], expires=[Thu, 17-Jun-2010 09:55:12 GMT], pragma=[no-cache],
 set-cookie=[], x-webobjects-loadaverage=[1]} content-length=0
 cookies=() userInfo={} storePageInBacktrackCache=true ) status=200
 I don't know why my content response length is 0
 Here is my web.xml :
 !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
 Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.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
 display-namejcommops-ptf/display-name
 context-param
 param-nameWOJarBundle/param-name
 param-valuefalse/param-value
 description
 Whether this app is a true WAR, rather than a stub WAR
 or SSDD Note that WOROOT, LOCALROOT, WOAINSTALLROOT,
 WOClassPath are ignored if this is true However, if this is
 true, WOMainBundle must be set to the main bundle name
 /description
 /context-param
 context-param
 param-nameWOMainBundle/param-name
 param-valuejcommops-ptf/param-value
 description
 Sets the name of the main bundle. Only used if WOJarBundle
 is true
 /description
 /context-param
 context-param
 param-nameWOROOT/param-name
 param-valueC:/apple_5.4.3/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

Re: deployment on tomcat

2010-06-18 Thread Henrique Prange

Hi Laurent,

On 18/06/10 05:07, Cros Laurent wrote:

Hi Henrique,

Thanks for answering me yesterday evening !

I put the WOJarBundle to true and now the application can't load my Properties 
file, it's located : 
C:\java\apache-tomcat-6.0.26\webapps\jcommops-ptf\WEB-INF\jcommops-ptf.woa\Contents\Resources\properties



You have to choose one way to go: true WAR or SSDD. If you are using 
Maven and trying to produce a true WAR package, the 
[...]\WEB-INF\jcommops-ptf.woa is not necessary. The Properties file 
will be package inside your project JAR, i.e. 
[...]\webapps\jcommops-ptf\WEB-INF\lib\jcommops-ptf.jar.



Here is the error :

   Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file 
can't
be read.  Did you run as a Java Application instead of a WOApplication in WOLips
?



Which WebObjects and Wonder version?

BTW, were you able to run the sample-project in your environment 
successfully?


Cheers,

Henrique
___
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


RE: deployment on tomcat

2010-06-18 Thread Cros Laurent
 list.
at er.extensions.appserver.ERXApplication$Loader.collectMainProps(ERXAp
lication.java:645)
at er.extensions.appserver.ERXApplication$Loader.bundleDidLoad(ERXAppli
ation.java:542)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.ja
a:122)
at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(N
NotificationCenter.java:588)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNo
ificationCenter.java:532)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNo
ificationCenter.java:562)
at com.webobjects.foundation.NSBundle.postNotification(NSBundle.java:18
9)
at com.webobjects.foundation.NSBundle.LoadBundlesFromJars(NSBundle.java
449)
at com.webobjects.foundation.NSBundle.clinit(NSBundle.java:2089)
... 36 more
18 juin 2010 16:18:43 org.apache.catalina.startup.HostConfig deployDirectory
INFO: DÚploiement du rÚpertoire ROOT de l'application web
18 juin 2010 16:18:43 org.apache.coyote.http11.Http11Protocol start
INFO: DÚmarrage de Coyote HTTP/1.1 sur http-8080
18 juin 2010 16:18:43 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
18 juin 2010 16:18:43 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
18 juin 2010 16:18:43 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1069 ms


It's like it doesn't know where is the properties file is


It sounds I am not far away  ;) from the truth but it doesn't work

Thanks again,

  Laurent.

-Message d'origine-
De : webobjects-dev-bounces+lcros=cls...@lists.apple.com 
[mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de 
Henrique Prange
Envoyé : vendredi 18 juin 2010 15:31
À : WebObjects-Dev Apple
Objet : Re: deployment on tomcat

Hi Laurent,

On 18/06/10 05:07, Cros Laurent wrote:
 Hi Henrique,

 Thanks for answering me yesterday evening !

 I put the WOJarBundle to true and now the application can't load my 
 Properties file, it's located : 
 C:\java\apache-tomcat-6.0.26\webapps\jcommops-ptf\WEB-INF\jcommops-ptf.woa\Contents\Resources\properties


You have to choose one way to go: true WAR or SSDD. If you are using 
Maven and trying to produce a true WAR package, the 
[...]\WEB-INF\jcommops-ptf.woa is not necessary. The Properties file 
will be package inside your project JAR, i.e. 
[...]\webapps\jcommops-ptf\WEB-INF\lib\jcommops-ptf.jar.

 Here is the error :

Caused by: java.lang.IllegalStateException: Main bundle 'Properties' file 
 can't
 be read.  Did you run as a Java Application instead of a WOApplication in 
 WOLips
 ?


Which WebObjects and Wonder version?

BTW, were you able to run the sample-project in your environment 
successfully?

Cheers,

Henrique
 ___
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/lcros%40cls.fr

This email sent to lc...@cls.fr


   Cliquez sur l'url suivante 
https://www.mailcontrol.com/sr/hKTEcOdbXN7TndxI!oX7Us3fUQZbLcSF0G80HVXROnRg2gyAcqVgLtCV!dDo3HBPeMzAoJ1!8Uccloz8rNwSTQ==
  
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


RE: deployment on tomcat

2010-06-18 Thread Cros Laurent
Ooops I forgot to answer to this question :

  Which WebObjects and Wonder version ?

  Wonder 5.0.0 
  Webobjects 5.4.3  

I put all on maven
There was an error with installing wonder on maven so I put the wonder library 
frameworks jar on my maven repository.

Cheers,

Laurent.

-Message d'origine-
De : Cros Laurent 
Envoyé : vendredi 18 juin 2010 16:37
À : 'Henrique Prange'; WebObjects-Dev Apple
Objet : RE: deployment on tomcat

Henrique,

Before receiving this email, I got the error where it dosen't know how to get 
the properties file
 
So I modify the ERXApplication.java file to log the wouserDir and it's : 
C:\java\apache-tomcat-6.0.26\bin so I modify the java file to go in the right 
path like this

woUserDir = woUserDir+ File.separator 
+..+File.separator+webapps+File.separator+jcommops-ptf+File.separator+WEB-INF+File.separator+jcommops-ptf.woa;
and the found the properties file and start the application 
It's like an environment variable is missing ...




So after receiving your email  :


 Could you give me the structure of your eclipse project, with the war 
configuration in pom.xml when you are creating the war.

When I created my war there is no jcommops-ptf.jar, it's exploded in my 
WEB-INF/classes directory.

According to what you said :

WAR :

  MANIFEST
  WEB-INF
Web.xml
Classes (empty)
Lib (all my lib) including :
Jcommops-ptf.jar containing :
Org.jcommops  (my classes)  
Contents
Resources (my wocomponents, myeomodel, 
info.plist,Properties)
WebServerResources (js ...)


But it says

INFO: validateJarFile(C:\java\apache-tomcat-6.0.26\webapps\jcommops-ptf\WEB-INF
lib\JavaXML-5.4.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. O
fending class: javax/servlet/Servlet.class
[2010-6-18 16:18:43 CEST] main Initialized : er.extensions.ERXExtensions
Classes and frameworks will be loaded out of the WEB-INF/lib and WEB-INF/classe
 directories.
MainBundle will be set to jcommops-ptf
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServle
Adaptor.java:421)
at com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdap
or.java:95)
at com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.jav
:652)
at er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.ja
a:66)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper
java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:9
3)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte
t.java:4187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:
496)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
1)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.ja
a:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.
ava:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:50
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.jav
:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053

at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:44
)
at org.apache.catalina.core.StandardService.start(StandardService.java:
19)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:71
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289

RE: deployment on tomcat

2010-06-18 Thread Cros Laurent
Ok I successed to create my jcommops-ptf.jar with all in it.

And tomcat started it correctly the app.

Still don't have answer on my page but it's a library problem which I have to 
figure out but I'll see that on Monday

Thanks you all for the help and have a good week end.

Laurent.



-Message d'origine-
De : webobjects-dev-bounces+lcros=cls...@lists.apple.com 
[mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de Cros 
Laurent
Envoyé : vendredi 18 juin 2010 16:37
À : Henrique Prange; WebObjects-Dev Apple
Objet : RE: deployment on tomcat

Henrique,

Before receiving this email, I got the error where it dosen't know how to get 
the properties file
 
So I modify the ERXApplication.java file to log the wouserDir and it's : 
C:\java\apache-tomcat-6.0.26\bin so I modify the java file to go in the right 
path like this

woUserDir = woUserDir+ File.separator 
+..+File.separator+webapps+File.separator+jcommops-ptf+File.separator+WEB-INF+File.separator+jcommops-ptf.woa;
and the found the properties file and start the application 
It's like an environment variable is missing ...




So after receiving your email  :


 Could you give me the structure of your eclipse project, with the war 
configuration in pom.xml when you are creating the war.

When I created my war there is no jcommops-ptf.jar, it's exploded in my 
WEB-INF/classes directory.

According to what you said :

WAR :

  MANIFEST
  WEB-INF
Web.xml
Classes (empty)
Lib (all my lib) including :
Jcommops-ptf.jar containing :
Org.jcommops  (my classes)  
Contents
Resources (my wocomponents, myeomodel, 
info.plist,Properties)
WebServerResources (js ...)


But it says

INFO: validateJarFile(C:\java\apache-tomcat-6.0.26\webapps\jcommops-ptf\WEB-INF
lib\JavaXML-5.4.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. O
fending class: javax/servlet/Servlet.class
[2010-6-18 16:18:43 CEST] main Initialized : er.extensions.ERXExtensions
Classes and frameworks will be loaded out of the WEB-INF/lib and WEB-INF/classe
 directories.
MainBundle will be set to jcommops-ptf
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServle
Adaptor.java:421)
at com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdap
or.java:95)
at com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.jav
:652)
at er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.ja
a:66)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper
java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:9
3)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte
t.java:4187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:
496)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
1)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.ja
a:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.
ava:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:50
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.jav
:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecyc
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053

at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:44
)
at org.apache.catalina.core.StandardService.start(StandardService.java:
19)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:71
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25

deployment on tomcat

2010-06-17 Thread Cros Laurent
HI guys,

 

  I am trying to deploy my app on tomcat.

 

With the basic url : 
http://localhost:8080/jcommops-ptf/WebObjects/jcommops-ptf.woa/ 
http://localhost:8080/jcommops-ptf/WebObjects/jcommops-ptf.woa/  , I have no 
error by empty content, here is my log in tomcat :

 

juin 17 11:55:12 JavaWebObjects[-1] DEBUG NSLog  - 
com.webobjects.appserver._private.WOComponentDefinition No template found for 
component Main at null.

juin 17 11:55:12 JavaWebObjects[-1] DEBUG 
er.extensions.appserver.ERXBrowserFactory  - Factory null creating default 
browser factory. null

juin 17 11:55:12 JavaWebObjects[-1] DEBUG 
er.extensions.appserver.ERXBrowserFactory  - _incrementReferenceCounterForKey() 
- count = 1, key = Safari.533.4.5.0.Windows.{cpu = Unknown CPU; geckoRevision 
= No Gecko;}

juin 17 11:55:12 JavaWebObjects[-1] DEBUG er.extensions.eof.ERXEC  - setting 
useUnlocker to true

juin 17 11:55:12 JavaWebObjects[-1] DEBUG 
er.extensions.ERXApplication.RequestHandling  - Returning, encoding: UTF-8 
response: er.extensions.appserver.ERXResponse 
(er.extensions.appserver.ERXResponsehttpVersion=HTTP/1.0 
headers={cache-control=[private, no-cache, no-store, must-revalidate, 
max-age=0], content-type=[text/html], date=[Thu, 17-Jun-2010 09:55:12 GMT], 
expires=[Thu, 17-Jun-2010 09:55:12 GMT], pragma=[no-cache], set-cookie=[], 
x-webobjects-loadaverage=[1]} content-length=0 cookies=() userInfo={} 
storePageInBacktrackCache=true ) status=200

 

I don't know why my content response length is 0

 

Here is my web.xml :

 

 

 

!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web

Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.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

display-namejcommops-ptf/display-name

context-param

   param-nameWOJarBundle/param-name

   param-valuefalse/param-value

   description

   Whether this app is a true 
WAR, rather than a stub WAR

   or SSDD Note that WOROOT, 
LOCALROOT, WOAINSTALLROOT,

   WOClassPath are ignored if this 
is true However, if this is

   true, WOMainBundle must be set 
to the main bundle name

   /description

/context-param

 

context-param

   param-nameWOMainBundle/param-name

   param-valuejcommops-ptf/param-value

   description

   Sets the name of the main 
bundle. Only used if WOJarBundle

   is true

   /description

/context-param





 context-param

param-nameWOROOT/param-name

param-valueC:/apple_5.4.3/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-nameLOCALROOT/param-name

param-valueC:/apple_5.4.3/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 

Re: deployment on tomcat

2010-06-17 Thread Julio Ortiz

Hi,

Since one year I only deploy my apps in Tomcat the easy way is as  
follows


1- Always deploy over JDk 1.6
2- Just Compile with ANT and copy the WEB-INF  generated directory in  
the Tomcat Context dir.
3- Do not use the er.extensions.jspservlet.ERXServletAdaptor, instead  
use com.webobjects.jspservlet.WOServletAdaptor

4- Restart Tomcat and enjoy

Julio Ortiz

Best regards


On Jun 17, 2010, at 5:09 AM, Cros Laurent wrote:


HI guys,

  I am trying to deploy my app on tomcat.

With the basic url : http://localhost:8080/jcommops-ptf/WebObjects/jcommops-ptf.woa/ 
 , I have no error by empty content, here is my log in tomcat :


juin 17 11:55:12 JavaWebObjects[-1] DEBUG NSLog  -  
com.webobjects.appserver._private.WOComponentDefinition No  
template found for component Main at null.
juin 17 11:55:12 JavaWebObjects[-1] DEBUG  
er.extensions.appserver.ERXBrowserFactory  - Factory null creating  
default browser factory. null
juin 17 11:55:12 JavaWebObjects[-1] DEBUG  
er.extensions.appserver.ERXBrowserFactory  -  
_incrementReferenceCounterForKey() - count = 1, key = Safari. 
533.4.5.0.Windows.{cpu = Unknown CPU; geckoRevision = No Gecko;}
juin 17 11:55:12 JavaWebObjects[-1] DEBUG er.extensions.eof.ERXEC  -  
setting useUnlocker to true
juin 17 11:55:12 JavaWebObjects[-1] DEBUG  
er.extensions.ERXApplication.RequestHandling  - Returning, encoding:  
UTF-8 response: er.extensions.appserver.ERXResponse  
(er.extensions.appserver.ERXResponsehttpVersion=HTTP/1.0 headers= 
{cache-control=[private, no-cache, no-store, must-revalidate, max- 
age=0], content-type=[text/html], date=[Thu, 17-Jun-2010 09:55:12  
GMT], expires=[Thu, 17-Jun-2010 09:55:12 GMT], pragma=[no-cache],  
set-cookie=[], x-webobjects-loadaverage=[1]} content-length=0  
cookies=() userInfo={} storePageInBacktrackCache=true ) status=200


I don’t know why my content response length is 0

Here is my web.xml :



!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.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
display-namejcommops-ptf/display-name
context-param
   param-nameWOJarBundle/param-name
   param-valuefalse/param-value
   description
   Whether this app is a  
true WAR, rather than a stub WAR
   or SSDD Note that  
WOROOT, LOCALROOT, WOAINSTALLROOT,
   WOClassPath are  
ignored if this is true However, if this is
   true, WOMainBundle  
must be set to the main bundle name

   /description
/context-param

context-param
   param-nameWOMainBundle/param-name
   param-valuejcommops-ptf/param-value
   description
   Sets the name of the  
main bundle. Only used if WOJarBundle

   is true
   /description
/context-param


 context-param
param-nameWOROOT/param-name
param-valueC:/apple_5.4.3/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-nameLOCALROOT/param-name
param-valueC:/apple_5.4.3/Local/param-value
  /context-param

  !-- Indicates the root where WebObjects applications are  
installed. In Mac OS X
   deployment, for example, WO 

Re: deployment on tomcat

2010-06-17 Thread Henrique Prange

Hi Laurent,

On 17/06/10 07:09, Cros Laurent wrote:


context-param
param-nameWOJarBundle/param-name
param-valuefalse/param-value



WOJarBundle should be true.


[...]

context-param
   param-nameWOROOT/param-name
   param-valueC:/apple_5.4.3/param-value
/context-param
context-param
   param-nameLOCALROOT/param-name
   param-valueC:/apple_5.4.3/Local/param-value
/context-param
context-param
   param-nameWOAINSTALLROOT/param-name
   param-valueC:/apple_5.4.3/Applications/param-value
/context-param
context-param
   param-nameWOClasspath/param-name
   param-value
  WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar
   /param-value
/context-param



You don't need to declare these parameters when deploying as true WAR.

Cheers,

Henrique
___
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


Re: deployment on tomcat

2010-06-17 Thread Henrique Prange

Hi Julio,

On 17/06/10 14:43, Julio Ortiz wrote:

Hi,

Since one year I only deploy my apps in Tomcat the easy way is as follows

1- Always deploy over JDK 1.6


Not a requirement. What kind of problems have you faced with JDK 1.5?


2- Just Compile with ANT and copy the WEB-INF generated directory in the
Tomcat Context dir.


Maven produces true WAR packages. The default Ant build provided by 
WOLips produces SSDD packages. Both have advantages and drawbacks. I 
prefer true WAR packages because they are less problematic and easier to 
understand.



3- Do not use the er.extensions.jspservlet.ERXServletAdaptor, instead
use com.webobjects.jspservlet.WOServletAdaptor


ERXServletAdaptor is a requirement if you have Wonder based applications.


4- Restart Tomcat and enjoy



Good advice.

Cheers,

Henrique



Best regards

Julio


On Jun 17, 2010, at 5:09 AM, Cros Laurent wrote:


HI guys,
I am trying to deploy my app on tomcat.
With the basic url :
http://localhost:8080/jcommops-ptf/WebObjects/jcommops-ptf.woa/ , I
have no error by empty content, here is my log in tomcat :
juin 17 11:55:12 JavaWebObjects[-1] DEBUG NSLog -
com.webobjects.appserver._private.WOComponentDefinition No template
found for component Main at null.
juin 17 11:55:12 JavaWebObjects[-1] DEBUG
er.extensions.appserver.ERXBrowserFactory - Factory null creating
default browser factory. null
juin 17 11:55:12 JavaWebObjects[-1] DEBUG
er.extensions.appserver.ERXBrowserFactory -
_incrementReferenceCounterForKey() - count = 1, key =
Safari.533.4.5.0.Windows.{cpu = Unknown CPU; geckoRevision = No
Gecko;}
juin 17 11:55:12 JavaWebObjects[-1] DEBUG er.extensions.eof.ERXEC -
setting useUnlocker to true
juin 17 11:55:12 JavaWebObjects[-1] DEBUG
er.extensions.ERXApplication.RequestHandling - Returning, encoding:
UTF-8 response: er.extensions.appserver.ERXResponse
(er.extensions.appserver.ERXResponsehttpVersion=HTTP/1.0
headers={cache-control=[private, no-cache, no-store, must-revalidate,
max-age=0], content-type=[text/html], date=[Thu, 17-Jun-2010 09:55:12
GMT], expires=[Thu, 17-Jun-2010 09:55:12 GMT], pragma=[no-cache],
set-cookie=[], x-webobjects-loadaverage=[1]} content-length=0
cookies=() userInfo={} storePageInBacktrackCache=true ) status=200
I don’t know why my content response length is 0
Here is my web.xml :
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.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
display-namejcommops-ptf/display-name
context-param
param-nameWOJarBundle/param-name
param-valuefalse/param-value
description
Whether this app is a true WAR, rather than a stub WAR
or SSDD Note that WOROOT, LOCALROOT, WOAINSTALLROOT,
WOClassPath are ignored if this is true However, if this is
true, WOMainBundle must be set to the main bundle name
/description
/context-param
context-param
param-nameWOMainBundle/param-name
param-valuejcommops-ptf/param-value
description
Sets the name of the main bundle. Only used if WOJarBundle
is true
/description
/context-param
context-param
param-nameWOROOT/param-name
param-valueC:/apple_5.4.3/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-nameLOCALROOT/param-name
param-valueC:/apple_5.4.3/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-nameWOAINSTALLROOT/param-name
param-valueC:/apple_5.4.3/Applications/param-value
/context-param
context-param
param-nameWOClasspath/param-name
param-value