Zeus Courtois | 1 Nov 20:12
Picon
Favicon

MOVE command when renaming files.

Hi, 

I noticed that when I rename a file, the MOVE command is issued and it goes through the process of recreating
the metadata and the file content with just another name, then deleting the previous metadata and content
file by calling the delete( ) and removeRevisionContent(...) respectively on the
XMLResourceDescriptor and TxFileContentStore classes. 

I would like to know if there is a way of knowing, within these delete/remove methods, if they were called due
to a renaming of a file (MOVE) or due to the user actually hitting the <delete> key. Or if there is a way I can
put a "flag" on some other class that would eventually let me know that the file is being removed due to an
actual deletion and not because of a MOVE command.

Thanks in advance,

Zeus Courtois

eberenguier | 2 Nov 17:04
Favicon

Hung threads with Websphere

Hi,

I'm using Slide 2.1 with Websphere 5.1.

It usually works well, but eventually the server starts to hang for all write operations (all clients give
up on
timeout) and we find a lot of lines looking like the following in the server log :

[11/2/06 10:44:28:927 MET] 1b8504 ThreadMonitor W WSVR0605W: Thread "Servlet.Engine.Transports : 70"
(a9443c) has been
active for 645,985 milliseconds and may be hung. There are 25 threads in total in the server that may be hung.

The only way to make slide work again is to restart the WAS instance.

Last time it happened we did a thread dump on the server and we found a lot threads hung at the same place (they all
look the same, i'm just including one) :

"Servlet.Engine.Transports : 35" daemon prio=5 tid=0x0189adc8 nid=0x298 in Object.wait() [dcc7e000..dcc7fc30]
	at java.lang.Object.wait(Native Method)
	- waiting on <0xe7b6bc68> (a org.apache.commons.transaction.locking.GenericLock)
	at org.apache.commons.transaction.locking.GenericLock.acquire(GenericLock.java:241)
	- locked <0xe7b6bc68> (a org.apache.commons.transaction.locking.GenericLock)
	at org.apache.commons.transaction.locking.GenericLock.acquire(GenericLock.java:165)
	- locked <0xe7b6bc68> (a org.apache.commons.transaction.locking.GenericLock)
	at org.apache.slide.webdav.method.AbstractWebdavMethod.assureGlobalWriteLock(AbstractWebdavMethod.java:847)
	at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:362)
	at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:155)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
(Continue reading)

Picon
Picon
Gravatar

Re: Hung threads with Websphere


Hello Eric,

I have no solution concerning this issue.

You might want to check whether this has been reported in
http://issues.apache.org/bugzilla and enter a new bug report if no such
bug report exists.
If a similar bug report exists, add comments indicating that you also
experienced this problem and add yourself as CC.

Regards,

Antoine

eberenguier <at> octo.com wrote:
> Hi,
>
> I'm using Slide 2.1 with Websphere 5.1.
>
> It usually works well, but eventually the server starts to hang for all write operations (all clients give
up on
> timeout) and we find a lot of lines looking like the following in the server log :
>
> [11/2/06 10:44:28:927 MET] 1b8504 ThreadMonitor W WSVR0605W: Thread "Servlet.Engine.Transports :
70" (a9443c) has been
> active for 645,985 milliseconds and may be hung. There are 25 threads in total in the server that may be hung.
>
>
> The only way to make slide work again is to restart the WAS instance.
(Continue reading)

Miguel Figueiredo | 6 Nov 10:45
Picon
Favicon

RE: MOVE command when renaming files.


Hello Zeus,

 You intend to use Slide API or, you are interested in accessing Slide
trough the webdav protocol?
 If you're only interested in the webdav protocol, it's possible to listen
to events when the move dav command is invoked.

 Best regards,
 Miguel Figueiredo

-----Original Message-----
From: Zeus Courtois [mailto:zeusorion <at> yahoo.com] 
Sent: quarta-feira, 1 de Novembro de 2006 19:13
To: Slide Apache
Subject: MOVE command when renaming files.

Hi, 

I noticed that when I rename a file, the MOVE command is issued and it goes
through the process of recreating the metadata and the file content with
just another name, then deleting the previous metadata and content file by
calling the delete( ) and removeRevisionContent(...) respectively on the
XMLResourceDescriptor and TxFileContentStore classes. 

I would like to know if there is a way of knowing, within these
delete/remove methods, if they were called due to a renaming of a file
(MOVE) or due to the user actually hitting the <delete> key. Or if there is
a way I can put a "flag" on some other class that would eventually let me
know that the file is being removed due to an actual deletion and not
(Continue reading)

Aslam Bari | 7 Nov 06:06
Picon
Favicon

How to use wild cards in Search


Hello All,
I am using DASL to search contents as well as Property search. I need some
guideness how to use Wild Cards.

