• 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
Re: Deployment with Tomcat 8 (and beyond)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deployment with Tomcat 8 (and beyond)


  • Subject: Re: Deployment with Tomcat 8 (and beyond)
  • From: Jon Nolan <email@hidden>
  • Date: Mon, 09 Nov 2015 13:01:10 -0800 (PST)

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@hidden> 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@hidden> 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@hidden> 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.



 _______________________________________________
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: Deployment with Tomcat 8 (and beyond)
      • From: Kevin Hinkson <email@hidden>
References: 
 >Re: Deployment with Tomcat 8 (and beyond) (From: Kevin Hinkson <email@hidden>)

  • Prev by Date: Re: Deployment with Tomcat 8 (and beyond)
  • Next by Date: Re: Deployment with Tomcat 8 (and beyond)
  • Previous by thread: Re: Deployment with Tomcat 8 (and beyond)
  • Next by thread: Re: Deployment with Tomcat 8 (and beyond)
  • Index(es):
    • Date
    • Thread