You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Chak Nanga <my...@gmail.com> on 2008/02/09 01:03:37 UTC

Unable to get to samplecontainer.html...

Hi,

I updated my source tree (after about a week or so) and now I¹m unable to
access the samplecontainer.

I used to be able to hit
http://localhost:8080/gadgets/samplecontainer/samplecontainer.html and get
to the samplecontainer page. Now I get a 404.

Looking at the dir where the war gets extracted to, I no longer see the
³container², ³samplecontainer² directories like I used to. I just see the
³gadgets² dir and the ³opensocial6to7.js² file under a new directory named
³files².

Any ideas?

Thanks
Chak
 

Re: Unable to get to samplecontainer.html...

Posted by Kevin Brown <et...@google.com>.
How odd. If you see a pattern that reproduces this in the future, could you
open a JIRA ticket for it?

On Feb 10, 2008 10:51 AM, Chak Nanga <my...@gmail.com> wrote:

> Hi Kevin,
>
> I'm using jetty:run-war
>
> Chak
>
>
>
> On 2/9/08 1:12 PM, "Kevin Brown" <et...@google.com> wrote:
>
> > Are you using jetty:run or jetty:run-war?
> >
> > On Feb 9, 2008 9:08 AM, Chak Nanga <my...@gmail.com> wrote:
> >
> >> mvn clean didn't do it. But, blowing away the "target" directory
> manually
> >> and then doing a mvn package did the trick.
> >>
> >> Thanks
> >> Chak
> >>
> >>
> >>
> >> On 2/8/08 4:30 PM, "Kevin Brown" <et...@google.com> wrote:
> >>
> >>> How are you starting the server? This seems to work for me:
> >>>
> >>>
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> >>>
> >>> You might want to try a mvn clean before doing mvn jetty:run.
> >>>
> >>> On Feb 8, 2008 4:23 PM, Chak Nanga <my...@gmail.com> wrote:
> >>>
> >>>> Hi Bruno,
> >>>>
> >>>> Tried that path before - does not work.
> >>>>
> >>>> As mentioned below, the "files" dir does NOT have the container,
> >>>> samplecontainer sub-dirs.
> >>>>
> >>>> I took a look at the gadgets.war file that gets produced and it does
> >> not
> >>>> contain the "container" or the "samplecontainer" dirs
> >>>>
> >>>> Thanks
> >>>> Chak
> >>>>
> >>>> On 2/8/08 4:10 PM, "Bruno Bowden" <br...@google.com> wrote:
> >>>>
> >>>>> This is the new url:
> >>>>>
> >>>>>
> >>
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> >>>>>
> >>>>> This was a change from Kevin to make the War configuration
> consistent
> >>>> with
> >>>>> the Jar, which coincidentally will allow the samplecontainer to run
> >>>>> successfully on Orkut too (but not just yet).
> >>>>>
> >>>>>
> >>>>> On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:
> >>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> I updated my source tree (after about a week or so) and now I¹m
> >> unable
> >>>> to
> >>>>>> access the samplecontainer.
> >>>>>>
> >>>>>> I used to be able to hit
> >>>>>>
> http://localhost:8080/gadgets/samplecontainer/samplecontainer.htmland
> >>>> get
> >>>>>> to the samplecontainer page. Now I get a 404.
> >>>>>>
> >>>>>> Looking at the dir where the war gets extracted to, I no longer see
> >> the
> >>>>>> ³container², ³samplecontainer² directories like I used to. I just
> see
> >>>> the
> >>>>>> ³gadgets² dir and the ³opensocial6to7.js² file under a new
> directory
> >>>> named
> >>>>>> ³files².
> >>>>>>
> >>>>>> Any ideas?
> >>>>>>
> >>>>>> Thanks
> >>>>>> Chak
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >>
>
>
>

Re: Unable to get to samplecontainer.html...

Posted by Chak Nanga <my...@gmail.com>.
Hi Kevin,

I'm using jetty:run-war

Chak



On 2/9/08 1:12 PM, "Kevin Brown" <et...@google.com> wrote:

