Author Login
Post Reply
user Digest 21 Jun 2008 01:04:50 -0000 Issue 8101
Topics (messages 187868 through 187886):
Re: Logging For SEVERE: Error filterStart
187868 by: Paul Zepernick
187871 by: Dave Newton
187874 by: Paul Zepernick
Re: [OT] What slows you down?
187869 by: Giovanni Azua
187872 by: Frode T. Johansen
187873 by: Nick Scavelli
187876 by: Sarr, Nathan
187877 by: Karr, David
187878 by: Sarr, Nathan
187879 by: Karr, David
187880 by: Dave Newton
187881 by: Musachy Barroso
187882 by: Dave Newton
187885 by: Neil Erdwien
Struts 2.1.2 DateTimePicker
187870 by: Jan Froehlich
Re: Struts2 annotation based TLD generation using Ant
187875 by: Dmitriy Kuznetsov
Struts 2 Page & Ctrl+R
187883 by: Rubbinio
Re: Error replicating sessions with Struts 2 framework java application
187884 by: Laurie Harper
building from source
187886 by: Roberto Nunnari
Administrivia:
---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)
----------------------------------------------------------------------

Attachment:
user_187868.ezm (zipped)
Here are the jars that I have currently:
activation-1.1.jar
antlr-2.7.2.jar
asm.jar
asm-attrs.jar
cglib-2.1.3.jar
commons-beanutils-1.6.jar
commons-chain-1.1.jar
commons-codec-1.3.jar
commons-collections-2.1.1.jar
commons-digester-1.7.jar
commons-httpclient-3.0.jar
commons-javaflow-20060411.jar
commons-lang-2.1.jar
commons-logging.jar
commons-validator-1.3.0.jar
dbcfs3.2.1-alias_fix.jar
dom4j-1.6.1.jar
ehcache-1.2.3.jar
ejb3-persistence.jar
freemarker-2.3.8.jar
hibernate3.2.6.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
itext-1.3.1.jar
jasperreports-2.0.5.jar
javamail.jar
jaxb-api-2.0.jar
jaxen-1.1-beta-9.jar
jaxws-api-2.0.jar
jdom-1.0.jar
jfreechart-1.0.0.jar
jsr173_api-1.0.jar
jta.jar
junit.jar
jxl-2.6.jar
log4j-1.2.11.jar
mail-1.4.jar
mysql-connector-java-5.0.4-bin.jar
ognl-2.6.11.jar
oro-2.0.8.jar
proxool-0.9.0RC3.jar
saaj-api-1.3.jar
saaj-impl-1.3.jar
spring-aop.jar
spring-beans.jar
spring-context.jar
spring-core.jar
spring-mock.jar
spring-web.jar
stax-api-1.0.1.jar
struts2-codebehind-plugin-2.0.11.jar
struts2-config-browser-plugin-2.0.11.jar
struts2-core-2.0.11.jar
struts2-jasperreports-plugin-2.0.11.jar
struts2-jfreechart-plugin-2.0.11.jar
struts2-pell-multipart-plugin-2.0.11.jar
struts2-plexus-plugin-2.0.11.jar
struts2-sitegraph-plugin-2.0.11.jar
struts2-sitemesh-plugin-2.0.11.jar
struts2-spring-plugin-2.0.11.jar
struts2-tiles-plugin-2.0.11.jar
tiles-api-2.0.4.jar
tiles-core-2.0.4.jar
tiles-jsp-2.0.4.jar
wsdl4j-1.6.1.jar
wstx-asl-3.0.1.jar
xbean-2.1.0.jar
xfire-all-1.2.6.jar
xml-apis.jar
XmlSchema-1.1.jar
xwork-2.0.4.jar
This is what the action mapping looks like:
<action name="printableNotes" class="com.focus.actions.call.MemberNotes">
<result name="success" type="jasper">
<param name="location">/WEB-INF/classes/com/focus/actions/call/notes.jasper</param>
<param name="dataSource">notes</param>
</result>
</action>
It loads the action fine if the type jasper is removed, so I know the class file is ok.
Thanks,
Paul Zepernick
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: Friday, June 20, 2008 9:56 AM
To: Struts Users Mailing List
Subject: RE: Logging For SEVERE: Error filterStart
--- On Fri, 6/20/08, Paul Zepernick <pzepernick@commercebenefitsgroup.com> wrote:
> Yes, I turned on debug and there was a ton of information, but no
> stack trace or anything else saying why the filter failed to start. I
> do have all the Jasper dependencies in now (that email is a couple
> down).
Ah.
Not sure what to tell you then; I'm using Jasper results in a few apps without issues, and without seeing any log outputs, lib directory contents, configs, and so on it's pretty difficult to provide any useful input at all.
(Consider sending plain-text emails, btw.)
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
The information contained in this transmission contains confidential information that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled.
If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of these documents is strictly prohibited. If you have received this information in error, please notify the sender immediately by return email and arrange for the return or destruction of these documents.

