use its own transaction manager in slide

2005-03-23 Thread Julien Viet
We have integrated Slide in JBoss but not at the transaction manager level.
Is is possible to have Slide use JBoss transaction manager instead of 
the one provided by Slide ? Has someone tried that (or with any other 
transaction manager different than Slide) ?

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


Re: use its own transaction manager in slide

2005-03-23 Thread Julien Viet
Hello Darren,
thanks for you reply but this is not convenient, this JCA connector only 
enrolls transaction from the slide webdav API that connects to slide.

We want to change the transaction manager used by Slide internaly (the 
server), the one setup by the Domain class. Slide should make this 
pluggable, after all why use its own transaction manager when it is in 
an application server and this one provide already a transaction manager ?

Darren Hartford wrote:
Just a quick reply - I believe there exists a Slide JCA 1.5 connector
that supports transactions. Jboss should be able to use this JCA
connector for client-side transactions talking to a backend Slide server
(if that is the use-case). 

 

-Original Message-
From: Julien Viet [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 23, 2005 1:32 PM
To: slide-user@jakarta.apache.org
Subject: use its own transaction manager in slide

We have integrated Slide in JBoss but not at the transaction 
manager level.

Is is possible to have Slide use JBoss transaction manager 
instead of the one provided by Slide ? Has someone tried that 
(or with any other transaction manager different than Slide) ?

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


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


Re: use its own transaction manager in slide

2005-03-24 Thread Julien Viet
thanks for the info
Carlos Villegas wrote:
I believe there's a proposal in CVS head for using an external 
transaction manager with Slide. At least, it should be in Bugzilla.
I don't think it has been reviewed nor intergrated properly into Slide 
so it may not work with the current CVS version. But at least it's a 
start.

Carlos
Julien Viet wrote:
Hello Darren,
thanks for you reply but this is not convenient, this JCA connector 
only enrolls transaction from the slide webdav API that connects to 
slide.

We want to change the transaction manager used by Slide internaly 
(the server), the one setup by the Domain class. Slide should make 
this pluggable, after all why use its own transaction manager when it 
is in an application server and this one provide already a 
transaction manager ?

Darren Hartford wrote:
Just a quick reply - I believe there exists a Slide JCA 1.5 connector
that supports transactions. Jboss should be able to use this JCA
connector for client-side transactions talking to a backend Slide 
server
(if that is the use-case).
 

-Original Message-----
From: Julien Viet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 
23, 2005 1:32 PM
To: slide-user@jakarta.apache.org
Subject: use its own transaction manager in slide

We have integrated Slide in JBoss but not at the transaction 
manager level.

Is is possible to have Slide use JBoss transaction manager instead 
of the one provided by Slide ? Has someone tried that (or with any 
other transaction manager different than Slide) ?

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


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


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


Re: Errors when creating a new node

2005-04-12 Thread Julien Viet
I solved the same issue. Took me a while to understand that by tracing 
the code.

Has anybody worked on a wrapper for the Slide API (that does not use 
webdav) in order to simplify it and make it look like a  filesystem usage ?

Brusic, Ivan wrote:
Andrey,
Thanks for following up.  Martin Kalén posted the same solution back on
Friday (thread called "Problem creating Objects"), but I did not have a
chance to test it out yet.   Reading his description, it appeared that
his solution would work, and I am glad you came to the same conclusion.
I also noticed the changes in the store method of StructureImpl, but I
did not want to undo and modifications.
Thanks again for the help.
Ivan
-Original Message-
From: Andrey Shulinsky [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 11, 2005 8:41 PM
To: 'Slide Users Mailing List'
Subject: RE: Errors when creating a new node

Hi, Ivan!
Well, I've got the same error and fortunately found an easy way to fix
it. Here's the explanation if you're still interested.
First of all, the error that the system gives you isn't quite accurate.
When Slide tries to create a new node it calls the following methods of
the org.apache.slide.structure.StructureImpl class:
public void create(SlideToken token, ObjectNode object,String strUri)
public void store(SlideToken token, ObjectNode object) protected void
store(SlideToken token, ObjectNode object, boolean
setModificationDate)
and the last one tries to check if the active user has the appropriate
access rights (write, in fact) to the object that is being created. So
it calls the method
public void checkCredentials(SlideToken token, ObjectNode object,
ActionNode
action)
of the org.apache.slide.security.SecurityImpl class which, in turn,
tries to find the object:
ObjectNode realObject = objectUri.getStore().retrieveObject(objectUri);
And this very call failed for me throwing up the
ObjectNotFoundException. This exception is caught in the same method,
swallowed and the familiar AccessDeniedException is thrown instead.
Imho, it's a wrong way of handling this exception, it should be at least
logged.
And now about the reason of having this ObjectNotFoundException. It's
actually quite simple. The SlideToken I was using didn't have its store
enlistment flag mutator set to true. As a result the retrieveObject
method failed to find the object - the "creation" transaction hadn't
been committed at that moment. So I just set this flag to true:
slideToken.setForceStoreEnlistment(true);
and the problem was solved. I hope it'll work for you as well. And why
did it worked in the 2.0 release? I have noticed certain changes in the
store method in the org.apache.slide.structure.StructureImpl class that
might have caused this error but I haven't looked into them.
Yours sincerely,
Andrey.

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


--
Julien Viet
JBoss Portal Lead Developer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Stopping STDOUT

2005-04-19 Thread Julien Viet
[EMAIL PROTECTED] wrote:
How can I stop all request printing to STDOUT?
Thanks
Mat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

try in web.xml of the war where you have the slide servlet :
   
   outputToConsole
   true
   If true, output is directed to 
STDOUT.
   

and you should change true to false
--
Julien Viet
JBoss Portal Lead Developer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JBoss slide integration

2005-08-11 Thread Julien Viet
We have released an integration of Slide in JBoss Application Server 
which features :


- Slide integration as an mbean service featuring embedded configuration 
in jboss-service.xml

- Cache invalidation based on JBoss clustering framework
- Creation of content at startup when it does not exist
- Possibility to list system properties in the slide configuration for 
better flexibility

- Hibernate 3.0 store implementation

If you are interested you can learn more here : 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSlide


cheers

--
Julien Viet
JBoss Portal Lead Developer


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



Re: JBoss slide integration

2005-08-11 Thread Julien Viet

we have integrated with the latest known stable release slide 2.1

we have not tested other versions.

Warwick Burrows wrote:


Wow that's great! What version of Slide did you integrate -- or should I
be able to run any version of Slide with JBoss?

Thanks,
Warwick


 


-Original Message-
From: Julien Viet [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 11, 2005 7:53 AM

To: slide-user@jakarta.apache.org
Subject: JBoss slide integration


We have released an integration of Slide in JBoss Application Server 
which features :


- Slide integration as an mbean service featuring embedded 
configuration 
in jboss-service.xml

- Cache invalidation based on JBoss clustering framework
- Creation of content at startup when it does not exist
- Possibility to list system properties in the slide 
configuration for 
better flexibility

- Hibernate 3.0 store implementation

If you are interested you can learn more here : 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSlide


cheers

--
Julien Viet
JBoss Portal Lead Developer


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


 




--
Julien Viet
JBoss Portal Lead Developer


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