You said several pieces are weird, 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:
http://appfuse.org/display/APF/Using+Hibernat
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
Regarding surefire, I use default settings (i.e., Sun JVM) for tests and it
works every time too.
Philip Barlow wrote:
>
> I had this problem in work recently, i set surefire to use JRockit as
> the JVM for tests and it worked every time. I realise this is not a fix
> but i have read alot abo
Yes, you should be able to use dot-notation to accomplish this. For
Dates, you might have to register the DateConverter (from
service.util) so dates use your preferred formatting.
Matt
On 3/8/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
Yeah i checked that stuff, case is fine and setters are p
Yeah i checked that stuff, case is fine and setters are public. Never
mind i'm sure i'll figure it out. On this subject, is it possible to
populate dates using this method and what about objects that have other
objects as properties? Can they be populated using the .properties file too?
Example O
Right, i think we are talking about 2 different problems here. I am
specifically referring to testing as i have never gotten an out of
memory error when restarting using BEA Weblogic 8.1/9.1/9.2. Might be
interesting for a few people to experiment using Jetty with JRockit for
a while as you sugges
No, it's not a requirement, I imagine your properties file is using
the wrong case for the properties - or something like that. Are you
setters public?
Matt
On 3/8/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
I have not implemented toString() on the object i am testing, i take it
this is a req
I have not implemented toString() on the object i am testing, i take it
this is a requirement for BeanUtils.copyProperties()? If so should it be
implemented using ToStringBuilder as in Appfuse 2.x?
Matt Raible wrote:
If you execute toString() on your object, is it really populated? If
you have
I don't know how these settings will affect "mvn jetty:run" - the
surefire plugin isn't executed during a reload of the app in Jetty.
Matt
On 3/8/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
Haven't tried this but it may solve the problem while still using the
default JVM
http://maven.apache.o
Haven't tried this but it may solve the problem while still using the
default JVM
http://maven.apache.org/plugins/maven-surefire-plugin/examples/forking.html
Matt Raible wrote:
Copying $JROCKIT_HOME/lib/tools.jar to
$JROCKIT_HOME/jre/lib/ext/tools.jar fixed this problem. The reason
this happe
You can set a new request variable named "order" before you do the include:
Ivan
Jonathan Tse wrote:
>
> Hi all,
>
> I don't know if my question make sense or not. I got a jsp (say,
> ViewOrder.jsp) displaying an order summary, i want to reuse it everytime
> I want to display someth
Ok, what i done was added the following under plugins in the POM:
org.apache.maven.plugins
maven-surefire-plugin
${JROCKIT_HOME}/java/bin
JROCKIT_HOME is a windows environment variable i setup to point to the
directory containing JRockit. Just to reiterate for everyone, t
The cookie is turned on in StartupListener.java - where it looks for a
rememberMeAuthenticationProvider as a provider in the
authenticationManager bean (configured in security.xm)l. I'd compare
your security.xml to the one in AppFuse 1.9.4.
Have you touched your web.xml and changed any filter or
So we figured it all out - Bryan through the debugger found an error - there
was a bad and unnecessary input tag that was hidden on the form that had a
wrong attribute, so things were failing when a user did not have admin
priveleges since that's the only time someone would encounter the input tag
Copying $JROCKIT_HOME/lib/tools.jar to
$JROCKIT_HOME/jre/lib/ext/tools.jar fixed this problem. The reason
this happened is probably because I chose *not* to use JRockit as my
default JRE.
Matt
On 3/8/07, Matt Raible <[EMAIL PROTECTED]> wrote:
Maybe I spoke too soon, it looks like there's issue
Maybe I spoke too soon, it looks like there's issues using JRockit
with the native2ascii plugin:
[ERROR] FATAL ERROR
[INFO]
[INFO] Error starting Sun's native2ascii:
sun.tools.native2ascii.Main
[INFO] ---
JRockit in general seems to work great. I installed it about an hour
ago and did some testing. I was able to run "mvn jetty:run" and
compile classes (to invoke a restart) about 15 times. I gave up after
that. With Sun's JDK 6, I get a PermGen error after reload #4.
Summary: Use JRockit for de
An XML snippet would be great. Do you think it's possible to delegate
to one Sun JVM for testing and another for running? For example, test
under JDK 5, run under JDK 6.
Matt
On 3/8/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
Yes, exactly, surefire allows you to specify an independent JVM for
Yes, exactly, surefire allows you to specify an independent JVM for
tests, separate to your deployment JVM. We use Suns JVM for deployment
and JRockit for tests now. the JVM can be declared in your POM under the
configuration for the surefire-plugin. If you need any more info on this
let me know.
If you look in your generated .tld file
(build/appname/WEB-INF/appname.tld), are there registered
in it? I believe we fixed this in 1.9.4.
http://issues.appfuse.org/browse/APF-450?page=com.cenqua.fisheye.jira:fisheye-tabpanel
Matt
On 3/8/07, hquinn <[EMAIL PROTECTED]> wrote:
Greetings every
Greetings everyone! I'm working with appfuse 1.9.4, springMVC and tomcar 5.0
... for some weird reason I'm getting this error when I start the tomcat...
does anyone have any idea why this happens??
Thanx :)
SEVERE: Error reading tld listeners java.lang.NullPointerException
java.lang.NullPointerEx
Of course you can change the appname or dbname - it's all XML after
all. It's just a matter of search and replace! ;-)
Matt
On 3/8/07, Jesfre <[EMAIL PROTECTED]> wrote:
That means... I can't change my appname or dbname after created a project??
:O
mraible wrote:
>
> You should be able to
OK, thats ok...
Eclipse enable you to do this...
If you copy a class and paste it in other package, eclipse refactores the
package name of the class...
If you make rigth click on a class file (eg. OldName.java), you can
choose the 'Refactor' option and 'Rename...' option. This enable ask fo
That means... I can't change my appname or dbname after created a project??
:O
mraible wrote:
>
> You should be able to run "ant new" again and create a project with a
> new name from your existing project.
>
> Matt
>
> On 3/6/07, Jesfre <[EMAIL PROTECTED]> wrote:
>>
>> Hi anyone you are!!!
Philip,
What's your configuration for this look like? I'm assuming you just
use JRockit for your tests, but you still use Sun's JVM for "mvn
jetty:run"?
Matt
On 3/8/07, Philip Barlow <[EMAIL PROTECTED]> wrote:
I had this problem in work recently, i set surefire to use JRockit as
the JVM for t
Can you try running your last command again? Which archetype are you using?
Matt
On 3/8/07, Fengbo Xie <[EMAIL PROTECTED]> wrote:
AppFuse 2.0-m4-SNAPSHOT
[INFO] Failed to resolve artifact.
GroupId: org.appfuse
ArtifactId: maven-warpath-plugin
Version: 1.0-m4-SNAPSHOT
Reason: Unable to down
I had this problem in work recently, i set surefire to use JRockit as
the JVM for tests and it worked every time. I realise this is not a fix
but i have read alot about this subject and there a very differing
opinions on it. Matt is correct in stating that resources are not being
released but J
AppFuse 2.0-m4-SNAPSHOT
[INFO] Failed to resolve artifact.
GroupId: org.appfuse
ArtifactId: maven-warpath-plugin
Version: 1.0-m4-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.appfuse:maven-warpath-plugin:pom:1.0-m4-SNAPSHOT
from the specified remote repositories:
You can pass in the element in the include as a parameter. Something like:
" />
Mike
On 3/8/07, Jonathan Tse <[EMAIL PROTECTED]> wrote:
Hi all,
I don't know if my question make sense or not. I got a jsp (say,
ViewOrder.jsp) displaying an order summary, i want to
29 matches
Mail list logo