-
June 21st, 2009, 03:27 AM
#1
Problem of deploying ear package in jboss
I put the ear package posteita.ear into the jboss deploy folder. Then when I restart the server the log looks like this:
Code:
2009-06-20 22:36:23,642 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/Compiere2/jboss/server/compiere/deploy/posterita.ear
2009-06-20 22:36:23,645 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
2009-06-20 22:36:23,645 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
2009-06-20 22:36:23,770 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: posterita.war
2009-06-20 22:36:23,771 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@15ea55ad { url=file:/Compiere2/jboss/server/compiere/tmp/deploy/tmp41641posterita.ear-contents/posterita.war }
deployer: null
status: null
state: CONSTRUCTED
watch: file:/Compiere2/jboss/server/compiere/tmp/deploy/tmp41641posterita.ear-contents/posterita.war
altDD: null
lastDeployed: 0
lastModified: 0
mbeans:
, isDirectory: false
...
...
...
2009-06-20 22:36:26,696 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/posterita] Configuration option 'com.sun.faces.responseBufferSize' set to '1024'
2009-06-20 22:36:26,696 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/posterita] Configuration option 'com.sun.faces.clientStateWriteBufferSize' set to '8192'
2009-06-20 22:36:26,696 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/posterita] Configuration option 'com.sun.faces.expressionFactory' set to 'com.sun.el.ExpressionFactoryImpl'
2009-06-20 22:36:26,701 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] No FacesServlet found in deployment descriptor - bypassing configuration
2009-06-20 22:36:26,701 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0'
2009-06-20 22:36:26,720 DEBUG [org.displaytag.filter.ResponseOverrideFilter] bufferParam=null
2009-06-20 22:36:26,720 INFO [org.displaytag.filter.ResponseOverrideFilter] Filter initialized. Response buffering is enabled
It seems it stops here, and never goes to the part:
DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Initialized: ...
DEBUG [org.jboss.web.WebModule] Started ...
DEBUG [org.jboss.system.ServiceController] starting service ...
Can anyone tell me what is wrong please?
Here is the web.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<icon>
<large-icon>/C32.gif</large-icon>
</icon>
<display-name>Posterita Ltd Enterprise Software Platform</display-name>
<description>$Id: web.xml,v 1.18 2006/10/16 13:34:18 ashley Exp $</description>
<!--Standard Parameters - if 0 first non-demo client is used-->
<context-param>
<param-name>#AD_Client_ID</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>#AD_Language</param-name>
<param-value>en_US</param-value>
</context-param>
<context-param>
<param-name>#AD_Org_ID</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>#AD_User_ID</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>#C_BankAccount_ID</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>#SalesRep_ID</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>#AD_Role_ID</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>#W_Store_ID</param-name>
<param-value>1000000</param-value>
</context-param>
<context-param>
<param-name>REPORT_DIRECTORY</param-name>
<param-value>/config/reports/</param-value>
</context-param>
<!-- Standard Action Servlet Configuration (with debugging) -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>DisplayChart</servlet-name>
<servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class>
</servlet>
<servlet>
<servlet-name>DisplayReportServlet</servlet-name>
<servlet-class>org.posterita.core.utils.DisplayReportServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- JFreeChart servlet -->
<servlet-mapping>
<servlet-name>DisplayChart</servlet-name>
<url-pattern>/servlet/DisplayChart</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DisplayReportServlet</servlet-name>
<url-pattern>/servlet/DisplayReportServlet/*</url-pattern>
</servlet-mapping>
<!-- Session Config -->
<session-config>
<session-timeout>60</session-timeout>
</session-config>
<!-- Standard Action Servlet Mapping -->
<!-- The Usual Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-nested</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
<!-- Compiere Taglib -->
<!--
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/xml</taglib-uri>
<taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>webStore.tld</taglib-uri>
<taglib-location>/WEB-INF/webStore.tld</taglib-location>
</taglib>
-->
<filter>
<filter-name>ResponseOverrideFilter</filter-name>
<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ResponseOverrideFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>ResponseOverrideFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
</web-app>
Thanks again!
-
June 22nd, 2009, 08:45 AM
#2
Re: Problem of deploying ear package in jboss
http://www.jboss.org/jbossforums/
In the meantime, my advice would be to verify this on another container, tomcat or glassfish and see if you can successfully deploy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|