Re: ERXKeyFilter.setAnonymousUpdateEnabled(Z)V on remote server
Re: ERXKeyFilter.setAnonymousUpdateEnabled(Z)V on remote server
- Subject: Re: ERXKeyFilter.setAnonymousUpdateEnabled(Z)V on remote server
- From: Pascal Robert <email@hidden>
- Date: Tue, 06 May 2014 07:41:35 -0500 (CDT)
- Thread-topic: ERXKeyFilter.setAnonymousUpdateEnabled(Z)V on remote server
It looks like a classpath problem. In your deployed application, can you send your UNIXClasspath.txt (located in Contents/UNIX/), or if you are deploying on OS X, the MacOSClassPath.txt file located in Contents/MacOS. And please confirm that the ERRest framework is located in the Frameworks directory of the deployed application.
----- Mail original -----
De: "Fred Opims" <email@hidden>
À: "Pascal Robert" <email@hidden>
Cc: "WebObjects Development" <email@hidden>
Envoyé: Mardi 6 Mai 2014 07:10:53
Objet: Re: ERXKeyFilter.setAnonymousUpdateEnabled(Z)V on remote server
Hi !
I made sure that my WO configuration are up to date and i follow the steps written on http://www.amazon.com/Learning-The-Wonders-introduction-applications/dp/3952423300 .
But i still have the same error message:
er.extensions.eof.ERXKeyFilter.setAnonymousUpdateEnabled(Z)V
The WoAdaptorInfo has given the following error message:
The requested application was not found on this server.
Do you have an idea?
Thank you!
On Mon, May 5, 2014 at 7:26 AM, Fred Opims < email@hidden > wrote:
Thank you Pascal!
Yes i'm bundling my frameworks inside the application bundle. But i'm only using the BSCServer-Application.tar and BSCServer-WebServerResources.tar files for the deployment.
Should i use rather application bundle ?
Thank you!
Best!
On Mon, May 5, 2014 at 1:00 AM, Pascal Robert < email@hidden > wrote:
<blockquote>
Bonjour Fred,
It looks like you have an older version of ERRest on the server. Do you bundle your frameworks inside the application bundle (the .woa) ? If not, you should do it.
> Hi!
> I’ve made a application with ERRest. I made some test my localhost server and it works great.
> I’ve tried to deploy on remote server. I could launch the application normally but when i try to post some data, i’ve got the following error:
>
> er.extensions.eof.ERXKeyFilter.setAnonymousUpdateEnabled(Z)V.
>
> I’ve made some research on that but could not find something helping me.
> I’ve remove this line aFilter.setAnonymousUpdateEnabled(true); on my controller just to what was happening and i got the following message:
>
> er.extensions.eof.ERXKeyFilter.setUnknownKeyIgnored(Z)V.
>
>
> When i use the following instruction,
> curl -X POST -d -v '{"title": “Toto","kind": "1","length": "18s","path”:"APath","thumbnailPath":" https://dl.dropboxusercontent.com/ ","detail": "Penalty ”}' http://opsoft.ca/cgi-bin/WebObjects/Server.woa/ra/highlight.json
> I’ve got a could not resolve for every key of my json
>
> [1/6]: "title": "Toto" --> <stdout>
> --_curl_--"title": "Toto"
> curl: (6) Could not resolve host: "title"
>
> [2/6]: "kind": "1" --> <stdout>
> --_curl_--"kind": "1"
> curl: (6) Could not resolve host: “kind"
> ...
>
>
> The same POST request works great in the local server but not in the remote one.
>
>
> Do you have an idea?
>
>
> Best!
>
> Fred
>
>
> _______________________________________________
> 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
</blockquote>
_______________________________________________
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