Attachment:
user_187871.ezm (zipped)does the pkg extend the jasper pkg?
are you really using all those s2 plugins?!
(sent via mobile; too lazy to capitalize properly.)
dave
--- On Fri, 6/20/08, Paul Zepernick <pzepernick@(protected):
> From: Paul Zepernick <pzepernick@(protected)>
> Subject: RE: Logging For SEVERE: Error filterStart
> To: "'Struts Users Mailing List'" <user@(protected)>
> Date: Friday, June 20, 2008, 11:12 AM
> Here are the jars that I have currently:
>
> activation-1.1.jar
> antlr-2.7.2.jar
> asm.jar
> asm-attrs.jar
> cglib-2.1.3.jar
> commons-beanutils-1.6.jar
> commons-chain-1.1.jar
> commons-codec-1.3.jar
> commons-collections-2.1.1.jar
> commons-digester-1.7.jar
> commons-httpclient-3.0.jar
> commons-javaflow-20060411.jar
> commons-lang-2.1.jar
> commons-logging.jar
> commons-validator-1.3.0.jar
> dbcfs3.2.1-alias_fix.jar
> dom4j-1.6.1.jar
> ehcache-1.2.3.jar
> ejb3-persistence.jar
> freemarker-2.3.8.jar
> hibernate3.2.6.jar
> hibernate-annotations.jar
> hibernate-commons-annotations.jar
> itext-1.3.1.jar
> jasperreports-2.0.5.jar
> javamail.jar
> jaxb-api-2.0.jar
> jaxen-1.1-beta-9.jar
> jaxws-api-2.0.jar
> jdom-1.0.jar
> jfreechart-1.0.0.jar
> jsr173_api-1.0.jar
> jta.jar
> junit.jar
> jxl-2.6.jar
> log4j-1.2.11.jar
> mail-1.4.jar
> mysql-connector-java-5.0.4-bin.jar
> ognl-2.6.11.jar
> oro-2.0.8.jar
> proxool-0.9.0RC3.jar
> saaj-api-1.3.jar
> saaj-impl-1.3.jar
> spring-aop.jar
> spring-beans.jar
> spring-context.jar
> spring-core.jar
> spring-mock.jar
> spring-web.jar
> stax-api-1.0.1.jar
> struts2-codebehind-plugin-2.0.11.jar
> struts2-config-browser-plugin-2.0.11.jar
> struts2-core-2.0.11.jar
> struts2-jasperreports-plugin-2.0.11.jar
> struts2-jfreechart-plugin-2.0.11.jar
> struts2-pell-multipart-plugin-2.0.11.jar
> struts2-plexus-plugin-2.0.11.jar
> struts2-sitegraph-plugin-2.0.11.jar
> struts2-sitemesh-plugin-2.0.11.jar
> struts2-spring-plugin-2.0.11.jar
> struts2-tiles-plugin-2.0.11.jar
> tiles-api-2.0.4.jar
> tiles-core-2.0.4.jar
> tiles-jsp-2.0.4.jar
> wsdl4j-1.6.1.jar
> wstx-asl-3.0.1.jar
> xbean-2.1.0.jar
> xfire-all-1.2.6.jar
> xml-apis.jar
> XmlSchema-1.1.jar
> xwork-2.0.4.jar
>
>
> This is what the action mapping looks like:
>
> <action name="printableNotes"
> class="com.focus.actions.call.MemberNotes">
> <result name="success"
> type="jasper">
> <param
> name="location">/WEB-INF/classes/com/focus/actions/call/notes.jasper</param>
> <param
> name="dataSource">notes</param>
> </result>
> </action>
>
> It loads the action fine if the type jasper is removed, so
> I know the class file is ok.
>
>
>
>
> Thanks,
>
> Paul Zepernick
>
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@(protected)]
> Sent: Friday, June 20, 2008 9:56 AM
> To: Struts Users Mailing List
> Subject: RE: Logging For SEVERE: Error filterStart
>
> --- On Fri, 6/20/08, Paul Zepernick
> <pzepernick@(protected):
> > Yes, I turned on debug and there was a ton of
> information, but no
> > stack trace or anything else saying why the filter
> failed to start. I
> > do have all the Jasper dependencies in now (that email
> is a couple
> > down).
>
> Ah.
>
> Not sure what to tell you then; I'm using Jasper
> results in a few apps without issues, and without seeing
> any log outputs, lib directory contents, configs, and so on
> it's pretty difficult to provide any useful input at
> all.
>
> (Consider sending plain-text emails, btw.)
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail:
> user-help@(protected)
>
>
> The information contained in this transmission contains
> confidential information that is legally privileged. This
> information is intended only for the use of the individual
> or entity named above. The authorized recipient of this
> information is prohibited from disclosing this information
> to any other party unless required to do so by law or
> regulation and is required to destroy the information after
> its stated need has been fulfilled.
> If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution, or
> action taken in reliance on the contents of these documents
> is strictly prohibited. If you have received this
> information in error, please notify the sender immediately
> by return email and arrange for the return or destruction
> of these
> documents.---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail:
> user-help@(protected)

