Attempted to use a 5.0 DataSource outside of a 2.3 servlet

I am using WAS 5.0 with Oracle 9.2 . I cannot get a servlet to work with the datasource 5.0 . Any ideas??
The message I get is :
[2/26/04 11:17:28:984 GMT-06:00] 20bfba44 Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
Context method: lookup
Context name: localhost/nodes/localhost/servers/server1
Target name: jdbc/WMBDatasource
Other data:
Exception stack trace: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 servlet
     at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1179)
My Servlet code is :
public class SimpleServlet extends HttpServlet {
     public void doGet(HttpServletRequest req, HttpServletResponse resp)
                                             throws ServletException, IOException
     javax.sql.DataSource ds = null;
     java.sql.Connection con = null;
     java.io.PrintWriter out = resp.getWriter();
     resp.setContentType("text/html");
     try
     out.println("Looking up DataSource<br>");
     javax.naming.InitialContext ctx = new javax.naming.InitialContext();
     ds = (javax.sql.DataSource) ctx.lookup("jdbc/WMBDatasource");
     out.println("Getting connection<br>");
     con = ds.getConnection();
     con.close();
     catch (Exception e)
     e.printStackTrace(out);
     out.println("Done<br>");

hi vijay ,
i am using wasd5.1 ,and i am trying to access database thru datasource and i had created one javawebapplication and one server(test enviroument with data source ), and i had created this class inside web application, and i am running this class as a java application , but i am getting output like
Before Context
After Context
In Exception
com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is java.lang.Exception: Failed security check.  Client is not permitted to create connection factory jdbc/db]
please help me to get out of this problem
/*please see code first*/
import java.sql.SQLException;
import java.util.Properties;
import java.sql.Connection;
import javax.naming.*;
import javax.sql.DataSource;
import java.sql.DriverManager;
import java.util.*;
public class checkclass
     //private static String OWD2_DATASOURCE ="jdbc/db";
     private static String INITIAL_CONTEXT_FACTORY "com.ibm.websphere.naming.WsnInitialContextFactory";
     public static void main (String args[])
          try{
          Hashtable jndiProperties = new Hashtable();
     jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY,INITIAL_CONTEXT_FACTORY);
     jndiProperties.put(Context.PROVIDER_URL,"iiop://localhost:2809");
     jndiProperties.put(Context.REFERRAL, "throw");
     System.out.println("Before Context");
     javax.naming.Context ctx = new     javax.naming.InitialContext(jndiProperties);
                         System.out.println("After Context");
     DataSource ds = (javax.sql.DataSource)ctx.lookup("jdbc/db");
                         ctx.close();
     System.out.println("After DataSource");
     Connection con = ds.getConnection();
     System.out.println("After Getting Connection");
     con.close();
     System.out.println("After Closing Connection");
     catch(Exception e)
     System.out.println("In Exception");
     System.out.println(e);
}

