Junk file downloaded when port number and connection scheme is mismatched

Hello All,
I am facing a peculiar issue in my server running Apache Tomcat/5.5.9.
I have a Tomcat server setup with 8080 and 8443 ports listening for http and https connections.
When I access the tomcat welcome page hosted in my server as below,
http://<servername>:8080 OR https://<servername>:8443
I get the expected web page. But when I change the scheme and port number,
as below,
http://<servername>:8443
This is what happens,
In IE:
Displays junk characters (in precise, 4 boxes)
In Mozilla/Safari(Mac):
Downloads a junk file which says that it is of type "application/octet-stream"
To shed some more light on the issue,
When I changed the secure server port to 443 and i tried accessing URL,
http://<servername>:443 it took me to the default tomcat welcome page and for any other port other than 443, it gave me the same behavior.
Please let me know if there is any solution for this above scenario and your comments on what is causing this behavior.
Thanks in Advance,
Uday

Hello All,
I found the reason for the problem,
1. No. By spec, SSL negotiation is the very first thing that happens on a SSL connection occurring; there's no way to determine that a non-SSL Connection is being attempted.
2. when we are asking for regular HTTP over a HTTPS port. You'll see the first few bytes of the negotiation, then the protocol will stop.
3. Accessing an HTTPS Connector via an http:// URL (or vice versa) won't work. It's as simple as that. Of course there's a solution for the strange behavior you see when you access an HTTPS Connector via http://:
So unless we fix the secure/insecure port numbers to 443/80 respectively, which we do not want to do, I believe that we would not be able to solve this issue.

