Any chance that when run as a service it's running with a different
permission (or account) compared to that used when run as an application?

/charlie

-----Original Message-----
From: tdavis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 9:08 PM
To: JRun-Talk
Subject: Re: JRun's included JDBC drivers


Some more information, for those interested.

If you use JRun in application mode, you can directly access the JRun
provided JDBC drivers, as long as your servlets and JSP's are accessed
through JRun's engine.

However, if you use JRun in service mode, any attempt to directly register
and use those provided JDBC drivers in your servlets or JSP's will invoke a
"driver locked for use with embedded applications" error.

Error makes sense now.  But why do I have to use JRun only in application
mode to use your drivers (other than through datasource name in JDBC
settings)?  My servlets/JSP's are being run through the JRun engine, so I'm
not using them elsewhere.

If anyone at Allaire is listening, I'm hoping this is a bug and not an
accidental feature.

Toby

>-----Original Message-----
>From: tdavis [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, June 09, 2001 1:17 PM
>To: JRun-Talk
>Subject: JRun's included JDBC drivers
>
>
>Can you use JRun 3.1's included JDBC drivers directly in servlets/JSP's,
>without registering through the JDBC Settings?
>
>I have servlets (and my own connection pooling) that I am going to run
>through JRun that register the drivers themselves.  I get inconsistent
>results, where sometimes they work, sometimes they don't (with "cannot use
>with embedded applications" errors)... without even changing my code.
>
>Even the most simple ones...
>Class.forName("allaire.jrun.jdbc.JRunDriver");
>etc
>etc
>
>I guess I'm very unclear what the SPECIFIC limitations are with the
provided
>drivers.  My understanding was that I could use the JDBC drivers as long as
>I ran my servlets/JSP's through JRun. I have no need right now to use JDBC
>Settings' pooling and what not.
>
>Can I treat the included drivers much like separate drivers, as long as
>they're registered in servlets/JSP's running through JRun?
>
>(Purchasing a separate JDBC driver is not an option right now)
>
>Toby
>
>
>
>
>
>
>
>
>
>
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to