Approcket for Java apps ?

29 views
Skip to first unread message

Maxime

unread,
Apr 21, 2010, 9:10:34 AM4/21/10
to AppRocket
Hi,

This might be a stupid question but I am not able to find the answer
(and I am new to appengine):
is AppRocket compatible with a Java app ?

If not, does a workaround exist to be able to use this apparently nice
software ?

Thanks in advance,
Maxime.

--
You received this message because you are subscribed to the Google Groups "AppRocket" group.
To post to this group, send email to appr...@googlegroups.com.
To unsubscribe from this group, send email to approcket+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/approcket?hl=en.

Maxime

unread,
Apr 28, 2010, 11:48:08 AM4/28/10
to AppRocket
Hi,

An update of my investigations:
As a workaround of a lack of Java app support I created a python
version of the same app (I read it should work).
I followed all the configuration steps and mysql tables are correctly
created in db.

I am trying to sync 3 entities (kinds):
JDO_Store
OpenCalaisSingleResult, that is contained in JDO_Store as an ArrayList
WikipediaSingleResult, that is as well contain in JDO_Store as an
ArrayList

I created the 2 indexes in index.yaml:

- kind: OpenCalaisSingleResult
ancestor: yes
properties:
- name: RawOpenCalaisResults_INTEGER_IDX
direction: asc

- kind: WikipediaSingleResult
ancestor: yes
properties:
- name: WikipediaResults_INTEGER_IDX
direction: asc

and I added the timestamp property to each entity, each initialized
with the actual date of my timezone (in java).

Then when I run daemon.py I get those 3 errors:

2010-04-28 17:08:17,941 ERROR ReplicateJDO_Store Receive JDO_Store:
error parsing response: no element found: line 1, column 0, response:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\smartme_approcket
\rocket\station.py", line 411, in receive_updates
xml = ElementTree.XML(response)
File "C:\Python26\lib\xml\etree\ElementTree.py", line 964, in XML
return parser.close()
File "C:\Python26\lib\xml\etree\ElementTree.py", line 1254, in close
self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
2010-04-28 17:08:17,950 ERROR ReplicateOpenCalaisSingleResult Receive
OpenCalais
SingleResult: error parsing response: no element found: line 1, column
0, response:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\smartme_approcket
\rocket\station.py", line 411, in receive_updates
xml = ElementTree.XML(response)
File "C:\Python26\lib\xml\etree\ElementTree.py", line 964, in XML
return parser.close()
File "C:\Python26\lib\xml\etree\ElementTree.py", line 1254, in close
self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
2010-04-28 17:08:17,966 INFO ReplicateJDO_Store Receive JDO_Store:
batch end, count=0
2010-04-28 17:08:17,986 ERROR ReplicateWikipediaSingleResult Receive
WikipediaSingleResult: error parsing response: no element found: line
1, column 0, response:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\smartme_approcket
\rocket\station.py", line 411, in receive_updates
xml = ElementTree.XML(response)
File "C:\Python26\lib\xml\etree\ElementTree.py", line 964, in XML
return parser.close()
File "C:\Python26\lib\xml\etree\ElementTree.py", line 1254, in close
self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
2010-04-28 17:08:17,987 INFO ReplicateOpenCalaisSingleResult Receive
OpenCalaisSingleResult: batch end, count=0
2010-04-28 17:08:18,020 INFO ReplicateWikipediaSingleResult Receive
WikipediaSingleResult: batch end, count=0

Does anybody know why I am receiving no result ?
What checks can I perform to find the root problem ?

BTW, I am new to python...

Thank you,
Maxime.
Reply all
Reply to author
Forward
0 new messages