Hi,
thanks for the quick turnaround on the changes!
I just updated, built and deployed with a properties file, which looks
like:
port=8081
docs=/Users/me/Documents
workspace=${docs}/workspace
webapp.yui=${docs}/yui3
webapp.fscore=${workspace}/myapp/docroot
The yui webapp is simply static files. It has no dynamic nature. To be
able to start opengse, I had to create an empty WEB-INF/web.xml. Must
that be required for a static context? (perhaps, like tomcat, there is
a default web.xml??)
I went to my /fscore (as opposed to /fscore/index.html) webapp which
has an index.html as a child. I received the exception below (status
code 500). I edited my web.xml to add the index.html as a welcome file
(in tomcat this is picked up from the default conf/web.xml). I needed
to restart to pick up the change (which is fine) and it worked fine.
best,
-Rob
rkmbp:minigse rkobergmac$ java -jar opengse.jar --props=gse.properties
Jan 30, 2009 8:46:23 AM com.google.opengse.core.NetSelector listen
INFO: listening on 8081
Jan 30, 2009 8:46:47 AM com.google.opengse.webapp.WebAppContextImpl log
INFO:
java.lang.NullPointerException
at
com
.google
.opengse.webapp.FileServingServlet.service(FileServingServlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
com.google.opengse.webapp.ServletHandler.doFilter(ServletHandler.java:
63)
at
com
.google
.opengse
.filters
.RegularExpressionRequestHandler
.doFilter(RegularExpressionRequestHandler.java:126)
at com.google.opengse.webapp.WebAppImpl.doFilter(WebAppImpl.java:566)
at
com
.google
.opengse
.webapp.WebAppCollectionImpl.doFilter(WebAppCollectionImpl.java:266)
at
com
.google
.opengse
.HttpRequestHandlerAdapter
.handleRequest(HttpRequestHandlerAdapter.java:42)
at
com.google.opengse.core.HttpConnection.runServlet(HttpConnection.java:
503)
at com.google.opengse.core.HttpConnection.run(HttpConnection.java:452)
at
com
.google
.opengse.util.QueueExtractor.runUntilInterrupted(QueueExtractor.java:33)
at com.google.opengse.util.QueueExtractor.run(QueueExtractor.java:39)
at java.lang.Thread.run(Thread.java:637)