Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-05-24 Thread Scott Lewis

Greetings Sliders,

We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
5.0.28 currently).   We are having what seems to be a deadlock condition 
inside the Slide server code. 


A couple of questions come up:
1) Is there are more recent version of Slide that is available?  (i.e. 
2.1 RC1 has been out for some time). 
2) Does anyone on this list (or others) know of this deadlock bug and 
have a fix? 
3) Is there a version of Slide that runs on 5.5 (jvm 1.5)? 

The 1.5 vm has some support for deadlock detection which we could use to 
help figure out where the problem is if necessary/appropriate, but we 
would need to have a version of slide that runs on jvm 1.5/tomcat 
5.5/slide X.X.


Thanksinadvance for any info and/or pointers.

Scott


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



Re: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-05-24 Thread Unico Hommes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Scott Lewis wrote:
> Greetings Sliders,
> 
> We are working with/using the Slide libraries (2.1RC1) on Tomcat (v
> 5.0.28 currently).   We are having what seems to be a deadlock condition
> inside the Slide server code.
> A couple of questions come up:
> 1) Is there are more recent version of Slide that is available?  (i.e.
> 2.1 RC1 has been out for some time). 

You could check the download section on our site:
http://jakarta.apache.org/slide/download.html

> 2) Does anyone on this list (or
> others) know of this deadlock bug and have a fix? 

There's a wealth of information in the mailing list archives you could
try searching there. As an example here are the mails to slide-dev that
contain the word "deadlock":

http://marc.theaimsgroup.com/?l=slide-dev&w=2&r=1&s=deadlock&q=b


> 3) Is there a version
> of Slide that runs on 5.5 (jvm 1.5)?

Don't know the answer to that one.

- --
Unico
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCk7Thcuec8tVNKAwRAhOdAJoCJ3yDmNt8/fGn7GsHX5kN/0icngCfYFaF
6KFChPYNqa1cvZfrVxI3nig=
=p1Bl
-END PGP SIGNATURE-


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



Re: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-05-24 Thread KeyEvent
Hi
 
2.1 final is already released, you can use that instead.
 
Li

Scott Lewis <[EMAIL PROTECTED]> 写道:
Greetings Sliders,

We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
5.0.28 currently). We are having what seems to be a deadlock condition 
inside the Slide server code. 

A couple of questions come up:
1) Is there are more recent version of Slide that is available? (i.e. 
2.1 RC1 has been out for some time). 
2) Does anyone on this list (or others) know of this deadlock bug and 
have a fix? 
3) Is there a version of Slide that runs on 5.5 (jvm 1.5)? 

The 1.5 vm has some support for deadlock detection which we could use to 
help figure out where the problem is if necessary/appropriate, but we 
would need to have a version of slide that runs on jvm 1.5/tomcat 
5.5/slide X.X.

Thanksinadvance for any info and/or pointers.

Scott


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




-
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!

Re: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-05-25 Thread Marco T. Avila
There is a bug entry for this, is it related to your problem?

http://issues.apache.org/bugzilla/show_bug.cgi?id=34753


Regards

KeyEvent wrote:

>Hi
> 
>2.1 final is already released, you can use that instead.
> 
>Li
>
>Scott Lewis <[EMAIL PROTECTED]> 写道:
>Greetings Sliders,
>
>We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
>5.0.28 currently). We are having what seems to be a deadlock condition 
>inside the Slide server code. 
>
>A couple of questions come up:
>1) Is there are more recent version of Slide that is available? (i.e. 
>2.1 RC1 has been out for some time). 
>2) Does anyone on this list (or others) know of this deadlock bug and 
>have a fix? 
>3) Is there a version of Slide that runs on 5.5 (jvm 1.5)? 
>
>The 1.5 vm has some support for deadlock detection which we could use to 
>help figure out where the problem is if necessary/appropriate, but we 
>would need to have a version of slide that runs on jvm 1.5/tomcat 
>5.5/slide X.X.
>
>Thanksinadvance for any info and/or pointers.
>
>Scott
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>-
>Do You Yahoo!?
>150万曲MP3疯狂搜,带您闯入音乐殿堂
>美女明星应有尽有,搜遍美图、艳图和酷图
>1G就是1000兆,雅虎电邮自助扩容!
>  
>


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



Re: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-05-25 Thread Paul Hussein
Whats the machine you are running on ?

linux kernel with smp ?

Marco T. Avila wrote:

