Java update 1.6.0_51 (update 16) breaks Tomcat in 10.6 server - help!

Hi all,
After updating Java on our Xserves running OS X Server 10.6.8 last night, our mission critical Java Tomcat applications were unable to run.
Doing some research we discovered the following in the system logs:
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:183)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
Aug 13, 2013 9:20:03 AM org.apache.catalina.startup.Bootstrap initClassLoaders
SEVERE: Class loader creation threw exception
java.lang.InternalError: Can't connect to window server - not enough permissions.
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
In the prior release of Java, the Tomcat server was running in the background (headless?) and ran beautifully for the past 3 years.
I was able to manually start Tomcat by running /Library/Tomcat/bin/startup.sh , but manually starting Tomcat now launches org.apache.catalina.startup.bootstrap app which sits in the dock.  The problem comes when I log out of the root account, that bootstrap process is killed off and stops Tomcat and thus none of our clients can process credit cards.
There must be a way to get Tomcat to run again in the background without trying to connect to the Window server.  I've seen some postings mention the command or configuration "-Djava.awt.headless=true" as a solution to this problem, but I am not sure where or how that command or configuration is supposed to be set or installed to fix this problem.
Right now, I am having to maintain an active sign-in to our production servers in order to keep Tomcat running due to the change.
I'm in dire straits until I can get this permanently fixed.
"Help me Obi-Wan Kanobi, you're my only hope"

I am going to answer my own posting, since others may need this information to troubleshoot or solve their problems.
I was able to use this configuration directive in the "Tomcat/bin/catalina.sh" file to correct the issue.  I placed this right after the introductory comments found at the top of the file:
     CATALINA_OPS="-Djava.awt.headless=true"
This allowed the Catalina Bootstrap process - which is kicked off by the Tomcat Daemon that OS X Server runs every 10 seconds, to now tell Tomcat to run itself in the background (like its supposed to) instead of trying to run in a windowed interactive mode.
This also killed off the org.apache.catalina.startup.bootstrap app which was sitting in the dock.
Now I can again, log out of the server, using Remote Desktop, without causing Tomcat to shut down.
I hope this helps someone else with a similar issue.

