[appfuse-user] http://issues.appfuse.org/browse/APF-887 ?

2008-08-06 Thread Todd Nguyen
I removed this from the applicationContext file and we got a bunch of LazyInstantiation errors. We are running with Spring 2.5.2 version. It seems that we still need this workaround.

Re: [appfuse-user] Failing tests using full source

2008-08-06 Thread Matt Raible
Can you try it with JDK 5? You also might try putting your JDK in a directory w/o spaces. Matt On Wed, Aug 6, 2008 at 2:10 PM, emmettwalsh <[EMAIL PROTECTED]> wrote: > > I'm using Vista > > here are my env variables: > > C:\dev\springapp3>set > ALLUSERSPROFILE=C:\ProgramData > APPDATA=C:\Users\Ad

Re: [appfuse-user] Failing tests using full source

2008-08-06 Thread emmettwalsh
I'm using Vista here are my env variables: C:\dev\springapp3>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Admin\AppData\Roaming CLASSPATH=.;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=ADMIN-PC ComSpec=C:\Windows\system

Re: [appfuse-user] Failing tests using full source

2008-08-06 Thread Matt Raible
I haven't seen these errors before. Can you send your environment (OS, Maven version, etc.)? Matt On Wed, Aug 6, 2008 at 1:55 PM, emmettwalsh <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have downloaded the jsf basic and then the spring mvc basic projects. The > tests pass fine, but when I download

[appfuse-user] Failing tests using full source

2008-08-06 Thread emmettwalsh
Hi, I have downloaded the jsf basic and then the spring mvc basic projects. The tests pass fine, but when I download the full source and run then tests again I get some failures, I tried removing the hibernate mapping file from the test resources directory, but still no use. can any body help, h

Re: [appfuse-user] Change log settings for action classes?

2008-08-06 Thread Matt Raible
It could also be another log4j.xml file getting read instead of yours. Matt On Wed, Aug 6, 2008 at 8:50 AM, Martin Homik <[EMAIL PROTECTED]> wrote: > > Not actively. I looked into the file and noticed that classes in my project > package have the debug level > "DEBUG" .That means that my action

Re: [appfuse-user] Change log settings for action classes?

2008-08-06 Thread Martin Homik
Not actively. I looked into the file and noticed that classes in my project package have the debug level "DEBUG" .That means that my action classes should produce some log as they use log.fatal(). However, they don't. So, it might be someother parameter. I'll just try it, the xwork2 package migh

Re: [appfuse-user] No injection of beans into Manager/Action classes?

2008-08-06 Thread Matt Raible
On Wed, Aug 6, 2008 at 3:33 AM, Martin Homik <[EMAIL PROTECTED]> wrote: > > Injection of beans outside Spring does not work, that's clear. But I was > surprised to learn that it is not possible to inject beans in *ManagerImpl > and *Action classes. Am I completely wrong? Yes, you are wrong. ;-) Th

Re: [appfuse-user] Null Spring beans

2008-08-06 Thread Matt Raible
Dependency Injection for tag libraries is not supported by Spring AFAIK. If you can get a pageContext, you should be able to get a ServletContext and look up the WebApplicationContext (and all your beans) from that. Matt On Wed, Aug 6, 2008 at 2:28 AM, ensoreus <[EMAIL PROTECTED]> wrote: > > Hy,

Re: [appfuse-user] Change log settings for action classes?

2008-08-06 Thread Matt Raible
Have you tried modifying src/main/resources/log4j.xml? On Wed, Aug 6, 2008 at 3:50 AM, Martin Homik <[EMAIL PROTECTED]> wrote: > > How can I change the log settings in order to be able to print log messages > in my action classes. Though I use log.fatal(), log messages don't show up > in the conso

Re: [appfuse-user] Facing Problem While Connecting AppFuse With Sybase Database

2008-08-06 Thread Matt Raible
The table names are specified in annotations. You'll need to import the core classes into your project to change this: http://appfuse.org/display/APF/AppFuse+Core+Classes Matt On Wed, Aug 6, 2008 at 7:23 AM, ajaysingh <[EMAIL PROTECTED]> wrote: > > http://www.nabble.com/file/p18851106/Eror.txt E

