Re: WO 5.3 and deploy on tomcat
Re: WO 5.3 and deploy on tomcat
- Subject: Re: WO 5.3 and deploy on tomcat
- From: Michael Engelhart <email@hidden>
- Date: Thu, 16 Jun 2005 08:16:47 -0500
OK - the workaround isn't right. Xcode isn't putting the
JavaWOJSPServlet into the Frameworks group and when I try to add it
either by dragging it there or by adding existing frameworks, I get
the same Internal Error as above with a choice to continue or quit and
continue doesn't do anything. I've deleted my plist, removed the
build directory. What's strange is that this is happening on all my
machines but I find it hard to believe that this whole thing is
actually broken in XCode right out of the gate. Anybody out there
able to create HelloWorld as a servlet deployment? That's all I'm
trying to do at this point.
Thanks
Mike
On 6/16/05, Michael Engelhart <email@hidden> wrote:
> I just discovered a workaround and that is when it says "upgrade a
> copy" on launch, rename the file to something else, then go in and
> delete the old file and put the new file.
> XCode still doesn't appear to bulid anything resembling a serlvet
> deployment (i.e., no web-inf or anything like that) so I'm not sure
> it's even working at all. I have to go and read the docs on how to
> deploy as a servlet.
>
> Mike
>
> On 6/16/05, Michael Engelhart <email@hidden> wrote:
> > Hmmm. When I try and build a single servlet Application in XCode 2.1
> > using a 5.2.4 license key, XCode spits out this:
> >
> > "Internal Error
> > File: /SourceCache/DevToolsBase/DevToolsBase-620.0.81/pbxcore/Target.subproj/PBXTarget.m
> > Line: 1433
> > Object: <PBXApplicationTarget:0x006ed800>
> > Method: setBuildSetting:forKey:
> >
> > Don't invoke this method when build configurations are enabled."
> >
> > THen I can "continue" or "quit" - continue does nothing but redisplay
> > the error, quit works.
> >
> > The project is created though but when I double click on the xcodeproj
> > file, I get another error:
> > "The project "ServletTest.xcodeproj" was saved with an older version
> > of Xcode. To open it, you must first make a copy of it, which will
> > have the '.xcodeproj' extension. Are you sure you want to open an
> > upgraded copy?"
> >
> > I click upgrade and nothing happens.
> >
> > This is repeatable on all my machines (two different G5's and a PowerBook G4).
> >
> > So I'm curious how people are getting single servlet builds working if
> > XCode 2.1 has all these weird project creation problems.
> >
> > Mike
> >
> >
> > On 6/13/05, 時期 精霊 <email@hidden> wrote:
> > > Hello,
> > >
> > > work very well for me.
> > >
> > > I deploy in production with Sun Application Server, and work well too.
> > >
> > > I build a Single Dir deploy.
> > >
> > > Regards
> > >
> > > Kuon
> > > On Jun 13, 2005, at 10:42 PM, Paolo Sommaruga wrote:
> > >
> > > > Hi,
> > > >
> > > > has anyone tryed to deploy with Xcode 2.1 WO 5.3 on tomcat ? I have
> > > > tryed to deploy some applications which deployed on tomcat with
> > > > 5.2.4 worked fine. Now with 5.4 it seems that nothing go in the
> > > > right way.
> > > >
> > > > In tomcat 5.0.28 I have error like:
> > > >
> > > >
> > > > SEVERE: Error reading tld listeners javax.servlet.ServletException:
> > > > Exception processing TLD at resource path /WEB-INF/tlds/
> > > > WOtaglib_1_0.tld in context
> > > > javax.servlet.ServletException: Exception processing TLD at
> > > > resource path /WEB-INF/tlds/WOtaglib_1_0.tld in context
> > > > ....
> > > > SEVERE: Parse error in default web.xml
> > > > org.apache.commons.logging.LogConfigurationException:
> > > > java.lang.VerifyError: (class: org/apache/log4j/LogManager, method:
> > > > <clinit> signature: ()V) Incompatible argument to function (Caused
> > > > by java.lang.VerifyError: (class: org/apache/log4j/LogManager,
> > > > method: <clinit> signature: ()V) Incompatible argument to function)
> > > >
> > > > With tomcat 4.1.30 the application seems to start but with
> > > > JavaWebObjects.woa instead of the correct woa name. Moreover it
> > > > seems there are problem with the d2w file
> > > >
> > > > Found MainBundle at: /export/home/java/tomcat-4.1.30/webapps/
> > > > PasoPage/WEB-INF/PasoPage.woa
> > > > ...
> > > > Welcome to JavaWebObjects!
> > > > - <WOApplication>.primeApplication: Application class is not in a
> > > > package. This could cause problems with some appservers.
> > > > - <WOApplication>.primeApplication: The Application name is
> > > > JavaWebObjects
> > > > - ** DirectToWeb could not find user.d2wmodel file. One will be
> > > > created if you try to save changes.
> > > > - ** DirectToWeb could not find user.d2wmodel file. One will be
> > > > created if you try to save changes.
> > > > - DirectToWeb using default user.d2wmodel file.
> > > > - The URL for webserver connect through Servlet Container is:
> > > > http://localhost//PasoPage/WebObjects/JavaWebObjects.woa
> > > >
> > > > Regards
> > > >
> > > >
> > > > Paolo Sommaruga
> > > > _______________________________________________
> > > > Do not post admin requests to the list. They will be ignored.
> > > > Webobjects-dev mailing list (email@hidden)
> > > > Help/Unsubscribe/Update your Subscription:
> > > > 40goyman.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
> > >
> >
>
_______________________________________________
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