• 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: HTTP Status 404 - Servlet WOServletAdaptor is not available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP Status 404 - Servlet WOServletAdaptor is not available


  • Subject: Re: HTTP Status 404 - Servlet WOServletAdaptor is not available
  • From: David Avendasora <email@hidden>
  • Date: Fri, 8 Sep 2006 09:03:49 -0400

When I've run into the WOServletAdaptor is not available it has meant one of two things:

1) Incorrect SN - probably not your issue since you know where to get a good one.

2) Verify that the "JavaWOJSPServlet.framework" is in your WEB-INF/ Library/Frameworks directory. If it is, for some reason Tomcat isn't finding the "com.webobjects.jspservlet.WOServletAdaptor" as defined by the web.xml document as the location of the WOServletAdaptor. I have gotten it to work by adding "WEBINFROOT/Library/Frameworks/ JavaWOJSPServlet.framework/WebServerResources/Java/com/webobjects/ jspservlet/WOServletAdaptor.class" to the WOClasspath parameter in the web.xml file. Every time you deploy this will be overwritten (based on the web.xml.template file in your Xcode project) but it seems it only needs to work once then it will work properly after, even if .class file is no longer in the classpath.

I haven't 100% tested and confirmed this in all cases, but If I do both of these steps I've gotten at least a couple SSDD with the "Servlet WOServletAdaptor is not available" error to launch correctly.

Dave

On Sep 8, 2006, at 8:27 AM, Jeremy Matthews wrote:

Unfortunately, this doesn't seem to work, though I did notice that some of my steps are no longer necessary.

Any Tomcat SSDD'ers out there who have solved this problem?

Thanks,
jeremy

On Thursday, September 07, 2006, at 08:42PM, David Avendasora <email@hidden> wrote:

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

  • Prev by Date: Re: Xcode 2.4 Deprecation Announcements
  • Next by Date: Re: Mysterious field not reachable from entity error
  • Previous by thread: HTTP Status 404 - Servlet WOServletAdaptor is not available
  • Next by thread: Entity Chooser weirdness
  • Index(es):
    • Date
    • Thread