Attachment:
user_187874.ezm (zipped)
You're the man!!!!
The package did not extend jasper. I was not aware of that. The server starts up fine now. Thanks so much for the help.
As for the plugins, no we are not using them all. I have to take them out. We just kind of dumped everything in when we were trying to get Struts 2 going and have not yet removed things that we are not using.
Thanks,
Paul Zepernick
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: Friday, June 20, 2008 12:24 PM
To: Struts Users Mailing List
Subject: RE: Logging For SEVERE: Error filterStart
does the pkg extend the jasper pkg?
are you really using all those s2 plugins?!
(sent via mobile; too lazy to capitalize properly.)
dave
--- On Fri, 6/20/08, Paul Zepernick <pzepernick@commercebenefitsgroup.com> wrote:
> From: Paul Zepernick <pzepernick@commercebenefitsgroup.com>
> Subject: RE: Logging For SEVERE: Error filterStart
> To: "'Struts Users Mailing List'" <user@struts.apache.org>
> Date: Friday, June 20, 2008, 11:12 AM
> Here are the jars that I have currently:
>
> activation-1.1.jar
> antlr-2.7.2.jar
> asm.jar
> asm-attrs.jar
> cglib-2.1.3.jar
> commons-beanutils-1.6.jar
> commons-chain-1.1.jar
> commons-codec-1.3.jar
> commons-collections-2.1.1.jar
> commons-digester-1.7.jar
> commons-httpclient-3.0.jar
> commons-javaflow-20060411.jar
> commons-lang-2.1.jar
> commons-logging.jar
> commons-validator-1.3.0.jar
> dbcfs3.2.1-alias_fix.jar
> dom4j-1.6.1.jar
> ehcache-1.2.3.jar
> ejb3-persistence.jar
> freemarker-2.3.8.jar
> hibernate3.2.6.jar
> hibernate-annotations.jar
> hibernate-commons-annotations.jar
> itext-1.3.1.jar
> jasperreports-2.0.5.jar
> javamail.jar
> jaxb-api-2.0.jar
> jaxen-1.1-beta-9.jar
> jaxws-api-2.0.jar
> jdom-1.0.jar
> jfreechart-1.0.0.jar
> jsr173_api-1.0.jar
> jta.jar
> junit.jar
> jxl-2.6.jar
> log4j-1.2.11.jar
> mail-1.4.jar
> mysql-connector-java-5.0.4-bin.jar
> ognl-2.6.11.jar
> oro-2.0.8.jar
> proxool-0.9.0RC3.jar
> saaj-api-1.3.jar
> saaj-impl-1.3.jar
> spring-aop.jar
> spring-beans.jar
> spring-context.jar
> spring-core.jar
> spring-mock.jar
> spring-web.jar
> stax-api-1.0.1.jar
> struts2-codebehind-plugin-2.0.11.jar
> struts2-config-browser-plugin-2.0.11.jar
> struts2-core-2.0.11.jar
> struts2-jasperreports-plugin-2.0.11.jar
> struts2-jfreechart-plugin-2.0.11.jar
> struts2-pell-multipart-plugin-2.0.11.jar
> struts2-plexus-plugin-2.0.11.jar
> struts2-sitegraph-plugin-2.0.11.jar
> struts2-sitemesh-plugin-2.0.11.jar
> struts2-spring-plugin-2.0.11.jar
> struts2-tiles-plugin-2.0.11.jar
> tiles-api-2.0.4.jar
> tiles-core-2.0.4.jar
> tiles-jsp-2.0.4.jar
> wsdl4j-1.6.1.jar
> wstx-asl-3.0.1.jar
> xbean-2.1.0.jar
> xfire-all-1.2.6.jar
> xml-apis.jar
> XmlSchema-1.1.jar
> xwork-2.0.4.jar
>
>
> This is what the action mapping looks like:
>
> <action name="printableNotes"
> class="com.focus.actions.call.MemberNotes">
> <result name="success"
> type="jasper">
> <param
> name="location">/WEB-INF/classes/com/focus/actions/call/notes.jasper</param>
> <param
> name="dataSource">notes</param>
> </result>
> </action>
>
> It loads the action fine if the type jasper is removed, so
> I know the class file is ok.
>
>
>
>
> Thanks,
>
> Paul Zepernick
>
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com]
> Sent: Friday, June 20, 2008 9:56 AM
> To: Struts Users Mailing List
> Subject: RE: Logging For SEVERE: Error filterStart
>
> --- On Fri, 6/20/08, Paul Zepernick
> <pzepernick@commercebenefitsgroup.com> wrote:
> > Yes, I turned on debug and there was a ton of
> information, but no
> > stack trace or anything else saying why the filter
> failed to start. I
> > do have all the Jasper dependencies in now (that email
> is a couple
> > down).
>
> Ah.
>
> Not sure what to tell you then; I'm using Jasper
> results in a few apps without issues, and without seeing
> any log outputs, lib directory contents, configs, and so on
> it's pretty difficult to provide any useful input at
> all.
>
> (Consider sending plain-text emails, btw.)
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
> The information contained in this transmission contains
> confidential information that is legally privileged. This
> information is intended only for the use of the individual
> or entity named above. The authorized recipient of this
> information is prohibited from disclosing this information
> to any other party unless required to do so by law or
> regulation and is required to destroy the information after
> its stated need has been fulfilled.
> If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution, or
> action taken in reliance on the contents of these documents
> is strictly prohibited. If you have received this
> information in error, please notify the sender immediately
> by return email and arrange for the return or destruction
> of these
> documents.---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
The information contained in this transmission contains confidential information that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled.
If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of these documents is strictly prohibited. If you have received this information in error, please notify the sender immediately by return email and arrange for the return or destruction of these documents.

