You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Manu George <ma...@gmail.com> on 2008/12/05 12:04:07 UTC

Re: WARN [startup] Unresolved ejb reference "OutboundMessageHandlerService" in bean "OutboundMessageListenerServiceImpl"?!?!

Hi,
       The ejb-link in openejb-jar.xml points to
OutboundMessageHandlerServiceImpl.For this to be resolved there should
be an ejb with the same name defined in openejb-jar.xml or
ejb-jar.xml.

Regards
Manu

On Fri, Dec 5, 2008 at 2:05 PM, sebbay <se...@elaxy.de> wrote:
>
> Hello,
>
> I'm new to geronimo and I have the following problem:
>
> I have an ear-file with two ejb jar's. the application gets successfully
> deployed, but not successfully started. In my server.out logfile I find the
> following entry:
>
>
> WARN  [startup] Unresolved ejb reference "OutboundMessageHandlerService" in
> bean "OutboundMessageListenerServiceImpl"
>
> In my ejb-jar.xml of the jar-file where the
> OutboundMessageListenerServiceImpl-class is in, I have the following entry:
>
>  <enterprise-beans>
>    <message-driven id="OutboundMessageListenerServiceImplID">
>      <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
>      <ejb-class>com.test.OutboundMessageListenerServiceImpl</ejb-class>
>      <messaging-type>javax.jms.MessageListener</messaging-type>
>      <transaction-type>Bean</transaction-type>
>      <ejb-local-ref id="OutboundMessageListenerServiceImplRefID">
>        <ejb-ref-name>OutboundMessageHandlerService</ejb-ref-name>
>        <ejb-ref-type>Session</ejb-ref-type>
>        <local-home></local-home>
>        <local>com.test.OutboundMessageHandlerService</local>
>      </ejb-local-ref>
>    </message-driven>
>  </enterprise-beans>
>
> My openejb-jar.xml consists the following entry:
>
>     <message-driven>
>        <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
>        <resource-adapter>
>            <resource-link>ebox2.mq.resource.adapter</resource-link>
>        </resource-adapter>
>        <ejb-ref>
>                <ref-name>OutboundMessageHandlerService</ref-name>
>                <ejb-link>OutboundMessageHandlerServiceImpl</ejb-link>
>              </ejb-ref>
>    </message-driven>
>
>
> Can somebody tell me, what is missing in the files?
>
> sebbay
>
> --
> View this message in context: http://www.nabble.com/WARN---startup--Unresolved-ejb-reference-%22OutboundMessageHandlerService%22-in-bean-%22OutboundMessageListenerServiceImpl%22-%21-%21-tp20849699s134p20849699.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Re: WARN [startup] Unresolved ejb reference "OutboundMessageHandlerService" in bean "OutboundMessageListenerServiceImpl"?!?!

Posted by sebbay <se...@elaxy.de>.
Hi,

I found a solution for my problem. In my ejb-jar.xml I removed the following
entry:

<local-home></local-home> 

and in the ejb-jar.xml of the other jar, where OutboundMessageHandlerService
is in, I added the following lines:

    <session id="OutboundMessageHandlerService">
    	<ejb-name>OutboundMessageHandlerService</ejb-name>
    	<ejb-class>com.test.OutboundMessageHandlerServiceImpl</ejb-class>
    </session>

After redeployment and starting, the was no longer a warning in my logfile.

sebbay


sebbay wrote:
> 
> I changed my openejb-jar.xml as followed:
> 
>     <message-driven>
>         <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
>         <resource-adapter>
>             <resource-link>ebox2.mq.resource.adapter</resource-link>
>         </resource-adapter>
>         <ejb-ref>
> 	        <ref-name>OutboundMessageListenerServiceImpl</ref-name>
> 	        <ejb-link>OutboundMessageListenerServiceImpl</ejb-link>
> 	      </ejb-ref>      
>     </message-driven>
> 
> I still get the same error/warn:
> 
> Unresolved ejb reference "OutboundMessageHandlerService" in bean
> "OutboundMessageListenerServiceImpl".  Will attempt resolution again at
> runtime.
> 
> The EJB OutboundMessageHandlerService is in another jar-File, what's the
> reason for the following entry in ejb-jar.xml:
> 
> <ejb-local-ref id="OutboundMessageListenerServiceImplRefID">
> ...
> 
> In my ejb-jar.xml of the other jar, this ejb is not separatly declared.
> Could this be the reason for my problem?
> 
> 
> manucet wrote:
>> 
>> Hi,
>>        The ejb-link in openejb-jar.xml points to
>> OutboundMessageHandlerServiceImpl.For this to be resolved there should
>> be an ejb with the same name defined in openejb-jar.xml or
>> ejb-jar.xml.
>> 
>> Regards
>> Manu
>> 
>> On Fri, Dec 5, 2008 at 2:05 PM, sebbay <se...@elaxy.de>
>> wrote:
>>>
>>> Hello,
>>>
>>> I'm new to geronimo and I have the following problem:
>>>
>>> I have an ear-file with two ejb jar's. the application gets successfully
>>> deployed, but not successfully started. In my server.out logfile I find
>>> the
>>> following entry:
>>>
>>>
>>> WARN  [startup] Unresolved ejb reference "OutboundMessageHandlerService"
>>> in
>>> bean "OutboundMessageListenerServiceImpl"
>>>
>>> In my ejb-jar.xml of the jar-file where the
>>> OutboundMessageListenerServiceImpl-class is in, I have the following
>>> entry:
>>>
>>>  <enterprise-beans>
>>>    <message-driven id="OutboundMessageListenerServiceImplID">
>>>      <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
>>>      <ejb-class>com.test.OutboundMessageListenerServiceImpl</ejb-class>
>>>      <messaging-type>javax.jms.MessageListener</messaging-type>
>>>      <transaction-type>Bean</transaction-type>
>>>      <ejb-local-ref id="OutboundMessageListenerServiceImplRefID">
>>>        <ejb-ref-name>OutboundMessageHandlerService</ejb-ref-name>
>>>        <ejb-ref-type>Session</ejb-ref-type>
>>>        <local-home></local-home>
>>>        <local>com.test.OutboundMessageHandlerService</local>
>>>      </ejb-local-ref>
>>>    </message-driven>
>>>  </enterprise-beans>
>>>
>>> My openejb-jar.xml consists the following entry:
>>>
>>>     <message-driven>
>>>        <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
>>>        <resource-adapter>
>>>            <resource-link>ebox2.mq.resource.adapter</resource-link>
>>>        </resource-adapter>
>>>        <ejb-ref>
>>>                <ref-name>OutboundMessageHandlerService</ref-name>
>>>                <ejb-link>OutboundMessageHandlerServiceImpl</ejb-link>
>>>              </ejb-ref>
>>>    </message-driven>
>>>
>>>
>>> Can somebody tell me, what is missing in the files?
>>>
>>> sebbay
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/WARN---startup--Unresolved-ejb-reference-%22OutboundMessageHandlerService%22-in-bean-%22OutboundMessageListenerServiceImpl%22-%21-%21-tp20849699s134p20849699.html
>>> Sent from the Apache Geronimo - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/WARN---startup--Unresolved-ejb-reference-%22OutboundMessageHandlerService%22-in-bean-%22OutboundMessageListenerServiceImpl%22-%21-%21-tp20849699s134p20855088.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: WARN [startup] Unresolved ejb reference "OutboundMessageHandlerService" in bean "OutboundMessageListenerServiceImpl"?!?!