>There is a bug entry for this, is it related to your problem?
>
>http://issues.apache.org/bugzilla/show_bug.cgi?id=34753
>
>
>Regards
>
>KeyEvent wrote:
>
>  
>
>>Hi
>>
>>2.1 final is already released, you can use that instead.
>>
>>Li
>>
>>Scott Lewis <[EMAIL PROTECTED]> 写道:
>>Greetings Sliders,
>>
>>We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
>>5.0.28 currently). We are having what seems to be a deadlock condition 
>>inside the Slide server code. 
>>
>>A couple of questions come up:
>>1) Is there are more recent version of Slide that is available? (i.e. 
>>2.1 RC1 has been out for some time). 
>>2) Does anyone on this list (or others) know of this deadlock bug and 
>>have a fix? 
>>3) Is there a version of Slide that runs on 5.5 (jvm 1.5)? 
>>
>>The 1.5 vm has some support for deadlock detection which we could use to 
>>help figure out where the problem is if necessary/appropriate, but we 
>>would need to have a version of slide that runs on jvm 1.5/tomcat 
>>5.5/slide X.X.
>>
>>Thanksinadvance for any info and/or pointers.
>>
>>Scott
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>-
>>Do You Yahoo!?
>>150万曲MP3疯狂搜,带您闯入音乐殿堂
>>美女明星应有尽有,搜遍美图、艳图和酷图
>>1G就是1000兆,雅虎电邮自助扩容!
>> 
>>
>>
>>
>
>
>-
>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: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-05-25 Thread Marco T. Avila
Yes, I am running Linux (uname -a),

Linux mycomputer 2.6.11-gentoo-r8 #3 SMP Sat May 14 01:08:00 CEST 2005
i686 Mobile AMD Athlon(tm) XP-M Processor 3000+ AuthenticAMD GNU/Linux

Regards

Paul Hussein wrote:

>Whats the machine you are running on ?
>
>linux kernel with smp ?
>
>Marco T. Avila wrote:
>
>  
>
>>There is a bug entry for this, is it related to your problem?
>>
>>http://issues.apache.org/bugzilla/show_bug.cgi?id=34753
>>
>>
>>Regards
>>
>>KeyEvent wrote:
>>
>> 
>>
>>
>>
>>>Hi
>>>
>>>2.1 final is already released, you can use that instead.
>>>
>>>Li
>>>
>>>Scott Lewis <[EMAIL PROTECTED]> 写道:
>>>Greetings Sliders,
>>>
>>>We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
>>>5.0.28 currently). We are having what seems to be a deadlock condition 
>>>inside the Slide server code. 
>>>
>>>A couple of questions come up:
>>>1) Is there are more recent version of Slide that is available? (i.e. 
>>>2.1 RC1 has been out for some time). 
>>>2) Does anyone on this list (or others) know of this deadlock bug and 
>>>have a fix? 
>>>3) Is there a version of Slide that runs on 5.5 (jvm 1.5)? 
>>>
>>>The 1.5 vm has some support for deadlock detection which we could use to 
>>>help figure out where the problem is if necessary/appropriate, but we 
>>>would need to have a version of slide that runs on jvm 1.5/tomcat 
>>>5.5/slide X.X.
>>>
>>>Thanksinadvance for any info and/or pointers.
>>>
>>>Scott
>>>
>>>
>>>-
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>>>-
>>>Do You Yahoo!?
>>>150万曲MP3疯狂搜,带您闯入音乐殿堂
>>>美女明星应有尽有,搜遍美图、艳图和酷图
>>>1G就是1000兆,雅虎电邮自助扩容!
>>>
>>>
>>>   
>>>
>>>  
>>>
>>-
>>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: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-05-25 Thread Paul Hussein
There seem to be issues with SMP linux and the JDK threading model. I am
not saying this is what you are seeing, esp as its supposed to be solved
in 2.6 kernels but you never know.

I have been seeing major lockups also on a 2.4 kernel smp machine but
never with a up machine/kernel.

Take a look at these.

http://forum.java.sun.com/thread.jspa?threadID=552369&messageID=2701635

http://people.redhat.com/drepper/assumekernel.html
http://www-128.ibm.com/developerworks/eserver/library-html/l-pow-LoPJDKFinal.html

http://www.linuxdevices.com/articles/AT6753699732.html
http://forum.java.sun.com/thread.jspa?threadID=580350&messageID=2936747

http://forum.java.sun.com/thread.jspa?threadID=580350&messageID=2936747


Give me a shout how u get on ;)

Cheers

Paul.



Marco T. Avila wrote:

