Found an issue at codehaus' jira (http://jira.codehaus.org/browse/MNG-2923)
that shows exactly the same error messages. Unfortunately, I still haven't
figured out how to solve it.
wnqq wrote:
>
> My JasperReports used to work with v2M4.
> Unfortunately, it causes the fo
I tried again and again and still got no luck.
wnqq wrote:
>
> I cleaned everything in the repository and ran it again, but still reached
> the same error.
>
>
> mraible wrote:
>>
>> The only thing I can think of is you might have a corrupt local
>> repo
Found a similar case that happened a few days ago...
http://www.jasperforge.org/index.php?option=com_joomlaboard&func=view&id=25763&catid=10
Just wonder has anyone else been able to use JasperReports with M5?
wnqq wrote:
>
> My JasperReports used to work with v2M4.
> Unf
I cleaned everything in the repository and ran it again, but still reached
the same error.
mraible wrote:
>
> The only thing I can think of is you might have a corrupt local
> repository. If you clean your local repo out and try again, does it
> work?
>
> Matt
>
>
Dear Matt,
The error messages are still the same with "mvn -e".
mraible wrote:
>
> Do you see any better errors if you run "mvn -e"?
>
> On 5/29/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>> My JasperReports used to work with v2M4.
>> Unfo
My JasperReports used to work with v2M4.
Unfortunately, it causes the following error while executing "mvn" after
upgrading to M5:
==
C:\Work\EclipseWorkspace\myproject_sample_m5>mvn
[INFO] Scanning for projects...
[INFO]
-
Environment: appfuse v2.0m4 + struts2 + hibernate (+ eclipse)
I wrote a very simple action class (NodeAction.java) and it could not
function properly unless I rename it to something else (such as
Node2Action.java). Not sure should I configure anything in appfuse
environment in order to get it wor
he
> unparsed one in src/main/resources/jdbc.properties. Another option
> (which I haven't tried) is to make src/main/resources/jdbc.properties
> the source and modify pom.xml to use it as a filter.
>
> Matt
>
> On 4/2/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
&g
; so jdbc.properties gets copied to the target directory and its values
> get replaced.
>
> Matt
>
> On 4/2/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>> Have anyone successfully executed junit tests in eclipse?
>>
>> My environment:
>> * Appfuse v2.0
Have anyone successfully executed junit tests in eclipse?
My environment:
* Appfuse v2.0M4 + struts + hibernate
* eclipse v3.2.1
I can successfully run PersonManagerTest, however, I am unable to finish the
tests of PersonDaoTest nor PersonActionTest.
The steps I did are: right click on PersonDao
Thank you for the clear explanations.
Michael Horwitz wrote:
>
> Under Java 1.5 the Class class is generic. Using Class firmly declares
> that the variable can only be populated with an instance of the class of
> the
> type being persisted, T.
>
> Mike.
>
> On 4/2
In line 30 of GenericDaoHibernate.java (under
data/hibernate/src/main/java/org/appfuse/dao/hibernate/), it declares:
private Class persistentClass;
why not use the following?
private Class persistentClass;
which I think is more appropriate.
--
View this message in context:
http://www.nabble.
Environment: v2.0M4 + Struts + Hibernate
Just wonder has anyone experienced the following warning?
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
It will be ignored for artifact resolution.
Reason: Parse error reading POM. Reason: TEXT must be immediately followed
b
COOL! I modified the URL in pom.xml and it works!
mraible wrote:
>
> You can fix this by modifying (or appending to) the JDBC URL that DbUnit
> uses:
>
> http://raibledesigns.com/rd/entry/dbunit_tip_turn_off_foreign
>
> Matt
>
> On 3/30/07, wnqq <[EMAIL PROTEC
Environment: Appfuse v2.0M4 + Hibernate + MySQL
I encountered the following error while executing "mvn integration-test":
===
[INFO] [dbunit:operation {execution: test}]
[INFO]
--
1
>
>
> More details can be found here:
> http://dbunit.sourceforge.net/components.html (look under IDataSet,
> XmlDataSet).
>
> Mike.
>
>
> On 3/30/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>>
>> Dear Mike,
>>
>> thank you very m
column)?
2
NULL
1
Michael Horwitz wrote:
>
> To specify a null value, simply leave out the value field. So in your
> sample.xml:
>
>
> 1
> Tree 01
>
>
> Mike.
>
> On 3/3
Environment: Appfuse v2.0M4 + Hibernate + MySQL5.0
Question: How to specify NULL value in sample-data.xml so that the data
could be inserted into database via "mvn dbunit:operation" ?
The following is an extract from my POJO Tree.java:
===
private Long p
DNewfield wrote:
>
> wnqq wrote:
>> Figured out a decent solution...
>> Simply setting "documentName" while configuring struts action in
>> struts.xml
>> is enough.
>
> So the request is still a .html request, but the response says "save m
ties>
>>>
>>> Cheers
>>> David Bernard
>>>
>>> Matt Raible wrote:
>>>
>>> > I've tried to get rid of this warning too and have been (so far)
>>> > unsuccessful. Let us know if you fig
Figured out a decent solution...
Simply setting "documentName" while configuring struts action in struts.xml
is enough.
wnqq wrote:
>
>
> By the way, is there any other solution provided by Struts2 itself.
>
> There aren't many documents describing how
uts2 (WebWork).
The only reference I can find is:
http://cwiki.apache.org/WW/jasperreports-plugin.html
In the above reference, it mentions some maybe-related parameters
"contentDisposition" and "documentName". Unfortunately, I have no clues on
how to use these parameters.
>
RL "xx.pdf".
Any suggestions?
TIA.
mraible wrote:
>
> Are you using 2.0 M4? If so, does "mvn integration-test" pass?
> There's a "StaticPages" test in src/test/resources/web-tests.xml that
> verifies it works as expected.
>
> Matt
>
> On 3/2
ty of the
> StaticFilter in 2.0 M4 - I haven't tested if it will work when Struts
> intercepts the forward.
>
> Matt
>
> On 3/28/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>> Dear Matt,
>>
>> Many thanks. The following config works:
>>
&g
filter to catch the forward.
>
> Matt
>
> On 3/28/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>>
>> Sorry, my previous post uses a "redirect" which is not the best solution.
>>
>> I am still trying to use a "forward". (not luck yet...)
&g
Sorry, my previous post uses a "redirect" which is not the best solution.
I am still trying to use a "forward". (not luck yet...)
wnqq wrote:
>
> Thank you very much. I got the following to work nicely. :)
>
>
> ^/report(.*)List.
Thank you very much. I got the following to work nicely. :)
^/report(.*)List.xls
/report$1ListXLS.html
mraible wrote:
>
> The easiest way is probably to add an entry to the UrlRewriteFilter
> (WEB-INF/urlrewrite.xml).
>
> http://tuckey.org/urlrewrite/manual/2.6/
>
Environment:
* Appfuse v2M4 with struts basic archetype
* Firefox 2.x
* JasperReports
I integrated JasperReports with Appfuse v.2M4 with Struts basic archetype.
The steps I did include:
* add jasper dependencies in pom.xml
* prepare PersonAction.java
* prepare personList.jasper as generated by iR
Many thanks for the direction.
Michael Horwitz wrote:
>
> If it works, it has to be right! ;-)
>
> Mike
>
> On 3/27/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> The following settings in pom.xml can get the application to work.
>>
1.3.1
commons-collections
commons-collections
3.2
wnqq wrote:
>
> environment: appfuse v2m4 + struts basic archetype
>
> My appfuse application originally worked properly until I added the
> following d
environment: appfuse v2m4 + struts basic archetype
My appfuse application originally worked properly until I added the
following dependency to pom.xml:
..
jasperreports
jasperreports
1.3.1
Once the above jas
Environment: v.2M4 + Struts basic archetype
When executing mvn integration-test, I got the annoying warning message:
"log4j:WARN No appenders could be found for logger
(com.canoo.webtest.ant.TestStepSequence)."
I tried editing src/main/resources/log4j.xml but could not get rid of the
warning.
Wh
There is a document describing how to upgrade from M3 to M4.
How about from M4-SNAPSHOT to M4 ?
--
View this message in context:
http://www.nabble.com/How-to-upgrade-from-2.0-M4-SNAPSHOT-to-M4---tf3464727s2369.html#a954
Sent from the AppFuse - User mailing list archive at Nabble.com.
--
I tried "mvn dbunit:operation" but it did not work.
However, "mvn post-integration-test" works fine with your suggested
modifications.
wnqq wrote:
>
>
> If I wish to manually insert the data (namely, "ant db-load" in v1.x),
> what configuratio
If I wish to manually insert the data (namely, "ant db-load" in v1.x), what
configurations should I set, and what command should I execute? TIA.
mraible wrote:
>
> If you add an to the dbunit plugin that executes in the
> "post-integration-test" phase, that should solve your issue:
>
>
Dear Nathan, Matt, and Bryan,
Thank you for your valuable comments. Yes, you are correct that each
approach has its advantages and disadvantages.
The approach in the current tutorial uses a request-scope form and we have
to put all the attributes (including id) in the page. Other options include
as talking about.
There are several ways to prevent it:
(1) one is storing id in the session instead of showing it on the web page.
(2) another one is implementing an authorization mechanism which is similar
to what is applied to User.
(3) etc
mraible wrote:
>
> On 3/9/07, wnqq <[EMAIL
;t have credentials to get in in
> the first place.
>
> Willie... can you expand upon your thoughts here please?
>
> Matt Raible wrote:
>> On 3/9/07, wnqq <[EMAIL PROTECTED]> wrote:
>>>
>>> In the Struts2 tutorial page:
>>> http://ap
In the Struts2 tutorial page: http://appfuse.org/display/APF/Using+Struts+2
It shows how to use Struts2 to write CRUD for the entity "Person".
Because it use the id (the PK of Person) that is shown on the web page to
identity which record of person to use, it apparently causes a serious
security
d, but you've only listed one. Are there
> more?
>
> Matt
>
> On 3/8/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>> Several code pieces regarding java generics in the appfuse2 tutorials are
>> weird.
>> For example, in the hibernate tutorial:
>>
Several code pieces regarding java generics in the appfuse2 tutorials are
weird.
For example, in the hibernate tutorial:
http://appfuse.org/display/APF/Using+Hibernate
The code:
public interface PersonDao extends
GenericDao {
should be:
public interface PersonDao extends GenericDao {
--
Vi
and Hibernate in the past, so I don't
>> know if they're causing this or what. The best thing is probably to
>> slap a profiler on it and see where the hotspots and memory leaks are.
>>
>> Matt
>>
>> On 3/7/07, wnqq <[EMAIL PROTECTED]> wro
Environment: v2.0-m4-SNAPSHOT
It is too often to get "java.lang.OutOfMemoryError: PermGen space" while
executing "mvn jetty:run".
How to resolve it?
I know that traditionally we could specify the JVM parameters like "-Xmx512M
-XX:PermSize=64M -XX:MaxPermSize=128M" to increase the memory size. H
Dear Ben,
I am not sure if your comments are related to my post.
Did you mean that we can use label="Save" (instead of "{button.save}") with
your suggestions?
benoit wrote:
>
> When using war:inplace, all.properties fil are set in
> src/main/webapp/web-inf/classes
>
> i suggests to put direc
In the tutorial of "Using Struts 2":
http://appfuse.org/display/APF/Using+Struts+2
The following line of code:
should be fixed as:
Otherwise, the test will fail in I18N environment.
--
View this message in context:
http://www.nabble.com/I18N-error-in-tutorial---Using-Struts-2-tf3361250s
Thank you for the clarifications.
Michael Horwitz wrote:
>
> There is no need to exclude any dependencies after a war:inplace.
>
> Mike.
>
--
View this message in context:
http://www.nabble.com/exclude-dependency-in-Quick-Start-Guide-tf3354998s2369.html#a9332091
Sent from the AppFuse - Use
In Appfuse2 Quick Start Guide:
http://appfuse.org/display/APF/AppFuse+QuickStart
It mentions: "To override files from AppFuse, run mvn war:inplace"
After executing the above command, should I modify pom.xml to exclude any
dependencies?
If the answer is yes, then what should be excluded?
TIA
Thank you for your answer.
Michael Horwitz wrote:
>
> You would need to add the exclusion to:
>
>
>org.appfuse
>appfuse-${web.framework}
>${appfuse.version}
>warpath
>
>
> to get:
>
>
>org.appfuse
>
Environment: 2.0M4-SNAPSHOT + Struts Basic archetype
Following the tutorial at:
http://appfuse.org/display/APF/AppFuse+Core+Classes
it says:
For basic archetypes (add the .. to the existing
dependency):
org.appfuse
appfuse-service
${appfuse.version}
The following lists my steps (summary only) on the Quick Start Guide
(http://appfuse.org/display/APF/AppFuse+QuickStart).
The steps in bold are missing from the guide. I am not sure if they are the
best solutions, however, It took me a while to figure them (the steps in
bold) out.
* Use Archetyp
Shash Chaterjee wrote:
>
> ..
>
Thank you for your detailed explanations.
--
View this message in context:
http://www.nabble.com/Appfuse-M3-and-Eclipse-help-tf3245072s2369.html#a9303563
Sent from the AppFuse - User mailing list archive at Nabble.com.
---
Dear Shash and Matt,
Thanks for your great efforts.
I followed your instructions but it did not work. It is probably I made some
mistakes somewhere or maybe there are some missing steps in your
instructions.
Anyway, below are some more details...
Shash Chaterjee wrote:
>
> - Modify myproject/p
please let us know which version of appfuse you are talking about.
Jonathan Tse wrote:
>
> Hi all,
>
> I am currently working on the i18n part of my application. I notice
> that I need to perform a native2ascii conversion for my
> ApplicationResources_zh*.properties or otherwise I will g
I encountered exactly the same error.
My environment:
* appfuse 2.0M3
* locale = zh_TW
My temporary workaround is deleting all *_zh*.properties files. Namely, use
the English locale.
Figo Yan wrote:
>
>
> Signup:
> [INFO]
> -
Matt Raible-3 wrote:
>
> Also, it seems they've already been converted to ASCII - when it's
> probably better to have them in native format and then run them
> through the native2ascii plugin.
>
> Matt
>
I encountered some I18N issues when the bundle files are processed by
native2ascii or wh
There could optionally be a "zh" bundle which will have the same content as
either "zh_TW" or "zh_CN" or whatever.
Most people around the world except China use Traditional Chinese; however,
there are too many people in China that use Simplified Chinese. So, I would
not conclude which one is the
There are more variants such as zh_HK.
* zh_CN is used by China: Simplified Chinese
* zh_TW is used by Taiwan: Traditional Chinese
* zh_HK is used by Hong-Kong: Tradiitonal Chinese
Most Chinese people around the world (except China) use Traditional Chinese
(i.e. zh_TW) as the default one.
So, p
Actually, there needs to have two files: zh_CN and zh_TW
And then the administrator of that localized application will determine
which one (zh_CN or zh_TW) should be renamed as "zh".
The zh_TW is currently unavailable in the appfuse distribution.
For now, please just delete the current "zh" one
My app is working fine with Tomcat 5.5, however, it has I18N issues with
WebLogic 9.2.
Attached please see a sample page where the characters on buttons and
displaytag-related contents are garbage.
The characters on the menu are fine, and English contents work correctly as
well.
The source code f
obrienk wrote:
>
> I mean I limit the menu so that it only takes up one line. This is not
> ideal though.
>
Thank you for your explanation.
This problem happens even on a clean and un-modified application that was
automatically generated by AppFuse 1.9.4.
I will fire a JIRA issue for this p
Dear Karl,
I have exactly the same experiences with Firefox 2.0 and Appfuse 1.9.4.
What do you mean by "keeping the menu trim"?
TIA
Karl O wrote:
>
>
> Hi Matt,
>
> I don't know if you've gotten to the bottom of this, but I've experienced
> it in Firefox 2.0 with AppFuse 1.9.4. I found it
simon wu-2 wrote:
>
> With regard to your exception, I downloaded Appfuse 1.9.4 and looked at
> several basic web test classes.
> But I did not get some idea about the issue. Hope me lucky later.:)
>
The default appfuse tests are fine, unless you add some 1-many relationships
to, say, User
Dear Matt,
The code is from the tutorial.
Matt Raible-3 wrote:
>
> That's a lot of JavaScript. Did you get it from the tutorial or write
> it yourself? If you wrote it yourself, what are you trying to do?
>
> Matt
>
> On 1/15/07, wnqq <[EMAIL PROTECTED]&g
While practicing "adding entries" in
http://raibledesigns.com/wiki/Wiki.jsp?page=HibernateRelationshipsUI#ref-HibernateRelationshipsUI-8
Hibernate Relationships , I found the sample javascript code does not work
for me. Just wonder anyone else can get it to work!
I tested it with Firefox v2 and
Dear Simon,
Thanks for your comments.
However, your suggestion is too difficult for me to proceed because I didn't
write any code to manipulate Hibernate (or Spring) sessions.
Could you please give me some more hints?
Thanks.
simon wu-2 wrote:
>
> Hi wnqq,
While I practicing
http://raibledesigns.com/wiki/Wiki.jsp?page=HibernateRelationshipsUI#ref-HibernateRelationshipsUI-2
Hibernate Relationships , I encountered a confusion:
The tutorial says: "you can add convertLists(user) to UserAction.edit()"
However, the actual code shows as:
userForm
:119)
[junit] at
com.octasoft.webapp.action.UserAction.edit(UserAction.java:163)
..
==
My framework is Struts (and Hibernate).
Ealden Esto E. EscaƱan-2 wrote:
>
> Hi wnqq
>
> On 1/15/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>> Ever
I was practicing
http://raibledesigns.com/wiki/Wiki.jsp?page=HibernateRelationships Hibernate
Relationships .
I changed some of the code (which were originally written for appfuse 1.8.2)
so that it could work with appfuse 1.9.4.
Everything works fine except that "ant test-web" fails.
Below is the
Got it fixed. I need to add some code like this:
} else if ("java.math.BigDecimal".equals(mtype)) {
result.append("123.45");
to randomValueForDbUnit().
wnqq wrote:
>
> I tried to modify method randomValueForDbUnit() in
> extras/appgen/sr
I tried to modify method randomValueForDbUnit() in
extras/appgen/src/org/example/antbook/xdoclet/MethodExTagsHandler.java,
however, it has no effects while re-running appgen.
How can I recompile MethodExTagsHandler.java and get the appgen updated?
wnqq wrote:
>
> I have some fields that
I have some fields that are of type BigDecimal, and the corresponding
automatically generated sample data (via appgen) are random characters
instead of decimals.
I've took a look at extras/appgen/src/sample-data.xdt but could not figure
out how to customize it so that decimals could be generated
replace "maxLength" with "maxlength" then it should work.
Petar Zaprianov wrote:
>
> The message always says the same, no matter yhe length is > or < 200
> characters:
>
> can not be greater than 200 characters.
>
>
> On 9/21/05, Matt Raible <[EMAIL PROTECTED]> wrote:
>>
>> Try this:
>>
>>
Dear Matt,
Thank you very much.
It works!
Also, it is better to migrate .springBeansProject to .springBeans
Matt Raible-3 wrote:
>
> I was able to get things working with v2.0M1. It looks like they changed
> some package/class names. I'd try changing your settings in .project.
> Here's the d
"Spring IDE for Eclipse" does not work for Appfuse.
My versions info:
* eclipse: v3.2
* Spring IDE: v1.3.x and v2.0Mx
* Appfuse: v1.9.4
Also, when I edit the "Properties" for a project in Eclipse:
Click on the menu item "Builders", it shows "Missing builder
(org.springframework.ide.eclipse.beans.
74 matches
Mail list logo