login problem

View: New views
9 Messages — Rating Filter:   Alert me  

login problem

by Pierre Pönisch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Today I have installed Agile for the first time. Twister 0.3 is also running
on my WinXP machine.

First of all I had a problem with maven. The file jcs-1.0-dev.jar could not
be downloaded by maven, so I searched it by google and downloaded it by
hand. After that I had to change my build.properties and added the following
two lines:

maven.jar.override = on
maven.jar.jcs = <path>\jcs-1.0-dev.jar

Now the build with maven worked fine. I am sure there is an easier
workaround for this, but it works. Maybe someone can fix that.

After deploying Agila to Tomcat I get the following error when I try to log
in:

2006-02-18 12:45:34,750 DEBUG http-8080-Processor25
org.apache.agila.bpel.web.security.action.LoginAction - Authenticating user
admin
2006-02-18 12:45:34,796 INFO http-8080-Processor23
org.apache.agila.bpel.user.priv.AgilaUserImpl - User with username admin
couldn't be authenticated, user not found.
2006-02-18 12:45:34,828 DEBUG http-8080-Processor25
org.apache.agila.bpel.web.security.action.LoginAction - Authentication
result false
2006-02-18 12:45:34,859 ERROR http-8080-Processor25
org.apache.agila.bpel.web.security.action.LoginAction -
org.apache.agila.bpel.user.exception.AgilaUserException:
org.apache.agila.bpel.engine.common.persistence.FinderException: User admin
doesn't exists !
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.apache.agila.bpel.user.exception.AgilaUserException:
org.apache.agila.bpel.engine.common.persistence.FinderException: User admin
doesn't exists !
 faultActor:
 faultNode:
 faultDetail:

The database is running and I also created the schema.

Some ideas about this? Thank you in advance for your help.


--
Pierre Poenisch
University of Technology Chemnitz, Germany
Pierre.Poenisch@...
Public Key: 0x82FB6ADE at keyserver.pgp.com
Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827


Re: login problem

by mriou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pierre,

You probably had an error when creating the database schema. Would you
rerun the script and see if you have any error or exception there?

Thanks,

Matthieu.

On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:

> Hi!
>
> Today I have installed Agile for the first time. Twister 0.3 is also running
> on my WinXP machine.
>
> First of all I had a problem with maven. The file jcs-1.0-dev.jar could not
> be downloaded by maven, so I searched it by google and downloaded it by
> hand. After that I had to change my build.properties and added the following
> two lines:
>
> maven.jar.override = on
> maven.jar.jcs = <path>\jcs-1.0-dev.jar
>
> Now the build with maven worked fine. I am sure there is an easier
> workaround for this, but it works. Maybe someone can fix that.
>
> After deploying Agila to Tomcat I get the following error when I try to log
> in:
>
> 2006-02-18 12:45:34,750 DEBUG http-8080-Processor25
> org.apache.agila.bpel.web.security.action.LoginAction - Authenticating user
> admin
> 2006-02-18 12:45:34,796 INFO http-8080-Processor23
> org.apache.agila.bpel.user.priv.AgilaUserImpl - User with username admin
> couldn't be authenticated, user not found.
> 2006-02-18 12:45:34,828 DEBUG http-8080-Processor25
> org.apache.agila.bpel.web.security.action.LoginAction - Authentication
> result false
> 2006-02-18 12:45:34,859 ERROR http-8080-Processor25
> org.apache.agila.bpel.web.security.action.LoginAction -
> org.apache.agila.bpel.user.exception.AgilaUserException:
> org.apache.agila.bpel.engine.common.persistence.FinderException: User admin
> doesn't exists !
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode:
>  faultString: org.apache.agila.bpel.user.exception.AgilaUserException:
> org.apache.agila.bpel.engine.common.persistence.FinderException: User admin
> doesn't exists !
>  faultActor:
>  faultNode:
>  faultDetail:
>
> The database is running and I also created the schema.
>
> Some ideas about this? Thank you in advance for your help.
>
>
> --
> Pierre Poenisch
> University of Technology Chemnitz, Germany
> Pierre.Poenisch@...
> Public Key: 0x82FB6ADE at keyserver.pgp.com
> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
>
>

Re: login problem

by Pierre Pönisch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Matthieu,

thanks for your hint. I found one error in the output of "maven db:create":

[...]
    [java] 7296 [main] INFO persistence.DBSessionManager  - Commiting
