Server-side routing doesn't work for me

0 views
Skip to first unread message

Gabriel Birke

unread,
Apr 10, 2010, 2:00:44 PM4/10/10
to jquery-claypool
Hi,

I'm trying to get the basic site up and running, but always end up
getting HTML with "Not found : http://localhost:8080/jsx/" for the
"jsx", "doc", "home", etc. paths. For starting the server I have tried
"java -jar start.jar" inside the "server" folder and "server/bin/
jetty.sh start" inside the clapool root folder. I have also tried
setting the env variable to "dev.server" instead of "appengine.server"
in app/boot/server.
I'm using Mac OS X 10.6.
Here are the last lines of the console output:

Loaded shell. file:/Volumes/Daten/Users/gbirke/tmp/jquery-claypool/
index.html
2010-04-10 19:47:07.826:/:INFO: Application ready...
2010-04-10 19:47:07.831::INFO: Extract jar:file:/Volumes/Daten/Users/
gbirke/tmp/jquery-claypool/server/webapps/cometd.war!/ to /tmp/
Jetty_0_0_0_0_8080_cometd.war__cometd__.t2qfkl/webapp
2010-04-10 19:47:08.865::INFO: Opened /Volumes/Daten/Users/gbirke/tmp/
jquery-claypool/server/logs/2010_04_10.request.log
2010-04-10 19:47:08.890::INFO: Started
SelectChann...@0.0.0.0:8080
2010-04-10 19:47:16.230:/:INFO: CONTEXT PATHNAME :
2010-04-10 19:47:16.230:/:INFO: SERVLET PATHNAME : /jsx/

Greetings,

Gabriel

chris thatcher

unread,
Apr 11, 2010, 12:03:05 AM4/11/10
to jquery-...@googlegroups.com
Hey Gabriel, thanks for the note, it was broken for me too locally, same symptoms.  Claypool server-side under went substantial changes for 1.1 (really 1.1 was almost all server side enhancements).  I updated a couple libraries that are part of the claypool and got just need to update my services to finish up.  I'll have this pushed out tomorrow evening at the latest.  I have been meaning to update the claypool website so this lights a little fire under the task.

In the mean time you may like to check out a couple projects that are much more up-to-date using server side and client side claypool to get familiar with the latest conventions we are trying to use to even better organize projects for a shared code base for client and server.

Rhino For Webapps
http://rhino-for-webapps.appspot.com
http://github.com/thatcher/rhino-for-webapps
this project is the servlet container-javascript bridge

recordsofexistence
http://recordsofexistence.com
http://github.com/thatcher/recordsofexistence
this is a small website which runs on appengine I built for an old friend which is open sourced recently to provide a working example of an entirely server side claypool project. 

manage-js
http://github.com/thatcher/manage-js
this project demonstrates how to use claypool to create command line development tasks.

There are several more projects which will be of interest to you if you want to get the most out of server-side with claypool, the most important one I'm working on now, jquery-tmpl which will is the new jquery official templating engine.  And of course Envjs  ( http://github.com/thatcher/env-js ) is an extremly successful project which provides the javacript browser api for rhino and many other javascript engines.

I'll ping this again tomorrow when I push out the updates to run the claypool site with claypool 1.1.  I'm thrilled to see the interest in server-side claypool. 

Thatcher


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




--
Christopher Thatcher

chris thatcher

unread,
Apr 12, 2010, 1:19:24 PM4/12/10
to jquery-...@googlegroups.com
Gabriel thanks again for bringing all these issues to light.  The github project is now working again as a server-side project in jetty (I pushed the latest out to appengine as well which fixed the 'print' issue in the example projects as well). 

You may want to follow the github project closely over the next week as I'll be integrating the server side with google appengine db, adding a wiki utility for the doc pages, and replacing the templates with the new jquery-tmpl plugin which will allow templates to be portable across client/server as well.  This work is also being done for the Envjs-site project as well.

Feel free to keep the issues coming, I have so much going on I tend to have to work in cycles on particular project unless someone is asking for fixes directly.

Thanks again for your help.
Thatcher
--
Christopher Thatcher
Reply all
Reply to author
Forward
0 new messages