We have exactly same problem. Dave have you found a solution? On Tuesday, November 25, 2014 at 3:40:24 AM UTC+2, Dave ALI wrote: > > I have an instance of orientDb 2.0-M3 running in a Tomcat 7.0.47 app - > which works fine with Java API. I think I have configuration correct for > http access. Log shows app listening > > 2014-11-24 18:08:18:303 INFO Listening http connections on 0.0.0.0:2480 > (protocol v.10, socket=default) [OServerNetworkListener] > > When I try to access studio at localhost:2480 the request returns 404 not > found and produces exception below ... > > 2014-11-24 18:08:23:382 INFO Deploying web application directory > /usr/local/apache-tomcat-7.0.47/webapps/manager [HostConfig]Error on > loading resource /studio/index.html > java.net.SocketException: Socket closed > at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:121) > at java.net.SocketOutputStream.write(SocketOutputStream.java:159) > at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) > at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) > at > com.orientechnologies.orient.server.network.protocol.http.OHttpResponse.flush(OHttpResponse.java:454) > at > com.orientechnologies.orient.server.network.protocol.http.OHttpResponse.sendStream(OHttpResponse.java:391) > at > com.orientechnologies.orient.server.network.protocol.http.OHttpResponse.sendStream(OHttpResponse.java:355) > at > com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent.execute(OServerCommandGetStaticContent.java:137) > at > com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.service(ONetworkProtocolHttpAbstract.java:182) > at > com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.execute(ONetworkProtocolHttpAbstract.java:581) > at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:65) > > Complete configuration file shown below. Any assistance/clues would be > greatly appreciated. > > +++++++ > > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <orient-server> > <network> > <protocols> > <protocol name="binary" > implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary"/> > <protocol name="http" > implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb"/> > </protocols> > <listeners> > > <listener ip-address="0.0.0.0" port-range="2424-2430" > protocol="binary"/> > <listener ip-address="0.0.0.0" port-range="2480-2490" > protocol="http"> > <commands> > <command > implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent" > > pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg > GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico > GET|*.txt GET|*.otf GET|*.pjs GET|*.svg GET|*.json GET|*.woff GET|*.ttf > GET|*.svgz" stateful="false"> > <parameters> > <entry value="Cache-Control: no-cache, > no-store, max-age=0, must-revalidate\r\nPragma: no-cache" > name="http.cache:*.htm *.html"/> > <entry value="Cache-Control: max-age=120" > name="http.cache:default"/> > </parameters> > </command> > </commands> > <parameters> > <parameter name="network.http.charset" value="utf-8"/> > </parameters> > </listener> > </listeners> > </network> > <users> > <user name="root" password="XXXXXX" resources="*" /> > </users> > <storages> > <storage > path="plocal:/Users/daved/bin/orientdb-community-2.0-M3/databases/ConcordDebate" > > name="ConcordDebate" > loaded-at-startup="true" /> > </storages> > <properties> > <entry name="orientdb.www.path" > value="/Users/daved/bin/orientdb-community-2.0-M3/www/"/> > <entry name="orientdb.config.file" > value="/Users/daved/bin/orientdb-community-2.0-M3/config/orientdb-server-config.xml"/> > <entry name="server.cache.staticResources" value="false" /> > <entry name="log.console.level" value="finest" /> > <entry name="log.file.level" value="fine" /> > </properties> > </orient-server> > > > >
-- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
