• 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 5.5.17 & WO 5.3.2 & MySQL 5.0.24
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tomcat 5.5.17 & WO 5.3.2 & MySQL 5.0.24


  • Subject: Re: Tomcat 5.5.17 & WO 5.3.2 & MySQL 5.0.24
  • From: David Avendasora <email@hidden>
  • Date: Thu, 7 Sep 2006 20:42:02 -0400

This is something I found the hard way, and I thought I had posted, but apparently not:

First, but not really critical, is that with the more current version of Xcode (At least 2.3 and above, I believe), you no longer need steps 2 and 3 of the Xcode instructions as it no longer fails simply trying to build.

The real key is step 4. When you specify the servlet settings (Deploy in a servlet container, Deploy as a Servlet Single Directory Deployment, etc.) while setting up a new Xcode project, those build settings make it into the .xcodeproj package, but they don't show up in the build settings and (THIS IS THE KEY!!!) you can't overwrite or change them, no matter what build settings you put in manually. (I have submitted this bug to Apple.) Because of this bug step 4 in your instructions doesn't actually do what it is supposed to.

Here's how you fix the build settings, picking up after your step 1:

2) Make a backup of your .xcodeproj package (just in case)
3) Show the contents the .xcodeproj package in the finder (Right- click in finder and select "Show Package Contents")
4) Open the "project.pbxproj" file in a text editor. Find all of the SERVLET_* keys you are trying to set manually and remove them from the file. (simply do a search, it's pretty obvious on what you need to do to get rid of them.)
5) Save and close the file
6) Open the project again in Xcode and continue with your Step 4 from the link below.


I hope this helps you, I know I spent days trying to figure out why my settings weren't working.

If this works for you, please feel free to put it up on the Wiki. If you don't have the time, let me know and I'll put the entire process up there, with your permission.

Dave

On Sep 7, 2006, at 3:35 PM, Jeremy Matthews wrote:

(Apologies for cross-posting...not sure where the problem lies)

Somehow, my directions no longer work, and I've like to update them for WO 5.3.2 and Tomcat 5.5.17...(SSDD)
Upon following my own directions, I get the dreaded "HTTP Status 404 - Servlet WOServletAdaptor is not available" error.


I've double-checked the license key; this error occurs even on new WO app projects.

The old instructions:
http://www.sisuworks.com/page3/files/WebObjects Tomcat MySQL.rtf



Any advice would be helpful; I'd be happy to re-adjust my docs since I still get questions from time to time...

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:
40avendasora.com


This email sent to email@hidden



_______________________________________________ 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:
    • HTTP Status 404 - Servlet WOServletAdaptor is not available
      • From: Jeremy Matthews <email@hidden>
References: 
 >Tomcat 5.5.17 & WO 5.3.2 & MySQL 5.0.24 (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: New WOComponent instance
  • Next by Date: Re: Another newbie question concerning Hyperlink
  • Previous by thread: Tomcat 5.5.17 & WO 5.3.2 & MySQL 5.0.24
  • Next by thread: HTTP Status 404 - Servlet WOServletAdaptor is not available
  • Index(es):
    • Date
    • Thread