[jboss-user] [Beginner's Corner] - Re: Need help in resolving a problem.
Mandar Joglekar
do-not-reply at jboss.com
Wed Feb 29 09:17:15 EST 2012
Mandar Joglekar [https://community.jboss.org/people/mandarjoglekar] created the discussion
"Re: Need help in resolving a problem."
To view the discussion, visit: https://community.jboss.org/message/720575#720575
--------------------------------------------------------------
Hi https://community.jboss.org/people/wdfink Wolf-Dieter Fink,
Thank you for the reply. I also have jboss-classloading.xml as follows:
<?
xml version=++"1.0"++ encoding=++"UTF-8"++?><
classloading xmlns=++"urn:jboss:classloading:1.0"+
+domain
=++"shar.war"+
+parent-domain
=++"sharEAR.ear"+
+export-all
=++"NON_EMPTY"+
+import-all
=++"true"++></
classloading>
and I also have web.xml as follows:
<?
xml version=++"1.0"++ encoding=++"UTF-8"++?><!
DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"><
web-app>
<display-name>shar</display-name>
<description>Sears Holdings Accounts Receivable Application</description>
<!--- Key of the system property that should specify the root directory of this
- web app. Applied by WebAppRootListener or Log4jConfigListener.
-->
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>klog.logdir</param-value>
</context-param>
<!--- Location of the Log4J config file, for initialization and refresh checks.
- Applied by Log4jConfigListener.
-->
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</context-param>
<!--- Configures Log4J for this web app.
- As this context specifies a context-param "log4jConfigLocation", its file path
- is used to load the Log4J configuration, including periodic refresh checks.
-->
<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>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<taglib id=++"TagLibRef_1"++>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
</taglib>
<taglib id=++"TagLibRef_2"++>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
</taglib>
<taglib id=++"TagLibRef_3"++>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
</taglib>
<taglib id=++"TagLibRef_4"++>
<taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
</taglib>
<taglib id=++"TagLibRef_13"++>
<taglib-uri>http://jakarta.apache.org/taglibs/mailer-1.0</taglib-uri>
<taglib-location>/WEB-INF/lib/mailer.jar</taglib-location>
</taglib>
<resource-ref id=++"DB2_DataSource"++>
<description>This is the DB2 Data Source definition for the SHAR Application</description>
<res-ref-name>jdbc/sharDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref></
web-app>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/720575#720575]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120229/c2a330e9/attachment-0001.html
More information about the jboss-user
mailing list