Hi Sandip,
2007/6/18, Sandip Patil <[EMAIL PROTECTED]>:
Hi All,
I am facing very strange problem.One time my application running
fine and another time(when I try to create another project
with another name) its giving me following error.
javax.servlet.ServletException: Base is null: loginFormBean
javax.faces.webapp.FacesServlet.service(FacesServlet.java:202)
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
root cause javax.faces.el.PropertyNotFoundException: Base
is null: loginFormBean
where loginFormBean is my Bean's alias name from faces-config file.
I searched almost for everything on google but not succeeded.
I am using jdk 1.5,apache-tomcat-5.5.17,Exadel.
I have both set of jar files jsf-api.jar,jsf-impl.jar
And
myfaces-api.jar,myfaces-impl.jar
On various forum I got reply saying use only one set of files
out of these two(i.e. Sun RI or myfaces).
But clearly first time my application running fine with these two
set of jar files why I should remove one set of jar file for second time
project creation.
Because your app did not run!
At least jsf-api.jar and myfaces-api.jar contains different
implementations of the same classes.
Your should find out whats wrong with the other functionalities which
not work now.
There is the problem, not in how to make two different implementations
of jsf work together.
Regards,
Volker
(If I do so some of functionalities will not work for second time project
creation)
Here I am giving remaining jar files from my web-inf/lib
folder
bp-ui-14.jar,chartengineapi.jar,com.ibm.icu_3.4.4.1.jar,common-annotations.jar,commons-beanutils.jar
commons-cli-1.0.jar,commons-codec-1.3.jar,commons-collections-2.1.1.jar,commons-collections.jar
commons-digester.jar,commons-fileupload-1.1.1.jar,commons-fileupload.jar,commons-io-1.2.jar
commons-lang.jar,commons-logging-1.0.4.jar,commons-logging-1.1.jar
commons-logging.jar,coreapi.jar,dataadapterapi.jar,dom4j-1.6.jar,
dteapi.jar,engineapi.jar,flute.jar,itext-1.4.6.jar,j2ee.jar,js.jar,jsf-api.jar
jsf-impl.jar,jstl.jar,jta.jar,jxls-core-0.9.1.jar,log4j-1.2.13.jar,
modelapi.jar,myfaces-api.jar,myfaces-impl.jar,ojdbc14.jar,org.eclipse.emf.common_2.2.0.v200606051102.jar
org.eclipse.emf.ecore.xmi_2.2.0.v200606051102.jar,org.eclipse.emf.ecore_2.2.0.v200606051102.jar,
org.eclipse.swt.win32.win32.x86_3.2.0.v3232l.jar,poi-2.5.1-final-20040804.jar,poi-contrib-2.5.1-final-2004080
4.jar
poi-scratchpad-2.5.1-final-20040804.jar,sac.jar,sandbox.jar,scriptapi.jar,shale-remoting.jar
standard.jar,tlddoc.jar,tomahawk.jar,toplink-essentials.jar,toplink-essentials-agent.jar,
viewer.jar,xerces-2.6.2.jar.
my web.xml contain listener as,
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
Also ,I tried to create project in eclipse -clean mode(thinking of clearing
cache).
but it also not helped.
Please help me in this.
Thanks
Sandip
________________________________
Don't get soaked. Take a quick peak at the forecast
with theYahoo! Search weather shortcut.