Test 4 (domain.xml4 configuration):
Tx store ->
TxXMLFileDescriptorsStore node store,
TxFileContentStore content store
User store ->
JNDIPrincipalStore node store,
JDBCStore (MySqlRDBMSAdapter store) security store and lock
store
Role store ->
JNDIPrincipalStore node store,
JDBCStore (MySqlRDBMSAdapter store) security store and lock
store
Seems ok! Here goes some of the console log:
___________________________________________________________________________
___________________________________________________________________________
...
23 Sep 2004 17:53:16 - org.apache.slide.common.Namespace - INFO - Init
namespace slide configuration
23 Sep 2004 17:53:16 - org.apache.slide.common.Namespace - INFO - Import
data into namespace slide
23 Sep 2004 17:53:16 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /
23 Sep 2004 17:53:16 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /
23 Sep 2004 17:53:16 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /users
23 Sep 2004 17:53:16 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /users
23 Sep 2004 17:53:16 -
org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - Failed to
insert permission (/users,self,all)
23 Sep 2004 17:53:16 -
org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - Failed to
insert permission (/users,unauthenticated,all)
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /users/root
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /users/root
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /users/john
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /users/john
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /users/john2
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /users/john2
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /users/guest
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /users/guest
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /roles
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /roles
23 Sep 2004 17:53:17 -
org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - Failed to
insert permission (/roles,self,all)
23 Sep 2004 17:53:17 -
org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - Failed to
insert permission (/roles,unauthenticated,all)
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /roles/root
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Object already exists at /roles/root
23 Sep 2004 17:53:17 - org.apache.slide.common.XMLUnmarshaller - INFO -
Loading object /roles/user
...
___________________________________________________________________________
___________________________________________________________________________
There they are, those annoying "ERROR - Failed to insert permission" I
talked about earlier. Anyway all seems to work ok although my curiosity
isn't satiated yet: no locking information is stored inside the mySql
database.
Test 5 (domain.xml5 configuration):
Tx store ->
JDBCStore (MySqlRDBMSAdapter store) node store,
User store ->
JNDIPrincipalStore node store,
JDBCStore (MySqlRDBMSAdapter store) security store and lock
store
Role store ->
JNDIPrincipalStore node store,
JDBCStore (MySqlRDBMSAdapter store) security store and lock
store
Seems to be working! Again I got those "ERROR - Failed to insert
permission" errors and can't see locking information in the database. Also,
as I previously reported with a similar configuration, all data is store in
just one store, the last one to be declared in the domain.xml file, witch
was the role store.
Also, in tests 4 and 5 I had a one-time exception related with some
dead-lock in a transaction. This exception only occured when I started
tomcat for the first time with that configuration. When I restart tomcat
there's just the annoying-console-error.
Anyway, the original tests concerning TxXMLFileDescriptorStore inside a
JNDIPrincipalStore for security and lock purposes were successful! (good
work Oliver :)
Best regards,
Miguel
_____
Fixed. Was in Namespace and due to a patch I applied before. So, it was
all my fault :( Release branch was not affected...
Oliver
Oliver Zeigermann wrote:
> Oooops, you were just right. I will have a look at it...
>
> Oliver
>
> Miguel Figueiredo wrote:
>
>> Hello Oliver, sorry for taking so long, had wife and kids waiting :)
>>
>> Well, if I remove the old metadata and start tomcat all goes well. The
>> problem occurs if I restart tomcat: that's when that error occurs.
>>
>> I'm using the default Domain.xml configuration with the
>> TxXMLFileDescriptorsStore for nodestore and TxFileContentStore for
>> content.
>> Miguel
>> ____
>>
>> Oliver Zeigermann wrote:
>>
>>
>>> Miguel, I have tried deleting the old meta-data...
>>
>>
>>
>> Sorry, getting a little bit tired, read "Miguel, have you tried
>> deleting the old meta-data..."
>>
>> Oliver
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]