This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Having issues with Tomcat 6.x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Having issues with Tomcat 6.x" Watch "Having issues with Tomcat 6.x" New topic
Author

Having issues with Tomcat 6.x

shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
am using tomcat 6.x with my eclipse 5.5 built in JDK and getting the following error
am also using following jar files
1. commons-bean util 1.5.jar
2. commons-logging 1.1.1.jar
3. commons-digerster 1.8
4. commons-collection 3.2. jar

getting the following error

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

can anybody help me please

shahid hussain abbasi
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

Welcome to CodeRanch Shahid Hussain

shahid hussain wrote:am using tomcat 6.x with my eclipse 5.5 built in JDK and getting the following error
am also using following jar files
1. commons-bean util 1.5.jar
2. commons-logging 1.1.1.jar
3. commons-digerster 1.8
4. commons-collection 3.2. jar

getting the following error

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory


Do you have a application? How you run it etc...? You may need to TellTheDetails. It seems commons-logging is not available in the classpath, but without knowing what you trying to do it's hard to suggest anything.

And you may start your own thread for your questions.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
ya i changed my server from jboss 4.x to tomcat 6.x and am unable to recognize what the problem is
thanks to reply
shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
sir this is my actual exception


SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.myfaces.webapp.StartupServletContextListener.<clinit>(StartupServletContextListener.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4079)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
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:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 11, 2011 9:06:22 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Jan 11, 2011 9:06:22 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 11, 2011 9:06:22 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/main] startup failed due to previous errors
Michel ten Voorde
Greenhorn

Joined: Dec 30, 2010
Posts: 26

You are posting in the wrong topic, as well as in the wrong forum. I advice you to read Vijitha's post above ^^^.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

Hi Shahid, Please start a new thread in the appropriate forum.
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1659
    
  11

Split topic into its own thread....

Shahid, it is considered rude (and "not nice") to "hijack" someone's thread by asking a new question unrelated to the original thread.... Please be more careful in the future to start a new topic for your own questions

Thanks!


When you do things right, people won't be sure you've done anything at all.
shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
dear so please solve my problem
any kind of information if you need am available now please am waiting your cool feedback

SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.myfaces.webapp.StartupServletContextListener.<clinit>(StartupServletContextListener.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4079)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
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:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 12, 2011 12:29:48 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Jan 12, 2011 12:29:48 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 12, 2011 12:29:48 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/main] startup failed due to previous errors

am using tomcat 6.x and myeclipse 5.5
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

shahid hussain wrote:
am also using following jar files
1. commons-bean util 1.5.jar
2. commons-logging 1.1.1.jar
3. commons-digerster 1.8
4. commons-collection 3.2. jar

Where did you put them ? If you are using a Tomcat plugin in Eclipse, you have to make sure that these libraries are under the WEB-INF/lib directory that your plugin is using in its run configuration.


[My Blog]
All roads lead to JavaRanch
shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
so what should i do
am downloading jdk 1.6
shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
dear sir i also changed jdk 6 and all its libraries but am still getting the same error with tomcat 6.x and my ecliplse

exeption is

SEVERE: Error deploying configuration descriptor host-manager.xml
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
at org.apache.catalina.core.StandardHost$MemoryLeakTrackingListener.lifecycleEvent(StandardHost.java:561)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4625)
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:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 12, 2011 3:28:16 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Jan 12, 2011 3:28:16 PM org.apache.catalina.startup.HostConfig deployDescriptor

most welcome to help
truly shahid hussain abbasi
shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
hi please solve my problem am giving you all my materials

SEVERE: Error deploying configuration descriptor host-manager.xml
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
at org.apache.catalina.core.StandardHost$MemoryLeakTrackingListener.lifecycleEvent(StandardHost.java:561)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4625)
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:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 12, 2011 6:04:51 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Jan 12, 2011 6:04:51 PM org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor manager.xml
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
at org.apache.catalina.core.StandardHost$MemoryLeakTrackingListener.lifecycleEvent(StandardHost.java:561)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4625)
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:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 12, 2011 6:04:51 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jan 12, 2011 6:04:51 PM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory docs
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;

and this is my xml file

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<!-- a -->
<servlet>
<servlet-name>dwr-invoker</servlet-name>
<!-- <display-name>DWR Servlet</display-name>-->
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>FileUploader</servlet-name>
<servlet-class>tyn.cm.servlet.FileUploader</servlet-class>
</servlet>




<!-- richfaces filter -->
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>

<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>

<!-- Ajax4JSF filter as given in the 1.1.1 README file -->

<filter>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>

<filter-mapping>
<filter-name>ajax4jsf</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>

