Steer clear of the OCI driver. The performance boost is not that
large and it's not worth the headache of getting it to actually work
(assuming that's even possible).
Rod McChesney, Korobra
Scott Neufeld wrote:
>
> Using JRun and Oracle (UNIX), we're trying to connect via oci7/8 as opposed to
> Thin in order to get a performance boost. We've added the $LD_LIBRARY_PATH to
> the java.path property, the classes111.zip file to the java.classpath property,
> and are getting the following error:
> ORA-12705
> "invalid or unknown NLS parameter value specified"
> Cause: The NLS parameter value specified in an alter session statement
> is not valid or not implemented.
>
> The odd thing is (at least to me), a Java application running under the same
> owner as JRun (nobody) on the same machine can execute identical code, with an
> identical connection string, successfully -- when run from the command line.
>
> Any ideas?
>
> Ibrahim tangara wrote:
>
> > Hi !
> > For the interest of those getting the same problem,
> > the solution to my database connexion mentioned in my first message below is
> > that suggested by James. That is the ODBC setting must be SYSTEM DSN instead
> > of user dsn.
> >
> > Hoping this helps someone else.
> > Thanks again!
> >
> > Ibrahim
> >
> > *************************Original Message*****************************
> > >Hello everybody!
> > >I 'm trying to acess to a Ms Acess database from a Servet using JWS. I have
> > >set properly the odbc DSN but i still get an Exception saying that the
> > >DataSource is not found and that there is no Driver specified. (note:The
> > >connection to the same DB works properly from a java application)
> >
> > >Ibrahim
> >
> > ___________________________________________________________________________
> > 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
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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