[EJB 3.0] - JNDI Problems by deploying an EJB 3 stateless session bean
by gaeoepag
Hello!
If I'm deploying a stateless session bean it works fine at first,
there is no problem during the deployment.
But I cannot access it!!
If I'm looking on the JNDIView using the JMX Console so I have the following:
+- testejb301-0.1 (class: org.jnp.interfaces.NamingContext)
| +- UsersDao (class: org.jnp.interfaces.NamingContext)
| | +- local (proxy: $Proxy70 implements No ClassLoaders found for: at.own.ejb3.test.UsersDao (no security manager: RMI class loader disabled))
| +- UsersServiceBean (class: org.jnp.interfaces.NamingContext)
| | +- remote (proxy: $Proxy72 implements No ClassLoaders found for: at.own.ejb3.test.UsersServiceRemote (no security manager: RMI class loader disabled))
I've newer experienced such a problem with ejbs on jboss yet!!
This java code is still working:
Object ref = jndiContext.lookup("testejb301-0.1/UsersServiceBean");
but the following not:
PortableRemoteObject.narrow(ref,UsersServiceRemote.class);
Does it have anybody know any reason to this problem??
I've downloaded and installes the newest jboss server with the EJB 3.0 container.
Thanks and Regards,
Andru
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970036#3970036
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970036
19 years, 7 months
[JBossWS] - Re: wscomple--> generate wsdl for all simpletype minOccurs=0
by jelda
Hi,
Sorry here it is again. Can not edit my first post...
How to generate also minOcccurs=0 for all simple/complex types in wsdl.?
I am using wscompile to generate wsdl from java in our environment.
I am severely facing problems in keeping compatible with my old versions of applicaitons. Because
lets say, I have a complext type as follows generated by wscompile
<complexType name="Address">
| <sequence>
| <element name="alive" type="boolean"/>
| <element name="name" nillable="true" type="string"/>
| <element name="street" type="string"/>
| <element name="zip" type="int"/>
| </sequence>
| </complexType>
all simple types are generated with nillible true. Thats absolutely fine. But what about minOccurs=0. How can I generate them?
If in future, ever want to remove that simple type. I could not.Becuase older clients are not compatible with newer appication.
Please help me out in this regards,
Regards,
Jelda
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970035#3970035
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970035
19 years, 7 months