Error when connecting applet to database

Hi,
I'm trying to make an applet that get data from database.
I'm using this code to connect to database :
try
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/mydatabase","mypassword", "password");
System.out.println("inside of connection");
     if(!con.isClosed())
          System.out.println("Successfully connected to MySQL server...");
          Statement st = con.createStatement();
          ResultSet s = st.executeQuery("SELECT myString FROM string");
                    while (s.next())
                         ad = s.getString("myString");
                         System.out.println(ad);
          catch(Exception e)
               System.err.println("Exception: " + e.getMessage());
It shows me error like this :
java.lang.ExceptionInInitializerError
     at com.mysql.jdbc.Connection.<init>(Connection.java:1174)
     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)
     at java.sql.DriverManager.getConnection(Unknown Source)
     at java.sql.DriverManager.getConnection(Unknown Source)
     at com.inulsc.newsticker.connection.getString(connection.java:26)
     at com.inulsc.newsticker.NewsTicker.readFromDatabase(NewsTicker.java:481)
     at com.inulsc.newsticker.NewsTicker.init(NewsTicker.java:239)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Unable to initialize character set mapping tables
     at com.mysql.jdbc.CharsetMapping.<clinit>(CharsetMapping.java:73)
     ... 9 more
I'm using Tomcat and I have copymysql-connector-java-3.1.13-bin download to C:\Tomcat 5.5\common\lib.
Any one can help me please? I really need to solve this problem.
I will appreciate any answer.
Thanks,
Vijay

Thanks for you answer Jos, but honestly I don't know what I should do then, since I can't get data from database through the applet.
I have read some articles that we can get data from database through the applet (they use tomcat too). I have followed what the article said, but I still get the error.
Do you have any idea Jos? Thank you very much for your nice attention
Warmnest regards,
Vijay

