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

Re: Eclipse Tomcat distribution


  • Subject: Re: Eclipse Tomcat distribution
  • From: John Larson <email@hidden>
  • Date: Tue, 17 Oct 2006 12:17:16 -0500

Dear Paul,

Thank you for your help.  It turns out that was a bunch of things that weren't right.  It looks like I HAD to make sense of what you wrote to fix it.  I'm not sure if my "fixes" are necessary or if they are workarounds for incorrect settings, but this is what I did.

1) The woa file ends up at the same level as WEB-INF, it should be in WEB-INF.
2) The woa classpath in web.xml wasn't right at all.  I don't remember what it was, but it wasn't right.  So I moved the woa file into WEB-INF and adjusted the classpath in web.xml accordingly.
3) The build scrip wasn't including all the frameworks in WEB-INF.Library.Frameworks, and it wasn't including the classpath to the frameworks. (including javawojspservlet.jar)

Now it works.

Thanks for your help,
John

On Oct 17, 2006, at 10:33 AM, Paul D Yu wrote:

John

You have to create a text file called LICENSE, with the deployment license key in it.  The file should be in the project wrapper "." or if you are using the old WOLips build.xml, the LICENSE file should actually be one level higher "..".

You will also need to make sure the classpath reference to the application jar is pointing to the right place.  That was one of the last issues I had to deal with.

There are two version of the build.xml files there contributed by Pierre.  I used the first one.  I have not had a chance to incorporate his second set of changes.

Hope this helps.

Paul

On Oct 17, 2006, at 10:40 AM, John Larson wrote:

Thanks Paul,

To be honest, I'm not comfortable enough with ANT to follow all the changes you made, but it appears as if I may have made some headway.  I am getting the WAR file now, (which I wasn't before), and everything looks better, but I'm still getting the same error (WOServletAdaptor is not available).  I take it that the most likely place to look is in the license issue, but I'm not sure what to do here.  I'm confused by the statement "and create the LICENSE in your project" in the build.xml.  In my previous projects (that work) LICENSE is just the WebObjects license agreement.  Is that was this is talking about??  I'd imagine that it's looking for the deployment license key, but . . . 

Thanks again,
John

On Oct 17, 2006, at 8:34 AM, Paul D Yu wrote:

John

 I have build a private version of the WOLips plugin that will basically build the a WebObjects Application for SSDD/WAR deployment.  The changes I have made are in the files associated with the bug

http://objectstyle.org/jira/browse/WOL-221

Some of the write up may be helpful for you.  I'm waiting for the changes to be incorporated into the product :-)

Also, did you add the JavaWOJSPServlet.framework to your project?

Paul

http://www.superdiem.com - U.S. government per diem and mileage rates

In advance, I'm sorry for not reading the manual, but I can't find the manual!  I'm trying to build my project for deployment to a Tomcat server.  In XCode jam spit out a WEB-INF folder with a web.xml file, the woa, a lib folder, etc.  I can get Eclipse to build for direct connect following the wiki deployment instructions, but I'm stuck there.  I also read the Eclipse documentation on producing a Tomcat project, but I don't want to build a whole new project.  I assume that this is an ant build procedure that I'm not familiar with ??  It looks like I can manhandle the build myself, but I'd rather have a clean folder to deploy.

thanks in advance,
John





 _______________________________________________
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: Eclipse Tomcat distribution (From: Paul D Yu <email@hidden>)
 >Re: Eclipse Tomcat distribution (From: John Larson <email@hidden>)
 >Re: Eclipse Tomcat distribution (From: Paul D Yu <email@hidden>)

  • Prev by Date: Re: Eclipse Tomcat distribution
  • Next by Date: Saving behaviour - validateForUpdate called on a deleted object
  • Previous by thread: Re: Eclipse Tomcat distribution
  • Next by thread: Eclipse / wolips / X-Code –– Baffled
  • Index(es):
    • Date
    • Thread