> 1. Please use the 3.0 final or later.

Grabbing...

> 2. To deploy an unpacked structure you may need to put it in a directory
> like
> 
> /usr/blah/myear.ear/
>                     myejb-jar.jar
>                                  /META-INF
>                                           /ejb-jar.xml
>                     META-INF
>                             /application.xml
> 
> and put the myear.ear directory in the URLs attribute

So my directory *must* end with .ear??  Also, is it a requirement to have my
ejb's in a jar file?  The point is I want to be able to develop without having
to continually jar (ear) up all my stuff just to test something.  Is this possible?

I have the following for my url...is this what *must* end in ".ear":

    <attribute name="URLs">
       ./deploy,/home/knitterb/lib/java/org/blandsite/music/website/
    </attribute>


> 3. To find out what happened, look at the jmx viewer on port 8082 and look
> for mbeans for each ejb.  

Okay, cool, don't know what I was looking for, but I can see that my jar with
the EJBs are in there, but not my directory option (as discussed above).  I
guess I need to know about my above question before I can go on to other
possible solutions.

> Also use the jndiview mbean to see what is bound
> in jndi.  If something isn't deployed that you expect, it might be waiting
> for something it needs.  There's at least one operation on MainDeployer to
> list waiting stuff.

Oh, there we go, went to the MainDeployer link off the main page (on 8082) and
then went to listDeployed.  Very cool.  There is nothing waiting for deployment
either.

Another question, should I simply ignore the warnings:


18:42:59,143 INFO  [EJBDeployer] 
Bean   : PlaylistBean
Section: 9.2.2
Warning: The entity bean class must not be defined as abstract.

18:42:59,659 INFO  [EJBDeployer] 
Bean   : PlaylistBean
Method : public Integer ejbCreate(Integer, int, String) throws CreateException
Section: 9.2.3
Warning: The return type of an ejbCreate(...) method must be the entity bean's
primary key type.

18:42:59,702 INFO  [EJBDeployer] 
Bean   : PlaylistBean
Section: 9.4.7.1
Warning: The primkey-field element must name a public field in the bean
implementation class.



>From the first warning it would seem that CMP 2.0 is not supported?  This all
seemed to deploy find on Resin, although I'd rather use JBoss! ;-)


Finally, thank you!  If this is an RTFM case, please kindly point me to where
this is documented and I will read away before bugging you again! :)

--
-bk



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to