[JBoss Messaging] - Re: Queue configuration for application or for JBoss?
by mskonda
1.create a *-destination-service.xml file and deploy it under deploy directory with the followign example contents:
| <server>
| <loader-repository>
| jboss.messaging:loader=ScopedLoaderRepository
| <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
| </loader-repository>
|
| <!-- submit topic -->
| <mbean code="org.jboss.jms.server.destination.TopicService"
| name="jboss.messaging.destination:service=Topic,name=myTopic"
| xmbean-dd="xmdesc/Topic-xmbean.xml">
| <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
| <depends>jboss.messaging:service=PostOffice</depends>
| </mbean>
| </server>
|
| NOTE: if you want to deploy (or hot deploy) your destinations in deploy directory rather than deploy/jboss-messaging.sar directory, add the above scoping attribute <loader-repository>..</loader-repository>
|
| 2. AFAIK, they are available for all applications, however, you can secure them. Team may give you an appropriate answer regarding this,
|
| 3. Yes, you need to have a database for JMS persistence - default database that is bundled with JBoss and JBM is hypersonic which MUST be thrown away in non-dev environments. It's qutie easy to setup (replace Hypersonic). Remove hypersonic-persistence.xml and add one that suits you. Look for examples/config/*persistence.xml for few configs
|
| Thanks
| MAdhu
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030262#4030262
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030262
19Â years, 1Â month
[JBoss Portal] - Deploying MyFaces 1.1.5 portlet to JBossPortal2.4.1
by kevs3d
Hi,
I'm attempting to deploy a MyFaces 1.1.5 based portlet to JBossPortal2.4.1 (bundled with JBossAS) - i'm getting a long stream of exception from MyFaces, on the lines of:
| 11:36:33,909 ERROR [FacesConfigurator] failed to configure class org.apache.myfaces.renderkit.html.ext.HtmlRadioRenderer
| java.lang.ClassCastException: org.apache.myfaces.renderkit.html.ext.HtmlRadioRenderer
| at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:754)
| at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:149)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.initMyFaces(MyFacesGenericPortlet.java:210)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.init(MyFacesGenericPortlet.java:128)
| at javax.portlet.GenericPortlet.init(GenericPortlet.java:270)
| at org.jboss.portal.portlet.container.PortletContainer.initPortlet(PortletContainer.java:387)
|
an exception for each MyFaces component.
I've tried "upgrading" the portal to MyFaces 1.1.5 (by simply overwriting the myfaces api/impl Jar in the tomcat.sar jsflibs folder with the newer ones). but it doesn't seem to help.
Any ideas on how to solve this - does my application need to be compiled against MyFaces 1.1.4 - the same version as in the original bundled tomcat jsflibs?
Thanks,
Kevin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030258#4030258
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030258
19Â years, 1Â month