Hi Carlo,
This error comes from com.sun.Grizzly. What did you find through your Web
searches about this error message?

Also, this thread has almost become some kind of step by step guide on how
to set up your own DBpedia Spotlight service. Would you care to write it up
as such (like a one-page tutorial) and post on the Web somewhere, or on our
wiki? (wiki.dbpedia.org/spotlight)?

Others could benefit from this.

Cheers
Pablo

On Apr 3, 2012 10:18 PM, "Carlo Allocca" <[email protected]> wrote:
>
> Hi Pablo,
>
> Thank you for this step too.
>
> The very last help. I got the following error (please, see below).
>
> Is it connected to my network configuration or I am missing to install
something?
>
>
> Many Thanks for your help.
>
> Cheers,
>
> Carlo
>
>
> DEBUG 2012-04-03 19:08:13,796 http2222-WorkerThread(0)
[SpotlightInterface] -
****************************************************************
> Apr 3, 2012 7:08:14 PM com.sun.grizzly.http.servlet.ServletAdapter service
> SEVERE: service exception:
> ClientAbortException:  java.nio.channels.ClosedChannelException
> at
com.sun.grizzly.tcp.http11.GrizzlyOutputBuffer.doFlush(GrizzlyOutputBuffer.java:437)
> at
com.sun.grizzly.tcp.http11.GrizzlyOutputBuffer.flush(GrizzlyOutputBuffer.java:403)
> at
com.sun.grizzly.tcp.http11.GrizzlyOutputStream.flush(GrizzlyOutputStream.java:138)
> at
com.sun.grizzly.http.servlet.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:92)
> at
com.sun.jersey.spi.container.servlet.WebComponent$Writer.flush(WebComponent.java:315)
> at
com.sun.jersey.spi.container.ContainerResponse$CommittingOutputStream.flush(ContainerResponse.java:145)
> at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:278)
> at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
> at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
> at java.io.BufferedWriter.flush(BufferedWriter.java:236)
> at
com.sun.jersey.core.util.ReaderWriter.writeToAsString(ReaderWriter.java:191)
> at
com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeToAsString(AbstractMessageReaderWriterProvider.java:128)
> at
com.sun.jersey.core.impl.provider.entity.StringProvider.writeTo(StringProvider.java:88)
> at
com.sun.jersey.core.impl.provider.entity.StringProvider.writeTo(StringProvider.java:58)
> at
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
> at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437)
> at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:188)
> at
com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:137)
> at
com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:278)
> at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
> at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:726)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:615)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:895)
> at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:162)
> at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
> at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: java.nio.channels.ClosedChannelException
> at
sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:133)
> at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
> at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:106)
> at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:73)
> at
com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:309)
> at
com.sun.grizzly.http.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:374)
> at
com.sun.grizzly.http.SocketChannelOutputBuffer.flush(SocketChannelOutputBuffer.java:352)
> at com.sun.grizzly.http.ProcessorTask.action(ProcessorTask.java:1122)
> at com.sun.grizzly.tcp.Response.action(Response.java:255)
> at
com.sun.grizzly.tcp.http11.GrizzlyOutputBuffer.doFlush(GrizzlyOutputBuffer.java:432)
>
>
>
> On 3 Apr 2012, at 18:30, Pablo Mendes wrote:
>
>> Carlo,
>> All the information you need is already in the configuration file. You
just need to correctly replace the paths in the configuration parameters.
Here, I did it for you:
>>
>> org.dbpedia.spotlight.spot.cooccurrence.datasource = ukwac
>> org.dbpedia.spotlight.spot.cooccurrence.database.jdbcdriver =
org.hsqldb.jdbcDriver
>> org.dbpedia.spotlight.spot.cooccurrence.database.connector =
jdbc:hsqldb:file:/Users/ca3533/Desktop/DBpedia/DBpediaSpotlightData/spotsel/ukwac_candidate;shutdown=true&readonly=true
>> org.dbpedia.spotlight.spot.cooccurrence.database.user = sa
>> org.dbpedia.spotlight.spot.cooccurrence.database.password =
>> org.dbpedia.spotlight.spot.cooccurrence.classifier.unigram
= /Users/ca3533/Desktop/DBpedia/DBpediaSpotlightData/spotsel/ukwac_unigram.model
>> org.dbpedia.spotlight.spot.cooccurrence.classifier.ngram
= /Users/ca3533/Desktop/DBpedia/DBpediaSpotlightData/spotsel/ukwac_ngram.model
>>
>> Cheers,
>> Pablo
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to