> Are you using jetty:run or jetty:run-war?
> 
> On Feb 9, 2008 9:08 AM, Chak Nanga <my...@gmail.com> wrote:
> 
>> mvn clean didn't do it. But, blowing away the "target" directory manually
>> and then doing a mvn package did the trick.
>> 
>> Thanks
>> Chak
>> 
>> 
>> 
>> On 2/8/08 4:30 PM, "Kevin Brown" <et...@google.com> wrote:
>> 
>>> How are you starting the server? This seems to work for me:
>>> 
>>> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
>>> 
>>> You might want to try a mvn clean before doing mvn jetty:run.
>>> 
>>> On Feb 8, 2008 4:23 PM, Chak Nanga <my...@gmail.com> wrote:
>>> 
>>>> Hi Bruno,
>>>> 
>>>> Tried that path before - does not work.
>>>> 
>>>> As mentioned below, the "files" dir does NOT have the container,
>>>> samplecontainer sub-dirs.
>>>> 
>>>> I took a look at the gadgets.war file that gets produced and it does
>> not
>>>> contain the "container" or the "samplecontainer" dirs
>>>> 
>>>> Thanks
>>>> Chak
>>>> 
>>>> On 2/8/08 4:10 PM, "Bruno Bowden" <br...@google.com> wrote:
>>>> 
>>>>> This is the new url:
>>>>> 
>>>>> 
>> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
>>>>> 
>>>>> This was a change from Kevin to make the War configuration consistent
>>>> with
>>>>> the Jar, which coincidentally will allow the samplecontainer to run
>>>>> successfully on Orkut too (but not just yet).
>>>>> 
>>>>> 
>>>>> On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I updated my source tree (after about a week or so) and now I¹m
>> unable
>>>> to
>>>>>> access the samplecontainer.
>>>>>> 
>>>>>> I used to be able to hit
>>>>>> http://localhost:8080/gadgets/samplecontainer/samplecontainer.htmland
>>>> get
>>>>>> to the samplecontainer page. Now I get a 404.
>>>>>> 
>>>>>> Looking at the dir where the war gets extracted to, I no longer see
>> the
>>>>>> ³container², ³samplecontainer² directories like I used to. I just see
>>>> the
>>>>>> ³gadgets² dir and the ³opensocial6to7.js² file under a new directory
>>>> named
>>>>>> ³files².
>>>>>> 
>>>>>> Any ideas?
>>>>>> 
>>>>>> Thanks
>>>>>> Chak
>>>>>> 
>>>>>> 
>>>> 
>>>> 
>>>> 
>> 
>> 
>> 



Re: Unable to get to samplecontainer.html...

Posted by Kevin Brown <et...@google.com>.
Are you using jetty:run or jetty:run-war?

On Feb 9, 2008 9:08 AM, Chak Nanga <my...@gmail.com> wrote:

> mvn clean didn't do it. But, blowing away the "target" directory manually
> and then doing a mvn package did the trick.
>
> Thanks
> Chak
>
>
>
> On 2/8/08 4:30 PM, "Kevin Brown" <et...@google.com> wrote:
>
> > How are you starting the server? This seems to work for me:
> >
> > http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> >
> > You might want to try a mvn clean before doing mvn jetty:run.
> >
> > On Feb 8, 2008 4:23 PM, Chak Nanga <my...@gmail.com> wrote:
> >
> >> Hi Bruno,
> >>
> >> Tried that path before - does not work.
> >>
> >> As mentioned below, the "files" dir does NOT have the container,
> >> samplecontainer sub-dirs.
> >>
> >> I took a look at the gadgets.war file that gets produced and it does
> not
> >> contain the "container" or the "samplecontainer" dirs
> >>
> >> Thanks
> >> Chak
> >>
> >> On 2/8/08 4:10 PM, "Bruno Bowden" <br...@google.com> wrote:
> >>
> >>> This is the new url:
> >>>
> >>>
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> >>>
> >>> This was a change from Kevin to make the War configuration consistent
> >> with
> >>> the Jar, which coincidentally will allow the samplecontainer to run
> >>> successfully on Orkut too (but not just yet).
> >>>
> >>>
> >>> On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I updated my source tree (after about a week or so) and now I¹m
> unable
> >> to
> >>>> access the samplecontainer.
> >>>>
> >>>> I used to be able to hit
> >>>> http://localhost:8080/gadgets/samplecontainer/samplecontainer.htmland
> >> get
> >>>> to the samplecontainer page. Now I get a 404.
> >>>>
> >>>> Looking at the dir where the war gets extracted to, I no longer see
> the
> >>>> ³container², ³samplecontainer² directories like I used to. I just see
> >> the
> >>>> ³gadgets² dir and the ³opensocial6to7.js² file under a new directory
> >> named
> >>>> ³files².
> >>>>
> >>>> Any ideas?
> >>>>
> >>>> Thanks
> >>>> Chak
> >>>>
> >>>>
> >>
> >>
> >>
>
>
>

