Thanks Jon. That regex for " clean up whatever is left” solved my issue.

On Nov 9, 2015, at 5:01 PM, Jon Nolan <[email protected] 
<mailto:[email protected]> > 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.

<!-- fix the Macos*ClassPath.txt files  -->
<replaceregexp 
file="${dest.dir}/${build.app.name}/WEB-INF/${build.app.name}.woa/Contents/MacOS/MacOSClassPath.txt"
 match="APPROOT/Resources/Java/${build.app.name.lowercase}.jar" 
replace="APPROOT/${build.app.name}.woa/Contents/Resources/Java/${build.app.name.lowercase}.jar"
 byline="true" />
<replaceregexp 
file="${dest.dir}/${build.app.name}/WEB-INF/${build.app.name}.woa/Contents/MacOS/MacOSXServerClassPath.txt"
 match="APPROOT/Resources/Java/${build.app.name.lowercase}.jar" 
replace="APPROOT/${build.app.name}.woa/Contents/Resources/Java/${build.app.name.lowercase}.jar"
 byline="true" />

<!-- fix the web.xml file:  the app itself needs build.app.name/Contents -->
<replaceregexp file="${dest.dir}/${build.app.name}/WEB-INF/web.xml" 
match="WEBINFROOT/Resources/Java/${build.app.name.lowercase}.jar" 
replace="/var/lib/tomcat8/webapps/ROOT/WEB-INF/${build.app.name}.woa/Contents/Resources/Java/${build.app.name.lowercase}.jar"
 byline="true" />

<!-- fix the web.xml file to remove the extra Frameworks/ directory level for 
the frameworks -->
<replaceregexp file="${dest.dir}/${build.app.name}/WEB-INF/web.xml" 
match="WEBINFROOT/Frameworks//" replace="/var/lib/tomcat8/webapps/ROOT/WEB-INF" 
byline="true" />


<!-- clean up whatever is left -->
<replaceregexp file="${dest.dir}/${build.app.name}/WEB-INF/web.xml" 
match="WEBINFROOT/" replace="/var/lib/tomcat8/webapps/ROOT/WEB-INF/" 
byline="true" />

<!-- fix the web.xml file to set the url pattern correctly for ec2  
 since the app is running as ROOT.war on ec2 we can make all requests go to the 
WOServletAdaptor -->
<replaceregexp file="${dest.dir}/${build.app.name}/WEB-INF/web.xml" 
match="/WebObjects/\*" replace="/${build.app.name}/WebObjects/\*" byline="true" 
/>

<!-- fix the web.xml file to get rid of stupid taglibs (probably a better way 
to do this) -->
<replaceregexp file="${dest.dir}/${build.app.name}/WEB-INF/web.xml" 
match="taglib" replace="xtaglib" byline="true" />


---
jon nolan - sitequest technologies


On Mon, Nov 9, 2015 at 1:50 PM, Kevin Hinkson <[email protected] 
<mailto:[email protected]> > 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 <[email protected] 
<mailto:[email protected]> > 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 <[email protected] 
<mailto:[email protected]> > 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 ([email protected] 
<mailto:[email protected]> )
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/jon%40sitequesttech.com

This email sent to [email protected] <mailto:[email protected]> 




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

This email sent to [email protected]

Reply via email to