Where to include the jpos.properties file?
Hi,
We have a code that needs to be run. I have used the netbeans to do it. I understand that netbeans has its own environment variables that makes the application independent. The code works in netbeans but when i try to run it in the command line, this appears:
"jpos/res/jpos.properties not found"
As i had traced it, the directory(where jpos.properties resides) which i added in the Libraries was not copied in the dist folder. It says that it "...is a directory or can't be read. Not copying the libraries."
It is very important that this jpos.properties be copied since there are a lot of abstract classes used in the code.
Does anyone know where i should include this jpos.properties file?
thanks. :)
I've already made it run through the command line. I just included the jpos.properties in the jar package.
Thanks to all the replies.
Apology to someone who was bugged due to my crosspost.
Similar Messages
-
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 -
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?
-
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 -
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 -
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.
-
Hi Friends ,
Where to download the crdb_jdbc.dll file ??? - Needed for Crystal report ..which is missing for me ...
i searched in many sites .. but this only dll file is missing ..
can any one help me out ..itsdhanasaraa wrote:
Hi Friends ,
Where to download the crdb_jdbc.dll file ??? - Needed for Crystal report ..which is missing for me ...
i searched in many sites .. but this only dll file is missing ..
can any one help me out ..Ask at where ever you bought the software from.
Let me guess, you didn't buy it, did you? -
Hello,
I am getting error messages when I compile a Visual C++ 2010 project that includes the Atlcomcli.h file.
The error messages are:
Error 1 error C2338: CVarTypeInfo< char > cannot be compiled with /J or _CHAR_UNSIGNED flag enabled c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\atlcomcli.h
Search and found link to download hotfix KB982517. But no download available.
https://connect.microsoft.com/VisualStudio/feedback/details/613888/i-would-like-to-receive-hotfix-kb982517-or-make-this-available-in-the-downloads-section
Please help me to resolve this issue.
Thanks,
GaganI would have to ask: why are you using _CHAR_UNSIGNED? Is this really necessary? I have to admit that the fact that by default char in C++ is signed is an annoying fact, but most of us have just gotten used to it.
Have you tried the workaround
#pragma push_macro("ATLSTATIC_ASSERT")
#undef ATLSTATIC_ASSERT
#define ATLSTATIC_ASSERT(x,y)
#include <atlcomcli.h>
#undef ATLSTATIC_ASSERT
#pragma pop_macro("ATLSTATIC_ASSERT")
that is described in the link
https://support.microsoft.com/kb/982517?wa=wsignin1.0
David Wilkinson | Visual C++ MVP -
Where to put the Transform.xsl File
Good evening!
I am trying to execute a bpel:doXslTransform(xslURI,$a) and i dont know where to put the transform.xsl file for this operation.
Can anybody tell me?
Greetz,
RaRuIt needs to be in the same folder as the .bpel process - the bpel folder of your project.
Hope this helps,
Shanmuhanathan Thiagaraja -
Revision: 11314
Author: [email protected]
Date: 2009-10-30 10:38:34 -0700 (Fri, 30 Oct 2009)
Log Message:
add the empty properties file to svn to fix the build.properties
QE notes:
Doc notes:
Bugs: fix the build
Reviewer: Pete
Tests run: checkintests
Is noteworthy for integration: no
Added Paths:
flex/sdk/trunk/frameworks/projects/playerglobal/bundles/de_DE/empty.properties
flex/sdk/trunk/frameworks/projects/playerglobal/bundles/fr_FR/empty.properties
flex/sdk/trunk/frameworks/projects/playerglobal/bundles/ja_JP/empty.properties
flex/sdk/trunk/frameworks/projects/playerglobal/bundles/ru_RU/empty.properties
flex/sdk/trunk/frameworks/projects/playerglobal/bundles/zh_CN/empty.propertiesThats good news.
-
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 to store a custom properties file in an EJB 3 deployment
In a web application I can store my own properties file in WEB-INF. However a EJB 3 deployment does not have such a directory.
Where is the correct place within [an ejb 3 jar file] to store my properties file, and how do I retrieve it. (Do I need an absolute url or just a url that checks the classpath?)
Thanks,
natFor JBoss they use something like :
String filename = System.getProperty("jboss.server.home.dir") + "/conf/application.properties";
It will be located in jboss/server/[server-name]/conf/application.properties
Maybe you are looking for
-
Itunes won't play library on new hard drive
I had to install new hard drive. Moved all itunes files over including library. Downloaded latest version of Itunes, but it won't play any of my music.
-
I have created a portfolio compiled of fill-in forms and other documents.. When I open a document within the portfolio that has multiple pages, the pages get jumbled up. I've noticed that it is happening with page two - so if double click a document
-
I edited in RAW and CS6... When I go to upload onto FB or jumpdrive it is loading the original files and not my edited flies... I'm perplexed!!! I save in BRidge..... Anyone have any idea why this would happen????
-
I had a previous apple id now cant login n fail and i could recreate a new one but my itunes dont let me update using the same OLD ID which i just created .. does this means i gonna buy all the stuff i bought again?
-
Just lost most user-installed apps with iPhone 4 sync
I just plugged in my wife's iPhone 4 (iOS 6, Mac OS 10.7.4, iTunes 10 -- not 11 yet!), received a message I've seen before about finding items on the iPhone that weren't on iTunes and did I want to transfer them, and thinking that they were tunes I h