[jboss-user] [EJB 3.0] - Error working wih EJB3, Struts2 & JBoss 4.2GA
NAG Kum
do-not-reply at jboss.com
Wed Apr 21 09:59:55 EDT 2010
NAG Kum [http://community.jboss.org/people/nk_2010] replied to the discussion
"Error working wih EJB3, Struts2 & JBoss 4.2GA"
To view the discussion, visit: http://community.jboss.org/message/538739#538739
--------------------------------------------------------------
Hi,
Its most unfortunate, making me to learn more than getting solution (every time new error:)) HMMMMMMMMMMMMMMM....)
My .ear contains all EJB3 bean jar files and .war which contains classed pertaining to each EJB.
I mean every class file is available twice.. Pls find
*ejb-jar*
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
version="3.0">
<description>AuthenticationBean</description>
<display-name>AuthenticationBean</display-name>
<enterprise-beans>
<session>
<ejb-name>AuthenticationBean</ejb-name>
<home>com.tarangtech.mtg.authentication.ejb.AuthenticationHome</home>
<remote>com.tarangtech.mtg.authentication.ejb.AuthenticationRemote</remote>
<local-home>com.tarangtech.mtg.authentication.ejb.AuthenticationLocalHome</local-home>
<local>com.tarangtech.mtg.authentication.ejb.AuthenticationLocal</local>
<ejb-class>com.tarangtech.mtg.authentication.ejb.AuthenticationBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
*jboss*
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" " http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<jboss>
<enterprise-beans>
<session>
<ejb-name>AuthenticationBean</ejb-name>
<ejb-ref>
<ejb-ref-name>com.tarangtech.mtg.authentication.ejb.AuthenticationRemote</ejb-ref-name>
<jndi-name>AuthenticationBean/remote</jndi-name>
</ejb-ref>
<ejb-local-ref>
<ejb-ref-name>com.tarangtech.mtg.authentication.ejb.AuthenticationLocal</ejb-ref-name>
<local-jndi-name>AuthenticationBean/local</local-jndi-name>
</ejb-local-ref>
</session>
</enterprise-beans>
</jboss>
Thanks a lot for you patience & kind reply..
Please help in getting my UI work..:)
Regds,
NK
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538739#538739]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100421/befb3090/attachment.html
More information about the jboss-user
mailing list