Failed to open HTTP connection to server--OBIEE11g

Hi,
Mistakenly my machine got restarted and after that when I tried to start OPMN services,its showing all the processes alive but after that ,while restarting BI services from windows
its throwing an error of unexpectedly shutting down of services.
My NQS log says:
[nQSError: 12010] Communication error connecting to remote end point: address = 192.168.10.209; port = 80.
[nQSError: 46119] Failed to open HTTP connection to server 192.168.10.209 at port 80.
I have checked that IP is still same. What is the issue behind it?
This is very urgent.I have already posted this issues many times but didn't get any response So please help.
Regards,
Rajeev khanna

HI,
I have checked Repository DB is up and while starting OPMN services from via cmd (command prompt), all components are showing up but still not able to login to EM,console and Analytics. As I have earlier mentioned that NQS server log is throwing the below error:
[nQSError: 12010] Communication error connecting to remote end point: address = 192.168.10.209; port = 80.
[nQSError: 46119] Failed to open HTTP connection to server 192.168.10.209 at port 80.
Please suggest.

Similar Messages

  • 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

  • Java.io.IOException: open HTTP connection failed

    I got this error message when trying to load applets in a web page, with J2SDK_Forte:
    ==================================
    load: class myClass.class not found.
    java.lang.ClassNotFoundException: myClass.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:151)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:478)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
         at sun.applet.AppletPanel.run(AppletPanel.java:290)
         at java.lang.Thread.run(Thread.java:536)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:224)
         at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:40)
         at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:141)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)
         ... 10 more
    ==================================
    The applet is in the same directory as the ASP. It is a NT 4 (SP6) server. The applets loaded and ran fine with jdk1.3. Do I need to do something different in my ASP, or IIS setup to allow java applet HTTP connection in JDK1.4?
    Thanks!

    I have the exact same problem but have yet to find a solution.
    It works fine in 1.3 but fails occasionally in 1.4. If I refresh the browser several times it eventually
    loads.
    Scott

  • Failed to load applet ( Caused by: java.io.IOException: open HTTP connect )

    Sometimes this error occurs :
    load: class applet.OMcsAppletMeetMeConf...
    java.lang.ClassNotFoundException: applet.OMcsAppletMeetMeConf
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://192.168.73.101/mcs/applet/applet/OMcsAppletMeetMeConf.class
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 7 more
    Exception: java.lang.ClassNotFoundException: applet.OMcsAppletMeetMeConf This error occurs sometimes while applet load. In most cases program work normally
    I can not know the cause.
    plz.. help me..
    system info
    - java version : 1.6.0_17
    - browser : ie 8 (but this error also occurs to ie 7, ie 6)
    - html source is :
    <applet id="mm_app" alt="" codebase="/mcs/applet" code="applet.OMcsAppletMeetMeConf"
    width="800px" height="400px" archive="signedApplet.jar">
    </applet>

    namgung0718 wrote:
    Sometimes this error occurs :
    load: class applet.OMcsAppletMeetMeConf...
    java.lang.ClassNotFoundException: applet.OMcsAppletMeetMeConf
    Caused by: java.io.IOException: open HTTP connection failed:http://192.168.73.101/mcs/applet/applet/OMcsAppletMeetMeConf.class
    - html source is :
    <applet id="mm_app" alt="" codebase="/mcs/applet" code="applet.OMcsAppletMeetMeConf"
    width="800px" height="400px" archive="signedApplet.jar">
    </applet> As an aside. Since 'px' is the only valid unit for width and height, they should not be included in the applet element.
    ..This error occurs sometimes while applet load. In most cases program work normally
    I can not know the cause.That applet element combined with the address would imply the JRE was (first) looking for the applet at..
    [http://192.168.73.101/mcs/applet/signedApplet.jar]
    When I try that link in FF, I get the message..
    Network Timeout
    The server at 192.168.73.101 is taking too long to respond.
    plz.. help me..Please take the effort to spell all 6 letters of the word 'please'.

  • Java.io.IOExcetion :open HTTP Connection Failed

    Hi Everybody,
    I'm getting the java.io.IOExcetion :open HTTP Connection Failed error when I'm trying run a html page with an embedded Applet in it.
    We are having a proxy server and all our network traffic have to be done through proxy.
    But in Browser we give exemption to local host.
    When I run the html file outside JDeveloper keeping it in the same directory in which the Applets class file is : I'm getting the Applet running.
    But If I run the html page From JDeveloper , I'm getting the above said error.
    My JRE is configured to use Browser settings and the browser is set to use the proxy.
    Why are applets not able to connnect to the sever?
    How to make Jdeveloper connect to proxy?
    Thanking you for the answer?
    Samba

    Oh ! I thought i could change in my pc control panel settings for rectify the error (java.io.IOException: open HTTP connection failed.)..
    Ok now my name is displayed in forum..
    Which trigger i have to call when a form is loaded? (Instead of When-New-Form-Instance ).
    I am running samples which i downloaded from your website only.(A java input dialog box)
    Input Dialog box is not displayed?
    and also java.io.IOException: open HTTP connection failed error is displayed...

  • Webutil - Open HTTP Connection failed error

    Hi all,
    I am trying to setup webutil on 9iDS. I have configured all the necessary files & the registry as per the manual & the read me.html.
    I have doubts on the \ (slash) used for the virtual path in orion_web.xml and forms90.conf. Is it supposed to be
    C:\webutil\lib or C:/webutil.lib ?
    Should WebUtilArchive be set to /forms90/webutil/webutil.jar or /webutil/webutil.jar?
    Can someone please help me with the foll. error.
    Console message
    WARNING: Unable to cache http://houwdisndgd01:8888/forms90/java/=/forms90/webutil/webutil.jar
    Loading http://houwdisndgd01:8888/forms90/webutil/jacob.jar from
    JAR cache
    Loading http://houwdisndgd01:8888/forms90/java/f90all_jinit.jar from JAR cache
    load: class oracle.forms.webutil.common.RegisterWebUtil not found.
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
    BTW I don't get this error on the apps. server but my call to CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY or WRITE_REGISTRY still raises the When Others exception on the apps server.
    Please help !
    Thanks
    Kalpana

    Check the entries pointing to webutil
    I see an '=' in your path.
    cache http://houwdisndgd01:8888/forms90/java/=/forms90/webutil/webutil.jar
    my entries for webutil.jar (on windohs) looks like this
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar

  • Crystal Server 2011 "Failed to open the connection" with 32 & 64 bit drivers are loaded

    Brand new installation of Crystal Reports Server 2011 with CR Developer 2011 as well.  Downloaded new Postgres and MySQL drivers for both the 32 and 64 bit ODBC definitions.  Created a new report on the server to eliminate any migration driver incompatibility issues.  Reports run fine in Developer but give the same "Failed to open the connection." 
    and still problems running the reports  If I Save Data with the reports, I can click View to see the data, but they will not refresh.
    All the articles I'm finding online seem to point to the issue with needing 32 & 64 bit drivers, but I've loaded both and built my ODBC connections with the 32 drivers in the SysWOW64 folder.
    Logged in as Administrator.  Any thoughts out there?  Are there some new security measures?
    Thanks in advance ...

    Yes, Designer and CRS are on the same machine.
    Good catch with the 5.1 driver.  I loaded up the mysql-connector-odbc-5.1.13-win32 driver and used that.  It alone failed when I made the ODBC connection with it.  I see on the CRS 2011 Feature Pack 3 .pdf file that it says "Only 64-bit database connector middleware is supported" ... I downloaded the other mysql-connector-odbc-5.1.13-winx64 64bit file, but teh .msi and .zip versions failed on the load.  Do I need that if it says that or should the first one be enough?
    I've been trying to use a normal User DSN, no?  Apparently I don't have access as a machine Administrator to do it as I get "You are logged on with non-Administrative privileges.  System DSNs could not be created or modified."  Having our server guys get that straightened out and we'll see.  Had not heard of that actually but will give it a go.
    You say I should create the DSN entries in the 64 bit version of the ODBC Data Source Administrator ... located in the system32 folder, not the SysWOW64 folder, where the 32 bit drivers are found, yes?  Isn't that the "wrong" location to use I've been reading?  Or are System DSNs different from a User DSN?
    BIG thanks for the replies.  I owe you beers!!!!!

  • Error"Failed to open the connection"  - Named Instance of SQL Server 2005

    "Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
    The report is throwing error, when changing the logon information dynamically through C#.
    Code
         string reportPath = @"D:\NET\TestReport\TestReport.rpt";
         ReportDocument reportDocument = new ReportDocument();
         reportDocument.Load(reportPath);
         foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
              TableLogOnInfo tableLogonInfo = table.LogOnInfo;                         
              tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1";  //Connnecting to Named instance of SQL Server 2005
              tableLogonInfo.ConnectionInfo.UserID = "sa";
              tableLogonInfo.ConnectionInfo.Password = "password";
              tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
              table.ApplyLogOnInfo(tableLogonInfo);     
         crystalReportViewer1.ReportSource = reportDocument;
    Error Message
         Failed to open the connection.
         Failed to open the connection.
         C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
    The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
    Thanks in Advance
    Edited by: pugalendran p on Feb 2, 2009 10:32 AM
    Edited by: pugalendran p on Feb 2, 2009 10:43 AM

    Hi,
    Following solution might help you to resolve the issue.
    Solution1:
    Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
    Resolution
    Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
    Import the universe from the designer.
    Go to File->Parameters.
    Edit Connection.
    On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
    Change the DSN to new DSN connection
    Test the connection.
    Save the Universe and Export it to the repository.
    Solution2:
    I am taking Oracle as an example over here.
    This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
    Resolution
    To resolve,
    check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
    look for any paths that contain a mapped drive partition
    Change the mapped drive letter to a UNC path (
    server\folder)
    Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
    If the path is not updated to the new path
    Reboot the server
    Regards,
    Sarbhjeet Kaur

  • Failed to open the connection on CR Server 2008 .

    Hi,
    1. I used trial version of CR Server 2008 V1 SP3, I upload a rtp file into this server and try to view. but after parameters input, I got "Failed to open the connection".  this rpt work very will on my CR Server XI version.
    2. on this new CR server, this rpt file database configuration, I used "use original database logon information from report" and select "Prompt the user for database logon".
    3. on my old CR server, when I view this RPT, system will prompt a logon information to let me logon DB, but on new server, system didn't show the DB logon screen before input parameter.
      On client PC, I has set a system DSN when I created this rpt file. Does anybody can help ?
    Thanks

    You may check these threads:
    Re: Crystal Reports Add-on error on workstations
    Crystal Report Add On - Connection error.
    Crystal Reports install errors on workstation
    Thanks,
    Gordon

  • FormsGraph: open HTTP connection failed

    I have the forms 9i demos installed and they work fine. However when I put my own form into the bigraph\forms directory and try to run it, the form itself runs but I have no chart. The implementation class is the same as in the FormsGraph demo.
    I have copied the [bigraph] config information in forms90demo.cfg to my own config, changing only the fmx name and the userid. However, the java console shows
    ..java.lang....open HTTP connection failed
    followed by a number of java classes.
    What could be going wrong?
    Adrian

    Frank, this is from the java console
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 90290
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    and this is the forms90demo.cfg, which I have
    modified to make sure I hadn't missed anything
    for FormsGraph capabilities
    (I have stripped out the other named configs)
    # Forms 9i Samples and Demos Configurations
    # Generic settings for the Demos and Samples
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overriden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    baseHTML=demo90base.html
    baseHTMLie=demo90baseie.html
    baseHTMLJInitiator=demo90basejini.html
    HTMLdelimiter=%
    # WorkingDirectory defaults to <oracle_home>/forms90 if unset.
    workingDirectory=
    envFile=forms90demo.env
    # The next parameter specifies how to execute the Forms applet under
    # Microsoft Internet Explorer 5.x.
    # The Demos want to use JInitiator as we ahve many demos that need a 1.3 JVM
    IE=JInitiator
    # These settings support running and debugging a form from the Builder:
    otherparams=debug=%debug% buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%quiet% render=%render% host=%host% port=%port% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    debug=no
    buffer=no
    debug_messages=no
    array=no
    query_only=no
    quiet=yes
    render=no
    host=
    port=
    record=
    tracegroup=
    log=
    term=
    # Values for the Forms applet parameters:
    serverURL=/forms90demo/l90servlet
    codebase=/forms90demo/java
    imageBase=DocumentBase
    formsMessageListener=
    recordFileName=
    serverApp=default
    # General Shared settings which define the Look and feel of the Demos
    width=675
    height=480
    separateFrame=false
    splashScreen=no
    lookAndFeel=oracle
    colorScheme=blue
    background=/forms90demo/images/blue.gif
    logo=/forms90demo/images/Forms9i.gif
    # Other settings
    scripting=false
    # Default JARs
    archive=f90all.jar,/forms90demo/jars/demo90.jar
    archive_jini=f90all_jinit.jar,/forms90demo/jars/demo90.jar
    archive_ie=f90all.cab,/forms90demo/jars/demo90.cab
    # Jinitiator and iAS general settings
    # Number of times client should retry if a network failure occurs. Only
    # change after having read the documentation.
    networkRetries=0
    # 4) Parameters for JInitiator (used with Windows clients)
    # Page displayed to Netscape users to allow them to download JInitiator.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms90demo/jinitiator/us/jinit_download.htm
    # Parameters related to the version of JInitiator.
    jinit_classid=clsid:CAFECAFE-0013-0001-0013-ABCDEFABCDEF
    jinit_exename=jinit.exe#Version=1,3,1,13
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.13
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    [qt]
    userid=capel/james@bond
    form=portfoliomanager.fmx
    #width=960
    #height=1200
    #baseHTML=qtbase.htm
    #baseHTMLjinitiator=qtbasejini.htm
    #baseHTMLjpi=qtbasejpi.htm
    #baseHTMLie=qtbaseie.htm
    archive=f90all_jinit.jar,/forms90demo/jars/demo90.jar,/forms90demo/jars/FormsGraph.jar
    archive_jini=f90all_jinit.jar,/forms90demo/jars/demo90.jar,/forms90demo/jars/FormsGraph.jar
    #background=NO
    #look-and-feel=Generic
    #logo=NO
    imagebase=codebase
    # End
    Even when I replace graph90.fmx in the [bigraph] named configuration with my portfoliomanager.fmx I still get these errors. This leads me to think there is something wrong with the form itself. The demos work fine.

  • ClassNotFoundException,open HTTP connection failed

    Hai All,
    when I try to run my applet in webpage the applet is notinited
    & i found the following stacktrace in java Console:
    Requesting URL: http://localhost/PCC/Applet/ImgDemo.class
    load: class ImgDemo.class not found.
    java.lang.ClassNotFoundException: ImgDemo.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    Is this a problem with classpath or OS or my code.
    Thank you.

    Hi mate.
    You realise you double posted? Bad move :P
    Your problem is with your HTML tagging; you need
    <applet codebase="http://sitename.com/path/to/applet" code="ClassName.class" archive="ArchiveName.jar" width="500 height="460">
         <param name=.... />
         <param name=.... />
    </applet>In the above, 'archive=...' is only necessary if you've jar'ed your applet, and obviously width and height you specify according to your needs.
    HTH.

  • [Forms6i - PJC/BeanArea] java.io.IOException: open HTTP connection failed.

    Hi,
    I'm using a pjc on my forms but on runtime i received an error: open HTTP connection failed.
    The output of my java console is :
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = D:\documents and settings\OFV7600
    Proxy Configuration: Automatic Proxy Configuration
    JAR cache enabled
    Location: D:\documents and settings\OFV7600\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://do040001334/forms60java/f60all.jar from JAR cache
    Loading http://do040001334/hsd65-java/hst65.jar from JAR cache
    Loading http://do040001334/forms60java/classes12.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest.jar.sig from JAR cache
    Loading http://do040001334/forms60java/browser_jpkg.jar.sig from JAR cache
    Loading http://do040001334/forms60java/TutoFichier.jar.sig from JAR cache
    Loading http://do040001334/forms60java/stip.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_scroll.jar.sig from JAR cache
    Loading http://do040001334/forms60java/client.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_geosoft.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest20060320.jar.sig from JAR cache
    connectMode=Socket
    serverHost=DO040001334
    serverPort=9000
    Forms Applet version is : 60824
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Where is my problem ?
    How to resolve my problem ?
    Thanks

    thanks,
    I had do the classpath
    Now, I have another problem
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = D:\documents and settings\OFV7600
    Proxy Configuration: Automatic Proxy Configuration
    JAR cache enabled
    Location: D:\documents and settings\OFV7600\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://do040001334/forms60java/f60all.jar from JAR cache
    Loading http://do040001334/hsd65-java/hst65.jar from JAR cache
    Loading http://do040001334/forms60java/classes12.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest.jar.sig from JAR cache
    Loading http://do040001334/forms60java/browser_jpkg.jar.sig from JAR cache
    Loading http://do040001334/forms60java/TutoFichier.jar.sig from JAR cache
    Loading http://do040001334/forms60java/stip.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_scroll.jar.sig from JAR cache
    Loading http://do040001334/forms60java/client.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_geosoft.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest20060320.jar.sig from JAR cache
    connectMode=Socket
    serverHost=DO040001334
    serverPort=9000
    Forms Applet version is : 60824
    _____START CADViewerWrapper() constructor_____
    Running CADViewer 8.0.6d
    Exception =java.security.AccessControlException: access denied (java.io.FilePermission viewer.cfg read)
    java.security.AccessControlException: access denied (java.io.FilePermission viewer.cfg read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at java.io.File.isDirectory(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at com.cadviewer.be.a(Unknown Source)
         at com.cadviewer.be.do(Unknown Source)
         at com.cadviewer.e0.m(Unknown Source)
         at com.cadviewer.e0.a(Unknown Source)
         at com.cadviewer.ViewerAWT.<init>(Unknown Source)
         at cadtest20060320.CADViewerWrapper2.<init>(CADViewerWrapper2.java:78)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    Netscape security model is no longer supported.
    Please migrate to the Java 2 security model instead.
    Netscape security model is no longer supported.
    Please migrate to the Java 2 security model instead.
    protocol=file,fileURL.getHost()=,fileURL.getPort()=-1,fileURL.getFile()=/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    FileToArray url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    longName=dummy.dwf
    java.lang.NullPointerException
         at java.awt.Container.addImpl(Unknown Source)
         at java.awt.Container.add(Unknown Source)
         at cadtest20060320.CADViewerWrapper2.<init>(CADViewerWrapper2.java:84)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    __START CadWrapper public void init
    __END CadWrapper public void init
    What about

  • Error: java.io.IOException: open HTTP connection failed

    When im trying to load ANY Java applet i get this error:
    load: class y.po.0 not found.
    java.lang.ClassNotFoundException: y.po.0
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 morePlease help me.. what can i do?
    I tried to load the applet in IE and Firefox.. no luck.. :(

    Hi ,
    Even Iam getting same error error message is as follows. I tried setting codebase to appropriately but still Iam getting the same error. I searched all the forums they were also talking abt proxy setting does has any idea is that is also one of the reason. Please let me know how can I fix this problem. same application works fine with MSJVM but not with SUN JVM 1.4.2_07.
    Waiting for reply....
    Thanks
    Nagaraj
    ERROR Message:
    load: class EFileDownloadViewApplet.class not found.
    java.lang.ClassNotFoundException: EFileDownloadViewApplet.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)

  • Errors: "java.io.IOException: open HTTP connection failed"

    I am trying to execute an applet, but ocorrs the following errors:
    "Java.lang.ClassNotFoundException: InterfaceApplet.class Caused by: java.io.IOException: open HTTP connection failed"
    Why don't open HTTP connection???
    I already signed the applet and my applet.html is:
    codebase='http://200.134.165.36/path' code= 'applet.class' archive='appletSigned.jar'
    ....

    It's not difficult understand the topic.
    The actual DNS resolution implementation of Java is faulty.
    It's the ONLY service in my Windows machine that couldn't do a correct DNS resolution, stand alone application, Internet Explorer and Mozzilla web pages with applet-
    If i use IPs all go fine... when i use domain java fail.
    ALL java... non only applet. Also Java Web Start fail.
    I controlled proxy, there isn't. i say to java to do a direct connect.
    The only thing in my net configuration of strange is the router, a zyxel 660hw... nothing else... my pc work fine with all the rest of the programs that use IPs. Only java is faulty.

  • Failed to open the connection. Error in the Designer when copying ...

    I have two different systems I am developing an application on.
    I copy the entire directory from one system to the other. Both systems have the same environment:
    Visual Studio 2010
    Crystal Reports for Visual Studio 2010 (the production release, or I think it is the vesion is 13.0.2.0 is the version on the assemblies)
    SQL 2008 R2
    Today, I started adding Crystal reports to this VS solution. I have a reportdriver class that exports all the reports to an HTTP Stream, but we can sit that aside for now. The problem I am having is strictly with the integrated designer.
    I have a bunch of existing reports written for an old Sybase databse. I have ported them to SQL and the table structure matches. I simply add the report to my project, point it to the new datasource (using "Set Datasource Location" - OLE ADO SQL) and then preview the report to be sure it runs.
    I am just using "localhost" as my server name for the OLE connection so I...in theory... don't have to change the data source to view it on the other system. Both systems have SQL 2008 R2 installed locally. For my login credentials, I use SQL Security and use the same database login/password on both development machines andthe production server.
    Today, I copied my entire project to the other PC (as I do almost every day).. When I open any of the reports (in VS) and try to preview them I get:
    Failed to open the connection.
    Details: ADO Error Code: 0x80004005
    Source: Microsoft OLE DB Provide for SQL Server
    Description: [DBNETLIB][ConnectionOpen (Connect().]SQL Server does not exist or access denied.
    SQL State: 08001
    Native Error: 17 [Database Vendor Code: 17]
    I can only guess that I am using two different OLE ADO drivers on the two systems or there is something embedded in the rport or somewhere in my solution that "knows" I am not really on the same system that I initially set them up on and previewd them with.
    Am I on the right track? Any idea how I can fix this? Obviously, I don't want to have to setup the datasource for every report in my application (if I do that, the report works) when I copy it from the development to the production server.
    I am in a real bind here and under a fast aproaching deadline. Any help is much appreciated!!!
    Shayne

    Don't use localhost as your server name. It's a reserved name and should not be used in code.
    Try this also [Kbase |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    Edited by: Don Williams on Jan 30, 2011 6:02 AM

Maybe you are looking for