Similar Messages

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • Error when connecting Applet to EJB

    Hi,
    I have an Applet that I try to connect to an EJB, but without success.
    To pinpoint the problem, I took the client-side code of the example ...examples\ejb\basic\BeanManaged
    and made an AWT Applet out of it.
    I seem to trap some error when I call the getInitialContext() when trying to find the Home interface.
    Nothing happens in my code (ie. the Applet) after I enter this part of the code. It is a it hard to say
    where it stops, since I do not get all output. It seems to die when I am trying to instantiate the
    Context-object or the AccountHome object. Maybe I just have a Classpath error.
    When running the BeanManaged as a Java Application, everything is working fine.
    Does anyone have any experience in these matters ?
    I am using WL 5.1.0 (no SP-s), JDK 1.2.2
    Regards, Erik

    Thanks for you answer Jos, but honestly I don't know what I should do then, since I can't get data from database through the applet.
    I have read some articles that we can get data from database through the applet (they use tomcat too). I have followed what the article said, but I still get the error.
    Do you have any idea Jos? Thank you very much for your nice attention
    Warmnest regards,
    Vijay

  • Error when connecting to MySQL Database

    I am trying to connect to MySQL and receive an error everytime. I have attempted to talk to Bluehost (who my site is hosted thru) and they said it is not on their end and not something they can help me with. I set up a new MySQL Database with Bluehost and then set up the site through DW and everything went fine. I secured an ftp connection and went on to connect to MySQL. When I enter in my credentials for SQL Database, it returns:
    HTTP Error Code 404:
    Reason 1. No testing server running on the server machine.
    Reason 2. Testing server specified for this site deos not map to the http://my_domain.com/_mmServerScripts/MMHTPDB.php URL. Verify the URL Prefix maps to the site.
    The testing server model I am using is set to PHP MySQL and URL Prefix I am using (my_domain.com) is my website URL. I watched a YouTube video someone suggested elsewhere on how to add MMHTTPDB.php and mysql.php files to _mmServerScripts folder since the folder is empty but unfortunately, those files are not found on my computer. I assume they were supposed to be installed when I installed DW, but they are not here. I have done a general search of the comp and looked in each folder that was installed with DW and sadly, no files that match those names. What can I do? How can I make an SQL connection? Please help. It is greatly appreciated.
    -Sharon

    Your answer can be found somewhere in here http://forum.wampserver.com/read.php?2,83382,88694
    My hosts file (c:\windows\system32\drivers\etc\hosts) looks like
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    # localhost name resolution is handled within DNS itself.
        127.0.0.1       localhost
        ::1             localhost

  • Connect applet to database using JDBC

    I try to connect Applet to database, but have error:
    Access denied (Java.lang.Runtime.Permission access Class In paclage.sun.jdbc.odbc)
    I think the reason is the security issue, but how to implement the security issue in the code?
    Help me...

    If you aren't using the plugin, changing the policy file for the Java Runtime Environment (JRE) won't do anything. Changing the policy file and signing the applet are two ways of granting an applet permission. I only use changing the policy file for testing purposes. I broke down and bought a certificate after I realized I would have to change the policy file on hundreds of machines, and do it again if the server changed.
    You sound like you should be using the plugin. Appletviewer knows about the JRE and uses it. You need to change your HTML to use EMBED and OBJECT tags instead of APPLET tags (use HTMLConverter).
    sun.jdbc.obdc.JdbcOdbcDriver is in rt.jar, which is in /Prog Files/Javasoft/JRE/1.3???/lib and is installed when the pluggin is installed (which happens automagically when using the EMBED and OBJECT tags). It was also loaded on your development machine when you installed the SDK.
    You can remove the need to sign the applet to test whether this is a security problem or machine configuration problem. If you copy the .html and .class files to a directory on a machine you expect it to run on, start your browser and type 'C:\MyDirectory\MyApplet.html' in the address bar. Applets loaded locally are granted all permissions.

  • Error while connecting to the database from a JSP Page

    Hi,
    I am using a simple JSP page which is based on the sample JSP pages from OTN.
    When I try to connect to my database using the following code:
    InitialContext ic = new InitialContext();
    OracleDataSource ds = (OracleDataSource)ic.lookup("jdbc/OTN9iDS");
    m_connection = ds.getConnection();
    I get the following error:
    Naming exception Error while connecting to the database : javax.naming.NameNotFoundException: jdbc/OTN9iDS not found in JDBCTest-JDBCTestProject-webapp
    Does anybody know wht this is happening?
    Any help would be appreciated
    FRank

    Hi Frank,
    Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
    If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
    Ensure the case of the JNDI lookup string, since, it is case sensitive.
    Hope this helps.
    Abhijeet

  • Error when connecting to terminal

    Hello,
    I have a BB 8100, Desktop manager 4.6.
    Synchronization was working correctly 3-4 weeks ago.
    Today, when I tried to synchronize, I had this error message:
    0 x 80040fb3
    I tried to debug this with the procedure of modifying Last name, first name, etc.... with no success
    I tried several time to synchronize again but without success.
    Now, the situation is even worse!
    New message when I connect my BB to my computer. When I launch Desktop manager, I have the following error:
    "Error when connecting to terminal. Make sure that your terminal is correctly connected, then try again"
    I can not anymore try to synchronize!
    This is very strange, it never happened before.
    Nevertheless, Desktop Manager recognize my BB, as I can read on the buttom left part of the screen: Terminal connected (code Pin) recognized xxxxxx.
    HELLLLP!
    Thanks
    Solved!
    Go to Solution.

    Hello RianaZaire,
    Unfortunately, I still have the same error Message.
    I have not been able to solve the situation.
    I reinstall twice the software.
    I tried to connect my Blackberry to my computer with a new cable.
    I still have the same error message.
    I don't know what to do.
    Maybe somebody will read our messages, and help us!
    Maybe this information has a link with my blackberry problem:
    I also have a problem with an another device. (a TOMTOM GPS system), which happened almost at the same time.
    Usually, when I connect this device, it will directly open the GPS sofware ( where I can download the new updating stuff). But since this Blackberry problem, I can not do it anymore. Impossible to connect the TOMTOM onto it. It is not recognize onto my computer.
    For information, I also do synchronization of my adress book between my phone and TOMTOM.
    HELP HELP

  • Error when connecting to portal from some machines

    Hi all,
    Can anyone help me with this.
    I get this jserver error when connecting to portal from some
    client machines.
    I works fine from the others. Any ideas?
    This is the error I get:
    [08/01/2002 17:41:57:618 GMT+00:00] page/Timeout occurred,
    label=73 url=http://odeceixe:81/pls/portal30/!
    PORTAL30.wwpro_app_provider.execute_portlet time=15828ms
    [08/01/2002 17:41:57:618 GMT+00:00] page/ContentFetcher
    Unexpected Exception, name=content-fetcher5
    java.io.EOFException: Premature EOF encountered
         at HTTPClient.StreamDemultiplexor.read
    (StreamDemultiplexor.java, Compiled Code)
         at HTTPClient.RespInputStream.read(RespInputStream.java,
    Compiled Code)
         at java.io.InputStream.read(InputStream.java:95)
         at java.io.InputStreamReader.fill
    (InputStreamReader.java:163)
         at java.io.InputStreamReader.read
    (InputStreamReader.java:239)
         at oracle.webdb.page.ContentFetcher.run
    (ContentFetcher.java, Compiled Code)

    Did you ever find the cause of this, I am receiving the same message, but as you said, only when connecting to the portal via a certain pc.

  • Error when connecting to MDM from different lan

    Hi,
    I got "Image Server Login Error" when connecting with client to server from different LAN, server is up, and i can connect to it when i in the same LAN. Ports 20003, 20004, 20005 for MDM server discovering and repository port 2345 is accessible through router. Running SP2 5.5.24.06.
    Rem: it's not a port problem, when port 2345 is closed i got "WinSock error on connect"
    PS: When I used MDM SP1 i connected to him properly in the same case.

    Hi Dmitry,
    If your repository is set to port 2345, then 4 subsequent ports should be openned also, i.e. 2346-2349.
    Regards, Lev

  • Error When connecting proxy

    Hi,
    When I try to connect proxy in application, it is not connecting instead when I check whether it is going through proxy or not it is telling that it is establishing direct connection only. Here I have posted part of the coding. Please If any error give me a hint.
                System.setProperty("ProxySet", "true");
                SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
                proxy=new Proxy(Proxy.Type.HTTP,addr);here in this code part I am checking whether is connecting with proxy or not.
    URL u = new URL(url);
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);
    try
                    URI uuu = uu.getURL().toURI();
                    List l=ProxySelector.getDefault().select(uuu);
                    for (Iterator iter = l.iterator(); iter.hasNext(); )
                         Proxy proxy = (Proxy) iter.next();
                         System.out.println("proxy hostname : " +proxy.type());
                         InetSocketAddress add = (InetSocketAddress)proxy.address();
                         if(add == null)
                             System.out.println("No Proxy");
                         else
                             System.out.println("proxy hostname : " +add.getHostName());
                             System.out.println("proxy port : " +add.getPort());
    catch (URISyntaxException ex)
                    Logger.getLogger(StartThread.class.getName()).log(Level.SEVERE, null, ex);
    }Output is:
    proxy hostname : DIRECT
    No Proxy

    Re: Error When connecting proxy You didn't get any error when you created the connection. Your title is misleading. Probably you are misleading yourself - see below.
    System.setProperty("ProxySet", "true");That does nothing. There is no such property, contrary to widespread belief.
    SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
    proxy=new Proxy(Proxy.Type.HTTP,addr);... and using java.net.Proxy has nothing to do with system properties in any case.
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);Here you are opening a URLConnection via the proxy. As you got output from the code further down it is clear that this step must have succeeded. So all the code below is pointless.
    URI uuu = uu.getURL().toURI();Here you are getting the URI you created the connection for.
    List l=ProxySelector.getDefault().select(uuu);Here you are getting the Proxies the default ProxySelector would have given you for that URI. Nothing to do with the URLConnection you created, and nothing to do with the Proxy you created either.
    InetSocketAddress add = (InetSocketAddress)proxy.address();So here you are testing the proxy address for the system's default proxy for that URI. Again, nothing to do with what you did above.
    What you should be doing here is using the URLConnection you have already created. Not testing an address.

  • Error when connecting to system

    Hi,
    I have been off topic for quite a while and when I wanted to pick up today, I couldn't connect to the HANA server anymore. I haven't changed any settings since last setup, all I get is the "Error when connecting to system" in the Quick Lauch of the infornation modeler.
    Any suggestions?
    THX
    Markus

    Hello,
    did you connect since upgrade to SP03?
    You might be looking for this thread.
    SAP In-Memory Developer Center - planned downtime 2011-11-15, 10-11am PST
    Tomas

  • When the system status says icloud is OK but it reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    When the system status says icloud is OK but logon reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    Yes i am hoping staff here will look into things, even if i can not get the speeds back what i previously had for near 6 months it would be nice to know why i can not and why the download has dropped by around 10Mb and why my upload is now inconsistant.
    Ironically the post concerned got edited because i actually posted the full rather silly reply the Indian call centre made babbling on about down rates rather than the uprate i queried with them.
    Bit of a shambles really no real way on BTs web site to contact anyone with regards to broadband issues.
    The form which you kindly suggested and i appreciated your help ended up in the hands of someone who either did not bother to read the query or just had such a poor grasp of English they did not understand the query.
    Pretty pathetic really when BT are the largest telco in the UK. I think ill be taking my broadband business elsewhere regardless at the end of my 18 month contract, while im sure staff here are wonderful and may even yet help me, i do not particularly want to go through the almost like pulling teeth pain of getting any future issue looked at.
    They are great at quickly fixing voice line problems and have a great test on their site. Broadband side of things and support for that though seems a shambles.

  • URGENT - INTERNAL SERVER ERROR when connecting to site

    i'm getting INTERNAL SERVER ERROR when connecting to site. everything was ok till yesterday night but since today morning, nobody has been able to log in the site.
    i looked at the Apache Listener log files in IAS_HOME/Apache/Apache/logs
    the error_log file contained the following :-
    [Fri Jan 26 08:32:04 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:05 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/p
    age
    [Fri Jan 26 08:32:58 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:58 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/I
    sItWorking
    [Fri Jan 26 08:33:13 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:33:13 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/page
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    then i tried to kill all the httpd processes and restart the apache and the error log was populated with the following :-
    [Fri Jan 26 09:35:48 2001] [warn] child process 16269 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16270 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16271 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16272 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16273 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16274 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16275 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16276 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16277 still did not exit, sending a SIGTERM
    ,same messages continue for different
    ,process ids followed by
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Attempt to free unreferenced scalar.
    Attempt to free unreferenced scalar.
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:35:53 2001] [error] child process 16269 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16270 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16271 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16272 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16269 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16270 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16271 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16272 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16273 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16274 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:38:10 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:38:44 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:38:44 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:39:06 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:39:30 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:42:17 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:42:17 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    Any ideas or suggestions anyone ....??
    what could have possibly changed since yesterday to effect the site ??
    any help would be greatly appreciated ...
    null

    A couple of questions:
    1) Did you try shutting down apache with the sript?
    2) When killing the httpd processes did you also kill the associated java processes?
    null

  • SSL error when connecting in SAP HANA Cloud Portal tutorial

    Hi,
    I'm going through the tutorial for SAP HANA Cloud Portal - SAP HANA Cloud Portal Developers Tutorial
    Unfortuanatelly I have problems with deploying public destinations (page 9).
    When I try to deploy the destination for the CRM back from the command console using neo command with relevant parameters and entering my password I get the following error:
    ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuraiton/api/rest; server certificate might be invalid or untrusted.
    Logfiles.
    Session log
    2014-08-18 15:53:59,579 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://configapi.hanatrial.onedemand.com], timeout = 0 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,582 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] 2014-08-18 15:53:59,729 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to configapi.hanatrial.onedemand.com/216.128.6.149:443 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection closed 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable. 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:54:00,037 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads
    Console log
    2014-08-18 15:53:56,080 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Starting execution of command [get-destination] 2014-08-18 15:53:56,086 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] init() finished for [1] ms 2014-08-18 15:54:00,038 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] cleanup() finished for [0] ms 2014-08-18 15:54:00,046 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleClient: (!) ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuration/api/rest; server certificate might be invalid or untrusted com.sap.jpaas.infrastructure.console.exception.ValidationException at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:97) at com.sap.jpaas.infrastructure.console.command.UnsecuredRemoteCommand.getHttpClient(UnsecuredRemoteCommand.java:57) at com.sap.core.connectivity.config.cmd.ConfigurationConsoleCommand.createHttpClient(ConfigurationConsoleCommand.java:254) at com.sap.core.connectivity.config.cmd.GetAction.download(GetAction.java:79) at com.sap.core.connectivity.config.cmd.GetAction.run(GetAction.java:52) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:295) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:260) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:235) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:85) Caused by: com.sap.core.utils.infrastructure.validation.HostValidationException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:304) at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:95) ... 8 more Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776) at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:284) ... 9 more
    BR
    Beata

    Hi Beata,
    The CRM scenario is working again. We had to re install the Connector and deploy a new proxy app.
    Therefore you would need to download the code from the GitHub repository again. The changes you need to do on your side:
    1. Redeploy the new crm__public destination file - the updated destination now points to the new location of the proxy application
    2. Update the code of the registration form scripts (form.js and form.spec.xml).
    Regards,
    Ido

  • I getting error when connecting my new iPod in my car. Getting error that usb is not recognized.

    I getting error when connecting my new iPod in my car. Getting error that usb is not recognized.

    Not all car systems are compatible with the iPod touch.  Does the documentation/website for the car system say it is compatible with an iPod with iOS 5?

Maybe you are looking for

  • Unable to open project file - from one 6.0.2 to another 6.0.3.

    Hi We're at a time-critical stage of finishing our movie, and we need to get the color-corrected sequence from the post-house to our studio so we can make some picture changes and get it back to them. They can open the project file just fine (it was

  • How do I transfer photos from iphoto to my ipad 2

    how do I transfer photos from iPhoto to my iPad 2

  • How do I upgrade from OS 9.0 to OS 9.1?

    I'm not a mac person, I'm a windows guy. I'm clueless when it comes to this mac stuff. I need to upgrade an old iMac G3 from 9.0 to 9.1 (or later). I downloaded a file from this site called MacOS_9.1update.smi.bin. I was hoping I'd be able to burn it

  • Display values in different versions for 3 specific years

    Hi I want to show in a dynamic report and in a dynamic input schedule values for different versions ACT and PLAN via Excel client. In the rows are entity, time (for 2009, 2010, 2011) and version. And in the columns are special time dimension to show

  • Onclick validation and action for a4j:commandbutton

    Hi, I have a requirement: when i click on a button, it has to show ok/cancel dialog box and if it is ok, then we have to call server code in ajax manner, else just be there doing nothing. I implemented like below: Case 1: JSF code: <a4j:commandbutton