What is the exception you are getting on the server?  It should be 
printed into the server.log file.

-dain

Brandon Knitter wrote:

> I did notice one other thing.  When I try to get a User, I am running into a
> problem there the server is saying:
> 
> Exception in thread "main" java.rmi.ServerException: RemoteException occurred in
>  server thread; nested exception is:
>     java.rmi.ServerException: Load failed
> Embedded Exception
> ERROR:  Attribute 'playlistbean_user' not found
> ; nested exception is:
>     javax.ejb.EJBException: Load failed
> Embedded Exception
> ERROR:  Attribute 'playlistbean_user' not found
> 
> I don't know why when trying to get a user on it's own that is happening, but I
> actually don't want that.  I want to be able to instantiate Users on their own
> and not have a guaranteed relationship to a Playlist.
> 
> When I take the "<relationships>" section out of the ejb-jar.xml and
> jbosscmp-jdbc.xml files the User works again.  Did I do something wrong here.  
> 
> Actually the relationship is not really one-to-one now that I think about it. 
> It's actually:
> 
>   Playlist  to  User
>   ------------------
>    many     to  one
>    none     to  one
> 
> Meaning that a User can have 0+ Playlists.  How is that represented?  I'll keep
> playing!
> 
> 



_______________________________________________________________

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