Com.oracle.cie.domain.security.external.ConfigSecurityException: oracle.security.opss.tools.lifecycle.LifecycleException: JPS-06514

2014-08-08 08:51:41,053 信息    [AWT-EventQueue-0] com.oracle.cie.wizard.help.DefaultHelpProvider - Initializing help implementation....
2014-08-08 08:51:41,412 信息    [AWT-EventQueue-0] com.oracle.cie.domain.info.DomainInformationImpl - initializing domaininformation object.
2014-08-08 08:51:41,490 信息    [AWT-EventQueue-0] com.oracle.cie.domain.DomainRegistryWrapper - need to initialize domainRegistrydocument object
2014-08-08 08:51:48,880 信息    [AWT-EventQueue-0] com.oracle.cie.domain.info.DomainInformationImpl - initializing domaininformation object.
2014-08-08 08:52:08,811 信息    [AWT-EventQueue-0] com.oracle.cie.domain.WLSTemplateBuilder - No config groups xml found in template
2014-08-08 08:52:09,092 信息    [AWT-EventQueue-0] com.oracle.cie.domain.WLSTemplateBuilder - No config groups xml found in template
2014-08-08 08:52:09,482 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.wsm.jrf version 12.1.2.0.0 to oracle.wsm.jrf_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:09,622 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.webservices.base version 12.1.2.0.0 to oracle.webservices.base_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:09,669 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Adding component reference
2014-08-08 08:52:09,872 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.sdp.messaging version 12.1.2.0.0 to oracle.sdp.messaging_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:09,903 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Adding component reference
2014-08-08 08:52:09,950 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.wsm.jrf version 12.1.2.0.0 to oracle.wsm.jrf_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:09,997 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.wls.core.app.server version 12.1.2.0.0 to oracle.wls.core.app.server_12.1.2.0.0/wlserver_ORACLE_HOME
2014-08-08 08:52:10,121 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.jrf.dms version 12.1.2.0.0 to oracle.jrf.dms_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:10,231 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.jrf.infra.fmw.wls version 12.1.2.0.0 to oracle.jrf.infra.fmw.wls_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:10,293 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Adding component reference
2014-08-08 08:52:10,496 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.wsm.console.core version 12.1.2.0.0 to oracle.wsm.console.core_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:10,621 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.webcenter.skin version 12.1.2.0.0 to oracle.webcenter.skin_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:10,761 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.webcenter.pageeditor version 12.1.2.0.0 to oracle.webcenter.pageeditor_12.1.2.0.0/oracle_common_ORACLE_HOME
2014-08-08 08:52:10,870 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.sysman.fmw.as version 12.1.2.0.0 to oracle.sysman.fmw.as_12.1.2.0.0/em_ORACLE_HOME
2014-08-08 08:52:10,979 信息    [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.sysman.fmw.core version 12.1.2.0.0 to oracle.sysman.fmw.core_12.1.2.0.0/em_ORACLE_HOME
2014-08-08 08:52:11,073 警告    [AWT-EventQueue-0] com.oracle.cie.domain.ConfigGroupsDeployer - Unable to locate JDBCSystemResource with the name DerbyLocalSvcTblDataSource
2014-08-08 08:57:06,092 信息    [59] oracle.security.jps.util.JpsUtil - JpsUtil: isAuditDisabled set to true
2014-08-08 08:57:07,980 警告    [59] oracle.security.jps.internal.keystore.file.FileKeyStoreManager - 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
2014-08-08 08:57:07,980 严重    [59] oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl - Error during configureOpssInDomain. Exception oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
2014-08-08 08:57:07,980 严重    [59] oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration - Error while processing initializeSubsystem. Exception oracle.security.opss.tools.lifecycle.LifecycleException: JPS-06514: 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
2014-08-08 08:57:07,980 严重    [Thread-17] com.oracle.cie.domain.TemplateImporter - 域扩展应用失败!
域位置: D:\Weblogic12.1.2\user_projects\domains\base_domain
原因: oracle.security.opss.tools.lifecycle.LifecycleException: JPS-06514: 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
异常错误:
oracle.security.opss.tools.lifecycle.LifecycleException: JPS-06514: 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
com.oracle.cie.domain.security.external.ConfigSecurityException: oracle.security.opss.tools.lifecycle.LifecycleException: JPS-06514: 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
at oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration.initializeSubsystem(OpssSecurityConfiguration.java:129)
at com.oracle.cie.domain.TemplateImporter.run(TemplateImporter.java:334)
at java.lang.Thread.run(Thread.java:745)
Caused by: oracle.security.opss.tools.lifecycle.LifecycleException: JPS-06514: 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.configureOpssInDomain(OpssDomainConfigImpl.java:316)
at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.initializeSubsystem(OpssDomainConfigImpl.java:164)
at oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration.initializeSubsystem(OpssSecurityConfiguration.java:126)
... 2 more
Caused by: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: 未能打开基于文件的密钥库。原因是oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:430)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:375)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:121)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.start(FileKeyStoreServiceImpl.java:899)
at oracle.security.jps.internal.keystore.FarmKeyStoreServiceImpl.initialize(FarmKeyStoreServiceImpl.java:115)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:175)
at oracle.security.jps.internal.tools.utility.keystore.JpsUtilKeyStoreImpl.initializeKeyStore(JpsUtilKeyStoreImpl.java:102)
at oracle.security.jps.internal.tools.utility.keystore.JpsUtilKeyStoreImpl.createKeyStore(JpsUtilKeyStoreImpl.java:116)
at oracle.security.jps.tools.utility.JpsUtilConfigurationTool.configureOpssInDomain(JpsUtilConfigurationTool.java:165)
at oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl.configureOpssInDomain(OpssDomainConfigImpl.java:312)
... 4 more
Caused by: oracle.security.jps.service.keystore.KeyStoreServiceException: 无法执行加密操作
at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:483)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decodeAliasWithEncryptedContent(CryptoUtil.java:560)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decryptPrivateKey(CryptoUtil.java:740)
at oracle.security.jps.internal.keystore.config.jaxb.adapters.PrivateKeyAdapter.unmarshal(PrivateKeyAdapter.java:63)
at oracle.security.jps.internal.keystore.config.jaxb.KeyPair.retrievePrivateKey(KeyPair.java:101)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.getDemoCAKey(KeyStoreServiceUtil.java:570)
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.getDemoCAKey(KeyStoreServiceUtil.java:542)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:418)
... 13 more
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:811)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:313)
at javax.crypto.Cipher.doFinal(Cipher.java:2087)
at oracle.security.jps.internal.keystore.util.CryptoUtil.decrypt(CryptoUtil.java:463)
... 20 more