Similar Messages

  • Java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 ser

    Receiving error message: java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 Servlet
    The application worked fine with 2.2 servlet version and data source 4.0
    But i need to add some filter in web.xml so
    I changed the servlet version in my web.xml from
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> to
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    and created a data source version 5 in websphere server 6.0.0.1
    After that it is throwing the above mentioned error. pls help me on this.
    Thanks

    Is there anything i need to change in my application.xml
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

  • Attempting to use SSL over RMI from a web application to a RMI server

    Hi,
    I am attempting to use SSL over RMI to a server. The client is the web
    application that is hosted on WebLogic and that attempts to connect to the
    server. There is no client or server verification at either the client or
    the server end. The code works outside of WebLogic 7/8 but has the following
    issues when running the web application inside weblogic:
    java.rmi.ConnectException: Connection refused to host: gkhanna1; nested
    exception is:
    java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
    at java.net.Socket.<init>(Socket.java:268)
    at java.net.Socket.<init>(Socket.java:95)
    at
    sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
    actory.java:20)
    at
    sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
    actory.java:115)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:79)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.initConnection(NTLMConne
    ctionClient.java:59)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(NTLMConnectionC
    lient.java:197)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at jsp_servlet._jsp._app1.__app1signin._jspService(__app1signin.java:133)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :445)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    The code at the client that initiates the connection:
    socketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) socketFactory.createSocket(host, port);
    socket.setEnabledCipherSuites(CIPHERS);
    socket.setEnableSessionCreation(true);
    Any ideas?
    Thanks

    I don't see anything that indicates SSL was directly a factor in the
    failure.
    From the exception stack it looks like a more basic connectivity issue,
    maybe the URL for the
    RMI server is incorrect for some reason or the server was down.
    It looks like you are doing something like this:
    SSL client -> WLS server with servletA, servletA RMI client
    (com.hyperion.css) -> RMI server
    The connection failure appears to be the connection from servletA RMI client
    to the RMI server.
    Is that a correct picture?
    Tony
    "Gaurav Khanna" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am attempting to use SSL over RMI to a server. The client is the web
    application that is hosted on WebLogic and that attempts to connect to the
    server. There is no client or server verification at either the client or
    the server end. The code works outside of WebLogic 7/8 but has thefollowing
    issues when running the web application inside weblogic:
    java.rmi.ConnectException: Connection refused to host: gkhanna1; nested
    exception is:
    java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
    at java.net.Socket.<init>(Socket.java:268)
    at java.net.Socket.<init>(Socket.java:95)
    at
    sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
    actory.java:20)
    at
    sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
    actory.java:115)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:79)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.initConnection(NTLMConne
    ctionClient.java:59)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(NTLMConnectionC
    lient.java:197)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at jsp_servlet._jsp._app1.__app1signin._jspService(__app1signin.java:133)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :445)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    The code at the client that initiates the connection:
    socketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) socketFactory.createSocket(host, port);
    socket.setEnabledCipherSuites(CIPHERS);
    socket.setEnableSessionCreation(true);
    Any ideas?
    Thanks

  • Attempting to use Clearwire for iChat A/V

    Clearwire is a new wireless ISP. We are attempting to use the service to hold audio and video chats. All of our iSights work fine inside and outside or WAN, I even telecommute using iSight from home. We are testing the Clearwire service for portable data connectivity in out remote television production truck. Clearwire allows us to use the test chat, but not audio or video. What ports need to be opened on the Clearwire system for video and audio to work?
    Thank you,
    Shawn Bockoven
    METV EBS Station Manager

    Hi Shawn,
    iChat uses these ports an these Protocols.
    TCP
    5190 for AIM Login
    5298 for Bonjour
    5220, 5222, 5223 for Jabber stuff
    UDP
    5060, 5190, 5678, 16384-16403 for AIM (Mac to Mac Jabber A/V chats will also use some of these).
    5297, 5298, 5353 for Bonjour.
    See table here. Scroll down just below the planes.
    Your main problem is that ClearWire is reported to block port 5060 and prevents iChat being used. They seem reluctant to anything about this.
    It may be because they offer a VoIP phone service. Unblocking this port would allow Users to purchase other equipment/services.
    10:11 PM Wednesday; March 22, 2006

  • Using Vertica as a datasource in Aldsp

    Hi,
    We are trying to develop a Demo Portal using Weblogic Server, ALDSP as Xquery Engine and Vertica as the database.
    We are able to successfully create a connection pool on the Weblogic server using vertica as the datasource.However while trying to create a PhysicalDS file in ALDSP,no option is populated while selecting Database Type and after a few attempts we get the message that Maximum Capacity of Connection Pool is exceeded.Please help us solve this issue.
    regards,
    Nithya

    I'd like to see your JDBC code for getting, using, and closing the connection you get from the
    DataSource. Offhand, it sounds like a simple coding error where you neglect to close your
    pool connection in some/all cases, which will leak the pool till it's empty.

  • Attempt to assign data set as datasource for existing report

    There must be something stupid I am missing.
    1) Created a report with Crystal Reports 2011
    2) It queries a table in a SQL 2008 database
    3) The internal select statement is
    SELECT "CUSTOMER"."rname", "CUSTOMER"."radd", "CUSTOMER"."radd2", "CUSTOMER"."rcity", "CUSTOMER"."rprov", "CUSTOMER"."rpostal", "CUSTOMER"."rcountry"
    FROM   "Data"."dbo"."CUSTOMER" "CUSTOMER"
    ORDER BY "CUSTOMER"."rname"
    4) Now I am attempting to use the report in Visual Basic 2010 but using a data set as the source
    5) Following examples I have looked at this is the code
    Private Sub CustomerCrystalReport2frm_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
            ' Define connection information
            Dim ConnectionInfo As New ConnectionInfo
            ConnectionInfo.ServerName = "TEST7\TEST7"
            ConnectionInfo.DatabaseName = "Data"
            ConnectionInfo.UserID = "Master"
            ConnectionInfo.Password = "MasterPassword"
            ' Load the existing report
            Dim rd As ReportDocument = New ReportDocument
            rd.Load(Application.StartupPath & "\Crystal Reports\DGVCustomerListing.rpt")
            SetDBLogonForReport(ConnectionInfo, rd) ' Set the report table connections
            ' This shows the report has loaded the records using the internal select statement (18305 records)
            Debug.Print(" Report Document Records=" & rd.Rows.Count)
            ' Create the data set with the records I want the report to use
            Dim ReportInfo As DataSet = New DataSet()    ' To hold data to pass to the report
            Dim SQLSelect As String = "select * FROM Data.dbo.Customer where rname LIKE 'z%' order by rname"
            ReportInfo = FillDataSet(SQLSelect, "ReportData")   ' Fill the data set to pass to the report
            ' This shows the data set contains the expected records (57 records)
            Debug.Print(" Data Set Records=" & ReportInfo.Tables("ReportData").Rows.Count)
            ' Change the source of the report
            rd.SetDataSource(ReportInfo)
            ' This changing the source had no effect records still (18305 records)
            Debug.Print(" Report Document Records=" & rd.Rows.Count)
            CrystalReportViewer1.ReportSource = rd  ' Bind report document to crystal report viewer
        End Sub
        Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal ReportDocument As ReportDocument)
            Dim Tables As Tables = ReportDocument.Database.Tables
            For Each table As CrystalDecisions.CrystalReports.Engine.Table In Tables
                Dim TableLogOnInfo As TableLogOnInfo = table.LogOnInfo
                TableLogOnInfo.ConnectionInfo = ConnectionInfo
                table.ApplyLogOnInfo(TableLogOnInfo)
            Next
        End Sub
    end Sub
    6) The report is appearing in the viewer with 18305 records
    Any help would be appreciated

    Setting the report table connections caused the report to fill with data.
    At this point I seemed unable to reset the datasource.
    Also the set data source needed further clearification.
    The simplified following code works:
    Dim rd As ReportDocument = New ReportDocument
    rd.Load(Application.StartupPath & "\Crystal Reports\DGVCustomerListing.rpt")
    ' Create the data set with the records I want the report to use
    Dim ReportInfo As DataSet = New DataSet()    ' To hold data to pass to the report
    Dim SQLSelect As String = "select * FROM Data.dbo.Customer where rname LIKE 'z%' order by rname"
    ReportInfo = FillDataSet(SQLSelect, "ReportData")   ' Fill the data set to pass to the report
    ' Change the source of the report
    rd.SetDataSource(ReportInfo.Tables("ReportData"))
    CrystalReportViewer1.ReportSource = rd  ' Bind report document to crystal report viewer

  • Attempt to use a closed handle : 'oracle_jdbc_driver_LogicalConnection_Prox

    Hello,
    i have made a simple jsf application which use a JNDI connection to DB..
    InitialContext _initialContext = new InitialContext();
    DataSource dataSource =
    (DataSource)_initialContext.lookup("jdbc/RAZDS");
    Connection con = dataSource.getConnection();
    sometimes i get execption like: Attempt to use a closed handle : 'oracle_jdbc_driver_LogicalConnection_Prox
    is this a bug or i'am doing something wrong?

    Duplicate post:
    Re: Attempt to use a closed handle: 'oracle_jdbc_driver_LogicalConnection_Proxy
    Bala,
    I answered you in the other forum.
    Good Luck,
    Avi.

  • The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or

    I have taken the cfdump for tmpqry and it shows all data for
    the range ( No error at this step ) . But when we exceute this
    dbquery we get below mentioned error .
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    senerio:
    I am using createobject to create a reference for component
    and call MDArraySort function in the cfc and getting this error .
    'The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null pointer is undefined.... '
    i am using this code in a cfc file.
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    var tmpqry = Querynew(arguments.colNames);
    var qRow = QueryAddRow(tmpqry, Arraylen(arguments.colArray)
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    sIndexinSensorIDs = colArray[qRowIndex]["SENSOR"]&"##";
    Temp_readin_code =
    colArray[qRowIndex]["READING_CODE"]&"##";
    QuerySetCell(tmpqry, 'SENSOR', sIndexinSensorIDs,
    qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',javacast('String',colArray[qRowIndex]["TYPE"]), qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(colArray[qRowIndex]["TIMESTAMP2"]), qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',javacast('String',colArray[qRowIndex]["ORDER_BY_PARAM"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',Temp_readin_code ,
    qRowIndex);
    QuerySetCell(tmpqry,
    'READING',javacast('String',colArray[qRowIndex]["READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',javacast('String',colArray[qRowIndex]["PK_READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',javacast('String',colArray[qRowIndex]["ALARM_STATUS"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    javacast('String',colArray[qRowIndex]["DURATION"]), qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',javacast('String',colArray[qRowIndex]["DESCRIPTION"]),
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    It is working fine for some date range and and getting above
    mentioned error in sone situation .

    Hi All ,
    Thank you for your support ,
    Finally i have fix the issue using some changes in my
    function in cfc .
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    //Declare variable collection used in function as local
    --->
    var tmpqry =
    Querynew(arguments.colNames,"CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_DATE,CF_SQL_VARCHAR,CF_ SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR");
    var qRow = QueryAddRow(tmpqry,
    Arraylen(arguments.colArray));
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    // Populate the query table
    QuerySetCell(tmpqry, 'SENSOR',
    colArray[qRowIndex]["SENSOR"], qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',arguments.colArray[qRowIndex]["TYPE"], qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(arguments.colArray[qRowIndex]["TIMESTAMP2"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',arguments.colArray[qRowIndex]["ORDER_BY_PARAM"],
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',
    colArray[qRowIndex]["READING_CODE"] , qRowIndex);
    QuerySetCell(tmpqry,
    'READING',arguments.colArray[qRowIndex]["READING"], qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',arguments.colArray[qRowIndex]["PK_READING"],
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',arguments.colArray[qRowIndex]["ALARM_STATUS"],
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    arguments.colArray[qRowIndex]["DURATION"], qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',arguments.colArray[qRowIndex]["DESCRIPTION"],
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    Rajesh
    SCMS
    India

  • I have just downloaded a trial version of Photoshop Elements onto my Mac Book Pro (10.9.4) and attempted to use Elements on an existing Photoshop file.  I did not see the Elements option in my filter menu and need assistance

    I have just downloaded a trial version of Photoshop Elements onto my Mac Book Pro (10.9.4).  The installation to my hard drive went fine so I attempted to use Elements on an existing Photoshop file.  I did not see the Elements option in my filter menu and am uncertain as to how to "add" the Elemnts to my existing filter choices.  Please advise.

    I'm sorry but it's very hard to understand what you mean. What filter menu? In which program? Do you mean you're trying to use PSE as an external editor with some other asset management program? Which one?

  • I attempted to use netflix on my MacPro safari 10.5.8, I get a blank black screen when I attempt to watch a video, Has anyone encountered and solved this dilemma?

    I attempted to use netflix on my MacPro safari 10.5.8, I get a blank black screen when I attempt to watch a video, Has anyone encountered and solved this dilemma?

    I also have downloaded netflix "Silverlight" I believe successfully...at least acoording to the popup at the end of the Silverlight download "You have successfully downloaded Silverlight"

  • Trying to back up iPad to external hard drive, "iTunes library file cannot be saved. The disk you are attempting to use is full."

    This issue is somewhat complex so I will try to explain it as clearly as I can. Any help will be greatly appreciated.
    It all began when I kept getting popups from my iPad saying that I had not backed up since May. I realized that was pretty dangerous so I decided to finally try syncing it to iTunes, though I had avoided doing so for so long because I knew that when I tried there was no room on the computer. I then remembered that I have an external hard drive with plenty of storage space, so I got that out and set it up with a folder to move iTunes and the backup into.
    On iTunes I went to the Advanced Preferences and changed iTunes Media Folder Location to the G: folder, with the keep organized box checked. I also copied the previous backups from the original C: drive to G: so that I could delete the ones on C:.
    I used Junction Link Magic to link my now empty MobileSync backup on C: to a new (JLM would not work unless it was empty) backup folder on external hard drive G:.
    I plugged in my iPad to iTunes to sync it, and while it was backing up I checked the new folder on G: to make sure that the backup was being put there. It was.
    However, about halfway through I got the message "iTunes library file cannot be saved. The disk you are attempting to use is full."
    My question is Why? If it is being made in a 1.5 terabyte hard drive now, and not the computer, why is there no disk space? My guess is that it must still somehow be saving to the computer. But how? And how can I get it to save solely on the G: drive where there is enough room?
    I am running Windows XP and the latest version of iTunes.
    An additional but not as crucial issue:
    Much of my music has been lost, with the being displayed next to the songs in the iTunes library, and only 50 (purchased) songs remain on my iPad. This was because those missing songs were stored on a different external hard drive ( I:). However, I copied many of the music folders on I: over to G: so that everything could be together. I am wondering if it is possible for me to get these songs back onto my iPad. But this is not my most important issue right now, because I believe that once I get the first issue solved I can simply plug in I: and G: at the same time while syncing the iPad, and get the songs back.
    Note: I have come to realize the iTunes program itself is still under Program Files in the C: drive. Does this have to do with anything?

    Short term, free up some disk space. Long term, move the library to a bigger drive.
    tt2

  • Attempting to use bluetooth for the first time, and it never sees any other devices

    I have an iPad 2 about a year old, running iOS 6.0.1.  This morning I tried to connect to another iPad, over bluetooth, and neither iPad is able to discover the other.  This is the first attempt to use bluetooth on either of these iPads.  The other iPad is also running iOS 6.0.1.  The iPads were less than 10 feet apart.
    On both devices, I went to settings:bluetooth, and turned blutooth "on".  This opened up a "Devices" box, which says "Searching...", with a spinning wheel icon. Below this box is says "Now discoverable".  Both devices remained in this state.
    I haven't used bluetooth before so I have no idea what I am doing wrong.
    Later in the day I fiddled with the bluetooth systems prefs panel on my desktop (a circa 2005 intel mac running OSX 10.6.8).

    (hadn't finished my earlier message but somehow it posted it before I was ready).
    From the OSX bluetooth panel, I turned bluetooth on, and made my computer discoverable.  I then hit "setup new device", and was taken to the Bluetooth setup assistant.  After a few seconds it showed me my ipad as one of the devices it had discovered.  Over on the ipad, though, it did not discover the desktop machine.
    After about a minute, I then selected the ipad from the list of devices on the desktop machine, and hit "continue".  At this point it said "attempting to pair with MyIpad", and "connection established".  At the same time, a panel popped up on my iPad, listing my desktop machines name, and asking for a PIN.  It is not clear to me whether it is asking for a PIN that I have supposedly set up on the desktop machine, or if it is asking me to establish a PIN.  So I quit.
    In any case, my goal in going through this attempt on the destop machine was solely to establish whether the bluetooth hardware is working on the ipad.  I believe that has to be true.
    So, can someone explain to me what steps I am *supposed* to go through to pair up two ipads over bluetooth?

  • HT1937 i unlocked my iphone 4 factory and i upgrade to 6.1 when i connect it to itunes it apears  The SIM card inserted in this iPhone does not appear to be supported This iPhone is not currently setup to work with carrier you're attempting to use. Please

    i unlocked my iphone 4 factory and i upgrade to 6.1 when i connect it to itunes it apears
    The SIM card inserted in this iPhone does not appear to be supported
    This iPhone is not currently setup to work with carrier you're attempting to use. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked.

    It sounds like you or someone else hacked the phone to unlock it. Updating it locked it to the original carrier.
    How did you unlock it? The ONLY legitimate way is to ask the carrier it is locked to to unlock it. Any other way requires hacking or jailbreaking the phone.

  • Creating/loading an iTunes library (.itl) on a network drive results in dummy error "The Disk you are attempting to use is full" [Win7]

    I  have an 2TB external HDD attatched to my Asus router.  I have iTunes installed on 3 computers in the house (Bedroom, home theater, bar). Each copy of  iTunes accesses the same music folder on the external hard drive.
    The problem is that iTunes creates a library file on each individual computer.  The library file gets out of sync all the time (as computer 1 doesn't know when files have been added via computer 2 and so on).
    Obviously the answer is to just put the Library.itl file on the same network drive.  Hoilding shift whille double clicking the iTunes icon allows you to create or load a library from the location of your choosing.
    All well and good so far.  However, when I attempt to save to my Network Attached storage Device (NAS) iTunes gives me the "The Disk you are attempting to use is full. Please delete..." error.  (There is over 1TB free on the drive.)
    Creating the library file on a local HDD, moving it to the network one, and demanding iTunes access it via option start results in the SAME ERROR!!!
    I'd really rather not rescan my entire library everytime I start iTunes.  Adding new purchases and songs via the "Automatically add to iTunes" folder, again, only adds the files to the database file saved on the computer where the files were dragged and dropped from.
    I've used windows to "Map" the network drive, as well as typed in the \\192.168 etc address of the network drive.  Always get the same error. 
    Any help or thoughts would be greatly apperciated.

    Also, tried this with itunes 10 (current build) iTunes 9.2.1, and itunes 8. Same issue.

  • Blue screen when attempting to use the dedicated video card

    I keep getting a blue screen when attempting to use the dedicated video card.
    I managed to install the AMD driver for it but without the other components like the Catalyst Control Center as it blue screened on startup when attempting to load the Catalyst Control Center.
    The OS loads fine. Any applications that don't use the dedicated video card runs fine. All other drivers install fine as well.
    Applications like games and Photoshop that switch to the dedicated video card on startup automatically crashes, the OS freezes then a blue screen appears.
    What could be causing the problem? This problem just recently appeared. Two weeks ago.

    boogs wrote:
    I tried installing the drivers for my laptop from HP's support site. Still the same result.
    This problem only appeared a few weeks ago. Before that, the same drivers from the HP site installed and functioned normally.
    Could this be a problem with the graphics card itself?
    Note sure but if we can know the system P/N others can look to see what drivers it has for the graphics to know what is there.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

Maybe you are looking for