Cannot display a named part of a HTML page

Hallo,
I want to display a named part of a HTML page in a JEditorFrame.
I have index.html and a part of it is named with <a name="label1">
My Java code looks as follows
     url = this.getClass().getResource("/Res/index.html#label1");However, I get no URL back from this call. And I have not found any other means to set the ref variable in the URL object.
Need your help on how to set the fragment name in the URL object.
Thanks
Walter

Hallo,
with your help I have now the code below which works within Eclipse as well as from a jar file and supports named fragments in HTML files as well. For the sake of completenes, here is how it looks llike
     public HTMLBrowser(String dir, String startPage, String fragment) {
          URL url = null;
          String sFragment = "";
          String sFile = "";
          if (fragment !="") sFragment = '#' + fragment;
          try
               String urlName;
               if (dir == "") urlName= '/'+startPage;
               else urlName = '/' + dir+'/'+startPage;
               url = this.getClass().getResource(urlName);
               if (!url.getPath().startsWith("file:")) sFile = "file://";
               else sFile = "jar:";
               setPage(sFile + url.getPath() + sFragment);
          catch (Exception e)
               JOptionPane.showMessageDialog(null, e.getMessage(), "Error Message", JOptionPane.ERROR_MESSAGE);
     }Thanks a lot for all your help. I will try to look at your second alternative and see whether I can get the code working.
Walter

