----- Original Message -----
From: Srinivasan S (Systems Engineering Group) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 09, 1999 8:14 PM
Subject: Problem with jrun


> Hi

Hello Srini :)

>         I have a servlet running perfectly when i invoke the servletrunner
> utility nothing is going wrong, but when i use the Jrun utility to run the
> servlet it is saying the following error:
>
>                 ****************
>         Sql Error:
> [Microsoft][ODBC Driver Manager] Data source name not found and no default
> driver specified
>                 *****************
You need to use a System DSN as opposed to a User DSN otherwise your servlet
can't see it.

>         Anmother problem is that for each and everytime i was forced to
> start the admin tool of jrun and then to invoke my servlets and was
> keeping my servlets under the testing directory meaning under
> c:\jrun\jsm-default\services\jse\servlets. If i didnt start the admin
> services then i got the following error:
>
>                 ***************
>         Could not connect to JRun Connector Proxy
>
>         Please contact the system administrator for this web site.
>                 *************

You should keep your servlets under c:\jrun\jsm-default\servlets rather than
in the
services\jse\servlets dir.

Make sure that you alias the servlet as well so that you don't need to
specify full package names
in the URL referring to it. It is also a good idea to make sure your Servlet
is preloaded too, at
least if the servlet is requested frequently anyway.

Make sure that you have the correct services started, you need at least JSE
and JCP (JRun Servlet
Engine and JRun Connector Proxy) rather than JSEWEB and JWS (which are the
servlet engine and web server
that JRun supply you as part of the JRun package).

Lastly make sure that your Web server is connected to JSE via the connector
proxy correctly. For IIS
you need have installed the connector via the JRun setup app, you should see
in C:\Inetpub\scripts

at least 2 files

jrun.dll and jrun.ini.

Then you will need to set up .jrun and .jsp (at least) as valid file types
that must be pointed at the jrun.dll as scripts.

How you do that is in your JRun Setup Guide.

>         Please help me to solve this error and forgive me for this
> offtopic question.
>
> Thanks
> Srini
>
Hope that helps

Andy Bailey

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to