I was able to get by the chmod error by commenting out the chmodder
plugin entry in web/pom.xml. I know have a running ES, but have
problems displaying the sample app gadgets. Here are my updated list
of steps, note I changed back to run on 8080/8081 so as not to have to
touch too many other port references downstream:
1. Git source code from HEAD
2. Change to the directory where you checked-out EurekaStreams
3. Mvn clean install -Dopenaccess-security -Dbuild.web.baseurl=http://
localhost:8080 -Dbuild.web.grbaseurl=
http://localhost:8081 –DskipTests
4. Create directory eurekastreams\web\target\unpack\lib-java
5. Note: it fails on step 3 because directory in step 4 is missing, so
now run again (don’t clean)
mvn install -Dopenaccess-security -Dbuild.web.baseurl=
http://localhost:
8080 -Dbuild.web.grbaseurl=
http://localhost:8081 –DskipTests
6. Install memcached from
http://www.splinedancer.com/memcached-win32
7. Run memcached.exe
8. Get xmlstarlet and drop xml.exe in on system path
http://sourceforge.net/projects/xmlstar/files/xmlstarlet/1.0.1/xmlstarlet-1.0.1-2-win32.zip/download
9. Have to install Postgres 8.4 as admin with defaults
10. Give postgres user (and my domain user) full rights to the
postgres folder and subfolders
11. Create database eurekastreams with owner:eurekastreams and
template:template1
12. Db.bat > db.log (this batch job runs the scripts in schema folder,
followed by the migrations scripts sequentially)
13. cd eurekastreams/web
14. Comment out chmodder plugin in web/pom.xml.
15. mvn jetty:run -DskipTests –Dlog.home=./logs –Denv.WEBPORT=8080 –
Denv.GRWEBPORT=8081
I then added the 4 sample plugin apps to my home page, and when they
try to load I get a 500 error in each one. The log shows it's failing
when trying to post something to port 8081:
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> POST /
social/rpc?st=F95CE1FC-893D-11DF-
B0FB-5F0BE0D72085%3AF95CE1FC-893D-11DF-B0FB-5F0BE0D72085%3A26%3Ashindig
%3Ahttp%253A%2F%2Flocalhost%253A8080%2Forg%2Feurekastreams%2Fgadgets
%2Fbookmarkgadget.xml%3A0%3Adefault HTTP/1.1
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> Content-
Type: application/json; charset=UTF-8
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> Pragma: no-
cache
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> X-shindig-
dos: on
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> Content-
Length: 175
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> Host:
localhost:8081
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> Connection:
Keep-Alive
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> User-Agent:
Apache Shindig
2010-10-18 15:37:30,750 DEBUG org.apache.http.headers - >> Accept-
Encoding: gzip, deflate
2010-10-18 15:37:30,750 DEBUG org.apache.http.wire - >>
"[{"id":"databindviewer","method":"people.get","params":{"userId":
["@viewer"]}},{"id":"bookmarksDataSet","method":"appdata.get","params":
{"appId":"@app","userId":["@viewer"]}}]"
2010-10-18 15:37:30,750 DEBUG
org.apache.http.impl.conn.DefaultClientConnection - Connection closed
2010-10-18 15:37:30,750 DEBUG
org.apache.http.impl.client.DefaultRequestDirector - Closing the
connection.
2010-10-18 15:37:30,750 DEBUG
org.apache.http.impl.conn.DefaultClientConnection - Connection closed
2010-10-18 15:37:30,750 INFO
org.apache.http.impl.client.DefaultRequestDirector - I/O exception
(org.apache.http.NoHttpResponseException) caught when processing
request: The target server failed to respond
2010-10-18 15:37:30,750 DEBUG
org.apache.http.impl.client.DefaultRequestDirector - The target server
failed to respond
org.apache.http.NoHttpResponseException: The target server failed to
respond
at
org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:
101)
There don't appear to be any errors on server startup, and netstat
shows something listening in 8081. I have no local firewall running.
What is supposed to be running on 8081?