Where is my application webpage in AS7
samwun9988 Oct 10, 2011 9:30 PMHi,
I have deployed a WAR file to JBOSS AS7, but I could not found where the webpage of my application.
Here is the full log messages during deployment:
22:11:00,119 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "spring-mvc-grails-1.0.0-SNAPSHOT.war"
22:11:02,750 WARN [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry toolbox.jar in "/content/spring-mvc-grails-1.0.0-SNAPSHOT.war/WEB-INF/lib/itext-2.0.8.jar" does not point to a valid jar for a Class-Path reference.
22:11:02,750 WARN [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry bcmail-jdk14-138.jar in "/content/spring-mvc-grails-1.0.0-SNAPSHOT.war/WEB-INF/lib/itext-2.0.8.jar" does not point to a valid jar for a Class-Path reference.
22:11:02,750 WARN [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry bcprov-jdk14-138.jar in "/content/spring-mvc-grails-1.0.0-SNAPSHOT.war/WEB-INF/lib/itext-2.0.8.jar" does not point to a valid jar for a Class-Path reference.
22:11:02,751 WARN [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry jakarta-oro.jar in "/content/spring-mvc-grails-1.0.0-SNAPSHOT.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a valid jar for a Class-Path reference.
22:11:02,751 WARN [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry commons-logging.jar in "/content/spring-mvc-grails-1.0.0-SNAPSHOT.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a valid jar for a Class-Path reference.
22:11:02,751 WARN [org.jboss.as.server.deployment] (MSC service thread 1-6) Class Path entry picocontainer.jar in "/content/spring-mvc-grails-1.0.0-SNAPSHOT.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a valid jar for a Class-Path reference.
22:11:02,821 WARN [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-6) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"
22:11:02,837 INFO [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to spring-mvc-grails-1.0.0-SNAPSHOT.war
22:11:03,465 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/spring-mvc-grails-1.0.0-SNAPSHOT]] (MSC service thread 1-2) Initializing Spring root WebApplicationContext
22:11:03,466 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
22:11:03,652 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Oct 11 22:11:03 EST 2011]; root of context hierarchy
22:11:03,682 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
22:11:03,826 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@69fed1f3: defining beans [grailsApplication,pluginManager,grailsConfigurator,grailsResourceLoader,grailsResourceHolder,characterEncodingFilter]; root of factory hierarchy
22:11:05,954 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
22:11:06,132 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.beans.factory.config.PropertiesFactoryBean - Loading properties file from class path resource [gsp/views.properties]
22:11:06,132 INFO [stdout] (MSC service thread 1-2) WARN : org.springframework.beans.factory.config.PropertiesFactoryBean - Could not load properties from class path resource [gsp/views.properties]: class path resource [gsp/views.properties] cannot be opened because it does not exist
22:11:06,483 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 3017 ms
22:11:06,546 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/spring-mvc-grails-1.0.0-SNAPSHOT]] (MSC service thread 1-2) Initializing Spring FrameworkServlet 'SpringMVCServlet'
22:11:06,546 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'SpringMVCServlet': initialization started
22:11:06,548 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'SpringMVCServlet-servlet': startup date [Tue Oct 11 22:11:06 EST 2011]; parent: org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@15a8cf03
22:11:06,548 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/servlet-context.xml]
22:11:06,592 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.context.annotation.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
22:11:06,594 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.context.annotation.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
22:11:06,625 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
22:11:06,629 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1e1116f9: defining beans [testController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.config.viewControllerHandlerAdapter,org.springframework.web.servlet.config.viewControllerHandlerMapping,org.springframework.web.servlet.handler.MappedInterceptor#1,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,localeResolver,messageSource]; parent: org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory@b426780
22:11:06,667 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping - Mapped URL path [/test/1] onto handler 'testController'
22:11:06,667 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping - Mapped URL path [/test/1.*] onto handler 'testController'
22:11:06,667 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping - Mapped URL path [/test/1/] onto handler 'testController'
22:11:06,677 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.2.0.Final
22:11:06,732 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.servlet.handler.SimpleUrlHandlerMapping - Root mapping to handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController]
22:11:06,735 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/resources/**] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0'
22:11:06,743 INFO [stdout] (MSC service thread 1-2) INFO : org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'SpringMVCServlet': initialization completed in 197 ms
22:11:06,748 INFO [org.jboss.web] (MSC service thread 1-2) registering web context: /spring-mvc-grails-1.0.0-SNAPSHOT
22:11:06,785 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "spring-mvc-grails-1.0.0-SNAPSHOT.war"
Here is the error when I navigated to the page:
HTTP Status 404 - /spring-mvc-grails-1.0.0-SNAPSHOT/
type Status report
message /spring-mvc-grails-1.0.0-SNAPSHOT/
description The requested resource (/spring-mvc-grails-1.0.0-SNAPSHOT/) is not available.
JBoss Web/7.0.1.Final
Any suggestion would be very appreciated.
Thanks
Sam