Loading "font.properties" from different location
Is it possible to tell the JVM to load "font.properties" files from a different location instead of "$JAVA_HOME/jre/lib"?
Thanks in advance.
Regards.
Is it possible to tell the JVM to load
"font.properties" files from a different location
instead of "$JAVA_HOME/jre/lib"?
Thanks in advance.
Regards.I am also looking for a solution for this, since it's not a good idea to modify the JRE itself.
Could anybody help? Thanks.
Similar Messages
-
Load XML file from different location?
Hi All,
I've been going through an exercise by Karl Matthews to load XML data into an AIR App:
http://www.adobe.com/devnet/air/flex/articles/xml_viewer_on_air.html
but I would like to change where the XML file used in the project is retrieved from.
Currently the XML file is loaded from here:
<!-- Set up the HTTP service from where we get the source XML data -->
<mx:HTTPService id="srcData" url="
assets/UserGuide.xml" result="loadModelData(event)"
/>
but I would like to load the XML file from one of these locations instead:
File.userDirectory:
File.documentsDirectory:
Can someone please show me how I should change the above code to accomplish this, as my efforts to date have not been successful :-(
I am using Flex Builder 3 and Air 1.5.
Thanks heaps!
TimHi Bhasker,
Thank you for replying.
I am not very good at all this coding, but I am assuming I should now be doing entering the following:
=======================
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"width="
800" height="660"xmlns:comp="
*" xmlns:fmtComp="fmtComps.*"creationComplete="srcData.send()"
paddingLeft="
0" paddingRight="0" paddingTop="0" paddingBottom="0">
<mx:Script>
<![CDATA[
import mx.utils.ObjectProxy;
import mx.rpc.events.ResultEvent;
Bindable]
private var userManualObj:ObjectProxy;
private function loadModelData(event:ResultEvent):void
userManualObj=event.result.UserManual;
private function readXMLContent(xmlFile:File,objContentView:Object):Array{
var reportDir:File = File.userDirectory.resolvePath("assets");
var xmlFile:File;
var fileStream:FileStream = new FileStream(); xmlFile = reportDir.resolvePath(
"UserGuide.xml");
if(xmlFile.exists && xmlFile.size > 0)// Checking if the impressions.xml file already exists and the file is not empty
var stream:FileStream = new FileStream();
var xml:XML = new XML();stream.open(xmlFile, FileMode.READ);
xml = XML(stream.readUTFBytes(stream.bytesAvailable));
stream.close();
]]>
</mx:Script>
<!-- Set up the HTTP service from where we get the source XML data<mx:HTTPService id="srcData"
url="assets/UserGuide.xml"
result="loadModelData(event)"/> -->
<mx:VBox width="100%" horizontalAlign="left" height="100%" paddingBottom="
0" paddingLeft="0" paddingRight="0" paddingTop="0">
<mx:TabNavigator width="100%" height="100%"paddingBottom="
0" paddingLeft="0" paddingRight="0" paddingTop="0">
<mx:Repeater id="modelsRep" dataProvider="{userManualObj.Product.Model}">
<mx:VBox label="{modelsRep.currentItem.Name}" width="100%" height="100%">
<comp:ModelDesc model="{modelsRep.currentItem}"/>
</mx:VBox>
</mx:Repeater>
<mx:VBox label="Troubleshooting" width="100%" height="100%"paddingBottom="
0" paddingLeft="0" paddingRight="0" paddingTop="0">
<comp:Troubleshooting issues="{userManualObj.Product.Troubleshooting.Issue}" />
</mx:VBox>
</mx:TabNavigator>
</mx:VBox></mx:WindowedApplication>
=======================
and create and "assets" folder in my user directory placing the XML file in there?
However when I do all that, I get this error when I try to compile:
Encountered errors or warnings while building project main.mxml.
main.mxml: Function does not return a value.
Any thoughts?
Many thanks,
Tim -
Udf to pass constant corrsponding to 2 file names from different location
if i have one source file, i m able to pass the file name directly to the target through the udf below:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
But i have 2 files from different location. Now both files has dates at the end. how can i pass AAA for File1.txt and BBB for File2.txt. .
after the above code, i have included below code too, but not working(*-for date n timestamps):
if(ourSourceFileName.equals("ABC*.txt"))
return "FILE1";
else if(ourSourceFileName.equals("XYZ*.txt"))
return "FILE2";
please suggestHi Basker,
Error in activating object in IR - heres the total code i have used for this purpose. plz help in getting this.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
if(ourSourceFileName.equals("SOURCE_1*.txt"))
return "File1";
else if(ourSourceFileName.equals("SOURCE_2*.txt"))
return "File2";
Source code has syntax error: /usr/sap/DXI/DVEBMGS31/j2ee/cluster/server0/./temp/classpath_resolver/Map27461f402eff11e0898d00144f1e71f0/source/com/sap/xi/tf/_MM_UPDATE_.java:839: unreachable statement if(ourSourceFileName.equals("SOURCE1_*.txt")) ^ /usr/sap/DXI/DVEBMGS31/j2ee/cluster/server0/./temp/classpath_resolver/Map27461f402eff11e0898d00144f1e71f0/source/com/sap/xi/tf/_MM_UPDATE_.java:844: missing return statement } ^ 2 errors -
How to load jar files from remote location
Hi all,
I am trying to load jar files from remote server, from a servlet which is running on OC4j.
For doing this,First I am getting ClassLoader by using ClassLoader.getSystemClassLoader() and then type casting it to URLClassLoader.
But by doing it I am getting ClassCastException,because oc4j returns oracle.classloader.PolicyClassLoader instead of java.net.ClassLoader.
Appreciate if anyone can tell me how to load remote jar files using oracle.classloader.PolicyClassLoader .
Thanks
HarishHi,
I suppose you know about this, but just in case.
I have used jnpl to load jar files from remote location.
Rowan -
How to access Excel files from different locations?
Hello,
I have successfully tested the Excel sample on WLS 7, and trying to run it on
the WLS 8.1.
Anyways, the common question for both is, how to access an excel files from different
locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
\\domain2\accounts\vouchers.xls)?
From example i can see that it picks from a specific path under repository.
Thanks
Ashok GuptaThe custom function sets the MS-Excel default directory to System.getProperty("user.dir")+"/excel"
(the domain directory), then opens the filename passed as a parameter. I assume
that if you pass in the fully specified path for the excel file ( like d:\MyDir\data\test.xls),
that it would open that file.
- Mike
"Ashok Gupta" <[email protected]> wrote:
>
Hello,
I have successfully tested the Excel sample on WLS 7, and trying to run
it on
the WLS 8.1.
Anyways, the common question for both is, how to access an excel files
from different
locations (e.g. c:\path\1.xls, \\domain1\finance\fin.xls, \\domain1\marketing\customer.xls,
\\domain2\accounts\vouchers.xls)?
From example i can see that it picks from a specific path under repository.
Thanks
Ashok Gupta -
How to pick different files from different locations
suppose ur having multiple files(csv) from different locations,then how do u move those files to the SAP system.Please expalin me the scenario
Venu,
If the files are present in different folders, then you need different sender communication channels to bring this data to XI. Regarding connection with SAP, you can go for a proxy (If the webAs version is > 6.2) or else go for an IDOCor RFC adapter.
Regards,
Jai Shankar -
Safari cannot open RSS feeds - "could not load any data from this location"
I can't seem to open any RSS feeds inside of Safari. I get this error message:
Safari can’t open the page “feed://feeds.macworld.com/macworld/all” because it could not load any data from this location.
This has happened on every single feed. I just installed Leopard. Anybody have any hints for me?Hi
First try Safari from another User Account. When you open Safari, make sure RSS is enabled in the Safari Preferences>RSS. If you can access the feeds there then there may be corruption in either the database or RSS preference files in your Regular User Account. If no go here, then I suggest you reinstall Safari. See this thread for directions.
If the feeds work in the other user account, go back to your regular User Account: Open the Finder: Your User Account>Library>Syndication folder. Move the database3 file to the desktop, then restart Safari. Try an RSS feed. If no change, move the database file back to its original location.
Then move these two preference files in your User Library>Preferences to the desktop:
com.apple.SyndicationAgent.plist and
com.apple.Syndication.plist
Restart Safari. Again, try a feed.
Post back -
Backup archivelogs from different location
DB : 10.2.0.4
OS : HEHL5
due to space issue i moved the archived to different location from log_archive_dest_1.
is it possible to backup the archivelogs from different location as i moved them?
Thanks.My bad , it's not a must! Please see,
bash-3.2$ ls
o1_mf_1_34_8jk60c7b_.arc o1_mf_1_35_8jkz3p0l_.arc o1_mf_1_36_8jlcqpky_.arc
bash-3.2$ mkdir /tmp/archivelognewloc
bash-3.2$ cp *.* /tmp/archivelognewloc
bash-3.2$ rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 30 14:40:17 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
allconnected to target database: **** (DBID=1228973204)
RMAN>
RMAN> catalog start with '/tmp/archivelognewloc';
searching for all files that match the pattern /tmp/archivelognewloc
List of Files Unknown to the Database
=====================================
File Name: /tmp/archivelognewloc/o1_mf_1_36_8jlcqpky_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_35_8jkz3p0l_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_34_8jk60c7b_.arc
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /tmp/archivelognewloc/o1_mf_1_36_8jlcqpky_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_35_8jkz3p0l_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_34_8jk60c7b_.arc
RMAN>
Update : A little better demo
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 30 15:00:32 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> alter system switch logfile;
System altered.
SQL> /
System altered.
SQL> alter system checkpoint;
System altered.
SQL> alter system switch logfile;
System altered.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
bash-3.2$ ls
o1_mf_1_38_8jldnkog_.arc o1_mf_1_40_8jlfdnph_.arc
o1_mf_1_39_8jlfdmoq_.arc o1_mf_1_41_8jlff2nn_.arc
bash-3.2$ pwd
/u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
[root@EDHDR3P0 ~]# ls /tmp/archivelognewloc/
[root@EDHDR3P0 ~]# exit
logout
bash-3.2$
bash-3.2$
bash-3.2$ pwd
/u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
bash-3.2$ ls
o1_mf_1_38_8jldnkog_.arc o1_mf_1_40_8jlfdnph_.arc
o1_mf_1_39_8jlfdmoq_.arc o1_mf_1_41_8jlff2nn_.arc
bash-3.2$ ls /tmp/archivelognewloc/
bash-3.2$ ls -l /tmp/archivelognewloc/
total 0
bash-3.2$ cp * /tmp/archivelognewloc/
bash-3.2$ ls -l /tmp/archivelognewloc/
total 3620
-rw-r----- 1 oracle oinstall 549888 Jan 30 15:02 o1_mf_1_38_8jldnkog_.arc
-rw-r----- 1 oracle oinstall 3117568 Jan 30 15:02 o1_mf_1_39_8jlfdmoq_.arc
-rw-r----- 1 oracle oinstall 1024 Jan 30 15:02 o1_mf_1_40_8jlfdnph_.arc
-rw-r----- 1 oracle oinstall 19456 Jan 30 15:02 o1_mf_1_41_8jlff2nn_.arc
bash-3.2$ pwd
/u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30
bash-3.2$ rm -rf *
bash-3.2$ ls
bash-3.2$ rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 30 15:03:13 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: AMER (DBID=1228973204)
RMAN> backup archivelog all;
Starting backup at 30-JAN-13
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=151 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 01/30/2013 15:03:32
RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
ORA-19625: error identifying file /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_38_8jldnkog_.arc
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
RMAN> catalog start with '//tmp/archivelognewloc';
searching for all files that match the pattern //tmp/archivelognewloc
List of Files Unknown to the Database
=====================================
File Name: /tmp/archivelognewloc/o1_mf_1_39_8jlfdmoq_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_41_8jlff2nn_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_40_8jlfdnph_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_38_8jldnkog_.arc
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /tmp/archivelognewloc/o1_mf_1_39_8jlfdmoq_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_41_8jlff2nn_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_40_8jlfdnph_.arc
File Name: /tmp/archivelognewloc/o1_mf_1_38_8jldnkog_.arc
RMAN> backup archivelog all;
Starting backup at 30-JAN-13
current log archived
using channel ORA_DISK_1
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_38_8jldnkog_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 38
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_39_8jlfdmoq_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 39
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_40_8jlfdnph_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 40
archived log /u01/app/oracle/flash_recovery_area/AMER/archivelog/2013_01_30/o1_mf_1_41_8jlff2nn_.arc not found or out of sync with catalog
trying alternate file for archived log of thread 1 with sequence 41
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=1 sequence=38 RECID=45 STAMP=806079846
input archived log thread=1 sequence=39 RECID=42 STAMP=806079846
input archived log thread=1 sequence=40 RECID=44 STAMP=806079846
input archived log thread=1 sequence=41 RECID=43 STAMP=806079846
input archived log thread=1 sequence=42 RECID=41 STAMP=806079812
input archived log thread=1 sequence=43 RECID=46 STAMP=806079851
channel ORA_DISK_1: starting piece 1 at 30-JAN-13
channel ORA_DISK_1: finished piece 1 at 30-JAN-13
piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp tag=TAG20130130T150411 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 30-JAN-13
RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
1 981.94M DISK 00:01:15 30-JAN-13
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20130130T143224
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp
List of Archived Logs in backup set 1
Thrd Seq Low SCN Low Time Next SCN Next Time
1 5 830546 25-JAN-13 841823 25-JAN-13
1 6 841823 25-JAN-13 866733 25-JAN-13
1 7 866733 25-JAN-13 889743 25-JAN-13
1 8 889743 25-JAN-13 912846 26-JAN-13
1 9 912846 26-JAN-13 931109 26-JAN-13
1 10 931109 26-JAN-13 952239 26-JAN-13
1 11 952239 26-JAN-13 979268 26-JAN-13
1 12 979268 26-JAN-13 1004465 26-JAN-13
1 13 1004465 26-JAN-13 1021707 26-JAN-13
1 14 1021707 26-JAN-13 1040437 27-JAN-13
1 15 1040437 27-JAN-13 1068031 27-JAN-13
1 16 1068031 27-JAN-13 1091450 27-JAN-13
1 17 1091450 27-JAN-13 1114656 27-JAN-13
1 18 1114656 27-JAN-13 1137779 27-JAN-13
1 19 1137779 27-JAN-13 1165125 27-JAN-13
1 20 1165125 27-JAN-13 1199499 28-JAN-13
1 21 1199499 28-JAN-13 1228282 28-JAN-13
1 22 1228282 28-JAN-13 1249640 28-JAN-13
1 23 1249640 28-JAN-13 1270613 28-JAN-13
1 24 1270613 28-JAN-13 1291570 28-JAN-13
1 25 1291570 28-JAN-13 1312497 28-JAN-13
1 26 1312497 28-JAN-13 1332622 28-JAN-13
1 27 1332622 28-JAN-13 1365097 28-JAN-13
1 28 1365097 28-JAN-13 1395297 28-JAN-13
1 29 1395297 28-JAN-13 1407058 28-JAN-13
1 30 1407058 28-JAN-13 1437549 29-JAN-13
1 31 1437549 29-JAN-13 1469773 29-JAN-13
1 32 1469773 29-JAN-13 1504608 29-JAN-13
1 33 1504608 29-JAN-13 1522578 29-JAN-13
1 34 1522578 29-JAN-13 1553706 30-JAN-13
1 35 1553706 30-JAN-13 1586954 30-JAN-13
1 36 1586954 30-JAN-13 1603625 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
2 538.00K DISK 00:00:01 30-JAN-13
BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20130130T144745
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp
List of Archived Logs in backup set 2
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
3 3.64M DISK 00:00:00 30-JAN-13
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20130130T150411
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp
List of Archived Logs in backup set 3
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
1 39 1604680 30-JAN-13 1606046 30-JAN-13
1 40 1606046 30-JAN-13 1606049 30-JAN-13
1 41 1606049 30-JAN-13 1606057 30-JAN-13
1 42 1606057 30-JAN-13 1606303 30-JAN-13
1 43 1606303 30-JAN-13 1606353 30-JAN-13
RMAN> crosscheck backup of archivelog all;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp RECID=1 STAMP=806077945
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp RECID=2 STAMP=806078865
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp RECID=3 STAMP=806079851
Crosschecked 3 objects
RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
1 981.94M DISK 00:01:15 30-JAN-13
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20130130T143224
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T143224_8jlcqs5d_.bkp
List of Archived Logs in backup set 1
Thrd Seq Low SCN Low Time Next SCN Next Time
1 5 830546 25-JAN-13 841823 25-JAN-13
1 6 841823 25-JAN-13 866733 25-JAN-13
1 7 866733 25-JAN-13 889743 25-JAN-13
1 8 889743 25-JAN-13 912846 26-JAN-13
1 9 912846 26-JAN-13 931109 26-JAN-13
1 10 931109 26-JAN-13 952239 26-JAN-13
1 11 952239 26-JAN-13 979268 26-JAN-13
1 12 979268 26-JAN-13 1004465 26-JAN-13
1 13 1004465 26-JAN-13 1021707 26-JAN-13
1 14 1021707 26-JAN-13 1040437 27-JAN-13
1 15 1040437 27-JAN-13 1068031 27-JAN-13
1 16 1068031 27-JAN-13 1091450 27-JAN-13
1 17 1091450 27-JAN-13 1114656 27-JAN-13
1 18 1114656 27-JAN-13 1137779 27-JAN-13
1 19 1137779 27-JAN-13 1165125 27-JAN-13
1 20 1165125 27-JAN-13 1199499 28-JAN-13
1 21 1199499 28-JAN-13 1228282 28-JAN-13
1 22 1228282 28-JAN-13 1249640 28-JAN-13
1 23 1249640 28-JAN-13 1270613 28-JAN-13
1 24 1270613 28-JAN-13 1291570 28-JAN-13
1 25 1291570 28-JAN-13 1312497 28-JAN-13
1 26 1312497 28-JAN-13 1332622 28-JAN-13
1 27 1332622 28-JAN-13 1365097 28-JAN-13
1 28 1365097 28-JAN-13 1395297 28-JAN-13
1 29 1395297 28-JAN-13 1407058 28-JAN-13
1 30 1407058 28-JAN-13 1437549 29-JAN-13
1 31 1437549 29-JAN-13 1469773 29-JAN-13
1 32 1469773 29-JAN-13 1504608 29-JAN-13
1 33 1504608 29-JAN-13 1522578 29-JAN-13
1 34 1522578 29-JAN-13 1553706 30-JAN-13
1 35 1553706 30-JAN-13 1586954 30-JAN-13
1 36 1586954 30-JAN-13 1603625 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
2 538.00K DISK 00:00:01 30-JAN-13
BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20130130T144745
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T144745_8jldnkxt_.bkp
List of Archived Logs in backup set 2
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
3 3.64M DISK 00:00:00 30-JAN-13
BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20130130T150411
Piece Name: /u01/app/oracle/flash_recovery_area/AMER/backupset/2013_01_30/o1_mf_annnn_TAG20130130T150411_8jlfmcmf_.bkp
List of Archived Logs in backup set 3
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 1604067 30-JAN-13 1604680 30-JAN-13
1 39 1604680 30-JAN-13 1606046 30-JAN-13
1 40 1606046 30-JAN-13 1606049 30-JAN-13
1 41 1606049 30-JAN-13 1606057 30-JAN-13
1 42 1606057 30-JAN-13 1606303 30-JAN-13
1 43 1606303 30-JAN-13 1606353 30-JAN-13
RMAN> HTH
Aman....
Edited by: Aman.... on Jan 30, 2013 3:06 PM -
Multiple jar files from different locations
Hello,
I am having an applet that access code from two different jar files. Of them one is a common jar file for many applets. So I couldn't place it in the local dir as that of the applet's html. I am not using any web server.
Just to give you a feel of it :
<PARAM NAME = archive VALUE = "DVApplet.jar,DVVP.jar" > are the jar files my applet is dependant on. But DVVP.jar has to be accessed from a dir different from local dir.
Will be glad if someone can throw some light on accessing different jar files from different dirs.
Thanks for your time.
Regards,
Anantha[url=
http://forum.java.sun.com/thread.jsp?forum=421&thread=425724&tstart=0&trange=100
]This question is a bit similar
You can use a class loader to do such things. -
How to load a properties from path that is relative to the classpath
Hello;
I need to load a set of properties from a propertie file from inside and EJB. I need to do so that I don't set the full absoulte path of the property file. In brief I don't want to be dependent on the file system struture instead I want to read the property file relatively to the package path name.
Here is my code:
package packagename.com;
import packagename.com.*;
import java.util.*;
import java.io.*;
public class PropDemo {
public static void main(String[] args) {
public static final String PROP_FILE_NAME
= "configuration.properties";
File inputFile = new File(PROP_FILE_NAME);
Properties prop = new Properties();
try {
FileInputStream fis = new FileInputStream(inputFile);
prop.load(fis);
} catch (Exception e) {
Any body have an idea how to so.
Regards
malI realize that you are trying to be a pain in the arseNot really. I know that I spent about a day figuring it out and that was after skirting around the issue for a about a year.
with that reply, but we can look here:
public void load(InputStream inStream) throws
IOExceptionReads a property list (key and element pairs) from the
input stream. The stream is assumed to be using the
ISO 8859-1 character encoding.
The original post suggests the author already knows how to load from a file. So this doesn't help at all.
And possibly GASP cross reference this entry in
Class:
public InputStream getResourceAsStream(String name)Finds a resource with a given name. This method
returns null if no resource with this name is found.
The rules for searching resources associated with a
given class are implemented by the defining class
loader of the class.
Now you may equivocate that the docs don't
specifically state that the classpath is where
resources are searched for, but I would maintain that
any Java developer worth anything should know this.Really? So where, in the above entry, does it explain the impact of the "/" character at the beginning of the string?
I know how classes are searched for. I know the impact of the class path. How that impacts a 'resource' is less clear. Particularily since the "/" character has nothing to do with loading classes.
>
This should be Java 101. Advanced Topics should be
something that affect people who have programmed Java
for years. (This is usually something that first year
programmers work out). If this is representitive of
the kinds of questions that qualify as "Advanced" then
this forum will become basically useless.So an opposing opinion...this is an advanced topic. Nothing in the java docs makes it clear. And it is even less clear the context of a container. -
BPM 11g setting up Oraganization Roles from different locations
Hi,
Our BPM process has 2 Roles Requester and Reviewer. We have Requesters in US, ASIA and CANADA, the same with Reviewers also. So Requester from US creates the task and submits the task. This task should go to Reviewer from US. How can we achieve this? And also, the Requestors/Reviewers in one location should not be able to view tasks created by Requestors/Reviewers from a different location.
Appreciate your inputs.
MCKeep the users of different regions in different Groups. Like Requesters_APJ, Requesters_EMEA and Approvers_APJ, Approvers_EMEA.
Add a script activity to "somehow" figure out the region of the "Requester" user. Based on this, dynamically change the assignee of the next task i.e. the Requester task to the Approver group for that region.
Good practice -> At design time, avoid mapping swimlanes to Users, Roles or Groups. Do this after deploying the process/workflow from the EM console. Another way is to do the dynamic assignment as I mentioned.
Hope this helps. -
Monitoting services from different location then I have SCOM 2012 R2
Hello
I am interested in the ability to monitor services (particularly
in the Exchange OWA) from a different
location than I have placed SCOM
server. I environment of
different networks and branches. I don´t want to pay for
GSM (Global Service Monitor)I there some kind of "probe" or
simplified SCOM? I do not have
the opportunity to take in every branch of
such a great performance on SCOM, connnectivity speed between branches is not problem.
thanks a lotThomas,
there is no need for a fileshare. You could let the ps1 below run natively in a SCOM PowerShell worklow and it will provide the data in so called property bags:
param(
$monitorComputer,
$monitorURL
Invoke-Command -ComputerName $monitorComputer -ArgumentList $monitorURL {
$result = Invoke-WebRequest -URI $monitorURL
Return $result
# Return the values from CMDLET
$bag.AddValue("Workflow Computer",(hostname))
$bag.AddValue("Monitoring Computer",$monitorComputer)
$bag.AddValue("Monitor URL",$monitorURL)
$bag.AddValue("Status Code",$result.StatusCode)
$bag.AddValue("Status Description",$result.StatusDescription)
$bag
You could now create your own MP running a PowerShell monitor.
Or you can implement the following solution to being able to use the wizard:
http://blogs.msdn.com/b/wei_out_there_with_system_center/archive/2013/10/03/opsmgr-using-wizards-to-create-powershell-based-monitors.aspx
Cheers,
Patrick
Please remember to click “Mark as Answer” on the post that helped you.
Patrick Seidl (System Center and Private Cloud)
Website: http://www.syliance.com
Blog: http://www.systemcenterrocks.com -
Sync group down? All my agents from different locations offline in same time.
Now is 2014-10-17, 10:22PM EST. Portal shows all my agents from 3 different locations offline. The last sync was done at around 8:30. I've confirmed my agents are online, and they can successfully ping service. Last nite was another nightmare, it look more
than half an hour for a sync cycle. Went back to normal all the suddent at 4am early morning.
What's going on?
Thanks,
DanHi,
Thanks for your reply.
The service went back to normal at 1AM EST. It was down for 4 hours 30mins. But the service interruption is just too sudden and frequence as I said it went down on Thursday (16th Oct) night as well.
Here's my sync group info.
Sync group ID : a0d2cc7b-3a3e-481f-a3b5-be26a373fd5a_Southeast Asia
Region : Southeast Asia
Date time of the issue : 17th OCT 8:30PM EST to 18th OCT 1:00AM EST
Traing ID : No error found from logs since the sync group didn't work at all. It showed all of my agents offlined. And the sync group showed "Warning"
Please let me know if you need additional info. Thanks.
Dan -
Why does PSE 10 Organizer jumble up photos on the same date from different locations ?
I have PSE 10 installed on a PC with Windows 7. My camera is a Nikon D90 using a Sandisk 8 gb SD card. When I take photos at different locations on the same date and download them into the Organizer , instead of keeping the photos from the different locations together by location, it jumbles them all up. It does not keep them in order by time taken from first to last for that day , it just mixes them all up in random order. Why ?
Hi Lyndy,
When you use Albums and Keyword Tags, you aren't moving the images around (they stay in their folders) - you just look at them differently.
What you can try is this:-
1) select one of your folders in folder view so that it displays all of those images in filename order
2) click on the instant album button (to the top right of the thumbnails)
This will generate an album with the same name as the folder
3) Now switch to Thumbnail view
4) click on the new albumb name on the right side
Now, all the images should be in date/time order - you may have adjust the options
The real power of the Keywrd Tags is the many different ways you can look at the images.
If you have a Keyword Tag structure like this:-
Places
Scotland
Holyrood
Britania
Then if you assign the Holyrood and britania tags to the appropiate photos, there are various ways of viewing the photos.
Selecting just Holyrood would show only the Holyrood ones
Selecting Scotland would show both Holyrood and Britania ones.
The only limit seems to be your own imagination
I hope that gives you ideas rather than adding confusion
Brian -
Can we generate forms from different locations on same account?
We're thinking of subscribing for the unlimited forms plan. Would this plan allow us to generate forms (and receive reports) from various locations on the same account? Or would each location need its own account?
Thanks, MegHi Meg;
Depending on the roles each user needs to play, you could have one "Plus" membership that can have all of the "live" forms in it, that user could share forms and/or responses with the other users so they could collaborate in the editing and view responses and reports. The permissions in the form (ability to use paid features) are based on the form author, so the "Free" level users could use the paid features in these forms that were shared by the one Plus membership.
Here is some information on sharing forms: http://forums.adobe.com/docs/DOC-2462
Also some good gneral Quick Start guides and How To's: https://www.acrobat.com/formscentral/en/library/how-to-make-create-survey-or-form.html
In addition, if any of the free users were to create a form for the team they could export that form as a design file for the Plus member to import and then share. Since the free user can only create one form, but have unlimited shared with them, and since the form rights are from the author the Free user wouldn't want to share the form, but instead export it so that when the Plus user imports it they are the author and when it is shared the form would have the Plus level features (I hope that made sense).
As far as organization there are no folders in FormsCentral at this time.
Thanks,
Josh
Maybe you are looking for
-
We have just moved from MobileMe, where we had a 'Family account' (and we each have our own @me.com email addresses) to iCloud. We share the Cal and Contacts on our iMac. How do we sync to multiple devices - we each have an iPad and an iPhone, but wi
-
URGENT:how to generate multiple spools in a single program
Hi, i am currently showing a report which contains different sections using pure write staemnt. now the user wants when he runs the same program there he should be able create multiple spools. iMean one section(paragraph) in one spool ..ano
-
Monitor Colors wrong following a re-install of 10.3
I've fixed this once, a year ago, but have forgotten how! I have had to re-install 10.3 due to some other problems but with this fresh system, the monitor colors are not quite right. For example, the finder icon in the dock is purple, the label color
-
Hi, My storage admin created RAID10 and RAID5 for database, I would like to know which RAID Level is best for keeping the REDO logs. Can someone tell me what's best for REDO? Thanks
-
Access package body in once schema by another
I have package defined in one schema (A). How can another user (B) access the body of that package logged in as B?