It's the Struts 2 modular type, perhaps that's the problem.  What do you do
to install the core module?

Thanks!



mraible wrote:
> 
> Are you using a basic or modular archetype? If its modular, you might
> want to make sure you've "installed" the core module.
> 
> Matt
> 
> On Nov 7, 2007 6:01 PM, jackalista <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I am seeing these problems as well and also started with the M5 version
>> of
>> AF 2.0.  When I commented out the gzip filter I get the page at
>> http://localhost:8080/services/ but it only lists the UserService and has
>> the problem with the double slash in the URL.  Where is the file in which
>> the URL can be fixed?  Also, I've marked up 3 more services plus the
>> Person
>> service from the tutorial and am still not seeing any of those 4 services
>> those show up.  I looked at xfire-servlet.xml and there are 4 copies of
>> the
>> file, all in the target directory (where is the source for this file?)
>> and
>> none of them list any of the services, even the UserService that shows up
>> in
>> the above listing.  It doesn't look like the annotations are being turned
>> into entries in xfire-servlet.xml, is there more info on this?  Also,
>> should
>> I upgrade to the official 2.0 release since I started this project on
>> 2.0M5?
>>
>> tia...
>>
>> --j
>>
>>
>>
>>
>> Aakhunaten wrote:
>> >
>> > The bad URLs with the double slashes issue exists in my project based
>> on
>> > Appfuse 2.0M5 also, but clicking the WSDL links do not throw a 'page
>> not
>> > found' error. But this error is not a show stopper, since removing the
>> > slash from the URL give you the WSDL file.
>> >
>> > Thanks
>> >
>> > -- Aakhunaten
>> >
>> >
>> > mraible wrote:
>> >>
>> >> This is a known issue - the XFire index page creates bad URLs with two
>> >> slashes in them.
>> >>
>> >> Matt
>> >>
>> >>
>> >> On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote:
>> >>>
>> >>> Ok my excitement was short lived :-(. Now the web services are
>> listed,
>> >>> but
>> >>> when I click on the link to the wsdl, i get a 'Page not found'.
>> >>>
>> >>> Thanks,
>> >>> --Aakhunaten
>> >>>
>> >>>
>> >>> Aakhunaten wrote:
>> >>> >
>> >>> > Woohooo! That works! I am sooooo relieved.
>> >>> >
>> >>> > Thanks a lot, Matt.
>> >>> >
>> >>> > I will enter this in JIRA.
>> >>> >
>> >>> > -- Aakhunaten
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>> > mraible wrote:
>> >>> >>
>> >>> >> Removing the following from xfire-servlet.xml fixes the problem:
>> >>> >>
>> >>> >>        default-lazy-init="true"
>> >>> >>
>> >>> >> Can you enter this as an issue in JIRA?
>> >>> >>
>> >>> >> http://issues.appfuse.org/browse/APF
>> >>> >>
>> >>> >> Thanks,
>> >>> >>
>> >>> >> Matt
>> >>> >>
>> >>> >> On 9/19/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>> >>> >>> I'll see if I can reproduce this problem.
>> >>> >>>
>> >>> >>> On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote:
>> >>> >>> >
>> >>> >>> > Hmm....
>> >>> >>> >
>> >>> >>> > All the classes that I wanted exposed as webservices have the
>> >>> >>> @WebService
>> >>> >>> > annotation. But none of them show up.
>> >>> >>> >
>> >>> >>> > What I did was I just created a new project like so
>> >>> >>> > mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
>> >>> >>> > -DarchetypeArtifactId=appfuse-basic-struts
>> >>> >>> > -DremoteRepositories=http://static.appfuse.org/releases
>> >>> >>> > -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app
>> >>> >>> -DartifactId=myproject
>> >>> >>> >
>> >>> >>> > I commented out GZipFilter in web.xml  and then I ran mvn
>> >>> >>> jetty:run-war. I
>> >>> >>> > get the XFire page but no web services are listed. I thought
>> the
>> >>> base
>> >>> >>> app
>> >>> >>> > came with UserService... I dont even see that! Initially i
>> thought
>> >>> my
>> >>> >>> .m2
>> >>> >>> > repo was corrupt and recreated the app many times.... its still
>> >>> the
>> >>> >>> same. At
>> >>> >>> > this point I am pretty much at a loss as to what to do!
>> >>> >>> >
>> >>> >>> > Thanks,
>> >>> >>> > --Aakhunaten
>> >>> >>> >
>> >>> >>> >
>> >>> >>> >
>> >>> >>> >
>> >>> >>> >
>> >>> >>> >
>> >>> >>> > mraible wrote:
>> >>> >>> > >
>> >>> >>> > > On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote:
>> >>> >>> > >>
>> >>> >>> > >> The projects I created and maintain were created with
>> >>> >>> appfuse-2.0M5. And
>> >>> >>> > >> all
>> >>> >>> > >> these projects have a applicationContext-webservices.xml in
>> the
>> >>> >>> WEB-INF
>> >>> >>> > >> directory.
>> >>> >>> > >
>> >>> >>> > > You must have created this file then - we've never shipped a
>> >>> file
>> >>> >>> with
>> >>> >>> > > this name in 2.x.
>> >>> >>> > >
>> >>> >>> > >>
>> >>> >>> > >> In any case, if i dont have this file, I get the page
>> generated
>> >>> by
>> >>> >>> XFire
>> >>> >>> > >> but
>> >>> >>> > >> it does not have the webservices that Appfuse provides by
>> >>> default
>> >>> >>> (User
>> >>> >>> > >> and
>> >>> >>> > >> Echo services). Again, none of my services are being exposed
>> >>> too.
>> >>> >>> Does it
>> >>> >>> > >> mean I have to add entries to xfire-servlet.xml?
>> >>> >>> > >
>> >>> >>> > > xfire-servlet.xml should expose all files annotated with
>> >>> >>> @WebService.
>> >>> >>> > > You might want to make sure your web.xml and
>> xfire-servlet.xml
>> >>> match
>> >>> >>> > > the latest in 2.0.
>> >>> >>> > >
>> >>> >>> > > Matt
>> >>> >>> > >
>> >>> >>> > >>
>> >>> >>> > >>
>> >>> >>> > >> mraible wrote:
>> >>> >>> > >> >
>> >>> >>> > >> > AppFuse doesn't have a applicationContext-webservice.xml
>> so
>> >>> I'm
>> >>> >>> > >> > confused as to what you're talking about. AppFuse's Web
>> >>> Services
>> >>> >>> are
>> >>> >>> > >> > exposed by xfire-servlet.xml.
>> >>> >>> > >> >
>> >>> >>> > >> > Matt
>> >>> >>> > >> >
>> >>> >>> > >> > On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote:
>> >>> >>> > >> >>
>> >>> >>> > >> >> I commented out the GZipFilter in web.xml like you said,
>> and
>> >>> now
>> >>> >>> I do
>> >>> >>> > >> see
>> >>> >>> > >> >> the
>> >>> >>> > >> >> page.
>> >>> >>> > >> >>
>> >>> >>> > >> >> BUT, I do not see any webservices UNLESS i have a
>> >>> >>> > >> >> WEB-INF/applicationContext-webservice.xml. I did not have
>> to
>> >>> add
>> >>> >>> an
>> >>> >>> > >> entry
>> >>> >>> > >> >> in
>> >>> >>> > >> >> this file with M5, just using annotations exposed the
>> >>> manager as
>> >>> >>> > >> >> webservices. Is this the way it should be? Do we now
>> require
>> >>> the
>> >>> >>> > >> >> applicationContext-webservice.xml?
>> >>> >>> > >> >>
>> >>> >>> > >> >> Thanks.
>> >>> >>> > >> >>
>> >>> >>> > >> >>
>> >>> >>> > >> >>
>> >>> >>> > >> >>
>> >>> >>> > >> >> Aakhunaten wrote:
>> >>> >>> > >> >> >
>> >>> >>> > >> >> > OH! duh! ... I will try that ...
>> >>> >>> > >> >> >
>> >>> >>> > >> >> > Thanks a bunch.
>> >>> >>> > >> >> >
>> >>> >>> > >> >> > btw, i know you have heard this before, YOU THE MAN!
>> Great
>> >>> >>> work!
>> >>> >>> > >> >> >
>> >>> >>> > >> >> > -- Aakhunaten
>> >>> >>> > >> >> >
>> >>> >>> > >> >> >
>> >>> >>> > >> >> > mraible wrote:
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >> It still works out-of-the-box, you just can't see the
>> >>> index
>> >>> >>> page.
>> >>> >>> > >> If
>> >>> >>> > >> >> >> you're keen on seeing this page, comment out the
>> >>> GZipFilter
>> >>> >>> mapping
>> >>> >>> > >> in
>> >>> >>> > >> >> >> your web.xml.
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >> http://issues.appfuse.org/browse/APF-863
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >> Your WSDL should still be available.
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >> Matt
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >> On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote:
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >> >>> Hi,
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >> >>> I have been using Appfuse since M5. I have developed
>> my
>> >>> >>> entire
>> >>> >>> > >> >> project
>> >>> >>> > >> >> >>> with
>> >>> >>> > >> >> >>> M5. Now that 2.0 is out, I thought I would go ahead
>> and
>> >>> >>> upgrade
>> >>> >>> > >> the
>> >>> >>> > >> >> >>> project.
>> >>> >>> > >> >> >>> To begin with, I tried to create a basic struts based
>> >>> >>> appfuse
>> >>> >>> > >> >> project. I
>> >>> >>> > >> >> >>> tried to access http://localhost:8080/services and
>> all i
>> >>> get
>> >>> >>> is a
>> >>> >>> > >> >> white
>> >>> >>> > >> >> >>> page. When I checked the WEB-INF directory even with
>> >>> >>> war:in-place,
>> >>> >>> > >> i
>> >>> >>> > >> >> do
>> >>> >>> > >> >> >>> not
>> >>> >>> > >> >> >>> find applicationContext-webservices.xml! Is there
>> >>> something
>> >>> >>> I am
>> >>> >>> > >> >> missing
>> >>> >>> > >> >> >>> here? It used to work out of the box and i could see
>> the
>> >>> >>> services
>> >>> >>> > >> >> page
>> >>> >>> > >> >> >>> with
>> >>> >>> > >> >> >>> UserWebService listed.
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >> >>> Can someone please help me with this?
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >> >>> Thanks,
>> >>> >>> > >> >> >>> --Aakhunaten
>> >>> >>> > >> >> >>> --
>> >>> >>> > >> >> >>> View this message in context:
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >>
>> >>> >>> > >>
>> >>> >>>
>> >>>
>> http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12777689
>> >>> >>> > >> >> >>> Sent from the AppFuse - User mailing list archive at
>> >>> >>> Nabble.com.
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >> >>>
>> >>> >>> > >>
>> >>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> >>> > >> >> >>> To unsubscribe, e-mail:
>> >>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> >> >>> For additional commands, e-mail:
>> >>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >> >>>
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >> --
>> >>> >>> > >> >> >> http://raibledesigns.com
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >>
>> >>> >>> > >>
>> >>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> >>> > >> >> >> To unsubscribe, e-mail:
>> >>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> >> >> For additional commands, e-mail:
>> >>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >>
>> >>> >>> > >> >> >
>> >>> >>> > >> >> >
>> >>> >>> > >> >>
>> >>> >>> > >> >> --
>> >>> >>> > >> >> View this message in context:
>> >>> >>> > >> >>
>> >>> >>> > >>
>> >>> >>>
>> >>>
>> http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12785779
>> >>> >>> > >> >> Sent from the AppFuse - User mailing list archive at
>> >>> Nabble.com.
>> >>> >>> > >> >>
>> >>> >>> > >> >>
>> >>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> >>> > >> >> To unsubscribe, e-mail:
>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> >> For additional commands, e-mail:
>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> >>
>> >>> >>> > >> >>
>> >>> >>> > >> >
>> >>> >>> > >> >
>> >>> >>> > >> > --
>> >>> >>> > >> > http://raibledesigns.com
>> >>> >>> > >> >
>> >>> >>> > >> >
>> >>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> >>> > >> > To unsubscribe, e-mail:
>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> > For additional commands, e-mail:
>> >>> [EMAIL PROTECTED]
>> >>> >>> > >> >
>> >>> >>> > >> >
>> >>> >>> > >> >
>> >>> >>> > >>
>> >>> >>> > >> --
>> >>> >>> > >> View this message in context:
>> >>> >>> > >>
>> >>> >>>
>> >>>
>> http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12786162
>> >>> >>> > >> Sent from the AppFuse - User mailing list archive at
>> >>> Nabble.com.
>> >>> >>> > >>
>> >>> >>> > >>
>> >>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> >>> > >> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> >>> >>> > >> For additional commands, e-mail:
>> >>> [EMAIL PROTECTED]
>> >>> >>> > >>
>> >>> >>> > >>
>> >>> >>> > >
>> >>> >>> > >
>> >>> >>> > > --
>> >>> >>> > > http://raibledesigns.com
>> >>> >>> > >
>> >>> >>> > >
>> >>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> >>> > > To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> >>> >>> > > For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> >>> >>> > >
>> >>> >>> > >
>> >>> >>> > >
>> >>> >>> >
>> >>> >>> > --
>> >>> >>> > View this message in context:
>> >>> >>>
>> >>>
>> http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12786664
>> >>> >>> > Sent from the AppFuse - User mailing list archive at
>> Nabble.com.
>> >>> >>> >
>> >>> >>> >
>> >>> ---------------------------------------------------------------------
>> >>> >>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >>> >>> > For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> >>> >>> >
>> >>> >>> >
>> >>> >>>
>> >>> >>>
>> >>> >>> --
>> >>> >>> http://raibledesigns.com
>> >>> >>>
>> >>> >>
>> >>> >>
>> >>> >> --
>> >>> >> http://raibledesigns.com
>> >>> >>
>> >>> >>
>> ---------------------------------------------------------------------
>> >>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a12787436
>> >>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >>> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> http://raibledesigns.com
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a13639935
>>
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Web-services-in-Appfuse-2.0-tf4481079s2369.html#a13642051
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to