Hey all,

I don't like to specify a username or password for datasources when
creating them in the CF administrator..

Anytime I pass through code using a <cftransaction> with this setup,
even when a rollback is not executed, I get the following message in
my application.log:

"Warning","jrpp-417","09/30/04","13:10:46",,"[Macromedia][Oracle JDBC
Driver]A username was not specified and the driver was unable to
establish a connection using integrated security."

In one place, this warning is actually an exception when the
<cftransaction> is doing a rollback.

Some sample code is below.  Any ideas on how to get rid of these
messages without specifying a username and password when creating the
datasource?

Thanks,
Jon

<cftransaction>
  <cftry>
    <cfscript>
      
Local.AppManager.GetPropertyManager().GetProperty('Campaign.Manager').Create(Local.Bean.GetName(),
Local.UserEmail);
      AnnounceEvent("Mapping.Success", Arguments.Event.GetArgs());
   </cfscript>      
   <cfcatch>
     <cftransaction action="" />
       <cfscript>
         Local.Bean.SetMessage("Create failed: #CFCatch.Message#
#CFCatch.Detail#");
         AnnounceEvent("Mapping.Failure", Arguments.Event.GetArgs());
      </cfscript>
   </cfcatch>
  </cftry>
</cftransaction>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to