• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why would native code in a java process fail - but only if started by wotaskd?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why would native code in a java process fail - but only if started by wotaskd?


  • Subject: Re: Why would native code in a java process fail - but only if started by wotaskd?
  • From: email@hidden
  • Date: Mon, 24 Aug 2009 10:36:56 -0400


Hi All,

Here's a thought. When you start up from Terminal do you see anything new bouncing in the dock? If so, that means that it requires access to window services to launch.

Launching via JavaMonitor as "root" often means you do not have access to window services. That could cause an immediate crash when it tries to obtain it. Java AWT calls often require this, your native code might too. Usually there are ways to get around this but its situation is different. If it is a carbon app you are connecting to there are a few options in the info.plist of the carbon app bundle you need to flip to make it run "headless".

-- Aaron
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why would native code in a java process fail - but only if started by wotaskd?
      • From: Hugi Thordarson <email@hidden>
  • Prev by Date: Re: Building 5.3.3 apps on a 5.4.3 machine
  • Next by Date: Re: [Wonder-disc] mod_WO
  • Previous by thread: Re: Building 5.3.3 apps on a 5.4.3 machine
  • Next by thread: Re: Why would native code in a java process fail - but only if started by wotaskd?
  • Index(es):
    • Date
    • Thread