Similar Messages

  • How to display a text file in a html page?

    I have written a servlet that executes a batch file whose output is saved to a txt file. I am attempting to display content of the text file as a html page from the servlet but am struggling I have attempted to read the file and output it as shown below but it is not displaying the correct data
    Appreciate some help
    Thanks in advance
    Amjad
    Runtime r = Runtime.getRuntime();
    Process p = r.exec("C:\\Condor\\test\\QueStatus.bat");
    PrintWriter out;
    String title = "Que Status";
    response.setContentType("text/html");
    out = response.getWriter();
    FileReader fr = new FileReader ("C:\\Condor\\test\\output.txt");
    for (int chr = fr.read(); chr != -1; chr = fr.read()){
         out.print(chr);
    }

    Couple of things. First you should search the forums for how to properly exec a dos batch file. There are some problems you may run into especially with io. I suspect you may not actually be running that batch file at all.
    I would test outputing a text file separately from execing the batch file.
    Here is some code so you don't have to output 1 char at a time. Setting the content length and closing the output stream might help.
    File downloadFile = new File("c:\\blah\\blah\\blah");
    response.setContentLength((int)downloadFile.length());
    response.setContentType("text/html");
    ServletOutputStream out = response.getOutputStream();
    FileInputStream fis = new FileInputStream(downloadFile);
    byte[] buffer = new byte[1024];
    int bytesRead;
    while ((bytesRead = fis.read(buffer)) != -1) {
    out.write(buffer, 0, bytesRead);
    fis.close();
    out.close();

  • Display images stored in BLOB in html pages via JSP

    Hello,
    My images are stored in BLOB column of other base than portal.
    in JSP i have to display them in html pages.
    anybody have already did the same thing ?

    teggvb6,
    I believe you should be able to get it to work by doing the grants to the user specified in the DAD (i.e. the user that is logging into Oracle) rather than PUBLIC (someone else may correct me on this?).
    If you're concerned that the procedure could be called by others then I guess you could do some sanity checking within the procedure, for example checking v('APP_USER') or maybe v('SESSION') or perhaps do something clear with the REFERER http header? I haven't thought this through yet but I'm pretty sure you should be able to tie it down a bit more.

  • Display ABAP variable in an HTML page

    I am trying to display an ABAP variable in an HTML page. What is the syntax for the same? Kindly help.

    Thats exactly what im doing...modifying a class to change the properties of the table in a web template. Srry its not a BSP page....
    I tried ur syntax..
    concatenate '<table><tr><td colspan=6 style="background:green;height:20px">'l_r_tmp_var'</td></tr></table>' into C_CELL_CONTENT.
    .It gives an error..
    After "'<table><tr><td colspan=6 style="background:green;height:20px">'", there must be a space or equivalent character (":", ",", "."). (":", "          
    And when i remove the single quotes from the variable...it gives an error...
    Unable to interpret "'<table><tr><td colspan=6          
    style="background:green;height:20px">l_r_tmp_var</td></tr></table>'".     
    Possible causes: Incorrect spelling or comma error.     
    Plz help...

  • Displaying image in html page

    hi one and all!!
    how can i display an uploaded image in same html page??
    i have uploaded that image using file input...but i couldn't able to make this image visible in the page where i want.plz write ur snippet..
    thanks!!

    A few things (also referring to the other topics in your topic spree):
    1) Chill down.
    2) Please write normal human readable English sentences.
    3) Show your effort in your problems.
    4) Ask specific coding problems. What have you written so far and what is failing exactly?
    5) Bookmark http://www.google.com and learn how to use it.
    To get straight on your initial question: you can display images in a HTML page using the <img> tag.

  • QuickTime movies cannot display properly, refresh doesn't work propely for html files on hard disk, opening a new tab doesn't work

    Hi!
    I have tried Firefox V4 (but have since reused V3.6.16). The following problems were found:
    a. Cannot display the controls used for QuickTime movies.
    b. The refresh button doesn't function at all if the html files reside on the hard disk. I do this because I need to test the appearance of the web page before uploading to the server.
    This problem also exists for v3.6.14 to v3.6.16
    c. When opening a new tab, it doesn't work. Instead, it will open another instance of the browser. By right, it has to open the web page on the same instance of the browser.
    This is my feedback.
    Thanks!!!!! :)

    I had some advice to try recording QT audio and adding to the slide.  Now, when recording to Quicktime, it does embed it, but in recording the presentation, it either doubles up the audio giving a strange echo or does the same thing if you ever edit the presentation.
    The problem Keynote has is that the sound and image content are not locked together which causes out of sync errors. This is why many users choose video editing applications when using sound in the presentations, as they have both image and audio tracks to sync sound properly together.
    Start a new presentation to remove the previous sound recording, Keynote is holding onto the other sound files.
    Add the graphic items to each slide and one sound file to each slide for the voice over
    1 - In Inspector > Transitions;  use start transitions automatically and set each transitions delay to the duration of the individual sound file.
    2 - In QT export, set Fixed Timing and delete the value in the duration box, QT will then use the custom timings for each individual slide.
    This procedure does work exactly as needed, Iv used this for nearly 6 years using 4 different versions of Keynote.

  • Cannot display remote images in HTML messages

    Hi all.
    This has been a problem since Tiger for me and ironically, is affecting me on two macs (although I sync the two together, so whatever the problem is, I'm guessing it's been copied to both locations). Here's the deal:
    I cannot display images in my messages. If I click the checkbox (under viewing in mail prefs) "display remote images in HTML messages" I get the same behavior as if it is unchecked. I've tried checking and unchecking to no avail. My guess is a corrupted preference file, but I don't know which one. If I delete my mail prefs, will I need to do anything with regards to my mailboxes etc? I have over 3GB of offline mail, all filed away into hundreds of folders and do NOT want to mess with that.
    Any suggestions are most appreciated. I'd love to see my images again without clicking on the "load images" button for EVERY email.
    Thanks,
    Rob

    I can't believe there's no answer for this at Apple Support! (I looked.) On my MacBook with Leopard (10.5.6 and Mail 3.5) the problem is fairly recent - I only noticed it a few days ago. Unchecking and rechecking the Display remote images in HTML messages does not work, and neither does restarting the computer (I rarely do, preferring to put it to sleep.) Before I removed the plist I thought I'd check here first, having the same reasons for reluctance as xrob - and a good thing I did, too. I'd hate to have the same (bad) experience as someone who already tried it. The only thing I can think that I changed recently was to add SSL support to (all) my accounts. Could that be the culprit? I guess not. I removed "use SSL" on one of the accounts but it changed nothing, except for the port number. I closed and re-opened Mail but did not restart the computer. And, where do you find the "load images" button?

  • Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor

    Dear All,
    I am frequently getting following error message on aspx pages on my SharePoint 2007 environment
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer.
    If the problem persists, contact your Web server administrator.
    Upon refreshing and restarting the browser several times, this error message temporarily gone and everything becomes fine. But after some time same error message starts appearing again. Also I have noticed that this error message also appears
    while working with SharePoint Designer 2007.Any clues how to resolve this issue ? 
    Any help in this regard will be greatly appreciated.
    Muhammad Tariq khan

    Hi All,
    As I regenerated the problem (Unable to display this Web Part... ) from the faulty
    user. I experience following error message in the ULS logs...
    Error while executing web part: System.Data.SqlClient.SqlException: Invalid object name 't5_sco'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()    
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior,
    Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean& bSucceed)    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback,
    ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter
    pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.WebControls.SPDataSourceView.ConvertToIEnumerableWrappers(SPBaseCollection items, Int32 firstRow, Int32 rowCount, String[] fieldList)     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator(IDataSource datasource, Boolean originalData)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
    viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform()
    What does this error message mean ?
    Muhammad Tariq khan

  • Problem in displaying html page in JEditorPane....

    Hi All,
    i was trying to display a html page in a JEditorPane. i was able to do that when i'm displaying a html page from a local machine.. But when i try to get the page from some website, it giving me
    "exception access denied (java.net.SocketPermission www.java.sun.com resolve)"
    exception. But if i run the same code thru JBuilder, its working. But thru appletviewer or thru IE or Netscape its throwing the error.. Any suggestion or help is highly appreciated....
    Thanks
    Ragu

    Java Applets are very secure, what is good. Java applets are extremely secure
    what is bad. So Applet cannot open TCP connection to any host rather than its
    home host. So you cannot get the resources from any other server (what is common to
    HTTP).
    In JBuilder iit works cause JBuilder is used for development and security in deevelopment
    is not an issue. But it confuses then you see.
    vpanasenko_even

  • Digital Input Cannot Display this Video Mode Optimum Resolution 1280 x 1024 60hz.

    HP Pavilion h8-1360t, Windows7 home premium 64-bit,  AMD Radeon HD 7570 graphics card.
    error message: Digital Input Cannot Display this Video Mode Optimum Resolution 1280 x 1024 60hz. 
    I get the error message as soon as Windows opens and the desktop displays.  Then it goes black with that message.  I've been using the computer for awhile and I had it so that when I maximized a window it would go across both screens.  I have two monitors on the graphics card.  Somehow I changed the settings so that a program would maximize to one monitor or the other.   That is how I want it to work.  Maybe I activated HydraVision.  Now I have the problem when I start.
    Also now when I boot to Safe Mode I get the message that there is no AMD graphics driver installed, or it is not functioning properly.  I have tried to update it and the computer tells me I have the most recent version installed.   I would like to uninstall it and reinstall it, but I'm a little worried I won't get it installed and be without video.  Something like that happened to me once before years ago.
    Could someone tell me what I should do please?
    Thanks,
    Jim Allen

    HP support is here:
    http://www8.hp.com/us/en/contact-hp/contact.html
    In safe mode you should uninstall the driver, then try to boot normal again.
    Then check if driver was installed by win7.
    If not go go AMD website and download latest driver for your card.
    V.
    *** Say 'Thanks' with Kudos ***

  • IE browser and Web Cache and SSL - Internet Explorer cannot display the web page

    When using IE8, IE9, or IE10 with Web Cache and SSL certain pages which display a lot of data returns the error - "Internet Explorer cannot display the web page."
    if we eliminate SSL but continue to use Web Cache, the error does *not* reproduce & If we eliminate Web Cache altogether the error again does *not* reproduce.  The error is only reproducible when we use SSL with Web Cache and if we use IE and we access *large* pages. The error is not reproducible with Firefox or Chrome. This is a Web Tier 11.1.1.7 installation with WebLogic 10.3.6 & Red Hat Enterprise 5 Linux x86-64
    Event_log shows below errors.
    [2013-06-13T16:34:35-04:00] [webcache] [NOTIFICATION:1] [WXE-09002] [logging] [ecid: ] Generated by Oracle Web Cache on Thu Jun 13 16:34:35 2013 - Build 11.1.1.7.0 130113.0721
    [2013-06-13T16:34:36-04:00] [webcache] [NOTIFICATION:1] [WXE-08513] [logging] [ecid: ] Cache server process ID 4469 is starting up.
    [2013-06-13T16:34:36-04:00] [webcache] [NOTIFICATION:1] [WXE-09612] [main] [ecid: ] Oracle Web Cache 11g (11.1.1.6), Build 11.1.1.7.0 130113.0721
    [2013-06-13T16:34:37-04:00] [webcache] [NOTIFICATION:1] [WXE-13002] [config] [ecid: ] Maximum allowed incoming connections are 1000
    [2013-06-13T16:35:00-04:00] [webcache] [NOTIFICATION:1] [WXE-09441] [stats] [ecid: ] DMS enabled
    [2013-06-13T16:35:28-04:00] [webcache] [NOTIFICATION:1] [WXE-12209] [cluster] [ecid: ] A 1 node cluster successfully initialized
    [2013-06-13T16:35:29-04:00] [webcache] [NOTIFICATION:1] [WXE-09614] [main] [ecid: ] The following Oracle Web Cache internal files are pre-populated to the cache: [[
            /nssb-p.adm.fit.edu:7785/_oracle_http_server_webcache_static_.html
            /nssb-p.adm.fit.edu:4448/_oracle_http_server_webcache_static_.html
    [2013-06-13T16:35:29-04:00] [webcache] [NOTIFICATION:1] [WXE-09614] [main] [ecid: ]  [[
    The following Oracle Web Cache internal files are pre-populated to the cache: [[
            /nssb-p.adm.fit.edu:7785/_oracle_http_server_webcache_checkserviceavailability_.html
            /nssb-p.adm.fit.edu:4448/_oracle_http_server_webcache_checkserviceavailability_.html
    [2013-06-13T16:35:29-04:00] [webcache] [NOTIFICATION:1] [WXE-09608] [main] [ecid: ] The cache server process started successfully.
    [2013-06-13T16:35:29-04:00] [webcache] [WARNING:1] [WXE-12104] [utl] [ecid: ] Oracle Web Cache process has page faulted
    [2013-06-13T16:44:22-04:00] [webcache] [ERROR:32] [WXE-11904] [security] [ecid: ] SSL handshake fails SSL-29049
    [2013-06-13T16:44:22-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: The record type is unknown.
    [2013-06-13T16:44:22-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: Remote IP [163.118.22.16]:55145
    [2013-06-13T16:44:22-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: Local IP 163.118.170.70:4448
    [2013-06-13T16:44:22-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: SSL error during handshake (details: internal=The record type is unknown. system=Success)
    [2013-06-13T16:44:27-04:00] [webcache] [ERROR:32] [WXE-11904] [security] [ecid: ] SSL handshake fails SSL-29049
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: The record type is unknown.
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: Remote IP [163.118.22.16]:55144
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: Local IP 163.118.170.70:4448
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: SSL error during handshake (details: internal=The record type is unknown. system=Success)
    [2013-06-13T16:44:27-04:00] [webcache] [ERROR:32] [WXE-11904] [security] [ecid: ] SSL handshake fails SSL-29049
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: The record type is unknown.
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: Remote IP [163.118.22.16]:55148
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: Local IP 163.118.170.70:4448
    [2013-06-13T16:44:27-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: SSL error during handshake (details: internal=The record type is unknown. system=Success)
    [2013-06-13T16:44:35-04:00] [webcache] [ERROR:32] [WXE-11904] [security] [ecid: ] SSL handshake fails SSL-28864
    [2013-06-13T16:44:35-04:00] [webcache] [ERROR:32] [WXE-11904] [security] [ecid: ] SSL handshake fails SSL-28864
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:44:47-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:45:18-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:45:18-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:45:22-04:00] [webcache] [ERROR:32] [WXE-11904] [security] [ecid: ] SSL handshake fails SSL-28864
    [2013-06-13T16:45:22-04:00] [webcache] [ERROR:32] [WXE-11904] [security] [ecid: ] SSL handshake fails SSL-28864
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:45:38-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    [2013-06-13T16:45:41-04:00] [webcache] [WARNING:1] [WXE-11905] [security] [ecid: ] SSL additional information: This error occurred because the peer closed the connection.
    [2013-06-13T16:45:41-04:00] [webcache] [WARNING:1] [WXE-11906] [security] [ecid: ] SSL details: success during initialization (details: internal=success system=Success)
    Any help or suggestions are greatly appreciated
    Tnx a lot,
    Lokesh

    Hello ,
    Try Below Workarounds:
    Workaround 1:
    Open Central Admin
    àApplication Management  à
    Configure Alternate access mapping-->Edit your web application zone and add your server name in Intranet zone. So default can be serverIP and intranet could be servername.
    Workaround 2:
    Might be there is some issue with DNS and try to check that WebApplication is pointing to correct IP or not.  
    Also try to access your Sharepoint site using ip Address .. If you still gets error Kindly share the logs .. 
    Best
    Regards Kuldeep Verma
    Please remember to click "Mark As Answer"
    if a post solves your problem or "Vote As Helpful" if it was useful.

  • Oracle Database 11gR1 Enterprise Manager Console Cannot Display in Browser

    Folks,
    Hello. I am running Oracle Database 11gR1 with Operaing System Oracle Linux 5. I have some issues regarding EM connects with the Database Server as below:
    First, the default listener is LISTENER with standard port number 1521 and protocol TCP/IP.
    Its corresponding service naming S1 is with port 1521 and protocol TCP/IP and hostname localhost.localdomain.
    I run this listener in the following way:
    Step 1: [user@localhost bin]./lsnrctl start LISTENER (This command runs sucessfully.)
    Step 2: [user@localhost bin] ./sqlplus SYS/SYS as sysdba (This command starts sqlplus sucessfully.)
    Step 3: [user@localhost sqldeveloper] ./sqldeveloper.sh (This command invokes SQL Developer sucessfully.)
    But when start Enterprise Manager Console, it cannot connect with the Database. I do it in this way:
    [user@localhost bin] ./emctl start dbconsole
    The above command's output is:
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ... ...
    When open the link https://localhost.localdomain:1158/em/console/aboutApplication in browser, this message comes up:
    The connection to localhost.localdomain: 1158 cannot be established.
    Thus, I add Port Number 1158 into both LISTENER and Service Naming S1. I run ./emctl start dbconsole again and get this message:
    The connection to localhost.localdomain:1158 was interrupted while the page was loading.
    In order to solve the above issue, I create another listener LISTENER2 and another Service Naming S2 with Port Number 1158 and protocol TCP/IP because
    in my point of view, each listener only can have one Port Number(1521 or 1158) and its corresponding Service Naming (S1 or S2) need to have the same Port Number and Protocol (TCP/IP).
    But when I run [user@localhost bin]./lsnrctl start LISTENER2, this message comes up: the listener supports no service.
    From the message, it seems that LISTENER2 cannot work with its corresponding Service Naming S2 with Port 1158.
    EM with Port 1158 cannot display in Browser.
    My questions are :
    First, Is there any relationship needed to be established between listener(LISTENER2) and Service Naming(S2) in order to display EM in Browser ?
    Second, how do folks display EM in browser ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying. I do the following command: [user@localhost bin]$ wget http://localhost.localdomain:1158/em
    The command returns the message:
    --11:36:33-- http://localhost.localdomain:1158/em
    Resolving localhost.localdomain... 127.0.0.1
    Connecting to localhost.localdomain|127.0.0.1|:1158... connected.
    HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
    Length: unspecified
    Saving to: `em'
    [ <=>                                                                                                              ] 7 --.-K/s in 0.002s
    11:36:33 (4.15 KB/s) - Read error at byte 7 (Connection reset by peer).Retrying.
    --11:36:34-- (try: 2) http://localhost.localdomain:1158/em
    Connecting to localhost.localdomain|127.0.0.1|:1158... connected.
    HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
    Length: unspecified
    Saving to: `em.1'
    100%[=================================================================================================================>] 7 --.-K/s in 0s
    11:36:34 (16.8 KB/s) - Read error at byte 7 (Connection reset by peer).Retrying.
    The above message repeats again and again until finally returns the following message:
    11:39:02 (40.2 KB/s) - Read error at byte 7 (Connection reset by peer).Giving up.
    In browser, http://localhost.localdomain:1158/em cannot display and pop up a Windows with the message: You have chosen to open whicn is BIN file from http://localhost.localdomain:1158 What sholud FireFox do with this file ? Save to Disk ?
    My question is:
    I don't know how to display http://localhost.localdomain:1158/em in Browser. How to solve the issue ?
    Thanks.

  • Display word/pdf document in the HTML region or report

    Hi,
    How to display blob content stored in a table in HTML region or report region.
    I already have a process to display the image content.
    But my question here is how to display word/pdf document within the html region so that the user can read the document without downloading it.
    Any suggestions/solutions would be of great help.
    Thanks in advance...
    Thanks,
    Ramesh P.

    I was dead wrong.
    The display of images from BLOB is a special case because APEX provides a Display Image item type.
    Moreover, HTP/HTF packages also do not provide for handling of BLOB content. So AJAX cannot be used.
    Which implies that the only way to get binary content, other than images, is with the use of a WPG_DOCLOAD.DOWNLOAD_FILE call.
    This in turn implies that it may not be feasible to "inject" the BLOB into an exist HTML DOM in the Browser.
    Regards,

  • Cannot display BIG5 characters for web applications deployed to 9iAS

    I have just installed the J2EE and Webcache module of Oracle9iAS Release 2 to
    my Windows NT Server 4.0 and deployed a simple web application to it. However,
    I found that the JSP cannot display chinese (Big5) characters correctly. My JSP
    is something like:
    <%@ page contentType="text/html; charset=BIG5" %>
    <HTML><BODY>
    <% String s = SOME_BIG5_CHARACTERS; %>
    <%= s %>
    </BODY></HTML>
    On the other hand, I tried to re-direct the standard output to a log file and
    do the following in my servlet.
    System.out.println(SOME_BIG5_CHARACTERS);
    Now, the Big5 characters CAN be displayed correctly in the log file. So, I am
    confused with where the problem is.
    Here are my settings to my 9iAS:
    1) Using regedit, I have set the NLS_LANG variable of the corresponding
    ORACLE_HOME to TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
    2) In the file %ORACLE_HOME%\Apache\Jserv\conf\jserv.properties, I have
    inserted the following line:
    wrapper.env=NLS_LANG=TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
    3) In the file %ORACLE_HOME%\Apache\Apache\conf\httpd.conf, I have added the
    following line:
    PassEnv NLS_LANG
    4) In the file %ORACLE_HOME%\opmn\conf\opmn.xml, I have added the following
    line to the corresponding OC4J instance:
    <environment>
    <prop name="NLS_LANG" value="TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5"/>
    </environment>
    5) For my application server, I set the java option with -Dfile.encoding=Big5
    6) I have replaced the file font.properties with font.properties.zh_TW under
    %ORACLE_HOME%\jdk\jre\lib.
    7) I have set the following in the file orion-web.xml of my web application:
    <orion-web-app
    deployment-version="9.0.2.0.0"
    default-charset="Big5"
    jsp-cache-directory="./persistence"
    temporary-directory="./temp"
    internationalize-resources="false"
    default-mime-type="application/octet-stream"
    servlet-webdir="/servlet/">
    </orion-web-app>
    Anyone have idea on fixing my problem? Thanks in advance.
    Regards,
    Kae

    I met a similar problem before but not exactly your case. When I compile the JSP by Jdeveloper, it will convert the chinese characters to strange characters. It makes me crazy to handle the chinese characters ...
    Anyway, by my experience, you better isolate the chinese characters from your JSP or Java programs. Instead, put all language dependent text in a properties file and then use native2ascii to covert your properties file into Unicode. Of course, u need to change your page charset to UTF-8.
    U can get more idea from the following site.
    Brief Description of Internationalization:
    http://java.sun.com/products/jdk/1.2/docs/guide/internat/faq.html
    Detail Tutorial:
    http://java.sun.com/docs/books/tutorial/i18n/
    Native-to-ASCII converter:
    http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/native2ascii.html

  • AppsLogin page cannot display

    Hi,
    I have successfully install Oracle Application R12 on Window Server 2003. Yesterday everything looking good until I try install APEX 3.0 on it.
    Now I cant login into my Apps again. When I type http://dev.thcp.com:8000/ in the browser, the page redirected to http://dev.thcp.com:8000/OA_HTML/AppsLogin, but the html body display "The page cannot be found", HTTP 404.
    I have remove all APEX installation and configuration files on OAS, restart the machine, and turn it on again. All of services (Database, listener, concurrent manager) has been started successfully, but AppsLogin page still cannot display.
    Help me. Does anyone know what mistake i have made? How i fix it, so I can login to my apps again. Have you install APEX on Oracle Application R12 instance? I need some guidance to install APEX on my Apps.
    Thanx a lot,
    Agas
    PS: The java applet can showed when I pushed to open form by type:
    http://dev.thcp.com:8000/forms/frmservlet?&serverApp=OracleApplications&lang=US&env=NLS_LANG='AMERICAN_AMERICA'+FORMS_USER_DATE_FORMAT='DD-MON-RRRR'+FORMS_USER_DATETIME_FORMAT='DD-MON-RRRR+HH24:MI:SS'+NLS_DATE_LANGUAGE='AMERICAN'+NLS_SORT='BINARY'+NLS_NUMERIC_CHARACTERS='.,'&form_params=+config='PROD'+icx_ticket='.1cnZ31mXJUjxdn0zAQjBSA..'+resp='SYSADMIN/SYSTEM_ADMINISTRATOR'+secgrp='STANDARD'+start_func='FND_FNDCPVCM'+other_params=''&encoding=US-ASCII
    However the form is blank, just display the Window menu toolbar and an error message:
    APP-FND-01516: Invalid application username, password or database.
    Username: APPLSYSPUB
    Database: database

    nothing to be sorry about :)
    You can use EBS General discussion forum General EBS Discussion for this issue.
    --Shiv                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • How to place the animation in the middle of the .html

    Hi there, i have got a question. How to place the whole animation in the middle of the ".html". Hope you know what i mean. Benno.

  • Rip from cable box to Macbook (iVideo)

    I have some recorded shows on my Scientific Atlanta Explorer 8300HD cable box that I want to rip to my Macbook using iVideo. The box is connected to my TV via an HDMI cable. It is an HD box, but they shows are not in HD. What do I need to do this? An

  • Blurry Renders

    Hi, Thanks in advance for any feedback. I have a NTSC DV Widescreen sequence with some 3:2 anamorphic footage and some motion graphics rendered out of After Effects using Animation codec (100% quality) and the comp settings are for DV widescreen. I'v

  • IPhone 5 question about Bluetooth headsets and headphone jack audio out.

    I have an iPhone 5. When I'm connected to a bluetooth headset, can I still use the headphone jack to play audio through my stereo between calls without having to disconnect the headphone jack for calls or shut off the headset for tunes?

  • Constant crashing with Snow Leopard, even with "clean install"

    I've had a lot of trouble with crashes after installing SL. These crashes seem related to video issues. iMovie crashes immediately. iPhoto crashes if I double-click a photo. QuickTime crashes all the time. Usually these crash the entire system. The v