Hi Jan!

"Andersson, Jan" wrote:
> Nope, did not help. (Assumed you meant clearing CLASSPATH in the command
> prompt (yes, it's Win 2000) where jBoss is run.) The Interest example bean
> (from www.jboss.org could still be deployed. What does the text "The Bean
> Provider must specify the fully-qualified name of the Java class that
> implements the enterprise bean's business methods" really mean? Am I "the
> Bean Provider"? Where should the fully-qualified name be specified?

Yes, you are the bean provider. Get the EJB spec 1.1 from SUN and have a
look at page 82 in the pdf document. You are "Wombat Inc." :-). That
figure was very helpful for me to understand how things work "inside".

You provide us with the ejb-jar.xml part for NumberGeneratorEJB but the
Verifier complains about NumberManager. Something does not seem to match
here ?!

Cheers,
Tobias

> -----Original Message-----
> From: Rickard �berg [mailto:[EMAIL PROTECTED]]
> Sent: den 3 januari 2001 14:13
> To: jBoss
> Subject: Re: [jBoss-User] Simple newbie question
> 
> I would guess that you have another bean in your classpath. Try clearing
> the classpath before executing JBoss.
> 
> /Rickard
> 
> "Andersson, Jan" wrote:
> >
> > Hi all!
> >
> > Maybe someone could help me with this probably simple question. I've just
> > started playing with and begun creating my first EJB for jBoss. Deploying
> it
> > didn't work, though. I've compared the code and the descriptor with the
> > Interest EJB tutorial (as found on www.jboss.org), and can't find any
> > differences. Below is an excerpt from the printout from the server at
> deploy
> > time. The descriptor is also attached. Where do I have to "specify the
> > fully-qualified name"? Can anyone explain the problem here?
> >
> > Regards,
> > Jan Andersson
> >
> > ---excerpt----------------------------------
> >
> > [Verifier]
> > Bean   : NumberManager
> > Section: 16.2
> > Warning: The Bean Provider must specify the fully-qualified name of the
> Java
> > cla
> > ss that implements the enterprise bean's business methods.
> >
> > [Verifier]
> > Bean   : NumberManager
> > Section: 16.2
> > Warning: The Bean Provider must specify the fully-qualified name of the
> > enterpri
> > se bean's home interface in the home element.
> >
> > [Verifier]
> > Bean   : NumberManager
> > Section: 16.2
> > Warning: The Bean Provider must specify the fully-qualified name of the
> > enterpri
> > se bean's remote interface in the remote element.
> >
> > ---descriptor--------------------------------
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
> > JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
> >
> > <ejb-jar>
> >  <enterprise-beans>
> >   <entity>
> >    <ejb-name>NumberGeneratorEJB</ejb-name>
> >    <home>se.jadata.ATM.NumberGeneratorHome</home>
> >    <remote>se.jadata.ATM.NumberGenerator</remote>
> >    <ejb-class>se.jadata.ATM.NumberGeneratorBean</ejb-class>
> >    <persistence-type>Container</persistence-type>
> >    <prim-key-class>NumberGeneratorBeanPK</prim-key-class>
> >    <reentrant>False</reentrant>
> >   </entity>
> >  </enterprise-beans>
> > </ejb-jar>


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to