Re: Unable to get to samplecontainer.html...

Posted by Paul Lindner <pl...@hi5.com>.
I applied this patch.

I'll check for more references tonight and if I don't find any I'll
mark this bug resolved.

Thanks

On Fri, Feb 08, 2008 at 06:19:26PM -0800, Bruno Bowden wrote:
> I think that the clean should do it. Once you've done that, here's a patch
> to fix a some other changes references for the "files" subdirectory.
> 
> Patch:
> https://issues.apache.org/jira/secure/attachment/12375135/file-subdir.patch
> JIRA: https://issues.apache.org/jira/browse/SHINDIG-55
> 

-- 
Paul Lindner
hi5 Architect
plindner@hi5.com

Re: Unable to get to samplecontainer.html...

Posted by Bruno Bowden <br...@google.com>.
I think that the clean should do it. Once you've done that, here's a patch
to fix a some other changes references for the "files" subdirectory.

Patch:
https://issues.apache.org/jira/secure/attachment/12375135/file-subdir.patch
JIRA: https://issues.apache.org/jira/browse/SHINDIG-55


On Feb 8, 2008 4:30 PM, Kevin Brown <et...@google.com> wrote:

> How are you starting the server? This seems to work for me:
>
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
>
> You might want to try a mvn clean before doing mvn jetty:run.
>
> On Feb 8, 2008 4:23 PM, Chak Nanga <my...@gmail.com> wrote:
>
> > Hi Bruno,
> >
> > Tried that path before - does not work.
> >
> > As mentioned below, the "files" dir does NOT have the container,
> > samplecontainer sub-dirs.
> >
> > I took a look at the gadgets.war file that gets produced and it does not
> > contain the "container" or the "samplecontainer" dirs
> >
> > Thanks
> > Chak
> >
> > On 2/8/08 4:10 PM, "Bruno Bowden" <br...@google.com> wrote:
> >
> > > This is the new url:
> > >
> > >
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> > >
> > > This was a change from Kevin to make the War configuration consistent
> > with
> > > the Jar, which coincidentally will allow the samplecontainer to run
> > > successfully on Orkut too (but not just yet).
> > >
> > >
> > > On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:
> > >
> > >> Hi,
> > >>
> > >> I updated my source tree (after about a week or so) and now I¹m
> unable
> > to
> > >> access the samplecontainer.
> > >>
> > >> I used to be able to hit
> > >> http://localhost:8080/gadgets/samplecontainer/samplecontainer.htmland
> > get
> > >> to the samplecontainer page. Now I get a 404.
> > >>
> > >> Looking at the dir where the war gets extracted to, I no longer see
> the
> > >> ³container², ³samplecontainer² directories like I used to. I just see
> > the
> > >> ³gadgets² dir and the ³opensocial6to7.js² file under a new directory
> > named
> > >> ³files².
> > >>
> > >> Any ideas?
> > >>
> > >> Thanks
> > >> Chak
> > >>
> > >>
> >
> >
> >
>

Re: Unable to get to samplecontainer.html...

Posted by Chak Nanga <my...@gmail.com>.
mvn clean didn't do it. But, blowing away the "target" directory manually
and then doing a mvn package did the trick.

Thanks
Chak



On 2/8/08 4:30 PM, "Kevin Brown" <et...@google.com> wrote:

> How are you starting the server? This seems to work for me:
> 
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> 
> You might want to try a mvn clean before doing mvn jetty:run.
> 
> On Feb 8, 2008 4:23 PM, Chak Nanga <my...@gmail.com> wrote:
> 
>> Hi Bruno,
>> 
>> Tried that path before - does not work.
>> 
>> As mentioned below, the "files" dir does NOT have the container,
>> samplecontainer sub-dirs.
>> 
>> I took a look at the gadgets.war file that gets produced and it does not
>> contain the "container" or the "samplecontainer" dirs
>> 
>> Thanks
>> Chak
>> 
>> On 2/8/08 4:10 PM, "Bruno Bowden" <br...@google.com> wrote:
>> 
>>> This is the new url:
>>> 
>>> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
>>> 
>>> This was a change from Kevin to make the War configuration consistent
>> with
>>> the Jar, which coincidentally will allow the samplecontainer to run
>>> successfully on Orkut too (but not just yet).
>>> 
>>> 
>>> On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I updated my source tree (after about a week or so) and now I¹m unable
>> to
>>>> access the samplecontainer.
>>>> 
>>>> I used to be able to hit
>>>> http://localhost:8080/gadgets/samplecontainer/samplecontainer.html and
>> get
>>>> to the samplecontainer page. Now I get a 404.
>>>> 
>>>> Looking at the dir where the war gets extracted to, I no longer see the
>>>> ³container², ³samplecontainer² directories like I used to. I just see
>> the
>>>> ³gadgets² dir and the ³opensocial6to7.js² file under a new directory
>> named
>>>> ³files².
>>>> 
>>>> Any ideas?
>>>> 
>>>> Thanks
>>>> Chak
>>>> 
>>>> 
>> 
>> 
>> 