transaction with thread : Thread[main,5,main]
    [java] Hibernate: select roleimpl0_.id as id, roleimpl0_.name as name
from T_ROLE roleimpl0_ where (roleimpl0_.name=(?))
    [java] 7406 [main] ERROR persistence.PersistentDataAccess  - Problem
when updating a persistent object.
    [java]
org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
active persistence, the transaction has probably not been initialized in
thread Thread[main,5,main]
    [java] at
org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getActiveSe
ssion(DBSessionManager.java:129)
    [java] at
org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.create(
PersistentDataAccess.java:30)
    [java] at
org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUserImpl
.java:394)
    [java] at
org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.java:
73)
    [java] at
org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.java:4
9)
    [java] at
org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCreator.java:40)
    [java] at
org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
    [java]
org.apache.agila.bpel.engine.common.persistence.CreationException:
org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
active persistence, the transaction has probably not been initialized in
thread Thread[main,5,main]
    [java] at
org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.java:
75)
    [java] at
org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.java:4
9)
    [java] at
org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCreator.java:40)
    [java] at
org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
    [java] Caused by:
org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
active persistence, the transaction has probably not been initialized in
thread Thread[main,5,main]
    [java] at
org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.create(
PersistentDataAccess.java:37)
    [java] at
org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUserImpl
.java:394)
    [java] at
org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.java:
73)
    [java] ... 3 more
    [java] Caused by:
org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
active persistence, the transaction has probably not been initialized in
thread Thread[main,5,main]
    [java] at
org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getActiveSe
ssion(DBSessionManager.java:129)
    [java] at
org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.create(
PersistentDataAccess.java:30)
    [java] ... 5 more
BUILD SUCCESSFUL
Total time: 10 seconds
Finished at: Sat Feb 18 16:15:11 CET 2006

How can I fix this? Thanks!
Pierre

--
Pierre Poenisch
University of Technology Chemnitz, Germany
Pierre.Poenisch@...
Public Key: 0x82FB6ADE at keyserver.pgp.com
Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827

>-----Ursprüngliche Nachricht-----
>Von: Matthieu Riou [mailto:matthieu.riou@...]
>Gesendet: Samstag, 18. Februar 2006 14:19
>An: agila-user@...
>Betreff: Re: login problem
>
>Hi Pierre,
>
>You probably had an error when creating the database schema.
>Would you rerun the script and see if you have any error or
>exception there?
>
>Thanks,
>
>Matthieu.
>
>On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:
>> Hi!
>>
>> Today I have installed Agile for the first time. Twister 0.3 is also
>> running on my WinXP machine.
>>
>> First of all I had a problem with maven. The file jcs-1.0-dev.jar
>> could not be downloaded by maven, so I searched it by google and
>> downloaded it by hand. After that I had to change my
>build.properties
>> and added the following two lines:
>>
>> maven.jar.override = on
>> maven.jar.jcs = <path>\jcs-1.0-dev.jar
>>
>> Now the build with maven worked fine. I am sure there is an easier
>> workaround for this, but it works. Maybe someone can fix that.
>>
>> After deploying Agila to Tomcat I get the following error when I try
>> to log
>> in:
>>
>> 2006-02-18 12:45:34,750 DEBUG http-8080-Processor25
>> org.apache.agila.bpel.web.security.action.LoginAction -
>Authenticating
>> user admin
>> 2006-02-18 12:45:34,796 INFO http-8080-Processor23
>> org.apache.agila.bpel.user.priv.AgilaUserImpl - User with username
>> admin couldn't be authenticated, user not found.
>> 2006-02-18 12:45:34,828 DEBUG http-8080-Processor25
>> org.apache.agila.bpel.web.security.action.LoginAction -
>Authentication
>> result false
>> 2006-02-18 12:45:34,859 ERROR http-8080-Processor25
>> org.apache.agila.bpel.web.security.action.LoginAction -
>> org.apache.agila.bpel.user.exception.AgilaUserException:
>>
>org.apache.agila.bpel.engine.common.persistence.FinderException: User
>> admin doesn't exists !
>> AxisFault
>>  faultCode:
>> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>>  faultSubcode:
>>  faultString:
>org.apache.agila.bpel.user.exception.AgilaUserException:
>>
>org.apache.agila.bpel.engine.common.persistence.FinderException: User
>> admin doesn't exists !
>>  faultActor:
>>  faultNode:
>>  faultDetail:
>>
>> The database is running and I also created the schema.
>>
>> Some ideas about this? Thank you in advance for your help.
>>
>>
>> --
>> Pierre Poenisch
>> University of Technology Chemnitz, Germany
>> Pierre.Poenisch@...
>> Public Key: 0x82FB6ADE at keyserver.pgp.com
>> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
>>
>>
>