Attachment:
user_187869.ezm (zipped)In the context of Struts 2 and from my personal experience as a Struts
framework (pure java-centric) user that does not do webapps development
for a living I would have very much appreciated:
1-. A rather colorful set of Struts Blank applications where you could
get out of the box:
a) Several UI themes to choose from with professional look and feel
=> no worries about graphic design etc (this alone takes away all
efforts involving HTML, CSS, Velocity, Freemarker, and maybe some of the
Javascript too)
b) A selected and consistent setup of plugins and sensitive
dependencies e.g. dojo, tiles or sitemesh, struts menu, displaytag
(afaik many of
us Struts users seem to use/need it) ...
c) Couple of system level concerns implemented out of the box e.g.
user management, authentication.
d) A scalable design e.g. a generic CRUD mapping and best practices
illustrated for implementing c)
2-. Struts 2 full-fledge implementation of the "Pet Store" tackling real
life web application use-cases in addition to the showcase.
3-. Struts 2 IDE support e.g. wizards for generating #1
I have been recently trying to create a #1 for my company branch using
AppFuse as starting point (btw managed to port it to S2.1.2), but it is
a nightmare because here we don't use Spring, Hibernate etc and skinning
out all that out of AppFuse along with their low level access to Servlet
API, overall is becoming a daunting task.
Well, documentation was initially a big issue for me, because of S2
being a relatively new framework. Now there are really good books in the
market specially the "In Action" I can't put it down ... btw I still owe
a review for it in amazon
... just my 2 Cuban pesos :)
regards,
Giovanni
Ted Husted wrote:
> Since it's friday, let me pose a question to the group ...
>
> Even with rock-solid frameworks like Apache Struts, it still seems
> like web application development takes longer than it should. Some
> frameworks, like Ruby on Rails, speak directly to "time to market"
> concerns and have been gathering many followers.
>
> But why does web application still seem so difficult or so
> time-consuming? Are there time bandits that still suck days or weeks
> out of your development schedule? Are there time gremlins that
> "nickel-and-dime" you every hour of every day? Is there anything more
> that frameworks like Apache Struts can do to help? Or are just there
> intractable problems with web development itself?
>
> Thoughts? :)
>
> -Ted.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_187872.ezm (zipped)As I said:
I'm not that a great coder, and not an expert php or java coder.
Coding pure logic in java or php goes at a nice pace.
Once you are in the loop where you got a variable, object, list/map/tree
of stuffs - and need that converted to something html'ish ... then for
me php is far easier to do that with. Struts2 is not. And I have max 2y
on-and-off hobby experience with php.
Zend isn't silver bullet AS I SAID, but it's definitely easier. Notice
how random coders jumps on it wagon... how many kids jumps on struts??
More or less none...
Are we talking about being productive? Make stuff fast? Time to deliver?
Or are we talking about something else?
Let me Quote:
" Some frameworks, like Ruby on Rails, speak directly to "time to
market"
concerns and have been gathering many followers."
BECAUSE ITS EASY TO GET STUFF DONE. DON'T NEED TO BE GEEKISH or 3y+
EXPERIENCE. You even don't need college... sad really.
I just stated that struts2 are not making me productive. Notice how
often I say it's difficult to find and fix problems related to X.
PHP + notepad++ - no debuggers or ide. No particular tools. But I get
stuff done... even I'm amazed, cause look at php as a language or zend
as framework - certainly not pretty.
I just made a huge rant on java and struts not being productive for me.
If you get exception error because of 3 words - that's your problem.
Someone asked me what slowed me down - I answered. Maybe my answers is
just noob errors or whatever, I don't care. I just don't think or feel
I'm productive. Others here favour JSF... I don't see ppl being
productive with that either. Sure it got some nice stuff I want to try,
but that's pretty much it.
Maybe in 5y I'm doing magic and got total different problems, but that's
then. Not now.
Mvh
Frode T. Johansen
> -----Opprinnelig melding-----
> Fra: Musachy Barroso [mailto:musachy@(protected)]
> Sendt: 20. juni 2008 17:14
> Til: Struts Users Mailing List
> Emne: Re: [OT] What slows you down?
>
> I won't comment on all this, because, I am totally biased, and it is
> friday after all, but here:
>
> "Look to php zend framework"
>
> that was it for me, lol.
>
> musachy
>
> Ok...I won't talk about the rest because I am obviously biased
>

Attachment:
user_187873.ezm (zipped)
Musachy abused the first rule, dont' feed the trolls... :)
> Subject: SV: [OT] What slows you down?
> Date: Fri, 20 Jun 2008 18:27:10 +0200
> From: Frode.Johansen@(protected)
> To: user@(protected)
>
> As I said:
> I'm not that a great coder, and not an expert php or java coder.
> Coding pure logic in java or php goes at a nice pace.
>
> Once you are in the loop where you got a variable, object, list/map/tree
> of stuffs - and need that converted to something html'ish ... then for
> me php is far easier to do that with. Struts2 is not. And I have max 2y
> on-and-off hobby experience with php.
> Zend isn't silver bullet AS I SAID, but it's definitely easier. Notice
> how random coders jumps on it wagon... how many kids jumps on struts??
> More or less none...
>
> Are we talking about being productive? Make stuff fast? Time to deliver?
> Or are we talking about something else?
>
> Let me Quote:
> " Some frameworks, like Ruby on Rails, speak directly to "time to
> market"
> concerns and have been gathering many followers."
> BECAUSE ITS EASY TO GET STUFF DONE. DON'T NEED TO BE GEEKISH or 3y+
> EXPERIENCE. You even don't need college... sad really.
>
> I just stated that struts2 are not making me productive. Notice how
> often I say it's difficult to find and fix problems related to X.
>
> PHP + notepad++ - no debuggers or ide. No particular tools. But I get
> stuff done... even I'm amazed, cause look at php as a language or zend
> as framework - certainly not pretty.
>
> I just made a huge rant on java and struts not being productive for me.
> If you get exception error because of 3 words - that's your problem.
> Someone asked me what slowed me down - I answered. Maybe my answers is
> just noob errors or whatever, I don't care. I just don't think or feel
> I'm productive. Others here favour JSF... I don't see ppl being
> productive with that either. Sure it got some nice stuff I want to try,
> but that's pretty much it.
>
> Maybe in 5y I'm doing magic and got total different problems, but that's
> then. Not now.
>
> Mvh
> Frode T. Johansen
>
> > -----Opprinnelig melding-----
> > Fra: Musachy Barroso [mailto:musachy@(protected)]
> > Sendt: 20. juni 2008 17:14
> > Til: Struts Users Mailing List
> > Emne: Re: [OT] What slows you down?
> >
> > I won't comment on all this, because, I am totally biased, and it is
> > friday after all, but here:
> >
> > "Look to php zend framework"
> >
> > that was it for me, lol.
> >
> > musachy
> >
> > Ok...I won't talk about the rest because I am obviously biased
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
_________________________________________________________________
Introducing Live Search cashback . It's search that pays you back!
http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=introsrchcashback

