Hello,
I am trying to test a session bean to be deployed on WebSphere 6.0. But during
deploying process it generates following warnings:
0000003b ArchiveDeploy W ADMA0091E: The resource META-INF/ibm-ejb-jar-bnd.xmi
that is defined in URI
META-INF/ibm-ejb-jar-bnd.xmi for module
security-ejb.jar is not valid.
The resource has a cross reference
META-INF/ejb-jar.xml#ejb-jar_1 that cannot be resolved.
0000003b ServletWrappe A SRVE0242I:
[/com.ibm.ws.console.appmanagement/DefaultBindings.jsp]: Initialization
successful.
0000002f ArchiveDeploy W ADMA0091E: The resource META-INF/ibm-ejb-jar-bnd.xmi
that is defined in URI
META-INF/ibm-ejb-jar-bnd.xmi for module
security-ejb.jar is not valid.
The resource has a cross reference
META-INF/ejb-jar.xml#ejb-jar_1 that cannot be resolved.
0000002f ArchiveDeploy W ADMA0091E: The resource META-INF/ibm-ejb-jar-ext.xmi
that is defined in URI
META-INF/ibm-ejb-jar-ext.xmi for module
security-ejb.jar is not valid.
The resource has a cross reference
META-INF/ejb-jar.xml#ejb-jar_1 that cannot be resolved.
0000002f WorkSpaceMana A WKSP0023I: Workspace configuration consistency check
is enabled.
0000002f WorkSpaceMana A WKSP0023I: Workspace configuration consistency check
is disabled.
0000002f SystemOut O
+++ Warning +++: IWAV0002E Failed reflecting values.
0000002f SystemOut O
+++ Warning +++: IWAV0002E Failed reflecting values.
0000002f SystemOut O
+++ Warning +++: IWAV0002E Failed reflecting values.
0000002f SystemOut O
+++ Warning +++: IWAV0003E Could not reflect methods for
org.opensubsystems.security.logic.impl.UserExtrasControllerRemoteHome
because one of the methods references a type that
could not be loaded.
Exception: java.lang.NoClassDefFoundError:
org/opensubsystems/core/logic/StatelessController
0000002f SystemOut O
+++ Warning +++: IWAV0003E Could not reflect methods for
org.opensubsystems.security.logic.impl.UserExtrasControllerHome
because one of the methods references a type that
could not be loaded.
Exception: java.lang.NoClassDefFoundError:
org/opensubsystems/core/logic/StatelessController
Do you have any idea what can be a problem?
Thank you in advance for answer,
with best regards,
Julian Legeny
======================================================================================================
I'm using following XDoclet tags:
UserExtrasControllerImpl -> EJB stuff generated by XDoclet
-----------------------------------------------------------
* @ejb.bean type="Stateless"
* name="UserExtrasController"
*
jndi-name="org.opensubsystems.security.logic.UserExtrasControllerRemote"
*
local-jndi-name="org.opensubsystems.security.logic.UserExtrasController"
* @ejb.interface
* local-extends="javax.ejb.EJBLocalObject,
org.opensubsystems.security.logic.UserExtrasController"
* extends="javax.ejb.EJBObject,
org.opensubsystems.security.logic.UserExtrasController"
======================================================================================================
It generates me ibm-ejb-jar-bnd.xmi, ibm-ejb-jar-ext.xmi and ejb-jar.xml files.
Bellow I attached particular generated stuff for each xmi/xml file (related to
UserExtrasController):
ejb-jar.xml
------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar >
<description><![CDATA[No Description.]]></description>
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
<session >
<description><![CDATA[Implementation of UserExtrasController interface
to manipulate users.]]></description>
<ejb-name>UserExtrasController</ejb-name>
<home>org.opensubsystems.security.logic.impl.UserExtrasControllerRemoteHome</home>
<remote>org.opensubsystems.security.logic.impl.UserExtrasControllerRemote</remote>
<local-home>org.opensubsystems.security.logic.impl.UserExtrasControllerHome</local-home>
<local>org.opensubsystems.security.logic.impl.UserExtrasControllerLocal</local>
<ejb-class>org.opensubsystems.security.logic.impl.UserExtrasControllerEjb</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
...
</ejb-jar >
...
======================================================================================================
ibm-ejb-jar-ext.xmi
--------------------
<ejbext:EJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmi:id="ejb-jar_ID_Ext">
<ejbJar href="META-INF/ejb-jar.xml#ejb-jar_1"/>
</ejbext:EJBJarExtension>
======================================================================================================
ibm-ejb-jar-bnd.xmi
--------------------
<ejbbnd:EJBJarBinding xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi"
xmlns:ejb="ejb.xmi" xmlns:commonbnd="commonbnd.xmi"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmi:id="ejb-jar_ID_Bnd">
<ejbJar href="META-INF/ejb-jar.xml#ejb-jar_1"/>
<ejbBindings
xmi:id="Session_bnd_1"
jndiName="org.opensubsystems.security.logic.UserExtrasControllerRemote">
<enterpriseBean
xmi:type="ejb:Session"
href="META-INF/ejb-jar.xml#Session_UserExtrasController" />
</ejbBindings>
...
</ejbbnd:EJBJarBinding>
I tried using the WebSphereDoclet
tag and it generated two websphere specific deployment
artifacts:ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi.
The ejbJar elemenet in the *ext.xmi file is as
follows:
<ejbJar href="META-INF/ejb-jar.xml#ejb-jar_1"/>
When I tried deploying this, the WAS6.0 deployer
emitted a warning in the log file:
4/8/05 12:33:04:328 PDT] 00000029 ArchiveDeploy W
ADMA0091E: The resource META-INF/ibm-ejb-jar-ext.xmi
that is defined in URI META-INF/ibm-ejb-jar-ext.xmi
for module testejb.jar is not valid. The resource has
a cross reference META-INF/ejb-jar.xml#ejb-jar_1 that
cannot be resolved.
Any idea what may be the issue here?
Thanks,
Shantanu Sen
--
Best regards,
Julian
mailto:[EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user