Amit Sharma | 3 Oct 10:40
Favicon

Problem integrating Slide with Jboss 3.2.7

Hi,

I am using Slide with Jboss 3.2.7. I have been able to successfully
integrate it with JBoss 3.2.7 by doing the entire configuration mentioned at
this page:

http://wiki.apache.org/jakarta-slide/JbossSetup

However I need to provide password protected access to jmx-console in
production. When I enable the authentication to jmx-console I get a slide
error with the following trace:

14:09:26,823 WARN  [JAASRealm] Login exception authenticating username
"null"
javax.security.auth.login.LoginException: unable to find LoginModule class:
org.apache.slide.jaas.spi.SlideLoginModule
      at
javax.security.auth.login.LoginContext.invoke(LoginContext.java:711)
      at
javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
      at java.security.AccessController.doPrivileged(Native Method)
      at
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
      at
org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:376)
      at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthe
nticator.java:129)
(Continue reading)

orazioler | 3 Oct 14:44
Picon
Favicon

Re: Problem integrating Slide with Jboss 3.2.7

Hi
Are u sure that you have slide-jaas2.1.jar in slide folder? it seems JBoss
doesn't find it.. I have correctly installed slide in JBoss with
authentication but I had many problems with jar positioning! Be sure aren't
duplicated jar.

----- Original Message -----
From: "Amit Sharma" <amits <at> nagarro.com>
To: "Slide" <slide-user <at> jakarta.apache.org>
Sent: Monday, October 03, 2005 10:40 AM
Subject: Problem integrating Slide with Jboss 3.2.7

> Hi,
>
> I am using Slide with Jboss 3.2.7. I have been able to successfully
> integrate it with JBoss 3.2.7 by doing the entire configuration mentioned
at
> this page:
>
> http://wiki.apache.org/jakarta-slide/JbossSetup
>
> However I need to provide password protected access to jmx-console in
> production. When I enable the authentication to jmx-console I get a slide
> error with the following trace:
>
>
> 14:09:26,823 WARN  [JAASRealm] Login exception authenticating username
> "null"
> javax.security.auth.login.LoginException: unable to find LoginModule
class:
(Continue reading)

Noureddine BEKRAR | 3 Oct 14:50
Picon

Re: MySqlStore, J2EEStore and TXStore access errors

The problem comes when i stress a slide server ( around of 15 concurent
users).

I got the same problem with the J2EE store and another problem with the
file system store:

HTTP Status 500 - Internal Server Error: Service
tx(org.apache.slide.store.ExtendedStore) access error :
java.lang.IllegalStateException at
org.apache.slide.transaction.SlideTransaction.delistResource(SlideTransactio
n.java:356) at
org.apache.slide.store.AbstractStore.delist(AbstractStore.java:1574) at
org.apache.slide.store.AbstractStore.delist(AbstractStore.java:1559) at
org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.java:581)
at org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:178)
at org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:341) at
org.apache.slide.content.ContentImpl.retrieve(ContentImpl.java:322) at
org.apache.slide.webdav.method.GetMethod.executeRequest(GetMethod.java:250)
at
org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod
.java:405) at
org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:155) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157) at
org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186) at
(Continue reading)

Prasad Dixit | 4 Oct 19:42
Picon

Changing the store location programmatically

Hi,

I want to change the Slide Store location programmatically depending on the USERHOME selected by the user.

Can somebody tell me how to do this? Is there any way to specify this in domain.xml itself (for eg.
%USERHOME%/store/location/ ) If not, how can I do that using the slide APIs programmatically.

Thanks in advance. 

Prasad

slide 2.2pre1

Hi all,

Do you know where I can download the lastest Slide 2.2 binary? I want to
use the new concurrency settings.

Thanks in advance for your help,
Tammy

tom_vleminckx | 5 Oct 17:21

LabelMethod problem

Hello,

I get the following exception when executing the labelMethod on a 
webdavResource :

java.lang.IllegalStateException: Action type and label name must be set 
before calling this function

But how can I set the type and label before executing this method?

Kind regards,

Tom Vleminckx

--------------------------------------------------
Inventive Designers' Email Disclaimer:

