• Post Reply Bookmark Topic Watch Topic
  • New Topic

deploying servlet in jrun webserver

Rajesh Chandra
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Jrun4 and im using jruns web server .I have my servlet "RajWorld",in C:\JRun4\servers\default\default-ear\default-war\WEB-INF\classes\moreservlet\RajWorld.After starting the default server when i try to access my servlet which is in the package moreservlets by http:\\localhost:8100\moreservlet.Rajworld,I get error message http 500 internal server error.my web.xml which is in
C:\JRun4\servers\default\default-ear\default-war\WEB-INF is

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">


<display-name>JRun Default Web Application</display-name>
<description>The default web application for JRun</description>



<description />



the jrun-web which is also in C:\JRun4\servers\default\default-ear\default-war\WEB-INF is-

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE jrun-web-app PUBLIC "-//Macromedia, Inc.//DTD jrun-web 1.0//EN"

<!-- ============================================================= -->
<!-- This XML file contains web application elements that are -->
<!-- specific to the JRun Application Server -->
<!-- ============================================================= -->


<!-- =========================================================== -->
<!-- Virtual path mappings allow a resource path to be mapped -->
<!-- to a different physical location (i.e. not necessarily -->
<!-- within the web application root). A resource-path can -->
<!-- end with a wild card '*' indicating that all resources -->
<!-- paths that start with the given path will be resolved using -->
<!-- the system path. -->
<!-- =========================================================== -->


<!-- Set these to false for production, they are false by default -->


Im trying to break my head for this for quite some time.do i have to set classpath? I use j2sdk1.4.1 which is in C:\
Can anyone point out where I went wrong? Thanks in advance for those who endeavour to alliviete others problems and help others >
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!