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 08:57:13 -0500 (CDT)
- Thread-topic: ERXKeyFilter.setAnonymousUpdateEnabled(Z)V on remote server
Do you have the ERRest.jar file elsewhere on the server? You can use the « find » command to find if it's the case (find / -name 'ERRest.jar' -ls)
And are you building Wonder or did you download the frameworks from somewhere?
----- Mail original -----
De: "Fred Opims" <email@hidden>
À: "Pascal Robert" <email@hidden>
Cc: "WebObjects Development" <email@hidden>
Envoyé: Mardi 6 Mai 2014 09:54:18
Objet: Re: ERXKeyFilter.setAnonymousUpdateEnabled(Z)V on remote server
Hi Pascal!
I confirm that the ERRest framework is in the Application's Frameworks directory,
Here is the content of Contents/Unix:
# JVM == java
# JVMOptions ==
# JDB == jdb
# JDBOptions ==
# ApplicationClass == bsc.app.Application
APPROOT/Resources/Java/
APPROOT/Resources/Java/bscserver.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5-sources.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2-sources.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.16.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar
APPROOT/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar
APPROOT/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar
APPROOT/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
APPROOT/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar
APPROOT/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl53.jar
APPROOT/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl54.jar
APPROOT/Frameworks/ERRest.framework/Resources/Java/ERRest.jar
APPROOT/Frameworks/ERRest.framework/Resources/Java/commons-beanutils-1.7.0.jar
APPROOT/Frameworks/ERRest.framework/Resources/Java/commons-collections-3.2.1.jar
APPROOT/Frameworks/ERRest.framework/Resources/Java/commons-lang-2.4.jar
APPROOT/Frameworks/ERRest.framework/Resources/Java/commons-logging-1.1.1.jar
APPROOT/Frameworks/ERRest.framework/Resources/Java/ezmorph-1.0.6.jar
APPROOT/Frameworks/ERRest.framework/Resources/Java/json-lib-2.3-jdk15.jar
APPROOT/Frameworks/H2PlugIn.framework/Resources/Java/H2PlugIn.jar
APPROOT/Frameworks/H2PlugIn.framework/Resources/Java/h2-1.3.151.jar
APPROOT/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar
APPROOT/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar
APPROOT/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
APPROOT/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar
APPROOT/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
APPROOT/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar
APPROOT/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
APPROOT/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar
APPROOT/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
APPROOT/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar
APPROOT/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
APPROOT/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar
APPROOT/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
APPROOT/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar
Thank you!
On Tue, May 6, 2014 at 8:41 AM, Pascal Robert < email@hidden > wrote:
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