Encountered invalid class name 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider:org.jboss.as.web.deployment.jsf.JsfInjectionProvider'
shruthi123 Nov 10, 2014 7:22 AMHi
I am creating an application using ExtJS4 for front-end, struts2- java for back-end.. and I am deploying it on jboss server (jboss as 7.1) . But, when I try to deploy the application I am getting a warning in the console..However there is no error..But still the application does not seem to work... Someone please help me find the problem and solve it..
17:11:16,747 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "ELCM.war"
17:11:51,400 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider:org.jboss.as.web.deployment.jsf.JsfInjectionProvider' for service type 'com.sun.faces.spi.injectionprovider'
17:11:58,663 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] (MSC service thread 1-3) Parsing configuration file [struts-default.xml]
17:11:59,377 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] (MSC service thread 1-3) Parsing configuration file [struts-plugin.xml]
17:11:59,632 INFO [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider] (MSC service thread 1-3) Parsing configuration file [struts.xml]
17:11:59,643 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory)
17:11:59,650 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.factory.ActionFactory)
17:11:59,656 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.factory.ResultFactory)
17:11:59,663 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.factory.ConverterFactory)
17:11:59,669 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.factory.InterceptorFactory)
17:11:59,676 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.factory.ValidatorFactory)
17:11:59,682 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory)
17:11:59,689 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
17:11:59,695 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter)
17:11:59,702 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter)
17:11:59,711 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter)
17:11:59,717 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter)
17:11:59,724 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter)
17:11:59,731 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor)
17:11:59,738 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor)
17:11:59,745 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor)
17:11:59,752 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator)
17:11:59,759 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder)
17:11:59,766 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider)
17:11:59,772 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider)
17:11:59,779 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory)
17:12:03,500 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)
17:12:03,507 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper)
17:12:03,514 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest)
17:12:03,521 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager)
17:12:03,530 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer)
17:12:03,536 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager)
17:12:03,543 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory)
17:12:03,550 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider)
17:12:03,557 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)
17:12:03,566 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher)
17:12:03,577 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader)
17:12:03,584 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager)
17:12:03,590 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper)
17:12:03,597 INFO [org.apache.struts2.config.AbstractBeanSelectionProvider] (MSC service thread 1-3) Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser)
17:12:16,725 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.
17:12:16,732 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ELCM.war" was rolled back with failure message Operation cancelled
17:12:55,126 INFO [org.jboss.web] (MSC service thread 1-3) JBAS018210: Registering web context: /ELCM
17:12:57,611 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment ELCM.war in 40875ms
And even if the deployment is successful: I am getting 404 error [requested resource \ELCM not available ]
web.xml [Webcontent>WEB-INF>web.xml]
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>ELCM</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
struts.xml [src>struts.xml]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="ELCM" extends="struts-default,json-default">
<action name="addBook" class="com.tcs.elcm.action.Book"
method="processReq">
<result type="json"></result>
</action>
</package>
</struts>
jar files included
Thanks in advance