Is it possible that I am stuck in some kind of transaction?

I just tried to put the proppatchMethod in the finalize-Method, I know thats 
not the best way,
but in there it worked.

i have to methods, the one called addUserToRole, make a propPatchMethod, to the 
role and the second one creates a new collection
unter /files/user.

I was calling these methods from the constructor with one parameter, because I 
found out, that when subclassing SubjectNode, when a
new user is created this constructor is used.

where else can I call these methods?

is there a better way to create a user folder and add users to groups?

thanks in advance

SVen

>-----Original Message-----
>From: Sven Pfeiffer [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 02, 2005 9:00 AM
>To: Slide Users Mailing List (E-mail)
>Subject: no progress when executing request with proppath
>
>
>Hi List
>
>I am using Slide 2.2pre1, build from head a week ago.
>
>When I am trying to execute a Proppatch the request is send to the server, but 
>nothing happens.
>
>I tried both using WebdavResources proppatchMethod and 
>executeHttpRequestMethod with a PropPatchMethod, it doesn't seem to make a
>difference which one I am trying.
>
>on the server I am getting the following:
>[httpclient.wire] >> "PROPPATCH /slide/roles/user HTTP/1.1[\r][\n]"
>[httpclient.wire] >> "Authorization: Basic 
>QGFkbWluc3lzdGVtOmluaXRpYWw=[\r][\n]"
>[httpclient.wire] >> "Content-Type: text/xml; charset=utf-8[\r][\n]"
>[httpclient.wire] >> "User-Agent: Jakarta Commons-HttpClient/2.0rc3[\r][\n]"
>[httpclient.wire] >> "Host: localhost:8080[\r][\n]"
>[httpclient.wire] >> "Cookie: $Version=0; 
>JSESSIONID=7F3E3EB8A68E29892E16DEF093AF9925; $Path=/slide[\r][\n]"
>[httpclient.wire] >> "Content-Length: 420[\r][\n]"
>[httpclient.wire] >> "[\r][\n]"
>[httpclient.wire] >> "<?xml version="1.0" encoding="utf-8" ?><D:propertyupdate
>xmlns:D="DAV:"><D:set><D:prop><D:group-member-set><D:href 
>xmlns:D="DAV:">/slide/users/john</D:href>[\r][\n]"
>[httpclient.wire] >> "<D:href 
>xmlns:D="DAV:">/slide/users/john2</D:href>[\r][\n]"
>[httpclient.wire] >> "<D:href 
>xmlns:D="DAV:">/slide/users/root</D:href>[\r][\n]"
>[httpclient.wire] >> "<D:href 
>xmlns:D="DAV:">/slide/users/projector</D:href><D:href
>xmlns:D="DAV:">/slide/users/sep</D:href></D:group-member-set></D:prop></D:set></D:propertyupdate>"
>
>which seems to be okay.
>
>Has anyone an idea where the problem is?
>
>just to be complete I am running slide inside JBoss3.2.3/Tomcat4.1 on Win2000, 
>executing PropPatch with DAVExplorer works.
>
>Thanks in advance
>
>SVen
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to