• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem deploying JSP on JBOSS

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I tried to deploy the "Quote" JSP for JBoss A developer's notebook.
Received the following error:

When starting web application at http://localhost:8080/quote/quote, I get message:

HTTP Status 404 - /quote/quote

type Status report

message /quote/quote.

description The requested resource (/quote/quote) is not available.
Apache Tomcat/5.0.28

Console Window

at java.lang.Thread.run(Thread.java:534)
14:38:50,334 INFO [TomcatDeployer] undeploy, ctxPath=/, warUrl=file:/C:/jboss-4
.0.1sp1/server/default/tmp/deploy/tmp56952quote-exp.war/
14:38:50,735 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0
.1sp1/server/default/tmp/deploy/tmp56953quote-exp.war/

Server Log

2005-11-19 14:38:52,738 DEBUG [tomcat.localhost.ROOT.Context] Starting completed
2005-11-19 14:38:52,738 DEBUG [tomcat.localhost.ROOT.Context] Checking for jboss.web:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/
2005-11-19 14:38:52,758 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Initialized: {WebApplication: /C:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp56953quote-exp.war/, URL: file:/C:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp56953quote-exp.war/, classLoader: java.net.FactoryURLClassLoader@805298:8409752} jboss.web:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/
2005-11-19 14:38:52,758 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:id=-462022578,war=quote.war
2005-11-19 14:38:52,758 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:id=-462022578,war=quote.war dependent components: []
2005-11-19 14:38:52,818 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: quote.war
2005-11-19 14:38:52,818 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.1sp1/server/default/deploy/quote.war

War is quote.war
web.xml is below
<?xml version="1.0" ?>
<web-app 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"
version="2.4">

<servlet-name>QuoteServlet</servlet-name>
<jsp-file>/quote.jsp</jsp-file>

<servlet-mapping>
<servlet-name>QuoteServlet</servlet-name>
<url-pattern>/quote</url-pattern>
</servlet-mapping>
</web-app>

Any clues would be greatly appreciated. It is interesting that the ctxpath =/.
Is this the trouble.

Thank you,

Ken
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the JBoss forum.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic