Title: RE: Location of servlets in JRUN - please Help...

  Thank you so much for your help!!!!

  You taught me what I really want to know.

  I am sure I have to battle with JDBC matters after this while
  I am not expecting any problem from RSA's
  encryption/decryption routine.

  In future, if you ever need help on RSA's public/private
  key or Certificate process on RSA's Cert-J or Keon, I will be more than
  happy to assist you.

  Thank you again.

  Regards,
  Hitae Lee.


-----Original Message-----
From: Scott Stirling [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 05, 2000 10:01 PM
To: [EMAIL PROTECTED]
Subject: RE: Location of servlets in JRUN - please Help...


Is that WEB-INF or WEB-INFO?  Should be the former.

Look at your form tag, for starters:

<form method="POST" action="/Servlet/KeyDistribute.class"

The URL mapping should be /servlet, not /Servlet, and there shouldn't be a
".class" on the end of the servlet name.

The log exception is probably totally unrelated, but it's something you should
look into.

Scott Stirling

> -----Original Message-----
> From: Lee, Hitae [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 05, 2000 11:07 AM
> To: '[EMAIL PROTECTED]'
> Subject: Location of servlets in JRUN - please Help...
>
>
>
> 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>&nbsp;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>&nbsp;</p>
>   <p><input type="submit" value="Get the Key" name="btnGetKey"></p>
> </form>
> <p>&nbsp;</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.

------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to