Build problem

by Darren Woods :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Am I using the wrong version of Maven? I get the following when trying to do
execute: 'maven buildall'

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

DEPRECATED: the default goal should be specified in the <build> section of
project.xml instead of maven.xml
Tag library requested that is not present: 'maven' in plugin: 'null'
Starting the reactor...

BUILD FAILED
File...... C:\EncircleBPM\agila\trunk\modules\bpel\maven.xml
Element... maven:reactor
Line...... 21
Column.... 66
Unknown error reading project
Total time   : 1 seconds
Finished at  : 18 February 2006 15:24:08 GMT

Thanks,
Darren

-----Original Message-----
From: Matthieu Riou [mailto:matthieu.riou@...]
Sent: 18 February 2006 13:19
To: agila-user@...
Subject: Re: login problem

Hi Pierre,

You probably had an error when creating the database schema. Would you
rerun the script and see if you have any error or exception there?

Thanks,

Matthieu.

On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:
> Hi!
>
> Today I have installed Agile for the first time. Twister 0.3 is also
running
> on my WinXP machine.
>
> First of all I had a problem with maven. The file jcs-1.0-dev.jar could
not
> be downloaded by maven, so I searched it by google and downloaded it by
> hand. After that I had to change my build.properties and added the
following
> two lines:
>
> maven.jar.override = on
> maven.jar.jcs = <path>\jcs-1.0-dev.jar
>
> Now the build with maven worked fine. I am sure there is an easier
> workaround for this, but it works. Maybe someone can fix that.
>
> After deploying Agila to Tomcat I get the following error when I try to
log
> in:
>
> 2006-02-18 12:45:34,750 DEBUG http-8080-Processor25
> org.apache.agila.bpel.web.security.action.LoginAction - Authenticating
user

> admin
> 2006-02-18 12:45:34,796 INFO http-8080-Processor23
> org.apache.agila.bpel.user.priv.AgilaUserImpl - User with username admin
> couldn't be authenticated, user not found.
> 2006-02-18 12:45:34,828 DEBUG http-8080-Processor25
> org.apache.agila.bpel.web.security.action.LoginAction - Authentication
> result false
> 2006-02-18 12:45:34,859 ERROR http-8080-Processor25
> org.apache.agila.bpel.web.security.action.LoginAction -
> org.apache.agila.bpel.user.exception.AgilaUserException:
> org.apache.agila.bpel.engine.common.persistence.FinderException: User
admin
> doesn't exists !
> AxisFault
>  faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode:
>  faultString: org.apache.agila.bpel.user.exception.AgilaUserException:
> org.apache.agila.bpel.engine.common.persistence.FinderException: User
admin

> doesn't exists !
>  faultActor:
>  faultNode:
>  faultDetail:
>
> The database is running and I also created the schema.
>
> Some ideas about this? Thank you in advance for your help.
>
>
> --
> Pierre Poenisch
> University of Technology Chemnitz, Germany
> Pierre.Poenisch@...
> Public Key: 0x82FB6ADE at keyserver.pgp.com
> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
>
>




Re: Build problem

by Davide Ling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Saturday 18 February 2006 17:27, Darren Woods wrote:
> Hi,
>
> Am I using the wrong version of Maven? I get the following when trying to
> do execute: 'maven buildall'
>

Try with maven 1.0.2

I use It and It works.

--
Davide Ling
Sito Personale - http://davideling.altervista.org
Key fingerprint = 284A 0FB9 F9F6 763C D429  E02B AA5D 483A 7E45 D2A6

Re: login problem

by mriou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you describe your environment a bit further? JDK version, the
database you're using, any specificities in your classpath? This
normally shouldn't happen so it's specific to your environment.

On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:

