The error.log is more useful.
On Wed, Aug 8, 2012 at 10:12 AM, Wilsonlee <281579...@qq.com> wrote: > Hi,Erik > I deleted the whole sling and run the jar again > Here comes the sling/logs/solr.log > > Thanks a lot for your help! > > 08.08.2012 22:07:29.287 *INFO* [FelixStartLevel] > org.apache.solr.core.CoreContainer New CoreContainer 7758324 > 08.08.2012 22:07:29.850 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrConfig Adding specified lib dirs to ClassLoader > 08.08.2012 22:07:29.896 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrConfig Using Lucene MatchVersion: LUCENE_40 > 08.08.2012 22:07:30.013 *INFO* [FelixStartLevel] org.apache.solr.core.Config > Loaded SolrConfig: solrconfig.xml > 08.08.2012 22:07:30.018 *INFO* [FelixStartLevel] > org.apache.solr.schema.IndexSchema Reading Solr Schema > 08.08.2012 22:07:30.030 *INFO* [FelixStartLevel] > org.apache.solr.schema.IndexSchema Schema name=example > 08.08.2012 22:07:30.809 *INFO* [FelixStartLevel] > org.apache.solr.schema.IndexSchema unique key field: id > 08.08.2012 22:07:31.220 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrCore [nakamura] Opening new SolrCore at > e:\Esakai\1\sling\solr\, dataDir=e:\Esakai\1\sling\solr\nakamura\ > 08.08.2012 22:07:31.222 *INFO* [FelixStartLevel] > org.apache.solr.core.JmxMonitoredMap JMX monitoring is enabled. Adding Solr > mbeans to JMX Server: com.sun.jmx.mbeanserver.JmxMBeanServer@12d3205 > 08.08.2012 22:07:31.242 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrCore [nakamura] Added SolrEventListener for > firstSearcher: org.apache.solr.core.QuerySenderListener{queries=[{q=static > firstSearcher warming in solrconfig.xml}]} > 08.08.2012 22:07:31.293 *WARN* [FelixStartLevel] > org.apache.solr.core.SolrCore New index directory detected: old=null > new=e:\Esakai\1\sling\solr\nakamura\index/ > 08.08.2012 22:07:31.294 *WARN* [FelixStartLevel] > org.apache.solr.core.SolrCore [nakamura] Solr index directory > 'e:\Esakai\1\sling\solr\nakamura\index' doesn't exist. Creating new index... > 08.08.2012 22:07:31.607 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrCore SolrDeletionPolicy.onCommit: commits:num=1 > commit{dir=E:\Esakai\1\sling\solr\nakamura\index,segFN=segments_1,generation=1,filenames=[segments_1] > 08.08.2012 22:07:31.607 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrCore newest commit = 1 > 08.08.2012 22:07:31.708 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /select: solr.SearchHandler > 08.08.2012 22:07:31.708 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /browse: solr.SearchHandler > 08.08.2012 22:07:31.712 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /update: > solr.XmlUpdateRequestHandler > 08.08.2012 22:07:31.714 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /update/javabin: > solr.BinaryUpdateRequestHandler > 08.08.2012 22:07:31.715 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers adding lazy requestHandler: > solr.extraction.ExtractingRequestHandler > 08.08.2012 22:07:31.715 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /update/extract: > solr.extraction.ExtractingRequestHandler > 08.08.2012 22:07:31.715 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers adding lazy requestHandler: > solr.FieldAnalysisRequestHandler > 08.08.2012 22:07:31.716 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /analysis/field: > solr.FieldAnalysisRequestHandler > 08.08.2012 22:07:31.716 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers adding lazy requestHandler: > solr.DocumentAnalysisRequestHandler > 08.08.2012 22:07:31.716 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /analysis/document: > solr.DocumentAnalysisRequestHandler > 08.08.2012 22:07:31.718 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /admin/: > solr.admin.AdminHandlers > 08.08.2012 22:07:31.718 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers adding lazy requestHandler: > solr.ReplicationHandler > 08.08.2012 22:07:31.719 *INFO* [FelixStartLevel] > org.apache.solr.core.RequestHandlers created /replication: > solr.ReplicationHandler > 08.08.2012 22:07:31.723 *INFO* [FelixStartLevel] > org.apache.solr.handler.loader.XMLLoader xsltCacheLifetimeSeconds=60 > 08.08.2012 22:07:31.726 *WARN* [FelixStartLevel] > org.apache.solr.handler.UpdateRequestHandler Using deprecated class: > XmlUpdateRequestHandler -- replace with UpdateRequestHandler > 08.08.2012 22:07:31.726 *INFO* [FelixStartLevel] > org.apache.solr.handler.loader.XMLLoader xsltCacheLifetimeSeconds=60 > 08.08.2012 22:07:31.726 *WARN* [FelixStartLevel] > org.apache.solr.handler.UpdateRequestHandler Using deprecated class: > BinaryUpdateRequestHandler -- replace with UpdateRequestHandler > 08.08.2012 22:07:31.738 *INFO* [FelixStartLevel] > org.apache.solr.search.SolrIndexSearcher Opening Searcher@1ec10c9 main > 08.08.2012 22:07:31.756 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrCore Hard AutoCommit: if uncommited for 1000ms; if > 10000 uncommited docs > 08.08.2012 22:07:31.756 *INFO* [FelixStartLevel] > org.apache.solr.core.SolrCore Soft AutoCommit: disabled > 08.08.2012 22:07:31.764 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > socketTimeout to: 0 > 08.08.2012 22:07:31.764 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting urlScheme > to: http:// > 08.08.2012 22:07:31.764 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > connTimeout to: 0 > 08.08.2012 22:07:31.765 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > maxConnectionsPerHost to: 20 > 08.08.2012 22:07:31.765 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > corePoolSize to: 0 > 08.08.2012 22:07:31.765 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > maximumPoolSize to: 2147483647 > 08.08.2012 22:07:31.765 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > maxThreadIdleTime to: 5 > 08.08.2012 22:07:31.765 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > sizeOfQueue to: -1 > 08.08.2012 22:07:31.765 *INFO* [FelixStartLevel] > org.apache.solr.handler.component.HttpShardHandlerFactory Setting > fairnessPolicy to: false > 08.08.2012 22:07:31.768 *INFO* [FelixStartLevel] > org.apache.solr.client.solrj.impl.HttpClientUtil Creating new http client, > config:maxConnectionsPerHost=20&maxConnections=10000&socketTimeout=0&connTimeout=0&retry=false > 08.08.2012 22:07:31.914 *INFO* [pool-1-thread-1] > org.apache.solr.core.SolrCore QuerySenderListener sending requests to > Searcher@1ec10c9 main{StandardDirectoryReader(segments_1:1)} > 08.08.2012 22:07:31.920 *INFO* [FelixStartLevel] > org.apache.solr.core.CoreContainer registering core: nakamura > 08.08.2012 22:07:31.982 *INFO* [pool-1-thread-1] > org.apache.solr.core.SolrCore [nakamura] webapp=null path=null > params={event=firstSearcher&q=static+firstSearcher+warming+in+solrconfig.xml&distrib=false} > hits=0 status=0 QTime=66 > 08.08.2012 22:07:31.982 *INFO* [pool-1-thread-1] > org.apache.solr.core.SolrCore QuerySenderListener done. > 08.08.2012 22:07:31.987 *INFO* [pool-1-thread-1] > org.apache.solr.core.SolrCore [nakamura] Registered new searcher > Searcher@1ec10c9 main{StandardDirectoryReader(segments_1:1)} > 08.08.2012 22:07:42.030 *INFO* [IndexQueueManager] > org.apache.solr.client.solrj.impl.HttpClientUtil Creating new http client, > config:maxConnections=200&maxConnectionsPerHost=8 > 08.08.2012 22:07:42.106 *INFO* [IndexQueueManager] > org.apache.solr.core.SolrCore SolrDeletionPolicy.onInit: commits:num=1 > commit{dir=E:\Esakai\1\sling\solr\nakamura\index,segFN=segments_1,generation=1,filenames=[segments_1] > 08.08.2012 22:07:42.107 *INFO* [IndexQueueManager] > org.apache.solr.core.SolrCore newest commit = 1 > 08.08.2012 22:07:42.151 *INFO* [IndexQueueManager] > org.apache.solr.update.processor.LogUpdateProcessor [nakamura] webapp=null > path=/update params={} > {add=[a:admin/activity/2012-08-08-22-728773d60aa9d7fe27f49ccc5f8d232202f01f04 > (1409742129965563904)]} 0 125 > 08.08.2012 22:07:42.166 *INFO* [IndexQueueManager] > org.apache.solr.update.processor.LogUpdateProcessor [nakamura] webapp=null > path=/update params={} > {add=[a:anonymous/activity/2012-08-08-22-b9ed14ca764d1642083cd833e9ab41ae13da44a5 > (1409742130027429888)]} 0 4 > 08.08.2012 22:07:42.169 *INFO* [IndexQueueManager] > org.apache.solr.update.UpdateHandler start > commit{flags=0,version=0,optimize=false,openSearcher=true,waitSearcher=false,expungeDeletes=false,softCommit=false} > 08.08.2012 22:07:42.720 *INFO* [IndexQueueManager] > org.apache.solr.core.SolrCore SolrDeletionPolicy.onCommit: commits:num=2 > commit{dir=E:\Esakai\1\sling\solr\nakamura\index,segFN=segments_1,generation=1,filenames=[segments_1] > commit{dir=E:\Esakai\1\sling\solr\nakamura\index,segFN=segments_2,generation=2,filenames=[_0_Lucene40_0.tim, > _0.fnm, _0_Lucene40_0.frq, _0.tvx, _0.tvd, segments_2, _0.fdx, _0.tvf, > _0.si, _0.fdt, _0_Lucene40_0.tip] > 08.08.2012 22:07:42.720 *INFO* [IndexQueueManager] > org.apache.solr.core.SolrCore newest commit = 2 > 08.08.2012 22:07:42.750 *INFO* [IndexQueueManager] > org.apache.solr.search.SolrIndexSearcher Opening Searcher@1eb01e5 main > 08.08.2012 22:07:42.754 *INFO* [pool-1-thread-1] > org.apache.solr.core.SolrCore [nakamura] Registered new searcher > Searcher@1eb01e5 main{StandardDirectoryReader(segments_2:3 _0(4.0):C2)} > 08.08.2012 22:07:42.754 *INFO* [IndexQueueManager] > org.apache.solr.update.UpdateHandler end_commit_flush > 08.08.2012 22:07:42.755 *INFO* [IndexQueueManager] > org.apache.solr.update.processor.LogUpdateProcessor [nakamura] webapp=null > path=/update params={commit=true&softCommit=false&waitSearcher=false} > {commit=} 0 587 > > Wilson > > ------------------ Original ------------------ > From: "Erik Froese"<erik.fro...@gmail.com>; > Date: Wed, Aug 8, 2012 09:55 PM > To: "Wilsonlee"<281579...@qq.com>; > "<oae-dev@collab.sakaiproject.org>"<oae-dev@collab.sakaiproject.org>; > Subject: Re: [oae-dev] About Rebundle of nakamura jar File > > Please keep the list in the CC's. > > All of the logs are in sling/logs/ > > Erik > > On Wed, Aug 8, 2012 at 1:23 AM, Wilsonlee <281579...@qq.com> wrote: >> I deleted the whole Sling folder for serverl times. >> I wonder how can I get the whole logs? >> Thansk a lot >> >> >> ------------------ Original ------------------ >> From: "Erik Froese"<erik.fro...@gmail.com>; >> Date: Wed, Aug 8, 2012 00:11 AM >> To: "Wilsonlee"<281579...@qq.com>; >> Cc: "oae-dev"<oae-dev@collab.sakaiproject.org>; >> Subject: Re: [oae-dev] About Rebundle of nakamura jar File >> >> Can you send me the logs from the run with the 1.4.0-SNAPSHOOT-wilson jar? >> >> Did you follow my earlier instructions to clear out the sling >> directories and do a fresh run? >> >> Erik >> >> On Tue, Aug 7, 2012 at 11:20 AM, Wilsonlee <281579...@qq.com> wrote: >>> Hi,Erik >>> Thanks for your help first. >>> It is 1.4.0-SNAPSHOT-wilson...it seems I build it correct,but Why the jar >>> doesnt work properly? >>> Thanks again >>> Wilson >>> >>> >>> ------------------ Original ------------------ >>> From: "Erik Froese"<erik.fro...@gmail.com>; >>> Date: Tue, Aug 7, 2012 11:05 PM >>> To: "Wilsonlee"<281579...@qq.com>; >>> Cc: "oae-dev"<oae-dev@collab.sakaiproject.org>; >>> Subject: Re: [oae-dev] About Rebundle of nakamura jar File >>> >>> try this: >>> >>> Go to http://localhost:8080/system/console/bundles >>> >>> Find the UX bundle and click on it >>> >>> What is in the VERSION field? If its 1.4.0-SNAPSHOT-wilson, you got >>> your UX build in there correctly. >>> >>> Erik >>> >>> On Tue, Aug 7, 2012 at 10:48 AM, Wilsonlee <281579...@qq.com> wrote: >>>> I have to say that the jar in app/target isn't named >>>> org.sakaiproject.nakamura.app-1.4.0-SNAPSHOT-wilson.jar, >>>> it is still org.sakaiproject.nakamura.app-1.4.0-SNAPSHOT.jar.I think I >>>> got >>>> something wrong in the build.I wonder what should I do if I want build >>>> my >>>> own UX into the nakamura Jar.What I did had been listed in the mail.Is >>>> there >>>> something wrong ? >>>> Thanks a lot, >>>> Wilson >>>> >>>> >>>> ------------------ Original ------------------ >>>> From: "Erik Froese"<erik.fro...@gmail.com>; >>>> Date: Tue, Aug 7, 2012 10:20 PM >>>> To: "Wilsonlee"<281579...@qq.com>; >>>> Cc: "oae-dev"<oae-dev@collab.sakaiproject.org>; >>>> Subject: Re: [oae-dev] About Rebundle of nakamura jar File >>>> >>>> From what you sent earlier the command you're running does not match >>>> your intentions. >>>> Its not going to help you much to fix that problem. From the looks of >>>> it you might have an incomplete UX load. >>>> >>>> Please do the following. >>>> 1. Stop the running OAE (the one with the bad / page) >>>> 2. Remove the sling directory, (or at least the following directories >>>> >>>> sling/config/org/apache/ >>>> sling/startup >>>> sling/jackrabbit >>>> >>>> 3. Verify that you have the jar you intended to build, >>>> app/target/org.sakaiproject.nakamura.app-1.4.0-SNAPSHOT-wilson.jar >>>> 4. Start that jar up and let OAE startup. >>>> >>>> Erik >>>> >>>> >>>> On Tue, Aug 7, 2012 at 10:12 AM, Wilsonlee <281579...@qq.com> wrote: >>>>> Hi,Froese >>>>> >>>>>> but when I goto localhost:8080 the browser redirect me to >>>>>> localhost:8082 >>>>>> and >>>>>> give me only a line shows: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> {"_created":1344318789864,"_id":"KtomgOBUEeGsnlU3rBSz5Q+","_lastModifiedBy":"admin","_lastModified":1344318789864,"_createdBy":"admin","_path":"/"} >>>>> >>>>> >>>>> ------------------ Original ------------------ >>>>> From: "Erik Froese"<erik.fro...@gmail.com>; >>>>> Date: Tue, Aug 7, 2012 10:04 PM >>>>> To: "Wilsonlee"<281579...@qq.com>; >>>>> Cc: "oae-dev"<oae-dev@collab.sakaiproject.org>; >>>>> Subject: Re: [oae-dev] About Rebundle of nakamura jar File >>>>> >>>>> Wilson, >>>>> >>>>> it looks like you have aismatch between the version you're trying to >>>>> build (1.4.0-SNAPSHOT-wilson\) and the version you're running >>>>> (1.5.0-SNAPSHOT). >>>>> >>>>> Look for a jar at >>>>> >>>>> >>>>> >>>>> >>>>> nakamura/app/target/org.sakaiproject.nakamura.app-1.4.0-SNAPSHOT-wilson.jar >>>>> >>>>> Then java -Xmx256m -server -jar >>>>> org.sakaiproject.nakamura.app-1.4.0-SNAPSHOT-wilson.jar -f - >>>>> >>>>> >>>>> Erik >>>>> >>>>> On Tue, Aug 7, 2012 at 2:29 AM, Wilsonlee <281579...@qq.com> wrote: >>>>>> Hi,all. >>>>>> I'm doing the rebundle of nakamura jar File and have a problem. >>>>>> I changed >>>>>> UX/pom.xml line 24 >>>>>> <version>1.4.0-SNAPSHOT-wilson</version> >>>>>> UX/pom-bundle.xml line 18 >>>>>> <version>1.4.0-SNAPSHOT-wilson</version> >>>>>> line 24 >>>>>> <version>1.4.0-SNAPSHOT-wilson</version> >>>>>> UX/tools/hashfiles/pom.xml line 18 >>>>>> <version>1.4.0-SNAPSHOT-wilson</version> >>>>>> >>>>>> nakamura/app/pom.xml line 57 >>>>>> <version>1.4.0-SNAPSHOT-wilson</version> >>>>>> >>>>>> and in UX folder mvn clean install >>>>>> then in nakamura folder mvn clean install >>>>>> >>>>>> after the build I run java -Xmx256m -server -jar >>>>>> org.sakaiproject.nakamura.app-1.5.0-SNAPSHOT.jar -f - >>>>>> in the nakamura/app/target >>>>>> >>>>>> but when I goto localhost:8080 the browser redirect me to >>>>>> localhost:8082 >>>>>> and >>>>>> give me only a line shows: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> {"_created":1344318789864,"_id":"KtomgOBUEeGsnlU3rBSz5Q+","_lastModifiedBy":"admin","_lastModified":1344318789864,"_createdBy":"admin","_path":"/"} >>>>>> >>>>>> Is there something wrong? >>>>>> >>>>>> Thanks a lot, >>>>>> Wilson >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> oae-dev mailing list >>>>>> oae-dev@collab.sakaiproject.org >>>>>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev >>>>>> _______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev