WEB-INF folder contains meta-information about your application, you shouldn't put your pages there.
Instead, put them into WebContent folder.

Vladimir M.

On 21.05.2013 14:50, Kempff, Malte wrote:

Hi to all,

I just start with JSF and try to set up my IDE, that is Ecipse Juno for Web-Developers and Tomcat 6.

Actually I was following the Hints of following page for setting the latest stuff.

http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jst.jsf.doc.user%2Fhtml%2Fgettingstarted%2Ftutorial%2FJSFTools_tutorial_JSF20.html

Since I could not connect to Oacles implementation Mojarra I desiced to use Apache alternative setting the checkmark there.

Obviously I get following libraries, at least I find these in the library subfolder of my Workspace:

But now I am wondering that When I stat this sample web-application I get following messages:

17.05.2013 19:32:05 org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_35\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:/Program Files (x86)/Java/jre6/lib/i386;C:\Perl64\site\bin;C:\Perl64\bin;C:\Oracle\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\Program Files (x86)\IBM\SQLLIB\BIN;C:\Program Files (x86)\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files (x86)\IBM\gsk8\lib\;C:\Program Files (x86)\IBM\SQLLIB\FUNCTION;C:\Program Files (x86)\Java\jdk1.6.0_35\bin;c:\Temp\lib\db-derby-10.9.1.0-bin\bin;C:\lib\javacc-5.0\bin;;C:\Program Files (x86)\eclipse-juno-32ee;;.

17.05.2013 19:32:05 org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

17.05.2013 19:32:05 org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 338 ms

17.05.2013 19:32:05 org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

17.05.2013 19:32:05 org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.36

17.05.2013 19:32:05 org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor CMK_JSF_TEST.xml

17.05.2013 19:32:05 org.apache.catalina.core.StandardContext addApplicationListener

INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using default value false

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.RENDER_HIDDEN_FIELDS_FOR_LINK_PARAMS' found, using default value false

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value false

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.RENDER_FORM_SUBMIT_SCRIPT_INLINE' found, using default value false

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getLongInitParameter

INFO: No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getStringInitParameter

INFO: No context init parameter 'org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS' found, using default value auto

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE' found, using default value false

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.VALIDATE_XML' found, using default value false

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter

INFO: No context init parameter 'org.apache.myfaces.WRAP_SCRIPT_CONTENT_WITH_XML_COMMENT_TAG' found, using default value true

17.05.2013 19:32:05 org.apache.myfaces.shared_impl.config.MyfacesConfig createAndInitializeMyFacesConfig

INFO: Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.

17.05.2013 19:32:05 org.apache.myfaces.config.FacesConfigurator feedStandardConfig

INFO: Reading standard config META-INF/standard-faces-config.xml

log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).

log4j:WARN Please initialize the log4j system properly.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator getWebAppConfig

INFO: Reading config /WEB-INF/faces-config.xml

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: Starting up MyFaces-package : myfaces-api in version : 2.0.2 from path : file:/C:/Temp/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/CMK_JSF_TEST/WEB-INF/lib/myfaces-api-2.0.2.jar

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: Starting up MyFaces-package : myfaces-impl in version : 2.0.2 from path : file:/C:/Temp/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/CMK_JSF_TEST/WEB-INF/lib/myfaces-impl-2.0.2.jar

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : tomahawk not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : tomahawk12 not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : tomahawk-sandbox not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : tomahawk-sandbox12 not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : tomahawk-sandbox15 not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : myfaces-orchestra-core not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : myfaces-orchestra-core12 not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : trinidad-api not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : trinidad-impl not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : tobago not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : commons-el not found.

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator startLib

INFO: MyFaces-package : jsp-api not found.

17.05.2013 19:32:06 org.apache.myfaces.util.ExternalSpecifications isBeanValidationAvailable

INFO: MyFaces Bean Validation support disabled

17.05.2013 19:32:06 org.apache.myfaces.application.ApplicationImpl getProjectStage

INFO: Couldn't discover the current project stage, using Production

17.05.2013 19:32:06 org.apache.myfaces.config.FacesConfigurator handleSerialFactory

INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory

17.05.2013 19:32:06 org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider

INFO: Using LifecycleProvider java.lang.String

17.05.2013 19:32:06 org.apache.myfaces.webapp.AbstractFacesInitializer initFaces

INFO: ServletContext 'C:\Temp\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\CMK_JSF_TEST\' initialized.

17.05.2013 19:32:06 org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

17.05.2013 19:32:06 org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

17.05.2013 19:32:06 org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/12  config=null

17.05.2013 19:32:06 org.apache.catalina.startup.Catalina start

INFO: Server startup in 917 ms

17.05.2013 19:32:07 javax.faces.webapp.FacesServlet service

WARNUNG: Someone is trying to access a secure resource : /WEB-INF/login.xhtml

remote address is 0:0:0:0:0:0:0:1

remote host is 0:0:0:0:0:0:0:1

remote user is null

request URI is /CMK_JSF_TEST/faces/WEB-INF/login.xhtml

Do I have to put those libraries I found somewhere else manually (e.g. WEB-INF/lib), even though I thought downloading them and running the sample as described in this tutorial would be enough for running the I the IDE?

Or do I need further libraries, that are not mentioned?

Thanks in advance for hints and best regards

Malte

------------------------------------------------------------------------------------------------ Disclaimer: The contents of this electronic mail message are only binding upon Equens or its affiliates, if the contents of the message are accompanied by a lawfully recognised type of signature. The contents of this electronic mail message are privileged and confidential and are intended only for use by the addressee. If you have received this electronic mail message by error, please notify the sender and delete the message without taking notices of its content, reproducing it and using it in any way. ------------------------------------------------------------------------------------------------

Reply via email to