Could be a fix for Tomcat 6 issue

Getting Eclipse 3.2, Tomcat 6.0 and JSF 1.2 playing together nicely is a task that is certainly not for the faint of heart. Tomcat 6 seems to have issues at the moment but I'm loathed to push too much of the blame on to it as generally Tomcat has been rock solid. The big problem is really with Eclipse. The WTP (Web Tools Platform) is not as good as it could be and doesn't currently support Tomcat 6. Fortunately there is a work around to fool Eclipse into thinking that Tomcat 6 is really an install of Tomcat 5.5.
Running Tomcat 6 Under Eclipse
Find the file org.eclipse.jst.server.tomcat.core_1.0.103.v20060904b.jar which lives in the plugins directory under the Eclipse install directory. Copy the file somewhere else and unzip it. Modify the file verifyInstall.properties so that the verify55install line looks like this:
verify55install=bin/bootstrap.jar,conf,webapps
Re-zip the files to create a jar with the same name as the one that you unzipped. Place the tweeked jar back in the Eclipse plugin directory and restart Eclipse. Configure a new Tomcat 5.5 instance but point it at a Tomcat 6 install.
Installing JSF 1.2
There is currently no myFaces version of JSF 1.2 so you are stuck with the RI from sun. Grab this and place it in the WEB-INF/lib directory. Update the web.xml file of you applicaiton so that it loads the faces servlet:
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
When you come to fire up the applicaiton you may well receive this error message:
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory:
javax.faces.context.FacesContextFactory
This is apparently due to some hot deploy issues with Tomcat. It would seem that Tomcat has a bit of a blind spot for configuring listener specified inside TLDs. Quite why sun release a RI that shows this bug up in the most widely used container is beyond me. The solution to this issue is to add the following listener to the web.xml file:
     <listener>
<listener-class>
com.sun.faces.config.ConfigureListener
</listener-class>
</listener>
<!-- Listener implementation to handle web application lifecycle
events -->
<listener>
<listener-class>
com.sun.faces.application.WebappLifecycleListener
</listener-class>
</listener>
That should be all that's required. I've noticed that Tomcat 6 seems to behave somewhat strangely under Eclipse. Hot deploy of JSPs doesn't work from Eclipse and Eclipse is unable to detect that Tomcat 6 is running - it always shows Tomcat 6 as starting. Some of the rendering of pages also seems to be strange but that could well be changes that I haven't yet discovered.
http://www.crazysquirrel.com/computing/java/jsf/eclipse-with-tomcat-6-and-jsf-1-2.jspx

10.4.3 is certainly not a fix - see the airport/RAM thread. Within 10 minutes of installing the update, the bug happened for the first time at work (had happened many times at home). I doubt calling tech support would add anything - there's no way they don't know about the issue. There's a cmd line option in a link in that other thread where you can tell tiger to only use 1024 MB, which will fix the problem without having to physically remove RAM, but keeping it at 1 GB is pretty much the only option. It's a major bummer to say the least.

