[MAGNOLIA-958] Magnolia 3.0 RC2 does not deploy properly on Resin 3 Created: 27/Jun/06  Updated: 23/Jan/13  Resolved: 29/Nov/06

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 3.0 RC2
Fix Version/s: 3.0.1

Type: Bug Priority: Critical
Reporter: Andrew Sterling Hanenkamp Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux snape 2.6.15-gentoo-r1 #1 SMP Tue Feb 28 03:09:05 CST 2006 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux


Attachments: Text File resin-stacktrace.txt    
Issue Links:
dependency
depends upon MAGNOLIA-1233 RootPath not correctly initialized un... Closed
depends upon MAGNOLIA-1226 ClasspathResourcesUtil errors on star... Closed
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   

If you try to deploy Magnolia 3 on Resin, the deployment will fail:

[20:01:53.201] com.caucho.config.LineConfigException: WEB-INF/web.xml:211: 'description' is an unknown property of 'com.caucho.server.webapp.Listener'.

Resin does not launch a context that has <description> or <display-name> defined for a <listener> in the deployment descriptor file.

However, once removed, I still cannot Magnolia to fully deploy. I get several other exceptions:

ERROR info.magnolia.cms.beans.config.ModuleLoader ModuleLoader.java(load:179) 27.06.2006 20:01:51 can't initialize module /modules/templating
java.lang.ClassNotFoundException:

ERROR info.magnolia.cms.beans.config.ModuleLoader ModuleLoader.java(load:179) 27.06.2006 20:01:51 can't initialize module /modules/workflow
info.magnolia.cms.module.InitializationException: can't initialize module [null]

Anyway, we were just giving Resin a shot to see if it would work and it doesn't appear to work without some modifications.



 Comments   
Comment by Fabrizio Giustina [ 14/Aug/06 ]

some improvements: now magnolia deploys properly but:

  • the default page is not loaded
  • submitting the login form results in a "405 POST not supported" error
Comment by Magnolia International [ 25/Oct/06 ]

Just for the records, here's what I get with an rc4 snapshot - with only an author instance.
(There seems to be a jndi issue, and it does not deploy)

Comment by Magnolia International [ 28/Nov/06 ]

The jndi issue I had seems related to MAGNOLIA-1233. Currently checking if there are more issues with Resin once this is fixed.

Comment by Magnolia International [ 28/Nov/06 ]

Now that MAGNOLIA-1226 and MAGNOLIA-1233 are fixed, it seems to work for me.
I'm guessing the problems Fabrizio reported back in August are outdated. Could anyone give this a shot ?

Comment by Magnolia International [ 29/Nov/06 ]

Commented out magnolia.initialization.file from web.xml, since Resin does its own variable substitution there - improved related log message.

Tested succesfully with Resin-3.0.21.

See MAGNOLIA-1234 for another unrelated resin issue.

Generated at Mon Feb 12 03:22:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.