Attachment:
user_187876.ezm (zipped)Let me start with I think struts 2 is great
- like some of the others the size of the technology stack and UI seem
to give me the most trouble as well.
Some things I've had to deal with in struts 2 are:
1. The tags - I decided to not use the struts tags as I prefer to
use JSTL and JSP EL as they allow me to style the pages as needed and
there seemed to be some overlap in the functionality - I had to also
write my own JSP tag to get errors out of action errors so I could place
specific messages in any location I needed. I tried extending the tags
but they gave me some trouble so instead I created tags by extending
SimpleTagSupport which was much easier for me.
2. Validation - since I'm using Yahoo User Interface Libraries
(YUI) and my actions are returning JSON or HTML fragments returning
INPUT didn't really work out so I removed validation in favor of doing
it in the ActionSupport class. I'm not sure if there is much struts can
do about this one.
3. I'd have to say I've stayed away from ognl in favor of JSP el.
I'm not sure if the above is due to some of my misunderstanding but
above are some of the things I ran into.
The above is small in comparison to what struts saves me in terms of
time by using Interceptors, populating my classes for me and placing
data on the request.
-Nate
-----Original Message-----
From: ted.husted@(protected)
Ted Husted
Sent: Friday, June 20, 2008 7:43 AM
To: Struts Users Mailing List
Subject: [OT] What slows you down?
Since it's friday, let me pose a question to the group ...
Even with rock-solid frameworks like Apache Struts, it still seems
like web application development takes longer than it should. Some
frameworks, like Ruby on Rails, speak directly to "time to market"
concerns and have been gathering many followers.
But why does web application still seem so difficult or so
time-consuming? Are there time bandits that still suck days or weeks
out of your development schedule? Are there time gremlins that
"nickel-and-dime" you every hour of every day? Is there anything more
that frameworks like Apache Struts can do to help? Or are just there
intractable problems with web development itself?
Thoughts? :)
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_187877.ezm (zipped)> -----Original Message-----
> From: Sarr, Nathan [mailto:nsarr@(protected)]
> Sent: Friday, June 20, 2008 10:29 AM
> To: Struts Users Mailing List
> Subject: RE: [OT] What slows you down?
>
> 2. Validation - since I'm using Yahoo User Interface Libraries
> (YUI) and my actions are returning JSON or HTML fragments
> returning INPUT didn't really work out so I removed
> validation in favor of doing it in the ActionSupport class.
> I'm not sure if there is much struts can do about this one.
Note that in the upcoming 2.1.x release you can use the
"jsonValidationWorkflowStack" and automatically get action errors
directly in your JSON results, using the validation framework out of the
box. There's even a very small JavaScript module that integrates with
what's expected to be there using the Struts tags, so you can do your
submit and display of errors entirely with the Ajax request. You could
then use the exact same form and do a regular non-Ajax submit and do the
exact same validations (if you wanted to).
I verified this with a simple test case, using YUI 2.5.2 and Struts2
2.1.2.

Attachment:
user_187878.ezm (zipped)Hi David,
That sounds great - thanks for tip. I'm going to grab the Beta release
ASAP.
-Nate
-----Original Message-----
From: Karr, David [mailto:david.karr@(protected)]
Sent: Friday, June 20, 2008 1:47 PM
To: Struts Users Mailing List
Subject: RE: [OT] What slows you down?
> -----Original Message-----
> From: Sarr, Nathan [mailto:nsarr@(protected)]
> Sent: Friday, June 20, 2008 10:29 AM
> To: Struts Users Mailing List
> Subject: RE: [OT] What slows you down?
>
> 2. Validation - since I'm using Yahoo User Interface Libraries
> (YUI) and my actions are returning JSON or HTML fragments
> returning INPUT didn't really work out so I removed
> validation in favor of doing it in the ActionSupport class.
> I'm not sure if there is much struts can do about this one.
Note that in the upcoming 2.1.x release you can use the
"jsonValidationWorkflowStack" and automatically get action errors
directly in your JSON results, using the validation framework out of the
box. There's even a very small JavaScript module that integrates with
what's expected to be there using the Struts tags, so you can do your
submit and display of errors entirely with the Ajax request. You could
then use the exact same form and do a regular non-Ajax submit and do the
exact same validations (if you wanted to).
I verified this with a simple test case, using YUI 2.5.2 and Struts2
2.1.2.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_187879.ezm (zipped)Check the archives for the note I wrote on 6/15 with subject "Some
confusion trying to do ajax form submit". Musachy gave me some very
useful info (read all his responses).
> -----Original Message-----
> From: Sarr, Nathan [mailto:nsarr@(protected)]
> Sent: Friday, June 20, 2008 11:16 AM
> To: Struts Users Mailing List
> Subject: RE: [OT] What slows you down?
>
> Hi David,
>
> That sounds great - thanks for tip. I'm going to grab the
> Beta release ASAP.
>
> -Nate
>
> -----Original Message-----
> From: Karr, David [mailto:david.karr@(protected)]
> Sent: Friday, June 20, 2008 1:47 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] What slows you down?
>
> > -----Original Message-----
> > From: Sarr, Nathan [mailto:nsarr@(protected)]
> > Sent: Friday, June 20, 2008 10:29 AM
> > To: Struts Users Mailing List
> > Subject: RE: [OT] What slows you down?
> >
> > 2. Validation - since I'm using Yahoo User Interface Libraries
> > (YUI) and my actions are returning JSON or HTML fragments returning
> > INPUT didn't really work out so I removed validation in
> favor of doing
> > it in the ActionSupport class.
> > I'm not sure if there is much struts can do about this one.
>
> Note that in the upcoming 2.1.x release you can use the
> "jsonValidationWorkflowStack" and automatically get action
> errors directly in your JSON results, using the validation
> framework out of the box. There's even a very small
> JavaScript module that integrates with what's expected to be
> there using the Struts tags, so you can do your submit and
> display of errors entirely with the Ajax request. You could
> then use the exact same form and do a regular non-Ajax submit
> and do the exact same validations (if you wanted to).
>
> I verified this with a simple test case, using YUI 2.5.2 and
> Struts2 2.1.2.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_187880.ezm (zipped)--- On Fri, 6/20/08, Frode T. Johansen <Frode.Johansen@(protected):
> -Debugging.
> What does the request.paramterMap contains of variables
> form post/get? I have a small code for printing that...
> just pain to use the debugger for it.
> What does the valuestack contains? I don't know...
Or use <s:debug/>.
> What parameters are coming in from the post/get ->
> parameterinterceptor, and what is it trying to do? I
> don't know...
Use a proxy, live headers, etc. AFAIC it's not the responsibility of the framework to show what's on the wire.
> -- Struts2 sucks
> I have spent 6months, and still struggle with it.
Just to provide a counter-anecdote, we've been happier with S2 than almost anything else in Java land so far.
> Struts books are ... thank god I piracy copied them first -
Maybe don't say that too loudly since some of us are the authors of those books.
> It's really hard to learn and get used to Struts2. If I
> quit this job, then they got to recruit a struts2 programmer
> or re-train another which will take forever.
Again, counter-anecdote; I've worked with three outside companies and have had them up-and-running on S2 in under a week. (They were already Java houses), including simplistic Spring usage, which was also new to them.
> I believe Struts2 was made by a Geek trying to get rich.
Guess what: S2 was made by geeks trying to get work done.
Most of us don't get rich from working on open-source projects, and quite frankly I take a little umbrage at the insinuation, so I'll cut this short--it's too close to the weekend to be baited.
> Stupid ppl can start code very fast in php.
And this is a *good* thing?
If you think inheriting an S2 project is difficult try dealing with an ad-hoc PHP app: there's very, very little worse in the world of computers than PHP apps.
As far as PHP-the-language goes, don't even get me started.
Dave

