i observed this exception while shutting down appfuse in tomcat.
is it normal? do I need to concern?
pls advise
~thinkboy
INFO: Stopping service Catalina
[platform] INFO [main] [/platform].log(646) | Closing
WebApplicationContext of Spring FrameworkServlet 'action'
[platform] INFO [main] [/platf
I use autoincrement, but I had already some sample data in the db. So you
were right, the rollback doesn't really work. I don't know exactly why.
For the tests I'm now using the code below, like that you are sure to update
the right row and just the second one.
public void testSaveResident() th
Hi,
This looks like a misconfiguration of the warpath plugin. Not too sure why
you are getting this from the archetypes, but please could you make sure the
warpath plugin is configured as follows in your top level pom:
org.appfuse
maven-warpath-plugin
1.0-m2
true
i am running dojo with spring mvc but experienced error while trying to
implement the datePicker.
-
my setup:
--
1) add dojo.js in sitemesh's /web/decorators/default.jsp
var djConfig = {isDebug: true};
d
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
Michael Horwitz wrote:
>
> You could use the onBindAndValidate() method of AbstractFormController to
> perform custom validation? The method supplies both the request and the
> command object, so you have access to all you should need to complete
> validation.
>
> Mike
>
Thanks Mike. That's w
Hi wnqq
On 1/15/07, wnqq <[EMAIL PROTECTED]> wrote:
Everything works fine except that "ant test-web" fails.
Below is the excerpt of the error messages:
What happens when you turn off lazy initialization (lazy="false")?
Also, what web framework are you using? I looked into my copy of
1.9.4
Hello,
I am trying to find out if it is possible to give a role specific read
and/or write rights using a matrix in Acegi.
For example, lets say i have 2 roles : user and superuser, and i have 2
jsps, a.jsp and b.jsp.
The matrix could look like this :
Role PageRead Write
user
Hi,
I'm not sure I understand what you mean by "read" and "write" permissions on
a jsp? Acegi can do the follow:
1) Declarative role based access to URL's (and hence JSPs).
2) Declarative role based interceptors for methods on Spring managed beans.
So using 1 you could restrict access to "write
I've a problem with my action forwarding.
I have a page and on that page I've a dojo tabbed panel with remote tabs.
Each of the tab calls a new action. Until so far there is no problem.
When I add a object (model) with a form inside of a tab, it must forward to
the page with the tabbedpanel. Thi
Hi,
Thanks for the quick answer.
Let me specify what i mean exactly. At this time, i restrict pages based on
a role using acegi.
By read rights i mean the logged on user can see the page, but not edit it
(possibly by making a seperate jsp for that).
But what i want is to implement some sort of
It sounds like you need to have aggregate roles which you assign to users -
this area can be a bit confusing, since the term "role" and "permission" are
pretty much interchangeable. If you simply think of the existing roles
as being permissions, and then create aggregate roles (which are
simply pr
Have any one tried to integrate YUI-EXT into appfuse? I like the
yui-ext's layout component and would like to use it in my appfuse
application, which is built on appfuse 1.9.4. How should I proceed with
it? Is it that I need to write a decorator with the YUI-ext component?
If some has done it, w
You are right.
I was probably thinking too deep.
Thanks for enlightening me :)
Michael Horwitz wrote:
>
> It sounds like you need to have aggregate roles which you assign to users
> -
> this area can be a bit confusing, since the term "role" and "permission"
> are
> pretty much interchangeabl
I tried again, this time recreated from the very beginning. It now works
from the command line, thanks much.
>From within Eclipse (using m2eclipse), I get slightly different message like
this,
Regards
Dave
[WARN] Unable to get resource from repository central
(http://repo1.maven.org/maven2) [WA
You might try removing the Scriptaculous and Prototype includes in default.jsp.
Matt
On 1/15/07, Thinkboy <[EMAIL PROTECTED]> wrote:
i am running dojo with spring mvc but experienced error while trying to
implement the datePicker.
-
my setup:
--
1) add dojo.js in sitemes
Please could you raise this as a Jira? It looks like m2eclipse may not be
able to handle extensions on plugins.
Mike
On 1/15/07, MyWorkId <[EMAIL PROTECTED]> wrote:
I tried again, this time recreated from the very beginning. It now works
from the command line, thanks much.
From within Eclips
This is a known issue that we haven't figured out the solution to yet.
It shouldn't cause any issues in your application.
Matt
On 1/15/07, Thinkboy <[EMAIL PROTECTED]> wrote:
i observed this exception while shutting down appfuse in tomcat.
is it normal? do I need to concern?
pls advise
~thinkbo
Hello all,
I'm not sure if the following code in my controller is thread-safe,
could you please explain to me why, or why it isn't, thread-safe?
EnviromentController wrote:
>
> ...
> private EnvironmentManager envMgr;
> ...
> /**
> * TODO: FIND OUT IF THIS IS ACTUALLY
There does not seem to be anything in the code snippet you posted below to
indicate that your code is not thread-safe, but it all largely depends on
the implementation of the EnvironmentManager and any dependent classes. On
the assumption that the manager is implemented in the standard fashion, th
Matt mentioned Firebug in another thread and I must agree. It is indeed
a very cool Firefox plugin. Not only for the JS debugging capabilities,
but also for CSS and (X)HTML.
That sparked my post for this other free and very cool plugin, Mylar.
This one is for Eclipse and it basically is a to
This is an excellent writeup Nathan - we should add a "Cool Tools"
section (or something like that) to the wiki.
Thanks!
Matt
On 1/15/07, Nathan Anderson <[EMAIL PROTECTED]> wrote:
Matt mentioned Firebug in another thread and I must agree. It is indeed
a very cool Firefox plugin. Not only for
Hi all...
I tried to use onFocus action in the form:input tag, but this doesn't
works... And the page for Spring form tag is "not found"...
Somebody know how to get an javascript function whe my form:input control
gets focus?
Have a nice day...
--
View this message in context:
http://www.nabble.
Is it "possible to"/"should I be" accessing a Manager in the service layer
inside a HttpSessionListener that loads the User's properties into the
session when they log in?
Thank you,
Andrew J. Leer
--
View this message in context:
http://www.nabble.com/Accessing-a-Manager-in-HttpSessionList
I am trying Equinox 1-4 as I do not need the power of appfuse yet. I
downloaded 1.4 and read the directions.
I went to web/WEB-INF/classes and moved jdbc.properties to
jdbc.properties.postgres, and renamed the jdbc.properties.mysql to
jdbc.properties. (I use mysql).
Then I ensured that I c
I've responded to your question on the DWR lists :
http://www.nabble.com/using-Spring-MVC-with-DWR-tf3012602.html
-- Forwarded message --
From: Sanjiv Jivan <[EMAIL PROTECTED]>
Date: Jan 15, 2007 6:05 PM
Subject: Re: [dwr-user] using Spring MVC with DWR
To: [EMAIL PROTECTED]
I'v
You should add an "id" to your form field and then use the following
Prototype call:
Form.focusFirstElement("formId");
This will put the focus on the first field.
Matt
On 1/15/07, Jesfre <[EMAIL PROTECTED]> wrote:
Hi all...
I tried to use onFocus action in the form:input tag, but this doesn'
If you put the listener after the StartupListener (or
ContextLoaderListener in 2.0), you should be able to add/load Spring's
ApplicationContext using:
ApplicationContext ctx =
WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
HTH,
Matt
On 1/15/07,
Hibernate should create the tables. There's a
hibernate.hbm2ddl.auto=update property in
applicationContext-hibernate.xml. This will only be run when you fire
up an ApplicationContext (in a unit test or when running the app).
Matt
On 1/15/07, Scott Purcell <[EMAIL PROTECTED]> wrote:
I am t
Are you using JDK 5?
On 1/15/07, Ocram Itnaf <[EMAIL PROTECTED]> wrote:
Hi,
After downloading the latest sources from trunk (using svn co
https://appfuse.dev.java.net/svn/appfuse/trunk), and
running "mvn install" I am getting:
SEVERE: Context initialization failed
org.springframework.beans.f
Hi Ealden,
Thanks for your response.
The following is an excerpt of the log messages when lazy="false"
==
[junit] [po] INFO [main] UserActionTest.testEdit(29) | in testEdit
[junit] [po] INFO [main] UserActionTest.testEdit(36) | gonna
ac
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
Matt,
Yes, I'm using JDK 5, Maven 2.0.4, and JAVA_HOME is pointing to the right
place:
C:\Documents and Settings\oi\Local Settings\Temp\summit-5>java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_1
Hi wnqq,
[junit] org.hibernate.LazyInitializati onException: could not initialize
proxy - the owning Session was closed
I think the log just showed what's the problem.
try to find why session was closed before using some objects.
On 1/16/07, wnqq <[EMAIL PROTECTED]> wrote:
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,
>[junit] org.hibernate.LazyInitia
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
i just experienced the same HTML extension problem in Dojo setup.
no doubt, I do agree that .html is a pretty good abstraction to underly
implementation.
however, can we add a filter by default to bypass all static html pages ?
that is pretty essential, I believe.
~thinkboy.
Rene Lavoie wrot
The latest code in SVN should have 2.0-m3-SNAPSHOT. Can you try updating?
Matt
On 1/15/07, Ocram Itnaf <[EMAIL PROTECTED]> wrote:
Matt,
Yes, I'm using JDK 5, Maven 2.0.4, and JAVA_HOME is pointing to the right
place:
C:\Documents and Settings\oi\Local Settings\Temp\summit-5>java -version
jav
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]> wrote:
While practicing "adding entries" in
http://raibledesigns.com/wiki/Wiki.jsp?page=HibernateRelationshipsUI#r
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]> wrote:
>>
>> While practicing "addi
Hi wnqq,
It seems that I encountered the same exception when I build Appfuse 1.9.3on
Oracle.But I forgot how I fixed it.:-(
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.:
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
42 matches
Mail list logo