[jboss-user] [JNDI and Naming] - how to do a binding for jms from web.xml to jboss for IBM MQ

shirish maurya do-not-reply at jboss.com
Fri May 31 09:03:11 EDT 2013


shirish maurya [https://community.jboss.org/people/shirishmaurya] created the discussion

"how to do a binding for jms from web.xml to jboss for IBM MQ"

To view the discussion, visit: https://community.jboss.org/message/820675#820675

--------------------------------------------------------------
we are getting following error on startup 

startup failed due to previous errors
java.lang.RuntimeException: mapped-name is required for jms/starof deployment xyz.war
        at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceEnvRefs(WebResourceHandler.java:287)
        at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:325)
        at org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:537)
        at org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4272)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:321)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


any idea how to fix this  is content in web.xml

<resource-env-ref id="ResourceEnvRef_THOMWEBSENQ">
                <description>Queue Name</description>
                <resource-env-ref-name>java:jms/star</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
        </resource-env-ref>
--------------------------------------------------------------

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

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130531/44f93eeb/attachment.html 


More information about the jboss-user mailing list