activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shamilds <shami...@gmail.com>
Subject Re: Enterprise application throws unknown protocol tcp exception
Date Thu, 09 Feb 2012 01:30:45 GMT
Hi guys, 

thank you very much for the replies. I manage to read activeMQ messages and
pass messages to activeMQ by following 
http://activemq.2283324.n4.nabble.com/Consume-Topic-messages-from-remote-MDB-ActiveMQ-5-5-1-Glassfish-3-1-1-tp4319980p4323048.html
http://activemq.2283324.n4.nabble.com/Consume-Topic-messages-from-remote-MDB-ActiveMQ-5-5-1-Glassfish-3-1-1-tp4319980p4323048.html

link.

Now i can read and pass messages to activeMQ using a ejb. But when i add my
ejb application to ear along with my web application, i cannot deploy the
whole ear as a one file. Im getting following error:

WARNING: Error in annotation processing: java.lang.NoClassDefFoundError:
org/springframework/beans/factory/BeanNameAware
SEVERE: Exception while deploying the app
java.lang.IllegalArgumentException: Referencing error: This bundle has no
bean of name [DocumentProductionExecutive]
        at
com.sun.enterprise.deployment.EjbBundleDescriptor.getEjbByName(EjbBundleDescriptor.java:279)
        at
com.sun.enterprise.deployment.EjbBundleDescriptor.getEjbByName(EjbBundleDescriptor.java:263)
        at
com.sun.enterprise.deployment.node.runtime.EjbNode.setElementValue(EjbNode.java:121)
        at
com.sun.enterprise.deployment.node.SaxParserHandler.endElement(SaxParserHandler.java:444)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
        at
com.sun.org.apache.xerces.internal.impl.dtd.XMLNSDTDValidator.endNamespaceScope(XMLNSDTDValidator.java:263)
        at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2028)
        at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:901)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)

but i can deploy my ejb application without any problems, when i add it to
the ear im getting this error. i also add the spring.jar file to my
classpath which contains
org.springframework.beans.factory.BeanNameAware.class but still the same
result.
anybody can help me with this?


--
View this message in context: http://activemq.2283324.n4.nabble.com/Enterprise-application-throws-unknown-protocol-tcp-exception-tp4355337p4371564.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message