Temp problem with 880gm-e43

Hey
I have been having a problem with a new build of an 880gm-e43/athlon II 640 quad core.
I haven't been able to get the temps or voltages to read correctly in any monitoring software. Bios temps have read 24-28c, 12v volts 12.28, while software in vista temps have been reading 6c-18c and 12v has been reading 4-5 volts. I have tried amd overdrive, hwmonitor, speedfan, core temp, etc all saying the same thing. I am running;
msi 880gm-e43
athlon 640 x4
corsair 520 watt ps
wd 250 gb drive
Win Vista 32
Kingston DDR3 1333 ram, 2gb
I have turned off acc, green power, amd cool and quiet, changed a large number of settings, but this still remains. I have updated to cat 10.10, added the sb drivers, and I have also updated the bios from v 2.9 to v 2.a via live update, reset all bios settings to optimized, then reset to turning off acc, green power, but have cool and quiet on again. I also have the cpu fan set to 25% now, and sys fan to 50%.
I am at a loss as to the error on temps. Any help would be appreciated
Thanks
PS: Also one question as to Bios updates. I didn't see any listed for manual download under 880gm-e43, it just gave the link for live update. Other motherboards have bios listed for them for manual download. just wondering....

well, been looking elsewhere for the problem
Fredrik said
Vista can not handle other companies' auto-starting programs (very well). That end is where I believe you should look for solutions.
So what you are saying is that Vista is the reason why I can't get anything to monitor accurately? Or is it that having the progs autostart is the problem? Because I have vista running on an older am2 msi board and reading temps/volts/etc properly. I am manually starting the programs after boot and log in and the drivers associated with them seem to be loaded when necessary. So the OS in and of itself doesn't seem to be the issue exactly. It just seems as if something isn't communicating the info properly to the utilities that should be reading it, or they are reading the info given incorrectly. I guess what is puzzling is that there aren't any other comments by other 880gm-e43 owners with this problem so I wondered if it was something particular to my set up, or is this something that will be solved in future updates of software, or is it something else...

