Re: [appfuse-user] Error during integration-test using Oracle Database

2007-08-28 Thread Matt Raible
It's probably related to the following issue:

http://issues.appfuse.org/browse/APF-689

Suggested workaround:

Set your hibernate_sequence to a high enough value so that future
insertions do not produce unique key constraint violations. For
instance, if your highest key value in any of your tables is 182974,
then the following statement would work for you -

SQL> alter sequence hibernate_sequence increment by 182975 minvalue 0;

Matt

On 8/29/07, fadhli <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using Appfuse 2m5 Spring MVC Basic. I done testing on MySQL and
> everything went ok.
>
> But when I switched to Oracle, an error happened. The following is the error
> stack trace. Any ideas anyone? Matt?
>
> Running com.dnt.dao.UserDaoTest
> WARN - LoadContexts.cleanup(108) | fail-safe cleanup (collections) :
> org.hibernate.engine.loading.CollectionLoadContext@
> 1611aec<[EMAIL PROTECTED] >
> WARN - JDBCExceptionReporter.logExceptions(77) | SQL Error:
> 1, SQLState: 23000
> ERROR - JDBCExceptionReporter.logExceptions(78) |
> ORA-1: unique constraint (ESDB.SYS_C007348) violated
>
> WARN - JDBCExceptionReporter.logExceptions (77) | SQL
> Error: 1, SQLState: 23000
> ERROR - JDBCExceptionReporter.logExceptions(78) |
> ORA-1: unique constraint (ESDB.SYS_C007348) violated
>
> ERROR -
> AbstractFlushingEventListener.performExecutions(301) |
> Could not synchronize database state with session
> org.hibernate.exception.ConstraintViolationException: Could
> not execute JDBC batch update
> at
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
> at
> org.hibernate.exception.JDBCExceptionHelper.convert
> (JDBCExceptionHelper.java:43)
> at
> org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
> at
> org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)
> at org.hibernate.engine.ActionQueue.executeActions
> (ActionQueue.java:141)
> at
> org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:29
> 8)
> at
> org.hibernate.event.def.DefaultFlushEventListener.onFlush
> (DefaultFlushEventListener.java:27)
> at
> org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
> at
> org.springframework.orm.hibernate3.HibernateAccessor.flushIfNecessary(HibernateAccessor.java:390)
> at
> org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:373)
> at
> org.springframework.orm.hibernate3.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:686)
> at
> com.dnt.dao.hibernate.UserDaoHibernate.saveUser(UserDaoHibernate.java:36)
> at
> com.dnt.dao.UserDaoTest.testUpdateUser(UserDaoTest.java:62)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke (Method.java:585)
> at
> junit.framework.TestCase.runTest(TestCase.java:164)
> at
> junit.framework.TestCase.runBare(TestCase.java:130)
> at
> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java
> :69)
> at
> junit.framework.TestResult$1.protect(TestResult.java:106)
> at
> junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
>
>
>
> --
> /fadhli


-- 
http://raibledesigns.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[appfuse-user] Error during integration-test using Oracle Database

2007-08-28 Thread fadhli
Hello,

I'm using Appfuse 2m5 Spring MVC Basic. I done testing on MySQL and
everything went ok.

But when I switched to Oracle, an error happened. The following is the error
stack trace. Any ideas anyone? Matt?

Running com.dnt.dao.UserDaoTest
WARN - LoadContexts.cleanup(108) | fail-safe cleanup (collections) :
org.hibernate.engine.loading.CollectionLoadContext@
1611aec<[EMAIL PROTECTED]>
WARN - JDBCExceptionReporter.logExceptions(77) | SQL Error: 1, SQLState:
23000
ERROR - JDBCExceptionReporter.logExceptions(78) | ORA-1: unique
constraint (ESDB.SYS_C007348) violated

WARN - JDBCExceptionReporter.logExceptions(77) | SQL Error: 1, SQLState:
23000
ERROR - JDBCExceptionReporter.logExceptions(78) | ORA-1: unique
constraint (ESDB.SYS_C007348) violated

ERROR - AbstractFlushingEventListener.performExecutions(301) | Could not
synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC
batch update
at org.hibernate.exception.SQLStateConverter.convert(
SQLStateConverter.java:71)
at org.hibernate.exception.JDBCExceptionHelper.convert(
JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(
AbstractBatcher.java:253)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java
:237)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java
:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:29
8)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(
DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at
org.springframework.orm.hibernate3.HibernateAccessor.flushIfNecessary(
HibernateAccessor.java:390)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(
HibernateTemplate.java:373)
at org.springframework.orm.hibernate3.HibernateTemplate.saveOrUpdate
(HibernateTemplate.java:686)
at com.dnt.dao.hibernate.UserDaoHibernate.saveUser(
UserDaoHibernate.java:36)
at com.dnt.dao.UserDaoTest.testUpdateUser(UserDaoTest.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at org.springframework.test.ConditionalTestCase.runBare(
ConditionalTestCase.java:69)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)



-- 
/fadhli


Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-28 Thread mraible

FWIW - I've upgraded to hibernate-annotations 3.3.0.ga in SVN.

http://issues.appfuse.org/browse/APF-853

Matt


fadhlirahim wrote:
> 
> Sorry for replying so late Matt.I had a problem with composite id using
> annotations and I read from the hibernate forum to upgrade to the latest
> hibernate library files. I didnt' know I would've entered a whole new
> mess.
> 
> On 8/22/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>>
>> Sounds like a bug in hibernate-annotations, no? It doesn't look like
>> this JAR is in the central Maven repo, nor does hibernate-annotations
>> contain a dependency on it.
>>
>> Below are the versions of Hibernate we're currently using in AppFuse:
>>
>> 3.2.5.ga
>> 3.2.1.ga
>> 
>> 3.2.1.ga
>> 
>>
>> Why did you see the need to upgrade to 3.3.0.ga for
>> hibernate-annotations?
>>
>> Matt
>>
>> On 8/22/07, fadhli <[EMAIL PROTECTED]> wrote:
>> > Hello guys,
>> >
>> > I've stumbled upon some trouble while upgrading my hibernate version to
>> > hibernate 3.2.5.ga and hibernate annotation 3.3.0.ga. If you try to
>> build
>> > and run integration-test, this error will come out.
>> >
>> > ERROR - ContextLoader.initWebApplicationContext(203) |
>> > Context initialization failed
>> >  org.springframework.beans.factory.BeanCreationException:
>> > Error creating bean with name 'sessionFactory' defined in URL [
>> >
>> file:/E:/projects/epermit-backend-integrator/target/classes/applicationContext-
>> dao.xml]:
>> > Invocation of init method faile
>> >  d; nested exception is java.lang.NoClassDefFoundError:
>> > org/hibernate/annotations/common/reflection/ReflectionManager
>> >  Caused by:
>> >  java.lang.NoClassDefFoundError:
>> > org/hibernate/annotations/common/reflection/ReflectionManager
>> >
>> >
>> > It seems that the new version of hibernate annotation needs a
>> particular
>> jar
>> > file to work. If you download the hibernate annotation zip file, go to
>> the
>> > lib folder and you'll find a jar file named
>> > hibernate-common-annotations.jar. Install this file in your
>> > maven repository and include the dependency in your pom.xml file. 
>> Then,
>> > everything will work normally.
>> >
>> >
>> > --
>> > /fadhli
>>
>>
>> --
>> http://raibledesigns.com
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> /fadhli
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Upgrading-to-hibernate-annotation-to-version-3.3.0.ga-tf4310306s2369.html#a12380530
Sent from the AppFuse - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] JAXB

2007-08-28 Thread Rafael Nami
Dude, if you plan to use xml<--> bean transformation, I recommend XStream.
But if you really wanna stay with the RI, use JAXB 2, because this way you
can produce the infamous xsd from your beans. But it depends on the case, if
you already have the xsd file, you can simply run the command line tool to
"produce" your beans.

Best Regards

Rafael Nami