Attachment:
user_187881.ezm (zipped)lol, another one that didn't read the sign ;)
musachy
On Fri, Jun 20, 2008 at 3:48 PM, Dave Newton <newton.dave@(protected):
> --- On Fri, 6/20/08, Frode T. Johansen <Frode.Johansen@(protected):
>> -Debugging.
>> What does the request.paramterMap contains of variables
>> form post/get? I have a small code for printing that...
>> just pain to use the debugger for it.
>> What does the valuestack contains? I don't know...
>
> Or use <s:debug/>.
>
>> What parameters are coming in from the post/get ->
>> parameterinterceptor, and what is it trying to do? I
>> don't know...
>
> Use a proxy, live headers, etc. AFAIC it's not the responsibility of the framework to show what's on the wire.
>
>> -- Struts2 sucks
>> I have spent 6months, and still struggle with it.
>
> Just to provide a counter-anecdote, we've been happier with S2 than almost anything else in Java land so far.
>
>> Struts books are ... thank god I piracy copied them first -
>
> Maybe don't say that too loudly since some of us are the authors of those books.
>
>> It's really hard to learn and get used to Struts2. If I
>> quit this job, then they got to recruit a struts2 programmer
>> or re-train another which will take forever.
>
> Again, counter-anecdote; I've worked with three outside companies and have had them up-and-running on S2 in under a week. (They were already Java houses), including simplistic Spring usage, which was also new to them.
>
>> I believe Struts2 was made by a Geek trying to get rich.
>
> Guess what: S2 was made by geeks trying to get work done.
>
> Most of us don't get rich from working on open-source projects, and quite frankly I take a little umbrage at the insinuation, so I'll cut this short--it's too close to the weekend to be baited.
>
>> Stupid ppl can start code very fast in php.
>
> And this is a *good* thing?
>
> If you think inheriting an S2 project is difficult try dealing with an ad-hoc PHP app: there's very, very little worse in the world of computers than PHP apps.
>
> As far as PHP-the-language goes, don't even get me started.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment:
user_187882.ezm (zipped)--- On Fri, 6/20/08, Musachy Barroso <musachy@(protected):
> lol, another one that didn't read the sign ;)
I'm really bad at that game; they get me every time.
Dave

