For the record, I've tried
Code:
<jee:local-slsb id="securityServiceEjb"
jndi-name="schlange-security/SecurityServiceEjb/local"
business-interface="org.schlange.security.server.SecurityService"
cache-home="true" lookup-home-on-startup="false" resource-ref="true" />
and
Code:
<jee:jndi-lookup
id="securityServiceEjb"
cache="false"
resource-ref="true"
lookup-on-startup="false"
jndi-name="schlange-security/SecurityServiceEjb/local"
expected-type="org.schlange.security.server.service.SecurityServiceEjb"
proxy-interface="org.schlange.security.server.SecurityService">
<jee:environment>
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://localhost:1099
</jee:environment>
</jee:jndi-lookup>
... but the result stills the same!
Code:
org.springframework.aop.AopInvocationException: AOP configuration seems to be invalid: tried calling method [public abstract org.schlange.security.server.data.TlfUser org.schlange.security.server.SecurityService.login(org.schlange.security.server.util.SecureCipher,org.schlange.security.server.util.SecureCipher) throws org.schlange.security.server.exception.LoginException,org.schlange.foundation.common.SystemException] on target [SecurityServiceEjb]; nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring class
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:326)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
$Proxy75.login(Unknown Source)
Code:
java.lang.IllegalArgumentException: object is not an instance of declaring class
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
$Proxy75.login(Unknown Source)