From agila-user-return-174-apmail-incubator-agila-user-archive=www.apache.org@incubator.apache.org Sat Feb 18 16:02:00 2006 Return-Path: Delivered-To: apmail-incubator-agila-user-archive@www.apache.org Received: (qmail 69722 invoked from network); 18 Feb 2006 16:02:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Feb 2006 16:02:00 -0000 Received: (qmail 85510 invoked by uid 500); 18 Feb 2006 16:01:59 -0000 Mailing-List: contact agila-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: agila-user@incubator.apache.org Delivered-To: mailing list agila-user@incubator.apache.org Received: (qmail 85494 invoked by uid 99); 18 Feb 2006 16:01:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2006 08:01:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [134.109.132.2] (HELO john.hrz.tu-chemnitz.de) (134.109.132.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2006 08:01:56 -0800 Received: from 83-221-70-112.cable2.primacom.net ([83.221.70.112] helo=troy) by john.hrz.tu-chemnitz.de with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.60) (envelope-from ) id 1FAUWa-0008TP-CE for agila-user@incubator.apache.org; Sat, 18 Feb 2006 17:01:34 +0100 From: =?iso-8859-1?Q?Pierre_P=F6nisch?= To: Subject: Re: login problem Date: Sat, 18 Feb 2006 17:01:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcY0jfV4+71Hfu8XTqy3tqs42BgmjwAFbxfw X-Spam-Score: -1.4 (-) X-Spam-Report: --- Start der SpamAssassin 3.1.0 Textanalyse (-1.4 Punkte) Fragen an/questions to: Postmaster TU Chemnitz -1.4 ALL_TRUSTED Nachricht wurde nur ueber vertrauenswuerdige Rechner weitergeleitet --- Ende der SpamAssassin Textanalyse X-Scan-Signature: 313385591661053b919639ebdb4989c9 X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20060218160158.9323210FB00D@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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=3D(?)) [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.getActiv= eSe ssion(DBSessionManager.java:129) [java] at org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.crea= te( PersistentDataAccess.java:30) [java] at org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUserI= mpl .java:394) [java] at org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.ja= va: 73) [java] at org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.jav= a: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.ja= va: 75) [java] at org.apache.agila.bpel.util.SchemaCreator.initUsersRoles(SchemaCreator.jav= a: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.crea= te( PersistentDataAccess.java:37) [java] at org.apache.agila.bpel.user.priv.AgilaUserImpl.createOrUpdatePO(AgilaUserI= mpl .java:394) [java] at org.apache.agila.bpel.user.priv.AgilaUserImpl.createRole(AgilaUserImpl.ja= va: 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.getActiv= eSe ssion(DBSessionManager.java:129) [java] at org.apache.agila.bpel.engine.common.persistence.PersistentDataAccess.crea= te( 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 --=20 Pierre Poenisch University of Technology Chemnitz, Germany Pierre.Poenisch@s2000.TU-Chemnitz.de Public Key: 0x82FB6ADE at keyserver.pgp.com Fingerprint: CB7F F23F D950 644D 838B 215A 550F 75EC 64D9 6827=20 >-----Urspr=FCngliche Nachricht----- >Von: Matthieu Riou [mailto:matthieu.riou@gmail.com]=20 >Gesendet: Samstag, 18. Februar 2006 14:19 >An: agila-user@incubator.apache.org >Betreff: Re: login problem > >Hi Pierre, > >You probably had an error when creating the database schema.=20 >Would you rerun the script and see if you have any error or=20 >exception there? > >Thanks, > >Matthieu. > >On 2/18/06, Pierre P=F6nisch wrote: >> Hi! >> >> Today I have installed Agile for the first time. Twister 0.3 is also=20 >> running on my WinXP machine. >> >> First of all I had a problem with maven. The file jcs-1.0-dev.jar=20 >> could not be downloaded by maven, so I searched it by google and=20 >> downloaded it by hand. After that I had to change my=20 >build.properties=20 >> and added the following two lines: >> >> maven.jar.override =3D on >> maven.jar.jcs =3D \jcs-1.0-dev.jar >> >> Now the build with maven worked fine. I am sure there is an easier=20 >> workaround for this, but it works. Maybe someone can fix that. >> >> After deploying Agila to Tomcat I get the following error when I try=20 >> to log >> in: >> >> 2006-02-18 12:45:34,750 DEBUG http-8080-Processor25=20 >> org.apache.agila.bpel.web.security.action.LoginAction -=20 >Authenticating=20 >> user admin >> 2006-02-18 12:45:34,796 INFO http-8080-Processor23=20 >> org.apache.agila.bpel.user.priv.AgilaUserImpl - User with username=20 >> admin couldn't be authenticated, user not found. >> 2006-02-18 12:45:34,828 DEBUG http-8080-Processor25=20 >> org.apache.agila.bpel.web.security.action.LoginAction -=20 >Authentication=20 >> result false >> 2006-02-18 12:45:34,859 ERROR http-8080-Processor25=20 >> org.apache.agila.bpel.web.security.action.LoginAction - >> org.apache.agila.bpel.user.exception.AgilaUserException: >>=20 >org.apache.agila.bpel.engine.common.persistence.FinderException: User=20 >> admin doesn't exists ! >> AxisFault >> faultCode:=20 >> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException >> faultSubcode: >> faultString:=20 >org.apache.agila.bpel.user.exception.AgilaUserException: >>=20 >org.apache.agila.bpel.engine.common.persistence.FinderException: User=20 >> 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=20 >> Pierre.Poenisch@s2000.TU-Chemnitz.de >> Public Key: 0x82FB6ADE at keyserver.pgp.com >> Fingerprint: CB7F F23F D950 644D 838B 215A 550F 75EC 64D9 6827 >> >> >