Posted by sebbay <se...@elaxy.de>.
I changed my openejb-jar.xml as followed:

    <message-driven>
        <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
        <resource-adapter>
            <resource-link>ebox2.mq.resource.adapter</resource-link>
        </resource-adapter>
        <ejb-ref>
	        <ref-name>OutboundMessageListenerServiceImpl</ref-name>
	        <ejb-link>OutboundMessageListenerServiceImpl</ejb-link>
	      </ejb-ref>      
    </message-driven>

I still get the same error/warn:

Unresolved ejb reference "OutboundMessageHandlerService" in bean
"OutboundMessageListenerServiceImpl".  Will attempt resolution again at
runtime.

The EJB OutboundMessageHandlerService is in another jar-File, what's the
reason for the following entry in ejb-jar.xml:

<ejb-local-ref id="OutboundMessageListenerServiceImplRefID">
...

In my ejb-jar.xml of the other jar, this ejb is not separatly declared.
Could this be the reason for my problem?


manucet wrote:
> 
> Hi,
>        The ejb-link in openejb-jar.xml points to
> OutboundMessageHandlerServiceImpl.For this to be resolved there should
> be an ejb with the same name defined in openejb-jar.xml or
> ejb-jar.xml.
> 
> Regards
> Manu
> 
> On Fri, Dec 5, 2008 at 2:05 PM, sebbay <se...@elaxy.de>
> wrote:
>>
>> Hello,
>>
>> I'm new to geronimo and I have the following problem:
>>
>> I have an ear-file with two ejb jar's. the application gets successfully
>> deployed, but not successfully started. In my server.out logfile I find
>> the
>> following entry:
>>
>>
>> WARN  [startup] Unresolved ejb reference "OutboundMessageHandlerService"
>> in
>> bean "OutboundMessageListenerServiceImpl"
>>
>> In my ejb-jar.xml of the jar-file where the
>> OutboundMessageListenerServiceImpl-class is in, I have the following
>> entry:
>>
>>  <enterprise-beans>
>>    <message-driven id="OutboundMessageListenerServiceImplID">
>>      <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
>>      <ejb-class>com.test.OutboundMessageListenerServiceImpl</ejb-class>
>>      <messaging-type>javax.jms.MessageListener</messaging-type>
>>      <transaction-type>Bean</transaction-type>
>>      <ejb-local-ref id="OutboundMessageListenerServiceImplRefID">
>>        <ejb-ref-name>OutboundMessageHandlerService</ejb-ref-name>
>>        <ejb-ref-type>Session</ejb-ref-type>
>>        <local-home></local-home>
>>        <local>com.test.OutboundMessageHandlerService</local>
>>      </ejb-local-ref>
>>    </message-driven>
>>  </enterprise-beans>
>>
>> My openejb-jar.xml consists the following entry:
>>
>>     <message-driven>
>>        <ejb-name>OutboundMessageListenerServiceImpl</ejb-name>
>>        <resource-adapter>
>>            <resource-link>ebox2.mq.resource.adapter</resource-link>
>>        </resource-adapter>
>>        <ejb-ref>
>>                <ref-name>OutboundMessageHandlerService</ref-name>
>>                <ejb-link>OutboundMessageHandlerServiceImpl</ejb-link>
>>              </ejb-ref>
>>    </message-driven>
>>
>>
>> Can somebody tell me, what is missing in the files?
>>
>> sebbay
>>
>> --
>> View this message in context:
>> http://www.nabble.com/WARN---startup--Unresolved-ejb-reference-%22OutboundMessageHandlerService%22-in-bean-%22OutboundMessageListenerServiceImpl%22-%21-%21-tp20849699s134p20849699.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/WARN---startup--Unresolved-ejb-reference-%22OutboundMessageHandlerService%22-in-bean-%22OutboundMessageListenerServiceImpl%22-%21-%21-tp20849699s134p20852911.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.