[opencms-dev] Problem with installation in v. 6 -- Linux & X-window

Joe Desbonnet jdesbonnet at gmail.com
Sat Jul 9 20:45:57 CEST 2005


I think using this option on the command line should do it:

  -Djava.awt.headless=true

I havn't encountered this problem so I can't verify that it works. The
requirement to have this option set is quite common for server
applications that need to generate graphics on the fly.

Joe.


On 7/9/05, Paul D. Bain <paulbain at pobox.com> wrote:
> Alexander Kandzior wrote:
> > This is because of the RTF indexing.
> >
> > You can remove all references to [RTF] in the openmcms-search.xml
> > configuration [file] before you start the install, and then it
> > should work.
> >
> > I assume that this is an issue with swing on Linux. Swing is used for RTF
> > extraction. Maybe [you have] a server with no X-Window installed, so
> > you need to start
> > the JVM in "headless" mode?
> 
> Alexander,
> 
>         Are you saying that, if a Linux server does not have X-Window
> installed, or that, if X-Window is not running on the Linux server when
> an installation of OpenCms begins, then the JVM must be started in
> "headless" mode?
> 
>         I have a second question. When you use the term " 'headless' mode," are
> you referring to invoking the "-server" option that can be passed to a
> JVM at the command line, thus:
> 
> #java -server <programName>.java
> 
>         Is this "feature" of the OpenCms installation documented anywhere in
> the installation instructions
> for version 6? I certainly have not seen such an instruction. Are there
> other such features that are undocumented with respect to version 6? If
> so, where can I learn about them? If such features exist, then perhaps
> they account for my inability to install version 6.
> 
> Sincerely,
> Paul Bain
> 
> 
> >>-----Original Message-----
> >>From: opencms-dev-bounces at opencms.org
> >>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of roberto gimenez
> >>Sent: Friday, July 08, 2005 9:11 AM
> >>To: opencms-dev at opencms.org
> >>Subject: [opencms-dev] Fwd: Problem with installation in 6.0.0
> >>
> >>I'm trying to install opencms 6.0.0 on Suse 9.3, java 1.4.2,
> >>tomcat 5.0 and mysql 4.1 but I always get this error, and
> >>installation doesn't continue.
> >>
> >>6266:   ( 97 ) Indexing file index.jsp ... skipped
> >>6265:   ( 97 ) Indexing file index.jsp ... skipped
> >>6264:   Indexing folder /sites/default/
> >>6263:   ( 96 ) Indexing file side_element_demo.html ... o.k.
> >>6262:   ( 95 ) Indexing file list_tree.jsp ... skipped
> >>6261:   ( 94 ) Indexing file list.jsp ... skipped
> >>6260:   ( 93 ) Indexing file include.jsp ... skipped
> >>6259:   ( 92 ) Indexing file detail_content.html ... o.k.
> >>6258:   ( 91 ) Indexing file detail.jsp ... skipped
> >>6257:   ( 90 ) Indexing file article_0004.html ... skipped
> >>6256:   ( 89 ) Indexing file article_0003.html ... skipped
> >>6255:   ( 88 ) Indexing file article_0002.html ... skipped
> >>6254:   ( 87 ) Indexing file article_0001.html ... skipped
> >>6253:   ( 86 ) Indexing file article.xsd ... o.k.
> >>6252:   Indexing folder /sites/default/xmlcontentdemo/
> >>6251:   ( 85 ) Indexing file widgetdemo_0001.html ... skipped
> >>6250:   ( 84 ) Indexing file list.jsp ... skipped
> >>6249:   Indexing folder /sites/default/xmlcontentdemo/widgetdemo/
> >>6248:   ( 83 ) Indexing file travel-expenses.html ... o.k.
> >>6247:   ( 82 ) Indexing file members.html ... o.k.
> >>6246:   ( 81 ) Indexing file fruit-flies.html ... o.k.
> >>6245:   Indexing folder
> >>/sites/default/xmlcontentdemo/widgetdemo/tables/
> >>6244:   ( 80 ) Indexing file solution-providers ... o.k.
> >>6243:   ( 79 ) Indexing file opencms.org ... o.k.
> >>6242:   ( 78 ) Indexing file opencms-faq ... o.k.
> >>6241:   Indexing folder
> >>/sites/default/xmlcontentdemo/widgetdemo/links-opencms/
> >>6240:   ( 77 ) Indexing file alkacon.com ... o.k.
> >>6239:   ( 76 ) Indexing file alkacon-services ... o.k.
> >>6238:   Indexing folder
> >>/sites/default/xmlcontentdemo/widgetdemo/links-alkacon/
> >>6237:   ( 75 ) Indexing file htmlsample2.txt ... o.k.
> >>6236:   ( 74 ) Indexing file htmlsample1.txt ... o.k.
> >>6235:   Indexing folder /sites/default/xmlcontentdemo/widgetdemo/html/
> >>6234:           at
> >>org.opencms.search.CmsIndexingThread.run(CmsIndexingThread.java:137)
> >>6233:           at
> >>org.opencms.search.documents.A_CmsVfsDocument.newInstance(A_Cm
> >>sVfsDocument.java:158)
> >>6232:           at
> >>org.opencms.search.documents.CmsDocumentRtf.extractContent(Cms
> >>DocumentRtf.java:78)
> >>6231:           at
> >>org.opencms.search.extractors.A_CmsTextExtractor.extractText(A
> >>_CmsTextExtractor.java:61)
> >>6230:           at
> >>org.opencms.search.extractors.CmsExtractorRtf.extractText(CmsE
> >>xtractorRtf.java:90)
> >>6229:           at
> >>javax.swing.text.StyledEditorKit.createDefaultDocument(StyledE
> >>ditorKit.java:86)
> >>6228:           at
> >>javax.swing.text.DefaultStyledDocument.<init>(DefaultStyledDoc
> >>ument.java:88)
> >>6227:           at
> >>javax.swing.text.StyleContext.<init>(StyleContext.java:68)
> >>6226:           at
> >>javax.swing.text.StyleContext.addStyle(StyleContext.java:88)
> >>6225:           at
> >>javax.swing.text.StyleContext$NamedStyle.<init>(StyleContext.j
> >>ava:1226)
> >>6224:           at
> >>javax.swing.text.StyleContext$NamedStyle.setName(StyleContext.
> >>java:1278)
> >>6223:           at
> >>javax.swing.text.StyleContext$NamedStyle.addAttribute(StyleCon
> >>text.java:1468)
> >>6222:           at
> >>javax.swing.text.StyleContext.addAttribute(StyleContext.java:276)
> >>6221:           at
> >>javax.swing.text.StyleContext.reclaim(StyleContext.java:419)
> >>6220:           at
> >>javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilitie
> >>s.java:1238)
> >>6219:           at
> >>java.awt.EventQueue.isDispatchThread(EventQueue.java:651)
> >>6218:           at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
> >>6217:           at
> >>java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
> >>6216:           at
> >>java.security.AccessController.doPrivileged(Native Method)
> >>6215:           at java.awt.Toolkit$2.run(Toolkit.java:748)
> >>6214:           at java.lang.Class.forName(Class.java:141)
> >>6213:           at java.lang.Class.forName0(Native Method)
> >>6212:   ( 73 ) Indexing file open_source_wikipedia.rtf ...
> >>java.lang.NoClassDefFoundError
> >>
> >>Thanks in advance
> 
> 
> _______________________________________________
> 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
>



More information about the opencms-dev mailing list