Re: [appfuse-user] Can't resolve taglib in taglibs.jsp

2008-08-06 Thread Matt Raible
What's the URI in your appfuse.tld file in your WEB-INF directory (after building your WAR)? Matt On Wed, Aug 6, 2008 at 1:22 AM, Martin Homik <[EMAIL PROTECTED]> wrote: > > I don't understand your answer. All Struts2-AppFuse projects are > preconfigured with a > taglib pointing to uri="http://ww

[appfuse-user] Access the secured WebService remotely in AppFuse 2.0.2

2008-08-06 Thread Irshad Buchh
Hi, I have applied the security to the webservice in AppFuse 2.0.2 based on the tutorial by adding /services/* access=ROLE_EMPLOYEE to security.xml and it is working fine. In case we try to access the url /services/UserService?wsdl, the login.jsp pages is displayed. Question: How do we provide the

[appfuse-user] Facing Problem While Connecting AppFuse With Sybase Database

2008-08-06 Thread ajaysingh
http://www.nabble.com/file/p18851106/Eror.txt Eror.txt Hello Everyone, Appfuse is able to create app_user and user_role table in Sybase Databse database,but it is not able to create role table in database because “role” is considered as a keyword in Sybase database.so i have changed name of tabl

[appfuse-user] Change log settings for action classes?

2008-08-06 Thread Martin Homik
How can I change the log settings in order to be able to print log messages in my action classes. Though I use log.fatal(), log messages don't show up in the console when running jetty:run-war. Thanks for help. Martin -- View this message in context: http://www.nabble.com/Change-log-settings-

[appfuse-user] No injection of beans into Manager/Action classes?

2008-08-06 Thread Martin Homik
Injection of beans outside Spring does not work, that's clear. But I was surprised to learn that it is not possible to inject beans in *ManagerImpl and *Action classes. Am I completely wrong? In my app, I have a competency action class which is in charge of putting a competency's names on the va

Re: [appfuse-user] Problem with dbUnit test data import from file

2008-08-06 Thread pjames
I realise now that the actuall error was caused by a missing zero in one of the entries. i.e. I had put 1 and not 01 for the day field. With 01 in place, it works for -MM-dd also. Thanks. pjames wrote: > > Thanks Matt. That hint did help. Though MM/dd/ didnt work for me, > MM-dd- d

[appfuse-user] Null Spring beans

2008-08-06 Thread ensoreus
Hy, I am using AppFuse version 2 - Struts 2 Basic. I am trying to use a StateTag similar to the CountryTag in appfuse.tld, for displaying a list of available states for the selected country. The states are stored in an Oracle DB 10g table. The manager and dao for the State table are decla

Re: [appfuse-user] Problem with dbUnit test data import from file

2008-08-06 Thread pjames
Thanks Matt. That hint did help. Though MM/dd/ didnt work for me, MM-dd- did work. Thanks a lot. mraible wrote: > > I would try MM/dd/ as your date format. > > Matt > > On Wed, Jul 30, 2008 at 5:22 AM, pjames <[EMAIL PROTECTED]> wrote: >> >> Hi, >> I am trying to import a 'date

Re: [appfuse-user] Can't resolve taglib in taglibs.jsp

2008-08-06 Thread Martin Homik
I don't understand your answer. All Struts2-AppFuse projects are preconfigured with a taglib pointing to uri="http://www.appfuse.org/tags/struts";. For some reason, this did not work for my current project. I don't have the problem with other projects, as far as I remember. So I changed it to uri

Re: [appfuse-user] how to read a new config file

2008-08-06 Thread Martin Homik
Alternatively, you could use Spring's PropertyPlaceholderConfigurer to externalize parts of your configuration. It bases on property files rather than on xml files. Martin -- View this message in context: http://www.nabble.com/how-to-read-a-new-config-file-tp18679204s2369p18845596.html Sent