This URL is probably fine (it says localhost because it's DSpace querying your solr webapp) -- if you check my previous reply, there's a suggestion there about manually editing and deploying a new web.xml to the solr webapp which will hopefully fix this problem (and will help me confirm that it wasn't just me running into this when I was building discovery...)
Cheers, Kim On 11 August 2010 09:47, Mckeane Thomas <[email protected]> wrote: > http://localhost:8080/solr/search/select?q=search.resourcetype:2 > > On Tue, Aug 10, 2010 at 4:24 PM, Mckeane Thomas > <[email protected]>wrote: > >> Hello Mr. Shepherd, >> I apologize about the title. >> >> When I run the command "dspace-instances/discovery/bin/dspace >> update-discovery-index" to create/update the solr search index I get a few >> errors. I have copied the log information below. Also when I restart tomcat >> and and open the dspace page and performs the search I get the same results >> as before. >> >> >> Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.DSpaceKernelInit >> getKernel >> INFO: Created new kernel: >> DSpaceKernel:org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null >> Aug 10, 2010 4:15:30 PM org.dspace.servicemanager.DSpaceKernelInit >> register >> INFO: Registered new Kernel MBEAN: >> org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel >> [DSpaceKernel:org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null] >> Aug 10, 2010 4:15:30 PM >> org.dspace.servicemanager.config.DSpaceConfigurationService >> readPropertyResource >> INFO: Loaded 5 config properties from resource: class path resource >> [config/dspace-defaults.properties] >> Aug 10, 2010 4:15:30 PM >> org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile >> INFO: Loaded 197 config properties from file: >> /dspace-instances/discovery/config/dspace.cfg >> Aug 10, 2010 4:15:30 PM >> org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile >> INFO: Failed to load config properties from file >> (/dspace-instances/discovery/config/dspace.properties): Does not exist >> Aug 10, 2010 4:15:30 PM >> org.dspace.servicemanager.config.DSpaceConfigurationService readPropertyFile >> INFO: Failed to load config properties from file >> (/dspace-instances/discoverylocal.properties): Does not exist >> Aug 10, 2010 4:15:30 PM >> org.dspace.servicemanager.config.DSpaceConfigurationService >> readPropertyResource >> INFO: Loaded 197 config properties from resource: class path resource >> [dspace.cfg] >> Aug 10, 2010 4:15:30 PM >> org.dspace.servicemanager.config.DSpaceConfigurationService >> loadInitialConfig >> INFO: Started up configuration service and loaded 204 settings >> Aug 10, 2010 4:15:32 PM org.dspace.services.caching.CachingServiceImpl >> init >> INFO: init() >> Aug 10, 2010 4:15:32 PM org.dspace.services.caching.CachingServiceImpl >> init >> INFO: Caching service initialized: >> ** Memory report >> freeMemory: 2366712 >> totalMemory: 5177344 >> maxMemory: 266403840 >> >> ** Full report of all known caches (0): >> >> Aug 10, 2010 4:15:32 PM >> org.dspace.services.sessions.SessionRequestServiceImpl init >> INFO: init >> Aug 10, 2010 4:15:32 PM >> org.dspace.servicemanager.spring.SpringServiceManager startup >> INFO: Spring Service Manager started up in 1432 ms with 9 services... >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service (org.dspace.services.events.SystemEventService) >> serviceName (org.dspace.services.EventService) with 2 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service (org.dspace.services.caching.CachingServiceImpl) >> serviceName (org.dspace.services.CachingService) with 5 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service >> (org.springframework.context.event.SimpleApplicationEventMulticaster) >> serviceName (applicationEventMulticaster) with 1 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service >> (org.dspace.servicemanager.config.DSpaceConfigurationService) serviceName >> (org.dspace.services.ConfigurationService) with 1 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service >> (org.springframework.context.support.DelegatingMessageSource) serviceName >> (messageSource) with 2 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service (org.dspace.servicemanager.DSpaceServiceManager) >> serviceName (org.dspace.servicemanager.ServiceManagerSystem) with 2 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service >> (org.springframework.cache.ehcache.EhCacheManagerFactoryBean) serviceName >> (org.dspace.caching.ehcache.CacheManager) with 3 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service >> (org.dspace.services.sessions.SessionRequestServiceImpl) serviceName >> (org.dspace.services.SessionService) with 4 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service (org.dspace.discovery.SolrServiceImpl) >> serviceName (org.dspace.discovery.SearchService) with 2 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.ServiceMixinManager >> registerService >> INFO: Registered service >> (org.dspace.servicemanager.spring.DSpaceBeanPostProcessor) serviceName >> (org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0) with 2 mixins >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.DSpaceServiceManager >> startup >> INFO: Registered 10 service's mixins from loaded core services >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.DSpaceKernelImpl start >> INFO: DSpace kernel startup completed in 1660 ms and registered as MBean: >> org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel >> Aug 10, 2010 4:15:32 PM >> org.dspace.services.sessions.SessionRequestServiceImpl makeSession >> INFO: Created new session: >> Session:active:4de370e0-1f62-4391-acff-b53d24ea579a:user=null(null):sid=4de370e0-1f62-4391-acff-b53d24ea579a:server=dspace-prime:created=1281474932591:accessed=1281474932591:maxInactiveSecs=3600:hostIP=127.0.0.1: >> hostName=gis2:org.dspace.services.sessions.model.sessioni...@fa40d939 >> Aug 10, 2010 4:15:32 PM >> org.dspace.services.sessions.SessionRequestServiceImpl shutdown >> INFO: shutdown >> Aug 10, 2010 4:15:32 PM >> org.dspace.services.sessions.SessionRequestServiceImpl shutdown >> INFO: Shutdown with 1 tasks remaining >> Aug 10, 2010 4:15:32 PM org.dspace.services.caching.CachingServiceImpl >> shutdown >> INFO: destroy() >> Aug 10, 2010 4:15:32 PM >> org.dspace.servicemanager.spring.SpringServiceManager shutdown >> INFO: Spring Service Manager Shutdown... >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.DSpaceServiceManager >> shutdown >> INFO: Shutdown DSpace core service manager >> Aug 10, 2010 4:15:32 PM org.dspace.servicemanager.DSpaceKernelImpl stop >> INFO: DSpace kernel shutdown completed and unregistered MBean: >> org.dspace:name=6bea73e5-8ee7-4715-a172-a547ae6037b2,type=DSpaceKernel >> Exception: Error executing query >> org.dspace.discovery.SearchServiceException: Error executing query >> at >> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:422) >> at org.dspace.discovery.IndexClient.main(IndexClient.java:116) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) >> Caused by: org.apache.solr.client.solrj.SolrServerException: Error >> executing query >> at >> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95) >> at >> org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118) >> at >> org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:145) >> at >> org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:395) >> ... 6 more >> Caused by: org.apache.solr.common.SolrException: Internal Server Error >> >> Internal Server Error >> >> request: http://localhost:8080/solr/search/select?q=search.resourcetype:2AND >> search.resourceid:1&wt=javabin&version=1 >> at >> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:424) >> at >> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:243) >> at >> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89) >> ... 9 more >> >> >> >> >> >> >> On Tue, Aug 10, 2010 at 3:45 PM, Kim Shepherd <[email protected]>wrote: >> >>> Hi Mckeane, >>> >>> I'm 'Mr' Shepherd... confusing name, I know. ;-) >>> >>> The executable to run is "dspace", which is basically a special launcher >>> that will run DSpace classes intended to be called from the command-line. It >>> replaces "dsrun" in previous DSpace versions, and will eventually replace >>> all the shell/bat scripts you see in the [dspace]/bin directory. >>> >>> "update-discovery-index" is an argument you can pass to the launcher. >>> >>> So if you have DSpace installed in dspace-instances/discovery, the full >>> command should be: >>> >>> "dspace-instances/discovery/bin/dspace update-discovery-index" >>> >>> You can run "dspace-instances/discovery/bin/dspace" on its own to see all >>> the different administrative tasks that can be run from the launcher. >>> >>> Cheers, >>> >>> Kim >>> >>> On 11 August 2010 02:01, Mckeane Thomas <[email protected]>wrote: >>> >>>> Hello Ms. Shepherd, >>>> Thank you for your reply, I looked inside both dspace installation >>>> directory's "dspace-instances/discovery/bin" and where the source code's >>>> "SourceCode/dspace-1.6.2-src-release/dspace/bin" bin folder location but I >>>> don't see 'update-discovery-index' I see update-index though not sure if >>>> they are the same. If its ok I can send you some screen shots of the >>>> results >>>> that I receive. When I do an empty search I don't see a any facets/results >>>> displayed. I see "search produced no results," "Results per page," "Sort >>>> by >>>> Items," and "In Order". I have re-indexed dspace and still received the >>>> same results. >>>> >>>> >>>> Regards, >>>> Mckeane Thomas. >>>> >>>> >>>> On Mon, Aug 9, 2010 at 9:00 PM, Kim Shepherd <[email protected]>wrote: >>>> >>>>> Hi Mckeane, >>>>> >>>>> Have you run '[dspace]/bin/dspace update-discovery-index' to >>>>> create/update the solr search index? >>>>> Do you get a full list of results/facets when you perform an empty >>>>> search? >>>>> >>>>> Cheers, >>>>> >>>>> Kim >>>>> >>>>> On 10 August 2010 09:12, Mckeane Thomas <[email protected]>wrote: >>>>> >>>>>> Hello, >>>>>> have recently included the Dspace Discovery Patch to Dspace 1.6.2. >>>>>> XMLUI is not displaying any submissions that was made whether recently or >>>>>> previously. I have to search items submitted using item id or internal >>>>>> handler. If I enter a key word or do a normal search in the search box >>>>>> "no >>>>>> result is found" is displayed. All these features work properly in jspui >>>>>> however. The submissions can also be viewed using JSPUI, however. Can >>>>>> anyone >>>>>> help me with this. >>>>>> >>>>>> --Mckeane >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> This SF.net email is sponsored by >>>>>> >>>>>> Make an app they can't live without >>>>>> Enter the BlackBerry Developer Challenge >>>>>> http://p.sf.net/sfu/RIM-dev2dev >>>>>> _______________________________________________ >>>>>> DSpace-tech mailing list >>>>>> [email protected] >>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>>>> >>>>>> >>>>> >>>> >>> >> >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

