Locate true path name of virtual drive?

Anybody got an idea to locate the true path of a virtual drive?
i.e. I substituted a particular folder in winnt with q:\
Can i determine which directory q:\ is pointing at? or do I have to run a shell command "subst" and parse the output and determine it?

I wrote the following code quickly.. so please comment on the efficiency matters...
also... what do you think happens if this is running on win9x?
import java.io.File;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Runtime;
import java.lang.Process;
import java.io.IOException;
import java.util.Vector;
import java.util.StringTokenizer;
class Test
     public static void main(String[] args) throws Exception
runProcess();
private static void runProcess(){
try{
Runtime r = Runtime.getRuntime ();
Process p = r.exec ("subst");
BufferedReader br = new BufferedReader (new InputStreamReader(p.getInputStream()));
Vector out = new Vector();
String s;
while ((s = br.readLine ())!= null)
out.add(s);
String[] output = new String[out.size()];
for (int i = 0; i < output.length; i++)
output[i] = (String)out.elementAt(i);
processSubstOutput(output);
printDrives();
p.destroy ();
br.close ();
} catch (IOException e){
System.out.println (e.getMessage());
public static void processSubstOutput(String[] a){
vds = new VirtualDrive[a.length];
for (int i = 0; i < vds.length; i++)
StringTokenizer strtok = new StringTokenizer(a, "=>");
if (strtok.countTokens() == 2)
String s1 = strtok.nextToken().trim();
String s2 = strtok.nextToken().trim();
vds[i] = new VirtualDrive(s1.substring(0, s1.length()-1), s2);
public static void printDrives(){
if (vds != null)
for (int i = 0; i < vds.length; i++)
System.err.println(vds[i]);
private static VirtualDrive[] vds;
class VirtualDrive
public VirtualDrive(String s1, String s2){
virtualDrive = s1;
mappedDirectory = s2;
public String toString(){
return virtualDrive + " maps " + mappedDirectory;
public String virtualDrive;
public String mappedDirectory;

Similar Messages

  • Unable o create an instance of the java virtual machine Located at path

    I am installing oracle sql developer on Windows XP SP2
    I have downloaded sqldeveloper-3.1.07.42 and extracted it.
    when i double click sqldeveloper it shows dialog box
    Unable o create an instance of the java virtual machine Located at path
    ..\..\jdk\jre\bin\client\jvm.dll
    and OK button
    i have tried a solution posted on a site
    1- Open the ide.conf file located under <Oracle SQL Developer>jdev\bin\
    2- Edit :
    AddVMOption -Xmx1024M
    AddVMOption -Xmx256M or 512 MB change into 512 instead of 1024
    it does not work for me
    What is the cause & how to resolve it please help
    I would be thankful to you guys

    Hi,
    I've got the exact same problem when launching to JDeveloper.
    And I've searched on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work. Sometimes it doesn't...and after rebooting it works again......Sometimes even rebooting doesn't help.......Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again...but next time you try to use it, it may not work..........
    I don't know what leads to these problems.....anyone could help? Thanks in advance....

  • Updating Virtual Names in NISE Driver Session

    I have created a Driver Session in MAX for my VXI Chassis Slot 3 cards. In this Driver Session on the "Virtual Names" tab, I am entering some virtual names that will correspond to the names on our Interface panel -- i.e. the panel of pins that the outside world sees. In other words, the default virtual name M0CH1COM may become SW1_CH1_COM -- or whatever. I plan to go and create a Virtual Device after this, and when I load the IVI switches for this driver session into the Virtual Device, I will see my virtual names in the IVI Channel column instead of the default physical names.
    Suppose I have a great number of these virtual names to enter for a particular driver session, and at this point I only want to enter half of the virtual names into the Driver Session. Once I am convinced that our system is stable, then I will enter the rest of the virtual names into the Driver Session. Is there any way in NISE to get the "last half" of the virtual names from the Driver Session into the Virtual Device that I have created already? I can see where I would have built hardwires, routes, route groups, etc. in the existing Virtual Device, but I'm not sure I know of a way to get the updated Driver Session info into the existing virtual device?
    A simpler case of this would be if someone just forgot to enter a virtual name or two into a driver session. They might get further down the road in development, and find that they overlooked a few virtual names. Is there any way for them to go back, enter in those new virtual names, and have the Virtual Device recognize these virtual names?
    When I tried to do this -- I could not find a way to get the new virtual names to be recognized by the existing Virtual Device. The only way I found to make it work was to create a new virtual device -- and doing this will cause me to lose my "custom" info in the virtual device.
    Any ideas?
    Harv

    Harv,
    I guess this question is related to your previous post.
    When you enter virtual channel names in the driver session, the IVI specific driver is supposed to pass these names to NISE. If this is the case, then NISE will show the virtual channels and not the physical channel names. The virtual channel names need to be created before importing a switch in a NISE virtual device.
    If you forgot to name a few channels in the driver session and already created a NISE virtual device you will not be able to go back and give virtual channel names to the remaining channels.
    Let's assume that your new driver has the exact same topology, connections, channel number etc than the old driver but some channel names are different. CH0 is now name Channel0 and CH1 is now Channel1.
    What you could do is export you configuration into an xml file, open the xml file with a text editor (notepad), search for the CH0 and CH1 and replace them with Channel0 and Channel1 respectively. You also need to point to the new IVI specific driver. Now, Create a new NISE virtual device by importing the changed xml file. When you open this new NISE virtual device, it should see that the channels names (Channel0 and Channel1) correspond to the names in the new ivi specific driver and you should not have a problem using it. You would not have to redo your entire configuration.
    This will work if ONLY the channel names have changed. If anything else have changed this would not work and you would have to create a new NISE virtual device.

  • How can I use a relative path in a Virtual Directory tag?

    That is probably a bit vague, so I will explain in more detail. We are using BEA
    WL Portal 7.0 and our team is developing multiple portal applications. We have
    a core set of portlets (consist of JSPs) that we need to reuse in multiple portals
    (Web Apps), however from a version control perspective they need to reside in
    one common location. So, the solution I came up with is to use a virtual directory
    for the the common directory and add this to weblogic.xml for each web app. This
    works fine. However, each developer has different directory names for their project...ClearCase
    view names to be specific... plus we have integration views, QA views, etc...
    so we can't have any "C:\mystuff\mydomain" absolute paths anywhere in the portal
    configuration. Does anyone know of a way to use a relative path for a virtual
    directory? I have tried various versions of ../../ for example to try to backup
    and then recurse down to the directory, but this is not working. Any ideas?
    By the way this is basially just a hack for development, when we package the WAR
    for QA, Prod, etc... we copy needed files and there are no virtual directories.
    In other words, I don't care how "creative" solution is :)
    This is what I have right now, which I need to replace with a relative directory
    name:
    <virtual-directory-mapping>
    <local-path>C:/Projects/TouchPoint_v1.0_Fix/tp_portal/bipiportals/beaApps/portalApp/tp-shared</local-path>
    <url-pattern>*</url-pattern>
    </virtual-directory-mapping>

    Well, in fact you can in a special case :
    - The file you want to access is in the same directory than the applet (or in a sub-directory)
    If this condition is OK, you can open the file using :
    java.io.InputStream MyInputStream = <YourAppletClassName>.class.getResourceAsStream("sidira_interactif2.svg")
    With this stream, its easy to read the file content.

  • Should long path names be avoided?

    Is there a reason why help projects should be located in the hard drive's file structure such that they have particularly short path names?  Is seems to me I read that somwhere, and I noticed that our developer put a previous help project right in the root directory.  We use the Eclipse IDE and CVS for source control, does that have any bearing?

    The location and path length are separate issues. RoboHelp projects must be on the hard drive. Path length is a Windows limitation and it can get too long if your project is in your profile. In addition to the folders and files in the project, they are all prefixed with C:\users\yourname etc.
    Maybe it is the output the developer is moving or maybe it is to do with it being picked up by source control. Otherwise I don't know why they would move your source project.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Songs lost to altered path name

    So I am one of many who have lost thousands of songs in itunes for reasons I don't understand.  When I query the song with "get info" I get a "can't locate the song" dialogue box which I close and the info dalogue box then appears.  It seems that a few thousand songs have the file path names altered to read file://local host/  then the correct drive letter and folders etc.  Some have only "local host/drive letter/etc".  itunes can't find them because the path name is altered, but how did that happen and how can I undo it?  This is the second time I have lost more than 5000 songs to some mysterious action in this program.  I really don't want to burn hours and hours re- ripping those CDs

    Thank you for your attention to this
    Usually the path name reported by get info looks like this:  file://localhost/C:/users/Don Broderson/music/iTunes/iTunes media/Gillian   Welch/Soul Journey/10 Wrecking Ball.m4a.  In this case the tune is missing altogether, though it used to be on an external hard drive F:  as in the following case:
    Path as listed in get info:  file://localhost/C:/users/Don Broderson/music/iTunes/iTunes Media/Bob Dylan/Another side of Bob Dylan/03 Spanish Harlem Incident.m4a   
    Actual path:  In this case the tune resides on the external drive at F:\music\Bob Dylan\Bob Dylan\Another Side of Bob Dylan\03 Spanish Harlem Incident.m4a
    When this problemm began, I saw path names rom get info that began localhost/F:\  and continued as in the dylan case above.  I could not find an example of that path in a quick search today.
    I have iTunes set up to import CDs automatically to the F: drive as the hard disk in my laptop does not have the capacity for my library.  This has worked well for a couple of years and now it doesn't.  To my knowledge I never asked iTunes to organize my library.  I don't recall upgrading iTunes around the time the trouble started.  Any ideas?

  • Maximum file path name exceeded

    While using Creative Cloud Packager to create a package I receive the error 'maximum file path name exceeded' during the download.  The package save location I orginally chose was \\server\share\adobe\Creative Suite.  After the first failure, I mapped a 'Z drive' to that location and am still getting the error.  How do make a path shorter than 'Z:\'?
    I'm using Windows XP SP3 to create a 64 bit Windows package.  I just downloaded and installed the Creative Cloud Packager today.
    Thanks to  anyone who can help.

    I did some further troubleshooting and couldn't get it working on the XP PC.  I installed the Creative Cloud Packager on a Win 8 PC and it looks like it's working as it should.

  • I've moved my Aperture library to another computer, and masters are referencing an old path name.  How can I update these references?  Reloctating masters does not work in this case :(

    I've moved my Aperture library from one computer to another using Finder.
    I merged the library with one which was already on the computer.
    Now, the photos I imported have reference to the old path name on my old computer.
    How can I update these references as "Relocate Masters" does not work in this case?

    Just one suggestion to be able to reconnect all at once:
    Create a smart album containing the images with missing masters:
    File -> New ->  Smart Album,     and add a rule: File Status is "Missing"     (or File Status is "offline")
    Then select the images in this album and go to the File menu:
    and select:   File -> Locate referenced File
    If you are lucky, Aperture will reconnect all at once, if you point the first image version to its counterpart.

  • How to use path names for library filter?

    Hi all,
    I have been looking for a way to use the library filter functionality to show only images in a particular folder (or subfolder thereof). From the help pages [http://help.adobe.com/en_US/Lightroom/3.0/Using/WSAB7B303E-081D-4617-BF47-B4B8D3D49CC3.htm l] I found that the image path is included when you filter using 'any searchable field'.
    However, I do not seem to be able to use a full path name, just the individual directory names. To give an example, I can locate files in c:\data\photos using 'contains all: c data photos', but this will also select images in 'c:\data\someotherproject\photos'. I have tried all combinations of slashes and backslashes, but have found no solution to this problem. Does anyone know what the internal representation for the path name is, and if it's possible to search for it?
    Just to pre-empt the obvious answer: I know that you can simply click on a folder to show its contents. However, using the filter bar would be a more permanent selection of a working directory, which remains when you click on a collection, for example.
    Thanks.
    Simon

    Sorry, I could have been clearer.
    What I'm trying to achieve is the following. My computer contains photos by myself, my wife and others, organised in three main folders. Having them in separate catalogs isn't convenient, because we often have photos of the same event (outings, holidays). However, most of the time I only want to work on my photos, and my wife wants to work on hers. A directory filter would be a good and fool-proof way of doing things. I am currently using a special keyword to do this, but I must remember to apply the correct keyword when importing.
    Adding a folder as a favorite only works to select that folder in its entirety. What I would like to do is to have a 'master' folder selected and then use Lightroom as I normally would (select folders, collections, etc) Filtering by path name would enable me to do just that - and it does, except that there are false positives due to not being able to enter a full path name.
    A smart collection has the same problem: the 'Folder' rule doesn't seem to support paths. And even if it did, it's not possible to select two collections with a logical 'and' operator, unless you make a new smart collection for each possibility.
    My current keyword workaround is functional, but slightly error-prone. And in any case, if 'any searchable field' includes the file path, it stands to reason that there should be a way to match that with the entire path. The documentation isn't clear about this, so I hope that anyone can shed some light on this.

  • OK to use fdisk/100% "SOLARIS System" partition for RAID6 Virtual Drive?

    Solaris newb, here - I am configuring an x4270 with 16 135 GB drives. Basic approach is
    D0, D1: RAID 1 (Boot volume, Solaris, Oracle Software)
    D2-D13: RAID 6 (Oracle dB files)
    D14, D15: global spares
    After configuring the RAID's w/WebBIOS Utility, I am now trying to format/partition the RAID 6 Virtual Drive, which shows up as 1.327 TB 'Optimal' in the MegaRAID Storage Manager. After hunting around the ether for advice on how to do this, I came across http://docs.oracle.com/cd/E23824_01/html/821-1459/disksxadd-50.html#disksxadd-54639
    "Creating a Solaris fdisk Partition That Spans the Entire Drive"
    which is painfully simple: after 'format', just do an 'fdisk' and accept the default 100% "SOLARIS System" partition. After doing this, partition>print and prtvtoc show this:
    partition> print
    Current partition table (original):
    Total disk cylinders available: 59125 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 unassigned wm 0 0 (0/0/0) 0
    1 unassigned wm 0 0 (0/0/0) 0
    2 backup wu 0 - 59124 1.33TB (59125/0/0) 2849529375
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    8 boot wu 0 - 0 23.53MB (1/0/0) 48195
    9 unassigned wm 0 0 (0/0/0) 0
    # prtvtoc /dev/dsk/c0t1d0s2
    * /dev/dsk/c0t1d0s2 partition map
    * Dimensions:
    * 512 bytes/sector
    * 189 sectors/track
    * 255 tracks/cylinder
    * 48195 sectors/cylinder
    * 59127 cylinders
    * 59125 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 48195 2849481180 2849529374
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    2 5 01 0 2849529375 2849529374
    8 1 01 0 48195 48194
    My question: is there anything inherently wrong with this default partitioning? Database is for OLTP & fairly small (<200 GB), with about 140 GB being LOB images.
    Thanks,
    Barry

    First off, RAID-5 or RAID-6 is fine for database performance unless you have some REALLY strict and REALLY astronomical performance requirements. Requirements that someone with lots of money is willing to pay to meet.
    You're running a single small x86 box with only onboard storage.
    So no, you're not operating in that type of environment.
    Here's what I'd do, based upon a whole lot of experience with Solaris 10 and not so much with Solaris 11, and also assuming this box is going to be around for a good long time as an Oracle DB server:
    1. Don't use SVM for your boot drives. Use the onboard RAID controller to make TWO 2-disk RAID-1 mirrors. Use these for TWO ZFS root pools. Why two? Because if you use live upgrade to patch the OS, you want to create a new boot environment in a separate ZFS pool. If you use live upgrade to create new boot environments in the same ZFS pool, you wind up with a ZFS clone/snapshot hell. If you use two separate root pools, each new boot environment is a pool-to-pool actual copy that gets patched, so there are no ZFS snapshot/clone dependencies between the boot environments. Those snapshot/clone dependencies can cause a lot of problems with full disk drives if you wind up with a string of boot environments, and at best they can be a complete pain in the buttocks to clean up - assuming live upgrade doesn't mess up the clones/snapshots so badly you CAN'T clean them up (yeah, it has been known to do just that...). You do your first install with a ZFS rpool, then create rpool2 on the other mirror. Each time you do an lucreate to create a new boot environment from the current boot environment, create the new boot environment in the rpool that ISN'T the one the current boot environment is located in. That makes for ZERO ZFS dependencies between boot environments (at least in Solaris 10. Although with separate rpools, I don't see how that could change....), and there's no software written that can screw up a dependency that doesn't exist.
    2. Create a third RAID-1 mirror either with the onboard RAID controller or ZFS, Use those two drives for home directories. You do NOT want home directories located on an rpool within a live upgrade boot environment. If you put home directories inside a live upgrade boot environment, 1) that can be a LOT of data that gets copied, 2) if you have to revert back to an old boot environment because the latest OS patches broke something, you'll also revert every user's home directory back.
    3. That leaves you 10 drives for a RAID-6 array for DB data. 8 data and two parity. Perfect. I'd use the onboard RAID controller if it supports RAID-6, otherwise I'd use ZFS and not bother with SVM.
    This also assumes you'd be pretty prompt in replacing any failed disks as there are no global spares. If there would be significant time before you'd even know you had a failed disk (days or weeks), let alone getting them replaced, I'd rethink that. In that case, if there were space I'd probably put home directories in the 10-disk RAID-6 drive, using ZFS to limit how big that ZFS file system could get. Then use the two drives freed up for spares.
    But if you're prompt in recognizing failed drives and getting them replaced, you probably don't need to do that. Although you might want to just for peace of mind if you do have the space in the RAID-6 pool.
    And yes, using four total disks for two OS root ZFS pools seems like overkill. But you'll be happy when four years from now you've had no problems doing OS upgrades when necessary, with minimal downtime needed for patching, and with the ability to revert to a previous OS patch level with a simple "luactivate BENAME; init 6" command.
    If you have two or more of these machines set up like that in a cluster with Oracle data on shared storage you could then do OS patching and upgrades with zero database downtime. Use lucreate to make new boot envs on each cluster member, update each new boot env, then do rolling "luactivate BENAME; init 6" reboots on each server, moving on to the next server after the previous one is back and fully operational after its reboot to a new boot environment.

  • Packager fails with "Maximum file path name exceeded" on InCopy

    Attempting to build the full suite with CCP 1.5.0 Build 83, running on Window 8.1 update 64-bit.
    When building a 32-bit package it reaches InCopy it always stops and provides the so helpful "Maximum file path name exceeded error".  This appears to only happen when building the 32-bit package, building the 64-bit package caused no issues, and even in building the 32-bit package after the 64-bit package when everything is already downloaded the same error occurs.
    Tried it with:
    Cache path: C:\Users\iholmes\AppData\Local\Adobe\CCP\
    Destination path: F:\ISO\Adobe\Cloud\Working\CreativeCloud-06192014x86
    Also tried:
    Cache path: g:\Adobe\CCP
    Destination path: f:\cc\x86
    These are all local paths, not mapped network drives.

    Same here. From: C:\Users\<user>\AppData\Local\Temp\PDApp.log:
      <errorType>LongPathError</errorType>
      <filePath>C:\Users\<user>\AppData\Local\Temp\{839FDA1E-684B-4164-A8A0-AC83A4D37D3F}\AICY\ LS20\10.0\InCopy_10_LS20_Win32
    I can manually extract the zip file from:  C:\Users\<user>\AppData\Local\Adobe\CCP\AdobeCCPCache\AICY\LS20\InCopy_10_LS20_Win32.7z to the above path (which I think is what it's trying to do) with no error, so it seems to be something Adobe is going to have to fix.
    Someone else worked around it by creating a local user with a single character as the user name: Creative Cloud Packager Keeps Failing on InDesign: "Maximum File Path Name Exceeded"

  • Getting the local full path name of a file from an item File Browser

    Hi all,
    I would like to get the local full path name, of a file selected from an item 'File browser'.
    I see in wwv_flow_files the column 'name', but actually it's a kind of id like 'F1542335/myFile.gif' for example.
    What i want is the local path of this file ("C:\Documents and Settings\All Users\....\myFile.gif").
    I hope this is possible??
    Anyway, thanks all for reading.
    Ludo

    Hello, thank you for the answer.
    Please understand that I searched before posting, and not ony 15 min.
    What i mean is that the value of a File Browser in an Apex applocation is something like 'F1542335/myFile.gif', but what I need is the local path location.
    And 'F1542335/' is not the local path location, i can't use it. Or maybe there is a way to convert it in a proper path name, such as "C:\Documents and Settings\....", but I don't think so.
    So my question is : how to get the local path name of a file in Apex?
    I'll answer if I find some good things.
    Thanks
    Ludo
    Edited by: user12945874 on 06-avr.-2010 3:59

  • Logical file name or logical path name incorrectly defined

    Dear All,
    We are doing archival in our IDES for test purpose before we do it to our Production.
    Steps Performed
    Copied AM_ASSET archive object to ZAM_ASSET
    Logical Path
      Logical path    ZAM_ASSET
      Name            Asset
      Syntax group    UNIX       Unix compatible
      Physical path   /archive/test/<FILENAME>
    Logical File Name
       Logical file    ZAMASSET
       Name            Asset
       Physical file   FI_<MONTH>_<DAY>.txt
       Data format     ASC
       Applicat.area   AM
       Logical path    ZAM_ASSET
    But when we run the WRITE though SARA , in the job log we get the following
    Logical file name or logical path name incorrectly defined
    When generating a file name for an archive file that is to be created, the system determined that the logical file name FIAA_ARCHIVE_DATA_FILE or the logical path name ARCHIVE_GLOBAL_PATH  was defined incorrectly.
    But we have maintained a Logical name  ZAMASSET , so we are unable to change the location of archived file and as well as the format.
    So is there any setting we need to maintain apart from the logical file name and logical file path.
    Suggestions are highly appreciated.
    Thanks in anticipation

    hi,
    follow this steps :
    - transaction SARA
    - enter authorization objects, eg SD_VBAK
    - hit button CUSTOMIZING
    - Archiving Object-Specific Customizing: execute Technical Setting
    - field Logical File Name enter or select ARCHIVE_DATA_FILE
    - leave CONTENT REPOSITORY as blank if you are not using 3rd party for storing (eg. IBM Tivoli)
    - back to customizing
    - from Basis Customizing, execute : Cross-Client File Names/Paths
    - on Logical FIle Path Definition, highlight (select) ARCHIVE_GLOBAL_PATH on the right pane
    - double click on the Assignment of Physical Paths to Logical Path on the left pane
    - double click on OS used, eg. UNIX, define Physical Path where archive file (on WRITE process) will be stored
    - save changes made
    - double click Logical File Definition, Cross Client on the left pane
    - double click ARCHIVE_DATA_FILE on the right pane
    - make sure that logical path is already set to ARCHIVE_GLOBAL_PATH
    - save changes made
    this setting also can be done using transaction FILE
    we have experienced on this case using SAP standard archiving (SARA, SARI) and everything is fine with this setting above.
    hope it help you.
    rgds,
    Alfonsus Guritno

  • How to use P=name for Physical path name via t-cd:file

    Hello experts,
    I want to define physical path name using <P=name> for add-on programs.
    It is desirable to save files on another drive from SAP installed drive.
    I don't know which profile parameter can be changed.
    I'm afraid if standard logic wouldn't work when I change a parameter.
    I'm not sure, but DIR_TEMP doesn't seem to affect standard logic.
    What parameter should I use for add-on?
    Or can I create own profile parameter?
    Regards,
    Fukuhara Yohei

    In my detail block I have 10 rows displaying that may or may not have data after querying. To set the default value in the detail block, you have to set the index value of p_session.set_value. Since I don't know how many rows are already populated, I'm setting the default value to all 10 rows. Is there a better approach?
    Here's my code example, which I've placed in the additional PL/SQL section before displaying the form...
    DECLARE
    l_district_id VARCHAR2(7);
    BEGIN
    l_district_id := p_session.get_value_as_varchar2
    (p_block_name => 'MASTER_BLOCK',
    p_attribute_name => 'A_DISTRICT_ID');
    FOR i in 1 .. 10 LOOP
    p_session.set_value
    (p_block_name => 'DETAIL_BLOCK',
    p_attribute_name => 'A_DISTRICT_ID',
    p_value => TO_CHAR(l_district_id), p_index => i);
    END LOOP;
    END;

  • Weblogic 12.1.1 SSL error --No identity key/certificate entry was found under alias server_name in keystore path\ name .jks on server AdminServer

    Hi guys,
    I installed  webloigic 12.1.1 on windows 2003(32-bit);
    I was requested add SSL Configuration to console;
    I'm using keytool; It is not first time I setup SSL on weblogic console, only version is different;
    before I did susssessfully on weblogic 11g(10.3.2-10.3.5) using the same scenario;
    My steps:
    1.generate key;
    keytool -keyalg RSA -genkey -v -alias <server_name> -keysize 2048 -storepass <pwd> -validity 762 -keystore <name>.jks
    2. create cert
    keytool -certreq -alias <server_name> -file file_name.csr -keystore <name>.jks
    after send and return certificate 3 layers;
    imported back;
    --root--
    keytool -importcert -v -noprompt  -alias rootca.kbr.com -file root0.cer -keystore <name>.jks -trustcacerts
    Enter keystore password:
    Certificate was added to keystore
    [Storing <name>.jks]
    keytool -importcert -v -noprompt  -alias rootca1.kbr.com -file root1.cer -keystore <name>.jks -trustcacerts
    Enter keystore password:
    Certificate was added to keystore
    [Storing <name>.jks]
    keytool -importcert -v -noprompt  -alias <server_name> -file root2.cer -keystore <name>.jks -trustcacerts
    Enter keystore password:
    Certificate reply was installed in keystore
    [Storing <name>.jks]
    confufigured weblogic using conosole;
    it looks like this in config.xml file
    <ssl>
          <enabled>true</enabled>
          <listen-port>7002</listen-port>
          <server-private-key-alias><server_name></server-private-key-alias>
          <server-private-key-pass-phrase-encrypted>{AES}TIRM5RT26K8IZDevCNMexlWp3BuhZaFpi8HEgPaOCrU=</server-private-key-pass-phrase-encrypted>
        </ssl>
        <listen-address>34.64.3.9</listen-address>
        <key-stores>CustomIdentityAndCustomTrust</key-stores>
        <custom-identity-key-store-file-name>path<name>.jks</custom-identity-key-store-file-name>
        <custom-identity-key-store-type>JKS</custom-identity-key-store-type>
        <custom-identity-key-store-pass-phrase-encrypted>{AES}hiemEGOTrjIRvEOnn0+ODuNpWehBbrgb8fydImfyXV4=</custom-identity-key-store-pass-phrase-encrypted>
        <custom-trust-key-store-file-name>path<name>.jks</custom-trust-key-store-file-name>
        <custom-trust-key-store-type>JKS</custom-trust-key-store-type>
        <custom-trust-key-store-pass-phrase-encrypted>{AES}xzP2kU98nkVMNLdzMv7VRoRjoBQUTu5jjtlMLm87PHc=</custom-trust-key-store-pass-phrase-encrypted>
      </server>
    When I restart SSL , I see error in log file
    Er<AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1381506732875>
    <BEA-000297> <Inconsistent security configuration, weblogic.management.configuration.ConfigurationException: No identity key/certificate entry was found under alias <SERVER_NAME> in keystore path<name>.jks on server AdminServer>
    Please help
    I thought before if import certification get status Certificate reply was installed in keystore
    it shouldn't be problem for weblogic use thsi certificate;

    Compare your steps with the following
    http://weblogic-wonders.com/weblogic/2011/05/25/ssl-configuration-for-weblogic-server/

Maybe you are looking for

  • Cannot send email with Yahoo! on iPhone

    Since last evening (3rd May), I've been having intermittent issues sending email through my Yahoo! mail account. Common symptoms include a pop-up window stating: Cannot Send Mail The connection to the outgoing server "apple.smtp.mail.yahoo.com" faile

  • JVM Crash with latest FB3 SA on WXP-sp2

    I've been experiencing JVM crash intermittently through-out the beta program and now also with the released version. I don't see an outcry from the users, so I'm guessing very few others are experiencing this ? and it is due to something weird in my

  • Move files from one folder to another javascript?

    I am running a 3-action droplet automatically using windows task scheduler.  Here are the 3 steps: 1.    Batch file to move files from hot folder to processing folder 2.    Run IPP (dr brown's image processor pro) using preloaded settings to make sev

  • PNG graphic positioning in IE 7

    I'm running Studio 8, and I have a problem. I want my text to wrap around graphics, and right now I'm accomplishing this by clicking "left" or "right" from the Align menu in the Properties window. This works fine for JPG and GIF pictures, but not PNG

  • Difference in Integration between eSourcing and ECC Vs CLM and ECC

    Hi All. I understand SAP provides standard integration package for E-Sourcing and ECC. If i implement only CLM, (with out sourcing i.e Rfx and auctions), Is there a different package for CLM and ECC integration? Is the integration different and how w