Similar Messages

  • So is everyone having temp problems with the K8N Neo2??

    like 50'C-60'C idle CPU temp that includes a good quality heatsink w/AS5???

    Well the XP-120 technically doesn't fit....  and the fan pushes about 80CFM
    When you install the XP-120 one way, it obstructs the AGP slot by about 3mm.  If you rotate it, it's obstructed by some resistor caps and covers up DIMM's 1+2.
    So unlike the thermalright.com compatibility list, you have to run RAM in DIMM's 3+4 and tilt the cap for an EXTREMELY TIGHT fit, or do what I did and dremel off 4 fins and 6mm of heat pipe.
    I capped the pipes with some silicone, since pipes need constant internal pressure to function, but... that leads me to another question as to why the heatpipes are filled with air and not a fluid when air is probably the worst thermal conductor evar.
    Theoretically if that XP-120 mod job some how compromised the thermal integrity of the entire heatsink ( i have no idea how ), then the Zalman should fix that.  Then the problem is as to why my BIOS system temperature @ startup is 30'C and when I load up MSI Core Monitor, it lists it at about 10'C.
    Something is definately screwed up.  It's either a BIOS error, my XP-120 heatsink (doubt it), or defective temp sensors and I need to RMA it.
    I also have a suspicion that by default, the BIOS reports the temperature coming off the Winbond 2 Diode instead of the Winbond 2N3904 sensor.  Temperatures are about 8-10 degrees 'C hotter than the system temperature when reading the 2N3094, but then again I don't know which is the correct sensor to be using or any way to verify.

  • 880GM-E43 (AMD/AM3) Topic was Removed by Stu

    A message was posted but sjay, but deleted by Stu.
    Was this about Windows7x64 bitlocker compatibility with 880GM-E43?
    Who knows Why?  I don't know, can't send Msgs to Stu....
    Sjay,
    What's up?  Can you post under the following if you had useful info deleted by Stu?  
    https://forum-en.msi.com/index.php?topic=147916.msg1100027#msg1100027
    Thanks

    Stu removed your other topic because you already have a topic started on the same subject.
    For what it's worth, Sjay said this:
    Quote
    I haven't verified anything because I don't have the resources or the board, but I can tell you that if you connect the TPM cabling it would probably work. My board (GMA-E-55) has a TPM wire/cable connection, I just have no idea of its usage.
    Refer to your manual.
    Please only post in the other topic. I will lock this topic now.

  • Newcastle Temp problems

    Hi ppl.
    I have now built my friend PC and not one problem so far...........TOUCH WOOD!  
    Umm I know this has been discussed before but as I was expecting I am having temp problems with the board.
    He has a Newcastle 3200+ and I have only seen the idle temp and this is around 60C. What I want to know is this about the usual temp for this processor with the bad detection of temps. Btw the heatsink is cool so am guessing is seated correctly.
    What is the usual Load temp with the wrong detection?  
    Also the system temp is very high in the high 30Cs to 40C even with the case open. So I presume the System temp is also detected wrong.  
    Is this correct?
    Finally should I bother updating the BIOS to 1.2A (I think it is) because it appears to fix the temps for  short time then just go bad to the original readings? Is it worth just seeing what the actual temp is by upgrading?
    Also is there any word when the next BIOS will be released? in July?
    Cheers
    SAspaz  

    Quote
    Originally posted by pieman109I reckon if i restart the temps will be 34 idle, so I have no idea whats going on here. I don't bother checking more.
    LOL, welcome to the club.  I said "screw it" a long time ago
    SASpaz: About the system temperature--to my understanding, the motherboard has a simple temperature sensor somewhere on it's surface that records the temperature of the surrounding air; basically, it reads the case temperature.  If this is true, I have reason to believe that "SYS temp" is also a false reporting:
    I have an Antec P160W case  , which includes two temperature probes.  Right now, they're just dangling in the middle of the case, and they read ~28°C.  My SYS temp reading is usually ~42°C.  For some straaaaannnge reason, I trust the Antec probes over the MSI probe

  • [Athlon64] Problem with MSI RS480M2-IL

    Hi all,
    I have problem with MSI RS480M2-IL. My problem is My temperature is very high... around 55-60c ... i am using AMD 3000+ Venice and no OC... and SpeedFan unable to detect my Voltage usage... Aida32 also same... 1 more thing is when i tried to run SiSoft Sandra 2005... it will take alot of time to load, sometime will just hang. i Test PCMark04 and found only got 3k for average mark... my friend getting 4k+ and we are using same spec... Below is my Spec:-
    MSI RS480M2-IL
    AMD 64 3000+ Venice E3
    Bios Version 3.8
    Geil PC3200 DDR400 2.5-3-3-6
    Maxtor 60GB HDD 7200RPM 2mb
    Verudium Power Vortex 420W
    Hope some one can advised me what to do... my score too low and my board detect temperature and voltage is not accurate... Hope MSI Engineer will look thought and help me... Thank for Viewing !

    the underlying "Who's fault is it?" question: AMD64 VENICE CORE (E3) PROCESSORS? or MSI RS480M2-IL MOBOS?
    so far, ALL users with this proc/mobo combination HAVE the high (or incorrect) temperature issue. replacing the mobo obviously will not resolve the issue but replacing the proc with one that is NOT a Venice E3 core, does the trick. but of course, not everyone will have the privilege of exchanging their damned proce via the retailer specially if it's beyond the first 21 days of purchase.
    in my case, my retailer refused to have the E3 proc replaced with the 'corrected' E6 version no matter how hard you explained the known issues with the E3. no chance of AMD recalling the E3 cores since problems with are only isolated to the particular MSI RS480M2 boards.
    so for users that are and will be stuck with this combination, what is the solution then to the temperature issue? in my opinion, it's up to MSI to perhaps release a bios update that will correct this. another important thing to consider is the question: IS MY VENICE CORE INDEED OVERHEATING OR IS IT JUST THE MSI MOBO SHOWING INCORRECT READINGS? the proc overheating in actuality is obviously a lot different thatn just having an incorrect bios temp readings.
    based on what i have observed, my Venice core displays the correct cpu temps (33-35*C) when being used on a MSI K8 Diamond mobo. placing the proc back to the R2480M2 board shows a very unusual 61-63*C bios cpu temp. furthermore, if i touch the stock heatsink/fan cooler that i have (for both motherboards), it really does NOT seem to be extremely  hot to think that the cpu is actually overheating. in addition, my system using the RS480M2 performs well and has no spontaneous shutting down problems whatsoever. of course, my sense of touch is not as accurate as a thermometer but more or less, if you consider all the points i mentioned, most of us can say that the whole issue is just a matter of incorrect cpu reading.
    perhaps the ATI chipset is the one to blame since i have notices as well that the Venice core processors do not seem  to have this high temp problems with MSI's K8 mobos with the NVIDIA chipsets.
    one last question: so do you guys think that this problem can be resolved by a simple bios revision? (as a dell tech guy, i do know for a fact that bios updates resolves overheating error messages in Inspiron/Latitude laptops) 

  • Success with iTunes but a problem with a temp file

    Further to my recent post, I have now had some form of success with opening iTunes but I can only do this if my external hard drive (which has the remnants of some file left).
    I have tried to copy and paste the files relating to iTunes but for some reason, I am unable to even access a file labelled "TEMP FILE".
    Can anybody help or indeed send via email a copy of the file as I dont think there is anything in it. I know that when I have my external drive repaired I will not be able to access iTunes.
    PLEASE HELP !!!!!!!

    iTunes cannot run because it has discovered a problem with your audio configuration.
    That one is most commonly caused by a problem with your QuickTime. (iTunes uses QuickTime for audio and video playback.)
    The following document may be of some assistance:
    iTunes 7 for Windows: iTunes has detected an audio configuration problem

  • I've a problem with a KM4M-L temp

    good nights.
    my MSI Motherboard (MS-6734), have installed a Athlon XP 2400+, but the fan turns too slow, 3250 rpm. I belive that temp it's too high 58°C in idle mode, when full stress cpu usage then cpu stop.
    I´ve a pc-chips M825 too, and the temp it's 47°C at full cpu usage, i belive that's difference temp it's by noise reduction function of my MSI Motherboard.
    someone, know if it's true, and if it's true, how i can disable this function. i know that fan cooler can turn at > 5500 rpm
    thx

    i had the same problem with an Athlon XP 2600+ on the KM4M-L, after reseating the processor with some quality thermal paste, the temperatr dropped from 70ish degrees under load to 45ish, it made the biggest difference of anything i have tried.  I use a Coolermaster low speed fan at 2500rpm, with a fairly large heatsink, so a faster fan should have even better results if it has similar air displacment.
    Huw

  • : "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

     Hi   .
        I was creating the  pass the values t in temp tables  though s sis package vs2012 .
      First I was taken on executive SQL TASK.
     IN EXCUTIVE SQL TASK  . I was write the stored proce:
    Sp;
    reate  procedure  USP_GETEMP2333
    AS
    begin
    Select  eid,ename,dept,salary from emp
    end;
    create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
      insert into #temp
       exec USP_GETMP02333
       go.
     It was executive correctly.
     I was taken another sequence container. In the sequence container iam creating one   executive  sql
    In 2<sup>nd</sup> excutive sql task: sql statements is
    if object_id('emp_fact_sal') is not null
     drop table emp_fact_sal
    select eid,ename as emp_name,sal_bar=
    case when salary<=5000 then 'l'
    when salary >5000 and salary<=7000 then 'm'
    else
    'h'
    end
    into emp_fact_sal from #temp.
     and one falt flies  it was taken to designation .
     iam changing  all  connection properties:
     in oldeb connection:
    in excutive sal task properties .
    delay validation is true,
    and retain connection maner is also true,
    and package mode is 64 bit is false.
     But iwas excutive in 2<sup>nd</sup> excutive ql task .
    Iam getting this type of errors,
                    [Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
     drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
     Please help me

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • 880GM-E43 Flaky Video

    New system with the 880GM-E43 and the DSUB and DVI video is flaky with black line interference.Happens sometimes in my house, much more in the owners house. It "may" work using HDMI, I have to reconfirm that. Problem is the owner does not have HDMI monitor. I have updated BIOS, drivers, checked all connections, etc.
    Any ideas?
    Thanks

    1 - I have tried 3 different monitors with the same number of different cables I did try anothe monitor with HDMI and I do not remember seeing the problem. I will recheck as soon as I get a longer HDMI cable so I can put the monitor in the same location and observe it for a period of time.
    2 - If you are looking at the desktop, it breaks up with black horizontal lines throughout, they come and go. Nothing to do with watching "video" like "Youtube".
    3 - I have tried various refresh rates and resolutions
    4 This is a completely new build, 500 watt PS, 4 GB ram, Win 7 Home Premium, Athlon II X4

  • Msi 880GM-E43 can't overclock my ram

    My Computer Spec:
    880GM-E43 BIOS 2.11, Sempron 140/Sempron 145(Unlock)/Athlon X2 5200(Unlock), Windows 7 Home Premium 32 bit
    Super Talent WB160UB2G8 (Default: 1600MHz CL8-8-8-24-36 1T)*
    Corsair HX850W +12V~70A, +5V~25A, +3.3V~25A
    Galaxy GTS250 1GB
    WD Caviar Blue WD6400AAKS 640GB 16 MB cache SATA 2.0
    ASUS DVD/CD R-W
    * This ram cannot find on SuperTalent offical webpage.
    Bios show "cmos checksum bad" when I overclock my Ram(1600MHz CL8-8-8-24-36 1T change to 1600MHz CL7-8-8-24-36 1T or 1600MHz CL7-8-7-24-36 1T etc.)
    This ram maybe use ELPIDA BDBG ram chips(find from internet)

    Got the same probs as you mate. Can't push my 3000+ much higher than 208mhz FSB either, it just resets and sometimes throw up errors when i try.
    My specs are as follows;
    AMD64 3000+ (Stock cooler)
    2x512 Geil Value pc3200 RAM
    K8N NEo Platinum
    2x 80gig Maxtor SATA (RAID 0)
    ATI 9800pro
    Temp was really high (idle 49, load 59!) when i first got it but after changing to the 1.4 bios i get idle 36, load 45 now.
    Strangely my system is not set at 200mhz FSB by default. When i try to go to default FSB or try 200Mhz FSB it sets to 201Mhz instead so my system is at 2010Mhz, I cant get 200Mhz bus! At this setting its really 'jumpy' when playing games i get little judders/pauses. When i overclock to 205mhz+ then it runs smooth as anything, it's really strange.
    Well i've tried AGP at 67 and 68 no luck, moved SATA over to the 3/4 Ports, relaxed memory timings, upped voltage on both ram and CPU, removed drives, etc no luck at all :(
    Temps are well within limits (Apart from this the system runs rock solid, primes at full load for 9+ hours overnight easy at 2080Mhz with temps reaching 49C, just absolutely no luck in overclocking any further.
    I've decided to use this setup for a HTPC instead and build another with a DFI board and hopefully fare better next time.
    H.Hoang

  • Problem with l355 s7817 Blue Screens and will not boot up

    Hello, I am new to this forum so excuse my forum etiquitte.  I have a l355 S7817 for 2 yrs and I have had to do a system restore on this laptop twice. I am a Vista SP2 user that has been getting blue screens recently when trying to boot up. I have gone and cleared cache, temp files, temp internet files and removed new software that was loaded and I am still getting the BSOD. I can come up in safe mode, sometimes with networking but when I go to copy data to my external HDD so I can do a system restore again, I get the BSOD. I have tried to restore from a chk point and still get errors. I need to gather my data off the drive so I can do a restore but I cannot get my data due to it fails in the middle of the copy. Any ideas what could be causing this.
    I had no problem with my laptop all last week but come Monday, It started doing this. I get a message in Safe mode saying Windows has recovered from an unexpected shutdown.  Windows can check for a online solution to the problem. It finds nothing and in the problem details it says
    Problem event name Blue screen
    OS version 6.0.6002.2.0768.3
    Locale ID 1033
    Additional Info on problem
    BCCode 19
    BCP1 00000020
    BCP2 9E384BD0
    BCP3 9E384C98
    Any help would be appreciated.....
    Thanks

    Bug Check 0x50: PAGE_FAULT_IN_NONPAGED_AREA
    SYMEFA.SYS is a Symantec driver. If you have any Symantec/Norton products, I suggest you remove them. It's necessary to tear them out by the roots using their tool
       Download and run the Norton Removal Tool to uninstall your Norton product
    Microsoft's AV works just fine.
       Security Essentials.
    ==================================================
    Dump File         : Mini081910-20.dmp
    Crash Time        : 8/19/2010 1:46:17 PM
    Bug Check String  : PAGE_FAULT_IN_NONPAGED_AREA
    Bug Check Code    : 0x00000050
    Parameter 1       : 0xbff59c01
    Parameter 2       : 0x00000000
    Parameter 3       : 0x837505ba
    Parameter 4       : 0x00000000
    Caused By Driver  : SYMEFA.SYS
    Caused By Address : SYMEFA.SYS+103b
    File Description  :
    Product Name      :
    Company           :
    File Version      :
    Processor         : 32-bit
    Computer Name     :
    Full Path         : C:\Test\Mini081910-20.dmp
    Processors Count  : 2
    Major Version     : 15
    Minor Version     : 6002
    ==================================================
    -Jerry

  • Problems with 990FXA-GD80 and AMD FX8350

    Hello,
    I built this PC back in March, and ever since I have been having problems with it. I get BSOD every now and then. It usually only happens when I am playing a game or trying to render a video. The last time I tried running Prime95, my computer locked up and didn't report the error or go to bluescreen. I thought I might post my issues here, because I can't figure out the cause. I believe it's a piece of the hardware that is causing it.
    I ran memtest86 with all passes, and I checked my HHD for errors and nothing came back.
    I'm not sure if my BIOS version it out of date, but it says I am on V11.13. When I scan on Live Updater 5, there are no updates so I'm not sure if I need to just flash it or what.
    My BIOS settings are all default, except I changed the CPU and DRAM voltages to higher values. 1.35V for the CPU and 1.65V for the DRAM. I seen it recommended in another thread so I figured I would give it a try. All my temps look fine by the way. I'm not sure if it has solved the issues though, I haven't tried playing much games or rendering a video.
    If anyone might have an idea what is going on I would really appreciate any help. I don't know much about building PCs, so take it easy :P
    My full specs are:
    OS: Windows 7 Ultimate 64-Bit
    CPU: AMD FX-8350
    Motherboard: 990FXA-GD80 V2
    GPU: Sapphire Radeon HD 7850
    Memory: G.SKILL Ripjaws X Series 16GB (2 x 8GB) 240-Pin DDR3 SDRAM DDR3 2133
    PSU: CORSAIR HX Series HX750 750W
    HDD: Seagate SV35 Series ST1000VX000 1TB
    I can post more info if needed, thanks!

    No replies?   
    First off that ram is 1.6V not 1.65V.  Your ram is ddr3 2133mhz which is an overclock ram speed.  Hopefully that works ok in "auto".
    Next, your cpu is being starved for volts.  Set it to at least 1.4V.  Do not be afraid to go higher if it still crashes. 
    The bios is the latest for Win7.  I am using it and it works fine.
    Do you have any monitoring software like HWiNFO64?  It shows my 8350 idling at 1435 mhz and using 1.32V-1.46V right now.  Under load it will be higher.  Yours will be too.

  • Problems with iOS 5 in Kuwait

    Problems with iOS 5 in Kuwait. ID calling issue with names not being recognised. I just downgraded to 4.3.5. Waiting for a fix from apple

    After installing ios 5 here is my Concerns (Kuwait):
    1- The major problem is that caller id problem doesnt recognize the +965 prefix as you all stated , i found that on all carriers in kuwait ... the only temp solution is to duplicate all the contact numbers one time with (+965) to determine the Messages , other time without +965 to determine local calls -- NOTE--- using prefix 00965 will not solve the problem because both messages and calls will not recognizing it
    2- Some issues appeared in iCloud specialy in contacts section that if you disable icloud and keep your contacts on the iphone and then re-enable icloud and choose merge will cause all the contacts to be duplicated which is very annoying
    3- Kuwait is not found when trying to associate my apple id to a region to apply for any of the new apple services like i messages , home sharing for music and videos  or any location based service
    4- strange numbering format appears in my contacts in some other countries , this cannot be controlled , dashes '-' between numbers dont know why
    5- noticed some slow performance and partial hangs in answering calls or closing line .. this happened 2 times and stayed not longer than 3 seconds each .
    anyway ios 5 looks promising but need to fix those slight issues ASAP

  • Problems with creation of catalogue XPGrpwise and temporary

    Problems with creation of catalogue XPGrpwise and temporary files.
    I use GroupWise 8.01 and WinXP (SP2), OpenOffice 3.1.
    Why at opening files in Library, temporary files are not created in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\XPGrpwise, and created in catalogue C:\Documents and Settings\Jon Smith\My Documents. That causes problems. How to change a situation that worked as it is necessary.
    Catalogue XPGrpWise is created and leaves duly in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\.

    Cvetaev,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Problem with Configuring Tomcat for running jsp web applications..Plz HELP

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

Maybe you are looking for

  • How do I transfer photos from IPAD to Laptop

    I have a considerable number of photos on my IPAD and I am trying to move them to my laptop or external hard drive.   I cannot find the "Removable Storage" under my computer - how do I do this please? IPAD is connected to Laptop - ITunes Opens. I can

  • (SOLVED)autostart.sh sleep issue

    Hello all, I have my laptop in a state I am pretty happy with. When I boot I backgrounded all my daemons so I would get a fast boot (about 12 seconds). When conky starts I have it getting my external ip as well as my wireless ip. To try and solve the

  • Blue line running through screen (T400 1440 x 900)

    Hey guys, So  my monitor has this blue line running straight through my monitor vertically. When I first got it, if I tapped my monitor on the side a bit, it would go away but then the line was permanent! I thought my screen was busted and started lo

  • Your opinion about Tecra A4-227

    Hi All! I'm from Hungary, i'm very bad in English therefore i'm sorry. I like to buy a Tshiba notebook (Tecra A4-227). I like to known this notebook which quality has, and what think You, this is a good or bad notebook? Bye:Attka

  • Weblogic Clustering

    Hi, I would like to know how to set up Weblogic (8.1 SP2) clustering. I have two servers, I want to make one as the admin server and the other as the managed server. I would like to know the entries that I make for the clustered server setup while I