• 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: Tomcat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tomcat


  • Subject: Re: Tomcat
  • From: "Ricardo Cortes" <email@hidden>
  • Date: Wed, 08 Jun 2005 13:22:29 -0400
  • Organization: Bolt

I've got an app up and running in Tomcat.  Here's the URL:

http://electrophobic.com

Note the URL when you click the link.  There are a few things you need
to do to get things working (as in, some quirks) but, for the most part,
it was pretty straight forward.  With that said, it's much easier if you
begin the project as a WAR deployment project from the start.  Also, the
Wonder frameworks don't entirely work with WAR deployment in a servlet
container.  For example, one of the frameworks in Wonder contains
multiple jars and when I build with a build target of WAR only the
FrameworkName.jar gets copied, not the other jars.  This might be a bug
with WebObjects rather than Wonder but this is the first situation I've
found that brought this bug to the forefront.

Local development is a breeze as it always is with WebObjects but when
you are ready to deploy as a WAR there's a few steps you need to do to
make sure things work properly.  First, I always do a 'xcodebuild clean'
my EO framework and then a 'xcodebuild install -buildstyle Deployment
DSTROOT=/'.  Both builds are done from the command line.  Then, I remove
the build directory from my WO project folder, do a clean build in XCode
and finally a regular development build with the WAR deploying directly
into my instance of Tomcat running on my Powerbook in addition to
WebObjects.  I then launch Tomcat on my Powerbook first to see if the
application works before copying the WAR to my deployment server.  I
know these steps sound a bit much but it's the only set of steps that
always works for me.  I cannot build my WO application for WAR
deployment using only the commandline (or vice-versa with XCode).  I
have to use a combination of both for my EO framework and my WO
application.  Hope that helps....

Regards,
Ricardo

--
Lead Software Engineer
email@hidden
Bolt Media - www.bolt.com


On Wed, 2005-06-08 at 08:30 -0400, Jeremy Matthews wrote:
> Has anyone out there written any solid documentation about developing/
> deploying Tomcat for WO-built WAR's?
>
> Any good or bad experiences?
>
> Thanks,
> jeremy
>  _______________________________________________




 _______________________________________________
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

References: 
 >Tomcat (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Which MySql / Jconnector version?
  • Next by Date: Re: Newbie - books on WO5.3 would be good
  • Previous by thread: Tomcat
  • Next by thread: Re. Build fail with XCODE 2.1
  • Index(es):
    • Date
    • Thread