Jserv Properties file
I use the BC4J technology and I have the following problem:
I deploy a project and I declare the classpath in the Jserv properties file. Everything works perferctly. But when I deploy another application which has a different connection to the database I declare a different classpath in the Jserv properties file (under the first), it always takes the connection of the first declaration. If I change the order in the Jserv file then the first project works but the second no.
Does anybody know how I can solve this problem?
thanks in advanced
Antonios
I think, you could create new servlet zone. Then you may specify different .properties file for each zone.
See your JServ documentation for details how to do this.
Similar Messages
-
Even after classpath setting in jserv.properties file error.
hi kali,
i have used a custom jsp page for export to excell using a jar file poi-3i-200566.jar which i deployed in oracle apps version 11.5.10.2.
the jar is put in $JAVA_TOP and class path entry is set in jserv.properties file as
wrapper.classpath=/d2_u10/....../poi-3i-200566.jar .
After setting the classpath , bounced the apache.
But even after the setting , the same error continues.
I refered the mod_jserv.log file for error details , the error is in import statement of classes present in the poi-3i-200566.jar file like
could not find the symbol HSSRow , HSSpreadsheet , etc. all these are classes in jar file.
please anybody know any extra conf is needed or any idea where i am going wrong.
thanks
prabhakr,apHi,
Please check your jserv.properties file whether the custom class path that you have set is present or not in jserv.properties after restarting the AutoConfig and Apache server.
Thanks & Regards,
Sagarika -
Hi there !
I'm running Oracle enterprise edition on NT with oracle http server under apache.
I created a JSP application using jdeveloper
and deployed it to the web server.
Now I'm still getting getting nullPointer exceptions after I have modified the jserv.properties file according to the documentation
Can someone give me a file that is working for her/him under the above described circumstances ?
Many Thanaks in advance
Tony
nulllaredotornado wrote:
Hi,
This might not be a JSF question, but I thought I'd start here as I'm building a JSF application. Upon startup of my Weblogic 9.2.2 server, I see these error messages
log4j:WARN No appenders could be found for logger (org.apache.myfaces.webapp.StartupServletContextListener).
log4j:WARN Please initialize the log4j system properly.
One complication, my log4j.properties file is actually called "my.properties" (bizarre company reason). Is there somewhere in my faces-config.xml file or an equivalent where I can indicate what log4j properties file I'd like to use?Your company policy is to use non-standard names so that things must be configured manually? Interesting.
In the past people created a servlet those sole purpose was to configure log4j in the initialization sequence and then do nothing. -
Jserv properties file are reflecting in classpath
Hi All,
I'm facing some issue related with jserv.properties file
we mentined some path for custom soap.jar in jser properties file and bounced apache but when I check the class path from front end(about this page>java properties>java class path) it is not reflecting in class path. this on Oracle apps 11i and multinode server, I have Jserv properties file from both the nodes and it contains the entries.
Please let me know if someone has faced the same issue.
Regards,
Reetesh SharmaHi Reetesh
Check the link if it helps you out..
Add few lines in jserv.properties file automatically
Thanks
AJ -
Add few lines in jserv.properties file automatically
Hi All,
Generally we will be doing 11.5.10.2 "refresh" automatically.....
How can i automate the script to add this 3 lines in jserv,properties?
Basically add the following lines to the jserv.properties before any other classpath entry
wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
thanks a million....Hi Hussein,
Thanks for giving this information..
This is my jserv.properties file
ORIGINAL jserv.properties FILE
# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
# "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters
# Under Win32 (windows-dir) and (windows-system-dir) will be
# automatically evaluated to match your system requirements
# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters. JVM must be
# able to find JSDK and JServ classes and any utility classes used by
# your servlets.
# Note: the classes you want to be automatically reloaded upon modification
# MUST NOT be in this classpath or the classpath of the shell
# you start the Apache from.
# Custom classpath
# wrapper.classpath =
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
# ----- iAS 1022 -----
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
wrapper.classpath=/u01/clone/clonecomn/java
wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
UPDATED FILE SHOULD BE LIKE THIS
# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
# "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters
# Under Win32 (windows-dir) and (windows-system-dir) will be
# automatically evaluated to match your system requirements
# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters. JVM must be
# able to find JSDK and JServ classes and any utility classes used by
# your servlets.
# Note: the classes you want to be automatically reloaded upon modification
# MUST NOT be in this classpath or the classpath of the shell
# you start the Apache from.
# Custom classpath
# wrapper.classpath =
wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
# ----- iAS 1022 -----
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
wrapper.classpath=/u01/clone/clonecomn/java
wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
This bold line should be added to that place, how can i do automatically.please suggest me.
Thanks a million... -
Oracle XSQL Servlet entries in jserv.properties
In my oracle 8.7 instllation on Win NT, the jserv.properties file has the foll entries
# Oracle XSQL Servlet
wrapper.classpath=D:\oracle\ora81/lib/oraclexsql.jar
wrapper.classpath=D:\oracle\ora81/jdbc/lib/classes12.zip
wrapper.classpath=D:\oracle\ora81/lib/xmlparserv2.jar
wrapper.classpath=D:\oracle\ora81/rdbms/jlib/xsu12.jar
wrapper.classpath=D:\oracle\ora81/xdk/lib
Is this correct, or should the slashes in be changed as in D:\oracle\ora81\lib\oraclexsql.jar
nullI may sound stupid,
But why does it not matter?
null -
Prod entries in jserv.properties after running autoconfig on test
Hi all,
whenever i run autoconfig on my test instance , production related entries come in jserv.properties file , how can i check where is the problem as nothing is wrong in the context file
Solaris 10 EBS 11.5.10.2 dB 10.2.0.4Please see (Customizing an AutoConfig Environment [ID 270519.1]) to verify if you have any custom jserv.properties and see if it points to your source instance.
Thanks,
Hussein -
Cant find jserv.properties
ebs R12
Hi I'm totally new to EBS. I need to increase the java heap size, and I found some help om the net, but I cant find the jserv.properties file. Please help
[root@msebs01 /]# find -name jserv*
./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservHgrid.uix
./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservSumm.uix
./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservEnv_support.uix
./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservSumm_support.uix
./u02/PROD/apps/apps_st/comn/webapps/oacore/html/oam/config/jservEnv.uix
./u02/PROD/apps/apps_st/comn/java/classes/oracle/apps/fnd/oam/jserv
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservHgrid.uix
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservSumm.uix
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservEnv_support.uix
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservSumm_support.uix
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/xml/oam/config/jservEnv.uix
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_restrict_nt_ias1022.properties
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_ux.properties
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_nt_ias1022.conf
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_ux_ias1022.properties
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_secret_key.txt
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_nt_ias1022.properties
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_ux_ias1022.conf
./u02/PROD/apps/apps_st/appl/fnd/12.0.0/admin/template/jserv_restrict_ux_ias1022.properties
./u02/PROD/apps/tech_st/10.1.2/ccr/sysman/admin/scripts/ias/jserv_assoc.plHi,
Hi I'm totally new to EBS. I need to increase the java heap size, and I found some help om the net, but I cant find the jserv.properties file. Please helpPlease see these documents.
Note: 362851.1 - Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12
Note: 567551.1 - Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12
Thanks,
Hussein -
In R12 which file we need to modify as there is no jserv.properties
In 11i we used to set some proxy settings like proxy host, proxy port etc... where as in R12 there will be no jserv.properties.. so where and which file we need to set these settings.
can you plz guide meHi,
in R12 all the JVM parameters can be changed in $ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml
But if you are talking about proxy and the rest then please check in $INST_TOP/ora/10.1.3/j2ee/oafm/config/oc4j.properties
Thanks
Edited by: EBSDBA on Dec 18, 2012 12:30 PM -
.properties file in servlet classpath
I have a servlet that I trying to run under OC4J/Orion here at
Oracle. The servet is trying to load it's property file
with:
InputStream is =
ClassLoader.getSystemResourceAsStream("ipruntime.properties");
But the inputStream is always null no matter where I put the
properties file in the classpath (I've tried putting it in
jars or in a directory). The servlet is invoking methods in
other java classes just fine, so there is not a problem with
the classpath.
Any clues of what might be wrong?
The same servlet with it's property file in the classpath runs
under Apache/Jserv just fine.InputStream in =
this.getClass().
getClassLoader().
getResourceAsStream("theFile.properties");
I think the general advice is to use 'this.getClass()' to make
sure which ClassLoader is being called.
This may not be a problem, but try it?
If you're deploying on OC4J you might also want to try one of the
'newer' methods of 'using properties files', ie: put it in
web.xml and look it up.
Cheers,
Malte -
What needs to be in my jndi.properties file to get oracle accessed by a jndi client
I am trying to write a connection pool class that use jndi
to locate the data base. I use "bindds" bind my OracleDataSource
object with the name of 'test/jdbc/test'. I should then be able to do a lookup like: OracleDataSource ods =
(OracleDataSource) ctx.lookup (test/jdbc/test)
All Oracle code examples use (Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
Is this correct? And what other things should be in my jndi.properties file to access the naming service with comes with
Oracle (Jserver)? For example to I need to include a Context.PROVIDER_URL value. I would think Oracle would have some
standard way of accessing its own Naming service. Thanks DavidThis implies that ODP.NET does NOT need to be installed on a client. However, I cannot find OraOPs9.dll on a machine with Client Release 9.2 installed. Should OraOps?.dll automatically come with a Client installation of 9.2 or higher?
ODP.NET needs to be installed on the client. OraOps9.dll is part of ODP.NET, not the Oracle Client.
Also, if an application is built with the 10g ODP.NET, can it be run from a machine with OraOps9.dll?
If an application is built with 10g ODP.NET, it can be run with 9.2 ODP.NET as long as you do not use any 10g APIs. The new features in 10g ODP.NET are included in the doc and the ODP.NET FAQ for your reference. -
Jserv.properties crash APACHE
Hi:
After several tests i denoted that THIS SPECIFIC ENTRY IN jserv.properties crash the jserv :
wrapper.classpath=D:\ORACLE\iSuites\panama\lib\panama.zip
this entry it's in jserv.properties and crash the jserv and i get this error on apache error_log:
[Thu May 02 15:39:29 2002] [warn] OPM: EW: Process proteus.adm.ipb.pt:2364 (pid:1980) died, restarting.
[Thu May 02 15:39:34 2002] [error] OPM: EW: Fails to ping process with pid:2260.
... repeated fails
I have:
windows 2000 server
oracle 9i DB NT
oracle 9ias 1.0.2.2.2a
i've patched oracle 9ias with oracle 9i rdbms patch 8.1.7.3
i've patched oracle 9ias portal with patch 3.0.9.8.2
i've followed instructions in A86701 step by step to configure wireless
Anyone HERE HELP ??* Please check if you've set all the zip files for the panama environment
* Check jdk installation (reinstall it if you are unsure about the installation) and configure it in your system environment.
* also check your system environment for the panama dir and the wireless installation.
* Check if the following lines are in the jsev.properties file:
wrapper.classpath=C:\jdk131\lib\dt.jar
wrapper.classpath=C:\jdk131\lib\tools.jar
wrapper.classpath=C:\jdk131\jre\lib\rt.jar
# wrapper.classpath=C:\ORACLE\iSuites\Apache\jdk\jre\lib\rt.jar
# wrapper.classpath=C:\ORACLE\iSuites\Apache\jdk\lib\tools.jar
wrapper.classpath=C:\ORACLE\iSuites\Apache\Jserv\ApacheJServ.jar
wrapper.classpath=C:\ORACLE\iSuites\Apache\Jserv\dms2Server.jar
wrapper.classpath=C:\ORACLE\iSuites\Apache\Jsdk\lib\jsdk.jar
# The following classpath entries are required to run ASWE (added by TW 25 10 01)
wrapper.classpath=C:\Oracle\iSuites\panama\server\classes
wrapper.classpath=C:\Oracle\iSuites\panama\lib\caboshare-opt.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\classes12.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\client.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\jewt-opt-4_0_14.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\marlin-opt.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\ocelot-opt.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama_core.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama_papz.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama_portal.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\ojsp.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\servlet.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\jndi.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\xmlparserv2.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\server.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\share-opt-1_1_7.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\tecate-opt.zip
wrapper.classpath=C:\Oracle\iSuites\panama\lib\sax2.jar
# The following classpath entries were added to run Mail directory (added by TW 07 11 01)
wrapper.classpath=C:\Oracle\iSuites\panama\lib\activation.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\ldap.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\ldapbp.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\mail.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\ompim.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\pop3.jar
wrapper.classpath=C:\Oracle\iSuites\panama\lib\providerutil.jar
# The following classpath entries are required to run EJBs
wrapper.classpath=C:\ORACLE\iSuites\lib\aurora_client.jar
wrapper.classpath=C:\ORACLE\iSuites\lib\vbjorb.jar
wrapper.classpath=C:\ORACLE\iSuites\lib\vbjapp.jar
# An environment name with value passed to the JVM
# Syntax: wrapper.env=[name]=[value] (String)
# Default: NONE on Unix Systems
# SystemDrive and SystemRoot with appropriate values on Win32 systems
wrapper.env=PATH=C:\ORACLE\iSuites\bin -
Error reading properties file upon deployment
hi. i'm still relatively new with regards to the Java programming language. in any case... i am developing a simple project wherein the application has to make a database connection to a server. the application is finished already however.. i am having problems deploying it.
my project has a "resources" package containing the file "config.properties" which contains various information (connection details among others). correct me if im doing something wrong, but in deploying in, i copied the "dist" folder of my compiled code and then tried to run the java exe independently which resulted in an error. i already tried copying the "config.properties" file to the dist folder and even creating a "resources\config.properties" file but it still results in an error. could you please help me figure out how to deploy the application with the properties file. the code i used in referencing my .properties file is as follows:
Properties configFile = new Properties();
configFile.load(this.getClass().getClassLoader().getResourceAsStream("Resources\\config.properties"));
String username = configFile.getProperty("username");
String password = configFile.getProperty("password");
String url = configFile.getProperty("url");
String dbtype = configFile.getProperty("dbtype");
Class.forName(dbtype);
conn = DriverManager.getConnection(url, username, password); thanks in advance. ^^thank for the help mangst. i guess the IO approach is also applicable ^^; i changed my code to:
configFile.load( new FileInputStream( ".\\resources\\config.properties" ) );but i had a little trouble in debugging it since it starts the file search from the main project directory. however it works fine upon deployment. ^^; thanks again.
Edited by: xnofate on Sep 23, 2008 6:21 PM -
I have a main method which i am using to call a servlet located in the same Development Component. Until recently i had the servlet location hard coded and it was working without issues. Now i decided to make the location configurable. For this i created an sap.application.global.properties file in the EAR DC which contains the WAR of this DC.
The contents of the above file are as follows:
SAP application properties
SERVLET.LOCATION=http://<server-name>/ControllerServlet/servlet/com.nike.xapps.eqptsp.swem.controller.ControllerServlet
The code i am using in the main method to call this properties file and access the property is as follows:
Context ctx = new InitialContext();
ApplicationConfigHandlerFactory cfgHdlr = (ApplicationConfigHandlerFactory)ctx.lookup("ApplicationConfiguration");
Properties props = cfgHdlr.getApplicationProperties();
String servlet = props.getProperty("SERVLET.LOCATION");
contained in a try...catch block.
On dubugging i get a NoInitialContextException repeatedly in the statement where the lookup is performed.
These are all the additions i have made for reading this properties file. Does anyone know if there is anything more that needs to be done for this to work.
Thanks,
Murtaza.thank for the help mangst. i guess the IO approach is also applicable ^^; i changed my code to:
configFile.load( new FileInputStream( ".\\resources\\config.properties" ) );but i had a little trouble in debugging it since it starts the file search from the main project directory. however it works fine upon deployment. ^^; thanks again.
Edited by: xnofate on Sep 23, 2008 6:21 PM -
Display data on ADF table using a VO binded to a message.properties file
Hi,
I want to display data in a JSPX page using ADF table which is based on a ViewObject. The attributes of the ViewObject should get it's value from a abc.properties file(static file).How can i achieve this.
thanks in advance.
regards,
Himanshu.Hi Himanshu,
When you create a VO based on static values, all of the records from your VO are generated into the MessageBundel.properties file like this
devguide.entity.ViewObj.SL_0_0=1
devguide.entity.ViewObj.SL_0_1=<val1>
devguide.entity.ViewObj.SL_0_2=<val2>
devguide.entity.ViewObj.SL_1_0=2
devguide.entity.ViewObj.SL_1_1=<val1>
devguide.entity.ViewObj.SL_1_2=<val2>
You could add more lines to the properties files maintaining the same pattern. Also noticed that you can read all the values from a CSV file as well.
The last resource is to programmatically read the file and start creating new rows on the VO, which won't use any of the declarative tools for VOs.
-Juan Camilo.
Maybe you are looking for
-
I am trying to set up a RAID5 but am having trouble with the volumes. My RAID set is 5.23TB but my Volume is only 2TB. I am creating a second volume of 3.23TB. Is there a way to combine the two volumes into one volume of 5.23TB to match the RAID se
-
Get Realm Jdeveloper Soa 11g PS3
Hi I've a problem with jdeveloper authentication with a Oracle SOA 11g PS3. I've successfully installed the DemoSeed Community into the server, i've checked into "secutiry realm->myrealm->users and groups" and i found all the seed users. During the d
-
Javascript not working in Safari and Firefox
in stead of rendering the html generated by javascript, the html code itself is displayed in both Safari and Firefox. The strange thing is that this is only for one of my accounts. This account was transferred using the migration tool from my previou
-
ODI Hyperion Planning Reverse Transaction The Screen freeze and Hang
Hi, There is a problem with reverse transaction via RKM Hyperion Planning KM. In desinger application I will click reverse button, the application is hang up and the screen is freezed. I completed the setup steps. How can be solved the problem? thank
-
(ask)how to detect locking and how to kill session
I want to update a row in a table, table "X" for example. I got ORA-00054:resource busy and acquire with no wait spesified. How do i search and kill the session that is locking the table? i dont have oracle Enterprise Manager so i think it has to be