Tomcat not loading jsp pages

I've running 10.6.2 with default install of Tomcat and Apache. Tomcat is enabled in Server Admin, and I've created a site in Server Admin that points 8080 port requests to /Library/Tomcat/webapps. And index.jsp is set as a default index file.
When I try and go to myserver:8080/mysite the browser loads the jsp as text. Just like I'd opened it in a text file.
I've removed the site folder, and uploaded a new war file (which works on my local 10.6.2 client machine with Tomcat 6.0.24 installed), and a new site folder is created as expected. But the jsp page just doesn't load correctly.
What am I missing (besides years of Tomcat and Apache experience..)

hey.. noticed one more thing.. stuff works when i put
it in my file:///var/lib/tomcat-5.5/webapps/ROOT/
folder .. so i think i havent set my user properly..
any pointers??I don't think you should be putting stuff in ROOT.
Create your own web context and put it under /webapps.
%

Similar Messages

  • Tomcat not opening jsp pages

    I installed apache 2 and tomcat and configured them both.... i installed mod_jk as the connector
    But when i open a jsp page, i get
    HTTP Status 404 - /~scriptdevil/hello.jsp
    type Status report
    message /~scriptdevil/hello.jsp
    description The requested resource (/~scriptdevil/hello.jsp) is not available.
    Apache Tomcat/5.5PHP files open just fine.
    How should i use it??

    hey.. noticed one more thing.. stuff works when i put
    it in my file:///var/lib/tomcat-5.5/webapps/ROOT/
    folder .. so i think i havent set my user properly..
    any pointers??I don't think you should be putting stuff in ROOT.
    Create your own web context and put it under /webapps.
    %

  • Ive just learned that i can use loadjava to load jsp pages into the database.

    Ive just learned that i can use loadjava to load jsp pages into the database. How is that possible. How can someone go to my lets say, index.jsp page and actually see it if its inside the database? What authenticates it? Where would you set the parameters to tell http(apache) to look inside the db for the pages?
    Any ideas?

    Thanks for the reply. If I put the file on the database, does it have to be in a particular location? I've put it on the database server, launched sql*plus (as APPS) and ran the following:
    execute dbms_java.loadjava('-v', 'ZebraGetPrinterFromXML.class');
    PL/SQL procedure successfully completed.Then when I try to run a process that uses this I get this:
    ORA-29540: class ZebraGetPrinterFromXML does not exist

  • My browser will not load a page or update unless I am actively moving my cursor or typing. If I select a page and don't do anything then it doesn't load at all. I have no idea how this happened or how to fix it. Thanks.

    My browser will not load a page or update unless I am actively moving my cursor or typing. If I select a page and don't do anything then it doesn't load at all. I have no idea how this happened or how to fix it. Thanks.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Safari and Firefox both not loading any pages yet i am connected to the int

    Safari and Firefox both not loading any pages yet when i run diagnostics it says i am connected to the internet... any ideas???

    I am having the same problem. My airport says i'm connected with full bars but when i click on safari it takes a few minutes then says i'm not connected to the server. Now the kicker is i have a magicjack and you need internet to run it and that works fine... also i can access my itunes store which also requires internet. I can only run safari with the ethernet cable connected. That is how i'm connected now.. any ideas what it might be.. i have reset safari, emptied the cache, renewed the DHCP lease.. and all of the obvious... Please anyone help..oh p.s. my iphone picks up the wireless so it is working.. HELP......

  • I have a ipad 1. I seem to be having a lot of connectivity issues. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop.

    I seem to be having a lot of connectivity issues my iPad. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop. It seems I have to turn it completely off and restart.
    Anyone had these issues?

    Settings > General > Reset > Reset network settings

  • Can connect to airport but not load internet page

    I can connect my PS3 and window based laptop to my airport network, as both show successful connection, but I can not load internet page on either the PS3 or the laptop. My airport network is not protected. My airport base station is about 7 years old.

    Well the symptoms now point to a number of issues that need to be eliminated and they are you need to check that you are logged onto the ISP. For always ON systems this is usually a function of the Router in which case you need to log onto the Router and check the appropriate settings for this function also release the lease on the IP address and reboot the Router. The other issue is that the Router may not have access to the ISP which may cabling problem [disconnected or accidently damaged cable] within your environment of a service problem within the ISP domain. Check with a neighbour who is subscribed to the same Exchange as you are to see if they have problems otherwise call your Service Provider they may have to perform a reset on their end of your connectivity. Good luck
    Message was edited by: adnixon

  • Firefox will not load web page (I also have Internet Explorer 8 installed).

    Fire Fox will not load web pages. It may have something to do with proxy settings but I have reset this to Auto-Detect which is where it has always been in the past but still nothing. Something has reset my proxy settings in the past which caused a similar problem but doesn't seem to be the issue this time. I have Internet Explorer 8.0 installed on computer right now and it seems to work.

    After looking into this further I checked firewall settings in Panda A.V. For Firefox they were set to Custom settings which effectively disabled it. I changed setting to Outbound only like Internet Explorer and other programs and Firefox seems to work fine now. Hope this helps others who have experienced this problem. I have teenage children who use computer a lot (Face Book, etc.) so the root of the problem may have been Malware, Adware, or something else but hopefully Panda has taken care of this.

  • Safari os x 10.9 not load a page

    Safari os x 10.9 not load a page, while other browsers work without problems? OS re establish 10 times does not help, what to do?

    Try this DNS ...
    Open System Preferences > Network > Advanced > DNS
    Click + and type:
    208.67.222.222
    Click + again and do the same.
    208.67.220.220
    Click OK.
    Quit and relaunch Safari to test. Try loading a webpage.
    If that doesn't help, go to Safari > Preferences then select the Advanced tab.
    Click:  Change Settings next to:   Proxies:
    That will open the System Preferences > Network > Proxies window.
    Deselect any checked boxes on the left, quit and relaunch Safari. Try loading a webpage.

  • Why is Firefox not loading my pages at startup anymore?

    FF 12.0. Why now all of a sudden is FF not loading my pages at startup. It loads the "pinned" pages, but NONE of the other ones I had open. This is happening at every FF startup now. Really, this was the ONLY feature that was keeping me with FF. The performance has gone dramatically down, and the problems more frequent ever since 4 was released. I am getting to the end of my rope with this now. Any ideas?

    No previous session option, it is grayed out.
    I did try the file exit way to close, and it brought the tabs back up. Is that a change in 12? Not good, we don't always or even often get the chance to close down like that. It was never like that in the past. It did not matter if you hit the X, or ended the process in the task manager... the tabs ALWAYS came back up. It was a feature that nobody else had working in that matter at the time. Honestly, it is the only reason I have been using FF on a regular basis for the past couple of years. Now I have to worry about losing my tabs when it is not closed down "properly", or spend a hour looking through the history and trying to figure out what I had open.

  • Firefox not loading any pages.

    Firefox not loading any pages either when typing a url, dragging a .webloc into it or searching anything in its google field.  It just stays at the Also, when I try to open a .webloc file "open with", Firefox is not one of the options.  Furthermore, when I go to the "open with">"other..." route, Firefox is not selectable.  I've repaired permissions in Disk Utility, updated Flash and reinstalled the latest Firefox and restarted the computer with no success.  Also, another odd thing is when I double-click a .weblock file, it opens up in Fireox to a blank white page, even though its set to open in Safari as the "open with" default.  This is clearly an issue related to the computer, not Firefox.  Your help would be much appreciated. Thanks.

    If this is one Mac on a Network with your own Router, reconfigure the Router to have your ISP's DNS "magic numbers", then disconnect and reconnect your Mac. Your Mac should pick up the numbers from your Router.
    If this is one Mac without a Router, use:
    System Preferences > Network > (Internet interface) > Advanced ...
    to enter your ISP's "magic numbers" for DNS.
    If you prefer, you can use OpenDNS servers instead:
    208.67.222.222
    208.67.220.220
    Make certain you do not have any bogus, old, dead numbers ahead of the ones you want to be using -- they will be used first in the order they appear.

  • Safari will not load numerous pages

    Ever since the 10.4.9 update I've had trouble with Safari not loading certain pages. Yahoo!, YouTube and numerous other pages just will not load. The problem carries over to other browsers as well. I've tried numerous things to resolve this issue. Unfortunately, I haven't been able to find a new set of X509anchors and X509certificates to see if installing them would fix things.
    Does this sound like a reasonable approach to the problem?

    I have had the same problem since zeroing and doing a clean install on my imac. Some webpages load, others don't, and I cannot see a pattern related to page content (e.g. flash). I use aiport express, but even when using the cable, the problem persists. My laptop PC (sorry) connects to all pages without delay, so the problems lies with the mac.
    I've tried emptying browser cache, changing DNS settings, proxy settings (using passive ftp mode etc), resetting router, resetting airport express, changing safari mtu to 1492, disabling firewall, and Internet Connect detects no problems.
    Reinstall osx and hope for the best?

  • Calling a servlet (in Tomcat) from a JSP Page (in Apache)

    I have a web form in my JSP Page, which upon submits, will send the params to a servlet. The servlet will then process the request and send the results back to the calling JSP Page.
    with that above senario, is there any way for me to reference a servlet (resides in Tomcat) from a JSP Page (resides in Apache HTTP Server)?
    Thanks!

    Apache HTTP server isn't a servlet/JSP engine.
    Your JSP runs on Tomcat, right where the servlet does. Apache just forwards the request.
    %

  • Why does my browser not load web pages?

    I have been having trouble with my browser not loading web pages.  After clicking on a link or typing in a web page, the page will usually not load.  I have to reload the page a few times, then it will work fine.  I have this problem with all web pages.  As for pages like youtube, if I can get a video to start playing, it will stop loading at random times.  I can back up in the video and start playing again, sometimes this will lead to the video playing further, only to stop loading again.  Help please!

    Try streching it with the bottom left corner. Also try view zom in. You can also try safari preferences resetsafari.

  • WAG200G not load configuration page

    Hi. I have a WIRELESS-G ADSL Home Gateway WAG200G. 
    When i try to access in the configuration page my router, the page isn't load correctly. I can connect with my username and password, but only half page is load. 
    If i access in the configuration page with smartphone, the page is load correctly. 
    The problem seems the Ehternet Cable, because if i access with Wriless connection i don't have problems. 
    I tried hard reset.
    I tried to search last firmware.
    I tried to disable antivirus and firewall.
    I tried to change browser (Chrome, Explorer and Firefox).
    I checked the IP from router and PC.
    I tried the configration with setup wizard, but the "Setup Wizard unable to locate the Gateway on you network". 
    I tried  http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=3676
    I tried http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=3997
    I tried http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=4008
    I contacted your supporter in the live chat. Case number: 04143326.

    Hi karftal. It's probably the computer that's not loading the page properly or the Ethernet cable. Change the cable and/or use another computer and try accessing the setup page again.

Maybe you are looking for