Attachment:
user_187885.ezm (zipped)I'd like to +1 the sentiment that we have too many layers and too many
options for each layer.
I'll resist the temptation to try to list various layers and options --
there are just too many.
What I'd like to add to the discussion is the theory that there is a
natural selection/evolutionary force that causes there creation of lots
of layers and options.
Consider an open source product, say, Struts 1. To do its job, it had
to perform multiple functions. I consider it primarily a controller,
but it had view parts, data transfer parts, database pooling, etc.
In abstract terms, it performed functions W, X, Y, and Z. But it was
*good* at function X -- the others were just needed to fit the pieces
together.
Along comes another developer, who likes Struts 1. But he thinks
function W could be revamped, so he creates a new product that performs
function W (arguably) better than Struts 1. Assume it is popular, and
the best practice, what-every-body-does is use Struts with the
replacement W.
Then the same happens to function Z.
Then someone realizes that function W really could be split into
functions R, S, and T. She creates a replacement that is really good at
function T, but R and S aren't that good.
And the process repeats in a Darwinian pool of evolving goo.
I'm not the best historian, but isn't this is exactly what happened to
Struts 1? It had tags (that got replaced with JSTL). It had database
pooling that got replaced with container-managed persistence. It had
actionforms that got replaced with POJOs. (Evolution is occasionally
backward!)
This isn't a Struts problem directly. It is an open-source problem.
Java seems worse because by its structure it encourages developing thin
layers of objects that call objects that call objects.
In conclusion, the bad news is that we're in an evolutionary period.
The good news is that we're in an evolutionary period.
Dave Newton wrote:
> --- On Fri, 6/20/08, Antonio Petrelli <antonio.petrelli@(protected):
>> IMHO it's the presence of too many layers of applications.
>
> +1
>
> The most productive environment I've worked in is Lisp (and Smalltalk, I guess). Config, code, HTML, everything was generated from Lisp. I had usable IDE assistance *everywhere*, including across layers.
>
> I'm now playing games with annotations, even *more* games with code generation (both during build and runtime; codegen has always been one of my guilty pleasures), and ways of doing the development itself (literate programming with cross-language weaving) to reduce the amount of time I have to spend switching paradigms, but it's ultimately still in my face on *some* level, even when I don't have to think about it all the time.
>
> The other big issue? The sheer number of options for essentially every single layer :(
>
>> Just my 2 eurocents
>
> Yanno, with the current exchange rate...
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
--
Neil Erdwien, neil@(protected)
Acting Associate Director / Web Technologies Manager
Computing and Telecommunications Services, Kansas State University

Attachment:
user_187870.ezm (zipped)Hi @all...
Are there any other themes or styles or stylesheets for the Struts 2.1.2
datetimepicker available?
Or do I have to overwrite all css classes to change the appearance?
The "dropdown" is very small so its really hard to pick a date. FYI: It
looks like that in IE7 and Firefox 2.
Regards
Jan

Attachment:
user_187875.ezm (zipped)
Musachy Barroso wrote:
>
> Get it from here:
>
> http://repo1.maven.org/maven2/org/apache/struts/struts-annotations/
>
> musachy
>
I've managed to do it with following target:
<target name="generate-taglib" depends="compile-project">
<apt classpathref="struts-plugin.classpath"
factorypathref="struts-plugin.classpath"
srcdir="src"
compile="false"
destdir="dest/apt"
fork="true"
preprocessdir="bin"
verbose="false"
source="1.5"
factory="org.apache.struts.annotations.taglib.apt.TLDAnnotationProcessorFactory">
<compilerarg value="-AtlibVersion=0.0"/>
<compilerarg value="-AjspVersion=2.0"/>
<compilerarg value="-AshortName=ext"/>
<compilerarg value="-Auri=/ext-tags"/>
<compilerarg value="-Adescription='Description is set in build.xml'"/>
<compilerarg value="-AdisplayName='Aleri Ext Tags'"/>
<compilerarg value="-AoutTemplatesDir=${basedir}/doc"/>
<compilerarg value="-AoutFile=${basedir}/bin/META-INF/ext-tags.tld"/>
<!-- Apt Debug options -->
<!--
<compilerarg value="-print"/>
<compilerarg value="-XListAnnotationTypes"/>
<compilerarg value="-XListDeclarations"/>
<compilerarg value="-XPrintAptRounds"/>
<compilerarg value="-XPrintFactoryInfo"/>
-->
</apt>
</target>
following folders should exist in ${basedir}:
- src (with source code)
- bin (with already compiled sources)
- bin/META-INF
- doc
- dest/apt
${struts-plugin.classpath} should contain struts-annotations-1.0.X.jar
apt.exe must be available under %JDK_HOME%/bin that runs ant or in %PATH%
(if not, causes trouble "Error running apt.exe compiler", e.g. if build is
started under Eclipse, which is started by JRE, not JDK).
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_187883.ezm (zipped)
Hi all,
we have some Struts 2 pages which load fine but if the user uses Ctrl+R or
Browser Refresh the page reloads but no values are populated.
This worked fine before using Struts 1 and my guess is that it was because
the form was present in session.
Is there any way to make this work in Struts 2 ?
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_187884.ezm (zipped)Problems with Tomcat session replication are really a Tomcat issue, not
a Struts issue. You will likely have more luck asking on the Tomcat
user's list. You should include more details about how you configured
Tomcat for session replication, too, since that seems likely to be where
the problem lies.
L.
Ildefonso Montero wrote:
> Hi,
>
> we are having a problem when balancing Tomcat session among to clusters.
> Architecture is the following: Apache (A) balancing 50-50 over Tomcat (1) and
> Tomcat (2).
>
> We are working on a big application and we saw that the session is not
> replicated properly because we are doing one request for each Tomcat
> sequentially (see 50-50 balancing) and we have checked that a simple counter
>
> that we created inside the session object (our own object) accesing using
> session.getAttribute("name") the resulted pattern is:
>
> Request 1 in T1, counter = 1
> Request 2 in T2, counter = 2
> Request 3 in T1, counter = 2
>
> Request 4 in T2, counter = 3
> Request 5 in T1, counter = 3
> Request 6 in T2, counter = 4
> Request 7 in T1, counter = 4
> Request 8 in T2, counter = 5
> ....
>
> so, the value of the counter is not replicated properly or we are accesing it
>
> in a wrong way. Is interesting for us that the Session ID (session.getID())
> shows the same ID in both Tomcats so, we guess the is the same but replication
> of attributes values seems to be not replicated.
>
> Could you please help us?
>
> Than you in advance.
>
> some details: Apache 2.2.3, used mod_proxy_ajp instead of mod_jk, so we did
> not
>
> configured workers.properties file, we customized httpd.conf file.
>
>
>

Attachment:
user_187886.ezm (zipped)Hi!
I've been trying to build struts2 2.1.3-SNAPSHOT, svn'ed today
but without success.
The error seams to be related to xwork.. which I just built
from source (just svn'ed), too.
Can any kind soul help me, please?
--
Robi
E:\devel\ApacheASF\struts\struts2>mvn clean install -Pall
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Struts 2
[INFO] Struts 2 Core
[INFO] Struts Plugins
[INFO] Struts 2 JUnit Plugin
[INFO] Struts 2 Codebehind Plugin
[INFO] Struts 2 Configuration Browser Plugin
[INFO] Struts 2 Jasper Reports Plugin
[INFO] Struts 2 JFreeChart Plugin
[INFO] Struts 2 JSF Plugin
[INFO] Struts 2 Pell Multipart Plugin
[INFO] Struts 2 Plexus Plugin
[INFO] Struts 2 Sitegraph Plugin
[INFO] Struts 2 Sitemesh Plugin
[INFO] Struts 2 Spring Plugin
[INFO] Struts 2 Struts 1 Plugin
[INFO] Struts 2 Tiles Plugin
[INFO] Struts 2 Dojo Plugin
[INFO] Struts 2 REST Plugin
[INFO] Struts 2 Portlet Plugin
[INFO] Struts 2 TestNG Plugin
[INFO] Struts 2 DWR Plugin
[INFO] Webapps
[INFO] Blank Webapp
[INFO] Starter Webapp
[INFO] Portlet Webapp
[INFO] Showcase Webapp
[INFO] Struts 2 Rest Showcase Example
[INFO]
------------------------------------------------------------------------
[INFO] Building Struts 2
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
[INFO] [site:attach-descriptor]
[WARNING] Unable to load parent project from repository: Could not find
the model file 'E:\devel\ApacheASF\struts\struts2\..\pom.xml'. for p
roject unknown
[INFO] [install:install]
[INFO] Installing E:\devel\ApacheASF\struts\struts2\pom.xml to
E:\mavenRepo\org\apache\struts\struts2-parent\2.1.3-SNAPSHOT\struts2-parent-2
.1.3-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building Struts 2 Core
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory E:\devel\ApacheASF\struts\struts2\core\target
[INFO] [dependency:unpack {execution: unpack-xwork}]
[INFO] Configured Artifact:
com.opensymphony:xwork:sources:2.1.2-SNAPSHOT:jar
[INFO] Expanding:
E:\mavenRepo\com\opensymphony\xwork\2.1.2-SNAPSHOT\xwork-2.1.2-SNAPSHOT-sources.jar
into E:\devel\ApacheASF\struts\struts2
\core\target\xwork-sources
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 350 source files to
E:\devel\ApacheASF\struts\struts2\core\target\classes
[INFO] [apt:execute {execution: default}]
warning: Annotation types without processors:
[com.opensymphony.xwork2.inject.Inject, java.lang.Override,
java.lang.SuppressWarnings, java.l
ang.annotation.Target, java.lang.annotation.Retention]
DEBUG 12140 [freemark] (): Could not find template in cache,
creating new one; id=[tag.ftl[it_CH,Cp1252,parsed] ]
DEBUG 12140 [freemark] (): Compiling FreeMarker template
tag.ftl[it_CH,Cp1252,parsed] from
jar:file:/E:/mavenRepo/org/apache/struts/str
uts-annotations/1.0.4-SNAPSHOT/struts-annotations-1.0.4-SNAPSHOT.jar!/org/apache/struts/annotations/taglib/apt/tag.ftl
ERROR 12140 [freemark] ():
Error on line 23, column 88 in tag.ftl
Expecting a string, date or number here, Expression
tag.allowDynamicAttributes is instead a
freemarker.template.TemplateBooleanModel$1
The problematic instruction:
----------
==> ${tag.allowDynamicAttributes} [on line 23, column 86 in tag.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.NonStringException: Error on line 23, column 88 in tag.ftl
Expecting a string, date or number here, Expression
tag.allowDynamicAttributes is instead a
freemarker.template.TemplateBooleanModel$1
at freemarker.core.Expression.getStringValue(Expression.java:126)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:237)
at
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.saveTemplates(TagAnnotationProcessor.java:298)
at
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.process(TagAnnotationProcessor.java:183)
at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
at
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
at com.sun.tools.apt.main.Main.compile(Main.java:1075)
at com.sun.tools.apt.main.Main.compile(Main.java:938)
at com.sun.tools.apt.Main.processing(Main.java:95)
at com.sun.tools.apt.Main.process(Main.java:54)
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
org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute(AbstractAPTMojo.java:442)
at
org.apache.myfaces.maven.plugin.AptMojo.execute(AptMojo.java:113)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] : org.apache.myfaces.maven.plugin.AptMojo@(protected)
Compilation error.
Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.RuntimeException: freemarker.core.NonStringException: Error on
line 23, column 88 in tag.ftl
Expecting a string, date or number here, Expression
tag.allowDynamicAttributes is instead a
freemarker.template.TemplateBooleanModel$1
at
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.saveTemplates(TagAnnotationProcessor.java:306)
at
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.process(TagAnnotationProcessor.java:183)
at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
at
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
at com.sun.tools.apt.main.Main.compile(Main.java:1075)
at com.sun.tools.apt.main.Main.compile(Main.java:938)
at com.sun.tools.apt.Main.processing(Main.java:95)
at com.sun.tools.apt.Main.process(Main.java:54)
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
org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute(AbstractAPTMojo.java:442)
at
org.apache.myfaces.maven.plugin.AptMojo.execute(AptMojo.java:113)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: freemarker.core.NonStringException: Error on line 23, column
88 in tag.ftl
Expecting a string, date or number here, Expression
tag.allowDynamicAttributes is instead a
freemarker.template.TemplateBooleanModel$1
at freemarker.core.Expression.getStringValue(Expression.java:126)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:237)
at
org.apache.struts.annotations.taglib.apt.TagAnnotationProcessor.saveTemplates(TagAnnotationProcessor.java:298)
... 32 more
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Sat Jun 21 02:51:22 CEST 2008
[INFO] Final Memory: 20M/50M
[INFO]
------------------------------------------------------------------------