Running "mvn jetty:run-war" works fine for me. Maybe you can try
renaming packages with the following:
mvn appfuse:refactor-packages
Matt
On 9/18/07, Tony.Cesc <[EMAIL PROTECTED]> wrote:
>
> Yes I did and I added full source successful like your. But I got problem
> when I run: mvn jetty:run-war
Yes I did and I added full source successful like your. But I got problem
when I run: mvn jetty:run-war
The problem is all off my import is org.appfuse.
ex: import org.appfuse.dao.GenericDao;
But in new version we don't have org.appfuse package.
Thanks,
Tony
mraible wrote:
>
> Are you adding
Are you adding a dash before the D? It works for me:
powers:~/myproject mraible$ mvn appfuse:full-source -DrenamePackages=false
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'appfuse'.
Downloading:
http://static.appfuse.org/repository/org/appfuse/maven-warpat
Great work Matt. Been waiting for this for a long time.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've just run it and still got the same error.
I did both case with and without DrenamePackage=false
mraible wrote:
>
> Did you run full-source at any point? If so, you might try running it
> again.
>
> Matt
>
> On 9/18/07, Tony.Cesc <[EMAIL PROTECTED]> wrote:
>>
>> I upgraded it. But I comp
Use a try/catch in your managed bean and return "error" (or something
like that) when an exception is thrown. Then in faces-config.xml, map
error to a page that displays the error.
Matt
On 9/18/07, phamvubinh <[EMAIL PROTECTED]> wrote:
>
> So, do you have any suggestion for me. I spent one day bu
So, do you have any suggestion for me. I spent one day but can not solve it.
Thanks,
Binh Pham
mraible wrote:
>
> Unfortunately, JSF doesn't have a concept of global exceptions - at
> least not one that I know of.
>
> Matt
>
> On 9/18/07, phamvubinh <[EMAIL PROTECTED]> wrote:
>>
>> Hi, I'm u
Did you run full-source at any point? If so, you might try running it again.
Matt
On 9/18/07, Tony.Cesc <[EMAIL PROTECTED]> wrote:
>
> I upgraded it. But I compared with pom.xml of an scratch project. !!!?!?
>
>
>
> mraible wrote:
> >
> > Did you run full-source on your project? It looks like you
I upgraded it. But I compared with pom.xml of an scratch project. !!!?!?
mraible wrote:
>
> Did you run full-source on your project? It looks like you might have,
> but your packages didn't get renamed (or something like that). Are you
> starting from scratch or upgrading a project?
>
> Matt
Did you run full-source on your project? It looks like you might have,
but your packages didn't get renamed (or something like that). Are you
starting from scratch or upgrading a project?
Matt
On 9/18/07, Tony.Cesc <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I can't build when I upgrade my project
Unfortunately, JSF doesn't have a concept of global exceptions - at
least not one that I know of.
Matt
On 9/18/07, phamvubinh <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm using JSF framwork and got the same error. Can you tell me the way to
> config my app.
>
> Thanks in advance.
>
> Binh Pham
>
>
>
>
Hi All,
I can't build when I upgrade my project to official Appfuse 2. It seems the
org.appfuse package wasn't there.
Do you have any suggestion? (Non-official Appfuse 2 is ok)
Thanks,
Tony
My Console:
D:\Workspace\DPI>mvn jetty:run-war
[INFO] Scanning for projects...
[INFO] Searching re
I have the same error. Any suggestion for this mistake?
Donleyp, have you found the solution?
Thanks
Binh Pham
donleyp wrote:
>
> I am getting the following error when I try to delete a user:
> "java.sql.SQLException: ORA-02292: integrity constraint
> (FTAP_DEMO.FK1D0C220DF503D155) violated -
Hi,
I just implemented Josso in our web application developed using
appfuse 1.7.I have one question regarding adding jaasrealm in
tomcat-context.xml.
I have appuser,role and userrole tables under my schema name like
oemc.Undermy schema only user and roles tables all other tables are
a
Hi, I'm using JSF framwork and got the same error. Can you tell me the way to
config my app.
Thanks in advance.
Binh Pham
Matt Raible-3 wrote:
>
> You should be able to use the "global-exceptions" concept in Struts to
> configure your app to render a particular JSP when this exception
> happ
Thank you very much, Matt.
small correction: "mvn appfuse:full-source -DrenamePackages=false" (plural
packages)
mraible wrote:
>
> You can run "mvn appfuse:full-source -DrenamePackage=false".
>
> Matt
>
> On 9/18/07, p7k <[EMAIL PROTECTED]> wrote:
>>
>> Dear appfUsers,
>>
>> I would like
You can run "mvn appfuse:full-source -DrenamePackage=false".
Matt
On 9/18/07, p7k <[EMAIL PROTECTED]> wrote:
>
> Dear appfUsers,
>
> I would like to run with appfuse's full-source. One of the things that the
> plugin does is:
> Renames packages to match your project's groupId.
>
> - I think, I w
Did you port your 1.9.3 application to use Maven?
On 9/18/07, SkipWalker <[EMAIL PROTECTED]> wrote:
>
>
> I've just set up my webwork-hibernate-sitemesh-spring appfuse 1.9.3 based
> webapp to use the maven-jetty-plugin. Everything for the most part is
> working. The ssl connector is correctly co
Congrats!
On 9/19/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
>
> The AppFuse Team is pleased to announce the release of AppFuse 2.0!
>
> The road to AppFuse 2.0 has been a long journey through Mavenland,
> annotations and generics. We're pleased to announce that we're finally
> finished after 13
Dear appfUsers,
I would like to run with appfuse's full-source. One of the things that the
plugin does is:
Renames packages to match your project's groupId.
- I think, I would like to keep my packages separate. So I want appfuses
files in a separate org.appfuse package.
Is there a command to
I've just set up my webwork-hibernate-sitemesh-spring appfuse 1.9.3 based
webapp to use the maven-jetty-plugin. Everything for the most part is
working. The ssl connector is correctly configured.
However, I'm having an issue that I can't narrow down. Certain actions/jsps
(most importantly my l
Thanks Matt !! I did indeed run war:inplace but although I deleted the lib
folder (think i read that somewhere in the forum) I did not delete the
classes folder. That did the trick. Im glad it wasnt a bug.
Thankyou :)
...kace
mraible wrote:
>
> Did you run "war:inplace" at any point? If
Did you run "war:inplace" at any point? If so, you should run "rm -r
src/main/webapp/WEB-INF/classes". If not, it may be a bug. What OS and JDK
are you using? What are the steps to reproduce the problem? Can you
reproduce it on another machine?
Thanks,
Matt
On 9/18/07, kace <[EMAIL PROTECTED]> w
Nope, just tried and same error
...kace
mraible wrote:
>
> Does mvn clean change the outcome?
>
>
> On 9/18/07, kace <[EMAIL PROTECTED]> wrote:
>>
>> Hey,
>>
>> I am receiving the following error when i run jetty:run on a newly
>> created
>> 2.0 jsf modular project. I am using the full so
Does mvn clean change the outcome?
On 9/18/07, kace <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I am receiving the following error when i run jetty:run on a newly created
> 2.0 jsf modular project. I am using the full source and get this:
>
> java.lang.NoClassDefFoundError: com/kace/gym/webapp/list
Hey,
I am receiving the following error when i run jetty:run on a newly created
2.0 jsf modular project. I am using the full source and get this:
java.lang.NoClassDefFoundError: com/kace/gym/webapp/listener/StartupLis
tener (wrong name: org/appfuse/webapp/listener/StartupListener).
I checked
Thats fantastic news. Congrats !
...kace
--
View this message in context:
http://www.nabble.com/-ANN--AppFuse-2.0-Released%21-tf4477191s2369.html#a12767157
Sent from the AppFuse - User mailing list archive at Nabble.com.
-
Just a note: If you create a 2.0 project without specifying a
-DremoteRepositories parameter, it will work. However, the
will be set to 2.0-SNAPSHOT. This was a snafu on my part - the archetypes
are fixed in AppFuse repos, but not in Maven's Central Repo. It's something
that I don't think will af
Done.
Greg
mraible wrote:
>
> Can you please enter this as an issue in JIRA and we'll get it fixed for
> the
> next release.
>
> http://issues.appfuse.org/browse/APF
>
> Thanks!
>
> Matt
>
> On 9/18/07, gederer <[EMAIL PROTECTED]> wrote:
>>
>>
>> AppFuse: 2.0-RC1
>> Jetty: 6.1.5
>>
>>
Can you please enter this as an issue in JIRA and we'll get it fixed for the
next release.
http://issues.appfuse.org/browse/APF
Thanks!
Matt
On 9/18/07, gederer <[EMAIL PROTECTED]> wrote:
>
>
> AppFuse: 2.0-RC1
> Jetty: 6.1.5
>
>
> mraible wrote:
> >
> > What version of AppFuse and what ve
AppFuse: 2.0-RC1
Jetty: 6.1.5
mraible wrote:
>
> What version of AppFuse and what version of Jetty? I'm trying to figure
> out
> if this is a bug we should fix? It doesn't seem to happen on Tomcat.
>
> Matt
>
> On 9/18/07, gederer <[EMAIL PROTECTED]> wrote:
>>
>>
>> Currently using Jetty
What version of AppFuse and what version of Jetty? I'm trying to figure out
if this is a bug we should fix? It doesn't seem to happen on Tomcat.
Matt
On 9/18/07, gederer <[EMAIL PROTECTED]> wrote:
>
>
> Currently using Jetty.
>
> Greg
>
>
> mraible wrote:
> >
> > Thanks for the tip.
> >
> > What
Hi,
I've noticed that the masks (e.g., the 'zip' mask for postalCode) in the
signup form don't produce errors in the JavaScript validation errors dialog.
Any suggestions?
Thanks!
Greg
--
View this message in context:
http://www.nabble.com/Validator-masks-ignored-tf4477228s2369.html#a12766458
The AppFuse Team is pleased to announce the release of AppFuse 2.0!
The road to AppFuse 2.0 has been a long journey through Mavenland,
annotations and generics. We're pleased to announce that we're finally
finished after 13 months of development. Thanks to all the developers,
contributors and user
Currently using Jetty.
Greg
mraible wrote:
>
> Thanks for the tip.
>
> What container are you deploying on? I'm wondering why this doesn't
> happen on Tomcat or Jetty.
>
> Matt
>
> On 9/18/07, gederer <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> In order to log the user in automatically after
Thanks for the tip.
What container are you deploying on? I'm wondering why this doesn't
happen on Tomcat or Jetty.
Matt
On 9/18/07, gederer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In order to log the user in automatically after signup, I discovered that I
> needed to place the SecurityContext in
Hi,
In order to log the user in automatically after signup, I discovered that I
needed to place the SecurityContext in the session. I did this by changing
the following code in SignupController:
// log user in automatically
UsernamePasswordAuthenticationToken auth = new
UsernameP
So far I found freedback and this free http://www.emailmeform.com
">html form builder which unlike freedback does not show any advertising
in the free plan! ;-)
--
View this message in context:
http://www.nabble.com/I-need-to-create-a-web-form-tf4466715s2369.html#a12762950
Sent from the AppF
AppFuse 2.0 RC1 Final both use MyFaces 1.2.0 which is JSF
1.2-compatible and requires a Servlet 2.5 container - like Tomcat 6.
If you must use Tomcat 5.5.25, you can change your project to use
Sun's RI - which will run on Tomcat 5 (even though it should require
Tomcat 6).
http://appfuse.org/displa
Hi all,
I'm trying to setup appfuse 2 rc1 with JSF in a tomcat 5.5.25 container:
- Setting env.CATALINA_HOME and mysql with no root password.
- Running mvn:
archetypeArtifactId=appfuse-basic-jsf
remoteRepositories=http://static.appfuse.org/releases
archetypeVersion=2.0
- Changing po
Wow!!! That was fast! Thank you Matt. This is actually the first thing I have
done before posting here. I have created 'public abstract class
MyBaseDaoTestCase extends org.appfuse.dao.BaseDaoTestCase' in
com.my.company and overridden the 'populate' method. Unfortunately stupid me
placed it in the
I am using 2.0 RC1. I haven't tried configuring StaticFilter, I am going to
give it a try. I have to un-do all the stuff I have just done - changing
loader_frame.html back into loader_frame.htm, etc.
I will let you (the list) know.
Thanks,
Bob
mraible wrote:
>
> Have you tried adding /scripts
I created modifications to org.appfuse.dao.BaseDaoTestCase (Replaced
org.springframework.beans.BeanUtils with
org.apache.commons.beanutils.BeanUtils and fixed the 'populate' issue based
on http://www.mail-archive.com/users@appfuse.dev.java.net/msg04233.html) so
I can use a properties file in my t
On 9/18/07, Peder <[EMAIL PROTECTED]> wrote:
>
>
>
>
> mraible wrote:
> >
> > Actually, the menus in AppFuse are purely CSS based. The CSS for them
> > is in nav-horizontal.css - starting with /* DROP DOWN MENUS */. I
> > would try removing all of it and see if that gives you your desired
> > resul
Hi,
I use appfuse-2.0M5 Spring. I want to clone some GabaritElement. My
method just clone and save 2 Gabarit on 10.
Have you got an idea ? Is this the good way o do this:
public void cloneGabaritVague(Gabarit gabarit, Vague source, Vague cible) {
Set ges = gabarit.getElementsByVague(sourc
I would change the package name to a different one than org.appfuse.dao and
then subclass your new class in your project.
Matt
On 9/18/07, tnsilver <[EMAIL PROTECTED]> wrote:
>
>
> I created modifications to org.appfuse.dao.BaseDaoTestCase (Replaced
> org.springframework.beans.BeanUtils with
> o
mraible wrote:
>
> Actually, the menus in AppFuse are purely CSS based. The CSS for them
> is in nav-horizontal.css - starting with /* DROP DOWN MENUS */. I
> would try removing all of it and see if that gives you your desired
> result.
>
> Matt
>
>
Removing the drop down menu CSS results i
Thanks Mike
Well done, it's really fantastic.
I think we should notice in release notes about this problem.
Kind regards,
Tony
Mike Horwitz wrote:
>
> I think the issue is that the XFire support in AppFuse has been optimized
> to
> minimise its footprint. Part of the optimization was to swap
Have you tried adding /scripts/* to your StaticFilter? What version of
AppFuse you are using?
Matt
On 9/18/07, syg6 <[EMAIL PROTECTED]> wrote:
>
> Did anyone every get this to work? I was thiiis close but no cigar.
>
> The problem is that internally greybox uses a page, loader_frame.html, to
Did anyone every get this to work? I was thiiis close but no cigar.
The problem is that internally greybox uses a page, loader_frame.html, to do
most of the work. This page is found with other 'static' files, like css and
gif, in a directory you specify in the GB_ROOT_DIR variable. When you c
We recommend you populate drop-downs on startup, especially if they're
going to be the same for all your users. We do this in StartupListener
- which should be in your project if you've run full-source. If it's
not, you should be able to copy this file into your project, change
the package name (in
You could create an External Tool that calls "mvn tomcat:run-war" if
you want to use the Maven Tomcat Plugin.
You'll need to add this plugin's configuration to your pom.xml:
org.codehaus.mojo
tomcat-maven-plugin
1.0-alpha-1
Hi there. I'm new to appFuse. I'm trying to deploy my web app on Tomcat (from
eclipse).
Guide that is written in WTP integration doesn't help. Can anyone point me
in right direction ?
cheers,
Ivan
--
View this message in context:
http://www.nabble.com/Deploy-on-tomcat-tf4473706s2369.html#a127
You could ignore the test, I dont' wonder about the test and my project was
run last time in rc1 but when I upgrade it's error.
I did follow the release note.
Thanks,
Tony
nessus wrote:
>
> It seems a nullpointer exception at
> com.myproject.app.webapp.action.PersonActionTest.onSetUpBeforeTrans
Thanks, I just implement the proper hashCode() of my object and it
works. God bless you.
Adriel
On Tue, 2007-09-18 at 10:11 +0200, Josip Mihelko wrote:
> Hi Adriel,
>
> Try this int your hashCode method:
>
> public int hashCode() {
> return 31*getName().hashCode();
> }
>
> The
I made it work by putting proper implementation of hashCode(), you can
say how stupid I am for not implementing this in the first place.
Thank you so much for your help. It helps me to understand how to
implement the readObject and writeObject. God bless you.
Adriel
On Tue, 2007-09-18 at 09:37
It seems a nullpointer exception at
com.myproject.app.webapp.action.PersonActionTest.onSetUpBeforeTransac
tion(PersonActionTest.java:45)
I suggest you check the code.
Nessus
Tony.Cesc wrote:
>
> Hi All,
>
> I've got the exception when I upgrade from rc1 and I've got message on my
> browser
Hi All,
I've got the exception when I upgrade from rc1 and I've got message on my
browser with the link:
http://localhost:8080/login.jsp
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/login.jsp
-
This is my console:
Powered by jetty://
--
Matt,
you are welcome, and I really want to thank you for your fabulous work.
Based on it I can work quite more efficiently.
By the way, other i18n-related files like displaytag_zh*.properties and
errors_zh*.properties should also be treated the same way with
ApplicationResources_zh*.properties.
Hiya,
If you look at the stack trace, you can see that the error is occuring when
the hashCode is being calculated for the StudyPageSet:
java.lang.NullPointerException
at com.voxsant.thinkscan.model.Study.hashCode(Study.java:211)
at
com.voxsant.thinkscan.model.StudyPageSet.hashCode(
Dear appfusers,
I got to wondering what would be considered a best practice for populating
JSF SelectItems, say for drop-down menus. I use it with a globalSession
scope.
Currently, I have a separate bean class that contains Maps of Label/Value
pairs. I prefer maps to Lists of SelectItem - seem
I apologize!!! This was a horrible case of novice skill.
I had a separate bean where I keep HashMaps of stuff for my SelectItem
drop-downs.
And, what do you know, it simply didn't implement Serializable.
mraible wrote:
>
> On 9/18/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>> On 9/18/07, p7
Hi Adriel,
Try this int your hashCode method:
public int hashCode() {
return 31*getName().hashCode();
}
The name-attribute is not loaded eagerly, which means it is null when
you obtain a proxy instance from hibernate. when you call getName() the
proxy is aware that the attribute
Thanks for your help in funding the bug - I really appreciate it.
Matt
On 9/18/07, nessus <[EMAIL PROTECTED]> wrote:
>
> matt,
>
> well done, it works now after removing all the .m2/ folder and recreating
> using totally new maven repository.
>
> cheer,
> nessus.
>
>
> mraible wrote:
> >
> > Thi
I tried to delete the implementation of Serializable in my BaseModel,
but still there is an error in my log file. The log error
ERROR [main] ManagerBase.start(638) | Exception loading
sessions from persistent storage
java.lang.NullPointerException
only occurs when I turn off tomcat then restart i
matt,
well done, it works now after removing all the .m2/ folder and recreating
using totally new maven repository.
cheer,
nessus.
mraible wrote:
>
> This should be fixed now - can you please confirm?
>
> Thanks,
>
> Matt
>
> On 9/17/07, nessus <[EMAIL PROTECTED]> wrote:
>>
>> Matt,
>>
>>
There is no log error in runtime. When I shutdown my tomcat and restart
it then refresh my page, I found out that the name is null. Before it
has a value, only when I restarted my tomcat it became null. How come
this occurs? How can I prevent it? When I used
HashCodeBuilder.reflectionHashCode(this)
FWIW, if you decide you'd rather use Sun's RI than MyFaces, I created
a guide for switching:
http://appfuse.org/display/APF/Changing+from+MyFaces+to+Sun%27s+RI
Using Sun's RI has the added benefit of being able to deploy on a
Servlet 2.4 container.
Matt
On 9/17/07, Scott Ryan <[EMAIL PROTECTED]
On 9/18/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> On 9/18/07, p7k <[EMAIL PROTECTED]> wrote:
> >
> > In terms of jetty, I was referring to
> > http://issues.appfuse.org/browse/APF-856
> > http://issues.appfuse.org/browse/APF-856
> > I experience most 'null object' problems with my facelets templ
69 matches
Mail list logo