Similar Messages

  • Host name, port number and service name

    Hi!
    I have a question that will sound easy and stupid, but not for me.
    during the instal of 9iAS.There is a screen ask to provide the host name,port number and service name.
    Did host anme is only the name of my PC?
    and what is the port number?(windows XP)
    what is the format of the service name (orcl)?
    Thanks
    Kamal

    if you used LDW as the connection/service name when you setup this connection to CMS DB, then no further changes to BOE configurations will be needed.
    If you used the service name PO and now it is changes to NEW_PO - then you'll have to update CMS DB connection info in CCM>SIA>Properties>Connection.
    See Admin guide for details.
    p.s.
    BOE services should be stopped while your changes on Oracle side are done and before you change the TNS file and connection info in CCM.

  • I want to delete a few contacts, apps, pics etc from my iphone, but when I delete and connect to my laptop they sync and come back again. How can I delete those items and not get them back when I connect my iphone to my laptop?

    I want to delete a few contacts, apps, pics etc from my iphone, but when I delete and connect to my laptop they sync and come back again. How can I delete those items and not get them back when I connect my iphone to my laptop?
    Also where exactly on the laptop is teh data stored.
    Thank you!!

    go to 'Edit' in the menu bar. Then choose 'Preferences'.
    you'll see a pop-up and there's a tab called 'Devices' there. If you click that, you will be able to check a box that says 'prevent automatic syncing for iPods, iPads and iPhones' or something like that.
    Hope this helps
    NB: if you don't even see the menu bar that has options like 'File, Edit, View, etc', first click the black/white square button on the top left of your screen, and then click 'show menu bar'. It should pop right up.
    Good luck

  • My Xtreamer media player won't read srt sub files downloaded from my iMac and stored in a 1Tb seagate external disk. However, the Xtreamer Elvira media player will read all the .avi files I have loaded in the external disk. Any ideas?

    My Xtreamer media player won't read srt sub files downloaded from my iMac and stored in a 1Tb seagate external disk. However, the Xtreamer Elvira media player will read all the .avi files I have loaded in the external disk. Any ideas?

    I am experiencing the same issue with a new external DVD burner, a Sony DRX-840U. When I load a CD into this external drive it appears in iTunes but when you go to import or play the CD iTunes indicates playing or importing for each individual track for just a moment. The end result is that nothing is ever imported or played. I am experiencing this on two different systems. One a notebook running Win2K and the other a desktop running XPpro. If I use the internal DVD drives on either of these systems everything work just fine. Yet I am able to use this new external DVD drive with every other application. For example Window Media Player has no problem playing or importing the same CD that iTunes fails on. The last person indicated that if one set the DVD drive in question to be the drive of choice under preferences>advanced>burning that all was ok. I my case this Sony external drive is the drive listed as the drive of choice for burning yet the issue still exists.
    As this appears to be an issue that others are also experiencing help from Apple Tech Support would be greatly appreciated.

  • When I try and connect to my wifi, I get a response that says "unable to connect to my wifi" and it does not even ask for my password

    when I try and connect to my wifi, I get a response that says "unable to connect to my wifi" and it does not even ask for my password; thoughts?

    Does the iPod connect to other networks?
    Does the iPod see the network?
    Do other devices now connect?
    Did the iPod connect before?
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • When I went and connected  phone to my laptop and hit restore and it got rid of everything my photos my contacts everything and I don't know how to get the stuff back and if you need to know I have an IPhone4S

    When I went and connected my phone to my laptop and hit restore and it got rid of everything my photos my contacts everything and I don't know how to get the stuff back and if you need to know I have an IPhone4S

    I take it you were replacing an older iPhone and this was the first time you plugged it in? If so, that's what happens. It restored the backup of your old phone. A backup of the current phone is not made in those circumstances.
    If that's not what happened, you need to clarify.

  • How do I receive the promised CS 6 Master Collection download when I purchased and installed CS 5.5?

    How do I receive the promised free CS 6 Master Collection download when I purchased and installed CS 5.5 in April?

    Contact customer support. You are long beyond the claiming period for your upgrade which ended in August, but I'm sure they can work it out.
    Mylenium

  • How to modify the port number and use subdomains

    Couple of things ...
    1 - default port for installation is on 7777 and 7778. Would it be possible to run everything on port 80? I would like to hide the port number and not have people type in http://domain.com:7778
    2 - how can we use subdomains for certain services? For example, webmail should be http://webmail.domain.com and the RTC should be http://conference.biztech.com
    thx

    we're using OCS both inside and outside our network.
    I had my dba modify the port so now everything runs on port 80. However, I dont know how to get virtualhost to work correctly.
    conference.domain.com -> RTC piece
    webmail.domain.com -> webmail piece
    i.e....

  • I recently dropped my ipod in water and i placed it into rice for 3 days. Then when i try and connect it to the computer it shows the no battery screen with just the lightning bolt. and when i try to restore it the screen flashes then resest

    Then when i try and connect it to the computer it shows the no battery screen with just the lightning bolt. and when i try to restore it the screen flashes then resest to the no battery screen and i get error 1602. Do you know what is wrong with it? do you think its just the battery cause i can replace that for cheap or do you think the circuts are fried?

    No. It sounds like the water destroyed the component inside the iPod.
    About your only choice now it to take it to Apple and pay for a replacement.
    Allan

  • File download dialog box events and work around

    Hi all,
    I have a amall problem.
    when i set content type and header for downloading a file which is generated from the server i get a "file download dialog box" (open/save/cancel)
    but the problem is i cannot capture the events i.e. if the client clicks 'cancel' since i cannot capture 'cancel' i cannot do some other modifications that need to be done when the file is not downloaded.
    is there any way which i can track if the file is actully downloaded by the client or not??
    Or is there any way i can just by pass this dialog box and get a "save as dialog box" which enables him to choose a location directly download to his hard drive.(In this case i ll get a javascript confirmation before actully creating the file)
    i am using IE6SP1.
    Thanks in advance for your support.

    Just using JSP/HTML/Javascript code I don't think there is a way to do what you want. You might be able to do so using a Java Web Start application - like a download manager.

  • Files locked when Windows clients are connected to ML Server via smb

    Hi,
    I've got a problem with windows 7 clients that are connected to my MacMini Server.
    When they open files on a shared folder, and modify them, files are locked when they try to save them.
    I think it might be the op-lock option present in older versions of Mac OS X Server that can be involved, but it disapeared in Lion and older version of OS X Server.
    Does someone knows how to activate/deactivate this option, or does someone already got this problem?
    Server is a MacMini with 10.8.5 + Server 2.2.2
    Clients are Windows 7
    Thank a lot for your answers
    Bertrand.

    Officially, Adobe does not support opening or saving files to a server --- because so many different things can go wrong with networking.
    The permissions error means that the file/directory permissions are incorrect on the file server, or that the OS or server is incorrectly reporting file/directory permissions.
    Photoshop does more error checking than most applications, because we have seen so many problems in the past, and don't like applications silently losing or damaging files (which we see in other applications).

  • Intrastat Output File doesnot contain VAT number and Document Number

    Hi experts,
    While creating a output file from Intrastat Dispacth, I am not getting Document number and VAT number in output file.
    I can see the Document number in Display of selection log.
    Can someone help me?
    Thanks
    Arpit

    Hi,
    Try the enhancement FTGOVSEL.
    In the userexit EXIT_SAPLV50G_002, in the include ZX50GU02, write this coding (for the VAT number)
    if c_record_intrastat-kundeuinr is initial.
       select single * from kna1
         where kunnr = c_record_intrastat-kunnr.
         if sy-subrc = 0.
            c_record_intrastat-kundeuinr = kna1-stceg.
         endif.
    endif.
    Remember update the VAT number in the customer (in this case).
    I hope this help you
    Regards,
    Eduardo

  • Why do I have to keep restarting iPad 2 to get emails to download when I am successfully connected to three blips of at home wifi ???

    Why do I have to keep restarting my ipad2 to download my emails even though it is connected to my home wifi perfectly, Internet is working, but the circle just spins constantly and won't update ??? It is very frustrating !!!

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
     Cheers, Tom

  • Getting the IP address and port number and placing it in a window

    Hi Everyone,
    I have written the code which gives the system time in a window. But I need also to have the Internet address and the port number of the client in the window. the TimeserverRF considers incoming DatagramPackets as a request for the current time, if the client wishes to receive the current time from TimeserverRF, it has only has to send a DatagramPacket to TimeserverRF.
    I am not sure how to do this writing DatagramPackets .
    I have the TimeClient class application. Timeclient should send the Internet address and the port on which it is running.
    Do You have any ideas.
    // the code for system time.
    import javax.swing.*;
    public class Window1 {
    public static void main(String[] args) {
    JFrame win = new JFrame("TimeServer running on port 9999");
    JTextArea tA = new JTextArea(1, 30);
    win.getContentPane().add(tA);
    win.pack();
    win.setVisible(true);
    String s1; // initialise variables
    TimeData t1; // TimeData object initalise to t1 variable
    t1 = new TimeData(System.currentTimeMillis()); // start of loop body
    s1 = t1.toTimeString(); // system time held sring s1
    tA.append("Sent "); tA.append(s1); // Prints statement and time in Frame
    }

    Study this networking tutorial and then, if you have a specific question, create a new post with it.
    http://java.sun.com/docs/books/tutorial/networking/index.html

  • Servlet file download works in IE7 and FireFox but not IE 6

    We have a table with export button. When user clicks on export link, we download table content as csv file. It is working correctly in IE7. In IE6, It is not working. When user clicks export button, I am gettting the folloiwng information
    File Download box reports
    Name: GridAction.action
    Type: Unknown File type
    FromL localhost
    This is my code.
    //oResponse is HttpResponse
    // Set the content type
    oResponse.setContentType("text/plain");
    // Set the content-disposition aka the file name
    oResponse.addHeader("Content-disposition", attachement;
    filename=test.csv");
    // Set the cache control
    oResponse.setHeader( "Cache-Control", "max-age=1" );
    // Get the outputstream
    OutputStream oOutput = oResponse.getOutputStream();
    // Copy content to output
    oOutput.write(grid.getExporter().getContent());
    // Flush
    oOutput.flush();
    What am I doing wrong???

    I don't understand..Can u explain more ?
    oResponse.addHeader("Content-disposition", attachement;filename=test.csv");
    Although this can't be your real code anyway.

Maybe you are looking for

  • Comment out actions in side proxy services in osb

    Do any body know how to comment out certain actions in proxy service in OSB? For eg: I have assign, insert, assign, ..route.... I want to comment out second assign but don't want to delete it, since i might need it later. Can I manipulate the generat

  • How to transfer only part of iTunes library?

    I have over 80GB of music (mainly classical) in my iTunes library and I am using it with my iPod classic. I am planning to buy now a new 16GB iPod nano and my question is how I can transfer only selected pieces of music (all library will not fit anyw

  • Time Machine Disaster

    A friend of mine, who I have been trying to get to switch from Windows to Mac for a long time, took the plunge and bought a new MacBook Pro. He is NOT familiar with navigating MacOS. He booted up his new MBP, registered his computer and then plugged

  • How to select Certain TV shows to burn

    I've done this before- burning (for back up and play on authorized computers- NOT FOR DVD player) certain tv shows on a dvd- now I can't do it? For example- before I would download a whole season of Lost on a dvd- not problem. Today I tried to burn i

  • Schedule line confirmation on next working day

    Hi, For a sales org, (IE93) in a sales order if we request delivery on 25.12.2009 (Xmas day), APO availability check is performed and it is confirming on the next/prior working day. But in case of other sales org(GB93) it is confirming on the same da