For example:-
<D:contains>???.txt</D:contains> // What it will search
<D:propcontains><D:prop><D:displayname/></D:prop><D:literal>*jj*≤/D:literal></D:propcontains>

Confuse with * , % and ? , _
Plz let me clear.

Also there is a big problem when i use 

<D:contains>*****************line*≤/D:contains>
The server gets hang and not working. How to restrict this?

Thanks...
--

-- 
View this message in context: http://www.nabble.com/How-to-use-wild-cards-in-Search-tf2586812.html#a7212690
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
Aslam Bari | 7 Nov 06:08
Picon
Favicon

Server get hang and not working


Dear All,

I am using DASL and given a query. After that server gets hang and not
responding. What is the propblem. The query is like this:-

<D:contains>*************line*≤/D:contains>

How to resove this problem.

Thanks...
--

-- 
View this message in context: http://www.nabble.com/Server-get-hang-and-not-working-tf2586818.html#a7212705
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
Picon
Picon
Gravatar

Re: How to use wild cards in Search

Hello Aslam,

I am a new Slide committer. Please excuse my ignorance.
How do you use DASL ? Is this through an API ? or through a Web Front-End ?

Regards,

Antoine

Aslam Bari wrote:
> Hello All,
> I am using DASL to search contents as well as Property search. I need some
> guideness how to use Wild Cards.
>
> For example:-
> <D:contains>???.txt</D:contains> // What it will search
> <D:propcontains><D:prop><D:displayname/></D:prop><D:literal>*jj*≤/D:literal></D:propcontains>
>
> Confuse with * , % and ? , _
> Plz let me clear.
>
> Also there is a big problem when i use 
>
> <D:contains>*****************line*≤/D:contains>
> The server gets hang and not working. How to restrict this?
>
> Thanks...
>   
Zeus Courtois | 8 Nov 03:52
Picon
Favicon

MOVE method

Hi, 

Is there anyway that I can know from the classes TxFileContentStore and XMLResourceDescriptor that their
methods (storeRevisionContent(...), removeRevisionContent(...)) are being called because of a
"MOVE" command in Webdav.  If so, how can I access both, the sourceUri and targetUri from this methods.

Thanks,

Zeus O Courtois

aslam bari | 8 Nov 04:09
Picon
Favicon

Re: How to use wild cards in Search

By using Webdav APIs.

----- Original Message ----
From: Antoine Levy-Lambert <antoine <at> gmx.de>
To: Slide Users Mailing List <slide-user <at> jakarta.apache.org>
Sent: Tuesday, 7 November, 2006 6:28:13 PM
Subject: Re: How to use wild cards in Search

Hello Aslam,

I am a new Slide committer. Please excuse my ignorance.
How do you use DASL ? Is this through an API ? or through a Web Front-End ?

Regards,

Antoine

Aslam Bari wrote:
> Hello All,
> I am using DASL to search contents as well as Property search. I need some
> guideness how to use Wild Cards.
>
> For example:-
> <D:contains>???.txt</D:contains> // What it will search
> <D:propcontains><D:prop><D:displayname/></D:prop><D:literal>*jj*≤/D:literal></D:propcontains>
>
> Confuse with * , % and ? , _
> Plz let me clear.
>
> Also there is a big problem when i use 
(Continue reading)

Favicon

IllegalStateException & failed requests

Hi,

We're still using Slide 2.1 with Websphere 5.1 on Solaris and with J2EE store
and Oracle database.

Sometime, we get some failed requests along the following exception :

[11/8/06 15:49:40:675 MET]  1906210 WebGroup      E SRVE0026E: [Servlet
Error]-[webdav]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Internal Se
rver Error: Service j2ee_ora&#40;org.apache.slide.store.ExtendedStore&#41;
access error : java.lang.IllegalStateException
        at
org.apache.slide.transaction.SlideTransaction.delistResource&#40;SlideTransaction.java:356&#41;
        at
org.apache.slide.store.AbstractStore.delist&#40;AbstractStore.java:1574&#41;
        at
org.apache.slide.store.AbstractStore.delist&#40;AbstractStore.java:1559&#41;
        at
org.apache.slide.store.ExtendedStore.retrieveObject&#40;ExtendedStore.java:584&#41;
        at
org.apache.slide.structure.StructureImpl.retrieve&#40;StructureImpl.java:178&#41;
        at
org.apache.slide.structure.StructureImpl.retrieve&#40;StructureImpl.java:160&#41;
        at
org.apache.slide.webdav.method.AbstractWebdavMethod.run&#40;AbstractWebdavMethod.java:387&#41;
        at
org.apache.slide.webdav.WebdavServlet.service&#40;WebdavServlet.java:155&#41;
        at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java:853&#41;
        at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService&#40;StrictServletInstance.java:110&#41;
(Continue reading)


Gmane