Similar Messages

  • Error in installing  Java EE 5 Tools Bundle Update 6

    Hi,
    I am always getting following error installing Java EE 5 Tools Bundle Update 6:
    "...GlassFishUtils$DomainCreationException: Could not create domain - the process returned 255"
    Looks like Sun Java System Application Server 9.1 is the issue here.
    This is very critical that I install the Netbeans in my machine. I appreciate any help from you.
    Thanks,
    Joy

    You can certainly install this on Windows XP Home and expect everything to run. Supported platform list usually lists only those specific platforms which went through full QA cycle for particular product, but this doesn't mean product will not run on different OS version or edition.

  • Requires to update plug-in JAVA. I update, but всеравно shows update a plug-in

    Requires to update plug-in JAVA. I update, but всеравно shows update a plug-in

    Duplicate of this question:
    https://support.mozilla.org/en-US/questions/950060
    It's an advertisement designed to trick users into installing undesirable software.

  • STILL NOT SOLVED. So...What Is Going On With Java And How Do I Update It?

    So...I checked my plugins this morning, and it said both my Java platform and my Java Deployment Toolkit needed updating. However, I click Update, and the link does not lead me to a download page. Plus, when I try to verify my Java version on the Java page, it says that I have the recommended Java installed (and so do other sites that run on Java). How do I update these things so that everything is up to date?
    Screenshots for further info:
    http://oi50.tinypic.com/15d87ly.jpg (the plugin checker status)
    http://oi47.tinypic.com/35jk0ub.jpg (What the "Update" link leads to)
    http://oi46.tinypic.com/34yz7kk.jpg (The verification)

    '''ponyparty''',
    <s>The x86 package is for 32-bit Windows - WinXP, Vista, and Win7.</s> <br />
    <s>The x64 is for 64-bit versions of Windows - XP, Vista, and Win7.</s>
    <sub>'''EDIT:''' You need the x86 package (32-bit version of Java) on both 32-bit and 64-bit Windows to use the Java plugin for Firefox, which is a 32-bit browser. The X64 64-bit Java is only needed for 64-bit browsers, if you use one. Ref: http://kb.mozillazine.org/Java#Java_downloads aw</sub>
    The JDK version is for Developers, you want the '''JRE''' version. The Development Toolkit plugin comes with both versions, but that plugin is really only needed by people developing for Java.
    As far as '''if''' you should update right now, my answer is '''NO'''. From what I am reading the U10 version is messed up and is not installing the Firefox required U10 plugin. Not sure if Oracle didn't update it for Firefox, or if some users are missing the registry key needed for Firefox to locate the new plugin.

  • I can not get any updates and therefor not use Java as it only run updates for Mac 10.7. and later? How do i get the updates to install and use Java?

    I can not get ny updates and therefore not use Java, as it only run updates for MAC 10.7. and later. How do i get the updates to install and use JAVA ?

    In Snow Leopard you update Java from Software Update (in the Apple menu). You can check your version by opening Terminal and typing
    java -version
    (don't get creative and type anything else)
    The latest version is 1.6.0_65.

  • Plugin check reports outdated Java on Mac, but Apple update says it is up to date

    This is on a Mac
    I used the "Plugin check" to make sure all the plug-ins were up to date.
    It said the Java plugin needs to be updated. That takes me to the Java page, which says that Apple supplies its own version of Java and to use Apple Update. Apple update says the system is up to date.
    The plugin checker should report an error only if the version of Java can be updated. It cannot be on a mac.

    That's a known bug:
    [https://bugzilla.mozilla.org/show_bug.cgi?id=573848
    Bug 573848 - Java Embedding Plugin reported as out of date, when up to date]
    The Java Embedding Plugin is bundled with current Mac distributions of Mozilla browsers, including Firefox. The latest version of the JEP should be 0.9.7.3 - see
    http://javaplugin.sourceforge.net/ for more information.
    Apple provides the Java software needed for running Java applets via Apple's Software Update feature. The current Java version offered by Apple for OS X 10.6 is [http://support.apple.com/kb/DL972 Java 1.6.0_20]. You can test your Java version at these sites:
    *http://browserspy.dk/java.php
    *http://javatester.org/version.html
    Ref:
    * [[Using the Java Plugin with Firefox]]
    * [http://kb.mozillazine.org/Java]

  • Java keeps asking to be updated How do I stop this?

    Why does Java keep asking to be updated after installing Yosemite?

    It's likely that something installed in your system is looking for Apple's version of Java.

  • Java Runtime Environment 6.0 update 11  NOT loading Java Applet

    As soon as I have installed Java Runtime Environment 6.0 update 11, my web based applications Applet is not loading. The applet only loads after minimize and the maximize my IE 6.0 Browser. As soon as I uninstalled (removed) Java Runtime Environment 6.0 update 11 from my system, everything works fine.
    I have Java Runtime Environment 6.0 update 3 and Java Runtime Environment 6.0 update 5 on my system. Please help to find a fix for this issue.
    Thanks
    Mohan

    Many of these strange browser problems can be solved by launching the applet using webstart. Is there any reason this applet has to be embedded in a browser window?

  • Forced shutdown during java update, created error in update

    Upon shutting down my iMac this morning, I chose "install updates and shutdown" instead of just "shutdown."  Realizing I didn't want to update at that moment, I forced a shutdown, by holding the power button.  Java was the first of 4 updates. 
    When forcing the shutdown, "writing files" was in action on the update.  When I ran the update later today, I received an error message that the update failed.  This was only for the Java update, as the security update and others worked fine. 
    When restarting after the other completed updates, a notice appeared that Java Preferences cannot open.  Below, the details read that "no compatible version of Java 1.5+ is available." 
    Any help would be greatly appreciated. 
    Thanks,
    Jason

    I just reinstalled the update through apple's featured downloads and now I am able to open Java Preferences.  Is there anything else to check to make sure the Java update has worked?

  • Java JRE 32-bit 7 update 71 performance issues

    We have packaged and are testing Java JRE 32-bit 7 update 71.  We are encountering a number of issues in testing, mostly surrounding performance.
    Login to McAfee Web Gateway Console via IE takes abnormally long time to connect (over a minute).  This same process with Google Chrome completes in 5 seconds.  Normal login time with JRE 32-bit 7 update 65 is around 5 seconds.
    Also experiencing similar issues with performance with IBM Workplace XT using JRE 7 update 71.  Using JRE 7 update 65 works with normal access times (around 5 seconds).  Many users impacted by this issue.
    Access to some external websites fails with ClassNotFoundException (start.jviewONE.class).
    We tried Java 7 update 72 and also 8 update 25 with the same results.  The only documented updated features are a timezone and expiration enforcement.  We have compared settings side by side (7v65 vs 7v71, 7v72, 8v25) and do not note any additional configuration or differences in settings.
    Is anyone else experiencing these issues?  Were you able to find a resolution?

    We have found exactly the same.
    Websites such as JavaTester.org give a 'ClassNotFoundException' application error in Internet Explorer whereas they work fine in Firefox and Chrome.  Switching a PC back to 7u65 gets the website working fine again.  Interestingly I did have a VM with 7u71 installed that could still access the Java applets on these websites - but it can't now following a revert to snashot!?

  • HT5242 Are the older versions of Java automatically uninstalled during an update?

    Are older versions of Java automatically uninstalled during an update?

    If you open the /Applications/Utilities/Java Preferences.app then the available Java Virtual Machines will be listed. I have a newer mac with 10.6.8 that has latest Java 6 version installed on it and an older macbook pro with the lastest Java 6 Virtual Machine version and the previous Java 6 Virtual Machine version .

  • HT5493 so do I need this Java OS X 2012-006 update or no?

    so do I need this Java OS X 2012-006 update or no?

    The operative words from that article are:
    "This update also removes the Java Preferences application, which is no longer required to configure applet settings," the support note concludes.
    (My bold)
    In other words, the security risks of using Java have been removed, but without loss of functionality.
    If you feel you must jave Java you can get it from here:
    http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.h tml
    Further information here:
    http://www.oracle.com/us/corporate/press/1735645

  • The Java startup framework must be updated - SAP JVM 4

    Dear All,
    While execution of switch from JDK to SAP JVM 4.1 on java instance we get the message "The Java startup framework must be updated in order to use SAP JVM 4"
    Please help or guide for further steps
    Regards,
    Ajay

    Hi Ajay,
    Hope you are doing good.
    If the issue persists, kindly update the kernel to the latest level as this will update the native libraries which the JVM needs. This is the next step in these kind of cases.
    The below links will help you if there are any queries with the
    kernel update procedure.
    If you wish to do a Manual Kernel Upgrade:
    <http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70d8838d-cb8f-2c10-7ab8-d1504670fbb8>
    Kernel upgrade using JSPM:
    <http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11219>
    and
    SAP Note No. 19466: Downloading SAP kernel patches
    Thank you and have a nice day :).
    Kind Regards,
    Hemanth
    SAP AGS

  • Java won't operate or update.

    Java won't operate or update.  Looked in preferenes and coudln't see that
    Java was disabled.  Tried to use a program with Java required and it
    said it was either disabled or not updated.
    Any ideas?  Thanks.

    No Java update for 10.5 users, only 10.6 and 10.7 users,
    it's been disabled in the May 14th Leopard Security Update for 10.5 users.
    https://support.apple.com/kb/HT1222

  • HT5797 Where might I get Java version 1.6.0_51 so PhotoShop will work again?

    After updating to OX 10.8 AKA: Mountain Lion, PhotoShop will not open/work. It requires a new version of Java. Apples support article says Java version 1.6.0_51 should work. (If I understand correctly.) I don't see anything on Oracle's website except "bug" reports.
    Thanks for any help.
    I hope I don't sound grumpy.

    Hi MrCraig!
    I have the link for the download of Java for OS X 2013-004 right here for you:
    Java for OS X 2013-004
    http://support.apple.com/kb/DL1572
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

Maybe you are looking for