Wallet file question

Hi all
Oracle 10.2.0.5 wallet
We are using wallet file and in that "Certificate(Ready) expires at Sep 2012. I could also find the trusted certificates added which expires at Oct 2030. Is this means I have the certificates till 2030 or I need to get a certificate from the provider and import them again. What does "Certificate(Read) means?
thanks for you assistance.

Hello Alan,
I guess with 10.1.2.0.2 Oracle AS B2B , we do not have this constraint. B2B reads directly from the p12 wallet file. Let me know.
Rgds,Ramesh

Similar Messages

  • OTC ssl.conf file does not have ssl wallet file location details

    Hi B2B Gurus,
    While doing the HTTPS configuration in OTC we observed that some of lines were missing in ssl.conf file located at <Oracle_Home>\Apache\Apache\conf. The below mentioned lines are missing in OTC’s ssl.conf but present in OracleB2B’s ssl.conf
    Even ssl wallet file location is also missing in OTC ssl.conf file as mentioned below.
    Can u please let us know as why these lines are missing or should we manually add these lines when we do HTTPS on OTC ?
    Listen 4444
    <VirtualHost default:4444>
    # General setup for the virtual host
    DocumentRoot "E:\Oracle_b2b\cachehome\Apache\Apache\htdocs"
    ServerName DSCP17506.TechMahindra.com
    ServerAdmin [email protected]
    ErrorLog "|E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/error_log 43200"
    TransferLog "|E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/access_log 43200"
    Port 443
    # SSL Engine Switch:
    # Enable/Disable SSL for this virtual host.
    SSLEngine on
    # SSL Cipher Suite:
    # List the ciphers that the client is permitted to negotiate.
    SSLCipherSuite ALL:!ADH:!EXPORT56:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
    # Server Wallet:
    # The server wallet contains the server's certificate, private key
    # and trusted certificates. Set SSLWallet at the wallet directory
    # using the syntax: file:<path-to-wallet-directory>
    SSLWallet file:E:\Oracle_b2b\cachehome\Apache\Apache\conf\ssl.wlt\default
    # Certificate Revocation Lists (CRL):
    # Set the CA revocation path where to find CA CRLs for client
    # authentication or alternatively one huge file containing all
    # of them (file must be PEM encoded)
    # Note: Inside SSLCARevocationPath you need hash symlinks
    # to point to the certificate files. Use the provided
    # Makefile to update the hash symlinks after changes.
    #SSLCARevocationPath conf\ssl.crl
    #SSLCARevocationFile conf\ssl.crl\ca-bundle.crl
    # Client Authentication (Type):
    # Client certificate verification type and depth. Types are
    # none, optional and require
    #SSLVerifyClient require
    # Access Control:
    # With SSLRequire you can do per-directory access control based
    # on arbitrary complex boolean expressions containing server
    # variable checks and other lookup directives. The syntax is a
    # mixture between C and Perl. See the mod_ssl documentation
    # for more details.
    #<Location />
    #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)-/ \
    # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
    # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
    # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
    # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
    # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
    #</Location>
    # SSL Engine Options:
    # Set various options for the SSL engine.
    # o FakeBasicAuth:
    # Translate the client X.509 into a Basic Authorisation. This means that
    # the standard Auth/DBMAuth methods can be used for access control. The
    # user name is the `one line' version of the client's X.509 certificate.
    # Note that no password is obtained from the user. Every entry in the user
    # file needs this password: `xxj31ZMTZzkVA'.
    # o ExportCertData:
    # This exports two additional environment variables: SSL_CLIENT_CERT and
    # SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
    # server (always existing) and the client (only existing when client
    # authentication is used). This can be used to import the certificates
    # into CGI scripts.
    # o StdEnvVars:
    # This exports the standard SSL/TLS related `SSL_*' environment variables.
    # Per default this exportation is switched off for performance reasons,
    # because the extraction step is an expensive operation and is usually
    # useless for serving static content. So one usually enables the
    # exportation for CGI and SSI requests only.
    # o CompatEnvVars:
    # This exports obsolete environment variables for backward compatibility
    # to Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. Use this
    # to provide compatibility to existing CGI scripts.
    # o StrictRequire:
    # This denies access when "SSLRequireSSL" or "SSLRequire" applied even
    # under a "Satisfy any" situation, i.e. when it applies access is denied
    # and no other module can change it.
    # o OptRenegotiate:
    # This enables optimized SSL connection renegotiation handling when SSL
    # directives are used in per-directory context.
    #SSLOptions FakeBasicAuth ExportCertData CompatEnvVars StrictRequire
    <Files ~ "\.(cgi|shtml)$">
    SSLOptions +StdEnvVars
    </Files>
    <Directory "E:\Oracle_b2b\cachehome\Apache\Apache\cgi-bin">
    SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    # Per-Server Logging:
    # The home of a custom SSL log file. Use this when you want a
    # compact non-error SSL logfile on a virtual host basis.
    CustomLog E:\Oracle_b2b\cachehome\Apache\Apache\logs\ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
    </VirtualHost>
    Thanks for your help in Advance.
    Regards,
    Priyanka

    Hi Ramesh,
    We added the missing entries in ssl.conf file and tested it out. It is working fine. When we did slient install we are facing this error, we found that this is a bug in 10.1.2.3 AS patch (5983622) silent install. Raised an SR on this and Support is working to get this fixed.
    Regards,
    Priyanka

  • CGI map file questions, help !!!

    I am trying to use the CGI map file to open web reports. I got two questions at this time.
    1. How to refresh the report to reflect resent edits ? I used the CGI map to open a report. Later, I made some edits to the report and opened it again. However, the browser showed the report before the edit. I had to save the report to different file name and edited the key in the map file to show the edited report. This should not be the right way.
    2. How to open a report on a separated screen which is on top of the original one ?
    Any suggestions? Thanks!
    null

    Hi Kate.
    As far as a find and replace tool is concerned, most of us
    here prefer using some tool such as FAR or BkReplacem as they offer
    more features to help in this kind of scenario. The simple answer
    is however that these tools, as indeed does the inbuilt tool, bases
    it's search on the HTML. Therefore if there are specific instances
    of HTML strings you will have to analyse carefully them before you
    replace anything. It sounds like you are already some down down
    this line. Take a backup of your project and test out your theory.
    As far as your map file question is concerned, you can safely
    reimport your map file PROVIDED that no changes have been made to
    the mapids in the meantime. Personally I wouldn't do this unless
    you are 100% sure of this. If it is a case of having 100s of topics
    that are not mapped and never have been but could be, I'd just
    create a new map file and map away.

  • Where to get wallet file of OMS 11g

    Hi all,
    I have installed 11g Grid control OMS and repository database too.
    now evwerything is perfect, but on the agents i want to map the OMS server at the agent i.e. EMD URL as a netscller name.
    my server name is : - HOST11g
    the server name mapped on net scller as :- TESTOMS
    so currently the status off the agents shows EMD URL as HOST11g, and now i want to change it to TESTOMS.
    but when i change in the emd.property of the agent and secure the agent then automatically emd.property file get changed and EMD_URL changes to HOST11g.
    So could anyone please let me know how can i do this ?
    or how the wallet file get created and downloaded from OMS server to agent?
    Because as per my knowledge in 10g OMS we have a seperate wallets file folders agentwise which have seperate wallets file for every agent and to generate new wallwet fiel we need to remove from the particullar folder and re secure the agent so it'll automatically generate the wallet file on OMS server and then download the same in agent.
    if any one can explain me how the wallet file creation is done in 11g then also it will be helpfull to dig more on this.
    Regards,
    Sanket.

    I think there's not exactly what your searching for at the given URL, but anyway, you might find other icons you also needs, and maybe you can still modified version of those icons to suit you.
    http://developer.java.sun.com/developer/techDocs/hi/repository/

  • Importing certificate to OAS .p12 wallet file

    Hi where can I download oracle wallet manager and how can I import a .cer file to a wallet file .p12 that OAS uses in Apache configuration.

    There is a tool called Oracle Wallet Manager that you can find in ORACLE_HOME/bin.
    To create a Certificate Request...
    1. Open OWM
    2. Save the wallet in a empty/new directory
    3. Create a Certificate request
    4. Send ceritificate request to a knowed valid CA such as Verizon
    5. Import the User certificate that Verizon send us back
    6. Import the Root CA that you have to download from Verizon Page
    7. If the User Certificate it's stated as Ready, Just Save it and it's done.
    Hope this helps

  • "Password Wallet" & File Permissions

    Hi,
    How can I set the file permissions correctly on "Password Wallet's" file so that multiple people on the same Apple MacBookPro running Leopard (MAC OS 10.5.x) can access it read/write?
    Yes, I've already run this question by Selznick Software (Password Wallet's developer) and got nowhere.
    Here's the problem/symptoms that I am experiencing:
    I installed "Password Wallet" and started using it under my userid/account (Toni). Everything worked fine. I adjusted the file permissions on Password Wallet's data file to allow my wife to access it under her userid/account (Mel). She logged onto her account and accessed it just fine. Then, I re-logged onto my account (Toni) and CANNOT access it because somehow her access removed my read/write permissions from the file.
    I've tried the same experiment several times now. The result is always the same. After getting the Password Wallet data file setup with read/write for wife and read/write for me while logged onto my account (with administrative privileges), then if another user account (wife's) accesses it, then the access control lists are mysteriously changed (my read/write access control is gone, my wife's is the only remaining read/write access).
    I have only done this experiment and reset the access the control settings via the GUI interface. Somebody at work suggested I enter terminal mode and use the command line methods (UNIX commands like chmod). Although, I know how to run these types of commands, I have no idea what access control settings I need to enter on the chmod command line to allow multiple users to have read/write access to the PasswordWallet data file.
    Your advice would be greatly appreciated.
    Regards,

    After some more experimentation tonight, I have finally found a "workaround" to allow multiple user accounts on the same computer to successfully access the Password Wallet's data file!
    Here's the trick/workaround:
    (1) Create a group account (say "PasswordWalletGroup") whose members are the different user accounts that you want to access Password Wallet's data file (so, in my case I added myself and my wife into this group); &
    (2) Give that group Read/Write access to the data file (via "Finder", select the data file, select "Get Info", and go to the section on "Sharing & Permissions" & simply add the group name & modify the privileges to "Read & Write").
    Now, each user account in that group will be able to access Password Wallet's data file and can modify it. The Password Wallet application will still reset the permissions so that the last user account modifying the file will become the "owner" (Me) BUT the above group workaround will somehow trick the application. Thus, the next different user account that accesses it will be successful and the goofy application will again reset the permissions to let this account be the owner but the group permission will allow others to still access the data file.
    It's clear that the Password Wallet application is doing something funky with the file permissions. Perhaps, it's a "file locking" scheme or something. The application clearly wants to reset the permissions so that the only user account with read/write access is the account that last modified the file. However, the workaround above somehow fools the application and allows multiple user accounts to access the data file (sequentially, of course, not simultaneously).

  • EPM 11.1.2 - wallet file errors trying to start foundation services.

    Running EPM 11.1.2 in a distributed environment. Middle tier is on linux REHL 5 VM, sql server database. Essbase servers are all linux REHL 5 servers.
    We have faced several challenges getting the environment up and stablized. Most recently after several EAS crashes (while migrating Essbase artifacts), we can no longer start Foundation Services.
    Has anyone faced this particular error? We have an open case with Oracle, no one seems to be familiar enough with WebLogic to assist.
    Part of the error log:
    WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
    <Sep 7, 2010 7:54:32 PM EDT> <Error> <Security> <BEA-090892> <The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider>
    <Sep 7, 2010 7:54:32 PM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
    weblogic.security.SecurityInitializationException: The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1394)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:256)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:248)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:130)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:675)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:254)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:248)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:130)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:622)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:254)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:248)
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:130)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:637)
    at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:622)
    at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:622)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:254)
    at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:248)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.credstore.CredStoreException: PKI-02002: Unable to open the wallet. Check password.
    at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:176)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:213)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:135)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:122)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:115)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
    at oracle.security.pki.OracleWallet.open(Unknown Source)
    at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:165)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:213)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:135)
    at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:122)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.EOFException
    at oracle.security.crypto.util.Utils.inputByte(Unknown Source)
    at oracle.security.crypto.asn1.ASN1Header.a(Unknown Source)
    at oracle.security.crypto.asn1.ASN1Header.input(Unknown Source)
    at oracle.security.crypto.asn1.ASN1Header.<init>(Unknown Source)
    at oracle.security.crypto.asn1.ASN1ConstructedInputStream.<init>(Unknown Source)
    Truncated. see log file for complete stacktrace
    >
    <Sep 7, 2010 1:18:05 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Sep 7, 2010 1:18:05 PM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Sep 7, 2010 1:18:05 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

    using orapki you should be able to see the contents of the wallet without a password. try using this:
    ORACLE_WM_HOME/oracle_common/bin/orapki wallet display -wallet ORACLE_WM_HOME/user_projects/domains/EPMSystem/config/fmwconfig
    Should result in the following
    Oracle PKI Tool : Version 11.1.1.2.0
    Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved.
    Requested Certificates:
    User Certificates:
    Trusted Certificates:
    Subject: OU=Class 1 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
    Subject: OU=Secure Server Certification Authority,O=RSA Data Security\, Inc.,C=US
    Subject: CN=Entrust.net Secure Server Certification Authority,OU=(c) 1999 Entrust.net Limited,OU=www.entrust.net/CPS incorp. by ref. (limits liab.),O=Entrust.net,C=US
    Subject: CN=GTE CyberTrust Global Root,OU=GTE CyberTrust Solutions\, Inc.,O=GTE Corporation,C=US
    Subject: OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
    Subject: CN=Entrust.net Secure Server Certification Authority,OU=(c) 2000 Entrust.net Limited,OU=www.entrust.net/SSL_CPS incorp. by ref. (limits liab.),O=Entrust.net
    Subject: OU=Class 2 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
    Subject: CN=Entrust.net Certification Authority (2048),OU=(c) 1999 Entrust.net Limited,OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.),O=Entrust.net
    If it prompts you for a password then that's your issue...

  • Flat File and Control Files Questions

    Greetings,
    I've worked with Oracle for about 10 years, but have little experience with using sql-loader.
    I have data from Visual FoxPro tables going into Oracle 10g via a Perl script. I am having issues and therefore have a couple questions.
    1) If the data from my foxpro table is basically everything in the table as in 'Select * from table-name', does the control file have to list every column that is in the FoxPro table?
    -- I have a case where a FoxPro table has 15 columns but we are trying to upload only 10 columns. The script is dynamic. It selects * from each FoxPro table and creates a Flat File for each on the fly. Then sql-loader uploads the data to Oracle. The Flat File for this one table has data from all 15 columns, but the Control File only lists 10 of the columns to be uploaded into Oracle.
    2) Do the column names in the control file 'have' to match both the column names in the FoxPro table and the Oracle table, or only the Oracle table?

    YankeeFan wrote:
    Greetings,
    I've worked with Oracle for about 10 years, but have little experience with using sql-loader.
    I have data from Visual FoxPro tables going into Oracle 10g via a Perl script. I am having issues and therefore have a couple questions.
    1) If the data from my foxpro table is basically everything in the table as in 'Select * from table-name', does the control file have to list every column that is in the FoxPro table?
    -- I have a case where a FoxPro table has 15 columns but we are trying to upload only 10 columns. The script is dynamic. It selects * from each FoxPro table and creates a Flat File for each on the fly. Then sql-loader uploads the data to Oracle. The Flat File for this one table has data from all 15 columns, but the Control File only lists 10 of the columns to be uploaded into Oracle.
    Yes - use the FILLER spec to ignore columns you do not care about - http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_field_list.htm#sthref946
    2) Do the column names in the control file 'have' to match both the column names in the FoxPro table and the Oracle table, or only the Oracle table?Only the Oracle table.
    HTH
    Srini

  • Simple nib file question

    I believe that all the examples I've seen of nib/xib files have been connections to the corresponding controller or view files, or to the app delegate and the main window,
    Please correct me if I'm wrong, I might just be tired and missing an important clue
    I'm using a Utility Application template, and have most of my work done using the MainView and MainViewController. I'd like to now work on the FlipsideView and FlipsideViewController to display and/or manipulate status and options, which is already in instances/classes in the MainView and MainViewController type.
    How do I access data in the other View, ViewController, or app delegate by connecting buttons and fields from my FlipsideView?
    This may be a "duh! Oh Yeah" question/answer, as in just examine how the FlipsideView is connected to the MainViewController. However, I could use a little leading and pointing here.
    In my test app, I've already created a number of labels for static info, or to hold the value of a field in the other class instances. I'm just trying to figure out how to make the connections. I do have a few of the data elements setup with IBOutlets already.

    When the controllers of separate nibs need to communicate with each other, the best solution depends on the structure of the program and how many controllers are involved. Luckily the discussion gets much easier if we restrict it to the nibs in the Utility template. However, the Utility template that came with SDK 3.0 is quite different from the 2.x version. I'll start with 3.0.
    With the 3.0 Utility template you have a built in communication channel because the flipside view controller is the modal child of the main view controller. That means flipsideViewController.parentController points to mainViewController. And mainViewController.modalViewController points to flipsideViewController.
    So for example, if textField1 is in the main view, and label1 is in the flipside view:
    // in FlipsideViewController.m
    self.label1.text = parentViewController.textField1.text;
    Note however that communication in the other direction is limited to the time the flipside view is active. While mainViewController will always exist when the flipside view covers it, the flipsideViewController is released when its view is dismissed. So in order to export info from flipside to main, you might have the flipside controller save the data ahead of time. For example if the mainViewController needs the text from label2 which is on the flipside:
    // in FlipSideController.m
    parentViewController.copyOfLabel2 = self.label2.text;
    You also mentioned getting data from the app delegate. The app delegate is accessible from any object in the program precisely because it's "the shared application object's delegate". So for example, if mainViewController is an instance variable (with a matching property) of the app delegate, a method of any object in the program could obtain a pointer to the mainViewController, and thus any objects in its view:
    // in AnyClass.m
    #include "MyAppDelegate.h"
    #include "MainViewController.h"
    - (NSString*)getTextField1 {
    myAppDelegate *delegate = [UIApplication sharedApplication].delegate;
    MainViewController *mainViewController = delegate.mainViewController;
    return mainViewController.textField1.text;
    The solution for the 2.x version of the Utility template is based on the fact that both the main and flipside controllers are children of a root view controller. I'll wait to find out which version you have before dealing with the 2.x template.
    Hope that helps!
    - Ray

  • Classpath and jar file question

    my application need to use few jar files i downloaded from the internet
    so i need to set the classpath so that i can import the packages in the jar file rite?
    let say set classpath=.;c:\somedir\bin;
    the ".;" after the "=" means that i search the current directory first then search the directory i have specified after that rite?
    if so, can i put all the needed jar files in the current directory so that my application can use them??
    Another question is if all the jar files in located in the same directory how can i set the class path to refer to them without sepecifying each of the jar file name??can i just put the directory path and will it locate them automatically when my application start??
    can anyone tell me about it??thanks

    No, you need to include each and every jar file in your classpath.
    Or put them all in your <jdk_installation_dir>\jre\lib\ext directory, so that they will get included in your classpath automatically.
    Sudha

  • IPhoto file questions

    Hello! I am new to Macs. Having recently switched from a PC to a Mac, I am a little confused by the file management.
    Every time I import photos using iPhoto, where are the files saved?
    If I want to copy, email, or open photos using any non-Apple software (say, my email in Safari), how do I find the uploaded photos?
    I apologize if these questions have been asked before, and I thank you for your reply.

    . To access them, control-click it in the Finder and choose Show Package Contents. Don't change anything inside.
    This is not a supported way to access the files.
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and later* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and later:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • Renaming files question

    I am new to Lightroom and have a file naming question. I previously used Capture NX2 to import and rename my files. My convention is "YYYY-MM-DD-HH-MM-SS-JAH".
    Capture NX2 had an option where it would add a "-n" after the seconds field (SS in above) and before my initials (-JAH in above). This way, if there multiple pictures within the same second, they would be sequentially numbered. This would avoid overwriting the first image with subsequent ones that would have the same name.
    I have not found a way within the Lightroom 3.4.1 naming capabilities to replicate this convention. Am I missing something, or does anyone have a workaround they have discovered.
    Thanks,
    Jim

    Thanks very much Lee. I will give it a shot.
    Regards,
    Jim

  • Sql loader control file question.

    I have a text file (t.txt) which contains a record types AAA and AAB to input fixed width data into a table (t) AAA_NO, AAA_TYPE, AAB_DESC.
    Control file (control_t) contents:
    load data infile '/path/t.txt'
    insert into table t
    when ((1:3) = 'AAA' )
    AAA_NO position (4:14) CHAR,
    AAA_TYPE postion (15:27) CHAR
    Works prefectly, but I need to add another set of data from the same t.txt file with record type AAB. I attempted to add this into the same control file:
    into table t
    when (1:3) = 'AAB'
    AAB_DESC position (28:128) CHAR
    It fails naturally. How would I include the addtional record type data into the same table after AAA_NO and AAA_TYPE have already been inserted? Do I need to include the AAA_NO in the second insert (AAB_DESC)? Should I create another temp table to store only the AAA_NO and AAB_DESC and then insert that data into table t after the loader is done? Or can this be completed in the same control file?

    Thanks again for the assistance, this is a tough one to fix. I am new to sqlloader.
    The temp table creation is causing some serious errors, so I am back to trying to fix sqlloader to get the job done. the apt.txt file contains records that each row of a new record starts with either 'APT' or 'ATT'. Here is the details of what I am trying to do.
    crtl file:
    load data
    infile '/path/apt.txt
    insert
    into table t_hld
    when ((1:3) = 'APT')
    apt_no position (4:14) CHAR,
    apt_type position (15:27) CHAR,
    apt_id position (28:31) CHAR
    The next section is the problem where I am inserting apt_sked into the same table t_hld as above because it has a different record qualifier its ATT and not APT.
    insert
    into table t_hld
    when (1:3) = 'ATT'
    apt_no position (4:14) CHAR,
    apt_sked position (16:126) CHAR
    The positions of the data using fixed is working, I can insert the apt_sked data into another temp table instead of t_hld and it works. It's just when I attempt to place the ATT apt_sked data into the t_hld table after the APT data has been loaded into the t_hld table....I tried APPEND instead of INSERT, but that does not work.
    The APT_NO's of the data are all the same- it is the qualifier for the records (Primary Key attribute- however I do not have it established since it is a temp table concept).
    I am stuck trying to get the data in the t_hld table, everything works when I do not try to put the ATT apt_sked data into t_hld- everything is valid. And placing the ATT apt_sked data into a different temp table works perfectly- but I can't find a way to create an update to t_hld from this temp table without errors. So I am trying to go back to sqlloader to get this done- any thoughts or questions?
    Thanks a billion!
    Shawn

  • Batch file question.

    I am not sure this is a place to post my question. but i don't know where to post it , so i decide to post here.
    yeah, I have a question about is that possible to creat a batch file to open the command prompt? like create a batch file and when you double click on it. it open up command prompt?
    if any one can supply me any website to learn the batch file. that would be really helpful. thank you so much

    @ECHO OFF
    REM This is a batch file that opens up a command line window
    cmd /KAs for the websites, here's one:
    www.google.com

  • Backing file question

    Very basic question
    I have three page --page 1 , page2 and page 3
    I have attached the below backing file to page2
    The println statement always says curPage to be page2 even when I click other pages (page1 and page3) I;m not clear why backing file is executed when page 1 and page 3 is clicked. any pointers?
    package age;
    import com.bea.netuix.servlets.controls.page.PageBackingContext;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class testPageBackingFile extends com.bea.netuix.servlets.controls.content.backing.AbstractJspBacking
    public boolean handlePostbackData(HttpServletRequest request, HttpServletResponse response) {
    PageBackingContext testContext = PageBackingContext.getPageBackingContext(request);
    String curPage = testContext.getLabel();
    system.out.println("curPage" + curPage);
    String newPage;
    try {
    Integer.parseInt(request.getParameter("age"));
    newPage = "page5";
    } catch (NumberFormatException nfe) {
    newPage = "page2";
    if(!curPage.equals(newPage)) {
    testContext.setupPageChangeEvent(newPage);
    return true;
    } else {
    return false;
    }

    Hello,
    Unless "Control Tree Optimization" is turned on, the handlePostbackData() method of every backing file in the whole desktop will generally be run, even if the page / book / portal the backing file is attached to is not being displayed.
    Kevin

Maybe you are looking for

  • How do I transfer itunes from one library to another on two different PC's?

    I have an ipod mini and have an itunes library on my home pc as well as my work pc. How can I transfer itunes from one to the other and keep them in synch?

  • Append front panel image to report

    I am using Labview V6.1 on a Win2000 PC 2.4 Ghz, 512MB RAM. I am trying to use the append front panel image to report VI to append a VI panel image to a report. I am using notifiers to synch the execution of the VI with the desired front panel an the

  • Cannot Export some pictures in Iphoto 09

    Hello! Somehow, I cannot export some of my pictures to folders,... I did work before. Anyone knows what to do? Thank you!

  • Detect attack man in the middle with IDS/IPS

    Hi, I have aip-ssm 20, IPS Version 7.0(6)E4 The ID  signature 7101, 7102, 7104 and 7105 is used for detecting attack arp poison. The sensor works as IDS in promiscuous mode. All traffic is fordwared to sensor. I have made attack man in the middle wit

  • User level authorization wise F4 help functions

    Dear All, We have a requirement i.e. User should be able to see only authorized entities when he/she press F4 on any field like Company code,Customer number,Sales Organization etc.. in any standard screen of SAP transaction codes. For Ex: we have 3 c