But the timeoutHint doesn't work! !
El 30/08/2010 8:24, KÖLL Claus c.ko...@tirol.gv.at escribió:
Hi,
see LockManager.lock(NodeImpl node, boolean isDeep, boolean isSessionScoped,
long timoutHint, String ownerInfo)
where you can give a timoutHint.
greets
claus
-Ursprüngliche Nachricht-
, JOSE FELIX HERNANDEZ BARRIO wrote:
hi,
i'm trying to extract a node from the repository given de node identifier
(the one returned by node.getIdentifier)
i've tried:
//*...@jcr:identifier='abbe81d4-5d5b-457e-901f-7ffdb0cef7fa']
with no results
any tip?
--
Jose Hernandez
hi,
i'm trying to implement these charecteristics:
- block a user after 5 wrong passwords
- force the user to change the password after a number of days
i've a full java application in front of the repository, so i don't need to
implement every thing inside the securityManager.
i've thought in
hi,
what is the meaning of default values ?
i have the following definition in a cnd file
- kpn:adjuntoContrato (boolean) = 'false'
but if i don't create the property it doesn't exist in the node
thx
--
Jose Hernandez
675599600
Isthari
http://www.isthari.com
Hi,
later i reopen a session get the same node a call
node.isLocked ();
and this return false
if i call node.getProperty(jcr:lockOwner); returns void
2010/7/6 Jukka Zitting jukka.zitt...@gmail.com
Hi,
On Tue, Jul 6, 2010 at 12:50 AM, JOSE FELIX HERNANDEZ BARRIO
jose.hernan
());
Thread.sleep(1000);
}
the output:
91310ee2-3177-4616-9fee-5b0d80d76e30-T
true1
false-1
false-1
false-1
false-1
false-1
the node is locked only for a second !!
2010/7/6 JOSE FELIX HERNANDEZ BARRIO jose.hernan...@isthari.com
Hi,
later i reopen
More info,
if i set the timeout to 0, the node is locked nicely,
*is there an issue on the timeout mechanism ???*
2010/7/6 JOSE FELIX HERNANDEZ BARRIO jose.hernan...@isthari.com
still debuging this issue,
if i execute the code :
lock = manager.lock(node.getPath(), true, false
Hi,
i'm trying to lock a node for 30 minutes
lockManager.lock(node.getPath(), false, false, 1800, username);
session.save();
session.logout();
there's no exception
but the node doesn't get locked.
any tip ?
--
Jose Hernandez
675599600
Isthari
http://www.isthari.com
hi,
in a repository with 1 million records
if i execute the query :
select * from test:Contracts where test:Id like 'B1%'
it returns 1000 results in about 0.3s
but if i execute the query
select * from test:Contracts where test:Id like 'B1%' order by test:Id
it returns the same 1000
hi,
in a repository with 1 million records
if i execute the query :
select * from test:Contracts where test:Id like 'B1%'
it returns 1000 results in about 0.3s
but if i execute the query
select * from test:Contracts where test:Id like 'B1%' order by
test:Id
it
how long does the second time take, for example when you search on
'B2%' order by test:Id.
you're ok the second time it's really fast (0.06s)
The first time, Lucene has to read all
terms for test:Id into memory, which can take some time (also
depending on your FS and whether
hi,
i have a folder called contracts i want to deny read permission for everyone
except an specific group, how can i do that?
i've managed to add writer permissions to a group but not to deny read
permission for everyone else.
thx
--
Jose Hernandez
675599600
Isthari
http://www.isthari.com
hi,
i've created a node type from nt:folder that has the mixing
mix:lastModified.
when i create a node the lastModified and created properties are
instantiated correctly
but when i modify the node properties the lastModified property doesn't
change
any tip ?
--
Jose Hernandez
675599600
is there any way to rollback a transaction from a syncrhonous event
listener?
for example, the user insert a node the event listener is called and an
exception raise inside so we want to rollback the transaction.
--
Jose Hernandez
675599600
Isthari
http://www.isthari.com
://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/api/management/DataStoreGarbageCollector.html
Regards,
Thomas
On Mon, May 3, 2010 at 11:25 AM, JOSE FELIX HERNANDEZ BARRIO
jose.hernan...@isthari.com wrote:
api 2.1.0
In the interface
DataStoreGarbageCollectorthe following example
Hi,
I'm inserting pdf in the repository and get the exception:
2010-04-28 10:25:28,174 INFO [SearchIndex.java] [doInit] Index initialized:
C:\Archivos de programa\Apache Tomcat
Foundation\apache-tomcat-6.0.13\jackrabbit/repository/index Version: 3
2010-04-28 10:25:33,250 INFO [Recovery.java]
=*org.apache.jackrabbit.extractor.PlainTextExtractor*/
param name=extractorPoolSize value=2/
param name=supportHighlighting value=true/
/SearchIndex
2010/4/28 Jukka Zitting jukka.zitt...@gmail.com
Hi,
On Wed, Apr 28, 2010 at 10:50 AM, JOSE FELIX HERNANDEZ BARRIO
is there any limitation on the size of the pdf the extractor can manage ?
we're working with files around 16mb in size.
2010/4/28 JOSE FELIX HERNANDEZ BARRIO jose.hernan...@isthari.com
I don't want to index the content of the pdf for full text search,
can i disable it using
Hi,
2010/4/24 Rob Brown rlb.so...@gmail.com
I'm trying to enhance SimpleJBossAccessManager to use information from our
user database. I'm hoping that someone can answer a few questions for me:
1) How should I test for permissions now that READ, WRITE REMOVE are
deprecated? i.e. if
correction about previous mail,
in 2.0.0 the server hangs forever . . .
in 2.1.0 every thing works fine.
2010/4/19 Thomas Müller thomas.muel...@day.com
Hi,
Could you create a full thread dump and post it? Also, please provide
the jackrabbit version number (the easiest is probably the
When setting a binary property with this code:
pdf = factura.addNode(invoice.getNombre()+.pdf, nt:file);
bin = pdf.addNode(jcr:content, nt:resource);
bin.setProperty(jcr:mimeType, application/pdf);
bin.setProperty(jcr:data,new
hi,
I'm inserting data in batch process (near 200.000 items). At start time the
process it's very quick, but after a few minutes the process performance go
down. I've noticed that this happens when LRUNodeIdCache is full. Reviewing
the source code for this class (LRUNodeIdCache) I've seen that
i would suggest create a class, that extends JcrSessionFactory, and
authenticates agains spring-security (obtaining the user from the
securitycontext).
i think this class would be a very interesting improvement to spring-jcr.
2010/3/19 Nils Weinander nils.weinan...@mogul.com
Trying to wrap my
Hi,
I'm trying to search between two dates:
select * from temp where( date='2010-02-01' and date='2010-02-11')
but the result is wrong
i've also tryed the examples:
select * from test where a=cast('+2001-01-01T01:02:03.000Z' as date)
i obtained a invalid query exception
any tip ??
--
Jose
thank you Alexander it works.
but ... is there any data type which only includes date and not includes
time ?
2010/3/17 Alexander Klimetschek aklim...@day.com
On Wed, Mar 17, 2010 at 13:34, JOSE FELIX HERNANDEZ BARRIO
jose.hernan...@isthari.com wrote:
I'm trying to search between two
i've tryed:
select * from temp where( date_ =cast ('2010-02-01' as date))
and it results on InvalidQueryException
2010/3/17 Thomas Müller thomas.muel...@day.com
Hi,
but ... is there any data type which only includes date and not includes
time ?
Yes: DATE.
cast(... as date)
Regards,
This solution works in jackrabbit 2.0.0 and it's not deprecated
CndImporter.registerNodeTypes(cndfile, session);
2010/3/17 Stefan Guggisberg stefan.guggisb...@gmail.com
On Wed, Mar 17, 2010 at 4:11 PM, Rodrigo Meza
rodrigo.meza.fo...@gmail.com wrote:
On Mon, Mar 8, 2010 at 7:06 AM,
Hi,
I need to execute a piece of code each time a user read a node/property to
keep a log of every access.
I've seen Observation but it appears to be useful only for add/edit/remove
operation.
any tip?
thanx
--
Jose Hernandez
675599600
Isthari
http://www.isthari.com
I'm getting the same error always. the same if a create a new repository
from the web page or configure an existing one.
can anybody help me ?
the full stacktrace (for a configured one)
02.03.2010 21:14:57 *INFO * root: Logging initialized. (LoggingServlet.java,
line 87)
02.03.2010 21:14:57
29 matches
Mail list logo