On Tue, Sep 14, 2010 at 1:09 AM, Angelo zerr <
angelo.zerr@xxxxxxxxx> wrote:
> Hi Jetty Team,
>
> I would like use WebSocket with Jetty 7 for my articles "OSGi Equinox in a
> Servlet Container"
> at
>
http://angelozerr.wordpress.com/about/osgi-equinox-in-a-servlet-container/.
>
> For the moment I'm using Tomcat which host Equinox. Now I would like add
> WebSocket support to observe the OSGi bundles starting/stoping. Tomcat
> doesn't support WebSocket so I decided to try teh Jetty7/WebSocket support.
>
> I post to this forum to tell you 2 things :
>
> 1) I'm newbee with Jetty and I can use the test webapp with Jetty7 or
> Jetty8. For any pages (html) I have "Not Found error). I'm in Window XP:
>
> 1.1) I have downloaded ZIP "stable-7"
> (
http://download.eclipse.org/jetty/stable-7/dist/) and 8.0.0.M1
> 1.2) I have unzipped Jetty7/8 distribution.
> 1.3) I have do the command : "java -jar start.jar"
> 1.4) Jetty start corretly (just some errors with Jetty7 because of
> test-atmosphere.xml which it use org.mortbay.jetty.* packages. Here my
> trace with Jetty8:
>
> D:\Server\jetty-distribution-8.0.0.M1>java -jar start.jar
> 2010-09-14 09:53:43.046:INFO::jetty-8.0.0.M1
> 2010-09-14 09:53:43.062:INFO::Deployment monitor
> D:\Server\jetty-distribution-8.
> 0.0.M1\contexts at interval 5
> 2010-09-14 09:53:43.062:INFO::Deployable added:
> D:\Server\jetty-distribution-8.0
> .0.M1\contexts\test.xml
> 2010-09-14 09:53:43.109:INFO::Extract
> jar:file:/D:/Server/jetty-distribution-8.0
> .0.M1/webapps/test.war!/ to C:\Documents and Settings\ANZER69N\Local
> Settings\Te
> mp\Jetty_0_0_0_0_8080_test.war____.hcx133\webapp
> 2010-09-14 09:53:43.406:INFO::NO JSP Support for /, did not find
> org.apache.jasp
> er.servlet.JspServlet
> 2010-09-14
> 09:53:43.828:INFO:org.eclipse.jetty.servlets.TransparentProxy:Transpa
> rentProxy @ /javadoc to
http://download.eclipse.org/jetty/stable-7/apidocs
> 2010-09-14 09:53:43.843:INFO::Deployment monitor
> D:\Server\jetty-distribution-8.
> 0.0.M1\webapps at interval 5
> 2010-09-14 09:53:43.843:INFO::Started
SelectChannelConnector@0.0.0.0:8080
>
> It seems that there are no problems. But when I go at
>
http://localhost:8080/test/index.html I have
>
> --------------------
>
> Not Found ERROR
>
> custom 404 page
> --------------------
>
> I have checked teh "C:\Documents and Settings\ANZER69N\Local Settings\Te
> mp\Jetty_0_0_0_0_8080_test.war____.hcx133\webapp" folder and I have teh
> test.war deployed (index.html...).
>
> Coudl you help me to fix this problem? Thank a lot.
>
> 2) I have modified the WTP Adaptor from
http://www.webtide.com/eclipse/
> (which manage Jetty6) to support Jetty7. I can start/stop Jetty7 but I have
> the same errors than explained below. If you are interested I could send you
> my (little) modiifcation. But I think it should be better creating from
> scratch this WTP Adaptor (like Tomcat) to manage for instance WTP External
> WEB Modules.
>
> Thank a lot for your help.
>
> Regards Angelo
>