[MAGNOLIA-1053] Magnolia on headless servers Created: 14/Sep/06 Updated: 23/Jan/13 Resolved: 21/Nov/06 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 3.0 RC2 |
| Fix Version/s: | 3.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Anthony Ogier | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
RedHat (RHEL 4.3), with Tomcat 5.0 and Java 1.4.2_12 (latest 1.4.2 release) |
||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
Look at http://webmail.magnolia.info/Lists/dev-list/Message/7149.html for the last mail about that problem. I'm trying to boot-strap a fresh generated magnoliaAuthor.war (with "maven install", based on rc2 release). Here is the short stack trace to emphasis some problems : And the <SearchIndex> paragraph for my xml files : |
| Comments |
| Comment by Anthony Ogier [ 17/Nov/06 ] |
|
I come back two months later to say that we "partially" solved that bug. <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> I've searched the org.apache.jackrabbit.core.query.RTFTextFilter class (in jackrabbit-index-filters-1.0.1-sources.jar) to know why that strange InvocationTargetException appears. |
| Comment by Philipp Bracher [ 17/Nov/06 ] |
|
the package javax.swing is an GUI package not loaded on some unix systems in case you don't have a GUI to use. We had the same problem with some image manipulation code using awt classes. I mark this as resolved. Thanks for pointing it out. |
| Comment by Magnolia International [ 17/Nov/06 ] |
|
Anthony, could you please try the following, if you still have your server around, and a couple of minutes:
For all I know, it should help |
| Comment by Anthony Ogier [ 17/Nov/06 ] |
|
Okay, I'll try this out and feed back my results ! |
| Comment by David Smith [ 18/Nov/06 ] |
|
I had this exact issue on a test install. Added -Djava.awt.headless=true fixed it and allowed magnolia to bootstrap normally. Funny enough the system experiencing the issue on was running X, so it must be something in the way jsvc (commons-daemon project) starts tomcat that makes the X environmnet unavailable. |
| Comment by Magnolia International [ 20/Nov/06 ] |
|
Subject was: Solution: Thanks all for reporting/testing. |
| Comment by Anthony Ogier [ 20/Nov/06 ] |
|
Okay, solution seems to work here too. |
| Comment by Magnolia International [ 20/Nov/06 ] |
|
I'll actually reopen this - I think we should make this setting a default in our bundled tomcats, too many people have this hard-to-report problem (since the exceptions thrown by underlying systems are pretty obscure) |
| Comment by Magnolia International [ 21/Nov/06 ] |
|
Added |