> Hi Matthieu,
>
> thanks for your hint. I found one error in the output of "maven db:create":
>
> [...]
>     [java] 7296 [main] INFO persistence.DBSessionManager  - Commiting
> transaction with thread : Thread[main,5,main]
>     [java] Hibernate: select roleimpl0_.id as id, roleimpl0_.name as name
> from T_ROLE roleimpl0_ where (roleimpl0_.name=(?))
>     [java] 7406 [main] ERROR persistence.PersistentDataAccess  - Problem
> when updating a persistent object.
>     [java]
> org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> active persistence, the transaction has probably not been initialized in
> thread Thread[main,5,main]
>     [java]      at
> org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getActiveSe
> ssion(DBSessionManager.java:129)
>     [java]      at
> org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.create(
> PersistentDataAccess.java:30)
>     [java]      at
> org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUserImpl
> .java:394)
>     [java]      at
> org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.java:
> 73)
>     [java]      at
> org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.java:4
> 9)
>     [java]      at
> org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCreator.java:40)
>     [java]      at
> org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
>     [java]
> org.apache.agila.bpel.engine.common.persistence.CreationException:
> org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
> org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> active persistence, the transaction has probably not been initialized in
> thread Thread[main,5,main]
>     [java]      at
> org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.java:
> 75)
>     [java]      at
> org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.java:4
> 9)
>     [java]      at
> org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCreator.java:40)
>     [java]      at
> org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
>     [java] Caused by:
> org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
> org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> active persistence, the transaction has probably not been initialized in
> thread Thread[main,5,main]
>     [java]      at
> org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.create(
> PersistentDataAccess.java:37)
>     [java]      at
> org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUserImpl
> .java:394)
>     [java]      at
> org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.java:
> 73)
>     [java]      ... 3 more
>     [java] Caused by:
> org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> active persistence, the transaction has probably not been initialized in
> thread Thread[main,5,main]
>     [java]      at
> org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getActiveSe
> ssion(DBSessionManager.java:129)
>     [java]      at
> org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.create(
> PersistentDataAccess.java:30)
>     [java]      ... 5 more
> BUILD SUCCESSFUL
> Total time: 10 seconds
> Finished at: Sat Feb 18 16:15:11 CET 2006
>
> How can I fix this? Thanks!
> Pierre
>
> --
> Pierre Poenisch
> University of Technology Chemnitz, Germany
> Pierre.Poenisch@...
> Public Key: 0x82FB6ADE at keyserver.pgp.com
> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
>
> >-----Ursprüngliche Nachricht-----
> >Von: Matthieu Riou [mailto:matthieu.riou@...]
> >Gesendet: Samstag, 18. Februar 2006 14:19
> >An: agila-user@...
> >Betreff: Re: login problem
> >
> >Hi Pierre,
> >
> >You probably had an error when creating the database schema.
> >Would you rerun the script and see if you have any error or
> >exception there?
> >
> >Thanks,
> >
> >Matthieu.
> >
> >On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:
> >> Hi!
> >>
> >> Today I have installed Agile for the first time. Twister 0.3 is also
> >> running on my WinXP machine.
> >>
> >> First of all I had a problem with maven. The file jcs-1.0-dev.jar
> >> could not be downloaded by maven, so I searched it by google and
> >> downloaded it by hand. After that I had to change my
> >build.properties
> >> and added the following two lines:
> >>
> >> maven.jar.override = on
> >> maven.jar.jcs = <path>\jcs-1.0-dev.jar
> >>
> >> Now the build with maven worked fine. I am sure there is an easier
> >> workaround for this, but it works. Maybe someone can fix that.
> >>
> >> After deploying Agila to Tomcat I get the following error when I try
> >> to log
> >> in:
> >>
> >> 2006-02-18 12:45:34,750 DEBUG http-8080-Processor25
> >> org.apache.agila.bpel.web.security.action.LoginAction -
> >Authenticating
> >> user admin
> >> 2006-02-18 12:45:34,796 INFO http-8080-Processor23
> >> org.apache.agila.bpel.user.priv.AgilaUserImpl - User with username
> >> admin couldn't be authenticated, user not found.
> >> 2006-02-18 12:45:34,828 DEBUG http-8080-Processor25
> >> org.apache.agila.bpel.web.security.action.LoginAction -
> >Authentication
> >> result false
> >> 2006-02-18 12:45:34,859 ERROR http-8080-Processor25
> >> org.apache.agila.bpel.web.security.action.LoginAction -
> >> org.apache.agila.bpel.user.exception.AgilaUserException:
> >>
> >org.apache.agila.bpel.engine.common.persistence.FinderException: User
> >> admin doesn't exists !
> >> AxisFault
> >>  faultCode:
> >> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >>  faultSubcode:
> >>  faultString:
> >org.apache.agila.bpel.user.exception.AgilaUserException:
> >>
> >org.apache.agila.bpel.engine.common.persistence.FinderException: User
> >> admin doesn't exists !
> >>  faultActor:
> >>  faultNode:
> >>  faultDetail:
> >>
> >> The database is running and I also created the schema.
> >>
> >> Some ideas about this? Thank you in advance for your help.
> >>
> >>
> >> --
> >> Pierre Poenisch
> >> University of Technology Chemnitz, Germany
> >> Pierre.Poenisch@...
> >> Public Key: 0x82FB6ADE at keyserver.pgp.com
> >> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
> >>
> >>
> >
>
>