<filter>
<filter-name>ExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter>
<filter-name>loginFilter</filter-name>
<filter-class>tyn.cm.filter.LoginFilter</filter-class>
<init-param>
<param-name>loginPage</param-name>
<param-value>/login.jsp</param-value>
</init-param>
</filter>

<servlet-mapping>
<servlet-name>FileUploader</servlet-name>
<url-pattern>/Upload</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>dwr-invoker</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping>

<filter-mapping>
<filter-name>ExtensionsFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<!-- tree -->
<filter-mapping>
<filter-name>ExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>ExtensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>loginFilter</filter-name>
<url-pattern>*.jsf</url-pattern> <!-- 181 209 -->
</filter-mapping>

<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet>
<servlet-name>validate_email</servlet-name>
<servlet-class>tyn.cm.servlet.ValidateEmail</servlet-class>
</servlet>

<servlet>
<servlet-name>performSurvey</servlet-name>
<servlet-class>tyn.cm.servlet.PerformSurvey</servlet-class>
</servlet>

<servlet>
<servlet-name>couponSubscription</servlet-name>
<servlet-class>tyn.cm.servlet.CouponSubscription</servlet-class>
</servlet>

<servlet>
<servlet-name>doDirectPayment</servlet-name>
<servlet-class>tyn.cm.servlet.DoDirectPayment</servlet-class>
</servlet>

<servlet>
<servlet-name>MobileCouponRedirector</servlet-name>
<servlet-class>tyn.cm.servlet.MobileCouponRedirector</servlet-class>
</servlet>

<servlet>
<servlet-name>twoWayCouponGateway</servlet-name>
<servlet-class>tyn.cm.servlet.TwoWayCouponGateway</servlet-class>
</servlet>

<servlet>
<servlet-name>init</servlet-name>
<servlet-class>net.sourceforge.wurfl.wurflapi.WurflServletInit</servlet-class>
<!-- In case you want to provide your own custom servlet to Initialize
the WURFL, modify and rebuild the Init.java servlet in WEB-INF/classes.
Also replace the line above with the one here.
<servlet-class>Init</servlet-class>
-->
<load-on-startup>1</load-on-startup>
</servlet>

<servlet>
<servlet-name>signup</servlet-name>
<servlet-class>tyn.cm.servlet.Signup</servlet-class>
</servlet>

<servlet>
<servlet-name>fetchProfitability</servlet-name>
<servlet-class>tyn.cm.servlet.FetchProfitability</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>doDirectPayment</servlet-name>
<url-pattern>/doDirectPayment</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>validate_email</servlet-name>
<url-pattern>/validate_email</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>performSurvey</servlet-name>
<url-pattern>/survey</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>couponSubscription</servlet-name>
<url-pattern>/couponSubscription</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>MobileCouponRedirector</servlet-name>
<url-pattern>/c</url-pattern> <!-- should be very short name i.e. 'c' stands for 'coupon' -->
</servlet-mapping>

<servlet-mapping>
<servlet-name>twoWayCouponGateway</servlet-name>
<url-pattern>/twoWayCouponGateway</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>signup</servlet-name>
<url-pattern>/signup</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>fetchProfitability</servlet-name>
<url-pattern>/fetchProfitability</url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>180</session-timeout>
</session-config>

<!-- b --><!--


<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>



--><!-- <filter-mapping>-->
<!-- <filter-name>loginFilter</filter-name>-->
<!-- <url-pattern>*.html</url-pattern>-->
<!-- </filter-mapping>-->

<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<!--
<error-page>
<error-code>500</error-code>
<location>/500.jsf</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/404.jsf</location>
</error-page>

-->
<!--
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
-->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>

<!--
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Context</web-resource-name>
<url-pattern>/home.jsf</url-pattern>
<url-pattern>/login.jsf</url-pattern>
<url-pattern>/login2.jsf</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
-->

</web-app>



please tell me what should i do



shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
feel free to ask any kind of question
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1659
    
  11

Christophe asked a question and you have not answered it. Perhaps having a conversation instead of simply posting the same stack trace over and over might be helpful....
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

And please UseCodeTags when posting code...
shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
SIR am in trouble since yesterday
and not getting solution my problem vary a little bit
please think and find any solution

shahid hussain
Greenhorn

Joined: Jan 14, 2010
Posts: 14
At the end I changed my IDE myeclipse 5.5 to Ecliplse for Spring 8.6
now its working

Thanks GOD
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9912
    
158

shahid hussain,
Your post was moved to a new topic.


[My Blog] [JavaRanch Journal]
 
 
subject: Having issues with Tomcat 6.x
 
Similar Threads
Cannot find org.apache.commons.javaflow
Logging issues with commons-logging-1.1.jar
Problems with Jasper Reports
Resource not found
Generating JasperReport in PDF