Applet connection to remote MySql - HELP

Hi:
I've got an applet that connects to a MySql database (4.1).
As long as I try to connect to the MySql server on the machine the applet is running on (my development computer), everything works great.
I'm using this jar as the MySql connector:
mysql-connector-java-5.0.3-bin.jar
I can connect to the remote MySql server (also 4.1) with MySql Administrator and also with .NET, no problem.
BUT - when I try to connect to the remote MySql server from the Applet I get an 'access denied' error.
I also tried it from the applet set up as a Java application with a main function. If I try to connect to the local MySql server, no problem. If I try to connect to the remote machine I get a 'connection timeout' error.
I should add that when I connect to the remote machine from MySql Administrator, the connection is almost instantaneous and with no problem.
Any help would be greatly appreciated.

Well, I've been over it and over it. I've read and tried everything I could find.
No matter what I do it won't connect.
The applet is signed, I don't need to learn how to do that.
The popup comes up and asks if I want to run it: I click YES
The connection works fine for the local database but not the remote one.
Again, I can connect to the remote one with MySql Admin just fine using the same parameters.
import java.*;
import java.sql.*;
import java.util.*;
import java.security.*;
public class DBaseConn extends java.applet.Applet {
    private java.sql.Connection  oCn = null;   
    private final String MySqlUrl = "jdbc:mysql://555.555.555.555:3306/mysql";
    private final String MySqlserverName= "555.555.555.555";
    private final String MySqlportNumber = "3306";
    private final String MySqldatabaseName= "mysql";
    private final String MySqluserName = "SomeUser";
    private final String MySqlpassword = "SomePassword";
    private final String selectMethod = "cursor";
    public String sErr = "";
    public void init() {
        // TODO start asynchronous download of heavy resources
    public java.sql.Connection OpenMySqlDBase() throws Exception
       try
            Class.forName("com.mysql.jdbc.Driver");
            //oCn =  DriverManager.getConnection(MySqlUrl, MySqluserName, MySqlpassword);
            oCn = (Connection)AccessController.doPrivileged(new PrivilegedAction() {
                public Object run()
                    try
                        return DriverManager.getConnection(MySqlUrl, MySqluserName, MySqlpassword);                       
                    catch(Exception exp)
                        sErr = exp.getMessage();
                        return null;
            if(oCn!=null)
                sErr = "MySQL Connection SUCCEEDED!!";
                return oCn;
            else
                if(!sErr.equals(""))
                    sErr = "MySQL Connection FAILED with ERROR: " + sErr;
                else
                sErr = "MySQL Connection FAILED!";
                return null;
       catch(Exception exp)
           sErr = "MySQL Connection FAILED With ERROR!:\r\n" + exp.getMessage();
           return null;
}The error is:
Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.security.AccessControlException: access denied (java.net.SocketPermission 555.555.555.555:3306 connect,resolve)
STACKTRACE:
, , ,

Similar Messages

  • Php connection to remote mysql server

    Hi,
    I've stragne problem using php 4.3.10 with Sun One 6.1 on Solaris 9. The connection to a remote mysql server fail. I've correct grants in both servers and the php.ini is setting to permit no limit connection to databases. the code:
    $host='my-remote-server.com';
    $link1=mysql_connect($host,"bla","blabla");
    if$db1 = mysql_select_db("LOGIN",$link1);
    $link = mysql_connect("localhost","bla","blabla");
    $db = mysql_select_db("LOGIN",$link);
    The remote connection fail but the local one works. When i work with another server Sun One 6 in Solaris 8 , everthing work wonderfull with the same deffinitions, it can connect the remote databases but the others machines can't connect the solaris 8 machine. i think there is something wrong in the solaris 9 or/and sun one 6.1 deffinition it avoid remote connection. The problem i don't know what may be wrong, which setting may affect tcp connections from web application in solaris 9/sun one 6.1 plataform.

    we found the problem finally and may be useful for someone. Using the solaris 9 network snifer (snoop) we found that the default php timeout connection for mysql doesn't work ,this value is 60 in the php.ini . After 4 or 5 miliseconds php application closes the connection when it runs from the webserver , running from the shell it doesn't happen.The answer from the other server arrived after 20 or 30 milisecods then the connection to the databases fails. The solution is to put unlimited tiemout , mysql_connection_timeout=-1 then it success to connect the remote mysql server correctly. May be problem without timeout connection in case the other server doesn't answer, then application may wait forever or untill the system or webserver take out the application. I didn't check this posibilty, mainly i'm interesting the applications can work and write in the remote databases. If this definition cause problem as application waiting connection we always can try with another value greater than 60.

  • Need help connecting a remote MySql database from Iphone

    Hi, i need to connect to a remote MySql DataBase in windows from IPhone but..... i'm a noob with Xcode and Objective-C.
    Can someone help me or explain me the way to do it plz?
    Message was edited by: Krovax87
    Message was edited by: Krovax87

    I do not think MCPKit will help you on the iPhone. It is just an Objective-C wrapper around the standard mysql libraries which are not available for the iPhone. Your best bet would be to post on the mysql forums and see if you can get any help.
    You can try extracting the mysql client library source code into a separate static library project, and see if you can get it to build for the iPhone.

  • Connecting to remote mysql server

    Hi all,
    Been having problems connecting to a remote mysql database. Everytime i run the servlet I get the following :
    Communication link failure: java.io.EOFException, underlying cause: null
    I've been google'ing for a while and it seems the usual respone is that the connection has timed out, but this happens everytime I try to connect so I don't really see how that applies to this particular problem. Here's part of he code I'm using.
    Class.forName( "org.gjt.mm.mysql.Driver").newInstance();
    Connection db = DriverManager.getConnection("jdbc:mysql://hostname/databasename", "username", "password");I'm using Tomcat 4.1.30 and mysql-connector-java-3.0.15-ga-bin.jar ( and I've also tried with mysql-connector-java-2.0.14-bin.jar). Any advice would be greatly appreciated.

    Here's the complete error message including the stack trace. Just to specify a little more:
    - SQL server is alive and running
    - Specifying IP address instead of name results in same error (Same when adding port 3306)
    - Running the servlet using tomcat 4.1.30 (http://localhost:8080/servlet/dbtest) with mysql-connector-java-3.0.15-ga-bin.jar
    - Not sure if there are any firewalls in between (There probably is one, but not on this end.) I'll try to get in touch with the server admin this week.
    java.sql.SQLException: Communication link failure: java.io.EOFException, underly
    ing cause: null
    ** BEGIN NESTED EXCEPTION **
    java.io.EOFException
    STACKTRACE:
    java.io.EOFException
            at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1394)
            at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1413)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:625)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:1782)
            at com.mysql.jdbc.Connection.<init>(Connection.java:450)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :411)
            at java.sql.DriverManager.getConnection(DriverManager.java:512)
            at java.sql.DriverManager.getConnection(DriverManager.java:171)
            at dbtest.service(dbtest.java:37)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2422)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:163)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
    9)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :828)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:700)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :584)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
            at java.lang.Thread.run(Thread.java:534)
    ** END NESTED EXCEPTION **
            at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1446)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:625)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:1782)
            at com.mysql.jdbc.Connection.<init>(Connection.java:450)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :411)
            at java.sql.DriverManager.getConnection(DriverManager.java:512)
            at java.sql.DriverManager.getConnection(DriverManager.java:171)
            at dbtest.service(dbtest.java:37)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2422)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:163)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
    9)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :828)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:700)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :584)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
            at java.lang.Thread.run(Thread.java:534)

  • Not able to connect to remote MySQL database using Connector/J

    I have an application that uses a connection pool for database access.
    It is initialized with this context.xml entry:
    The db server is running on port 3307.
         <Resource name="jdbc/DB" auth="Container"
                        type="javax.sql.DataSource" username="un" password="pw"
                        removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
                        driverClassName="com.mysql.jdbc.Driver"
                        url="jdbc:mysql://localhost:3307/myDB"
                        maxActive="8" maxIdle="4"/>Now after starting the context, I can see I have a connection to my database using the MySQL Administrator. So I know I am connecting.
    The problem is, when I try to query any table in the db, I get this message:
    java.sql.SQLException
    : Table myDB.TABLE_NAME' doesn't exist
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    MysqlIO.java:2921) ...
    I know it does in fact exist because I am looking at it. And the code I am using works perfectly fine as long as it is running on a local db server.
    Any ideas?

    I know it does in fact exist because I am looking at
    it. And the code I am using works perfectly fine as
    long as it is running on a local db server.
    Any ideas?Yes two.
    I am bit unclear about the last thing you said... you are testing with two different servers or two different clients?
    Anyway here are the possibilities off the top of my head.
    1) Some sort of security issue. Surrounding who and from where users can connect to the database in question.
    2) Case sensitivity problem. On Windows MYSQl makes all it's table names lower case only. Then it onlu supports the correct case to access them.
    For example
    CREATE TABLE TestMe
    Can then only be accessed with
    SELECT * FROM testme
    Not TestMe.
    This appears to vary with version but i have seen this issue before.

  • No Tables in DW CS3 Remote MySQL Connection

    Hello All,
    I was hoping forum members would be able to troubleshoot a
    Dreamweaver CS3/remote MySQL Connection issue I'm having.
    I am successful in connecting to the database but the table
    data I created in phpMyAdmin 2.6.3 does not appear in the
    Application/Databases menu in DW. Instead of the name of the table,
    I get "none".
    Since I am new to databases, any help is greatly appreciated.
    I did view older posts before submitting this one but the advice
    recommended (re-installing the entire MySQL application from
    scratch) is not an option. Server is SunOS running PHP 4.4.7 and
    MySQL 2.0.20. I'm on Windows XP. Thanks once again.

    Was this issue resolved?
    I have the same problem now. DW was working fine the one day and the next when I started it it had this connection problem.
    I am testing on my local PC. My sites is at http://localhost/
    All my connection are working because if I go to http://localhost/index.php I can see my site and if I go to http://localhost/register.php I can even register a new user. It will include the new user details in the data base and everything is working fine. So there is nothing wrong with the connection.
    In DW I do have http://localhost/ on the Local Info screen. As I said, all was working fine on the current setup the one day and the next day it did not want to work.
    Seems like a very common problem.
    I want to buy CS4 and surely hope that the problem has been fixed by now.

  • Jar file and remote mysql connect

    I have a jar file that i want anyone run it.The problem is that the code makes a connection to a database (mysql) to my computer.How anyone can connect to my databse in my computer from another pc without the user have to had the java \ mysql connect or hte mysql.Only the java.I try with a jnlp file and the jar file stored in my computer.I have a host name and i have open the port 3306 for mysql and allow remote connections to mysql.Can you help me;;

    ok i connect to database like this:
    try {
                   String userName = "username";
                   String password = "password";
                   String url = "jdbc:mysql://HOSTNAME/bankloans";
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   conn = DriverManager.getConnection(url, userName, password);
              } catch (Exception e) {
                   System.out.prinln(e);
              }The JNPL file
    <?xml version="1.0" encoding="Windows-1251"?>
    <jnlp
      spec="1.0+"
      codebase="http://nasikas.ath.cx:8080/bankloans/"
      href="BankLoans.jnlp">
    <information>
    <title>Bank Loans Programme</title>
    <vendor>Softlets</vendor>
    <description>Bank Loans Programme</description>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.6+"/>
    <jar href="BankLoans.jar" main="true"/>
    <jar href="mysql-connector-java-5.1.0-bin.jar"/>
    </resources>
    <application-desc main-class="Go"/>
    </jnlp>What is wrong;;

  • Applet connecting to MS SQL Database (Remote DataSourse)

    Hello,
    I started by building my interface to a Database within an Application. I am not to the point where I am ready to make it an applet but want to get some tips when the time comes very soon.
    First of all what security issues do I have to deal with to let the applet connect to the database?
    Second I currently created a local Datasource via ODBC call JavaDB and linked it to my MS SQL Database.
    QUESTION
    How do I link to the with a remote Datasource so that the local machine does not have to worry about the datasource.
    Lastly can I use the "sun.jdbc.odbc.JdbcOdbcDriver" in an applet. I sure hope so...
    Then the part of my code that connected to the database was this:
    private void initDB(){
    String url = "jdbc:ODBC:JavaDB";
    Connection con;
    String query = "select * from COFFEES";
    Statement stmt;
    try {
    //Class.forName("myDriver.ClassName");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    con = DriverManager.getConnection(url, DBADM, DBPWD);
    stmt = con.createStatement();                                   
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsmd = rs.getMetaData();
    System.out.println("");
    int numberOfColumns = rsmd.getColumnCount();
    for (int i = 1; i <= numberOfColumns; i++) {
         if (i > 1) System.out.print(", ");
         String columnName = rsmd.getColumnName(i);
         System.out.print(columnName);
    System.out.println("");
    while (rs.next()) {
         for (int i = 1; i <= numberOfColumns; i++) {
         if (i > 1) System.out.print(", ");
         String columnValue = rs.getString(i);
         System.out.print(columnValue);
         System.out.println("");     
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.print("SQLException: ");
    System.err.println(ex.getMessage());
    Thanks,
    Kenny

    Kenny,
    As no one has replied, I've managed to implement a database that uses applets.
    Firstly, one needs to obtain a JSP server (apache tomcat is free and can be configured into a IIS 4 server).
    Secondly, write all the DB connection stuff within a jsp page (ex.) "builders.jsp"
    <%@ page import="java.sql.*" %>
    <%!
    protected String driver="sun.jdbc.odbc.JdbcOdbcDriver";
    protected String url="jdbc:odbc:PhotoDBase";
    protected String userid=null;
    protected String passwd=null;
    %>
    <html><head><title>Builder Example</title></head><body>
    <%!
    public static String GET_BUILDER_QUERY =
    "SELECT * FROM BuilderInfo WHERE BuilderID =?";
    %>
    <%
    String bID = "24"; //normally this would use
    //request.Parameter("bID");
    //in order to pull up a specific
    //record. In this test case it is
    //hard coded to pull only builder #24
    %>
    <%
    Class.forName(driver);
    Connection conn = DriverManager.getConnection(url, userid, passwd);
    PreparedStatement stmt = conn.prepareStatement(GET_BUILDER_QUERY);
    stmt.setString(1, bID);
    ResultSet rs = stmt.executeQuery();
    rs.next();
         String buildID = rs.getString("BuilderID");
         String bName = rs.getString("BuilderName");
         String bAddress = rs.getString("Address");
         String bCity = rs.getString("City");
         String bState = rs.getString("State");
         String bZip = rs.getString("Zip");
         String bCName = rs.getString("ContactName");
         String bCLast = rs.getString("ContactLast");
         String bPhone = rs.getString("Phone");
         String bFax = rs.getString("Fax");
         String bMobile = rs.getString("Pager/Cell");
    rs.close();
    stmt.close();
    if (bName == null)
         bName = "No Builder";
    if (bAddress == null)
         bAddress = "N/A";
    if (bCity == null)
         bCity = "N/A";
    if (bState == null)
         bState = "N/A";
    if (bZip == null)
         bZip = "N/A";
    if (bCName == null)
    bCName = "N/A";
    if (bCLast == null)
         bCLast = "N/A";
    if (bPhone == null)
         bPhone = "N/A";
    if (bFax == null)
    bFax = "N/A";
    if (bMobile == null)
    bMobile = "N/A";
    %>
    <p>Builder: <%= bName%> BuilderID #: <%= buildID%>
    <br>Contact: <%= bCName%> <%= bCLast%>
    <br>Address: <%= bAddress%>
    <br><%= bCity%>, <%= bState%> <%= bZip%>
    <br>Phone: <%= bPhone%>
    <br>Fax: <%= bFax%>
    <br>Mobile: <%= bMobile%>
    <p><applet code="Build.class" width="600" height="300">
    <param name=buildID value=<%= buildID%>>
    <param name=bName value="<%= bName%>">
    <param name=bAddress value="<%= bAddress%>">
    <param name=bCity value="<%= bCity%>">
    <param name=bState value="<%= bState%>">
    <param name=bZip value="<%= bZip%>">
    <param name=bCName value="<%= bCName%>">
    <param name=bCLast value="<%= bCLast%>">
    <param name=bPhone value="<%= bPhone%>">
    <param name=bFax value="<%= bFax%>">
    <param name=bMobile value="<%= bMobile%>">
    </applet>
    </body>
    </html>
    The jsp gets the data from the DB based on the parameter bID which would be passed to it via a search or input page with various error checking included.
    The applet then recieves its data via parameters. (Build.class has been shortened here to show you the meat and potatoes of the whole deal)
    //<applet code="Build.class" width="600" height="300"></applet>
    import java.awt.*;
    import java.awt.Event;
    import java.applet.Applet;
    import java.io.*;
    public class Build extends java.applet.Applet {
    protected Panel search ;
    protected TextField Nametxt ;
    protected TextField Loctxt ;
    protected TextField Citytxt ;
    protected TextField Statetxt ;
    protected TextField Ziptxt ;
    protected TextField CNametxt ;
    protected TextField CLasttxt ;
    protected TextField Phonetxt ;
    protected TextField Faxtxt ;
    protected TextField Celltxt ;
    public Build(){
    super();
    search = new Panel();
    Nametxt = new TextField();
    Loctxt = new TextField();
    Citytxt = new TextField();
    Statetxt = new TextField();
    Ziptxt = new TextField();
    CNametxt = new TextField();
    CLasttxt = new TextField();
    Phonetxt = new TextField();
    Faxtxt = new TextField();
    Celltxt = new TextField();}
    public void init(){
         BorderLayout bl = new BorderLayout();
         setLayout(bl);
         add(search, "Center");
         setBackground(Color.white);
         String buildID = getParameter("buildID");
         String bName = getParameter("bName");
         String bAddress = getParameter("bAddress");
         String bCity = getParameter("bCity");
         String bState = getParameter("bState");
         String bZip = getParameter("bZip");
         String bCName = getParameter("bCName");
         String bCLast = getParameter("bCLast");
         String bPhone = getParameter("bPhone");
         String bFax = getParameter("bFax");
         String bMobile = getParameter("bMobile");
    Nametxt.setText(bName);
    Loctxt.setText(bAddress);
    Citytxt.setText(bCity);
    Statetxt.setText(bState);
    Ziptxt.setText(bZip);
    CNametxt.setText(bCName);
    CLasttxt.setText(bCLast);
    Phonetxt.setText(bPhone);
    Faxtxt.setText(bFax);
    Celltxt.setText(bMobile);
    Hope this will aid you in yours and anyone elses endevours.
    James <[email protected]>

  • Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentV

    I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation  when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me
    to solve this problem.
    Initialization Failed
    The following error occurred while searching for the on-premises Exchange server:
    [win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError
    $true -CurrentVersion 'Version 14.1 (Build 218.15)''.
    Thanks Vivek
    SharePoint Foundation 2010 Book
    http://www.redpipit.com

    Hi,
    Please have a look at the article below:
    Troubleshooting Exchange 2010 Management Tools startup issues
    http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
    Resolving WinRM errors and Exchange 2010 Management tools startup failures
    http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx
    Besides, please run the cmdlet below:
     set-user alias -remotepowershellenabled$true
    Xiu Zhang
    TechNet Community Support

  • Help to connect Microoft Remote Dextop (win7) with Iphone 5 using RD client

    Help to connect Microoft Remote Dextop (win7) with Iphone 5 using RD client Hello, I can connect my iphone 5 to my laptop(windows7 OS) with RD client while My iphone is also connected with my laptop's wifi hotspot. And i can remotely control my laptop with the iphone nicely while I am in the laptop's wifi range. Is it possible to control my laptop from iphone while my phone is not connected  to laptop's wifi hotspot???? I use 3G internet in my phone while I go out of home.

    I have no issue using cellular data when I remote in from my iphone with the RD client.
    Have you tried using cellular data to remote in?

  • HT4587 I can't locate airport express icon in itunes to connect my remote speakers wirelessly, can anyone help please?

    Can anyone help please? I am trying to connect my remote speakers to my i-tunes library using Airport Express. Everything is connected and working using mt OS device (Ipod Touch 5th Generation) that works fine. I have tuned on home sharing and it says in itunes preferences that I am paired but according to the light on the airport express base station I am not connected to my existing wi-fi network. I cannot find the itune airplay icon anywhere in itunes nor can I find the network link by hovering my pointer of the network connections as suggested in the instructions that came with airport express. Would apprecaite some help please you can give. - thank you.

    hmmmmm.
    i'm not trying to get rid of you here, but it might be worth also checking-in/reposting over at the Airport for Windows forum. when Airtunes things get sticky, i generally defer to iFelix or RJ in WI, and they spend a lot more time over there than they do here.
    (traffic is so heavy in here at the moment that this thread might be buried out of sight before an AirTunes guru gets to see you.)
    here's a link through to the Airport for Windows forum:
    Airport for Windows

  • While updating Apple TV now unit is locked up. Tried resetting with remote no help. Connected to iTunes Apple TV comes up to reset but when you hit reset fails and said it can't find any apple tv

    While updating Apple TV now unit is locked up. Tried resetting with remote no help. Connected to iTunes Apple TV comes up to reset but when you hit reset fails and said it can't find any apple tv

    Dear Brian:
    Create a Play List in iTunes.
    Control-Click and open "Export" in the highlighted Playlist in iTunes.
    With "Export" opened:
    1. Click on "Format" and choose "M3U";
    2. In "Save As" name your "WhatEverNamePlaylist.m3u"; and
    3. In "Where" tell the program where to send your "WhatEverNamePlaylist.m3u".
    You are done creating the Playlist.m3u in iTunes.
    Open "Subsonic Web Page".
    Left hand column open "Import playlist".
    In "Import playlist" click "Choose File" and open the "WhatEverNamePlaylist.m3u"; you created in iTunes.
    The "WhatEverNamePlaylist.m3u" should now occupy the space between "Choose File" and "OK".
    Click "OK".
    The file should now be in the "Playlist" on the left.

  • Help needed please, Local - Remote mySQL transition

    Hi all,
    Ok here is my problem.
    I have wamp installed on my local system and have created a database in mySQL. I use this connection in my Dreamweaver cs3 site.
    I have just requested a mysql database from my hosting company and they have given me a sql address e.g sql34.hostdomain.net, a username and password.
    My problem is I know how to connect to this through dreamweaver, but how do I transfer my local database to my remote mysql server?

    learner2site wrote:
    My problem is I know how to connect to this through dreamweaver, but how do I transfer my local database to my remote mysql server?
    You export it and then import it on the server. It's all in the phpMyAdmin start page... If you have no direct access to the admin UI, check for a respective PHP script that contains the necessary SQL queries.
    Mylenium

  • Connecting Oracle to a remote MySQL

    Hi all,
    Would it be possible to connect Oracle server from remote desktop connection to Msql sever residing at another remote desktop connection?
    Thank you
    Dounia

    Hi
    This post is an FYI to everyone who are have this Q?
    if you have to create a Datasource to a remote MySQL DB you will need to first download the MySQL JDBC driver (it avalable for free from mysql site) add this jar file to you applib directory(<oracle_home>\j2ee\home\applib directory)
    then create the datasource specify the driver name and connection URL
    Regards,
    Raghavendra

  • CF8 / MySQL 5 - Cannot connect to remote datasource

    Hi all,
    i'm using CF8 on my web server and i'm trying to connect to a
    remote MySQL datasource. Ive doubled checked my settings and ive
    even got my web developer to check the settings and they are all
    correct. My developer can connect to the database no problem, so i
    know it must be an issue with my CF server.
    this is a complete blocker, we cant continue with the
    development until we fix this.
    this is the error i get when i try to verify the db
    connection:

    ok so if type at the command promt this:
    telnet mysql_xx.xx.xx.xx 3306 i get this:
    Connecting To mysql_xx.xx.xx.xx...Could not open connection
    to the host, on port 3306: Connect failed
    if i type this:
    telnet mysql_xx.xx.xx.xx 3306 telnet mysql_Xname.com 3306
    i get this:
    C:\Documents and
    Settings\Administrator.ALLIED-WEB-01>telnet mysql_xx.xx.xx.xx
    3306 telnet mysql_Xname.com 3306
    telnet [-a][-e escape char][-f log file][-l user][-t
    term][host [port]]
    -a Attempt automatic logon. Same as -l option except uses
    the currently logged on user's name.
    -e Escape character to enter telnet client prompt.
    -f File name for client side logging
    -l Specifies the user name to log in with on the remote
    system.
    Requires that the remote system support the TELNET ENVIRON
    option.
    -t Specifies terminal type.
    Supported term types are vt100, vt52, ansi and vtnt only.
    host Specifies the hostname or IP address of the remote
    computer
    to connect to.
    port Specifies a port number or service name.
    what's this telling us? did i type it right?

Maybe you are looking for

  • Issue with reading attachment in sender mail adapter

    Hi, I am working on Email to file scenario, where I have to connect to exchange server and take the attachment of the email (xml file) and save it on to PI server. I have configured sender mail communication channel with following details: Protocol:

  • Time Capsule and time machine with third party router

    Hi, This is the first time I use this site. I have over three years old Mackbook. APP has expired. Now I want to know how to set up time capsule in a new environment. I moved from Australian and Singapore. I was using Time Capsule and Airport Extreme

  • Can someone send me the files in /srv/tftp folder ?

    Hello, My company use ZDM, but use ghost for image solution. Now I am thinking of replace it to the ZDM image. I would need to test it first since the server may didn't install pxe component. Now I need the files in /srv/tftp on a ZDM linux server. C

  • Reason for errors in IDCOS ? pls tell small scenarios

    hi pls tell practical scenarios reason for errors in idocs? all ale configuration are done.

  • Renaming the archived file name

    Hi, We have a requirement where we are archiving the file using sender FILE adapter but we need to change the file name when it is archived. I am unable to find any option in Comm channel to change/rename the File name. Pls suggest me is there anyway