AW: login problem

by Pierre Pönisch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Here are some information about my environment:

WinXP SP2
jdk1.5.0_06
jakarta-tomcat-5.0.28
apache-ant-1.6.5
xml-xindice-1.1b4
maven-1.0.2
twister-0.3
activebpel-2.0.0_M2

I am using hsql (hsqldb-1.7.2.2.jar) as dbms. I didn't change anything in
the classpath. I have Twister 0.3 also running with hsql and it is working
fine. Anything else I can try?

--
Pierre Poenisch
University of Technology Chemnitz, Germany
Pierre.Poenisch@...
Public Key: 0x82FB6ADE at keyserver.pgp.com
Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827

>-----Ursprüngliche Nachricht-----
>Von: Matthieu Riou [mailto:matthieu.riou@...]
>Gesendet: Samstag, 18. Februar 2006 19:50
>An: agila-user@...
>Betreff: Re: login problem
>
>Could you describe your environment a bit further? JDK
>version, the database you're using, any specificities in your
>classpath? This normally shouldn't happen so it's specific to
>your environment.
>
>On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:
>> Hi Matthieu,
>>
>> thanks for your hint. I found one error in the output of
>"maven db:create":
>>
>> [...]
>>     [java] 7296 [main] INFO persistence.DBSessionManager  -
>Commiting
>> transaction with thread : Thread[main,5,main]
>>     [java] Hibernate: select roleimpl0_.id as id, roleimpl0_.name as
>> name from T_ROLE roleimpl0_ where (roleimpl0_.name=(?))
>>     [java] 7406 [main] ERROR persistence.PersistentDataAccess  -
>> Problem when updating a persistent object.
>>     [java]
>>
>org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
>> active persistence, the transaction has probably not been
>initialized
>> in thread Thread[main,5,main]
>>     [java]      at
>>
>org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getAc
>> tiveSe
>> ssion(DBSessionManager.java:129)
>>     [java]      at
>>
>org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.c
>> reate(
>> PersistentDataAccess.java:30)
>>     [java]      at
>>
>org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUs
>> erImpl
>> .java:394)
>>     [java]      at
>>
>org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaU
>serImpl.java:
>> 73)
>>     [java]      at
>>
>org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.
>> java:4
>> 9)
>>     [java]      at
>>
>org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCre
>ator.java:40)
>>     [java]      at
>> org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
>>     [java]
>> org.apache.agila.bpel.engine.common.persistence.CreationException:
>> org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
>>
>org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
>> active persistence, the transaction has probably not been
>initialized
>> in thread Thread[main,5,main]
>>     [java]      at
>>
>org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaU
>serImpl.java:
>> 75)
>>     [java]      at
>>
>org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.
>> java:4
>> 9)
>>     [java]      at
>>
>org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCre
>ator.java:40)
>>     [java]      at
>> org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
>>     [java] Caused by:
>> org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
>>
>org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
>> active persistence, the transaction has probably not been
>initialized
>> in thread Thread[main,5,main]
>>     [java]      at
>>
>org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.c
>> reate(
>> PersistentDataAccess.java:37)
>>     [java]      at
>>
>org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUs
>> erImpl
>> .java:394)
>>     [java]      at
>>
>org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaU
>serImpl.java:
>> 73)
>>     [java]      ... 3 more
>>     [java] Caused by:
>>
>org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
>> active persistence, the transaction has probably not been
>initialized
>> in thread Thread[main,5,main]
>>     [java]      at
>>
>org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getAc
>> tiveSe
>> ssion(DBSessionManager.java:129)
>>     [java]      at
>>
>org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.c
>> reate(
>> PersistentDataAccess.java:30)
>>     [java]      ... 5 more
>> BUILD SUCCESSFUL
>> Total time: 10 seconds
>> Finished at: Sat Feb 18 16:15:11 CET 2006
>>
>> How can I fix this? Thanks!
>> Pierre
>>
>> --
>> Pierre Poenisch
>> University of Technology Chemnitz, Germany
>> Pierre.Poenisch@...
>> Public Key: 0x82FB6ADE at keyserver.pgp.com
>> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
>>
>> >-----Ursprüngliche Nachricht-----
>> >Von: Matthieu Riou [mailto:matthieu.riou@...]
>> >Gesendet: Samstag, 18. Februar 2006 14:19
>> >An: agila-user@...
>> >Betreff: Re: login problem
>> >
>> >Hi Pierre,
>> >
>> >You probably had an error when creating the database schema.
>> >Would you rerun the script and see if you have any error or
>exception
>> >there?
>> >
>> >Thanks,
>> >
>> >Matthieu.
>> >
>> >On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:
>> >> Hi!
>> >>
>> >> Today I have installed Agile for the first time. Twister 0.3 is
>> >> also running on my WinXP machine.
>> >>
>> >> First of all I had a problem with maven. The file jcs-1.0-dev.jar
>> >> could not be downloaded by maven, so I searched it by google and
>> >> downloaded it by hand. After that I had to change my
>> >build.properties
>> >> and added the following two lines:
>> >>
>> >> maven.jar.override = on
>> >> maven.jar.jcs = <path>\jcs-1.0-dev.jar
>> >>
>> >> Now the build with maven worked fine. I am sure there is
>an easier
>> >> workaround for this, but it works. Maybe someone can fix that.
>> >>
>> >> After deploying Agila to Tomcat I get the following error when I
>> >> try to log
>> >> in:
>> >>
>> >> 2006-02-18 12:45:34,750 DEBUG http-8080-Processor25
>> >> org.apache.agila.bpel.web.security.action.LoginAction -
>> >Authenticating
>> >> user admin
>> >> 2006-02-18 12:45:34,796 INFO http-8080-Processor23
>> >> org.apache.agila.bpel.user.priv.AgilaUserImpl - User with
>username
>> >> admin couldn't be authenticated, user not found.
>> >> 2006-02-18 12:45:34,828 DEBUG http-8080-Processor25
>> >> org.apache.agila.bpel.web.security.action.LoginAction -
>> >Authentication
>> >> result false
>> >> 2006-02-18 12:45:34,859 ERROR http-8080-Processor25
>> >> org.apache.agila.bpel.web.security.action.LoginAction -
>> >> org.apache.agila.bpel.user.exception.AgilaUserException:
>> >>
>>
>>org.apache.agila.bpel.engine.common.persistence.FinderException: User
>> >> admin doesn't exists !
>> >> AxisFault
>> >>  faultCode:
>> >> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>> >>  faultSubcode:
>> >>  faultString:
>> >org.apache.agila.bpel.user.exception.AgilaUserException:
>> >>
>>
>>org.apache.agila.bpel.engine.common.persistence.FinderException: User
>> >> admin doesn't exists !
>> >>  faultActor:
>> >>  faultNode:
>> >>  faultDetail:
>> >>
>> >> The database is running and I also created the schema.
>> >>
>> >> Some ideas about this? Thank you in advance for your help.
>> >>
>> >>
>> >> --
>> >> Pierre Poenisch
>> >> University of Technology Chemnitz, Germany
>> >> Pierre.Poenisch@...
>> >> Public Key: 0x82FB6ADE at keyserver.pgp.com
>> >> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
>> >>
>> >>
>> >
>>
>>
>


