I've fixed my problem bevor by recreating SM JBoss Deployer with a newer
Version of the Spring Framework (currently version 2.0.8) But still can't
access my EJB STLB. Here the deploy output from my SA : 
http://www.nabble.com/file/p16143531/DeployOutput.txt DeployOutput.txt 

Nobody here, who have tried to access an EJB from SM?

Greetings
/Steffen


steff aka sid wrote:
> 
> I've now integrated ServiceMix into JBoss and tryed to access an STLB via
> servicemix-jsr181 component, but I get following Exception:
> Offending resource: file
> [/media/linuxData/sid/progs/jboss-4.2.2.GA/server/servicemix/data/ServiceMix/service-assemblies/test-ejb-sa/version_2/sus/servicemix-jsr181/ejb-file-su/xbean.xml]
> Bean ''; nested exception is java.lang.ClassNotFoundException:
> org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean
> in classloader
> org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean
> 
> It seems as if the used Spring Class is not present. Is there any libary I
> need or is the used class replaced by another which should be used? I used
> following xbean configuration:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
>       xmlns:brockhaus="http://www.brockhaus-gruppe.de";>
>       
>       <jsr181:endpoint annotations="none" service="brockhaus:ejbCRM"
>               endpoint="ejb" serviceInterface="helloworld.Hello">
>               <jsr181:pojo>
>                       <bean
>                       
> class="org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean">
>                               <property name="jndiName" 
> value="HelloBean/remote" />
>                               <property name="businessInterface"
>                                       value="helloworld.Hello" />
>                               <property name="jndiTemplate" 
> ref="jndiTemplate" />
>                       </bean>
>               </jsr181:pojo>
>       </jsr181:endpoint>
> </beans>
> 
> 
> steff aka sid wrote:
>> 
>> Hello,
>> I'am want to publish a EJB3.0 application via servicemix-http component.
>> But don't know if it is possible. Is there a way to access EJB3.0
>> components which are running in a standalone app server (ServiceMix not
>> deployed in) or must I integrate Servicemix into the app server (JBoss)
>> to access the beans?
>> 
>> Another way could be to create a pojo class (using servicemix-jsr181) to
>> access the bean?! What is the best way to solve that.
>> 
>> Regards
>> /Steffen
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Standalone-ESB%2C-APP-Server-and-EJB3.0-tp16048161s12049p16143531.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to