[MAGNOLIA-4486] fails to launch with tomcat bundle and unresolvable hostname Created: 20/Jul/12 Updated: 11/Oct/13 Resolved: 23/Jul/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.5.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | David | Assignee: | Unassigned |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
centos 6, oracle java 7 running inside virtualbox |
||
| Attachments: |
|
||||||||||||||||
| 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 |
|
launch it via ./magnolia_control.sh start |
| Comments |
| Comment by David [ 20/Jul/12 ] |
|
being unable to resolve it's own hostname, that's most likely causing the null pointer exception. $ ping mango-centos then i made a host alias in /etc/hosts, so it points to 127.0.0.1 $ ping mango-centos then it started up just fine. |
| Comment by Ondrej Chytil [ 23/Jul/12 ] |
|
Javadoc of info.magnolia.init.DefaultMagnoliaInitPaths.getServerName() says:
so you can either fix your configuration as you already did or add the mentioned optional parameter. |