Hi,

i'm using the spring-2.0.7 on both, server and client. This was the 
version, shipped with sculptor-framework for some weeks.

regards

Patrik Nordwall schrieb:
> Yes, that problem have I seen before :-)
> Strange, I thought that when I changed to spring 2.5.5 (now 2.5.6) this was
> solved. I have to test again. Can you double check which version of spring
> you are running in the client.
> 
> /Patrik
> 
> 
> Steffen Stundzig wrote:
>> Hi,
>>
>> I've tried it, but it doesnt work. Then I've looked into the spring 
>> forum and found at least 50.000 posts (:-)) which describes this problem.
>>
>> My solution is:
>>
>> - service-remote-all.xml:
>>    <!-- replacement for the SimpleStatelessSessionBeanFactory -->
>>    <bean id="ejbProxy" 
>> class="org.springframework.jndi.JndiObjectFactoryBean" abstract="true">
>>      <property name="cache" value="true"/>
>>      <property name="lookupOnStartup" value="true"/>
>>      <property name="jndiTemplate" ref="jndiTemplate"/>
>>    </bean>
>>
>> - and in the service-remote-XXX.xml
>>   <bean id="personServiceForPersonRepository" parent="ejbProxy">
>>      <property name="jndiName" 
>> value="${jndiPrefix}/PersonServiceBean/remote"/>
>>      <!-- proxyInterface instead of businessInterface -->
>>      <property name="proxyInterface" 
>> value="de.itemis.XXX.person.serviceapi.PersonService"/>
>>    </bean>
>>
>>
>> and it works great. For ejb3, we should go this way. At serverside the 
>> ejbCreate is called and spring is setup correctly. But we don't need and 
>> don't have a HomeInterface.
>>
>> regards
>>     Steffen...
>>
>>
>> Patrik Nordwall schrieb:
>>> I have mostly been testing with helloworld sample, checked in to svn, and
>>> it
>>> works fine.
>>>
>>> Anything else in the server log?
>>>
>>> /Patrik
>>>
>>>
>>> Steffen Stundzig wrote:
>>>> Hi,
>>>>
>>>> I've generated ear and rcp frontend with the current 1.5.0-SNAPSHOT. The 
>>>> backend is deployed on jboss4.2.2.
>>>>
>>>> But now on initializing spring in the frontend, I got the following 
>>>> exception:
>>>>
>>>>
>>>> Caused by: org.springframework.ejb.access.EjbAccessException: EJB home 
>>>> [jboss.j2ee:ear=backend.ear,jar=backend-1.0.0-SNAPSHOT.jar,name=MyServiceBean,service=EJB3]
>>>>  
>>>> has no no-arg create() method
>>>>      at 
>>>> org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.getCreateMethod(AbstractSlsbInvokerInterceptor.java:124)
>>>>      at 
>>>> org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.refreshHome(AbstractSlsbInvokerInterceptor.java:107)
>>>>      at 
>>>> org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.afterPropertiesSet(AbstractSlsbInvokerInterceptor.java:91)
>>>>      at 
>>>> org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean.afterPropertiesSet(SimpleRemoteStatelessSessionProxyFactoryBean.java:97)
>>>>      at 
>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198)
>>>>      at 
>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)
>>>>      ... 163 more
>>>>
>>>>
>>>> MyServiceBean extends the default AbstractServiceBean from 
>>>> sculptor-framework which has a method ejbCreate().
>>>>
>>>>
>>>> Does anybody has an idea on how to fix it?
>>>>
>>>> Regards
>>>>     Steffen...
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Fornax-developer mailing list
>>>> Fornax-developer@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>>>
>>>>
>> -- 
>> Steffen Stundzig
>>
>> Telefon: +49 (0) 341 / 231-0183-401
>> Telefax: +49 (0) 341 / 231-0183-411
>> Mobil:   +49 (0) 151 / 173-9673-1 (!neu)
>>
>> http://itemis.de
>> [EMAIL PROTECTED]
>> https://www.xing.com/profile/Steffen_Stundzig
>>
>> itemis AG
>> Ludwig-Erhard-Straße 51
>> 04103 Leipzig
>>
>> Rechtlicher Hinweis:
>>
>> Amtsgericht Dortmund, HRB 20621
>>
>> Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
>>
>> Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael Neuhaus
>>
>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>> Nevada.
>> The future of the web can't happen without you.  Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> Fornax-developer mailing list
>> Fornax-developer@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>
>>
> 

-- 
Steffen Stundzig

Telefon: +49 (0) 341 / 231-0183-401
Telefax: +49 (0) 341 / 231-0183-411
Mobil:   +49 (0) 151 / 173-9673-1 (!neu)

http://itemis.de
[EMAIL PROTECTED]
https://www.xing.com/profile/Steffen_Stundzig

itemis AG
Ludwig-Erhard-Straße 51
04103 Leipzig

Rechtlicher Hinweis:

Amtsgericht Dortmund, HRB 20621

Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek

Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael Neuhaus


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to