2009/3/10 Mck <[email protected]> > > > 1. "ERROR 16:37:37,332 [localhost.com:8080/ http-8080-6] > > (e8a87e91-3054-40f6-a784-2d25de310bc7) SolrEvaluatorFactory: > > java.lang.NoClassDefFoundError: > > org/apache/commons/codec/DecoderException > > java.util.concurrent.ExecutionException: > > java.lang.NoClassDefFoundError: > > org/apache/commons/codec/DecoderException" > > > > This could be probably solved by adding the commons-codec jar to the > > classpath. > > Yes, I must apologise, we develop mostly with the "include-fast" profile > enabled which requires a number of libraries manually copied into the > tomcat's lib directory (http://sesat.no/building-with-fast.html ). > It appears that one of these libraries in commons-codec-1.3.jar > Can you copy just this jar file into tomcat's lib. > I'll see if i can fix the war bundling to include it. > Thanks for pointing this out.
That's fine. I added the library and I am not having this error anymore. > > > 2. "javax.naming.CommunicationException: Could not obtain connection > > to any of these urls: localhost:1099 and discovery failed with error: > > javax.naming.CommunicationException: Receive timed out [Root exception > > is java.net.SocketTimeoutException: Receive timed out]" > > > > Do I need to do anything special to get over this error? > > This is related to sesat-kernel looking for the sesat-user service which > provides user and login functionality. If should fail without problems, > just that you can't log in. > If the jndi lookup (port 1099) takes a long time (eg a full 5 seconds) > then use the property > sesat.userservice.enabled=false > in the localhost.com skin's configuration.properties. I added this property in .../webapps/ localhost.com/WEB-INF/classes/configuration.properties, still having this error in sesam.log I am also having an error regarding apache Solr. ERROR 09:57:41,343 [localhost.com:8080/ pool-5-thread-1 [SolrSearchCommand]] (69f9caf5-2d60-4e5c-b29b-0a2538101bb1) SolrSearchCommand: Error executing query org.apache.solr.client.solrj.SolrServerException: Error executing query at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:96) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:109) at no.sesat.search.mode.command.SolrSearchCommand.execute(SolrSearchCommand.java:122) at no.sesat.search.mode.command.AbstractSearchCommand.performExecution(AbstractSearchCommand.java:502) at no.sesat.search.mode.command.AbstractSearchCommand.call(AbstractSearchCommand.java:349) at no.sesat.search.mode.command.AbstractSearchCommand.call(AbstractSearchCommand.java:101) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:713) Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectException: Connection refused: connect at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:391) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90) ... 10 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:154) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:380) at java.net.Socket.connect(Socket.java:569) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.<init>(Socket.java:416) at java.net.Socket.<init>(Socket.java:271) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:335) ... 12 more I have just seen this property in the .../webapps/ localhost.com/WEB-INF/classes/configuration.properties file. solr.serverUrl=http://localhost:16000/solr/ > > ~mck > > -- > "If we look at the path, we do not see the sky." Native American saying > | semb.wever.org | sesat.no | sesam.no | > > _______________________________________________ > Kernel-development mailing list > [email protected] > http://sesat.no/mailman/listinfo/kernel-development > > Thanks -Vicente
_______________________________________________ Kernel-development mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-development
