You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Avin <av...@yahoo.com> on 2006/07/01 03:03:48 UTC
Unable to resolve reference
I deployed the sample-main.xml in the following manner
java -jar deployer.jar --user system --password manager deploy
sample-main.xml
%WASCE_HOME%\repository\activemq\rars\activemq-ra-3.2.2.ibm
.rar
I see the queues and the topics in the Admin console. However when I
try to deploy the jars messaging-ejb-SNAPSHOT.jar and
messaging-ejb.war
I get an error saying
Unable to resolve resource reference 'jms/broker1' (found multiple
references)
matching resources)
What is the thing I am doing wrong here ?
I have also uploaded the zip file to build the application at
mdb.zip
http://briefcase.yahoo.com/bc/avin98/lst?.dir=/CodeContent&.order=&.view=l&.src=bc&.done=http%3a//briefcase.yahoo.com/
Black is the ultimate colour
Darkness is the only end
Evil is the right reaction
Death is the only mercy...
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
Re: Unable to resolve reference
Posted by Avin <av...@yahoo.com>.
I deployed the sample-main.xml in the following manner
java -jar deployer.jar --user system --password manager deploy
sample-main.xml
%WASCE_HOME%\repository\activemq\rars\activemq-ra-3.2.2.ibm
.rar
I see the queues and the topics in the Admin console. However when I
try to deploy the jars messaging-ejb-SNAPSHOT.jar and
messaging-ejb.war
I get an error saying
Unable to resolve resource reference 'jms/broker1' (found multiple
references)
matching resources)
What is the thing I am doing wrong here ?
I have also uploaded the zip file to build the application at
mdb.zip
http://briefcase.yahoo.com/bc/avin98/lst?.dir=/CodeContent&.order=&.view=l&.src=bc&.done=http%3a//briefcase.yahoo.com/
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
TEST JMS RA
tcp://localhost:61616
not needed
not needed
DefaultWorkManager
javax.jms.ConnectionFactory
DefaultActiveMQConnectionFactory
javax.jms.QueueConnectionFactory
javax.jms.TopicConnectionFactory
10
5000
javax.jms.Queue
org.codehaus.activemq.message.ActiveMQQueue
TESTJMS1-QUEUE
TESTJMS1-QUEUE
javax.jms.Queue
org.codehaus.activemq.message.ActiveMQQueue
TESTJMS2-QUEUE
TESTJMS2-QUEUE
javax.jms.Topic
org.codehaus.activemq.message.ActiveMQTopic
TESTJMS-TOPIC
TESTJMS-TOPIC
MDB
This bean represents customer
CustomerEJB
com.ibm.demo.entity.bmp.CustomerHomeRemote
com.ibm.demo.entity.bmp.CustomerRemote
com.ibm.demo.entity.bmp.CustomerBean
Bean
java.lang.Integer
false
primaryKey
DataSource for Demo Database
jdbc/ibm-demo
javax.sql.DataSource
Container
SampleMDB
SampleMDB
com.ibm.demo.mdb.ejb.SampleMDB
javax.jms.MessageListener
Container
javax.jms.Queue
TESTJMS1-QUEUE
CustomerHomeRemote
Entity
com.ibm.demo.entity.bmp.CustomerHomeRemote
com.ibm.demo.entity.bmp.CustomerRemote
xmlns="http://www.openejb.org/xml/ns/openejb-jar"
xmlns:naming="http://geronimo.apache.org/xml/ns/naming"
xmlns:security="http://geronimo.apache.org/xml/ns/security"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment"
configId="MDBDemo" parentId="org/apache/geronimo/TestJMSPlan">
SampleMDB
TEST JMS RA
destination
TESTJMS1-QUEUE
destinationType
javax.jms.Queue
CustomerHomeRemote
CustomerEJB
CustomerEJB
CustomerHomeRemote
jdbc/ibm-demo
SystemDatasource
xmlns:naming="http://geronimo.apache.org/xml/ns/naming"
configId="MDBDemoWebApp"
parentId="MDBDemo">
messaging-ejb
ejb/CustomerHome
geronimo.server:EJBModule=MDBDemo,J2EEApplication=null,J2EEServer=geronimo,j2eeType=EntityBean,name=CustomerEJB
jms/broker1
DefaultActiveMQConnectionFactory
jms/queue/DefQueue
TESTJMS1-QUEUE
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
Gluecode Standard Edition JMS demo
publisher
publisher
com.ibm.demo.mdb.servlet.PublisherServlet
1
publisher
/publish
ejb/CustomerHome
Entity
com.ibm.demo.entity.bmp.CustomerHomeRemote
com.ibm.demo.entity.bmp.CustomerRemote
jms broker
jms/broker1
javax.jms.QueueConnectionFactory
Container
Predefined Topic
jms/queue/DefQueue
javax.jms.Queue
list.jsp
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com