This seems as through it would be a special problem,I haven't found
much
information on the forum.
I design a web application on windows by appfuse2.0.1.It runs well on
tomcat6.0.14+JDK1.5 environment+windows XP.
I want redeploy this web app on HP-UN.
This is my Server Information:
Tomcat Version: Apache Tomcat/6.0.14
JVM Version: JVM Vendor
JVM Vendor:Hewlett-Packard Company
OS Name:HP-UX
OS Version:B.11.23
OS Architecture:PA_RISC2.0
I receive this message "If you're seeing this page via a web
browser, it
means you've setup Tomcat successfully. Congratulations!" When I run
the
tomcat on HP-UN.But I get some error message when I access
"http://135.224.85.1:8081/xjdxDataSend-2.0/".
This is web page error message:
Yikes!
javax.servlet.ServletException: Servlet.init() for servlet faces threw
exception
at
org
.apache
.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202)
at
org
.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
806)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
129)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
175)
at
org
.apache
.catalina
.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
263)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844)
at
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: No Factories configured
for this
Application. This happens if the faces-initialization does not work
at all -
make sure that you properly include all configuration settings
necessary for
a basic faces application and that all the necessary libs are
included. Also
check the logging output of your web application and your container
for any
exceptions!
If you did that and find nothing, the mistake might be due to the
fact that
you use some special web-containers which do not support registering
context-listeners via TLD files and a context listener is not setup
in your
web.xml.
A typical config looks like this;
org.apache.myfaces.webapp.StartupServletContextListener
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
at
org
.apache
.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
... 12 more
This the tomcat localhost.2008-03-24.log:
Mar 24, 2008 1:32:08 PM org.apache.catalina.core.ApplicationContext
log
INFO: ContextListener: contextInitialized()
Mar 24, 2008 1:32:08 PM org.apache.catalina.core.ApplicationContext
log
INFO: SessionListener: contextInitialized()
Mar 24, 2008 1:32:11 PM org.apache.catalina.core.ApplicationContext
log
INFO: Initializing Spring root WebApplicationContext
Mar 24, 2008 1:32:24 PM org.apache.catalina.core.ApplicationContext
log
SEVERE: StandardWrapper.Throwable
java.lang.IllegalStateException: No Factories configured for this
Application. This happens if the f
aces-initialization does not work at all - make sure that you properly
include all configuration set
tings necessary for a basic faces application and that all the
necessary
libs are included. Also che
ck the logging output of your web application and your container for
any
exceptions!
If you did that and find nothing, the mistake might be due to the
fact that
you use some special web
-containers which do not support registering context-listeners via
TLD files
and a context listener
is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-
class>org.apache.myfaces.webapp.StartupServletContextListener</
listener-class>
</listener>
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
at
org
.apache
.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
981)
at
org
.apache
.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4045)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4351)
at
org
.apache
.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org
.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:
920)
at
org
.apache
.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org
.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
311)
at
org
.apache
.catalina
.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:
516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:
566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:
413)
Mar 24, 2008 1:32:24 PM org.apache.catalina.core.StandardContext
loadOnStartup
SEVERE: Servlet /xjdxDataSend-2.0 threw load() exception
java.lang.IllegalStateException: No Factories configured for this
Application. This happens if the f
aces-initialization does not work at all - make sure that you properly
include all configuration set
tings necessary for a basic faces application and that all the
necessary
libs are included. Also che
ck the logging output of your web application and your container for
any
exceptions!
If you did that and find nothing, the mistake might be due to the
fact that
you use some special web
-containers which do not support registering context-listeners via
TLD files
and a context listener
is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-
class>org.apache.myfaces.webapp.StartupServletContextListener</
listener-class>
</listener>
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
at
org
.apache
.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
981)
at
org
.apache
.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4045)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4351)
at
org
.apache
.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org
.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:
920)
at
org
.apache
.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org
.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
311)
at
org
.apache
.catalina
.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:
516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:
566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:
413)
Any ideas how to fix this?
--
View this message in context:
http://www.nabble.com/Deploy-my-web-application-on-HP-UN-OS-error-tp16246999s2369p16246999.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]