I'm tailing server.log, the only thing showing up during my request is:

2002-06-06 22:05:51,731 DEBUG
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using
properties: {user=ejukebox, password=xxxxxxxxxx}
2002-06-06 22:05:51,823 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.PlaylistBean.findByPrimaryKey]
Executing SQL: SELECT playlist_id FROM playlists WHERE playlist_id=?
2002-06-06 22:05:52,145 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.PlaylistBean] Executing
SQL: SELECT user_id, name, user FROM playlists WHERE (playlist_id=?)

Which looks about right for a prepared statement...any ideas?  Is there a way to
turn up vebosity?

-- 
-bk


Quoting Dain Sundstrom <[EMAIL PROTECTED]>:

> 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
> 
> 



_______________________________________________________________

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