Server running with default permissive SecurityManager


#1

Hi all,

I’ve run opengamma - sesame example with eclipse.
The code has built nice but the server doesn’t want to run…
I’ve got this message at the url: http://localhost:8080/
“Problem accessing /
Reason: Not Found”

The latest messages into the eclipse console are :


Warning: Server running with default permissive SecurityManager


======== OPENGAMMA STARTED in 145745ms ========
11:10:30.437 [qtp24431369-15 Selector0] DEBUG org.eclipse.jetty.io.nio - created SCEP@1c82da3{l(/127.0.0.1:3214)<->r(/127.0.0.1:8080),s=0,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0}-{AsyncHttpConnection@8f25b9,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
11:10:30.437 [qtp24431369-14] DEBUG org.eclipse.jetty.http.HttpParser - filled 310/310
11:10:30.453 [qtp24431369-14 - /] DEBUG org.eclipse.jetty.server.Server - REQUEST / on AsyncHttpConnection@8f25b9,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=10,c=0},r=1
11:10:30.453 [qtp24431369-14 - /] DEBUG o.e.j.server.handler.ContextHandler - scope null||/ @ o.e.j.w.WebAppContext{/,file:/C:/opengamma/OG-Platform-master/sesame/sesame-examples/example-server/sesame/sesame-examples/example-server/web-engine},OpenGamma
11:10:30.453 [qtp24431369-14 - /] DEBUG o.e.j.server.handler.ContextHandler - context=||/ @ o.e.j.w.WebAppContext{/,file:/C:/opengamma/OG-Platform-master/sesame/sesame-examples/example-server/sesame/sesame-examples/example-server/web-engine},OpenGamma
11:10:30.453 [qtp24431369-14 - /] DEBUG org.eclipse.jetty.server.session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@10d80c4
11:10:30.453 [qtp24431369-14 - /] DEBUG org.eclipse.jetty.server.session - session=null
11:10:30.453 [qtp24431369-14 - /] DEBUG o.e.jetty.servlet.ServletHandler - servlet |/|null -> default
11:10:30.468 [qtp24431369-14 - /] DEBUG o.e.jetty.servlet.ServletHandler - chain=null
11:10:30.468 [qtp24431369-14 - /] DEBUG o.e.jetty.servlet.DefaultServlet - Resource /=null
11:10:30.468 [qtp24431369-14 - /] DEBUG o.e.jetty.servlet.DefaultServlet - uri=/ resource=null
11:10:30.515 [qtp24431369-14 - /] DEBUG org.eclipse.jetty.server.Server - RESPONSE / 404 handled=true
11:10:30.515 [qtp24431369-14] DEBUG o.e.jetty.server.AsyncHttpConnection - Enabled read interest SCEP@1c82da3{l(/127.0.0.1:3214)<->r(/127.0.0.1:8080),s=1,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0r}-{AsyncHttpConnection@8f25b9,g=HttpGenerator{s=4,h=0,b=0,c=-1},p=HttpParser{s=0,l=10,c=0},r=1}
11:10:30.515 [qtp24431369-14] DEBUG org.eclipse.jetty.http.HttpParser - filled 0/0
11:12:26.500 [qtp24431369-19] DEBUG o.e.jetty.io.nio.ChannelEndPoint - ishut SCEP@1c82da3{l(/127.0.0.1:3214)<->r(/127.0.0.1:8080),s=1,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@8f25b9,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=-3},r=1}
11:12:26.500 [qtp24431369-19] DEBUG org.eclipse.jetty.http.HttpParser - filled -1/0
11:12:26.500 [qtp24431369-19] DEBUG o.e.jetty.server.AsyncHttpConnection - Disabled read interest while writing response SCEP@1c82da3{l(/127.0.0.1:3214)<->r(/127.0.0.1:8080),s=1,open=true,ishut=true,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@8f25b9,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}
11:12:26.500 [qtp24431369-19] DEBUG o.e.jetty.io.nio.ChannelEndPoint - close SCEP@1c82da3{l(/127.0.0.1:3214)<->r(/127.0.0.1:8080),s=1,open=true,ishut=true,oshut=false,rb=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@8f25b9,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}
11:12:26.500 [qtp24431369-15 Selector0] DEBUG org.eclipse.jetty.io.nio - destroyEndPoint SCEP@1c82da3{l(null)<->r(0.0.0.0/0.0.0.0:8080),s=0,open=false,ishut=true,oshut=true,rb=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@8f25b9,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}
11:12:26.500 [qtp24431369-15 Selector0] DEBUG o.e.j.server.AbstractHttpConnection - closed AsyncHttpConnection@8f25b9,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1

Do you have any idea how to solve this problem?

Thanks in advance


#2

Please see my reply to your other thread at Failed to Initializing dbLoader on sesame-example which should help you get started using Strata, which replaces OG-Platform.