Where is the swing.properties file?
In J2SDK 1.5 beta, where is the swing.properties file.
The file is supposed to be located in <Java Home>/lib/ but it is not there.
Thanks,
I'm not sure about 1.5, but normally there isn't one. The defaults are just used unless there is one.
Look here
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/UIManager.html
Similar Messages
-
Where is the weblogic.properties file in weblogic6.1?
I could only find this file in directory: ..\wlserver6.1\samples\examples\tutorials\migration\banking
why i cannot find it in wlserver6.1 directory? Is there any other properties file
whose function is the same as this one so that i can change setting?
Thanks in advance,
moonriverThe weblogic.properties file is only used for weblogic 5.x, it is no longer used
in 6.x anymore. Instead, a config.xml file is used as similar purpose.
Allen.
"Moonriver" <[email protected]> wrote:
>
I could only find this file in directory: ..\wlserver6.1\samples\examples\tutorials\migration\banking
why i cannot find it in wlserver6.1 directory? Is there any other properties
file
whose function is the same as this one so that i can change setting?
Thanks in advance,
moonriver -
Where can I find the wrapper.properties file?
Does anyone know where I can find the wrapper.properties file?
Yes I am talking about tomcat, except it is not in this directory. I even did a search my entire hard drive and could not find it. Why is this? and how do I change the class path for the server? I thought you do so in this file?
-
Hi Everyone:
We are using JDev 11.1.2 and JHeadstart 11.1.2. We have been having a multitude of problems when running applications through the migrator (and we have now been told by an Oracle consultant that the migrator is problematic), so we are trying to re-write things from scratch to bring them over from 11.1.1.4 to 11.1.2.
I have been working on a simple application from scratch and discovered that the messages for constraints on the entities that I am using are not showing up in the ApplicationResources_en.properties.file. We noticed a similar thing with converting an application using the migrator and that post is found here - java.lang.NullPointerException ADF_FACES-60097 message ***WITH SOLUTION*** -.
However, I didn't get a single reply to that thread.
I initially thought it was a migration issue, but this application is from scratch. Whenever I tried to input an invalid value into a page column, the following exception would be received.
"java.lang.NullPointerException ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #"
This Null Pointer turned out to be the missing message from the ApplicationResources_en.properties file. In the new application I just wrote, I had to manually edit to add the following lines to the ApplicationResources_en.properties file and the application no longer gives me the error if I input an invalid value.
VALIDATE_FEE_CATEGORY_3=Feecategory with this FeeCategory does not exist
VALIDATE_ACADEMIC_TERM36=Academicterm with this EffectiveTermStart does not exist
VALIDATE_ACADEMIC_TERM36_CASDEL=Cannot delete Academicterm while dependent Specialexchange exists
VALIDATE_ACADEMIC_TERM37=Academicterm with this EffectiveTermEnd does not exist
VALIDATE_ACADEMIC_TERM37_CASDEL=Cannot delete Academicterm while dependent Specialexchange exists
VALIDATE_CURRENCY23=Currency with this Currency does not exist
VALIDATE_CURRENCY23_CASDEL=Cannot delete Currency while dependent Specialexchange exists
VALIDATE_FEE_CATEGORY_3=Feecategory with this FeeCategory does not exist
VALIDATE_FEE_CATEGORY_3_CASDEL=Cannot delete Feecategory while dependent Specialexchange exists
These constraints are found in the Entities .xml files as shown below. We are using a re-usable business components .jar file to import them in.
<Key
Name="UniqueFeeCategory"
PrimaryKey="true">
<DesignTime>
<Attr Name="_DBObjectName" Value="UNIQUE_FEE_CATEGORY"/>
</DesignTime>
<AttrArray Name="Attributes">
<Item
Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.FeeCategory"/>
<Item Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.Currency"/>
<Item
Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.EffectiveTermEnd"/>
</AttrArray>
</Key>
<Key
Name="ValidateAcademicTerm36">
<DesignTime>
<Attr Name="_referencedKey" Value="UNIQUE_ACADTERM_CODE"/>
<Attr Name="_isForeign" Value="true"/>
<Attr Name="_DBObjectName" Value="VALIDATE_ACADEMIC_TERM36"/>
</DesignTime>
<AttrArray Name="Attributes">
<Item
Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.EffectiveTermStart"/>
</AttrArray>
</Key>
<Key
Name="ValidateAcademicTerm37">
<DesignTime>
<Attr Name="_referencedKey" Value="UNIQUE_ACADTERM_CODE"/>
<Attr Name="_isForeign" Value="true"/>
<Attr Name="_DBObjectName" Value="VALIDATE_ACADEMIC_TERM37"/>
</DesignTime>
<AttrArray Name="Attributes">
<Item
Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.EffectiveTermEnd"/>
</AttrArray>
</Key>
<Key
Name="ValidateCurrency23">
<DesignTime>
<Attr Name="_referencedKey" Value="UNIQUE_CURRENCY_CODE"/>
<Attr Name="_isForeign" Value="true"/>
<Attr Name="_DBObjectName" Value="VALIDATE_CURRENCY23"/>
</DesignTime>
<AttrArray Name="Attributes">
<Item Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.Currency"/>
</AttrArray>
</Key>
<Key
Name="ValidateFeeCategory3">
<DesignTime>
<Attr Name="_referencedKey" Value="UNIQUE_FEECAT_CODE"/>
<Attr Name="_isForeign" Value="true"/>
<Attr Name="_DBObjectName" Value="VALIDATE_FEE_CATEGORY_3"/>
</DesignTime>
<AttrArray Name="Attributes">
<Item
Value="its.sis.uwbm.AREdit.entityobjects.Specialexchange.FeeCategory"/>
</AttrArray>
Is this a known bug (I have searched and havent found it) and is there anything that I can do about it without having to manually add the messages?
Mary
UofWHi Everyone:
I have done some further testing. We are using a re-usable Business Components .jar file to access our entities. We import the .jar file into the project and create the ViewObjects and ViewLinks from that .jar file.
It APPEARS that a test case using the HRSchema and using the Entities & Associates generates the constraint error messages, but when I use the .jar file of re-usable business components imported into the project, those constraint error messages are not created in the ApplicationResources_en.properties file. I have created two testcases as well as the re-usable .jar file that I can send to you to show what I mean.
This behaviour seems to have shown up in 11.1.2 as there was no problem before this.
Please let me know where you'd like me to upload the testcases.
Thank you.
Mary
UofW -
Commas in the weblogic.properties file
I hate to ask this question because I'm sure the answer is a)obvious, and
b)well-known, but I'm playing in the slow group today.
How does one include a comma in a property value in the weblogic.properties
file. Specfically, I'm trying to set weblogic.system.startupArgs as follows
weblogic.system.startupArgs.xxxx=sql=select sysdate from dual where
mod(to_number(to_char(sysdate, 'MI')), 2) = 0
The value assigned to the "sql" arg is truncated at the first comma and a
second argument "'MI'))" is created. Very irritating. Any ideas on how to
prevent this from happening?
Ignore the details of the sql statement, its just for testing.
Brian Murray
Management Information Systems
Vanderbilt UniversityThanks for the reply, but that didn't seem to work. Escaping the commas
with back-slash delivered the same result.
It seems that since the value for the weblogic.system.startupArgs.xxxx
property can itself be a set of multiple properties, the normal parsing
rules don't apply when the "inner" set of properties is parsed. For
example, if weblogic.properties has
weblogic.system.startupArgs.xxxx=aaaa=X\,Y
then it appears that "startupArgs.xxx" is being assgined "aaaa=X,Y".
However, when the startup class gets the arguments, whatever routine is
parsing the value of "startupArgs.xxx" is seeing the comma and deciding that
there are two properties, not one. So the startup method of my startup
class gets 2 arguments: "aaaa=X" and "Y=".
I tried all the old Korn shell tricks I could remember like aaaa=X\\\,Y.
But all I got was "aaaa=X\" and "Y=".
Any other thoughts or am I trying something I wasn't supposed to do?
----- Original Message -----
From: "Dimitri Rakitine" <[email protected]>
escape commas with \'s
Brian Murray <[email protected]> wrote:
How does one include a comma in a property value in the
weblogic.properties
file. Specfically, I'm trying to set weblogic.system.startupArgs asfollows
>
weblogic.system.startupArgs.xxxx=sql=select sysdate from dual where
mod(to_number(to_char(sysdate, 'MI')), 2) = 0 -
Where to place ResourceBundle properties files
I have written a servlet that will serve content in different languages
depending on the user's browser settings.
The problem is my servlet cannot find the resource bundle properties fiel
even though I put it in the server classes directories.
Namely:
/weblogic/myserver/servletsclasses
/weblogic/classes
/weblogic/myserver/serverclasses
Can anybody tell me where to put my resource bundle properties files??
regards
EM"Ee-Ming" == Ee-Ming Toh <[email protected]> writes:
Ee-Ming> I have written a servlet that will serve content in different languages
Ee-Ming> depending on the user's browser settings.
Ee-Ming> The problem is my servlet cannot find the resource bundle properties fiel
Ee-Ming> even though I put it in the server classes directories.
Ee-Ming> Namely:
Ee-Ming> /weblogic/myserver/servletsclasses
Ee-Ming> /weblogic/classes
Ee-Ming> /weblogic/myserver/serverclasses
Ee-Ming> Can anybody tell me where to put my resource bundle properties files??
First of all, it would be useful if we knew what version of WebLogic you're
using. There's considerable differences between versions.
In general, if you have a standard WAR structure, you're better off putting
properties files in the "WEB-INF/classes" directory of your WAR structure. If
you do that, you have a chance of being able to redeploy the changed properties
files without having to restart the server.
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[email protected] ; SCJP; SCWCD -
Where can i find .properties file for jco connection?
For jco connection to SAP, we need .properties file. Is this file already contained in Exchange Profile or somewhere??
If yes, where can i find .properties file for jco connection or what is the path to this file?
OR, do we have to create manually??
Any help is appreciated.
Thanks.
KarmaHi Karma,
Please take a look at these..
Where to set up the JCO connection?
http://help.sap.com/saphelp_nw04/helpdata/en/bc/42e13d82fcfb34e10000000a114084/frameset.htm
http://help.sap.com/saphelp_webas620/helpdata/en/bc/42e13d82fcfb34e10000000a114084/content.htm
cheers,
Prashanth -
I have been defining Big5 as an alias of Big5-HKSCS in charsetalias.properties. This makes Firefox renders pages declared as "Big5" to be rendered in Big5-HKSCS instead. Big5-HKSCS is a standard published by the Hong Kong government because the Big5 charset does not contain many common Chinese characters used in Hong Kong. However, Big5-HKSCS is just an extension of Big5, so most (if not all) Chinese web sites in Hong Kong using Big5-HKSCS declare their pages to be in Big5 in the <meta> tag.
I am now trying out Firefox 4 RC and found that the charsetalias.properties file is no longer there. So in order to read pages containing characters that are in Big5-HKSCS but not in Big5, I need to switch the encoding manually. This is extremely inconvenient. Can you consider bringing charsetalias.properties back?
[http://groups.google.com/group/mozilla.dev.i18n/browse_thread/thread/415caa98a6246a00 Someone noticed this issue as well.]Here's the script I was working on.
It determines the encoding of the site by checking a couple of different ways the meta tag can supply encodings. One way is to have a charset attribute on a meta tag, and the other way is to have a meta tag with http-equiv="content-type" and have charset= be part of the content attribute.
(note: I think [https://developer.mozilla.org/en/DOM/document.characterSet document.characterSet()] might be a far more reliable way to detect encoding since it doesn't depend on the specific way the meta tag was written. But I haven't tested it.)
Debugging messages showed that it could detect the specified encodings fine on the few test pages I was trying it on. The problem is in the way I change the encoding.
It currently uses .setAttribute to attempt to modify the meta tags once it finds the encodings. Unfortunately, this doesn't change the selected encoding in Firefox. It doesn't affect the page source, either.
I have to replace those setAttribute calls with something that will actually affect the selected encoding in Firefox.... but I'm not sure what would accomplish that.
http://pastebin.com/Yt7fygXe
Just a little warning, it's case- and whitespace-sensitive because I didn't get around to using regular expressions yet. So if a page says charset="BIG5", you'll probably need to make it uppercase in the script as well. Sorry, I'm lazy!
Nonetheless, I ''hope'' this is a start... -
SAP-XI, permission of the instance.properties file changes unexpectedly
Hi forum,
I have XI installed in HP-UX,
the permission of the instance.properties file (/usr/sap/<SID>/<instance name>/j2ee/cluster/instance.properties) in my XI system (installed in HP-UX), changes automatically, and hence the server starts giving problem like, JCO error while message-mapping, etc,
can u tell me how the permission changes on the fly,
I mean to say, in proper condition we keep it as rw_rw_rw, but it changes to rw_ ___ ___,
pls help,Hi Sudeep
I just checked on two systems. It looks like the permissions should be:
sidadm > ll j2ee/cluster/instance.properties
-rw-r--r-- 1 sidadm sapsys 3669 Nov 25 12:41 j2ee/cluster/instance.properties
Can you please check if <b>sidadm> umask</b> returns 022?
Regards Michael -
By mistake i deleted the Propertysheet.properties file in VC admin
Hi All,
I have an issue in visual composer, I did the following.. then i got the error when I logged into VC that "Proxy error : Server error : Failed to read models list"
1. Log on to Visual Administrator.
2. In the left panel, make sure the Global Configuration tab is chosen.
3. In the tree, expand the Services node and choose the Configuration Adapter service. In
the main pane, in the Display configuration tab, the Configurations tree is displayed.
4. Expand the development server node to display the client workspaces.
Under client workspaces i have gone to my login name under that by mistake i deleted the Propertysheet.properties file.
Then i refreshed the my model name, then the Propertysheet.properties file came.
Still I am getting the error. Can you help me out... Its very urgent to resolve this.. I will give points for good answers.
Thanks
Suresh.Hi,
does this only happen for your user or for all?
Anja -
Revision: 8057
Author: [email protected]
Date: 2009-06-22 12:27:26 -0700 (Mon, 22 Jun 2009)
Log Message:
Some errant renames in the project properties files.
Modified Paths:
flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties
flex/sdk/trunk/development/eclipse/flex/flash-integration/.project
flex/sdk/trunk/development/eclipse/flex/sparkTest/.actionScriptPropertiesThats good news.
-
HT1766 where is the Itunes backup file located in the computer ?
where is the Itunes backup file located in the computer?
Read here:
http://support.apple.com/kb/ht4946 -
Just where ARE the site definition files?
I've just received CS4. I want to move it to my more powerful laptop when I install it. I know how to do that and I can move site files, but where are the site definition files? I really don't want to have to set up each site from scratch. Is there one (or more) files that are the name, url, location, id, password etc for each of the (many) sites in CS3?
don CarlosTo import/export site definitions (not site files):
On the old computer:
Site > Manage Sites
Shift click to highlight all site names
Export..
Same procedure on new computer then Import.. -
Where to store mysap.properties file?
Hello,
I'm trying to test application Test User Management under SAP J2EE engine of SRM UM. When I run page:
http://mysite:54000/logon/TestUM
there is an message:
Test is disabled, please specify UM_TESTUM=true
I assume that this "UM_TESTUM=true" setting should be put in mysap.properties file. My question is where to store mysap.properties file?
Somewhere here?
c:\usr\sap\SRM2_UM\j2ee\j2ee_40\cluster\server\services\servlet_jsp\work\jspTemp\logon\
Thanks
m./Path for tat file is:
c:\sapmarkets\properties\mySAP.properties
BR
m./ -
In windows 7 where is the iPad backup file located?
In windows 7 where is the iPad backup file located?
iTunes places the backup files in the following places:
Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
Windows Vista: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
Maybe you are looking for
-
Game Center mixes up scores of multiple users (apple IDs)
(New iPad, iOS6 - all apps are up to date) My son and I both have our own Apple ID. When we play games in Game Center, we use our OWN ACCOUNT. Still we get each other's scores & achievements. Example: Subway Surfers: I log on to GC using my credentia
-
How do i install Lightroom on my new computer after my old one "died"?
How do i install Lightroom on my new computer after my old one "died"?
-
Can anyone explain this logic?
Totally been pulling my hair out over this over the past few nights... I have a flash file that has 101 frames. Frame 1 is a navigation page that does a _root.gotoAndStop(x); on 100 buttons. Each of the 100 frames there after have between 50 and 100
-
[SOLVED] Device mapper problem with LVM
I'm trying to mount an LVM partition using the archie livecd (ie kernel 2.6.13). I've installed lvm2 and device-mapper (1.01.05) but although vgscan gives: [root@localhost archie]# vgscan Reading all physical volumes. This may take a while... F
-
Hi, I have written a program which is sending a data to client and gets an acknowledgement from client. The data is received by client and when the acknowledgement string is sent by the client; at server side its received as null. please help.