[opencms-dev] 6.0.0 installation problem with SLES9

Claus Priisholm cpr at codedroids.com
Mon Jul 25 13:43:43 CEST 2005


Hi,

yes I meant the memory heap. I set it to 128Mb and that solved the 
problem for me (of course this will depend on what else you have running 
inside that VM, but this was for Tomcat 5 with not much else in terms of 
servlets installed)

Markus Kettunen wrote:
> I increased Websphere's JVM Initial Heap Size to 96M and also tried with 144M and 256M but no luck. I have read IBM's manual for JVM and optimizing and tried ex. increase limit of open files in Linux (ulimit -n 8000). Default value for SLES9 is 1024. Neither of these changes have done anything but I just keep having same error message when trying to install 6.0.0:
> 
> 3409:	
> 3408:	Shutdown completed, total uptime was 00:02:03.
> 3407:	Shutting down OpenCms, version 6.0.0 in web application "opencms.war"
> 3406:	
> 3405:	
> 3404:	The OpenCms system used for the setup will now shut down.
> 3403:	The setup is finished!
> 3402:	
> 3401:	
> 3400:	Admin at Offline>exit
> 3399:	Admin at Offline>
> 3398:	Indexing statistics: indexed files: 0, returned threads: 0, abandoned threads: 0, duration: 00:00:00
> 3397:	------ ... finished indexing
> 3396:	!!! Indexing folder /system/ failed : Error reading resource from path "/system/".
> 3395:	------ Indexing------  System folder ------ ... 
> 3394:	Indexing statistics: indexed files: 1, returned threads: 1, abandoned threads: 0, duration: 00:00:00
> 3393:	------ ... finished indexing
> 3392:		... 5 more
> 3391:		at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3741)
> 3390:		at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5386)
> 3389:		at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java(Compiled Code))
> 3388:		at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java(Compiled Code))
> 3387:	Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/[B at 5fe435be".
> 3386:		... 2 more
> 3385:		at org.opencms.search.documents.CmsDocumentPlainText.extractContent(CmsDocumentPlainText.java:81)
> 3384:		at org.opencms.file.CmsObject.readPropertyObject(CmsObject.java:2455)
> 3383:		at org.opencms.file.CmsObject.readResource(CmsObject.java:2587)
> 3382:		at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3743)
> 3381:		at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
> 3380:		at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)
> 3379:		at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:75)
> 3378:	Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/[B at 5fe435be".
> 3377:		at org.opencms.search.CmsIndexingThread.run(CmsIndexingThread.java:137)
> 3376:		at org.opencms.search.documents.A_CmsVfsDocument.newInstance(A_CmsVfsDocument.java:158)
> 3375:		at org.opencms.search.documents.CmsDocumentPlainText.extractContent(CmsDocumentPlainText.java:109)
> 3374:	org.opencms.search.CmsIndexException: Extracting text from resource "[B at 5fe435be" failed.
> 3373:	!!! failed!!! Exception Extracting text from resource "[B at 5fe435be" failed.
> 3372:	( 1 ) Indexing file [B at 5fe435be ... 
> 3371:	Indexing folder /sites/default/ 
> 3370:	!!! Indexing folder [B at 5fbfb5be/ failed : Error reading resource from path "/[B at 5fbfb5be/".
> 3369:	!!! Indexing folder [B at 5fad35be/ failed : Error reading resource from path "/[B at 5fad35be/".
> 3368:	!!! Indexing folder [B at 5f82b5be/ failed : Error reading resource from path "/[B at 5f82b5be/".
> 3367:	!!! Indexing folder [B at 5e54f5be/ failed : Error reading resource from path "/[B at 5e54f5be/".
> 3366:	!!! Indexing folder [B at 5e4a75be/ failed : Error reading resource from path "/[B at 5e4a75be/".
> 3365:	------ Indexing------  Offline project (VFS) ------ ... 
> 3364:	Indexing statistics: indexed files: 0, returned threads: 0, abandoned threads: 0, duration: 00:00:00
> 3363:	------ ... finished indexing
> 3362:	!!! Indexing folder /sites/default/ failed : Error reading resource from path "/sites/default/".
> 3361:	------ Indexing------  Online project (VFS) ------ ... 
> 3360:	Admin at Offline>updateIndex
> 3359:	Admin at Offline># Build search indexes
> 3358:	Admin at Offline>
> 3357:	------ ... the module has been imported
> 3356:	------ ... the project has been published
> 3355:	Statistics: published files: 0, published folders: 0, deleted folders: 0, duration: 00:00:17
> 3354:	------ Publishing project ...
> 3353:	( 793 / 793 ) Importing /alkacon-documentation/javadoc/readme_insert_javadoc.txt ... o.k.
> 3352:	( 792 / 793 ) Importing /alkacon-documentation/javadoc/index_content.html ... o.k.
> 3351:	( 791 / 793 ) Importing /alkacon-documentation/javadoc/index.html ... o.k.
> 3350:	( 790 / 793 ) Importing /alkacon-documentation/javadoc/core/resources/inherit.gif ... o.k.
> 3349:	( 789 / 793 ) Importing /alkacon-documentation/javadoc/core/resources/ ... o.k.
> 
> If you mean some other JVM memory than heap, please reply with those arguments. I have used these generic JVM arguments:
> -Xms256m -Xmx512m
> 
> - markus
> 
> -----Alkuperäinen viesti-----
> Lähettäjä: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Puolesta Claus Priisholm
> Lähetetty: 23. heinäkuuta 2005 10:24
> Vastaanottaja: The OpenCms mailing list
> Aihe: Re: [opencms-dev] 6.0.0 installation problem with SLES9
> 
> I did have some problems installing 6.0.0 on a machine that previously 
> had 6rc1 running. Various symptoms - turned out to be the Java VM memory 
> settings that needed to be increased. With Tomcat I noticed the memory 
> consumption to push beyond 64M (the original setting) during installation.
> 
> Markus Kettunen wrote:
> 
>>Hello,
>>
>>I made some research and installed older versions with following results:
>>
>>6.0 beta1	ok
>>6.0 beta3	ok
>>6.0 rc1	ok
>>6.0 rc2	not ok
>>6.0.0	not ok
>>
>>Does anyone know what could have been changed between rc1 and rc2 so that rc2 (and 6.0.0) doesn't work with SLES9, Mysql 4.1.11 and Websphere 6.0.0.2?
>>
>>Thanks,
>>Markus
>>
>>
>>-----Alkuperäinen viesti-----
>>Lähettäjä: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Puolesta Markus Kettunen
>>Lähetetty: 20. heinäkuuta 2005 17:23
>>Vastaanottaja: opencms-dev at opencms.org
>>Aihe: [opencms-dev] 6.0.0 installation problem with SLES9
>>
>>Hi,
>> 
>>I can't make 6.0.0 work with Suse SLES9. 6Beta1 worked fine. I can go through the Setup Wizard and even Import Modules go to the end. It just gives following error message about indexing:
>> 
>>2538:              
>>2537:              Shutdown completed, total uptime was 00:01:28.
>>2536:              Shutting down OpenCms, version 6.0.0 in web application "opencms.war"
>>2535:              
>>2534:              
>>2533:              The OpenCms system used for the setup will now shut down.
>>2532:              The setup is finished!
>>2531:              
>>2530:              
>>2529:              Admin at Offline>exit
>>2528:              Admin at Offline>
>>2527:              Indexing statistics: indexed files: 0, returned threads: 0, abandoned threads: 0, duration: 00:00:00
>>2526:              ------ ... finished indexing
>>2525:              !!! Indexing folder /system/ failed : Error reading resource from path "/system/".
>>2524:              ------ Indexing------  System folder ------ ... 
>>2523:              Indexing statistics: indexed files: 1, returned threads: 1, abandoned threads: 0, duration: 00:00:00
>>2522:              ------ ... finished indexing
>>2521:                                    ... 5 more
>>2520:                                    at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3741)
>>2519:                                    at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5386)
>>2518:                                    at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java(Compiled Code))
>>2517:                                    at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java(Compiled Code))
>>2516:              Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/[B at 461f06f9".
>>2515:                                    ... 2 more
>>2514:                                    at org.opencms.search.documents.CmsDocumentPlainText.extractContent(CmsDocumentPlainText.java:81)
>>2513:                                    at org.opencms.file.CmsObject.readPropertyObject(CmsObject.java:2455)
>>2512:                                    at org.opencms.file.CmsObject.readResource(CmsObject.java:2587)
>>2511:                                    at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3743)
>>2510:                                    at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
>>2509:                                    at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)
>>2508:                                    at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:75)
>>2507:              Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/[B at 461f06f9".
>>2506:                                    at org.opencms.search.CmsIndexingThread.run(CmsIndexingThread.java:137)
>>2505:                                    at org.opencms.search.documents.A_CmsVfsDocument.newInstance(A_CmsVfsDocument.java:158)
>>2504:                                    at org.opencms.search.documents.CmsDocumentPlainText.extractContent(CmsDocumentPlainText.java:109)
>>2503:              org.opencms.search.CmsIndexException: Extracting text from resource "[B at 461f06f9" failed.
>>2502:              !!! failed!!! Exception Extracting text from resource "[B at 461f06f9" failed.
>>2501:              ( 1 ) Indexing file [B at 461f06f9 ... 
>>2500:              Indexing folder /sites/default/ 
>>2499:              !!! Indexing folder [B at 46f806f9/ failed : Error reading resource from path "/[B at 46f806f9/".
>>2498:              !!! Indexing folder [B at 46ed86f9/ failed : Error reading resource from path "/[B at 46ed86f9/".
>>2497:              !!! Indexing folder [B at 46d546f9/ failed : Error reading resource from path "/[B at 46d546f9/".
>>2496:              !!! Indexing folder [B at 46c6c6f9/ failed : Error reading resource from path "/[B at 46c6c6f9/".
>>2495:              ------ Indexing------  Offline project (VFS) ------ ... 
>>2494:              Indexing statistics: indexed files: 0, returned threads: 0, abandoned threads: 0, duration: 00:00:00
>>2493:              ------ ... finished indexing
>>2492:              !!! Indexing folder /sites/default/ failed : Error reading resource from path "/sites/default/".
>>2491:              ------ Indexing------  Online project (VFS) ------ ... 
>>2490:              Admin at Offline>updateIndex
>>2489:              Admin at Offline># Build search indexes
>>2488:              Admin at Offline>
>>2487:              ------ ... the module has been imported
>>2486:              ------ ... the project has been published
>>2485:              Statistics: published files: 0, published folders: 0, deleted folders: 0, duration: 00:00:00
>>2484:              ------ Publishing project ...
>>2483:              ( 16 / 16 ) Importing /system/workplace/resources/editors/ledit/edit.js ... o.k.
>>2482:              ( 15 / 16 ) Importing /system/workplace/resources/editors/ledit/ ... o.k.
>>2481:              ( 14 / 16 ) Importing /system/workplace/resources/editors/ ... o.k.
>>2480:              ( 13 / 16 ) Importing /system/workplace/resources/buttons/replace.png ... o.k.
>>2479:              ( 12 / 16 ) Importing /system/workplace/resources/buttons/print.png ... o.k.
>>2478:              ( 11 / 16 ) Importing /system/workplace/resources/buttons/goto.png ... o.k.
>>2477:              ( 10 / 16 ) Importing /system/workplace/resources/buttons/ ... o.k.
>>2476:              ( 9 / 16 ) Skipping /system/workplace/resources/ 
>>2475:              ( 8 / 16 ) Importing /system/workplace/editors/ledit/mainpage.txt ... o.k.
>>2474:              ( 7 / 16 ) Importing /system/workplace/editors/ledit/editor_configuration.xml ... o.k.
>>2473:              ( 6 / 16 ) Importing /system/workplace/editors/ledit/editor.jsp ... o.k.
>>2472:              ( 5 / 16 ) Importing /system/workplace/editors/ledit/edit.js ... o.k.
>>2471:              ( 4 / 16 ) Importing /system/workplace/editors/ledit/ ... o.k.
>>2470:              ( 3 / 16 ) Importing /system/workplace/editors/ ... o.k.
>>2469:              ( 2 / 16 ) Skipping /system/workplace/ 
>>2468:              ( 1 / 16 ) Importing /system/ ... o.k.
>>2467:              ------ Importing module ... org.opencms.editors.ledit ... Import Version 4
>> 
>>When I check for created folders like /opencms.war/resources and /opencms.war/WEB-INF/jsp they doesn't exists. Looks like Wizard couldn't create those or that indexing exception occurred before creation.
>> 
>>Hope you can help me with this.
>> 
>>Thanks
>>Markus
>>
>>
>>_______________________________________________
>>This mail is send to you from the opencms-dev mailing list
>>To change your list options, or to unsubscribe from the list, please visit
>>http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
> 
> 

-- 
Claus Priisholm, CodeDroids ApS
cpr (you know what) codedroids.com - http://www.codedroids.com

Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms




More information about the opencms-dev mailing list