TOMCAT 5.0  - JNDI Connection Fails

Hey guys,!
Just wanted to test a JNDI datasource I created through the Tomcat administrator with a simple code in a Servlet, here's the snipped code:
               System.out.println("Starting initial context");
               Context initCtx = new InitialContext();
               Context envCtx = (Context) initCtx.lookup("java:comp/env");
               DataSource ds = (DataSource)
               envCtx.lookup("jdbc/OFI4");
               Connection conn = ds.getConnection();
               //... use this connection to access the database ...
               conn.close();
The thing is, I'm getting an error that I've google for the las couple of days and have not found any helpful answers about it, the error message is:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
     at test2.doGet(test2.java:68)
Caused by: java.sql.SQLException: No suitable driver
     at java.sql.DriverManager.getDriver(DriverManager.java:243)
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773)
thank u people, any hel will be greatly appreciated.!
Regards,
Esteban

Hey guys....!
I figured out the way to make the JNDI connection work and I can tell you, it DOES work. Apparently, there are some troubles when creating the JNDI datasource by using the Tomcat Administration tool.
Follow this steps to sort this issue out:
1. Delete any of the datasources u've created by using the Tomcat Administrator make sure that no tags regarding these datasources remains in the server.xml file
2. Include the Resource tag in your application web.xml, as follows:
     <resource-ref>
     <description>DB Connection</description>
<res-ref-name>jdbc/OFICDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
     </resource-ref>
3. Create a xml file named exact as your application (i.e app1, testApp...) and place it at CATALINAHOME/conf/Catalina/localhost. The document content must be as the following (please note that you must change values such as database name, username, password). This files is associated to an application called testCR3
<?xml version='1.0' encoding='utf-8'?>
<Context path="/testCR3" docBase="testCR3" debug="5" reloadable="true" crossContext="true" workDir="work\Catalina\localhost\testCR3">>
<Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_textCR3_log." suffix=".txt" timestamp="true"/>
<Resource name="jdbc/OFICDB" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/OFICDB">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:oracle:thin:@12.145.12.134:1521:OFICDB</value>
</parameter>
<parameter>
<name>username</name>
<value>user1value>
</parameter>
<parameter>
<name>password</name>
<value>pwd1</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>20</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>10</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>-1</value>
</parameter>
</ResourceParams>
</Context>
If u have any additional troubles, do not hesitate to let me know.
Best regards,
E10
Message was edited by:
E10

