Setting the -client option on invocation of Java via JavaApplicationStub
I'm in my info.plist. I've added VMOptions. I've tried
<key>Java</key>
<dict>
<key>VMOptions</key>
<array>
<string>-client</string>
</array>
</dict>
I've tried
<key>Java</key>
<dict>
<key>VMOptions</key>
<string>-Xclient</string>
</dict>
And yet when I run my app and look in System.getProperties() I see
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
When what I wanna see is
java.vm.name=Java HotSpot(TM) Client VM
I do see that when I invoke Java from the command line.
I also have the 'open in 32-bit mode' checked. It doesn't seem to make a difference.
What am I doing wrong?
Yes, I have. I can't seem to get the JVM to take any VMOptions at all. I tried using the Jar Bundler too and got the same result. Here's my entire Info.plist... if there's anything obvious I'm missing, please let me know.
{code}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleIconFile</key>
<string>GenericJavaApp.icns</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>boogiepants</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>100.0</string>
<key>Java</key>
<dict>
<key>ClassPath</key>
<string>$JAVAROOT/boogiepants.jar:$JAVAROOT/bluecove-2.1.0.jar</string>
<key>JVMVersion</key>
<string>1.5</string>
<key>MainClass</key>
<string>boogiepants.util.BoogiepantsBootstrap</string>
<key>Properties</key>
<dict>
<key>-Xdock:name</key>
<string>boogiepants</string>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>bluecove.jsr82.psmminimumoff</key>
<string>true</string>
<key>java.library.path</key>
<string>$JAVAROOT</string>
</dict>
<key>VMOptions</key>
<string>-client</string>
</dict>
</dict>
</plist>
{code)
Similar Messages
-
I am goign to make 3 class of services and create users accordingly. Depending on the cos i will set the expunge option on/off by default. How do i do this?
You can't
Expunge is something done by the client, not by the server, even the actual action is handled by the server.
Perhaps I'm not understanding what it is you're looking for. Expunge is a specific IMAP command. . . -
I am not able to send out an email. I keep getting the following message: This message could not be delivered because your SMTP settings are not set. Please use the Accounts Preferences panel to set the SMTP options for your account. Can someone help me with this?
We need some information, starting with the email provider (eg. Google, Yahoo, Bellsouth, etc)
-
How to setting the printing option in javafx 2.1 or later?
Hi,
We need to printing pdf document in our project, it's can use the open source to do it now, but it's has some problem when running the program in other pc.
Step 1, It's setting the program with full screen in our program.
Step 2, In the button event, we call JDK swing print dialog to setting the page option.
They will not bring the swing frame to front, and the Javafx program unable to response cause by the swing printdialog.
If anybody know how to deal with the paper option setting by Javafx, Please help me, thanks a lot.Vibhor - You are developing using the Oracle Application Express facility running on Oracle Database 10g Express Edition. You can export applications you develop there for use on Oracle Application Express versions 2.0 and higher which can be used with Oracle Database server versions 9.2.0.3 and higher.
Electing to install an application as Run Application Only will prevent the editing of the application definition by the end user. This can be useful if you assume that the end user will have access to the Application Builder in his database, which is likely if the end user's database is Oracle Database 10g Express Edition (XE). However, there is no way to prevent an XE user from having complete control over applications installed into those databases. If the end user's database is not XE, then only an Oracle Application Express site administrator will be able to change the application's Run Application Only setting to Run and Build Application but all developers with developer accounts in the Application Builder will be able to view and edit the application definition.
Further, when you say "he can easily access my code", remember that the application definition is contained completely within the export file that you distribute but you may have in mind your PL/SQL source code as well. PL/SQL can be wrapped using a utility to make it more difficult to see in clear text.
Scott -
How to use FlashVars to set the default option on a combobox
We are using XCelcius to display data in an XML file that is populated by another program using the Web Services approach.
On our widget, there is a combobox that allows the user to select a specific range of data. In Xcelcius, the value of this combobox can be defaulted using the Behavior->Default Options->Combo.
This is good, but this also means hardcoding a particular value. What we'd like to do is set the Default Option on the combobox via a FlashVar.
Is this level of behavior exposed via the FlashVars so we can define the default option in our HTML file?
Thanks for reading.unfortunately you cannot dynamically set the default option in 'Any' selector - so your Flash Vars approach will not work
-
How to print the PDF file contains stamps without set the printer options
I have pdf document, and stamp them with my personal stamp.
With the printer option under "Comments and Forms", I set to "Document", my stamp DISAPPEARED.
Unless re-set (use options) to "Document and Markups" or "Document and Stamps" then it will be fined.
Can I embeding my stamps to my document so that everyone can print without using printer options to contain stamps?
(regarding to whoever don't know how to set the printer options, and keep asking that I did not stamp on the doc.)
Please help.
Thanks in advance.
thCan I embeding my stamps to my document so that everyone can print without using printer options to contain stamps?
Yes, you can. -
How can I set the size of an image in java?
How can I set the size of an image in java? I have to choose the width and height of image...thanks to everybody...sorry for my english :-)
Hi 43477
Can you provide more details, do you want to setsize to display an image on a screen of when saving image etc?
PS.
There is a good invention called googlegoogle is good, but sometimes it's better to use more specific search, there is a search field avove on this page :) -
Setting the allowaccess option as the default in xlock
Hi,
I was wondering if someone could point me in the right direction with a problem I�m having with Solaris 10 on a distributed system and the standard xlock application.
As I stated we�re running an application on a distributed system where we want to have the ability to lock down the operational processor with the command �xlock� and also have the ability to start and stop the application from another system while the processor is locked. This can be accomplished by running the command �xlock �allowaccess� on the operational processor.
My question, is there a way to set the �-allowaccess� option in user defaults or some other place so when the �xlock� command is executed it automatically sets the �-allowaccess� option?
I�ve already accomplished it in a script, but would prefer to do it within the system.
Any ideas would be greatly appreciated.
ThanksI figured it out, it was just a matter of setting "alias -tx xlock -allowaccess xlock" in the .profile
-
Where can i set the download options on the iPod for SD rather than HD movies?
where can i set the download options on the iPod for SD rather than HD movies?
In the Summary pane for the iPod in iTunes. Check the box that says Prefer standard definition videos
-
The''' Outlook links do not connect to Firefox '''even after setting the customize option in Default Programs. Please help.
Message to Toad-Hall
Thank you, for that. To be sure, I tried your suggestion, and selected "System Proxy" as the choice, for Thunderbird and Firefox. Rebooted, and looked at the outcome.. NO Joy.. :-(
I believe that I shall send the output of the Error Log in my next post. Perhaps someone can point me in the right direction after looking at the Error.log.
Thank you...Toad Hall. If you think of something else to try, I am ALL ears.. I shall keep trying.. -
How can we set the profile options to increase OPP response Time
Hi All,
While running the concurrent program to merge the data template and rtf template we got the following message in the log file.
Executing request completion options... ------------- 1) PUBLISH ------------- Beginning post-processing of request 9079946 on node G2C-IDEV-02 at 21-SEP-2007 02:04:49. Post-processing of request 9079946 failed at 21-SEP-2007 02:19:53 with the error message: The Output Post-processor is running but has not picked up this request. No further attempts will be made to post-process this request, and the request will be marked with Warning status. Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary. --------------------------------------
Thanks in advanceHi ,
There are 2 new profiles options that can be used to control the timeouts. Depending on the error message, one of the following solutions needs to be implemented.
Profile Option : Concurrent:OPP Response Timeout
Internal Name : CONC_PP_RESPONSE_TIMEOUT
Description : Specifies the amount of time a manager waits for OPP to respond to its request for post processing.
Profile Option : Concurrent:OPP Process Timeout
Internal Name : CONC_PP_PROCESS_TIMEOUT
Description : Specifies the amount of time the manager waits for the OPP to actually process the request.
Note: The profile options are available as of $FND_TOP/patch/115/sql/AFCPOPRB.pls 115.3 and are included in Patch 4125550 11.5.10 CU2 for ATG Product family.
Solution A
Option 1: Increase the value (in seconds) for the profile option 'Concurrent:OPP Response Timeout'.
Option 2: Increase the number of processes or threads (or both) of the OPP via Oracle Applications Manager (see Note 291792.1 for the detailed instructions)
Solution B
Increase the value (in seconds) for the profile option 'Concurrent:OPP Process Timeout'.
Workaround
The timeouts can also be altered directly in the package AFCPOPRB.pls :
-- Default timeout values for waiting on a response to a request (seconds)
TIMEOUT1 constant number := 120;
TIMEOUT2 constant number := 300;
TIMEOUT1 and TIMEOUT2 corresponds to respectively OPP Response Timeout (solution A) and OPP Process Timeout (solution B).
Cheers
Ranjit. -
Mail crashes upon setting the header option left to account
Trying to set the header options like i want a copy field or the priority the mail should have crashed the application. Setting the bcc or reply to fields works. I got around the missing copy to field in setting always copy to me, deleting this and writing the persons email-address in this then existing field.
Are there other ways??
Tks Brendt
PB Titanium Mac OS X (10.4.5)Hi there,
I noticed a similar kind of behaviour, but only while working in localized german. As soon as I switch over to english UI, customizing the headers works. In german, the whole mail.app crashed everytime I try to click on 'customize'.
Is Apple aware of this? Is there a bug report?
Thanks
Martin
Powerbook G4 12" 1,5 GHz Mac OS X (10.4.5) -
WLS JMS supports the clients developed by using non-java program languages,such
as,c++,VB?
The short answer is yes. This is a frequently asked question. I
suggest searching this newsgroup in google using terms like "C++",
"IIOP", ".NET", "JCOM".
Note also that WL 8.1 (now out in beta) contains a thin java client
(something like 0 or 300K without JMS, 700k with. The 0K client comes
from leveraging WL's IIOP support.)
Tom, BEA
jerry8006 wrote:
> WLS JMS supports the clients developed by using non-java program languages,such
> as,c++,VB?
-
[SOLVED]Setting the profile option:OPP Response Timeout to a higher
hi frs,
while running report getting error like
Beginning post-processing of request 410882 on node USAORF01 at 10-JAN-2006 11:45:17.
Post-processing of request 410882 failed at 10-JAN-2006 11:50:18 with the error message:
The Output Post-processor is running but has not picked up this request.
No further attempts will be made to post-process this request, and the request will be marked with Warning status.
Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary.
i found a document on metalink docid: 352370.1
in doc they have given like RESTART 'Output Post Processor' so that problem can be solved.
how much time it will take to restart the 'Output Post Processor'.
'Output Post Processor' is based on any level like site or user or responsibilty.
pls help in understanding about 'Output Post Processor'.
Thanks
Rajesh
Message was edited by:
Rajesh.maniWe typically set this to profile to NO in production instances, unless troubleshooting an issue - it is then set at an appropriate level (USER or RESP etc) temporarily.
We have not found any performance issue when setting this in non-production instances.
MOS Doc 275876.1 - Oracle Application Framework Profile Options Release 11i (11.5.10)
HTH
Srini -
Setting the charset in dynamic invocation
I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
shows how to set the charset attribute of the Content-Type HTTP header via the
client stub. But I am not using client stubs, I'm using dynamic invocation. So
how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
property field for this.
TIA...
MarkThe trouble with this example is that it doesn't use JAX-RPC dynamic invocation.
The attachment contains an example of what I am trying to do. The method of interest
is case3(), in which. on lines 294-296, is an (unsuccessful) attempt to set the
character set. The other methods of interest here are getEMAExceptionServices()
(which creates the javax.xml.rpc.Service object) and getUpdateExceptionResolutionStatusCall(Service
iService) (which creates the javax.xml.rpc.Call object).
[OK, this time I attached something.]
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Take a quick look at Manoj's Mega example [1] and see if this clears
things up. If not, post your code and we can take a look, or speak to
our outstanding support team: http://support.bea.com or [email protected]
Thanks,
Bruce
[1]
http://manojc.com/tutorial/mega/client/BindingProperties.java
Mark Shaffer wrote:
Bruce,
If I try to get the "weblogic.webservice.bindinginfo" property froma Call object,
this exception is thrown:
javax.xml.rpc.JAXRPCException: unknown property: weblogic.webservice.bindinginfo
at weblogic.webservice.core.rpc.CallImpl.getProperty(CallImpl.java:322)
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Did you try the code in the doc?
import weblogic.webservice.binding.BindingInfo;
BindingInfo info =
(BindingInfo)stub._getProperty("weblogic.webservice.bindinginfo" );
// The following method sets the Content-Type HTTP header
info.setCharset( "UTF-8" );
port.helloWorld();
Thanks,
Bruce
Mark Shaffer wrote:
Bruce,
OK, but the disconnect here is that I don't have a BindingInfo object,nor do
I know how to obtain one. All I have is javax.xml.rpc.* objects.
-- Mark --
Bruce Stephens <[email protected]> wrote:
Hi Mark,
Your client application can specify the character set that it would
prefer the Web Service to use in its response by using the
weblogic.webservice.binding.BindingInfo.setAcceptCharset() method.
See: http://e-docs.bea.com/wls/docs81/webserv/i18n.html#1069629
There is example code there as well.
Hope this helps,
Bruce
Mark Shaffer wrote:
I'm on WLS 8.1 SP1. The doc (http://e-docs.bea.com/wls/docs81/webserv/i18n.html)
shows how to set the charset attribute of the Content-Type HTTP
header
via the
client stub. But I am not using client stubs, I'm using dynamic
invocation.
So
how do I accomplish the equivalent? I don't see an obvious javax.xml.rpc.Call
property field for this.
TIA...
Mark
[UTEMAExceptionServices.java]
Maybe you are looking for
-
How do I set up a track with lots of markers? Stories? End jumps?
Hello, sorry if the topic is a bit vague, I'll try to explain as good as I can. And I've just had a cup of tea, so let's go..... I'm working on a project in FCP. On my timeline, there are about 20 clips, with 2 seconds of black cut in between. What I
-
HT3819 Can I have two apple accounts on a single device?
Can I have two apple accounts on the same device?
-
How do I get the file names on a customized proof sheet?
How do I get the file names on a customized proof sheet?
-
Problem about enabling GL Drawing.Any help,please?
Installed PhotoshopCS5 trial on laptop Vaio , XP Pro, service pack 3. When setting preferences found that in Performance window, section GPU is dimmed and can not activate Enable GL Drawing . The message in Description area is that Graphics hardware
-
Linkage error when using XDK 9i on Solaris
I have XDK 9i installed on my host and I'm trying to use xml parser class. ================ SunOS btXXXXXX 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-Enterprise-10000 I use Forte6 Sun workshop I add $ORACLE_HOME$/xdk/include directory path I add us