Hi,
I want to check  did you start the any service before running the security store? Go with create option as you are created different domain for OPAM.
Let me know.
Regards,
Ari

Similar Messages

  • Oracle.jbo.domain.Number to int and back

    I have a database field that comes back as a oracle.jbo.domain.Number.
    I want to increment this by one so was trying to convert it to an int, apply the increment then turn it back into a number.
    2 questions :
    1) Can I increment oracle.jbo.domain.Number directly
    2) If not how to I turn it to an int and back
    Many thanks,
    Richard

    Convert oracle.jbo.domain.Number to int with the intValue method.
    oracle.jbo.domain.Number var;
    int intValue=var.intValue();Convert int to oracle.jbo.domain.Number with the Number (int value) constructor.
    int intValue;
    oracle.jbo.domain.Number var=new oracle.jbo.domain.Number(intValue);

  • BPEL Process Manager Oracle BPEL Domain Initialization Failed

    I was able to login into BPEL Process Manager without any error. Then I changed one entry in the oc4j-ra.xml file and restarted the BPEL server and started getting the error message.
    Oracle BPEL Domain Initialization Failed
    The Oracle BPEL Domain default did not initialize successfully. The following error was detected during startup. Please contact the Oracle Support
    Team if you are not able to resolve this problem.
    Reported Error:
    Cannot lookup jdbc datasource.
    The process domain was unable to lookup the TX datasource "eis/DB/DBConnection1".
    Please check that the machine hosting the datasource is physically connected to the network. Additionally check that the
    connection pool properties as defined in the application server startup
    properties are valid.
    I put back the original oc4j-ra.xml back in appropriate dir , restarted the BPEL server and database server still getting the same errro message listed above, It's urgent can anybody post the possible solution/suggestion experience.
    Thanks

    I opened the file under
    ./application-deployments/default/DbAdapter/oc4j-ra.xml and it has the following entry
    <connector-factory location="eis/DB/DBConnection1" connector-name="Database Adapter">
    <config-property name="xADataSourceName" value="jdbc/DBConnection1DataSource"/>
    <config-property name="dataSourceName" value="loc/DBConnection1DataSource"/>
    <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="true"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    I opened that file (
    ./connectors/DbAdapter/DbAdapter/META-INF/oc4j-ra.xml) and it has no entry for
    <connector-factory location="eis/DB/DBConnection1" connector-name="Database Adapter">
    <config-property name="xADataSourceName" value="jdbc/DBConnection1DataSource"/>
    <config-property name="dataSourceName" value="loc/DBConnection1DataSource"/>
    <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="true"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    So I entered this and restarted the BPEL PM but still no luck,
    Is anything else I will be looking in that file let me know

  • Convert java.sql.Date to oracle.jbo.domain.Date in oaf

    Hi,
    Need to dafault NeedBydate(i get in from query as below) to a messagelovinput and make it read only.
    i am facing some issue in converting from java.sql.Date to oracle.jbo.domain.Date.
    unable to figure out the problem.
    below is the sample code im trying to use.
    PreparedStatement ps=pageContext.createPreparedStatement("select sysdate from dual");
    ResultSet rs=ps.executeQuery();
    if (rs!=null && ps.next()
    java.sql.Date sqlDate= rs.getDate(1);
    oracle.jbo.domain.Date oracleDate = new oracle.jbo.domain.Date(sqlDate.getTime());
    vorow.setAttribute("Datevalue",oracleDate);
    this is my assumption : to set to UI i need date in format dd-Mon-yyyy.(am i correct? as to get that format i tried to use simple date format class but no use)
    when i tried to use simple date format :unpaseable date exception was raised.
    please guide.

    Hi,
    Why are you using this code???
    PreparedStatement ps=pageContext.createPreparedStatement("select sysdate from dual");
    ResultSet rs=ps.executeQuery();
    if (rs!=null && ps.next()
    java.sql.Date sqlDate= rs.getDate(1);
    oracle.jbo.domain.Date oracleDate = new oracle.jbo.domain.Date(sqlDate.getTime());
    you can get sysdate using this and then set it
    oracle.jbo.domain.Date currentDate = am.getOADBTransaction().getCurrentUserDate();
    java.text.SimpleDateFormat displayDateFormat = new java.text.SimpleDateFormat ("yyyy-MM-dd");
    String DateForm = displayDateFormat.format(currentDate.dateValue());
    oracle.jbo.domain.Date dateset = new oracle.jbo.domain.Date(DateForm);
    and then set the attribute
    vorow.setAttribute("Datevalue",dateset);
    Thanks,
    Gaurav

  • Oracle.jbo.domain.Date blows on NoSuchMethodError

    The following statement:
    oracle.jbo.domain.Date nowDate = new oracle.jbo.domain.Date(nowTime);
    has the following run time error when I try to run the main class in the production library:
    Exception in thread "main" java.lang.NoSuchMethodError
    at stkpackage1.test3.main(test3.java:147)
    Of course, it runs fine in JDeveloper on the same machine.
    The JDeveloper and the production environment appear to have the same version of Java: 1.3.1_04 (Linux).
    Any hints? Any way to debug?
    -- Ewin

    Check the classpath for the run in the IDE and verify that the path is same for the production setup. It seems either jbo.domain.Date or one of it's superclasses is missing in your classpath.

  • Converting string to oracle.jbo.domain.Date

    Hi,
    I am working in jdev 11.1.1.6
    I am getting date as string from UCM as string.I need to convert to oracle.jbo.domain.Date.How to achieve this

    u cn do by this
    DateFormat formatter;
    java.util.Date date;
    if(aDate!=null){
    try {
    formatter = new SimpleDateFormat("dd/MMM/yyyy");
    date = formatter.parse(aDate);
    java.sql.Date sqlDate = new java.sql.Date(date.getTime());
    oracle.jbo.domain.Date jboDate = new oracle.jbo.domain.Date(sqlDate);
    return jboDate;
    catch (ParseException e)
    e.printStackTrace();

  • How can i Convet String to oracle.jbo.domain.Date

    Hi all,
    How can i Convet String to oracle.jbo.domain.Date ?
    Pls help its urgent?
    Thanks
    Amit

    Hi
    Try this hope this helps.
            oracle.jbo.domain.Date current_date = null;
            oracle.jbo.domain.Date current_date1 = null;
            String date = null;
            try{
                PreparedStatement st = getDBTransaction().createPreparedStatement("select trunc(sysdate) from dual",1);
                ResultSet result = st.executeQuery();
                while (result.next()) {
                   date = result.getString(1);
                   System.out.println("Sysdate:"+date);
                current_date = current_date1.toDate(date);
                System.out.println("Date Format:"+current_date);
            }catch(SQLException sqle){
                sqle.printStackTrace();
            }

  • Cross Domain user security Authentication in Oracle Weblogic Server 10.3.3

    Now i have configure the cross domain user configuration in the oracle weblogic 10.3.3 server. But i am not able to configure.
    I have mentioned the below oracle document to configure the cross domain configuration.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/secmanage/domain.html#domain_interop
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13752/toc.htm#INTRO120
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e13952/taskhelp/security/EnableTrustBetweenDomains.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/ConsoleHelp/taskhelp/security/ConfigureConnectionFiltering.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/security/con_filtr.html#wp1030656
    Regards,
    S.Vinoth Babu

    sorry,wrong forum
    move to Weblogic Server Section
    Edited by: inchlin on Apr 1, 2009 9:39 AM

  • Cannot convert type class java.lang.String to class oracle.jbo.domain.Clob

    Cannot convert type class java.lang.String to class oracle.jbo.domain.ClobDomain.
    Using ADF Business Components I have a JSFF page fragment with an ADF form based on a table with has a column of type CLOB. The data is retrieved from the database and displayed correctly but when any field is changed and submitted the above error occurs. I have just used the drag and drop technique to create the ADF form with a submit button, am I missing a step?
    I am using the production release of Jdeveloper11G

    Reproduced and filed bug# 7487124
    The workaround is to add a custom converter class to your ViewController project like this
    package oow2008.view;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import oracle.jbo.domain.ClobDomain;
    import oracle.jbo.domain.DataCreationException;
    public class ClobConverter implements Converter {
         public Object getAsObject(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   String string) {
           try {
             return string != null ? new ClobDomain(string) : null;
           } catch (DataCreationException dce) {
             dce.setAppendCodes(false);
             FacesMessage fm =
               new FacesMessage(FacesMessage.SEVERITY_ERROR,
                                "Invalid Clob Value",
                                dce.getMessage());
             throw new ConverterException(fm);
         public String getAsString(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   Object object) {
           return object != null ?
                  object.toString() :
                  null;
    }then to register the converter in faces-config.xml like this
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
      <application>
        <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
      </application>
      <converter>
        <converter-id>clobConverter</converter-id>
        <converter-class>oow2008.view.ClobConverter</converter-class>
      </converter>
    </faces-config>then reference this converter in the field for the ClobDomain value like this
              <af:inputText value="#{bindings.Description.inputValue}"
                            label="#{bindings.Description.hints.label}"
                            required="#{bindings.Description.hints.mandatory}"
                            columns="40"
                            maximumLength="#{bindings.Description.hints.precision}"
                            shortDesc="#{bindings.Description.hints.tooltip}"
                            wrap="soft" rows="10">
                <f:validator binding="#{bindings.Description.validator}"/>
                <f:converter converterId="clobConverter"/>
              </af:inputText>

  • Application is not working when changing of oracle server domain name

    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.

    Mohd khalid wrote:
    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.I am really confused that what's not working? What I have understood is that you recreated the EM repository. So where does "some of the future not working like date,etc." come into it? Are you checking date from EM ? Which application is not working, your application or EM or both or somethingn else? Tell us the complete version, error information and also post the output of
    emctl status dbconsoleHTH
    Aman....

  • BI Publisher with Oracle e-Business Suite 11i in EBS security mode

    Seems I submitted below in wrong forums earlier so posing to correct one now. Appreciate any help.
    Hi All,
    I want to configure BI Publisher that comes as a part of OBIEE in Oracle E-Business Suite security mode. My Oracle E-Business Suite 11i runs on 3 node RAC database and 3 node apps tier/cm tier. As per configuration guide, I changed security mode in BIP to 'Oracle E-Business' and uploaded DBC file from E-business suite Web&Forms tier. In DBC file TWO_TASK parameter has value of test_806_BALANCE which is just an alias in tnsnames.ora for load balancing. Now when I go to BI publisher and click on 'Roles and Permission' tab in security center, it gives me 500 Internal server error.
    But if I change this TWO_TASK value to any particular RAC instance sid, I am able to see all responsibility in Roles and Permission tab. This seems that BI Publisher makes jdbc connection url to database on the fly by reading DB_HOST, dB_Port and TWO_TASK parametes from dbc file and due to this my BI Publisher is single point of failure if the RAC instance goes down which I mentioned in DBC file. Even though E-Business Suite is in HA, BI publisher is not taking advantage of this HA db.
    Any one has idea how to over come this situation.

    You can try for a luck by posting the thread in BI Publisher Section of this Forum..

  • How to connect to oracle ebs from an external software

    Hi!
    I want to develop an integration for oracle EBS. Therefor I'm looking for ways how to connect to the EBS and for a repository of functions which can be called from an external program. I'm not quite sure if this is the right place to ask but I could not find anything yet so I'm trying here.
    Are there any standard connectors for the EBS provided by Oracle?
    Thanks,
    Konrad

    Oracle Applications Architecture is a framework for multi-tiered, distributed computing that supports Oracle Applications products. In this model, various servers are distributed among multiple levels/tiers as follows:
    - The Desktop Tier --> Web browser with Jinitiator or Sun JRE
    - The Application Tier --> Web, Forms, Reports, Admin, and Concurrent servers
    - The Database Tier --> Oracle Enterprise Edition Database
    The Application tier is the layer which is responsible for:
    - Hosting the various servers that process the business logic
    - Managing communication between the desktop tier and the database tier
    So, in order to connect to the database, you can either access the application tier, or connect directly to the database. I do not think it is possible to communicate with the application services from some other application. Therefore, you would need to connect to the database directly which can be achieved as explained in my previous reply. There is no such API which can be used to open/close a database connection. Oracle E-Business Suite is just a database with number of schemas and objects which are tightly integrated.
    More details about Oracle E-Business Architecture can be found in:
    Oracle Applications Concepts
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf

  • Security vulnerability in Oracle 8.1.5

    The following email was forwarded to me about possible security vulnerabilities.
    I am looking for verification from both Oracle and the user comunity.
    ================================================================================
    [ Hackerslab bug_paper ] Linux ORACLE 8.1.5 vulnerability
    ================================================================================
    File : Oracle 8.1.5
    SYSTEM : LINUX
    Tested by RedHat Linux 6.2
    INFO :
    There are two security vulnerability in Oracle.
    1. buffer overflow
    It is possible to create a buffer overflow vulnerability using "ORACLE_HOME",
    one of the environmental value of Oracle.
    Oracle applications that are vulnerable to buffer overflow are as follow :
    - names
    - namesctl
    - onrsd
    - osslogin
    - tnslsnr
    - tnsping
    - trcasst
    - trcroute
    Thease applications allow an attacker to excute a buffer overflow exploit.
    2. Log-files created
    When a user excutes one of Oracle applications such as names, oracle or tnslsnr,
    following log files are created.
    names
    ======
    -rw-rw-r-- 1 oracle dba 0 Oct 20 01:45 ckpcch.ora
    -rw-rw-r-- 1 oracle dba 428 Oct 20 01:45 ckpreg.ora
    -rw-rw-r-- 1 oracle dba 950 Oct 20 01:45 names.log
    oracle
    ======
    -rw-rw---- 1 oracle dba 616 Oct 20 05:14 ora_[running pid].trc
    tnslsnr
    =======
    -rw-rw-r-- 1 oracle dba 2182176 Oct 20 2000 listener.log
    SOLUTION
    Contact your vendor for a patch or close setuid permission.
    # su - oracle
    $ cd /oracle_8.1.5_install_directory/bin
    $ chmod a-s names namesctl onrsd osslogin tnslsnr tnsping trcasst trcroute
    ==-------------------------------------------------------------------------------==
    * ** ** * [email protected] [yong-jun, kim]
    * ** ** * [ [URL=http://www.hackerslab.org]http://www.hackerslab.org ]
    ******** HACKERSLAB (C) since 1999
    ==-------------------------------------------------------------------------------==
    Oracle 8.1.5 exploit
    -by loveyou
    offset value : -500 ~ +500
    #include <stdio.h>
    #include <stdlib.h>
    #define BUFFER 800
    #define NOP 0x90
    #define PATH "/hackerslab/loveyou/oracle/8.1.5/bin/names"
    char shellcode[] =
    /* - K2 - */
    /* main: */
    "\xeb\x1d" /* jmp callz */
    /* start: */
    "\x5e" /* popl %esi */
    "\x29\xc0" /* subl %eax, %eax */
    "\x88\x46\x07" /* movb %al, 0x07(%esi) */
    "\x89\x46\x0c" /* movl %eax, 0x0c(%esi) */
    "\x89\x76\x08" /* movl %esi, 0x08(%esi) */
    "\xb0\x0b" /* movb $0x0b, %al */
    "\x87\xf3" /* xchgl %esi, %ebx */
    "\x8d\x4b\x08" /* leal 0x08(%ebx), %ecx */
    "\x8d\x53\x0c" /* leal 0x0c(%ebx), %edx */
    "\xcd\x80" /* int $0x80 */
    "\x29\xc0" /* subl %eax, %eax */
    "\x40" /* incl %eax */
    "\xcd\x80" /* int $0x80 */
    /* callz: */
    "\xe8\xde\xff\xff\xff" /* call start */
    "/bin/sh";
    unsigned long getesp(void)
    __asm__("movl %esp,%eax");
    int main(int argc, char *argv[])
    char buff, ptr,binary[120];
    long *addr_ptr, addr;
    int bsize=BUFFER;
    int i,offset;
    offset = 0 ;
    if ( argc > 1 ) offset = atoi(argv[1]);
    buff = malloc(bsize);
    addr = getesp() - 5933 - offset;
    ptr = buff;
    addr_ptr = (long *) ptr;
    for (i = 0; i < bsize; i+=4)
    *(addr_ptr++) = addr;
    memset(buff,bsize/2,NOP);
    ptr = buff + ((bsize/2) - (strlen(shellcode)/2));
    for (i = 0; i < strlen(shellcode); i++)
    *(ptr++) = shellcode;
    buff[bsize - 1] = '\0';
    setenv("ORACLE_HOME",buff,1);
    printf("[ offset:%d buffer=%d ret:0x%x ]\n",
    offset,strlen(buff),addr);
    system(PATH);
    null

    Hi Peter,
    I was told that Oracle8 and Oracle8i Parallel Server on IBM
    RS/6000 AIX comes with its own Lock Manager and this LM does not
    rely on the Cluster Lock Manager (cllockd) of HACMP for AIX, as
    Oracle7 Parallel Server on normal (non-SP) RS/6000 does.
    (Oracle7 Parallel Server on RS/6000 SP didn't use the cllockd of
    HACMP but came with a special LM.)
    Cluster-wide Filesystems are not used for OPS on Unix, as far as
    I know Unix (AIX, Solaris). All Data-, Log- and Control-Files
    must reside on concurrently (!) accessible Raw-Devices (e.g. Raw
    Logical Volumes on AIX).
    So I guess it should be possible for Oracle to port OPS to Linux.
    No special Cluster-Services would be needed for OPS on Linux,
    just a shared SCSI-bus (e.g.) and a fast interconnect (e.g.
    100BaseT).
    Peter Sechser (guest) wrote:
    : Dave,
    : Parallel Server needs some cluster services in order to
    : communicate between several nodes. So, the operating system has
    : to offer things like inter-node communication services,
    : cluster-wide lock communication services and a clusterwide
    : filesystem. I'm not quite sure, to what degree Linux
    offers/will
    : offer these services.
    : Peter
    null

  • How to convert String (dd-MMM-yyyy) to oracle.jbo.domain.Date

    Hi
    Could you please tell how do I convert String of date in format dd-MM-yyyy to ADF date? Please show me some sample.
    Thanks

    http://javaalmanac.com/egs/java.text/FormatDateDef.html
    Once you have a java.util.Date you can convert it to oracle.jbo.domain.Date. (see http://www.fifkredit.com/bc4jdoc/rt/oracle/jbo/domain/Date.html)

  • Urgent: oracle.jbo.domain.Number Bug (continued)

    Dear Shailesh(JDeveloper Team):
    To catch your attention, I posted the topic here again:
    [original topic]
    We are developing a BC4J application for our US customer. Our web server (iAS) and database (Oracle 8i) are installed on RS/6000, AIX 4.3.3
    When we try to set a Number type field value (Number is the only type in Oracle database to stand for a number, either a float field or sequence number). On AIX iAS, if the value is integer, larger than 100 and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system(ont our jsp, web bean, but handled by low level classes) will automatically add two zeroes at the end of the number before insert to database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500.
    It is incorrect! On the other hand, when we try to retrieve value from a field which type is Number, if the value is a integer but larger than 100, and is not multiple of 100 ( such as 123, 112, 5676, 43435 ), the system will automatically add two zeroes at the end of the number after got from database table. For example:
    123---->12300
    112---->11200
    5676--->567600
    43435-->4343500
    We check the xml file of the BC4J, Number field type in the middle-tier is denoted as oracl.jbo.domain.Number, so we wrote a program (JSP) without accessing database, like this one:
    <%
    for (int i=0 ; i<1000; i++) {
    %>
    <p> <%=new oracle.jbo.domain.Number(i).toString() %></p>
    <%}%
    The program runs correctly in JDeveloper developing environment on NT workstation( in the developing environment, NT mimic a local virtual middle-tier):
    0
    1
    99
    100
    101
    598
    599
    600
    999
    But after we deployed the jsp to iAS on RS/6000 and browse it, the output result is very inconceivable:
    0
    1
    99
    100
    10100 (Should be 101)
    59800 (Should be 598)
    59900 (Should be 599)
    600
    99900 (Should be 999)
    We checked all through the deployed Jar files on iAS and the oracl.jbo.domain.Number class, we found that the class is extended from oracle.sql.NUMBER, and the toString method is also inherited from oracle.sql.NUMBER.
    We even test below simple jsp program using oracl.jbo.domain.Number type:
    <%@ page contentType="text/html" autoFlush="true" import="java.lang.*,LocaMotion.*"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String strI="123";
    %>
    <p> <%=new oracle.jbo.domain.Number(strI)%></p>
    </BODY>
    </HTML>
    In JDeveloper developing environment, it prints 123 in browser, but when deployed to iAS, it prints 12300.
    Why the same Java class has different behavior under different OS (NT and RS/6000)? We think it is a bug on implementation of oracle.sql.NUMBER. We assume this is caused by the machine CPU register length: NT: 32 bits, RS/6000: 64 bits.
    This bug must be fixed to ensure the BC4J application workable. Would you please resolve this problem for us at your time?
    We are eager to waiting for your answer, as we are in FVT phase, our customer is BITCO enterprises inc. in Virginia.
    Thanks,
    [Answer from Shailesh(JDeveloper Team)]:
    I'd suspect this is an issue in oracle.sql.NUMBER implementation. Could you help us by verifying that oracle.sql.NUMBER.toString() also reproduces the same problem. A potential fix I could think of is to use the jdbc libraries that come with RS/6000-AIX version of the database.
    [Our test result]:
    We test the oracle.sql.NUMBER.toString() method, it also reproduces the same problem.
    What's the "jdbc libraries that come with RS/6000-AIX version of the database"?
    ,who offer it? IBM or Oracle. Where could I find it and how to use it? Will oracle.sql.NUMBER problem for AIX fixed?
    null

    As a follow up , could you tell the specific database version of Oracle8i you are using.(i.e 8.1.6 or 8.1.7/ also if you have applied any patches)
    . Just wondering if you had tried a simple JDBC program (without BC4J) (eg: a command line program) which uses oracle.sql.Number and produced the same erroneous results.
    appericiate if you could provide any additional information.
    thanks and best regards
    raghu

Maybe you are looking for

  • Urgent help needed in Java Strings

    Hi guys/gals.. I want to know how to i Capitalize onlt the first Alphabet of a String. Eg if i hav the string "swing". i need it as "Swing" ie the first alpha shud be capitalized. How to do tat. The Java method of toUpperCase wud be of now use since

  • How to Find the Index of Element in the XMLListCollection

    Hi, I have a burning question here, and I wonder if anyone has tried to do this. I have an XML file that is read into the xml collection, and for each of the names that appear in the file (pre-declared somewhere else) , I tried to remove the element.

  • DVD connections act differently in DVD Player than in simulator

    Before I burn my DVD I check all of the connections. When I play it in a DVD Player, sometimes the same buttons do different things, but when I come back to the project everything is correct. I have to have the master for my client in two days, they

  • Looking at Results of Database queries in Policy Studio

    When using the "Retrieve from or write to database" filter in PolicyStudio, the query results can be stored into a user attribute list (attribute.lookup.list). When we configure this, what keys do we use to query the Hashmap so that we can get result

  • Single-row refresh in ADF tables, with PPR

    Hello everybody. I have an application in JDeveloper 11gR2 environment. Here are my requirements: 1. I have a table, each cell is an input text; 2. Some cell must be rendered differently depending on a specific key-field (for example, input or output