Similar Messages

  • A bug in creator when creating jdbc jndi connection

    Hi,
    I am using sun java studio creator for jdbc jndi connection. The syntax is
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/mydb");
    conn = ds.getConnection();
    It's failed. Once I change to ctx.lookup("jdbc/mydb") and the connection is created.
    Once deployed to tomcat, it seems only java:comp/env/jdbc/mydb is working.
    The full path(java:comp/env/jdbc/mydb) seems right from my google search.
    Why creator using jdbc/mydb? Is it a bug to creator?
    Thanks,
    Jie

    I mean a resource reference in web.xml file that looks like this:
         <resource-ref id="ResourceRef_1103225373500">
              <res-ref-name>DBConnection</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Application</res-auth>
              <res-sharing-scope>Shareable</res-sharing-scope>
         </resource-ref>
    where DBConnection is the resource alias I mentioned before:
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/DBConnection");
    Using WebSphere a binding between this above defined ResourceRef and JNDI mapping must be defined in a file called ibm-web-bnd.xmi. The content of this file will look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <webappbnd:WebAppBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:webappbnd="webappbnd.xmi" xmi:id="WebAppBinding_1" virtualHostName="default_host">
    <webapp href="WEB-INF/web.xml#WebApp"/>
    <resRefBindings xmi:id="ResourceRefBinding_1103225373500" jndiName="jdbc/mydb">
    <bindingResourceRef href="WEB-INF/web.xml#ResourceRef_1103225373500"/>
    </resRefBindings>
    </webappbnd:WebAppBinding>
    Obviously using WSAD all of that could be done using IDE. In your case and using Sun IDE, I am not sure. But this is basically the concept of needed mapping in order to reference your JNDI without getting an error. At least this is how we resolved the error you are encountering.
    Hope that helps!

  • JNDI connection error - page not rendered properly

    Dear All.
    Always when I go to my application url I have er: "JBO-26061: Error while opening JDBC connection"
    and a page is displayed only partially (not fully rendered).
    In my case i have 5 development enviroments where I'm deploying my application.
    On 3 envs app works prefectly but on 2 not. The only main difference (that i found) between thoese
    servers is a timezone. Env: 1,2,3 has GMT+1 last two GMT. I didn't set up those machines, but from
    far as I was told, configuration is the same. Weblogic version: 10.3.6.0
    Does anybody now how to fix it? Before I will change a time, I would like to get familiar if a time difference could be an issue.
    Regards.
    Robert.
    supposed error in log:
    [ServletContext@556457299[app:iPlatform_v module:app_v.01-ViewController-context-root path:/app_v.01-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.DMLException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-26061.
    at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:1034)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1174)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6826)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:304)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:335)...
    Edited by: user623575 on 20-Jun-2012 01:30

    update:
    always when I run my application in weblogic console (Summary of JDBC Data Sources->Monitoring) JDBC DataSource Runtime Statistics show
    state overloaded.
    Active Connections Average Count, Active Connections Current Count, Active Connections High Count = 15.
    I receive this information only on 2 enviroments from 5. Strange case because JNDI connection is configuret exactly the same.
    Any solutions guys?
    Regards.

  • Open HTTP connection failed

    Hi all.
    The environment is J2SDK4 + Tomcat4.0.4
    I tried to implement the WebClient.java in SUN/Marty Hall's book "Core Servlets and JavaServer Pages".
    Everything compiles okay. All the java and class files are in a package under the /examples folder in tomcat.
    When I invoke WebClient.html in "http://localhost:8080/examples/" I got this error:
    load: class com.omh.utilities.WebClient not found.
    java.lang.ClassNotFoundException: com.omh.utilities.WebClient
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    ...etc...
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
    ...etc...
    Other servlets okay.
    Can someone point me in the right direction please.
    TIA :-)

    Oops, forgot about the dukes.
    Here is a more detailed description of my problem:
    My environment is j2sdk4 and TC404. I am trying to implement SUN/Marty hall's WebClient for administering host, port and requests. The code uses java.net's SocketUtil. e.g.
    (NetworkClient.java)
    Socket client = new Socket(host, port);
    handleConnection(client);
    protected void handleConnection(Socket client){
    PrintWriter out = SocketUtil.getWriter(client);
    BufferedReader in = SocketUtil.getReader(client);
    etc
    I'm not sure whether this is TC4 or a java related problem, but all java code compiles to class file okay.
    My path is $CATALINA_HOME/webapps/examples/
    In the server.xml I've uncommented the example Context, like this:
    (server.xml)
    <Connector className="...Ajp13Connector" ...etc...>
    <Connector className="org.apache.catalina.connector,http.HttpConnector
    port="8080" minprocessors="3" maxProcessors="10"
    enableLookups="true" acceptCount="3" debug="0"/>
    <Engine jvmRoute="blurb" name="blurb" defaultHost="localHost" debug="2">
    <Logger...>
    <Realm...>
    <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
    <Valve...>
    <Logger...>
    <Context path=/examples" docBase="examples"
    debug="0" reloadable="true" crossContext="true">
    </Context>
    In my TC log, I've this error:
    "GET /examples/com/omh/utilities/WebClient.class HTTP/1.1" 404 675
    On the java console, I have these errors (they tend to be very long and tedious):
    load: class com.omh.utilities.WebClient not found.java.lang.ClassNotFoundException: com.omh.utilities.WebClient     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     ...etc...Caused by: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)
    ...etc...
    Other demo and example servlets and jsp that come with the standard install work find. Other stuff I put in examples work find as well.
    Is this a TC setup error on my part???
    TIA

  • How do we create a jndi connection in crystal reports XI

    how do we create a jndi connection in crystal reports XI when the data soiurce is configured on websphere 6.1

    You need to use WLST online. I am not sure what your exact requirements are but one good way of working this is to have a WLST script that deletes all your WL customisations, like connection pools, JMS Servers etc and then creates it. That way you can run the same script repeatedly and it will get everything up to date for you. However you have to remember that everytime you add something new you need to update your delete section. Also your deleting should not fail if the item does not exist. I hope that makes sense!
    As to the specifics of WLST examples to do this then check out the WLST examples in CodeShare.
    If you are still having issues then post another message.
    Geoff

  • Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500

    I get the following error when trying to connect to my BlazeDS Java server from Flex application. Flex application is on localhost:80, blazeDS on tomcat localhost:8080. Please help!
    createUser();faultHandler():(mx.messaging.messages::ErrorMessage)#0
      body = (Object)#1
      clientId = (null)
      correlationId = "9FFDEBE8-EAD0-F3D9-8E9B-E3D7D7F5AE79"
      destination = ""
      extendedData = (null)
      faultCode = "Client.Error.MessageSend"
      faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
      faultString = "Send failed"
      headers = (Object)#2
      messageId = "98F54E19-7B0D-DCB9-4B86-E3D7D84E484F"
      rootCause = (mx.messaging.events::ChannelFaultEvent)#3
        bubbles = false
        cancelable = false
        channel = (mx.messaging.channels::AMFChannel)#4
          authenticated = false
          channelSets = (Array)#5
          connected = false
          connectTimeout = -1
          enableSmallMessages = true
          endpoint = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          failoverURIs = (Array)#6
          id = (null)
          mpiEnabled = false
          netConnection = (flash.net::NetConnection)#7
            client = (mx.messaging.channels::AMFChannel)#4
            connected = false
            maxPeerConnections = 8
            objectEncoding = 3
            proxyType = "none"
            uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          piggybackingEnabled = false
          polling = false
          pollingEnabled = true
          pollingInterval = 3000
          protocol = "http"
          reconnecting = false
          recordMessageSizes = false
          recordMessageTimes = false
          requestTimeout = -1
          uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          url = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          useSmallMessages = false
        channelId = (null)
        connected = false
        currentTarget = (mx.messaging.channels::AMFChannel)#4
        eventPhase = 2
        faultCode = "Channel.Connect.Failed"
        faultDetail = "NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
        faultString = "error"
        reconnecting = false
        rejected = false
        rootCause = (Object)#8
          code = "NetConnection.Call.Failed"
          description = "HTTP: Status 500"
          details = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          level = "error"
        target = (mx.messaging.channels::AMFChannel)#4
        type = "channelFault"
      timestamp = 0
      timeToLive = 0

    halodev:
    I made a CF/Flex site based on the Flexstore sample app,
    using a database instead of XML as the data source; in case you
    want to see it:
    http://www.timos.com/dg/flex/DilemmaGames.html
    At first I had troubles similar to what you describe;
    initially, part of the problem was that my hosting company had not
    yet upgraded to CF 7.02. One other thing I had to correct: when you
    upload to your server, upload the entire ‘bin’ (or
    whatever your output folder is) minus the debug SWF.
    If it would help with other issues, contact me and I will be
    glad to make my project code available to you. Good luck.
    Carlos
    [email protected]

  • Getting Channel.Connect.Failed

    I'm building a Flex 3 app, with BlazeDS deploying to Tomcat
    6.0 I have built/Run the example BlazeDS code with out error. When
    I try to access my remote bean from my app I get
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Status 404: url: '
    http://localhost:8400/WebContent/messagebroker/amf'"
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\ messaging\ChannelSet.as:1399]
    at
    mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\m x\messaging\ChannelSet.as:935]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messagi ng\Channel.as:997]
    at
    mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rp c\src\mx\messaging\channels\PollingChannel.as:354]
    at
    mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\AMFChannel.as:369]

    Hi,
    Can you please try tracing the FaultEvent.fault.rootCause
    object and see if there is any error message. Usually exceptions
    thrown from the server is available in this rootCause object.
    Hope this helps.

  • JNDI connection in CMC

    I made a report in crystal report designer using JDBC/JNDI --> JNDI Connection. I was able to preview the report using the designer. However, when I tried to view the report in CMC, An error message was displayed: "Failed to open the connection. <report name>.rpt>
    any idea to fix this?
    thanks

    I made a report in crystal report designer using JDBC/JNDI --> JNDI Connection. I was able to preview the report using the designer. However, when I tried to view the report in CMC, An error message was displayed: "Failed to open the connection. <report name>.rpt>
    any idea to fix this?
    thanks

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

  • JDBC Adapter - Established database connection failed

    Hi Guys,
    we have installed the JDBC Adapter based on the How To Guide and we checked after the installation the  Libaries :Cluster --> Server --> Libraries --> com.sap.aii.af.jmsproviderlib and the box Box "JARs Contained" was filled.
    So in my point of view we have done everything right during the installation.
    Now the developer tested theJDBC Adapter and he comes back with following Error:
    Attempt to establish database connection failed with SQL error com.sap.aii.adapter.jdbc.sql.DriverManagementException: Cannot establish connection to URL "jdbc:microsoft:sqlserver://xxx.x.xx.xxx:1433; databaseName=CZZ03;":ClassNot FoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Do you have any ideas?
    Regards
    Markus

    Hello Markus,
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Thanks,
    Satya Kumar
    Reward Points If it is Useful..

  • Submit Button error - Data Connection failing

    I am the form designer and am currently testing a new form I have created, however there is an error with my submit button which Saves the form to SharePoint, I receive the following error message:
    InfoPath cannot submit the form.
    An error occurred while the form was being submitted.
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml" is checked out for editing by DOMAIN\MyUserName.
    The operation completed successfully.
    The form is not checked out to me, or open by anybody else, also check out functionality is not forced on this SharePoint library.
    On searching forums I have read about using friendly server names and I am using the server's name in the URL, i.e.
    http://servername instead of the alias
    http://intranet - this had solved the problem in other forms, but not this one.
    Looking closely at the rules on my submit button, the following actions occur:
    1st rule checks the selection of certain fields, if the conditions are right it will set the values of 3 different fields.
    The 2nd rule saves to SharePoint using a data connection (please note this data connection works fine on different submit buttons in different views). The second rule also closes the form.
    To test where the error occurs I added a series of actions to display messages, and the problem is definitely on the data connection rule.
    The data connection is to save to a Sharepoint library, using a field called "filename" as the file name. The data connection allows overwrites. The file name is set the first time a file is saved (it has a condition which checks a field which
    gets set upon any save event - if this field is set to 0 filename gets set and this field gets set to 1 - because this field is now equal to 1, the filename field will nwever get set again).
    I have 2 views on the form, one named phase 1, the other named phase 2. When the custom submit button is pressed on the phase 1 view, my data connection works, but on the save 2 view, the exact same data connection fails with the error message above.
    I am using Windows 7, InfoPath 2010, SharePoint 2010, InfoPath filler form).
    In Windows XP, for a different user, the error messaeg is a little different, and the form does actually save:
    InfoPath cannot submit the form
    An error occurred while the form was being submitted
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file is in use by another application or user.
    As I said the form does actually save its changes but still throws up this error message which will be very confusing to end users.
    I've exhausted all avenues that I know of to find the cause of the error messages and I'm at a loss, please help!
    Thanks,
    Ben

    bgvball14. I found that the error was down to the friendly name / server name issue. I have made sure that everything uses the friendly name e.g.
    http://intranet instead of the servername e.g.
    http://servername. I made sure the data connection and all options in the publishing wizard are set to the friendly name. There were still some forms that didn't work though - this was because when trying to fix this problem I had switched several times
    between using the friendly /server names and some forms were looking for the template with the server name (these didn't work), other forms looked for the friendly name (these did work).
    What I did was open my form library in windows explorer view and then drag each form into Notepad so I could see the source code. On the top two lines I could see the reference to the template and in some cases the template weas referenced using the server
    aname, which I changed to the friendly name and this worked. I did have to check every form in the library. Basically, everything should reference the friendly name (e.g.
    http://intranet.
    Ben

  • Connection failed when trying to connect to external Lacie hard disk

    I have an external Lacie hard disk which sits under and is connected to my Airport Extreme base station. I access that volume by using the 'Connect to Server' option in the finder, and I can see the Lacie drive when I get to the stage where I click to 'browse' and then click the Network icon.
    However, today instead of connecting as usual (after asking for password authorisation, etc.) I now get a temporary window message saying:
    "Looking up, "x1-6........local..." I guess the IP address?
    After 3 minutes I then get the following error message:
    CONNECTION FAILED
    The server may not exist or it is not operational at this time. Check the server name or IP address and try again.
    Yesterday I had a problem with my MacPro while trying to access info on the Lacie volume and with no response from the MacPro to shut down, I had to hold the start button down to get it to shut down. I then turned the Airport Express and Lacie disk off at the main plug powerpoint (I forgot to dismount the Lacie volume from another Mac running!). Hoping this would reset everything, but now this problem has happened!
    Any help or advice on this would be much appreciated as I hold some key financial and business info on the Lacie volume and I can't access it now!!!
    Thanks

    Hi Rick
    That's worked!
    I did reboot Airport Extreme initially (had to switch off power to AEBS and Lacie disk as looks like there is no power switch on the AEBS?...and tried, but same problem. But then tried this again and all now works as before.
    Thanks for your advice and the direct connection tip, which I was considering doing anyway if the conventional route didn't work.
    Phew!

  • "Connection Failed" when trying to connect to another Mac on my wireless network.

    Hi,
    I am having an intermittent problem with the connectivity between my iMac and Mac Pro - the latter is the media server for our house. Occasionally my Apple TV's seem to lose connectivity to the Mac Pro too which is a real pain. Both Macs are running Mavericks and the Apple TVs are running the latest software too.
    If I try to connect to the Mac Pro in Finder on my iMac, the Mac Pro is there but when I click on it I get "Connection Failed". Rebooting both computers seems to fix the problem but is far from ideal when mid way through a film!
    The messages in console on my iMac when I try to connect to the Mac Pro in Finder is:
    14/03/2014 10:20:33.542 sharingd[253]: SDSharePointBrowser::handleOpenCallBack returned -5999
    14/03/2014 10:23:34.180 locationd[82]: could not open write stream for /var/db/locationd/clients.plist
    I'm not sure if this provides a clue?
    Thanks in anticipation,
    Rob

    I've managed to connect OK using Connect as. So at least that part is solved. I will see if I can get any diagnostics as to why the Apple TV drops out.

  • Why do I get connection failed when logging in on app store on wireless, but Wired LAN works fine?

    I've been having the same issue as many other people. On OSX Lion with latest updates as of 3/20/2012. Tried deleting .plist files, checking keychain access and even reset keychain. I still get the error of Connection Failed when trying to download updates or a new app from the app store.
    I also can't connect to the iTunes "Account" area. It produces an error that the request failed (-1200)
    I finally decided to try a wired connection instead of my wireless. Now it works great! So I removed my wireless network and re-added it. Back to square one. Work around for now is fine, but I should be able to use this over wireless, too!
    I just now tested connecting to a different wireless network (EVO Hotspot) and it worked fine. So it's something specific to my office wireless network. Nothing changed on our firewall (I'm the administrator). It just stopped working.
    Anthony

    Hi ...
    Perhaps there's something that you haven't tried here >  Troubleshooting Wi-Fi issues in OS X Lion

Maybe you are looking for

  • How to see the cost of a batch

    Dear Experts How do I see  the cost of a produced batch of material, confirmed from a Process Order?

  • Safari kicks me out of ebay after i login and my bank website???

    Safari kicks me out of ebay after i login and try to go to myebay or leave feedback. It asks me to login again and when i do the same thing happens. Same with my bank website too. It wont remember that i logged in even after i checked the box to reme

  • Another scheduling question (using DBMS_JOBS)

    Let's say I have a procedure do_task(text IN VARCHAR2, retry_count IN PLS_INTEGER) I want to schedule a job to run this procedure every N minutes, each time decreasing retry_count by one. When the procedure succeeds in its task or is run with retry_c

  • Delete key frequently stops working in Pages

    I've had Pages on this Mac for a long time, and from the beginning this problem has occured. It was just rare enough for me to not seek help on the issue, but today I'm going through a long document that requrest many deletions, and now I have notice

  • Photoshop CS3 - need to uninstall & reinstall but deactivation is grayed-out

    Photoshop CS3 was living happily for quite a while on my system running Windows 7 32-bit, however, lately, upon closing, it freezes, requiring a cntrl-alt-del to force quit. It has the 10.0.1 patch, the latest. A repair re-install did not fix the pro