Eitan,

we are also using JOnAS 2.3 with SQL Anywhere 7.0.2 on the same machine, and have 
connected JOnAS to SQLA via jConnect 5.2 driver by this settings:

datasource.url          jdbc:sybase:Tds:localhost:2638/databasename
datasource.classname    com.sybase.jdbc2.jdbc.SybDriver

This works fine and is performant. I do not quite understand what you mean with 
"security and performance reasons"? As this is what JDBC spceification want
driver vendors to do, this is the standard way to use, and I cannot see a security 
problem with this. Can you explain you doubts?


> Hi,
> I am writing a web product that run JOnAS and Sybase SQL Anywhere 7 on
> the same machine. All the database access is done through Jonas. From
> security and performing reasons I want that the Jonas will access the
> database directly and not through a URL.
> I saw an example on Jonas web site
> (http://www.objectweb.org/jonas/jonas_root/doc/Program.html#Configurin1) who
> it can be configure when working with Oracle DBMS, there is a possibilities
> to do the same with Sybase?
>
> from objectweb.org:
> "This example makes use of the Oracle "Thin" JDBC driver. If your EJB server
> is running on the same host as the Oracle DBMS, you may use the Oracle OCI
> JDBC driver; in this case the URL to be used is jdbc:oracle:oci7: or
> jdbc:oracle:oci8:, depending of your Oracle release. Oracle JDBC drivers may
> be downloaded at their Web site."
>
> thanks in advance,
>
> Eitan Fux
> Cisco Systems
>
> ----
> This list is cross-posted to two mail lists.  To unsubscribe,
> follow the instructions below for the list you subscribed to.
> For objectweb.org: send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jdbc-group".
> For enhydra.org: send email to [EMAIL PROTECTED] and include
> in the body of the message "unsubscribe jdbc-group".
>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]

Reply via email to