RE: Build problem

by Darren Woods :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks David. Maven 1.0.2 works fine... I've now deployed the web apps, and
things are looking good. Only I now get the following output from the
happyaxis jsp:

Error: could not find class javax.activation.DataHandler from file
activation.jar
Axis will not work
See http://java.sun.com/products/javabeans/glasgow/jaf.html


Optional Components
Warning: could not find class javax.mail.internet.MimeMessage from file
mail.jar
Attachments will not work
See http://java.sun.com/products/javamail/


Warning: could not find class org.apache.xml.security.Init from file
xmlsec.jar
XML Security is not supported
See http://xml.apache.org/security/

Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory) at an
unknown location


1 core axis library is missing2 optional axis libraries are missing


Could anyone tell me how to resolve the Axis problem with the activation.jar
file?

Thanks,
Darren

-----Original Message-----
From: Davide Ling [mailto:lingda@...]
Sent: 18 February 2006 16:37
To: agila-user@...
Subject: Re: Build problem

On Saturday 18 February 2006 17:27, Darren Woods wrote:
> Hi,
>
> Am I using the wrong version of Maven? I get the following when trying to
> do execute: 'maven buildall'
>

Try with maven 1.0.2

I use It and It works.

--
Davide Ling
Sito Personale - http://davideling.altervista.org
Key fingerprint = 284A 0FB9 F9F6 763C D429  E02B AA5D 483A 7E45 D2A6