Re: Unable to get to samplecontainer.html...

Posted by Kevin Brown <et...@google.com>.
How are you starting the server? This seems to work for me:

http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html

You might want to try a mvn clean before doing mvn jetty:run.

On Feb 8, 2008 4:23 PM, Chak Nanga <my...@gmail.com> wrote:

> Hi Bruno,
>
> Tried that path before - does not work.
>
> As mentioned below, the "files" dir does NOT have the container,
> samplecontainer sub-dirs.
>
> I took a look at the gadgets.war file that gets produced and it does not
> contain the "container" or the "samplecontainer" dirs
>
> Thanks
> Chak
>
> On 2/8/08 4:10 PM, "Bruno Bowden" <br...@google.com> wrote:
>
> > This is the new url:
> >
> > http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> >
> > This was a change from Kevin to make the War configuration consistent
> with
> > the Jar, which coincidentally will allow the samplecontainer to run
> > successfully on Orkut too (but not just yet).
> >
> >
> > On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> I updated my source tree (after about a week or so) and now I¹m unable
> to
> >> access the samplecontainer.
> >>
> >> I used to be able to hit
> >> http://localhost:8080/gadgets/samplecontainer/samplecontainer.html and
> get
> >> to the samplecontainer page. Now I get a 404.
> >>
> >> Looking at the dir where the war gets extracted to, I no longer see the
> >> ³container², ³samplecontainer² directories like I used to. I just see
> the
> >> ³gadgets² dir and the ³opensocial6to7.js² file under a new directory
> named
> >> ³files².
> >>
> >> Any ideas?
> >>
> >> Thanks
> >> Chak
> >>
> >>
>
>
>

Re: Unable to get to samplecontainer.html...

Posted by Chak Nanga <my...@gmail.com>.
Hi Bruno,

Tried that path before - does not work.

As mentioned below, the "files" dir does NOT have the container,
samplecontainer sub-dirs.

I took a look at the gadgets.war file that gets produced and it does not
contain the "container" or the "samplecontainer" dirs

Thanks
Chak

On 2/8/08 4:10 PM, "Bruno Bowden" <br...@google.com> wrote:

> This is the new url:
> 
> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> 
> This was a change from Kevin to make the War configuration consistent with
> the Jar, which coincidentally will allow the samplecontainer to run
> successfully on Orkut too (but not just yet).
> 
> 
> On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:
> 
>> Hi,
>> 
>> I updated my source tree (after about a week or so) and now I¹m unable to
>> access the samplecontainer.
>> 
>> I used to be able to hit
>> http://localhost:8080/gadgets/samplecontainer/samplecontainer.html and get
>> to the samplecontainer page. Now I get a 404.
>> 
>> Looking at the dir where the war gets extracted to, I no longer see the
>> ³container², ³samplecontainer² directories like I used to. I just see the
>> ³gadgets² dir and the ³opensocial6to7.js² file under a new directory named
>> ³files².
>> 
>> Any ideas?
>> 
>> Thanks
>> Chak
>> 
>> 



Re: Unable to get to samplecontainer.html...

Posted by Bruno Bowden <br...@google.com>.
This is the new url:

http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html

This was a change from Kevin to make the War configuration consistent with
the Jar, which coincidentally will allow the samplecontainer to run
successfully on Orkut too (but not just yet).


On Feb 8, 2008 4:03 PM, Chak Nanga <my...@gmail.com> wrote:

> Hi,
>
> I updated my source tree (after about a week or so) and now I¹m unable to
> access the samplecontainer.
>
> I used to be able to hit
> http://localhost:8080/gadgets/samplecontainer/samplecontainer.html and get
> to the samplecontainer page. Now I get a 404.
>
> Looking at the dir where the war gets extracted to, I no longer see the
> ³container², ³samplecontainer² directories like I used to. I just see the
> ³gadgets² dir and the ³opensocial6to7.js² file under a new directory named
> ³files².
>
> Any ideas?
>
> Thanks
> Chak
>
>