>Yes, I am running Linux (uname -a),
>
>Linux mycomputer 2.6.11-gentoo-r8 #3 SMP Sat May 14 01:08:00 CEST 2005
>i686 Mobile AMD Athlon(tm) XP-M Processor 3000+ AuthenticAMD GNU/Linux
>
>Regards
>
>Paul Hussein wrote:
>
>  
>
>>Whats the machine you are running on ?
>>
>>linux kernel with smp ?
>>
>>Marco T. Avila wrote:
>>
>> 
>>
>>
>>
>>>There is a bug entry for this, is it related to your problem?
>>>
>>>http://issues.apache.org/bugzilla/show_bug.cgi?id=34753
>>>
>>>
>>>Regards
>>>
>>>KeyEvent wrote:
>>>
>>>
>>>
>>>   
>>>
>>>  
>>>
Hi

2.1 final is already released, you can use that instead.

Li

Scott Lewis <[EMAIL PROTECTED]> 写道:
Greetings Sliders,

We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
5.0.28 currently). We are having what seems to be a deadlock condition 
inside the Slide server code. 

A couple of questions come up:
1) Is there are more recent version of Slide that is available? (i.e. 
2.1 RC1 has been out for some time). 
2) Does anyone on this list (or others) know of this deadlock bug and 
have a fix? 
3) Is there a version of Slide that runs on 5.5 (jvm 1.5)? 

The 1.5 vm has some support for deadlock detection which we could use to 
help figure out where the problem is if necessary/appropriate, but we 
would need to have a version of slide that runs on jvm 1.5/tomcat 
5.5/slide X.X.

Thanksinadvance for any info and/or pointers.

Scott


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




-
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!


  

 



>>>-
>>>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: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-06-02 Thread Martin Kalén

Scott Lewis wrote:
We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
5.0.28 currently).   We are having what seems to be a deadlock condition 
inside the Slide server code.


Are you using different RDBMS-based stores pointing to the same database?

I have a reproducable case where Slide from CVS HEAD (pre-2.2) deadlocks
if permissions for two stores are configured to the same DB through
DBCP pools in each store.

(My usage pattern is that I share permissions in DB but have content for
one URL-tree on disk and content for another URL-tree in RDBMS.)

When Slide loads the initial permissions entries from Domain.xml on
a blank DB it will deadlock when it tries to grant permission on one
store and calls assertUri for the root note just created by the other
store.

I haven't had time to debug this further or work on a patch, but you
can easily verify if your condition is similar by starting Tomcat in
JPDA debug mode, attach a debugger with the Slide source code available
and check if the deadlock is in a executeUpdate call to your JDBC driver
called from grantPermission and assertUri on top of that in the stack.

Regards,
 Martin


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



Re: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-06-02 Thread Martin Kalén

Scott Lewis wrote:

Is there a version of Slide that runs on 5.5 (jvm 1.5)?


P.S. Slide kernel from CVS HEAD runs fine under Tomcat 5.5.x,
at least with JRE 1.4 and the Tomcat compatibility JAR installed.

I have not tried with either JRE 5.0 or the Slide WebDAV servlet.

Regards,
 Martin


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



Re: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-06-02 Thread Scott Lewis

Hi Martin,

I'm not using RDBMS at all...just FileSystemStore (or whatever the class 
name is), so it sounds like this probably isn't the same thing.


Thanks though.

Scott

Martin Kalén wrote:


Scott Lewis wrote:

We are working with/using the Slide libraries (2.1RC1) on Tomcat (v 
5.0.28 currently).   We are having what seems to be a deadlock 
condition inside the Slide server code.



Are you using different RDBMS-based stores pointing to the same database?

I have a reproducable case where Slide from CVS HEAD (pre-2.2) deadlocks
if permissions for two stores are configured to the same DB through
DBCP pools in each store.

(My usage pattern is that I share permissions in DB but have content for
one URL-tree on disk and content for another URL-tree in RDBMS.)

When Slide loads the initial permissions entries from Domain.xml on
a blank DB it will deadlock when it tries to grant permission on one
store and calls assertUri for the root note just created by the other
store.

I haven't had time to debug this further or work on a patch, but you
can easily verify if your condition is similar by starting Tomcat in
JPDA debug mode, attach a debugger with the Slide source code available
and check if the deadlock is in a executeUpdate call to your JDBC driver
called from grantPermission and assertUri on top of that in the stack.

Regards,
 Martin


-
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: Deadlock in Slide 2.1 RC 1 /Tomcat 5.0.29

2005-06-02 Thread Martin Kalén

Scott Lewis wrote:
I'm not using RDBMS at all...just FileSystemStore (or whatever the class 
name is), so it sounds like this probably isn't the same thing.


OK. No, then I don't think it is related since "my" deadlock has to do
with transaction isolation between the two different DBCP pools.


Thanks though.


NP! :)

Cheers,
 Martin


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