Em 28/08/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]>
escreveu:
>
>  Hi,
>
> Somebody here has some comment about using JAXB?
>
> I was about to make my parsing using stax. But after checking jaxb I
> thought about using it. It has a lot of automation transforming the xsd on
> the beans and parser automatically.
>
> Thanks!
>
> Marcelo
>
> AVISO: A informação contida neste e­mail, bem como em qualquer de seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s)
> acima referido(s), podendo conter informações sigilosas e/ou legalmente
> protegidas. Caso você não seja o destinatário desta mensagem, informamos que
> qualquer divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de
> seus anexos é absolutamente proibida. Solicitamos que o remetente seja
> comunicado imediatamente, respondendo esta mensagem, e que o original desta
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site
> http://sobre.uol.com.br.
>
> NOTICE: The information contained in this e­mail and any attachments
> thereto is CONFIDENTIAL and is intended only for use by the recipient named
> herein and may contain legally privileged and/or secret information. If you
> are not the e­mail's intended recipient, you are hereby notified that any
> dissemination, distribution or copy of this e­mail, and/or any attachments
> thereto, is strictly prohibited. Please immediately notify the sender
> replying to the above mentioned e­mail address, and permanently delete
> and/or destroy the original and any copy of this e­mail and/or its
> attachments, as well as any printout thereof. Additional information about
> our company may be obtained through the site http://www.uol.com.br/ir.
>


Re: [appfuse-user] Fwd: Login page in Appfuse

2007-08-28 Thread tiya tiya
Hi Matt,

  I am planning to user Josso or openSSO with my application
developed using appfuse.But I am not sure about josso..I tried to integrate
my web application with Josso..Somehow it's not working with Josso..It's
going to Josso login page and but it's not redirecting to my partner
application..i couldn't able to find..If you have any idea or if you have
code to integrate with Josso..Pls let me know..How about open sso..will it
work with the application developed by Appfuse..
  In my company we have 15 applications developed using
appfuse..some of them are using acegisecurity and some of them are not? pls
let me know which sso can i go ?

  Help would be greatly appreciated..

Thanks.


On 8/20/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> There's been talk about it on their mailing list, but I don't believe
> they support it yet.
>
> http://www.nabble.com/forum/Search.jtp?forum=3520&local=y&query=josso
>
> Matt
>
> On 8/20/07, tiya tiya <[EMAIL PROTECTED]> wrote:
> > Will Acegi support josso??
> >
> >
> > On 8/17/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> > >
> > > You should be able to use some type of SSO solution to make this work.
> > > Acegi supports Yale's CAS - have you thought about using that to do
> > > your authentication with LDAP and then propogate it to your
> > > applications?
> > >
> > > http://www.ja-sig.org/products/cas/
> > >
> > > http://www.acegisecurity.org/docbook/acegi.html#cas
> > >
> > > Matt
> > >
> > > On 8/17/07, tiya tiya <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > -- Forwarded message --
> > > > From: tiya tiya < [EMAIL PROTECTED]>
> > > > Date: Aug 17, 2007 9:36 AM
> > > > Subject: Login page in Appfuse
> > > > To: [EMAIL PROTECTED]
> > > >
> > > > Hi,
> > > >
> > > >  I developed Common Login page using LDAP authenthication in
> > Appfuse
> > > > Framework 1.9.4 and tomcat 5.0.From the Common Login Page i need to
> give
> > > > links to other applications..We have 5 seperate applications
> developed
> > using
> > > > appfuse 1.9.4 and Oracle database.I have all users of other
> applications
> > in
> > > > the LDAP.If any person opens CommonLogin Application they will enter
> > user
> > > > name and password in Login file and authenticating against LDAP and
> see
> > the
> > > > application links.If they click the link it will go to that
> particular
> > > >  application mainmenu page.
> > > >
> > > > My Question is : If the user clicks the link in Common Login page
> and it
> > > > will go that particualr application.At that time i don't want go
> through
> > > > login page of that individual application.. Is there anyway to
> remove
> > the
> > > > login.jsp page and go directly to mainmenu.jsp page.Or Can u give me
> > some
> > > > idea how can i get user object from common login and without
> displaying
> > > > login page in individual appl validate against that user name in
> other
> > > > individual application and directly go the main menu page?I want to
> get
> > rid
> > > > of the login page in all individual application.
> > > >
> > > > Any help would be greatly appreciated.
> > > >
> > > >
> > > > Thanks.
> > > >
> > >
> > >
> > > --
> > > http://raibledesigns.com
> > >
> > >
> > -
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
>
> --
> http://raibledesigns.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[appfuse-user] JAXB

2007-08-28 Thread Marcelo de Barros Alcantara
Hi,
 
Somebody here has some comment about using JAXB?
 
I was about to make my parsing using stax. But after checking jaxb I
thought about using it. It has a lot of automation transforming the xsd
on the beans and parser automatically.
 
Thanks!
 
Marcelo


AVISO: A informacao contida neste e-mail, bem como em qualquer de seus anexos, 
e CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatario(s) acima 
referido(s), podendo conter informacoes sigilosas e/ou legalmente protegidas. 
Caso voce nao seja o destinatario desta mensagem, informamos que qualquer 
divulgacao, distribuicao ou copia deste e-mail e/ou de qualquer de seus anexos 
e absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer copia e/ou impressao realizada a partir 
destes, sejam permanentemente apagados e/ou destruidos. Informacoes adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail?s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


