Hi,
I have JRUN to start my WEB page after all.
However, it seems not finding my Servlets which is located under
C:\JRUN\Servers\Default\Default-App\Web-Info\Classes\KeyDistribute
And it is registered under default application.
I have message saying
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
- If you typed the page address in the Address bar, make sure that it is spelled correctly.
- Open the <file://>home page, and then look for links to the information you want.
- Click the <javascript:history.back(1)>
<<...>>
- Back <javascript:history.back(1)> button to try another link.
- Click Error! Hyperlink reference not valid. <>
<<...>>
- Error! Hyperlink reference not valid. <> to look for information on the Internet.
HTTP 404 - File not found
Internet Explorer
My HTML for this page is
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Distribute Certificate Test</title>
</head>
<body>
<p>Distribute Certificate Test</p>
<form method="POST" action="/Servlet/KeyDistribute.class" onSubmit="">
<!--webbot bot="SaveResults" startspan
U-File="D:\Project\Web\_private\form_results.txt" S-Format="TEXT/CSV"
S-Label-Fields="TRUE" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan -->
<p> password: <input type="text" name="Password" size="20" value="redcoral"></p>
<p>Key Length: <select size="1" name="KeyLength">
<option>512</option>
<option value="768">768</option>
<option>1024</option>
</select></p>
<p> </p>
<p><input type="submit" value="Get the Key" name="btnGetKey"></p>
</form>
<p> </p>
</body>
</html>
And Local Property for JRUN is
#
# jrun.webapp-mapping.www.foo.com/store=bar-app
# - maps bar-app to the URL /store only for host www.foo.com
#
# jrun.webapp-mapping./store=bar-app
# - maps bar-app to /store for all hosts
default-app.use-webserver-root=true
default-app.rootdir=C:\\JRUN\\servers\\default\\default-app
default-app.class={webapp.service-class}
webapp.mapping./=Certandexodus
demo-app.rootdir=C:\\JRUN\\servers\\default\\demo-app
demo-app.class={webapp.service-class}
webapp.mapping./demo=demo-app
########################################################################
### EJB properties
########################################################################
# shared library path for JNI libraries
ejb.jnipath={default}
# Classpath
ejb.classpath={default}
# extra virtual machine args
ejb.javaargs=-Dejipt.classServer.host=127.0.0.1 -Dejipt.classServer.port=2323 -Dejipt.homePort=2333 "-Djava.security.policy={jrun.rootdir}/lib/jrun.policy" "-Dejipt.home={jrun.rootdir}" "-Dejipt.ejbDirectory={jrun.server.rootdir}"
# list of services to start
ejb.services=ejb,jms
ranConnector=yes
Certandexodus.rootdir=C:\\JRUN\\servers\\default\\Certandexodus
Certandexodus.class={webapp.service-class}
Also Event Log of JRUn says as,
09/04 20:18:27 info (JRun) Loading demo-app
09/04 20:18:27 error (JRun) JRun Aborting! [javax.servlet.ServletException: No web.xml found; starting empty application]
javax.servlet.ServletException: No web.xml found; starting empty application
javax.servlet.ServletException: No web.xml found; starting empty application
at allaire.jrun.servlet.JRunSE.loadConfig(JRunSE.java, Compiled Code)
at allaire.jrun.servlet.JRunSE.init(JRunSE.java, Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java, Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader.java:236)
at allaire.jrun.servlet.JRunSE.initServices(JRunSE.java, Compiled Code)
at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96)
at allaire.jrun.servlet.JRunSE.init(JRunSE.java, Compiled Code)
at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35)
at allaire.jrun.ServletService.init(ServletService.java, Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at JRun.main(JRun.java, Compiled Code)
Can someone please direct me where I should copy my servlets to?
Thank you in advance for help provided.
Regards,
Hitae Lee.
