• 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 build & deployment idiot's guide needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tomcat build & deployment idiot's guide needed


  • Subject: Re: Tomcat build & deployment idiot's guide needed
  • From: Jim Kuo <email@hidden>
  • Date: Thu, 28 Jul 2005 21:51:20 +0100

oh yes, to work around the database connectivity problem, you need to comment out this section,

<!--
<resource-ref>
    <description>The data source to be used by EOF. If there are multiple data sources,
                 then the definition below must be used to configure which JDBC URL (Model) should
                 use which data source. If EOF should use a JDBC driver directly, this section must be commented out</description>
    <res-ref-name>jdbc/DefaultDataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
</resource-ref>
-->

in web.xml.template in your project under Resources/Servlet Resources/WEB-INF

Jim


On 28 Jul 2005, at 21:00, David Schneider-Joseph wrote:

As a newbie to WebObjects intending to deploy on Tomcat servers, I've had to grabble with this myself this past week.  I finally got it working yesterday.  To get around the symlink problem, I manually replaced the aliases with folders of the same name, on each successive build, until the build finally surpassed that obstacle.  But the problem is I still encountered some PhaseScriptExecution issues.  So I ultimately just copied and pasted the entire slew of settings from the Development style, to Deployment, with the addition of the SERVLET_* settings.  That worked.  However, Jim Huan-Pu Kuo's solution seems much preferable.  (I just tried it on a new project, and the build worked flawlessly.  If you are having problems with it, try cleaning your targets.)

One issue you'll want to look out for is database connectivity.  It worked fine for me on Tomcat 3.x, but when I tried on Tomcat 4.x and Tomcat 5.x, I had problems, until I followed the instructions here: http://lists.apple.com/archives/webobjects-dev/2005/Mar/msg00199.html

 _______________________________________________
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: 
 >Re: Tomcat build & deployment idiot's guide needed (From: David Schneider-Joseph <email@hidden>)

  • Prev by Date: Re: Tomcat build & deployment idiot's guide needed
  • Next by Date: Re: Tomcat build & deployment idiot's guide needed
  • Previous by thread: Re: Tomcat build & deployment idiot's guide needed
  • Next by thread: Re: Tomcat build & deployment idiot's guide needed
  • Index(es):
    • Date
    • Thread