JBoss Community

Re: JBoss 6 + Snowdrop2 + Red5

created by Scott Kroll in Snowdrop - View the full discussion

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

Start a new discussion in Snowdrop at Community