Hi, 

I was in the process of clearing out my emails when I came across this
thread. 
I remember having such (or similar problem) on a Linux machine. 

The problem was solved by altering BaseFormController.java such that
method getConfiguration() looks like:

    public Map getConfiguration() {
        try{
                Map config =
                    (HashMap)
getServletContext().getAttribute(Constants.CONFIG);
        
                // so unit tests don't puke when nothing's been set
                if (config == null) {
                    return new HashMap();
                }
        
                return config;
        } catch (IllegalStateException ise) {
                log.error("getConfiguration(): "+ise.getMessage());
            return new HashMap();
        }
    }

In effect, a try /catch statement was inserted such that a new HashMap()
is returned even if an IllegalStateException is thrown. I do not know
why such an exception is thrown though.

This response is perhaps a bit on the late side... Anyway.
HTH,
Jon
 

-----Original Message-----
From: reddeagle9 [mailto:[EMAIL PROTECTED] 
Sent: 30 April 2007 11:57
To: [email protected]
Subject: [appfuse-user] Appofuse on ubuntu


Like a try appfuse guy, i said i would check out development on ubuntu.
I am not a linux head and have most  experience with windows etc. but
just to open my eyes

Have everything set up and created a default appfuse 1.9.4 project
called
jubuntu:

i have successfully run tests etc and am able to build my war file and
depoy.

However on tomcat start up i get the following

:

 java.io.FileNotFoundException: Could not open ServletContext resource
[/WEB-INF/security.xml]

The file exists and is there (I checked the war file), have tried this a
few times and get the same problem.

Any tips from someone more experienced than me on this? 


--
View this message in context:
http://www.nabble.com/Appofuse-on-ubuntu-tf3669004s2369.html#a10251604
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


______________________________________________        
This email has been scanned by Netintelligence        
http://www.netintelligence.com/email

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to