Scott Kroll [http://community.jboss.org/people/skroll] created the discussion

"Re: JBoss 6 + Snowdrop2 + Red5"

To view the discussion, visit: http://community.jboss.org/message/616708#616708

--------------------------------------------------------------
I downloaded your ear, and I had some problem with deployments, as it seemed 
like it did not register the context first. I found a solution though that 
makes it so you are guaranteed to have default.context available before any 
WARs deployed.

I created a jar called red5-context.jar in /lib and simply put the following 
files from red5.war/WEB-INF/classes:
beanRefContext.xml
defaultContext.xml
red5-common.xml
red5-core.xml

The beanRefContext.xml in the red5-context.jar I removed the root-web.xml, 
vod-web.xml and installer-web.xml. This causes the default.context bean to be 
instantiated before the first war deploys.

In the red5.war/WEB-INF/classes/beanRefContext.xml I removed the 
defaultContext.xml, red5-common.xml, red5-core.xml entries and deleted those 
files.

Now the default.context is available at startup with no problems.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/616708#616708]

Start a new discussion in Snowdrop at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to