http://www.inventivedesigners.com/email-disclaimer
Kjetil Paulsen | 5 Oct 17:45
Picon
Gravatar

Domain.xml & MySQL

Could anyone provide me with an domain.xml that works out-of-the-box
with the empty mysql database provided by the distribution? I keep
getting an sql error saying "1109 on / : Unknonw table 'binding' in
MULTI DELETE' ...

-khp-

-Many secrets of art and nature are thought by the unlearned to be magical-
Noureddine BEKRAR | 5 Oct 17:51
Picon

Re: MySqlStore, J2EEStore and TXStore access errors


* all-methods-in-transactions (default "false") if enabled not only write,
but also read requests are executed inside of transactions; offers better
protection, but means more overhead
http://wiki.apache.org/jakarta-slide/ConcurrencyIssues

----- Original Message ----- 
From: "Noureddine BEKRAR" <nbekrar <at> jouve.fr>
To: "Slide Users Mailing List" <slide-user <at> jakarta.apache.org>
Sent: Monday, October 03, 2005 2:50 PM
Subject: Re: MySqlStore, J2EEStore and TXStore access errors

> The problem comes when i stress a slide server ( around of 15 concurent
> users).
>
> I got the same problem with the J2EE store and another problem with the
> file system store:
>
>
> HTTP Status 500 - Internal Server Error: Service
> tx(org.apache.slide.store.ExtendedStore) access error :
> java.lang.IllegalStateException at
>
org.apache.slide.transaction.SlideTransaction.delistResource(SlideTransactio
> n.java:356) at
> org.apache.slide.store.AbstractStore.delist(AbstractStore.java:1574) at
> org.apache.slide.store.AbstractStore.delist(AbstractStore.java:1559) at
>
org.apache.slide.store.ExtendedStore.retrieveObject(ExtendedStore.java:581)
> at
(Continue reading)

Noureddine BEKRAR | 5 Oct 17:53
Picon

Fw: MySqlStore, J2EEStore and TXStore access errors


 Sorry, this is the complete email:
 I fixed this problem by giving "false" value to the
 all-methods-in-transactions property of the Domain.xml file.

  * all-methods-in-transactions (default "false") if enabled not only write,
  but also read requests are executed inside of transactions; offers better
  protection, but means more overhead

  http://wiki.apache.org/jakarta-slide/ConcurrencyIssues

> > ----- Original Message ----- 
> > From: "Noureddine BEKRAR" <nbekrar <at> jouve.fr>
> > To: "Slide Users Mailing List" <slide-user <at> jakarta.apache.org>
> > Sent: Monday, October 03, 2005 2:50 PM
> > Subject: Re: MySqlStore, J2EEStore and TXStore access errors
> >
> >
> > > The problem comes when i stress a slide server ( around of 15
concurent
> > > users).
> > >
> > > I got the same problem with the J2EE store and another problem with
the
> > > file system store:
> > >
> > >
> > > HTTP Status 500 - Internal Server Error: Service
> > > tx(org.apache.slide.store.ExtendedStore) access error :
> > > java.lang.IllegalStateException at
(Continue reading)

MARENDY, Anthony | 6 Oct 01:03
Picon
Favicon

RE: LabelMethod problem

The WebdavResource.labelMethod() method accepts both an action type and
label name.

e.g. 
        WebdavResource res = new WebdavResource(...);
        res.labelMethod("Label", WebdavResource.LABEL_ADD);

Regards,
Anthony.

> -----Original Message-----
> From:	tom_vleminckx <at> inventivedesigners.com
> [SMTP:tom_vleminckx <at> inventivedesigners.com]
> Sent:	Thursday, October 06, 2005 1:22 AM
> To:	slide-user <at> jakarta.apache.org
> Subject:	LabelMethod problem
> 
> Hello,
> 
> I get the following exception when executing the labelMethod on a 
> webdavResource :
> 
> java.lang.IllegalStateException: Action type and label name must be set 
> before calling this function
> 
> But how can I set the type and label before executing this method?
> 
> Kind regards,
> 
> Tom Vleminckx
(Continue reading)


Gmane