Re: login problem

by mriou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, try to rebuild and run with a jdk 1.4.x. It seems that the
transactional aspect doesn't get applied properly and that might be
the cause.

Thanks,

Matthieu.

On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:

> Hi!
>
> Here are some information about my environment:
>
> WinXP SP2
> jdk1.5.0_06
> jakarta-tomcat-5.0.28
> apache-ant-1.6.5
> xml-xindice-1.1b4
> maven-1.0.2
> twister-0.3
> activebpel-2.0.0_M2
>
> I am using hsql (hsqldb-1.7.2.2.jar) as dbms. I didn't change anything in
> the classpath. I have Twister 0.3 also running with hsql and it is working
> fine. Anything else I can try?
>
> --
> Pierre Poenisch
> University of Technology Chemnitz, Germany
> Pierre.Poenisch@...
> Public Key: 0x82FB6ADE at keyserver.pgp.com
> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
>
> >-----Ursprüngliche Nachricht-----
> >Von: Matthieu Riou [mailto:matthieu.riou@...]
> >Gesendet: Samstag, 18. Februar 2006 19:50
> >An: agila-user@...
> >Betreff: Re: login problem
> >
> >Could you describe your environment a bit further? JDK
> >version, the database you're using, any specificities in your
> >classpath? This normally shouldn't happen so it's specific to
> >your environment.
> >
> >On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:
> >> Hi Matthieu,
> >>
> >> thanks for your hint. I found one error in the output of
> >"maven db:create":
> >>
> >> [...]
> >>     [java] 7296 [main] INFO persistence.DBSessionManager  -
> >Commiting
> >> transaction with thread : Thread[main,5,main]
> >>     [java] Hibernate: select roleimpl0_.id as id, roleimpl0_.name as
> >> name from T_ROLE roleimpl0_ where (roleimpl0_.name=(?))
> >>     [java] 7406 [main] ERROR persistence.PersistentDataAccess  -
> >> Problem when updating a persistent object.
> >>     [java]
> >>
> >org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> >> active persistence, the transaction has probably not been
> >initialized
> >> in thread Thread[main,5,main]
> >>     [java]      at
> >>
> >org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getAc
> >> tiveSe
> >> ssion(DBSessionManager.java:129)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.c
> >> reate(
> >> PersistentDataAccess.java:30)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUs
> >> erImpl
> >> .java:394)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaU
> >serImpl.java:
> >> 73)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.
> >> java:4
> >> 9)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCre
> >ator.java:40)
> >>     [java]      at
> >> org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
> >>     [java]
> >> org.apache.agila.bpel.engine.common.persistence.CreationException:
> >> org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
> >>
> >org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> >> active persistence, the transaction has probably not been
> >initialized
> >> in thread Thread[main,5,main]
> >>     [java]      at
> >>
> >org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaU
> >serImpl.java:
> >> 75)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.
> >> java:4
> >> 9)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.util.SchemaCreator.createSchema(SchemaCre
> >ator.java:40)
> >>     [java]      at
> >> org.apache.agila.bpel.util.SchemaCreator.main(SchemaCreator.java:71)
> >>     [java] Caused by:
> >> org.apache.agila.bpel.engine.common.persistence.DBRuntimeException:
> >>
> >org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> >> active persistence, the transaction has probably not been
> >initialized
> >> in thread Thread[main,5,main]
> >>     [java]      at
> >>
> >org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.c
> >> reate(
> >> PersistentDataAccess.java:37)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUs
> >> erImpl
> >> .java:394)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaU
> >serImpl.java:
> >> 73)
> >>     [java]      ... 3 more
> >>     [java] Caused by:
> >>
> >org.apache.agila.bpel.engine.common.persistence.DBSessionException: No
> >> active persistence, the transaction has probably not been
> >initialized
> >> in thread Thread[main,5,main]
> >>     [java]      at
> >>
> >org.apache.agila.bpel.engine.common.persistence.DBSessionManager.getAc
> >> tiveSe
> >> ssion(DBSessionManager.java:129)
> >>     [java]      at
> >>
> >org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.c
> >> reate(
> >> PersistentDataAccess.java:30)
> >>     [java]      ... 5 more
> >> BUILD SUCCESSFUL
> >> Total time: 10 seconds
> >> Finished at: Sat Feb 18 16:15:11 CET 2006
> >>
> >> How can I fix this? Thanks!
> >> Pierre
> >>
> >> --
> >> Pierre Poenisch
> >> University of Technology Chemnitz, Germany
> >> Pierre.Poenisch@...
> >> Public Key: 0x82FB6ADE at keyserver.pgp.com
> >> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
> >>
> >> >-----Ursprüngliche Nachricht-----
> >> >Von: Matthieu Riou [mailto:matthieu.riou@...]
> >> >Gesendet: Samstag, 18. Februar 2006 14:19
> >> >An: agila-user@...
> >> >Betreff: Re: login problem
> >> >
> >> >Hi Pierre,
> >> >
> >> >You probably had an error when creating the database schema.
> >> >Would you rerun the script and see if you have any error or
> >exception
> >> >there?
> >> >
> >> >Thanks,
> >> >
> >> >Matthieu.
> >> >
> >> >On 2/18/06, Pierre Pönisch <pierre_poenisch@...> wrote:
> >> >> Hi!
> >> >>
> >> >> Today I have installed Agile for the first time. Twister 0.3 is
> >> >> also running on my WinXP machine.
> >> >>
> >> >> First of all I had a problem with maven. The file jcs-1.0-dev.jar
> >> >> could not be downloaded by maven, so I searched it by google and
> >> >> downloaded it by hand. After that I had to change my
> >> >build.properties
> >> >> and added the following two lines:
> >> >>
> >> >> maven.jar.override = on
> >> >> maven.jar.jcs = <path>\jcs-1.0-dev.jar
> >> >>
> >> >> Now the build with maven worked fine. I am sure there is
> >an easier
> >> >> workaround for this, but it works. Maybe someone can fix that.
> >> >>
> >> >> After deploying Agila to Tomcat I get the following error when I
> >> >> try to log
> >> >> in:
> >> >>
> >> >> 2006-02-18 12:45:34,750 DEBUG http-8080-Processor25
> >> >> org.apache.agila.bpel.web.security.action.LoginAction -
> >> >Authenticating
> >> >> user admin
> >> >> 2006-02-18 12:45:34,796 INFO http-8080-Processor23
> >> >> org.apache.agila.bpel.user.priv.AgilaUserImpl - User with
> >username
> >> >> admin couldn't be authenticated, user not found.
> >> >> 2006-02-18 12:45:34,828 DEBUG http-8080-Processor25
> >> >> org.apache.agila.bpel.web.security.action.LoginAction -
> >> >Authentication
> >> >> result false
> >> >> 2006-02-18 12:45:34,859 ERROR http-8080-Processor25
> >> >> org.apache.agila.bpel.web.security.action.LoginAction -
> >> >> org.apache.agila.bpel.user.exception.AgilaUserException:
> >> >>
> >>
> >>org.apache.agila.bpel.engine.common.persistence.FinderException: User
> >> >> admin doesn't exists !
> >> >> AxisFault
> >> >>  faultCode:
> >> >> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >> >>  faultSubcode:
> >> >>  faultString:
> >> >org.apache.agila.bpel.user.exception.AgilaUserException:
> >> >>
> >>
> >>org.apache.agila.bpel.engine.common.persistence.FinderException: User
> >> >> admin doesn't exists !
> >> >>  faultActor:
> >> >>  faultNode:
> >> >>  faultDetail:
> >> >>
> >> >> The database is running and I also created the schema.
> >> >>
> >> >> Some ideas about this? Thank you in advance for your help.
> >> >>
> >> >>
> >> >> --
> >> >> Pierre Poenisch
> >> >> University of Technology Chemnitz, Germany
> >> >> Pierre.Poenisch@...
> >> >> Public Key: 0x82FB6ADE at keyserver.pgp.com
> >> >> Fingerprint: CB7F F23F D950 644D 838B  215A 550F 75EC 64D9 6827
> >> >>
> >> >>
> >> >
> >>
> >>
> >
>
>