shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ederer <g...@ergonosis.com>
Subject Re: Cannot use disallowed Content-Type application/x-www-form-urlencoded
Date Thu, 22 Oct 2009 01:50:40 GMT
Well, I ran mvn, and the war file was generated in shindig/java/server/ 
target, which is sort of an interesting place to put it ;)

Thanks!

Greg


On Oct 21, 2009, at 6:30 PM, Arne Roomann-Kurrik wrote:

> Sorry, I'm probably not the right person to answer this since I  
> usually just
> run shindig directly instead of building wars.  From
> http://incubator.apache.org/shindig/developers/java/build.html, you  
> should
> be able to do the following, though:
> To build a Web Archive (WAR) file for the Gadget server and run tests,
> perform the following:
>
>   1. Make sure you have the prerequisites installed first.
>   2. cd ~/src/shindig/
>   3. mvn
>   4. Once the build successfully completes, you can install the  
> built WAR
>   files located in the /target subdirectory onto your JEE server.
>
> ~Arne
>
>
> On Wed, Oct 21, 2009 at 5:11 PM, Greg Ederer <greg@ergonosis.com>  
> wrote:
>
>> Hi Arne,
>>
>> Thanks for all your help.  Here's a stupid question: I gabbed the  
>> shindig
>> sources using svn, changed to my shindig dir, and ran mvn  
>> eclipse:eclipse.
>> I then imported shindig-common-1.1-BETA4-incubating-SNAPSHOT and
>> shindig-features-1.1-BETA4-incubating-SNAPSHOT into eclipse.   
>> Everything
>> seems to build OK.  But I can't seem to find the resulting jars.   
>> I've been
>> away from Eclipse for a while (using Netbeans).  Any tips?
>>
>> Cheers,
>>
>> Greg
>>
>>
>>
>> On Oct 21, 2009, at 4:23 PM, Arne Roomann-Kurrik wrote:
>>
>> The patch to fix this looks like it was applied on 9/22/09, so it's  
>> not in
>>> that version.  Hopefully it'll be picked up in BETA4?  You could  
>>> also try
>>> compiling from SVN.
>>> ~Arne
>>>
>>> On Wed, Oct 21, 2009 at 4:16 PM, Greg Ederer <greg@ergonosis.com>  
>>> wrote:
>>>
>>> I'm now running
>>>> shindig-server-1.1-BETA3-incubating-20090804.175252-1.war.
>>>> I still get the same error output in Firebug.
>>>>
>>>> Greg
>>>>
>>>>
>>>>
>>>> On Oct 21, 2009, at 4:03 PM, Arne Roomann-Kurrik wrote:
>>>>
>>>> This should be fixed in Java Shindig - are you using an updated  
>>>> version?
>>>>
>>>>> https://issues.apache.org/jira/browse/SHINDIG-1083
>>>>>
>>>>> ~Arne
>>>>>
>>>>>
>>>>> On Wed, Oct 21, 2009 at 3:40 PM, Greg Ederer <greg@ergonosis.com>
>>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>>>
>>>>>> When the page at:
>>>>>>
>>>>>>
>>>>>> http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
>>>>>>
>>>>>> issues the following XHR request:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> http://localhost:8080/social/rest/samplecontainer/setstate?st=john.doe%3Ajohn.doe%3A7810%3Ashindig%3Ahttp%253A//localhost%253A8080/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml%3A0%3Adefault
>>>>>>
>>>>>> I get the following error in Firebug:
>>>>>> type Status report
>>>>>>
>>>>>> message Cannot use disallowed Content-Type
>>>>>> application/x-www-form-urlencoded
>>>>>>
>>>>>> description The request sent by the client was syntactically  
>>>>>> incorrect
>>>>>> (Cannot use disallowed Content-Type application/x-www-form- 
>>>>>> urlencoded).
>>>>>>
>>>>>>
>>>>>> Any thoughts on what might be causing this?
>>>>>>
>>>>>> Thanks for having a look.
>>>>>>
>>>>>> Greg
>>>>>>
>>>>>>
>>>>>
>>>>
>>


Mime
View raw message