ujjala wrote:
Would it be possible to provide sample snippet as to how to go about it.
The following is not the complete class (for example in my app I detect
other login edge cases), but includes the portion that detects the
condition you're looking for, and what turned out to be the hard pa
Would it be possible to provide sample snippet as to how to go about it.
Thanks
Ujjala
mraible wrote:
>
> It's tough to retrieve the username if the login has failed. If you
> use Acegi's Event API, you may be able to listen for authentication
> events and do your logic that way.
>
> Matt
>
Hello,
I am using appfuse-jsf-1.9.4
To fix the size of column size in panelGrid I used columnClasses as given
below
and added the following lines to /web/css/basic.css and
/web/styles/myfaces.css
.col50 {
width: 50px;
}
.col100 {
width: 100px;
}
For both these items, they should be considered bugs. For the first
one, we're naming the template wrong. For the 2nd, we should (at the
very least), use comments that don't render the components or figure
out the proper pattern to render these components and not cause
errors. I'm leaning towards t
Sorry.
I posted the real logs and configuration after that , please pay attention
to that.
2007/11/1, Nathan Anderson <[EMAIL PROTECTED]>:
>
> It looks like you may have some configuration problems. The paths listed
> in the log messages all look like Windows paths, but you said this is on
> Ubu
download and install Tomcat I think.
Just as the quick start said.
2007/10/31, Matt Raible <[EMAIL PROTECTED]>:
>
> Do you want Cargo to download and install Tomcat, or do you want to
> use one that's already installed on your system?
>
> Matt
>
> On 10/31/07, 罗霄 <[EMAIL PROTECTED]> wrote:
> > Co
The 2nd problem happens when from the list page of any entity that has a
OneToOne relationship defined, the "Add" button is clicked or any record is
selected for editing. The stack trace is below:
This is likely from the following "todo"swhat do I need to change here?
I could really use
Mike Horwitz wrote:
>
> One thing to check is that the interface used by your manager extend the
> generic manager interface (or declare all the methods you want to make
> transactional). It is worth noting that the advice is applied on the basis
> of the interface and not the implementation. In
Looks like the first problem is easily worked around, sure enough the
404-page was correct. The problem is that if an entity name used with
AppGen ends with "y", in the menu the entity list page is referring to
"...ies.html", but the generated UI page is called "...ys.xhtml". For
instance Disco
Hi Matt,
Thanks for your great work and help.
I've found 2 bugs about displaytag i18n.
1. Displaytag messages encoding messed.
2. Click "AppFuse in Enlish", displaytag messages don't switch to English.
My solution(in Chinese environment):
1.Modify pom.xml:
a. Add displaytag_zh*.properties to
It looks like you may have some configuration problems. The paths listed in
the log messages all look like Windows paths, but you said this is on Ubuntu
7.10. Something isn't right there :?
On a side note, I just upgraded a couple computers to Ubuntu 7.10 and it went
mostly smooth. One word
If you look in your log files at $CATALINA_HOME/logs - there should be
some additional information.
Matt
On 10/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
> I'm using Appfuse 1.9.x. When I first setup and deploy, my app works fine.
> Now I reach ' Part III – Creating A
Hi,
I'm using Appfuse 1.9.x. When I first setup and deploy, my app works fine.
Now I reach ' Part III - Creating Actions and JSP's'. I followed all
steps. I ran ant db-load deploy (also deploy-web, since I made some
changes there).
Now when I try to start my application in tomcat, it just
Ran into a problem earlier today and thought I would share the solution.
I have set up appfuse to edit files in place using jetty:run. I found I
was able to edit jsps fine, but when I tried javascipt or css files I
was getting the following error (if my app was running and I had already
navig
Understood :-). I'll let you know after I try tonight, unfortunately I am
not where I can try this right away.
I am not typing in anything actually, just clicking from the menu and then
clicking the Add button on the JSF CRUD UI page for the entity. But, I will
double-check the URLs and every
On 10/31/07, Shash Chaterjee <[EMAIL PROTECTED]> wrote:
>
> Matt,
>
> Thanks for the response, I'll try with the cargo option. Running with
> Tomcat is not a problem for me.
>
> BTW, APF-856 talks about 404 pages when a page is not found. In my case,
> the page should exist, as generated by AppGe
Shoot I always forget to give all details. I am using 1.9.x, so I don't
have a pom.xml
Let me see if I have the acegi-security jar file in my lib dir though.
Vanessa Pacheco
Programmer
Bowman Systems L.L.C
318.213.8780x307
==
IMPORTANT WARNING: This
It looks like the acegi-security jar file is missing from your build. Have
you removed the acegi security dependency from your project's pom.xml?
Mike
On 10/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Forgot to mention which step I am on.
>
>
>
> I have generated all actions and jsps
Forgot to mention which step I am on.
I have generated all actions and jsps. Now my action tests were not
successful, which is why Matt suggessted actually running them in the
browser.
So, basically this is what I wanna do, but I'm getting the following
exception.
Help please
Vaness
Hi,
When I try to run my application in Tomcat, this is what I get. Anyone
seen this before. Any idea where to correct this?
org.apache.jasper.JasperException: /index.jsp(1,1) The absolute uri:
http://acegisecurity.org/authz cannot be resolved in either web.xml or the
jar files deployed wit
Matt,
Thanks for the response, I'll try with the cargo option. Running with
Tomcat is not a problem for me.
BTW, APF-856 talks about 404 pages when a page is not found. In my case,
the page should exist, as generated by AppGen, right?
Thanks again!
Shash
I've seen the "errors" issue you're
On 10/31/07, syg6 <[EMAIL PROTECTED]> wrote:
>
>
> Giddyap, adding the MERGE CascadeType did it.
>
> Note, in my previous post I left off the cascade and fetch attribs of the
> OneToMany by accident. This is what it should have looked like:
>
>
> @OneToMany(cascade = { CascadeType.ALL },fetch = Fet
Giddyap, adding the MERGE CascadeType did it.
Note, in my previous post I left off the cascade and fetch attribs of the
OneToMany by accident. This is what it should have looked like:
@OneToMany(cascade = { CascadeType.ALL },fetch = FetchType.EAGER)
@JoinColumn(name="objectA")
@org.hibernate.an
syg6 wrote:
1. Load ObjectA from database (to get existing ObjectB Collection).
2. Use ObjectBManager to get() each ObjectB
Huh? Shouldn't ObjectA contain a collection of ObjectBs? Why do you
need to to some other source for these objects? When I mentioned
manipulating the collection conta
You shouldn't need to add/remove anything in pom.xml when starting a
new project with AppFuse. Can you please provide the steps you used to
cause this problem and your environment information (OS, Java version,
etc.)?
Matt
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
>
>
>
> In the
On 10/31/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> On 31 Oct 2007 at 8:39, Matt Raible wrote:
>
> > You need to exclude it on the warpath dependency, not on the war dependency.
>
> That was well spotted! Unfortunately, moving my exclusion down to the
> correct dependency hasn't chan
Did you modify your pom.xml to exclude clickstream as a dependency?
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi again,
>
>
>
> I do
>
>
>
> mvn jetty:run-war –P oracle
>
>
>
> When Jetty starts, it immediately stops with the following error:
>
>
>
> 2007-10-31 16:29:54.1
Do you want Cargo to download and install Tomcat, or do you want to
use one that's already installed on your system?
Matt
On 10/31/07, 罗霄 <[EMAIL PROTECTED]> wrote:
> Configuration of the tomcat in pom.xml
>
> tomcat5x
>
> /opt/tomcat/
>
> http://archive.apache.org/dist/tomcat/tomcat-5
Configuration of the tomcat in pom.xml
tomcat5x
/opt/tomcat/
http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.tar.gz
localhost
8090
false
Error Information:
[INFO] [dbunit:operation {execution: test}]
[INFO] [war:w
Hi again,
I do
mvn jetty:run-war -P oracle
When Jetty starts, it immediately stops with the following error:
2007-10-31 16:29:54.141::INFO: jetty-6.1.5
2007-10-31 16:29:54.172::INFO: Extract
jar:file:/C:/java/workspaceUMT/UMT/web/t
arget/UMT-webapp-1.0-SNAPSHOT.war!/ to
C:\java\
On 10/31/07, syg6 <[EMAIL PROTECTED]> wrote:
>
>
> Well, your advice sounds good but there's one thing I don't understand.
> You
> said that:
>
>
> When you perform an operation on the entity that owns
> the relationship the relationship will change. Perform an operation on the
> other side of the
Hi Matt,
On 31 Oct 2007 at 8:39, Matt Raible wrote:
> You need to exclude it on the warpath dependency, not on the war dependency.
That was well spotted! Unfortunately, moving my exclusion down to the correct
dependency hasn't changed anything :-(
In my pom.xml, I now have:
Well, your advice sounds good but there's one thing I don't understand. You
said that:
When you perform an operation on the entity that owns
the relationship the relationship will change. Perform an operation on the
other side of the relationship and nothing will happen to the relationship
itsel
In the top pom.xml I've added the plugin:
org.mortbay.jetty
maven-jetty-plugin
6.1.5
But I still get this weird "java.lang.LinkageError: Class javax/el/ELResolver
violates loader constraints".
Is this the right plugin? Is there another dependency that I should
One thing to check is that the interface used by your manager extend the
generic manager interface (or declare all the methods you want to make
transactional). It is worth noting that the advice is applied on the basis
of the interface and not the implementation. In these cases I always find
the st
You shouldn't need in your classpath as JSF 1.2 does not
need EL in the classpath - it should be included in any containers
that support Servlet 2.5/JSP 2.1.
You might want to make sure you're using Jetty 6.1.5.
Matt
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi again,
You need to exclude it on the warpath dependency, not on the war dependency.
HTH,
Matt
On 10/31/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> Matt Raible wrote:
> > Can you post the relevant parts of your pom.xml so we can see if you
> > have your excludes in the proper location? Are y
Hi again,
Now I get Jetty up and running, the following exception is thrown whenever I
navigate to http://localhost:8080/
[INFO] Starting scanner at interval of 3 seconds.
2007-10-31 15:33:37.354:org.apache.jasper.runtime.JspFactoryImpl:WARN: Exceptio
n initializing page context
java.l
It's tough to retrieve the username if the login has failed. If you
use Acegi's Event API, you may be able to listen for authentication
events and do your logic that way.
Matt
On 10/31/07, ujjala <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I need to block the user after it enters password three times
I'm still plagued by this issue. It's the same if I'm doing jetty:run or
jetty:run-war. I still cannot save any objects that use their own Manager. I
found the statement below about transactions for managers in the Service
Tutorial. Could it be that this adviceis not happening for my managers?
Tr
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
> Ok, I got it running… problem was in the oracle profile in the top
> pom.xml:
>
>
>
> VDS
>
>
>
> 'VDS' is the right scheme, not the default 'SYSTEM'.
>
>
>
> MANY THANKS
>
Absolute pleasure. Glad it all works :-)
Aha, ok, I see. But how come that tables are not automatically generated by the
hibernate3-maven-plugin before the dbunit-maven-plugin starts its CLEAN_INSERT?
Thx
Christian
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: woensdag 31 oktober 2007 1
Ok, I got it running... problem was in the oracle profile in the top pom.xml:
VDS
'VDS' is the right scheme, not the default 'SYSTEM'.
MANY THANKS
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: woensdag 31 oktober 2007
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
> Aha, ok. So I ran
>
>
>
> mvn install –P oracle
>
>
>
> in the core module.
>
> Then I get this:
>
>
>
> drop table app_user cascade constraints;
>
> drop table role cascade constraints;
>
> drop table user_role cascade constraints;
>
>
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
> Aha, ok, I see. But how come that tables are *not* automatically
> generated by the hibernate3-maven-plugin before the dbunit-maven-plugin
> starts its CLEAN_INSERT?
>
They should be. However the hibernate3-maven-plugin only runs as pa
Aha, ok. So I ran
mvn install -P oracle
in the core module.
Then I get this:
drop table app_user cascade constraints;
drop table role cascade constraints;
drop table user_role cascade constraints;
drop sequence hibernate_sequence;
create table app_user (id number(19,0) not null,
Hi,
I need to block the user after it enters password three times , not
necessarily in a single session.
I have a written a login Failure action to which flow is redirected after
login failure. But unable to retrieve the user name for which authentication
fails.
A counter is updated in the databa
They are included via the dependency on appfuse-data-common (which is a
transitive dependency through appfuse-hibernate).
Mike
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
> But, where are those annotated Java classes in the JSF modular archetype?
> I see only 1 class: Core.java.
But, where are those annotated Java classes in the JSF modular archetype? I see
only 1 class: Core.java.
Where are the annotated model classes?
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: woensdag 31 oktober 2007 14:37
To: users@appfuse.dev.java.ne
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
> I did.
>
And it ran successfully? The tables are generated as part of the build on
the core module - if user_role is not in the database you should see an
error during the build of the core module.
Mike.
>
>
> Mazda Motor Logistics
I did.
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: woensdag 31 oktober 2007 14:34
To: users@appfuse.dev.java.net
Subject: Re: [appfuse-user] Tables not generated by dbunit-maven-plugin
You first need to run 'mvn install' either from the top level
AppFuse 2.0 uses Hibernate Annotations - no more .hbm.xml files.
Mike
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
> Ok, by now I've discovered that it is not dbunit but the
> hibernate3-maven-plugin that generates the tables (hbm2ddl).
>
> But where is the *.hbm file?? It is not
Ok, by now I've discovered that it is not dbunit but the
hibernate3-maven-plugin that generates the tables (hbm2ddl).
But where is the *.hbm file?? It is not included in the appFuse archetype that
I downloaded (JSF modular).
Plz help
From: Bonami, Christ
You first need to run 'mvn install' either from the top level or from your
../core module.
Mike.
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> I'm using oracle XE as underlying DB in appFuse 2 standard distribution.
>
> So, on the commandline in .../web I run:
>
>
>
>
On 10/31/07, syg6 <[EMAIL PROTECTED]> wrote:
>
> I used both Hibernate docs and Hibernate in Action to come up with this
> mapping, it seems to be the 'standard' way to doing this (mapping a
> relation
> with attributes, in my case, quantity). The example you cited is a
> relation
> without attrib
Hi,
I'm using oracle XE as underlying DB in appFuse 2 standard distribution.
So, on the commandline in .../web I run:
mvn jetty-run:war -P oracle
Apparently dbunit-maven-plugin connects well to the database, but then starts
complaining about a table (user_role) that is not found:
I used both Hibernate docs and Hibernate in Action to come up with this
mapping, it seems to be the 'standard' way to doing this (mapping a relation
with attributes, in my case, quantity). The example you cited is a relation
without attributes, so I don't think it's suitable for me. From Hibernate
I haven't seen this error before. You might try changing your Jetty
version to 6.1.5 and using Java 5 (as opposed to Java 6).
Matt
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi all,
>
>
>
> When I run the 'mvn jetty:run-war', I get:
>
>
>
> [INFO] Preparing jetty:run-war
You could modify your CSS so that the content div "overflows" when
there's content that's too wide. Just add "overflow: auto" to the CSS
definition for the content class. Either that, or you could try
stretching the theme to fit the whole page.
http://appfuse.org/display/APF/CSS+Framework#CSSFrame
Can you post the relevant parts of your pom.xml so we can see if you
have your excludes in the proper location? Are you using a basic or
modular project?
Matt
On 10/31/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> On 30 Oct 2007 at 23:06, Matt Raible wrote:
>
> > Maven should be unaware
Whoops. Always read carefully before you post!
After spending 20 minutes redacting my last message I re-read the message
that I was responding to. I should have done this beforehand!
Dale suggests two solutions - either clear() the Set or delete each member.
Well, as explained in my last message
I think your issue is that in your case you want the one-to-many side of the
relationship to own the relationship. In order to make this happen you are
going to have to change your annotations. The following section of the
Hibernate manual should help: http://tinyurl.com/ypdln3 look for section
2.2
Well what's curious is that with my other 'normal' ManyToMany (see my
previous post. ObjectA has a Collection of ObjectC) if from my ObjectA form
I delete all ObjectCs, the 'objectcs' Request parameter is 'null' and
Hibernate correctly deletes all ObjectC objects.
But with my ObjectB Collection,
hi,
OK... I tried to give write permission and executed it works fine..
Thanks for your valuable information
Jithesh
Mike Horwitz wrote:
>
> On 10/31/07, jithesh <[EMAIL PROTECTED]> wrote:
>>
>>
>> hi,
>>
>> Yes i am running as a root user who has all privileges. The problem is
>> i
>> a
On 10/31/07, jithesh <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> Yes i am running as a root user who has all privileges. The problem is i
> am dynamically generating a shell script and trying to execute that
> script...
>
> Is that a problem ?
It may be. You must make sure the script is executable
hi,
Yes i am running as a root user who has all privileges. The problem is i
am dynamically generating a shell script and trying to execute that
script...
Is that a problem ?
thanks,
Jithesh
Mike Horwitz wrote:
>
> On 10/31/07, jithesh <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thanks for your r
On 10/31/07, jithesh <[EMAIL PROTECTED]> wrote:
>
>
> Thanks for your response
>
> While executing my java program i am getting the error
> "java.io.IOException: Permission denied "
> But i am executing as a root user.
> please help me.
Are you sure? If you are running under Tomcat installed on L
Thanks for your response
While executing my java program i am getting the error
"java.io.IOException: Permission denied "
But i am executing as a root user.
please help me.
Thanks
Jithesh
Peter Schneider-Manzell wrote:
>
> Do you get error messages or exceptions?
>
> 2007/10/30, jithes
Could you provide some details as to the modifications you made to the
Tomcat configuration? It looks like something may have gone wrong there.
Mike.
On 10/31/07, 罗霄 <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I just build my ubuntu 7.10 system. Jdk, eclipse, tomcat, apache, svn,
> maven2 , mysql
Hi all,
When I run the 'mvn jetty:run-war', I get:
[INFO] Preparing jetty:run-war
[INFO] [site:attach-descriptor]
[INFO] [jetty:run-war]
[INFO] Configuring Jetty for project: AppFuse Modular Application
2007-10-31 09:45:10.328::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
[IN
70 matches
Mail list logo