RE: [appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and */META-INF/*/appfuse-web-common

2007-08-28 Thread Marcelo de Barros Alcantara
Matt,

Thanks!

Marcelo 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible
Sent: terça-feira, 28 de agosto de 2007 14:54
To: users@appfuse.dev.java.net
Subject: Re: [appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and 
*/META-INF/*/appfuse-web-common

You can delete these files - they're added by Maven.

http://jira.codehaus.org/browse/MOJO-377

Matt

On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I found in my project these files:
>
> src/main/webapp/META-INF/maven/org.appfuse/
> |-appfuse-spring
> |--pom.xml
> |--pom.properties
>
> |-appfuse-web-common
> |--pom.xml
> |--pom.properties
>
> These files are needed? I am using the "full-source" already imported 
> from appfuse. I think I may not need them as I have all the sources 
> already included in my app.
>
> Thanks for any help.
>
> Marcelo
>
>
>  AVISO: A informação contida neste e­mail, bem como em qualquer de 
> seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) 
> destinatário(s) acima referido(s), podendo conter informações 
> sigilosas e/ou legalmente protegidas. Caso você não seja o 
> destinatário desta mensagem, informamos que qualquer divulgação, 
> distribuição ou cópia deste e­mail e/ou de qualquer de seus anexos é 
> absolutamente proibida. Solicitamos que o remetente seja comunicado 
> imediatamente, respondendo esta mensagem, e que o original desta 
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão 
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site 
> http://sobre.uol.com.br.
>
>  NOTICE: The information contained in this e­mail and any attachments 
> thereto is CONFIDENTIAL and is intended only for use by the recipient 
> named herein and may contain legally privileged and/or secret 
> information. If you are not the e­mail's intended recipient, you are 
> hereby notified that any dissemination, distribution or copy of this 
> e­mail, and/or any attachments thereto, is strictly prohibited. Please 
> immediately notify the sender replying to the above mentioned e­mail 
> address, and permanently delete and/or destroy the original and any 
> copy of this e­mail and/or its attachments, as well as any printout 
> thereof. Additional information about our company may be obtained through the 
> site http://www.uol.com.br/ir.


--
http://raibledesigns.com


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and */META-INF/*/appfuse-web-common

2007-08-28 Thread Matt Raible
You can delete these files - they're added by Maven.

http://jira.codehaus.org/browse/MOJO-377

Matt

On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I found in my project these files:
>
> src/main/webapp/META-INF/maven/org.appfuse/
> |-appfuse-spring
> |--pom.xml
> |--pom.properties
>
> |-appfuse-web-common
> |--pom.xml
> |--pom.properties
>
> These files are needed? I am using the "full-source" already imported from
> appfuse. I think I may not need them as I have all the sources already
> included in my app.
>
> Thanks for any help.
>
> Marcelo
>
>
>  AVISO: A informação contida neste e­mail, bem como em qualquer de seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s)
> acima referido(s), podendo conter informações sigilosas e/ou legalmente
> protegidas. Caso você não seja o destinatário desta mensagem, informamos que
> qualquer divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de
> seus anexos é absolutamente proibida. Solicitamos que o remetente seja
> comunicado imediatamente, respondendo esta mensagem, e que o original desta
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site
> http://sobre.uol.com.br.
>
>  NOTICE: The information contained in this e­mail and any attachments
> thereto is CONFIDENTIAL and is intended only for use by the recipient named
> herein and may contain legally privileged and/or secret information. If you
> are not the e­mail's intended recipient, you are hereby notified that any
> dissemination, distribution or copy of this e­mail, and/or any attachments
> thereto, is strictly prohibited. Please immediately notify the sender
> replying to the above mentioned e­mail address, and permanently delete
> and/or destroy the original and any copy of this e­mail and/or its
> attachments, as well as any printout thereof. Additional information about
> our company may be obtained through the site http://www.uol.com.br/ir.


-- 
http://raibledesigns.com


[appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and */META-INF/*/appfuse-web-common

2007-08-28 Thread Marcelo de Barros Alcantara
Hi,
 
I found in my project these files:
 
src/main/webapp/META-INF/maven/org.appfuse/
|-appfuse-spring
|--pom.xml
|--pom.properties
|-appfuse-web-common
|--pom.xml
|--pom.properties
 
These files are needed? I am using the "full-source" already imported
from appfuse. I think I may not need them as I have all the sources
already included in my app.
 
Thanks for any help.
 
Marcelo


AVISO: A informacao contida neste e-mail, bem como em qualquer de seus anexos, 
e CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatario(s) acima 
referido(s), podendo conter informacoes sigilosas e/ou legalmente protegidas. 
Caso voce nao seja o destinatario desta mensagem, informamos que qualquer 
divulgacao, distribuicao ou copia deste e-mail e/ou de qualquer de seus anexos 
e absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer copia e/ou impressao realizada a partir 
destes, sejam permanentemente apagados e/ou destruidos. Informacoes adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail?s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


RE: [appfuse-user] Library descriptions

2007-08-28 Thread Marcelo de Barros Alcantara
Michael/Matt,

Thank you very much for your promptly reply.

My manager is a web designer/developer (not java). He is worried about all the 
stuff included in the appfuse pack and I am working in having everything well 
defined here. I get all the time questions like: "What is it for?" and that was 
the main reason for the message.

Thanks again.

Marcelo

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible
Sent: terça-feira, 28 de agosto de 2007 13:38
To: users@appfuse.dev.java.net
Subject: Re: [appfuse-user] Library descriptions

On 8/28/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
> In that case you have several options:
>
> 1) Run mvn:site to generate a site for your own project. By default 
> this will include a dependency report.
> 2) Go to http://static.appfuse.org/dependencies.html for a list of 
> dependencies for AppFuse itself (you will need to go to each module to 
> get the complete list of dependencies for your project).
>
> As Maven 2 uses transitive dependencies there are bound to be a few 
> libraries that make it into your final project that are not strictly needed.
> The main issue here is that getting rid of them is a time-consuming 
> operation (loads of exclusions on Maven dependencies), and their 
> inclusion does not necessarily hurt beyond making your war file a bit 
> bigger. That said these extraneous libraries may be a problem in your 
> particular deployment - if so please let us know and we can try and get rid 
> of them.

We do our best to exclude the libraries that shouldn't be there. The issue 
you're seeing with logkit and avalon is a well-known issue caused by 
commons-logging:

http://raibledesigns.com/rd/entry/maven_2_hates_commons_logging

I tried to switch to SLF4J a couple months ago, but since commons-logging is 
used by almost every open source project that AppFuse uses, it was very 
difficult to add exclusions everywhere. If Maven adds Global exclusions, that 
should fix this problem:

http://docs.codehaus.org/display/MAVENUSER/Global+exclusion+of+artifacts

In addition to the dependencies report, here's a wiki page listing all the 
licenses:

http://appfuse.org/display/APF/Licenses

Matt
>
>
> Mike.
>
> On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > I am using 2M5.
> >
> > thanks, Marcelo
> >
> > 
>  From: Michael Horwitz [mailto:[EMAIL PROTECTED]
> > Sent: terça-feira, 28 de agosto de 2007 12:43
> > To: users@appfuse.dev.java.net
> > Subject: Re: [appfuse-user] Library descriptions
> >
> >
> >
> >
> > Which version of AppFuse are you using?
> >
> > Mike
> >
> > On 8/28/07, Marcelo de Barros Alcantara < [EMAIL PROTECTED]>
> wrote:
> > >
> > >
> > > Hi,
> > >
> > > I would like to know if there is a page where I can find the 
> > > description
> of the libs included in appfuse.
> > >
> > > For example, I found the logkit and avalon which I could not be 
> > > sure if
> they are really required or not.
> > >
> > > Thanks for any help!
> > >
> > > Marcelo
> > >
> > >
> > > AVISO: A informação contida neste e­mail, bem como em qualquer de 
> > > seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) 
> destinatário(s) acima referido(s), podendo conter informações 
> sigilosas e/ou legalmente protegidas. Caso você não seja o 
> destinatário desta mensagem, informamos que qualquer divulgação, 
> distribuição ou cópia deste e­mail e/ou de qualquer de seus anexos é 
> absolutamente proibida. Solicitamos que o remetente seja comunicado 
> imediatamente, respondendo esta mensagem, e que o original desta 
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão 
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site 
> http://sobre.uol.com.br.
> > >
> > > NOTICE: The information contained in this e­mail and any 
> > > attachments
> thereto is CONFIDENTIAL and is intended only for use by the recipient 
> named herein and may contain legally privileged and/or secret 
> information. If you are not the e­mail's intended recipient, you are 
> hereby notified that any dissemination, distribution or copy of this 
> e­mail, and/or any attachments thereto, is strictly prohibited. Please 
> immediately notify the sender replying to the above mentioned e­mail 
> address, and permanently delete and/or destroy the original and any 
> copy of this e­mail and/or its attachments, as well as any printout 
> thereof. Additional information about our company may be obtained through the 
> site http://www.uol.com.br/ir.
> >
> >
> >
> >
> > AVISO: A informação contida neste e­mail, bem como em qualquer de 
> > seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) 
> destinatário(s) acima referido(s), podendo conter informações 
> sigilosas e/ou legalmente protegidas. Caso você não seja o 
> destinatário desta mensagem, informamos que qualq

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-28 Thread Matt Raible
On 8/28/07, tibi <[EMAIL PROTECTED]> wrote:
> ok stupid me.
>
> it was the version id which was not set correctly.
> this was not set correctly because i forgot about the
> candidate = candidateManager.save(candidate);
> part.
>
> with coping i did not have the problem because the version id was
> collected from the db and that way correct.
>
>
> matt
> with appfuse:gen will the template generate this:
> a = aManager.save(a);
> or only:
> aManager.save(a);
>
> i think be default the first one is best.

It should generate the first one. If it doesn't, that's a bug.

Matt

>
> tibi
>
>
>
> tibi wrote:
> > thanks for reminding me about that... but it will not effect my problem.
> >
> > some how hibernate 'thinks' the user object is changed
> >
> > tibi
> >
> > arvinder wrote:
> >> I do not know if it will solve your but in 2.0m5 you should be using
> >> candidate = candidateManager.save(candidate);
> >> instead of
> >> candidateManager.save(candidate);
> >>
> >>
> >> tibi-3 wrote:
> >>
> >>> i use struts/spring/hibernate
> >>> with appfuse 2.0m5
> >>> tibi
> >>>
> >>> arvinder wrote:
> >>>
>  What is your appfuse environment?
> 
>  tibi-3 wrote:
> 
> > thanks for the reply.
> > no i don;t have a version field.
> > i now need to do the following annoying part:
> >
> > //candidateManager.save(candidate);
> > //   gives errors so need to do the following:
> >
> > User user = candidate.getUser();
> > User user2 = userManager.getUser(""+user.getId());
> > user2.setFirstName(user.getFirstName());
> > candidate.setUser(user2);
> >candidateManager.save(candidate);
> >
> >
> > any help would be very welcome ;)
> >
> > tibi
> >
> >
> > arvinder wrote:
> >
> >> Do you have a version field in the candidate entity? If yes, Are you
> >> populating it in the action when you fetch the data for edit?
> >> Arvinder
> >>
> >> tibi-3 wrote:
> >>
> >>> hi,
> >>>
> >>> i have a candidate which has a one-one relation to user
> >>> when i save candidate i want to save changes to the user too.
> >>> but i get an:
> >>> 'Object of class [org.appfuse.model.User] with identifier [3]:
> >>> optimistic locking failed; nested exception is
> >>> org.hibernate.StaleObjectStateException: Row was updated or
> >>> deleted by another transaction (or unsaved-value mapping was
> >>> incorrect): [org.appfuse.model.User#3]'
> >>>
> >>> error.
> >>>
> >>> any ideas?
> >>>
> >>> thanks,
> >>>
> >>>
> >>> tibi
> >>>
> >>> -
> >>>
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> >>> -
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] Library descriptions

2007-08-28 Thread Matt Raible
On 8/28/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
> In that case you have several options:
>
> 1) Run mvn:site to generate a site for your own project. By default this
> will include a dependency report.
> 2) Go to http://static.appfuse.org/dependencies.html for a
> list of dependencies for AppFuse itself (you will need to go to each module
> to get the complete list of dependencies for your project).
>
> As Maven 2 uses transitive dependencies there are bound to be a few
> libraries that make it into your final project that are not strictly needed.
> The main issue here is that getting rid of them is a time-consuming
> operation (loads of exclusions on Maven dependencies), and their inclusion
> does not necessarily hurt beyond making your war file a bit bigger. That
> said these extraneous libraries may be a problem in your particular
> deployment - if so please let us know and we can try and get rid of them.

We do our best to exclude the libraries that shouldn't be there. The
issue you're seeing with logkit and avalon is a well-known issue
caused by commons-logging:

http://raibledesigns.com/rd/entry/maven_2_hates_commons_logging

I tried to switch to SLF4J a couple months ago, but since
commons-logging is used by almost every open source project that
AppFuse uses, it was very difficult to add exclusions everywhere. If
Maven adds Global exclusions, that should fix this problem:

http://docs.codehaus.org/display/MAVENUSER/Global+exclusion+of+artifacts

In addition to the dependencies report, here's a wiki page listing all
the licenses:

http://appfuse.org/display/APF/Licenses

Matt
>
>
> Mike.
>
> On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > I am using 2M5.
> >
> > thanks, Marcelo
> >
> > 
>  From: Michael Horwitz [mailto:[EMAIL PROTECTED]
> > Sent: terça-feira, 28 de agosto de 2007 12:43
> > To: users@appfuse.dev.java.net
> > Subject: Re: [appfuse-user] Library descriptions
> >
> >
> >
> >
> > Which version of AppFuse are you using?
> >
> > Mike
> >
> > On 8/28/07, Marcelo de Barros Alcantara < [EMAIL PROTECTED]>
> wrote:
> > >
> > >
> > > Hi,
> > >
> > > I would like to know if there is a page where I can find the description
> of the libs included in appfuse.
> > >
> > > For example, I found the logkit and avalon which I could not be sure if
> they are really required or not.
> > >
> > > Thanks for any help!
> > >
> > > Marcelo
> > >
> > >
> > > AVISO: A informação contida neste e­mail, bem como em qualquer de seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s)
> acima referido(s), podendo conter informações sigilosas e/ou legalmente
> protegidas. Caso você não seja o destinatário desta mensagem, informamos que
> qualquer divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de
> seus anexos é absolutamente proibida. Solicitamos que o remetente seja
> comunicado imediatamente, respondendo esta mensagem, e que o original desta
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site
> http://sobre.uol.com.br.
> > >
> > > NOTICE: The information contained in this e­mail and any attachments
> thereto is CONFIDENTIAL and is intended only for use by the recipient named
> herein and may contain legally privileged and/or secret information. If you
> are not the e­mail's intended recipient, you are hereby notified that any
> dissemination, distribution or copy of this e­mail, and/or any attachments
> thereto, is strictly prohibited. Please immediately notify the sender
> replying to the above mentioned e­mail address, and permanently delete
> and/or destroy the original and any copy of this e­mail and/or its
> attachments, as well as any printout thereof. Additional information about
> our company may be obtained through the site http://www.uol.com.br/ir.
> >
> >
> >
> >
> > AVISO: A informação contida neste e­mail, bem como em qualquer de seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s)
> acima referido(s), podendo conter informações sigilosas e/ou legalmente
> protegidas. Caso você não seja o destinatário desta mensagem, informamos que
> qualquer divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de
> seus anexos é absolutamente proibida. Solicitamos que o remetente seja
> comunicado imediatamente, respondendo esta mensagem, e que o original desta
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site
> http://sobre.uol.com.br.
> >
> > NOTICE: The information contained in this e­mail and any attachments
> thereto is CONFIDENTIAL and is intended only for use by the recipient named
> herein and may contain legally pri

Re: [appfuse-user] link and location from fileUpload

2007-08-28 Thread Matt Raible
No reason.


On 8/28/07, tibi <[EMAIL PROTECTED]> wrote:
>
> aha i see.
>
> why is this done instead of a clear getLocation??
>
> thanks,
>
> tibi
>
> Michael Horwitz wrote:
> > "link" and "location" are set as attributes on the request by the
> > FileUploadAction, e.g:
> >
> > getRequest().setAttribute("location", dirPath.getAbsolutePath()  +
> > Constants.FILE_SEP + fileFileName);
> >
> > Mike.
> >
> > On 8/28/07, *tibi* <[EMAIL PROTECTED] > wrote:
> >
> >
> > hi,
> >
> > i need to safe the file information into the database.
> > so i extended the fileUpload action.
> > all works fine but i don;t understand this part:
> >
> >">
> >
> >
> > i would expect getLink() and getLocation in the fileUploadAction but
> > there are none.
> >
> > how does this work??
> >
> > thanks,
> >
> > tibi
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > 
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] Library descriptions

2007-08-28 Thread Michael Horwitz
In that case you have several options:

1) Run mvn:site to generate a site for your own project. By default this
will include a dependency report.
2) Go to http://static.appfuse.org/dependencies.html for a list of
dependencies for AppFuse itself (you will need to go to each module to get
the complete list of dependencies for your project).

As Maven 2 uses transitive dependencies there are bound to be a few
libraries that make it into your final project that are not strictly needed.
The main issue here is that getting rid of them is a time-consuming
operation (loads of exclusions on Maven dependencies), and their inclusion
does not necessarily hurt beyond making your war file a bit bigger. That
said these extraneous libraries may be a problem in your particular
deployment - if so please let us know and we can try and get rid of them.

Mike.

On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
> I am using 2M5.
>
> thanks, Marcelo
>
>  --
> *From:* Michael Horwitz [mailto:[EMAIL PROTECTED]
> *Sent:* terça-feira, 28 de agosto de 2007 12:43
> *To:* users@appfuse.dev.java.net
> *Subject:* Re: [appfuse-user] Library descriptions
>
>
>  Which version of AppFuse are you using?
>
> Mike
>
> On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote:
> >
> >  Hi,
> >
> > I would like to know if there is a page where I can find the description
> > of the libs included in appfuse.
> >
> > For example, I found the logkit and avalon which I could not be sure if
> > they are really required or not.
> >
> > Thanks for any help!
> >
> > Marcelo
> >
> > AVISO: A informação contida neste e­mail, bem como em qualquer de seus
> > anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s)
> > acima referido(s), podendo conter informações sigilosas e/ou legalmente
> > protegidas. Caso você não seja o destinatário desta mensagem, informamos que
> > qualquer divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de
> > seus anexos é absolutamente proibida. Solicitamos que o remetente seja
> > comunicado imediatamente, respondendo esta mensagem, e que o original desta
> > mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão
> > realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> > Informações adicionais sobre nossa empresa podem ser obtidas no site
> > http://sobre.uol.com.br.
> >
> > NOTICE: The information contained in this e­mail and any attachments
> > thereto is CONFIDENTIAL and is intended only for use by the recipient named
> > herein and may contain legally privileged and/or secret information. If you
> > are not the e­mail's intended recipient, you are hereby notified that any
> > dissemination, distribution or copy of this e­mail, and/or any attachments
> > thereto, is strictly prohibited. Please immediately notify the sender
> > replying to the above mentioned e­mail address, and permanently delete
> > and/or destroy the original and any copy of this e­mail and/or its
> > attachments, as well as any printout thereof. Additional information about
> > our company may be obtained through the site http://www.uol.com.br/ir.
> >
>
>
> AVISO: A informação contida neste e­mail, bem como em qualquer de seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s)
> acima referido(s), podendo conter informações sigilosas e/ou legalmente
> protegidas. Caso você não seja o destinatário desta mensagem, informamos que
> qualquer divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de
> seus anexos é absolutamente proibida. Solicitamos que o remetente seja
> comunicado imediatamente, respondendo esta mensagem, e que o original desta
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site
> http://sobre.uol.com.br.
>
> NOTICE: The information contained in this e­mail and any attachments
> thereto is CONFIDENTIAL and is intended only for use by the recipient named
> herein and may contain legally privileged and/or secret information. If you
> are not the e­mail's intended recipient, you are hereby notified that any
> dissemination, distribution or copy of this e­mail, and/or any attachments
> thereto, is strictly prohibited. Please immediately notify the sender
> replying to the above mentioned e­mail address, and permanently delete
> and/or destroy the original and any copy of this e­mail and/or its
> attachments, as well as any printout thereof. Additional information about
> our company may be obtained through the site http://www.uol.com.br/ir.
>


RE: [appfuse-user] Library descriptions

2007-08-28 Thread Marcelo de Barros Alcantara
Hi,
 
I am using 2M5.
 
thanks, Marcelo



From: Michael Horwitz [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 28 de agosto de 2007 12:43
To: users@appfuse.dev.java.net
Subject: Re: [appfuse-user] Library descriptions


Which version of AppFuse are you using?
 
Mike
 
On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote: 

Hi,
 
I would like to know if there is a page where I can find the 
description of the libs included in appfuse.
 
For example, I found the logkit and avalon which I could not be sure if 
they are really required or not.
 
Thanks for any help!
 
Marcelo

AVISO: A informação contida neste e­mail, bem como em qualquer de seus 
anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br 
 . 

NOTICE: The information contained in this e­mail and any attachments 
thereto is CONFIDENTIAL and is intended only for use by the recipient named 
herein and may contain legally privileged and/or secret information. If you are 
not the e­mail's intended recipient, you are hereby notified that any 
dissemination, distribution or copy of this e­mail, and/or any attachments 
thereto, is strictly prohibited. Please immediately notify the sender replying 
to the above mentioned e­mail address, and permanently delete and/or destroy 
the original and any copy of this e­mail and/or its attachments, as well as any 
printout thereof. Additional information about our company may be obtained 
through the site http://www.uol.com.br/ir  . 




AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


Re: [appfuse-user] Library descriptions

2007-08-28 Thread Michael Horwitz
Which version of AppFuse are you using?

Mike

On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
> I would like to know if there is a page where I can find the description
> of the libs included in appfuse.
>
> For example, I found the logkit and avalon which I could not be sure if
> they are really required or not.
>
> Thanks for any help!
>
> Marcelo
>
> AVISO: A informação contida neste e­mail, bem como em qualquer de seus
> anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s)
> acima referido(s), podendo conter informações sigilosas e/ou legalmente
> protegidas. Caso você não seja o destinatário desta mensagem, informamos que
> qualquer divulgação, distribuição ou cópia deste e­mail e/ou de qualquer de
> seus anexos é absolutamente proibida. Solicitamos que o remetente seja
> comunicado imediatamente, respondendo esta mensagem, e que o original desta
> mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão
> realizada a partir destes, sejam permanentemente apagados e/ou destruídos.
> Informações adicionais sobre nossa empresa podem ser obtidas no site
> http://sobre.uol.com.br.
>
> NOTICE: The information contained in this e­mail and any attachments
> thereto is CONFIDENTIAL and is intended only for use by the recipient named
> herein and may contain legally privileged and/or secret information. If you
> are not the e­mail's intended recipient, you are hereby notified that any
> dissemination, distribution or copy of this e­mail, and/or any attachments
> thereto, is strictly prohibited. Please immediately notify the sender
> replying to the above mentioned e­mail address, and permanently delete
> and/or destroy the original and any copy of this e­mail and/or its
> attachments, as well as any printout thereof. Additional information about
> our company may be obtained through the site http://www.uol.com.br/ir.
>


[appfuse-user] Library descriptions

2007-08-28 Thread Marcelo de Barros Alcantara
Hi,
 
I would like to know if there is a page where I can find the description
of the libs included in appfuse.
 
For example, I found the logkit and avalon which I could not be sure if
they are really required or not.
 
Thanks for any help!
 
Marcelo


AVISO: A informacao contida neste e-mail, bem como em qualquer de seus anexos, 
e CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatario(s) acima 
referido(s), podendo conter informacoes sigilosas e/ou legalmente protegidas. 
Caso voce nao seja o destinatario desta mensagem, informamos que qualquer 
divulgacao, distribuicao ou copia deste e-mail e/ou de qualquer de seus anexos 
e absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer copia e/ou impressao realizada a partir 
destes, sejam permanentemente apagados e/ou destruidos. Informacoes adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail?s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


Re: [appfuse-user] link and location from fileUpload

2007-08-28 Thread tibi


aha i see.

why is this done instead of a clear getLocation??

thanks,

tibi

Michael Horwitz wrote:
"link" and "location" are set as attributes on the request by the 
FileUploadAction, e.g:
 
getRequest().setAttribute("location", dirPath.getAbsolutePath()  + 
Constants.FILE_SEP + fileFileName);
 
Mike.
 
On 8/28/07, *tibi* <[EMAIL PROTECTED] > wrote:



hi,

i need to safe the file information into the database.
so i extended the fileUpload action.
all works fine but i don;t understand this part:

   ">
   

i would expect getLink() and getLocation in the fileUploadAction but
there are none.

how does this work??

thanks,

tibi

-
To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] link and location from fileUpload

2007-08-28 Thread Michael Horwitz
"link" and "location" are set as attributes on the request by the
FileUploadAction, e.g:

getRequest().setAttribute("location", dirPath.getAbsolutePath()  +
Constants.FILE_SEP + fileFileName);
Mike.

On 8/28/07, tibi <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> i need to safe the file information into the database.
> so i extended the fileUpload action.
> all works fine but i don;t understand this part:
>
>">
>
>
> i would expect getLink() and getLocation in the fileUploadAction but
> there are none.
>
> how does this work??
>
> thanks,
>
> tibi
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[appfuse-user] link and location from fileUpload

2007-08-28 Thread tibi


hi,

i need to safe the file information into the database.
so i extended the fileUpload action.
all works fine but i don;t understand this part:

   ">
   

i would expect getLink() and getLocation in the fileUploadAction but 
there are none.


how does this work??

thanks,

tibi

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-28 Thread tibi

ok stupid me.

it was the version id which was not set correctly.
this was not set correctly because i forgot about the
candidate = candidateManager.save(candidate);
part.

with coping i did not have the problem because the version id was 
collected from the db and that way correct.



matt
with appfuse:gen will the template generate this:
a = aManager.save(a);
or only:
aManager.save(a);

i think be default the first one is best.

tibi



tibi wrote:

thanks for reminding me about that... but it will not effect my problem.

some how hibernate 'thinks' the user object is changed

tibi

arvinder wrote:

I do not know if it will solve your but in 2.0m5 you should be using
candidate = candidateManager.save(candidate);
instead of
candidateManager.save(candidate);


tibi-3 wrote:
 

i use struts/spring/hibernate
with appfuse 2.0m5
tibi

arvinder wrote:
   

What is your appfuse environment?

tibi-3 wrote:
   

thanks for the reply.
no i don;t have a version field.
i now need to do the following annoying part:

//candidateManager.save(candidate);
//   gives errors so need to do the following:

User user = candidate.getUser();
User user2 = userManager.getUser(""+user.getId());
user2.setFirstName(user.getFirstName());
candidate.setUser(user2);
   candidateManager.save(candidate);


any help would be very welcome ;)

tibi


arvinder wrote:
   

Do you have a version field in the candidate entity? If yes, Are you
populating it in the action when you fetch the data for edit?
Arvinder

tibi-3 wrote:
 

hi,

i have a candidate which has a one-one relation to user
when i save candidate i want to save changes to the user too.
but i get an:
'Object of class [org.appfuse.model.User] with identifier [3]: 
optimistic locking failed; nested exception is 
org.hibernate.StaleObjectStateException: Row was updated or 
deleted by another transaction (or unsaved-value mapping was 
incorrect): [org.appfuse.model.User#3]'


error.

any ideas?

thanks,


tibi

- 


To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] Ajax FileUpload DWR Error in Tomcat 5.5

2007-08-28 Thread Irshad Buchh

Hi Fahli,
If and when you get it working, can you share it with us. Thanks.

--Irshad.


mraible wrote:
> 
> It's probably caused by the  clause in web.xml. This
> flag makes you aware of issues you might experience in a clustered
> environment.
> 
> Matt
> 
> On 8/27/07, fadhli <[EMAIL PROTECTED]> wrote:
>> I noticed that but why does it work on jetty and not tomcat? Does tomcat
>> enforce everything to be serializable?
>>
>>
>> On 8/28/07, Matt Raible < [EMAIL PROTECTED]> wrote:
>> >
>> > It looks like you're trying to put something in the session (the
>> > uploaded file?) that's not serializable.
>> >
>> > Matt
>> >
>> > On 8/27/07, fadhli <[EMAIL PROTECTED]> wrote:
>> > > Hello Matt, I manage to create an ajax file upload using dwr and
>> > > commons-upload base on your tutorial posted at the appfuse1.x wiki.
>> It's
>> > > working fine in jetty but it's not working in tomcat 5.5. This is the
>> stack
>> > > trace. I'm wondering if you have any idea what's causing it.
>> > >
>> > > org.springframework.web.util.NestedServletException:
>> > > Request processing failed; nested exception is
>> > > java.lang.IllegalArgumentException: setAttribute:
>> > > Non-serializable
>> > > attribute Caused by:
>> java.lang.IllegalArgumentException:
>> > > setAttribute: Non-serializable attribute at
>> > >
>> org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1265)
>> > > at
>> org.apache.catalina.session.StandardSession.setAttribute
>> > > (StandardSession.java:1243)
>> > > at
>> > >
>> org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130)
>> > > at
>> > >
>> com.jgt.ui.upload.UploadListener.updateUploadInfo(UploadListener.java
>> :65)
>> > > at com.jgt.ui.upload.UploadListener.start
>> > > (UploadListener.java:37) at
>> > >
>> com.jgt.ui.upload.MonitoredOutputStream.(MonitoredOutputStream.java:28)
>> > > at
>> > > com.jgt.ui.upload.MonitoredDiskFileItem.getOutputStream
>> (MonitoredDiskFileItem.java:40)
>> > > at
>> > >
>> org.apache.commons.fileupload.FileUploadBase.parseRequest
>> > > (FileUploadBase.java:369) at
>> > >
>> org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest
>> (ServletFileUpload.java:116)
>> > > at
>> > >
>> com.jgt.webapp.ajax.AjaxFileUploadMultipartResolver.resolveMultipart(AjaxFileUploadMultipartResolver.java
>> > > :81) at
>> > >
>> com.jgt.webapp.controller.UploadFilesController.onSubmit
>> (UploadFilesController.java:159)
>> > > at
>> > >
>> org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
>> > > at
>> > >
>> com.jgt.webapp.controller.UploadFilesController.processFormSubmission
>> (UploadFilesController.java:116)
>> > > at
>> > >
>> org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:250)
>> > > at
>> > >
>> org.springframework.web.servlet.mvc.AbstractController.handleRequest
>> (AbstractController.java:153)
>> > > at
>> > >
>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>> > > at
>> > >
>> org.springframework.web.servlet.DispatcherServlet.doDispatch
>> (DispatcherServlet.java:857)
>> > > at
>> > >
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
>> > > at
>> > >
>> org.springframework.web.servlet.FrameworkServlet.processRequest
>> > > (FrameworkServlet.java:461) at
>> > >
>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:426)
>> > > at
>> > >
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>> > > at
>> > > javax.servlet.http.HttpServlet.service
>> > > (HttpServlet.java:803) at
>> > >
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>> > > at
>> > >
>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilterChain.java:188)
>> > > at
>> > >
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
>> > > at
>> > >
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java
>> :469)
>> > > at
>> > >
>> org.apache.catalina.core.ApplicationDispatcher.doForward
>> > > (ApplicationDispatcher.java:364) at
>> > >
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.jav
>> > >
>> > > --
>> > > /fadhli
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> >
>> -
>> > To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>>
>> --
>>  /fadhli
> 
> 
> -- 
> http://raibledesigns.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Ajax-FileUpload-DWR-Error-in-Tomcat-5.5-tf4

[appfuse-user] Problem implementing Nested Tables

2007-08-28 Thread adriel manalansan
Hello to everyone, I hope you are doing fine today in all of your tasks.

I have a question about implementing a nested tables in displaytag. I am using:

Appfuse 1.9.4 and webwork
Displaytag 1.1

The problem is like this, I have a pojo named StudyPageSet that has a member of 
Set of StudyPages:

public class StudyPageSet extends BaseModel {
private Set studyPages = new TreeSet();

//getters and setters
}

I need to make a table using displaytag w/c is the last column of that table 
has also a table of StudyPage for every row. I made a code like this in my 
action:

private Set spSet = new TreeSet();

//getters and setters

public String edit() {


spSet = study.getStudyPageSets();

return SUCCESS;

}


and I used the spSet in my displaytag. From the table, I can retrieve my 
StudyPageSets but I cannot retrieve the StudyPages in the table of my last 
column.
>From 
>http://displaytag.homeip.net/displaytag-examples-1.1/example-nestedtables.jsp.source
> , the sample used a List while I am using a Set.
Here are my jsp code:







 ...
   
 
 



   
   ...
 


 





>From my action, I can retrieve the set of StudyPages using this:

spSet = study.getStudyPageSets();
//study.getStudyPageSets().iterator().next().getStudyPages();

but when I used "spSet.iterator.next.studyPages" in the "XXX", I still 
cannot retrieve them.
I also tried to put study.getStudyPageSets().iterator().next().getStudyPages() 
in a variable from my action but the result is the same.

What should I put in the "XXX" to get the set of StudyPages? Or did I do 
wrong in my codes?

Your kind replies are very much appreciated. Thank you and God bless you.


Adriel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot

I have download the Jar manually at 

http://static.appfuse.org/repository/org/appfuse/appfuse-basic-jsf/2.0-m5/

and run the mvn install command. Thanks to you i could build the archetype
successfuly. 

Nice done Mike ;-)

David


Mike Horwitz wrote:
> 
> If you have created projects from those archetypes before the
> archetypes will be in your local repository and Maven will not try and
> download them again.
> 
> On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yes, That's what i thought, but why does it work with M3 and M4 version?
>>
>> [INFO] Archetype created in dir: C:\WSN4\wsntools
>> [INFO]
>> 
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> 
>> [INFO] Total time: 2 seconds
>> [INFO] Finished at: Tue Aug 28 11:42:32 CEST 2007
>> [INFO] Final Memory: 5M/9M
>> [INFO]
>> 
>>
>> David
>>
>>
>> Mike Horwitz wrote:
>> >
>> > There seems to be some sort of issue with your internet connection?
>> >
>> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Yes, this is the message:
>> >>
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >>
>> 
>> >> [INFO] Error creating from archetype
>> >>
>> >> Embedded error: Archetype does not exist: System is offline.
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >>mvn install:install-file -DgroupId=org.appfuse
>> >> -DartifactId=appfuse-basic-js
>> >> f \
>> >>-Dversion=2.0-m5 -Dpackaging=jar -Dfile=/path/to/file
>> >>
>> >>
>> >> org.appfuse:appfuse-basic-jsf:jar:2.0-m5
>> >>
>> >>
>> >> [INFO]
>> >>
>> 
>> >> ...
>> >>
>> >>
>> >> david J.
>> >>
>> >>
>> >> Mike Horwitz wrote:
>> >> >
>> >> > Any build error messages?
>> >> >
>> >> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> Hi mike,
>> >> >>
>> >> >> Thanks for your answer. Yeah, possible proxy issues, but if i try
>> with
>> >> >> M3,
>> >> >> or M4 appfuse version, there's no problem. So i don't think it's a
>> >> proxy
>> >> >> problem.
>> >> >> Any other idea?
>> >> >>
>> >> >> David
>> >> >>
>> >> >>
>> >> >>
>> >> >> Mike Horwitz wrote:
>> >> >> >
>> >> >> > Works fine when I try it. Any possible proxy issues?
>> >> >> >
>> >> >> > Mike
>> >> >> >
>> >> >> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>> >> >> >>
>> >> >> >>
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >> I wanted to upgrade my Appfuse version from M4 to M5 this
>> morning,
>> >> but
>> >> >> >> maven
>> >> >> >> tolds me that the archetype does not exist strange... any
>> Idea?
>> >> >> >>
>> >> >> >> Thanks for you help,
>> >> >> >>
>> >> >> >> David Johannot
>> >> >> >>
>> >> >> >> P.S. the archetype i tried to download was the basic JSF
>> >> >> >>
>> >> >> >> mvn archetype:create -DarchetypeGroupId=org.appfuse
>> >> >> >> -DarchetypeArtifactId=appfuse-basic-jsf
>> >> >> >> -DremoteRepositories=http://static.appfuse.org/repository
>> >> >> >> -DarchetypeVersion=2.0-m5
>> >> >> >> -DgroupId=com.mycompany.app-DartifactId=myproject
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
>> >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> -
>> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364609
>> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> -
>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364869
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> -
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364959
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
If you have created projects from those archetypes before the
archetypes will be in your local repository and Maven will not try and
download them again.

On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>
>
> Yes, That's what i thought, but why does it work with M3 and M4 version?
>
> [INFO] Archetype created in dir: C:\WSN4\wsntools
> [INFO]
> 
> [INFO] BUILD SUCCESSFUL
> [INFO]
> 
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Aug 28 11:42:32 CEST 2007
> [INFO] Final Memory: 5M/9M
> [INFO]
> 
>
> David
>
>
> Mike Horwitz wrote:
> >
> > There seems to be some sort of issue with your internet connection?
> >
> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Yes, this is the message:
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >>
> 
> >> [INFO] Error creating from archetype
> >>
> >> Embedded error: Archetype does not exist: System is offline.
> >>
> >> Try downloading the file manually from the project website.
> >>
> >> Then, install it using the command:
> >>mvn install:install-file -DgroupId=org.appfuse
> >> -DartifactId=appfuse-basic-js
> >> f \
> >>-Dversion=2.0-m5 -Dpackaging=jar -Dfile=/path/to/file
> >>
> >>
> >> org.appfuse:appfuse-basic-jsf:jar:2.0-m5
> >>
> >>
> >> [INFO]
> >>
> 
> >> ...
> >>
> >>
> >> david J.
> >>
> >>
> >> Mike Horwitz wrote:
> >> >
> >> > Any build error messages?
> >> >
> >> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >>
> >> >> Hi mike,
> >> >>
> >> >> Thanks for your answer. Yeah, possible proxy issues, but if i try
> with
> >> >> M3,
> >> >> or M4 appfuse version, there's no problem. So i don't think it's a
> >> proxy
> >> >> problem.
> >> >> Any other idea?
> >> >>
> >> >> David
> >> >>
> >> >>
> >> >>
> >> >> Mike Horwitz wrote:
> >> >> >
> >> >> > Works fine when I try it. Any possible proxy issues?
> >> >> >
> >> >> > Mike
> >> >> >
> >> >> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
> >> >> >>
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >> I wanted to upgrade my Appfuse version from M4 to M5 this
> morning,
> >> but
> >> >> >> maven
> >> >> >> tolds me that the archetype does not exist strange... any
> Idea?
> >> >> >>
> >> >> >> Thanks for you help,
> >> >> >>
> >> >> >> David Johannot
> >> >> >>
> >> >> >> P.S. the archetype i tried to download was the basic JSF
> >> >> >>
> >> >> >> mvn archetype:create -DarchetypeGroupId=org.appfuse
> >> >> >> -DarchetypeArtifactId=appfuse-basic-jsf
> >> >> >> -DremoteRepositories=http://static.appfuse.org/repository
> >> >> >> -DarchetypeVersion=2.0-m5
> >> >> >> -DgroupId=com.mycompany.app-DartifactId=myproject
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
> >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> -
> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364609
> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> -
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364869
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364959
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot

Yes, That's what i thought, but why does it work with M3 and M4 version?

[INFO] Archetype created in dir: C:\WSN4\wsntools
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Aug 28 11:42:32 CEST 2007
[INFO] Final Memory: 5M/9M
[INFO]


David


Mike Horwitz wrote:
> 
> There seems to be some sort of issue with your internet connection?
> 
> On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yes, this is the message:
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] Error creating from archetype
>>
>> Embedded error: Archetype does not exist: System is offline.
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>>mvn install:install-file -DgroupId=org.appfuse
>> -DartifactId=appfuse-basic-js
>> f \
>>-Dversion=2.0-m5 -Dpackaging=jar -Dfile=/path/to/file
>>
>>
>> org.appfuse:appfuse-basic-jsf:jar:2.0-m5
>>
>>
>> [INFO]
>> 
>> ...
>>
>>
>> david J.
>>
>>
>> Mike Horwitz wrote:
>> >
>> > Any build error messages?
>> >
>> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hi mike,
>> >>
>> >> Thanks for your answer. Yeah, possible proxy issues, but if i try with
>> >> M3,
>> >> or M4 appfuse version, there's no problem. So i don't think it's a
>> proxy
>> >> problem.
>> >> Any other idea?
>> >>
>> >> David
>> >>
>> >>
>> >>
>> >> Mike Horwitz wrote:
>> >> >
>> >> > Works fine when I try it. Any possible proxy issues?
>> >> >
>> >> > Mike
>> >> >
>> >> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> I wanted to upgrade my Appfuse version from M4 to M5 this morning,
>> but
>> >> >> maven
>> >> >> tolds me that the archetype does not exist strange... any Idea?
>> >> >>
>> >> >> Thanks for you help,
>> >> >>
>> >> >> David Johannot
>> >> >>
>> >> >> P.S. the archetype i tried to download was the basic JSF
>> >> >>
>> >> >> mvn archetype:create -DarchetypeGroupId=org.appfuse
>> >> >> -DarchetypeArtifactId=appfuse-basic-jsf
>> >> >> -DremoteRepositories=http://static.appfuse.org/repository
>> >> >> -DarchetypeVersion=2.0-m5
>> >> >> -DgroupId=com.mycompany.app-DartifactId=myproject
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
>> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> -
>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364609
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> -
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364869
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364959
Sent from the AppFuse - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
There seems to be some sort of issue with your internet connection?

On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>
>
> Yes, this is the message:
>
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error creating from archetype
>
> Embedded error: Archetype does not exist: System is offline.
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>mvn install:install-file -DgroupId=org.appfuse
> -DartifactId=appfuse-basic-js
> f \
>-Dversion=2.0-m5 -Dpackaging=jar -Dfile=/path/to/file
>
>
> org.appfuse:appfuse-basic-jsf:jar:2.0-m5
>
>
> [INFO]
> 
> ...
>
>
> david J.
>
>
> Mike Horwitz wrote:
> >
> > Any build error messages?
> >
> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Hi mike,
> >>
> >> Thanks for your answer. Yeah, possible proxy issues, but if i try with
> >> M3,
> >> or M4 appfuse version, there's no problem. So i don't think it's a
> proxy
> >> problem.
> >> Any other idea?
> >>
> >> David
> >>
> >>
> >>
> >> Mike Horwitz wrote:
> >> >
> >> > Works fine when I try it. Any possible proxy issues?
> >> >
> >> > Mike
> >> >
> >> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >>
> >> >> Hi,
> >> >>
> >> >> I wanted to upgrade my Appfuse version from M4 to M5 this morning,
> but
> >> >> maven
> >> >> tolds me that the archetype does not exist strange... any Idea?
> >> >>
> >> >> Thanks for you help,
> >> >>
> >> >> David Johannot
> >> >>
> >> >> P.S. the archetype i tried to download was the basic JSF
> >> >>
> >> >> mvn archetype:create -DarchetypeGroupId=org.appfuse
> >> >> -DarchetypeArtifactId=appfuse-basic-jsf
> >> >> -DremoteRepositories=http://static.appfuse.org/repository
> >> >> -DarchetypeVersion=2.0-m5
> >> >> -DgroupId=com.mycompany.app-DartifactId=myproject
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> -
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364609
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364869
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot

Yes, this is the message:

[ERROR] BUILD ERROR
[INFO]

[INFO] Error creating from archetype

Embedded error: Archetype does not exist: System is offline.

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.appfuse
-DartifactId=appfuse-basic-js
f \
-Dversion=2.0-m5 -Dpackaging=jar -Dfile=/path/to/file


  org.appfuse:appfuse-basic-jsf:jar:2.0-m5


[INFO]

...


david J.


Mike Horwitz wrote:
> 
> Any build error messages?
> 
> On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi mike,
>>
>> Thanks for your answer. Yeah, possible proxy issues, but if i try with
>> M3,
>> or M4 appfuse version, there's no problem. So i don't think it's a proxy
>> problem.
>> Any other idea?
>>
>> David
>>
>>
>>
>> Mike Horwitz wrote:
>> >
>> > Works fine when I try it. Any possible proxy issues?
>> >
>> > Mike
>> >
>> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I wanted to upgrade my Appfuse version from M4 to M5 this morning, but
>> >> maven
>> >> tolds me that the archetype does not exist strange... any Idea?
>> >>
>> >> Thanks for you help,
>> >>
>> >> David Johannot
>> >>
>> >> P.S. the archetype i tried to download was the basic JSF
>> >>
>> >> mvn archetype:create -DarchetypeGroupId=org.appfuse
>> >> -DarchetypeArtifactId=appfuse-basic-jsf
>> >> -DremoteRepositories=http://static.appfuse.org/repository
>> >> -DarchetypeVersion=2.0-m5
>> >> -DgroupId=com.mycompany.app-DartifactId=myproject
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> -
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364609
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364869
Sent from the AppFuse - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
Any build error messages?

On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>
>
> Hi mike,
>
> Thanks for your answer. Yeah, possible proxy issues, but if i try with M3,
> or M4 appfuse version, there's no problem. So i don't think it's a proxy
> problem.
> Any other idea?
>
> David
>
>
>
> Mike Horwitz wrote:
> >
> > Works fine when I try it. Any possible proxy issues?
> >
> > Mike
> >
> > On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Hi,
> >>
> >> I wanted to upgrade my Appfuse version from M4 to M5 this morning, but
> >> maven
> >> tolds me that the archetype does not exist strange... any Idea?
> >>
> >> Thanks for you help,
> >>
> >> David Johannot
> >>
> >> P.S. the archetype i tried to download was the basic JSF
> >>
> >> mvn archetype:create -DarchetypeGroupId=org.appfuse
> >> -DarchetypeArtifactId=appfuse-basic-jsf
> >> -DremoteRepositories=http://static.appfuse.org/repository
> >> -DarchetypeVersion=2.0-m5
> >> -DgroupId=com.mycompany.app-DartifactId=myproject
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364609
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot

Hi mike,

Thanks for your answer. Yeah, possible proxy issues, but if i try with M3,
or M4 appfuse version, there's no problem. So i don't think it's a proxy
problem.
Any other idea?

David



Mike Horwitz wrote:
> 
> Works fine when I try it. Any possible proxy issues?
> 
> Mike
> 
> On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> I wanted to upgrade my Appfuse version from M4 to M5 this morning, but
>> maven
>> tolds me that the archetype does not exist strange... any Idea?
>>
>> Thanks for you help,
>>
>> David Johannot
>>
>> P.S. the archetype i tried to download was the basic JSF
>>
>> mvn archetype:create -DarchetypeGroupId=org.appfuse
>> -DarchetypeArtifactId=appfuse-basic-jsf
>> -DremoteRepositories=http://static.appfuse.org/repository
>> -DarchetypeVersion=2.0-m5
>> -DgroupId=com.mycompany.app-DartifactId=myproject
>> --
>> View this message in context:
>> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12364609
Sent from the AppFuse - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
Works fine when I try it. Any possible proxy issues?

Mike

On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I wanted to upgrade my Appfuse version from M4 to M5 this morning, but
> maven
> tolds me that the archetype does not exist strange... any Idea?
>
> Thanks for you help,
>
> David Johannot
>
> P.S. the archetype i tried to download was the basic JSF
>
> mvn archetype:create -DarchetypeGroupId=org.appfuse
> -DarchetypeArtifactId=appfuse-basic-jsf
> -DremoteRepositories=http://static.appfuse.org/repository
> -DarchetypeVersion=2.0-m5 -DgroupId=com.mycompany.app-DartifactId=myproject
> --
> View this message in context:
> http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: [appfuse-user] How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions?

2007-08-28 Thread benoit moraillon
No but i'm interrested by the solution.

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible
Envoyé : lundi 27 août 2007 17:50
À : AppFuse
Objet : [appfuse-user] How can I tell Struts 2 to throw/log exceptions for
invalid OGNL Expressions?

Anyone on this list solved this problem?

http://tinyurl.com/yoh8bp

Thanks,

Matt

--
http://raibledesigns.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot

Hi,

I wanted to upgrade my Appfuse version from M4 to M5 this morning, but maven
tolds me that the archetype does not exist strange... any Idea? 

Thanks for you help,

David Johannot

P.S. the archetype i tried to download was the basic JSF

mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-jsf
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=2.0-m5 -DgroupId=com.mycompany.app -DartifactId=myproject
-- 
View this message in context: 
http://www.nabble.com/archetype-M5-offline-tf4340245s2369.html#a12363561
Sent from the AppFuse - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[appfuse-user] CSS Menu overlaps

2007-08-28 Thread Allan Ang

Have any of you guys ever had a problem where a menu overlaps another just
below it (this happens when you start increasing top level parent menus till
it reaches a point where there are one just above another).

the following should help for firefox users

1. go to styles/{whatever style you use}/nav-horizontal.css

2. look for "ul#primary-nav li.menubar ..."

3. add this just below it.
ul#primary-nav li.menubar ul{z-index:1; }

Does anyone got something that works for IE? (IE7 specifically)

allan
-- 
View this message in context: 
http://www.nabble.com/CSS-Menu-overlaps-tf4340119s2369.html#a12363113
Sent from the AppFuse - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]