[JBoss Seam] - Re: Seam 1.3.0 Alpha - pdf component causes problem
by fmars
I found the source of problem. i explain here, maybe some other netbeans users too need this.
i am a netbeans user and open seam projects with netbeans. on my computer are jdk 5 and jdk 6 installed.
i run netbeans with jdk 6 because of swing improvements in java 6.
i knew already, that i have to use jdk 5 for seam and jboss.
therefore i set java_home to jdk 5 and tested, while building a seam project, but outside of netbeans.
the reason was that the built-in ant uses the jdk of netbeans on which it runs. it has compiled sources with jdk 6.
i couldn't figure out it immediately, because sometimes it deploys successfully, but most of the times not.
one should set explicitly in netbeans jdk to 5 for a seam project, if jboss runs on jdk 5.
a question: can't error log show a proper message like: hey, this is compiled with jdk 6 and i am not happy with it :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054954#4054954
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054954
18Â years, 10Â months
[Beginners Corner] - jsf problem - could not find Factory...
by galrub
Hello all, need some help,
Getting an exception when deploying a war on Jboss 4.2.GA
there is no lib directory in the war, just the basiic faces-config.xml and web.xml in WEB-INF dir (made according to jboss site).
and two JSPs that I got from
'http://www.coreservlets.com/JSF-Tutorial/index.html'
the exception top looks like this top looks like this:
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
.... goes on for 3 pages.
when I went on localhost:8080 the war was deployed and got the pages but these pages don't use any JSF tags, just declare them
any ideas how to fix this, need to do a richfaces project... so this needs to WORK! :-)
thank you in advance,
GR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054953#4054953
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054953
18Â years, 10Â months