Tomcat Server Port Number: Why do I have to enter the port number?
My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website the uses servlets, JavaServer Pages, and JDBC.
I�ve got four Pentium III computers:
1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).
I installed Java Web Services Developer Pack on MyWebServer. It requires Java 2 Standard Edition (J2SE), so I installed that first. The files I downloaded and installed are as follows:
J2SE: j2sdk-1_4_0-rc-win.exe
JWSDP: jwsdp-1_0-ea1-win.exe
After installing these products, I set the environment variables as follows:
JAVA_HOME = c:\j2se
JWSDP_HOME = c:\jwsdp
Path = c:\j2se\bin;c:\jwsdp\bin; [and other previous statements]
On MyWebServer I start Tomcat (from the JWSDP menu option). It starts properly (as far as I can tell).
Then, from MyClientPC I open Internet Explorer and in the address box I type:
http://10.10.1.1
�The page cannot be displayed�.
I then try again and add the port number:
http://10.10.1.1:8080
This displays the page c:\jwsdp\webapps\root\index.html.
Here�s my question: Why do I have to enter the port number to get a page displayed? Do I have to have Apache HTTP Server running on MyWebServer to display pages without entering the port number?
Thanks for your help.
Oh simmy1, so silly....
You have to enter the port number because Tomcat is running on that port (probably 8080). You actually don't NEED apache at all. Most people use it an HTTP listener because historically, servlet engines and application servers had shitty listeners. (WebLogic 5.1 was really bad.) Not sure how they stack up today.
Port 80 is the default port that browsers will look at. (Try it, hit these forums with http://forum.java.sun.com and then hit it with http://forum.java.sun.com:80. See? Same thing.) If you don't want to have to enter a port number, just make sure whatever is running at the front of your network is serving on port 80. It doesn't matter if its apache, tomcat, weblogic, iis or whatever. There is nothing wrong with running Tomcat on port 80, although using a webserver proxy like apache is generally recommended.
And don't listen to simmy1, this is his second bonehead post I've seen today: http://forum.java.sun.com/thread.jsp?forum=45&thread=231154
Similar Messages
-
Trying to update to Photoshop elements on my Apple Computer but it says I have to enter the serial number in the trial screen. I cannot find this.
Stephaniek092682 what version of Photoshop Elements are you trying to install?
-
As above, live chat advisor downloaded PE 13 as I couldn't get it to work - but it turns out to be a trial version, even though I had already paid for full version. I now have to enter the serial no every time before I can use it! Any suggestions greatfully received!!
Hi Sally,
Kindly download 64 bit version from the link mentioned below.
Download Photoshop Elements products | 13, 12, 11, 10
Thanks,
Atul Saini -
I have to enter the serial number every month to keep Premiere Elements activated.
I purchased Photoshop and Premiere Elements for a friend and installed on there computer. Every month it asks me to activate which I do by entering the serial numbers.
josephm
What versions of Photoshop Elements and Premiere Elements are involved and on what computer operating system?
Do you use both program daily or frequently and is it only Premiere Elements that is requesting the monthly reactivation, never Photoshop Elements? Have you ever run into problems doing this re-activation when it is requested?
What antivirus program do you have and how often it is updated? What on your computer has automatic updating? How old is your computer hard drive and your computer in general?
Let us start here. Some of these issues defy the why especially when they do work on demand.
ATR -
I use a master password for Thunderbird. I also use Lightning. In the past, I would need to enter the master password twice (once for Thunderbird, once for Lightning). Within the last couple of months, I am now prompted to enter the password nearly 20-times when I start Thunderbird. This is occurring on both my laptop and desktop computers. I can disable the master password altogether, but I do not like to do that with my laptop since it is often left unattended in my classroom. I have tried disabling various add-ons, eliminated the add-ons altogether, but I am having no luck getting rid of this problem.
I don't know what might have changed. Thunderbird will prompt for a password if it has failed, and is therefore assumed to have changed, or if more than one password is stored for an account.
Being prompted for the password twice or thrice set me off in search of a solution, and the one I found was this add-on:
https://addons.mozilla.org/en-US/thunderbird/addon/startupmaster/
which consolidated my two or three login prompts into one. It may help you, but the possibility of multiple stored passwords may still be at the root of multiple login prompts. -
I receive an error message whenever I try to send text messages to new contacts. It says the number is invalid and to enter a 10 digit number. I have tried entering the phone number with the area code and without the area code. Any ideas?
Same problem here. I've deleted the contact and had them text me, but when I try to text them back I get the same invalid number message! So frustrating! Please help!
-
My outgoing mail server smtp remains offline. I have tried using different port but did not work. What else can I try?
OS X Mail: Troubleshooting sending and receiving email messages
-
Everytime I try Photoshop I have to enter my serial number--not so with the other apps--how can I avoid this? The window says "Your Trial Has Expired" and asks me to join Creative Cloud which I don't want to do! So I click on "License this software" and enter the serial number and go to Photoshop--but every time??????????
Close out all Applications (Adobe and non-Adobe … probably since Adobe ties into everything via Acrobat)
Navigate to: C:\Program Files X (86)\Common Files\Adobe\Adobe PCD\
Rename the “cache” directory to “cache-backup” (or anything else not “cache”)
Start Photoshop CS6
Click on “License This Software“ and enter your serial number -
I have just transferred my entire application file from an Imac to an identical Imac, both running OS 10.9.5. Everything works fine, excepting that when I attempt to open Photoshop 6, I am prompted for the serial number. I enter the serial number provided by Adobe, which I have confirmed with my "previous purchase" records kept by Adobe. It is demanding a "qualifying product", all of which is contained in the complete files I transferred. Why can't Adobe recognise my valid serial number for Photoshop 6?
I have just transferred my entire application file from an Imac to an identical Imac,
Say what?
Please use the proper installer.
Are you really talking about Photoshop 6 or about Photoshop CS6? -
I am trying to find at least the trial version so that I can enter the serial number that I have on the back of the case and activate the full version so I can get some work I need to get done finished. My laptop was thrown away after a flood in my basement and I believe the cd was still in it. I don't recall ever taking it out.
Forget your existing disc and serial number. They won't work.
Download the new non-activation version of CS2 (applies to CS owners as well) from
Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
Install then enter the new serial number provided at that link. -
I just installed the upgrade version of Logic Studion. A dialog appears, asking me to either enter the serial number of my earlier Logic version, or to connect my CSKey to my computer's USB port. But I don't have any of them. now what should I do?
You will need to either locate the codes or contact AppleCare.
-
Why my OS doesn't accept the serial number of Acrobat 7.0 Standard?
Why my OS doesn't accept the serial number of Acrobat 7.0 Standard?
You can no longer use the original install disks or serial number for Acrobat 7. Adobe have provided a replacement. Please see http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l
-
I have a new itunes card whenever enter the card number to recharge asks me to contact customer service
so contact them why are you on here? need the number?
check # for your country
http://support.apple.com/kb/HE57
Peace, Clyde -
Why was I requested to enter a serial number for Acrobat Standard when I am only a monthly subscriber? I can't activate the product.
After I sign on with email address and password, I am also asked to enter a serial number which I was not given...Hello,
In order to activate the product should get the following option:-
- Use trial or subscription
- I have a serial number
Please select the option - Use trial or subscription and click next- Restart Acrobat and sign in with your Adobe ID
Also, you may refer to the following for more information on activation issues:- Activation & Deactivation Help
Regards,
Nakul -
I am trying to install Lightroom and I am OK until it asks for a serial number. I purchased Lightroom from B&H and the have entered the seal number on the the B&H invoice. Nothing happens, not all the entry boxes are filled with the serial number that was provided by B&H. I looked for a serial number on and in the box it came in, nada. Need a bit of help here, what can I do?
RJ@Try to connect on Live chat one more time.
Still not connected , better to contact Adobe Phone Support
Click on Phone option and check once :
Contact Customer Care
Maybe you are looking for
-
How do I get my windows to move to my external monitor when connecting one?
I have the original Macbook and a 23" ACD. Ever since OS X 10.5, when I plug in my ACD, the windows stay on the Macbook screen. Before, in 10.4.x, the windows used to move over to the ACD, which is where the dock and menu bar are. How do I fix this?
-
Migrated from MacBook Pro to new iMac. I have no address book application.
I had an address book app before the migration but do not have one that will work. The icon is not the normal app icon but a generic one like Audio Recorder's icon. I try to open but it won't open. If I go to Mail I can open and view all addresses th
-
10.2.0.3 does not use a index
Hi I have a simple query which in 9i uses a index but after upgrading to 10.2.0.3 has stopped useing the index and instead prefers a hash join and a full table scan. Any idea if this is a bug in 10.2.0.3 or how do i go about doing this investigation
-
Deleting Inbound deliveries in DWM
Hello, your help will be welcome. Here's the situation. - I created a PO - I create an Inbound delivery, It's not an ASN practice, just created to be transmited to the DWM (non sap app) - The PO is flagged as Delivery complete or as Mark for deletion
-
Hi Folks, I'm in need of help. I have just come into a shop that has no SAP OO standards. There are many kingdoms that are not even using SE24 to build classes. Is there a SAP document or guide I can use to set standards. I am really fighting with p