Similar Messages

  • [svn:fx-trunk] 12994: * Fixes for two issues that were showing up in FB.

    Revision: 12994
    Revision: 12994
    Author:   [email protected]
    Date:     2009-12-16 06:44:45 -0800 (Wed, 16 Dec 2009)
    Log Message:
    Fixes for two issues that were showing up in FB.
    QE notes:
    Doc notes:
    Bugs: SDK-24669, SDK-24686
    Reviewer: Corey
    Cycloner: George
    Tests run: checkintests
    Is noteworthy for integration: yes, fixes two FB issues.
    Code-level description of changes:
      modules/compiler/src/java/flex2/tools/PreLink.java
        Modified postRun() to swap in the root CompilationUnit's Logger
        when validating it's StyleContainer.  This allows the warnings
        from StylesContainer.validate() to be persisted across incremental
        compilations.  This fixes SDK-24686.
      modules/compiler/src/java/flex2/compiler/Source.java
        Made getLogger() public, so it could be called from PreLink.
      modules/compiler/src/java/flex2/compiler/CompilerAPI.java
        Modified compile() to check forcedToStop() after each PreLink
        batch.  This fixes SDK-24669.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24669
        http://bugs.adobe.com/jira/browse/SDK-24686
        http://bugs.adobe.com/jira/browse/SDK-24686
        http://bugs.adobe.com/jira/browse/SDK-24669
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/linker/CULinkable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java

  • Safari will no longer open.  I was using firefox until I could find a fix for safari.  I made the mistake of changing my default search to firebox later for convenience and now I can't open my system preference or many safari or apple linked files.

    Safari will no longer open. It just goes back to my desktop.  When I right click on the safari icon in my dashboard it says it is open.  I was using firefox until I could find a fix for safari.  I made the mistake of changing my default search to firebox later for convenience and now I can't open my system preference or many safari or apple linked files. Some of my emails from trusted sites won't open and does the same thing. 
    I upgraded my original system from 10.4.11 to I believe 10.6. something about a year or so ago.  I thought about re installing my safari app but when I go to open anything connected to safari my screen goes back to the desktop.  I cant open any files that I have on my desktop that I set up through safari, like my banking program. Prior to changing system preference to safari default I was able to open those files and now I can't get into change it back.  Can you guide me through this?
    Thanks,
    Betty

    Try running the 10.6.8 combo update.
    10.6.8 Combo Updater
    System Preferences or Safari Preferences?
    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. Select Library. Then go to Preferences/com.apple.Safari.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.

  • HT1476 iphone 5 usb does not charge in my 2013 Honda Accord.  Is there a fix for this issue?

    iphone 5 usb does not charge in my 2013 Honda Accord.  Is there a fix for this issue?  It will connect via bluetooth but when I go to connect the usb charger it states that it is not compatible or you never get the charging display on your iPhone 5.  It charges just fine when I use the AC charger in the house.  At first I thought it may have been the cord but the same cord works fine in the house too.  This causes problems when you take long trips and don't have any way to charge your phone while on the road.  Are there any upcoming fixes/iupdates either to the software or usb cord that will fix this?

    Are there any upcoming fixes/iupdates either to the software or usb cord that will fix this?
    Are there any upcoming fixes/updates to the software of your Honda Accord that will fix this?  Everything works fine except when the car is put into the equation?

  • After I did a software upgrade, my photo booth is hazy.  Is there a fix for this issue?

    After I did a software upgrade, my photo booth is hazy.  Is there a fix for this issue?

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?

  • In Itunes, my cd's are no longer burning in the specific order I list songs on a newly created playlist. Is there a quik fix for this issue?

    In Itunes, my cd's are no longer burning in the specific order I list songs on a newly created playlist. Is there a quik fix for this issue?

    Hi RaeTye,
    If this issue is happening with an MP3 CD (as opposed to an Audio CD), you may find the following article helpful:
    iTunes: How to set the play order of songs on an MP3 CD
    http://support.apple.com/kb/ht2455
    Regards,
    - Brenden

  • [svn] 2210: Fix for layout issue of AIR apps on mac when only width or height is

    Revision: 2210
    Author: [email protected]
    Date: 2008-06-24 11:56:52 -0700 (Tue, 24 Jun 2008)
    Log Message:
    Fix for layout issue of AIR apps on mac when only width or height is
    set on root WindowedApplication tag.
    Bugs: SDK-14643.
    QA: Yes, very much so.
    Reviewer: Ryan
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-14643
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/core/WindowedApplication. as

    Updates:
    I've opened a bug with Adobe regarding this issue:
    http://bugs.adobe.com/jira/browse/FP-4362
    Also, the Cancel operation on a FileReference causes the same issue to happen as does loading.  I really think it's an operating system focus issue.
    UPDATE:
    Looks like this has already been tracked and is scheduled to be fixed:
    https://bugs.adobe.com/jira/browse/FP-2785

  • Fix for Wifi issues in Mountain Lion

    I've tried all the solutions on the forums that I could find and none of these fixed my wifi issues.  This however did:
    - Change the SSID of your wireless network.
    I'm pretty sure I had a similar issue with Lion and sorted it by deleting all the preference files like others have said, but it didn't work for me this time.  I'm convinced that the common issue is that it's a corrupt or duplicate config. 
    Anyway, I thought I'd post this to help others.

    UPDATE
    A week or so ago my wifi suddenly stopped working again on both my Macbook and Mac Mini.  Note that my PC, iPad and iPhone continue to work. 
    I've changed my SSID twice now and this time I was determined to figure out an alternative solution.  Again I tried every solution I could find, this time what worked is chagning my router to only broadcast on the 'N' wireless band. 
    This has fixed it however it's not a great solution as my wireless printer is 'G' only.  Until Apple resolve this issue I'm happy to print with a network cable if it means my Macs work.

  • Plz provide the permanent fix for this issue

    Hi Gurus,
    We are getting Issue in smq2 of target system ecc.
    "Object was locked by user jobschedular" so when we Resetting the Queue from smq2 entries are moving from that Queue but this is happening very frequently can any body tell me the permanenent fix for this ,how to fix this .As a pi consultant how can we fix this from our side or we need to contact Basis people for this.
    As we are in Prduction support .
    Reply plz.
    Regards
    Madhu

    Hi Vila-Thanks for your reply im  getting the issue is here is Object is Locked by the user in
    smq2 of ecc system when we are resetting the queue the entries are getting clearing from the
    queue so instead of doing manually is there q way to do automated process for this thats what i want
    the issue is not in PI side.
    I just want to bring some points to ur notice is
    Message is successfully reached to target system in Target system the entries got stuck in smq2 with the queue name XBTR(Target people side people sayijng that queue name starts with X It belongs ot pi ) so the target people simply assigning that there is a problem on pi side but there is no problem on PI SIDE .
    we are unable to find the issue on target side.
    Quick reply plz
    Regards
    Madhu

  • FIX FOR MIC ISSUE ON X-FI SOUND CA

    Ok, the title is a tad misleading, I'm not sure if this works everywhere, or on all sound cards. I just know after about a week of frustration with my brand new $2200 PC, (equipped with a X-Fi Xtreme Audio, big disappointment wishing I went with a Gamer Xtreme now...) I plugged in my lovely headset and mic for gaming, and much to MORE frustration, no mic support on my "non" supporti've "non flexijack" ports on the front of my case, so I moved to the back and still no dice.
    So far this card has been a compatibility headache, everywhere from having to unplug the forward sound ports, to spending hours in the middle of the night (bad habits with not being able to enjoy tasks unless finished with my PC issues D=) just driving to find the full drivers for the card!
    And still, much like all of you no working mic, ok so now you're shouting for me to get to the point, in my frustration I decided I'd try all the ports on the card to see if that would fix it, and in my fury and climbed behind the PC, headset on volume turned up and mic ready to go (unmuted), tested the pink (PROPER!!!!! Creative -.-) port, to no dice. Moved one jack over, no dice and finally tried the blue sound port on the farthest end of the sound card...
    SUCCESS. I heard myself, my heart literally fell into my loins.
    Who the heck messed that up? But hey, I don't care. A working mic on my Creative Sound Blaster X-Fi Xtreme Audio.
    So HOPEFULLY there's the fix for it. Move your mic to the blue jack on the back of the card and give it a go. Realistically, what do you have to lose?
    Hope I helped!
    `digitaL.braVo

    OK, let's think for a minute that I have a 5. speaker system installed and the microphone connected to the FlexiJack in the X-Fi Xtreme Gamer.
    Let's try now to change the FlexiJack configuration so it accepts the microphone as the input source for recording. Oooops, all options for FlexiJack are greyed out.
    I've tried every single posibility for recording on the sound (recording) control panel and none of them seems to work (I would change then one by one and the try the windows sound recorder to test if it would work). Although when I tried the microphone works perfect on another computer with a 5. Li've Sound Blaster card.
    So, is this an issue with FlexiJack and Xtreme Gamer cards?
    I'm a missing some steps?
    Kind regards.

  • When I make an outgoing call the recipient cannot hear as though the volume were turned down Lowe. However when I use my speaker phone function the recipient can hear at normal volume. Is there a fix for this issue? Thanks Teresa

    When I make an outgoing call the recipient cannot hear me very well as though the volume was turned down very low
    However when I activate the speakerphone the recipient can hear me loud and clear
    Is there a fix for this?
    Thanks
    Teresa

    Hey Tlabounty,
    Thanks for the question. I understand you are experiencing issues with the microphone on your iPhone 5. To troubleshoot this issue, you may find the information in this article helpful:
    iPhone: Microphone issues
    http://support.apple.com/kb/ts5183
    Note that speakerphone and regular calls utilize seperate microphones on the device. It sounds like you have isolated the issue. Furthermore, if you determine that the issue is hardware related, the following resource may help you get started with the service process:
    iPhone Repair and Service - Apple Support
    http://www.apple.com/support/iphone/repair/
    Thanks,
    Matt M.

  • TS1398 Hi all since updating to ios 6 when trying to use facetime I keep getting connection lost and no ringing tone has Apple got a fix for this issue

    Hi all since updating to ios 6 when trying to use facetime I keep getting connection lost and no ringing tone has Apple got a fix for this issue

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • Any time I click on a new link, Firefox responds with "Oops! Firefox could not find..." - I click refresh and it loads. Is there a fix for this issue?

    This has been happening for a few weeks. I have recently upgraded Firefox to 4.0 hoping that would rectify the problem, but I am still encountering it.

    Do you actually mean FastMail? operamail.com simply redirects to fastmail.fm.
    The steps for adding a new mailto handler are described in the FastMail wiki:
    * http://fastmail.wikia.com/wiki/Firefox_3_default_mailto
    If you actually meant mail.opera.com, that's a separate service. In that case, the correct step 5 should be
    <pre><nowiki>javascript:window.navigator.registerProtocolHandler("mailto","https://mail.opera.com/m/mail/compose:to=%s","My Opera Mail")</nowiki></pre>
    Once you've added the new handler, make sure it's selected as the action for ''mailto'' under Options - Applications.
    * [[Set how Firefox handles different types of files]]

  • FIX for USB issue where Files get corupted after I sucsessfully transfer to N

    MP3 Player: Muvo N200 GB
    Firmware: Creative MuVo Micro N200 Audible Firmware Upgrade .2.0
    OS: Windows 2000 pro
    Machine: Ibm Thinkpad
    PROBLEM:
    drag a folder of MP3's to the N200 in the Windows Explorer
    2 wait for the zig zag line on the MP3 player to go straight.
    3 Stop the Muvo mass stoarge device
    4 Unplug the USB from the computer
    5 Turn the Muvo N200 on
    6 Folder has vanished
    7 Plug Muvo back into computer
    8 Folder is there, all files are missing
    Also .. if I plug the Muvo in right after I coppied the files (after step 4) the files exist. I dragged them to the desktop, compared them to the originals with a binary compare and they are identical ... just to see if the files got corrupted.
    It seems that when I turn the Muvo on, the files get deleted.
    I then installed the N200 Media Explorer with drivers .. didn't help at all.
    I tried this on a different machine, exact same files, and it works fine. Same OS, no Media Explorer.
    Also, this is my second N200. Sent the other one back after talking with support. Got an error at the end of a format. When I tried to install the .2 firmware, I could no longer turn the player on (didn't try recover). I'm sure this N200 will do the same on my thinkpad. I installed the firmware on the other machine (fool me once ....)
    EDIT: <FONT color=#cc9900>Further testing showed that this is a problem with my thinkpad. The N200 works fine as a thumb dri've on every other machine I tried. I tried using another thumb dri've on my Thinkpad and it failed in the same way. Also tried a Muvo NX .. just for kicks and it didn't work either.
    <FONT color=#cc9900>FUnny thing is that I can copy a file to the N200, read it back right away .. compare them and they are identical. ONce I remove the dri've, and plug it back in, the file is corrupted.
    Message Edited by chrisjc on <SPAN class=date_text>06-03-2005 <SPAN class=time_text>03:5 PM
    Message Edited by chrisjc on <SPAN class=date_text>06-03-2005 <SPAN class=time_text>03:54 PM
    Message Edited by chrisjc on 06-3-2005 0:26 PM

    :smileyvery-happy:My N200 now works on my thinkpad, and I just have to report on what I did to fix it .. just in case this helps anyone however indirectly.
    In the device manager, I changed all Host controllers from
    Intel 8280CA/CAM USB Uni'veral Host Controller
    to
    Strandard Uni'versal PCI to USB Host Controller
    And now My USB not only works on my N200, it also fixed an issue with my USB scanner.
    HOW TO DO THIS:
    Right Click on the My Computer ICON
    select MANAGE
    select Device Manager in the left hand column
    expand Uni'versal Serial Bus Controller in right hand column
    Click on Intel 8280CA/CAM USB Uni'veral Host Controller and
    Select Driver Tab and select Update Driver
    Next ... select radio button that says Display a list of Known.....
    then select Standard...
    do this for all Host controllers.
    Good luck ... I've been through everything if you want to send me a message.

  • Any fix for wifi issues with ios8?

    Just submitting another questions asking for help with IOS8 wifi issues. Nobody from Apple has commented or acknowledged any issues with wifi, so we, the users, are left to fend for ourselves.
    My specific issue is that 5GHz Wireless N seems to have incredibly short range, and 2.4GHZ Wireless N cuts out after about 3 seconds of use. I have tried all of the fixes described in every post I can find. I've deleted network settings, I've completely wiped the phone and started from scratch, I've done everything possible.
    Now that wifi doesn't work with IOS8 I can no longer use my iPhone 5 with AirPlay our any of my other devices in my home. The fact that Apple has refused to say anything about the problem, and the fact that they are blocking users from rolling back shows a level of arrogance that's absolutely amazing. Thankfully this is all happening before I bought an iPhone6, which I'm now seriously considering avoiding if this experience is any indication of Apple's commitment to quality.
    Are there any other tricks out there to get 2.4Ghz working? I know that we, the poor users of Apple products, are on our own, so I'm hoping that someone can help.

    I got iPhone 6 IOS8 [ not updated ] for a few months now worked fine until now WiFi not working  in my home tried reset , turning off phone , nothing worked , Got it to work by unplugging the router WiFi Box unit for a few seconds  ! works like a charm now , Super fast

Maybe you are looking for

  • BADI v/s user exit

    Hi Friends, I'm unable to decide whether to use  user exits or badis. What does SAP recommend. Example, if i want to add new tab in item details of PO...do i have to use badi or user exit and during PO creation if i want the to check a z tabl

  • Opening URLs in a flash movie

    Hi Everyone, I tried posting this in the general flash forum with no sucess. I'm guessing my question is more geared towards AS3 anyway. So here goes: I've created a flash intro for a website and I have it setup so that in the first frame of the intr

  • U think this is a bug in Flash Professional 8????

    I have encountered this probem with Flash Professional 8 (Windows Version). When i filled the stroke with Bitmap Color and tried to Rotate it with a constraint by holding a Shift Key it got distorted. This is not hapening everytime we do it, but does

  • Imac spontaneously turns off and restarts with error message

    Any help would be appreciated.  Started yesterday.  Already booted in safe mode and reinstalled using time machine to before it started to happen.  This is the error message: Interval Since Last Panic Report:  223748 sec Panics Since Last Report:    

  • Display standard Field Profit Center in Account Assignment Tab

    Hello all, i have a problem regarding display a standard field. The Business Case is that when i create a new shopping cart, on item level, on tab account assignment i want to display the field profit_ctr. i thought that i can maintain this in SPRO.