On Tue, 2003-08-05 at 21:16, Adrian Brock wrote:

> By avoiding strict verification, you should see the problem
> when jboss container tries to load the bean class.

Thanks for the suggestion, unfortunately the problem remains the same...
________________________________________________________________________
12:01:48,918 INFO  [EjbModule] Deploying ina/HolderCache
12:01:48,935 INFO  [StatelessSessionContainer] Creating
12:01:48,991 ERROR [StatelessSessionContainer] Initialization failed
java.lang.ClassNotFoundException:
com.redcrea.ina.core.db.holder2.cache.HolderCacheSession
[...]
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=ejb/ina/HolderCache,service=EJB
 state: FAILED
 I Depend On:
 Depends On Me: java.lang.ClassNotFoundException:
com.redcrea.ina.core.db.holder2.cache.HolderCacheSession]
________________________________________________________________________


Does anyone know how it is possible that JBoss does not find a class
mentionned in ejb-jar.xml and present in the jar file when all the
package statements are correct ?

> On Tue, 2003-08-05 at 17:49, Hubert Behaghel wrote:
> > Hello,
> > 
> > I'm in troubles and I can't get why... It seems silly from my point of
> > view, but as ever it is just that I'm wrong... But where ?
> > 
> > Here is my error :
> > _______________________________________________________________________
> > Bean   : ina/HolderCache
> > Section: 22.2
> > Warning: The Bean Provider must specify the fully-qualified name of the
> > Java class that implement
> > s the enterprise bean's business methods in the <ejb-class> element.
> > Info   : Class not found:
> > com.redcrea.ina.core.db.holder2.cache.HolderCacheSession
> > _______________________________________________________________________
> > 
> > 
> > 
> > Here is my .jar
> > _______________________________________________________________________
> > debian% jar -tf HolderCacheBean.jar                                     
> > ~/work/test/truc/holder
> > META-INF/
> > META-INF/MANIFEST.MF
> > com/
> > com/redcrea/
> > com/redcrea/ina/
> > com/redcrea/ina/core/
> > com/redcrea/ina/core/db/
> > com/redcrea/ina/core/db/holder2/
> > com/redcrea/ina/core/db/holder2/cache/
> > META-INF/ejb-jar.xml
> > META-INF/jboss.xml
> > com/redcrea/ina/core/db/holder2/cache/HolderCacheBean$CacheEntry.class
> > com/redcrea/ina/core/db/holder2/cache/HolderCacheBean$ModelCacheEntry.class
> > com/redcrea/ina/core/db/holder2/cache/HolderCacheBean$InstanceCacheEntry.class
> > com/redcrea/ina/core/db/holder2/cache/HolderCacheBean$LoopCacheEntry.class
> > com/redcrea/ina/core/db/holder2/cache/HolderCacheBean.class
> > com/redcrea/ina/core/db/holder2/cache/HolderCacheHome.class
> > com/redcrea/ina/core/db/holder2/cache/HolderCache.class
> > >>!!com/redcrea/ina/core/db/holder2/cache/HolderCacheSession.class!!<<
> > _______________________________________________________________________
> > 
> > 
> > 
> > Here is my ejb-jar.xml
> > _______________________________________________________________________
> > <session >
> >   <description><![CDATA[Maintains a cache of holders (]]></description>
> >     <ejb-name>ina/HolderCache</ejb-name>
> >     <home>com.redcrea.ina.core.db.holder2.cache.HolderCacheHome</home>
> >     <remote>com.redcrea.ina.core.db.holder2.cache.HolderCache</remote>
> >     <ejb-class>
> > com.redcrea.ina.core.db.holder2.cache.HolderCacheSession
> >     </ejb-class>
> >     <session-type>Stateless</session-type>
> >     <transaction-type>Container</transaction-type>
> > </session>
> > _______________________________________________________________________
> > 
> > In fact I use XDoclet.
> > But what is more strange is that I can deploy very easily my Hello World
> > and it works perfectly. The script ant used for both my project and ma
> > HelloBean (that is to say generation, jar and deployment) is the same...
> > 
> > Thanks in advance for any help.
> > 
> > Regards,
> > 
> > --
> > Hubert
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to