Konstantin/all,
Thanks very much for your xdoclet/hibernate/jboss example. I have learned a
lot. It has made me re-think my current application approach. Maybe I will
use EJB's after all.
One question, I'm new to JBoss. Should the example run in a vanilla JBoss
3.0.4 (with Tomcat) install? I changed the hibernate.properties before
building and now it deploy's fine. But when I run the client (run.sh) I get
two errors: 1) cannot fine DefaultDS data source and 2) no users.properties
found.
I checked the default hsqldb-service.xml file and all seems fine - hibernate
and JBoss use the same default userid and password.
I read a little of the JBoss Getting Started Guide and browsed their
newsgroups enough to figure out how to setup a users.properties and
roles.properties file in the JBoss conf directory. Still no joy, but a
change - I now get:
20:52:11,973 ERROR [LogInterceptor] EJBException, causedBy:
java.lang.SecurityException: Authentication exception, principal=null
The users.properties file looks like:
guest=guest
guest1=
user1=user1
admin=admin
unauthenticatedIdentity=guest
and the roles.properties file looks like:
guest=guest,user
guest1=guest
user1=guest,admin,user
admin=guest,admin,user
unauthenticatedIdentity=guest
I realize this is more of a JBoss problem and its a newbie problem at that.
But it would be great if the example could work out-of-the box.
Thanks again - Richard
-----Original Message-----
From: no...@so... [mailto:no...@so...]
Sent: Friday, December 27, 2002 10:29 AM
To: no...@so...
Subject: [hibernate - Open Discussion] There is *working* example
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=1809362
By: ko5tik
<bragOn> I have working demo to download:
http://www.pribluda.de/hibernate-test.tar.gz - xdoclet + hibernate + jboss
</bragOn> It seems that your MBean does not find your mappings - i put
everything in deployable
sar.
Look in the sample.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge and visit:
https://sourceforge.net/forum/monitor.php?forum_id=128638
|