Adjusting Oracle Parameters in pure Java DB

Hi people,
I´ve installed a java instance with oracle DB. In the post-installation steps, there are the oracle adjusting parameters. For to execute the script for view the several parameters in this database it´s only possible via sqlplus?
More thanks

But I´ve executed the script in the sqlplus with the properties indicated in the note
SQLPLUS
To ensure an acceptable output with SQLPLUS, execute the following SQLPLUS commands in advance
set linesize 360
set pagesize 1000
COLUMN name             FORMAT  a40
COLUMN set              FORMAT  a8
COLUMN remark          FORMAT   a60
COLUMN recommendation  FORMAT   a120
COLUMN is_value        FORMAT   a50
COLUMN should_be_value  FORMAT   a50
But the output is cutted and I cannot see the previous parameters. I added more pagesize but doesn´t work

Similar Messages

  • How to run a pure java application client with ear deployed on 9ias

    Hello all,
    We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
    We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
    java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
    java.naming.security.principal=test
    java.naming.security.credentials=test
    Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
    Thanks,
    9ias user

    Refer OpenEJB User - Oracle ADF Essential and TomEE+
    Also refer Bug in tomee 1.5.2. Fixed in 1.6.
    https://issues.apache.org/jira/browse/TOMEE-756

  • Problem in calling Oracle stored procedure from Java.

    I am trying to invoke the Oracle stored procedure from Java. The procedure does not take any parameters and does not return anything. If I call it from SQL prompt it is working perfectly. I am calling it in my program as follows.
    callable_stmt=con.prepareCall("{call pkg_name.proc_name()}");
    callable_stmt.execute();
    The problem is the control-of-flow is getting strucked in the second line I wrote. It is not giving any error also.
    Please clarify me what's wrong with my code?
    Seenu.

    And how long does the stored procedure take to run from your client machine when running it via sqlplus?

  • The client is a pure-Java client, how to invoke session bean in oc4j server

    I WOULD LIKE TO INVOKE MY SESSION BEAN FROM MY STRUT WEB PROJECT AS A PURE JAVA CLIENT . I SETUP THE JNDI INITIAL CONTEXT PROPERTY BUT I HAVE NO IDEA TO WHERE I SHALL PUT MY application-client.xml and orion-application-client.xml. MY APPLICATION THROW EXCEPTION
    NamingException: StoreEJB not found
    IF YOU ANY EXAMPLE PLEASE SEND ME
    THIS IS MY CLIENT PROGRAME
    package ejbs;
    import java.io.*;
    import javax.ejb.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.naming.*;
    import javax.rmi.*;
    import java.rmi.*;
    import java.util.*;
    public class StrutInt {
         * @param args
         public static void main(String[] args) {
              //System.out.print("The application Checkup");
              try
                   Hashtable env = new Hashtable();
                   env.put (Context.INITIAL_CONTEXT_FACTORY,
                   "oracle.j2ee.naming.ApplicationClientInitialContextFactory");
                   env.put (Context.SECURITY_PRINCIPAL, "oc4jadmin");
                   env.put (Context.SECURITY_CREDENTIALS, "admin");
                   //env.put (Context.PROVIDER_URL, "http://localhost:8888");
                   env.put (Context.PROVIDER_URL, "ormi://localhost:23791/EjbIntegrationEAR");
                   env.put ("dedicated.rmicontext", "true"); // for 9.0.2.1 and above
                   Context context = new InitialContext (env);
                   System.out.println("work up to this");
              Object homeObject =
    context.lookup("StoreEJB");
              System.out.print("Hi Integration");
         StoreHome storeHome = (StoreHome) PortableRemoteObject
                   .narrow(homeObject, StoreHome.class);
         Store exa= storeHome.create();
              String s =exa.foo("The foul guy");
              System.out.print(s);
         catch(NamingException e1) {
         System.err.println("NamingException: " + e1.getMessage());
         catch(RemoteException e2) {
         System.err.println("RemoteException: " + e2.getMessage());
         catch(CreateException e3) {
         System.err.println("FinderException: " + e3.getMessage());
         catch(Exception e4) {
         System.err.println("FinderException: " + e4.getMessage());
         }

    Create the object of InitialContest class. Then pass in hashTable put WLContextFactory.
    then lookup to the sessionJNDI. then call the create method u will get the remote object, from the remote object u can call to the business method

  • How to adjust Fedora Parameters

    I'm trying to install the oracle 11g database (I believe this is the lastest) on a fedora 17 on virtual box (latest version) on Windows 7 and I'm bumping into the following limits:
    (1) Hard Limit: maximum open file descriptors: exected value 65536 Actual value 4096.
    How do I adjust this parameter?
    (2)Hard Limit: maximum user processes: Expected value: 16384 Actual value: 11670.
    How do I adjust this parameter?
    (3) Soft Limit: maximum user processes: Expected Value: 2047 Actual value 1024.
    What is the difference between this and the last one? How do I adust this?
    (4) OS Kernal Parameter: semopm expected value 100, actual value :32
    How do I adjust this?
    (5) OS Kernel Parameter shmmax Expected value 536870912, actual value 33554432.
    How do I adjust this?
    (6) OS kernel parameter "file-max" Expected value 6815744, Actual value 149348
    (7) OS Kernel Parameter ip_local_port_range expected value: 9000 & 65500 Actual value 32768 & 61000
    (8) OS kernel parameter rmem_default, expected value: 262144, actual value 163840
    (9) OS kernal parameter rmem_max, expected value 4194304, actual value 131071
    (10) OS Kernal Parameter: wmem_default, expected value: 262144, actual value : 163840
    (11) OS Kernel Parameter: wmem_max, expected value 1048576, actual value 131071
    (12) OS Kernel parameter: aio-max-nr: expected value: 1048576, actual value 65536
    (13) Package binutils-2.15.92.0.2, actual value: missing
    (14) Package gcc-3.4.6, actual value: missing
    (15) A dozen other missing packages... Can multiple version versions of the same package (such as bintutils) co-exist and satisfy oracle? If not, do I have to uninstall the old one before installing the newer (or older) version? I assume I can do this with yum?
    I received a nice response at [http://forums.fedoraforum.org/showthread.php?p=1601338#post1601338] and I tried looking in the welcome.html file which had links to other documents that I searched. However, I could not find the instructions for adjusting these parameters in fedora (or any other OS). Can some one point me (more precisely) to the instructions for adjusting these parameters?
    Thanks
    Siegfried

    Hi;
    1. Fedora is not certified platform
    2. Please download&use OEL 5.x for your oracle installation.
    3. If you insist to install oracle on not certified platfrom fedora 17. Please see Tim's blog:
    http://www.oracle-base.com/blog/2012/05/30/fedora-17-and-oracle-11gr2/
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Can clock synchronization be implemented by pure java?

    I want to build a simple distributed application, whose main purpose is to synchronize the local system clock in the slave JVM with the clock in the master JVM. Can it be implemented by pure java? Or I have to use JNI to implement it?
    And although the application is mainly used in LAN, the delay of transferring the data of time is small, but is there any algorithm to minimize the difference of system clock between the master and the slave?

    No. You can not synchronize the System Clock (clock) in 100% Pure Java.
    Using The Network Time Protocol (NTP) and Java, you can access the current time from many servers around the world.
    The problem here is that you can't change the clock through Java without an interface to the actaul clock.
    Since the clock is a native component (application, service, or utility) you can't change it while being 100% Pure Java.
    That does not mean that you can't do it at all. It just will not be Pure Java. You can, however, test to see what system you are on and then adjust the method used.
    On a Windows system, the clock is set by the Control Panel applet "Date and Time." This applet can be updated using the Command Driven Interface (CDI), also known as a Command Prompt. To do this you can use the Java object Process. The parameter, a String value, should point to the location of command prompt. Then add a PrintStream object to the Process object. Send the following line (using PrintStream.println()) - "time" and "date"
    To update the time use the following line:
    time [ time ]
    Use the time format: hh:mm:sec
    To update the date use the following line:
    date [ date ]
    Use the date format: mm-dd-yy
    This will work on Windows machines (3.x, 95, 98, Me, NT, XP) MS-DOS (all versions with Date/Time capability).

  • Extract Oracle Parameters in Solaris Environment

    Hi,
    i have a requirements to write a program that will discover some of the oracle parameters. they are SID, ORACLE_HOME, Listener Port in any machine. i managed to get the oracle_home from /var/opt/oracle/oratab, SID from this command ps -fu oracle|grep pmon
    (Thanx Google ;) ) However I could not find the listener port because listener.ora is not placed in one place (some time in /var/opt/oracle and some time in ORACLE_HOME/network/admin). So is there any way to get the listener Port of an instance without using listener.ora and is there any easier way to get all the above parameters
    Also, is there anyway to find the current installed Oracle Version without using sqlplus or using DatabaseMetaData class in java
    Thanx in advance

    Hi,
    >>So is there any way to get the listener Port of an instance without using listener.ora
    oracle@icaro:~> netstat -nalp|grep LISTEN|grep tcp|grep tnslsnr
    (Not all processes could be identified, non-owned process info
    will not be shown, you would have to be root to see it all.)
    tcp        0      0 0.0.0.0:1521            0.0.0.0:*               LISTEN      3517/tnslsnr      Cheers

  • Mapviewer pure Java tool?

    Hello all,
    As a general question:
    I've read that,
    "Since MapViewer is a pure Java tool, it can run on any platform where Java is available."
    Does this mean I could run mapviewer on Tomcat instead of OC4J?

    Great question. Although it's technically possible to run MapViewer on a non-Oracle J2EE container (others have certainly done this), MapViewer is licensed with Oracle Application Server. Hence, even in a Tomcat environment, you would be legally obligated to purchase licenses of Oracle Application Server to run MapViewer in production. That said, as far as support streams go, Oracle can really only support MapViewer installations and configurations on supported platforms. So, if you have installation/configuration issues while running on a non-Oracle platform, you would most likely have to find your own answers from chat boards and forums. Hope this helps.
    -Justin

  • Configure forms for running with pure java

    I know the formsweb.cgf file is where I can set this, but does someone has it
    workng with pure java (without jinitiator) and has any problem navigating between fields?
    ths is my java section in formsweb.cfg
    [appjava]
    pageTitle=Forms Version 10.1.2 Java
    form=INIT.fmx
    envFile=javaenv.env
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTMLie=webutiljpi.htm
    webUtilArchive=webutil.jar,jacob.jar
    archive=gif.jar,frmall.jar, laf_1012.jar
    lookAndFeel=oracle
    imageBase=codeBase
    separateFrame=true
    networkRetries=30
    and javaenv.env file (without commented lines)
    ORACLE_HOME=/opt/oracle/ias
    FORMS_PATH=/opt/legadmi/formas:/opt/legadmi/pll:/opt/oracle/ias/forms:/opt/legadmi/webutil/forms
    WEBUTIL_CONFIG=/opt/legadmi/webutil/server/webutil.cfg
    FORMS_RESTRICT_ENTER_QUERY=FALSE
    CLASSPATH=/opt/oracle/ias/forms/java/laf_1012.jar:/opt/oracle/ias/forms/java/gif.jar
    PATH=/opt/oracle/ias/bin
    GRAPHICS60_PATH=
    LD_LIBRARY_PATH=/opt/oracle/ias/lib:/opt/oracle/ias/jdk/jre/lib/i386:/opt/oracle/ias/jdk/jre/lib/i386/server
    it starts java but in some forms i cant navigate between fields,
    any help?
    thanks!

    Solution: migrated to 11g

  • How to read the content of ms-word file use pure java???

    how to read the content of ms-word file use pure java???

    hi,
    check this: http://jakarta.apache.org/poi/

  • Oracle Spatial 10g R2 Java API

    Hi All,
    I have a JAVA tool said to be written for Oracle Spatial 10g R2 Java API which uses for example the class oracle.spatial.georaster.JGeoRaster. I have to port it to 11g R2. The tool is definitely written for an earlier version, because compilation fails on for example JGeoRaster.getProperties() method which is not present in the new API. For this new API I have a fine Javadoc documentation here:
    http://download-llnw.oracle.com/docs/html/E11829_01/
    I have searched for a similar one for 10g R2 but found only like
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
    which misses the oracle.spatial.georaster package. Is there such a package and if so, where can I find docs for it?
    thank you in advance, best regards: Balázs Bámer

    Hi Balázs,
    the GeoRaster Java API was first released with 11gR2. Your first link points to that, or this link:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11829/toc.htm
    your second link points to 10g Oracle Spatial Java API, which doesn't include any GeoRaster related API. your tool might have been developed based on the old INTERNAL georaster jar file, which is not supposed to be used by your java program. But if you do want the api doc, you can run javadoc or jdeveloper to find out the api from the old sdogr.jar file.
    jeffrey

  • How do I get unicode characters out of an oracle.xdb.XMLType in Java?

    The subject says it all. Something that should be simple and error free. Here's the code...
    String xml = new String("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<x>\u2026</x>\n");
    XMLType xmlType = new XMLType(conn, xml);
    conn is an oci8 connection.
    How do I get the original string back out of xmlType? I've tried xmlType.getClobVal() and xmlType.getString() but these change my \u2026 to 191 (question mark). I've tried xmlType.getBlobVal(CharacterSet.UNICODE_2_CHARSET).getBytes() (and substituted CharacterSet.UNICODE_2_CHARSET with a number of different CharacterSet values), but while the unicode characters are encoded correctly the blob returned has two bytes cut off the end for every unicode character contained in the original string.
    I just need one method that actually works.
    I'm using Oracle release 11.1.0.7.0. I'd mention NLS_LANG and file.encoding, but I'm setting the PrintStream I'm using for output explicitly to UTF-8 so these shouldn't, I think, have any bearing on the question.
    Thanks for your time.
    Stryder, aka Ralph

    I created analogic test case, and executed it with DB 11.1.0.7 (Linux x86), which seems to work fine.
    Please refer to the execution procedure below:
    * I used AL32UTF8 database.
    1. Create simple test case by executing the following SQL script from SQL*Plus:
    connect / as sysdba
    create user testxml identified by testxml;
    grant connect, resource to testxml;
    connect testxml/testxml
    create table testtab (xml xmltype) ;
    insert into testtab values (xmltype('<?xml version="1.0" encoding="UTF-8"?>'||chr(10)||'<x>'||unistr('\2026')||'</x>'||chr(10)));
    -- chr(10) is a linefeed code.
    commit;
    2. Create QueryXMLType.java as follows:
    import java.sql.*;
    import oracle.sql.*;
    import oracle.jdbc.*;
    import oracle.xdb.XMLType;
    import java.util.*;
    public class QueryXMLType
         public static void main(String[] args) throws Exception, SQLException
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              OracleConnection conn = (OracleConnection) DriverManager.getConnection("jdbc:oracle:oci8:@localhost:1521:orcl", "testxml", "testxml");
              OraclePreparedStatement stmt = (OraclePreparedStatement)conn.prepareStatement("select xml from testtab");
              ResultSet rs = stmt.executeQuery();
              OracleResultSet orset = (OracleResultSet) rs;
              while (rs.next())
                   XMLType xml = XMLType.createXML(orset.getOPAQUE(1));
                   System.out.println(xml.getStringVal());
              rs.close();
              stmt.close();
    3. Compile QueryXMLType.java and execute QueryXMLType.class as follows:
    export PATH=$ORACLE_HOME/jdk/bin:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export CLASSPATH=.:$ORACLE_HOME/jdbc/lib/ojdbc5.jar:$ORACLE_HOME/jlib/orai18n.jar:$ORACLE_HOME/rdbms/jlib/xdb.jar:$ORACLE_HOME/lib/xmlparserv2.jar
    javac QueryXMLType.java
    java QueryXMLType
    -> Then you will see U+2026 character (horizontal ellipsis) is properly output.
    My Java code came from "Oracle XML DB Developer's Guide 11g Release 1 (11.1) Part Number B28369-04" with some modification of:
    - Example 14-1 XMLType Java: Using JDBC to Query an XMLType Table
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb11jav.htm#i1033914
    and
    - Example 18-23 Using XQuery with JDBC
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb_xquery.htm#CBAEEJDE

  • ORACLE XML PARSER FOR JAVA FOR AIX

    Hi people!
    I'm looking for the Oracle XML Parser for Java 9.0.2.0.0C, my 9iAS is BI Installation 9.0.2.3, where can I get it? In the Downloads Section there is only the version for 10g, and the existing versions for 9i are not for AIX (my OS is AIX 5.2L).
    Thanks.

    Thanks for your help, I navigate through this link and, even it shows a table where appears the release for AIX (9.2.0.6.0), when I get to http://www.oracle.com/technology/tech/xml/xdk/software/prod/utilsoft_java.htm
    it shows me only downloads for Sun, Linux and HP-UX, but not for AIX.
    Has the version for AIX being deprecated or something like that?

  • How to pass input parameter (parameterized mapping) to java mapping program

    Hello
    I have a question about the parameterized mapping with Java (PI 7.1).
    In the operation mapping (using Java-class) I defined a inputer parameter (string). I think I am supposed to retrieved the value using:
                    arg0.getInputParameters().getString("myInputParameterName");
    where arg0 is the TransformationInput object.
    However I am not able to get the value, I got runtime exception saying the inputer parameter doesn't exit.
    Then I figured out maybe I need to bind the OM input parameter to Java mapping parameter, just like in case of message mapping, you need to bind OM parameter to MM parameter. However there is no way to define input parameter for the java mapping program.
    Anybody has done java mapping with parameterized mapping?
    Anybody can give any hint for this?
    Thanks
    Jayson

    InputParameters params = container.getInputParameters();
    DynamicConfiguration conf = (DynamicConfiguration) params.getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    Edited by: Anand on Dec 10, 2008 4:13 PM

  • Passing parameters to a java portlet from pl/sql proc

    hi !
    I try to build a link with a pl/sql procedure to a portal page which contains a java portlet. this link should pass a non qualified parameter to the page ... I try to get this parameter doing so : pr.getParameter("myparam") but nothing's work ...
    Can someone help me??
    thanks

    not exactly what you wanted but ingredients can be found at
    - JPublisher's docuemntation (especially "Type Mapping Support Through PL/SQL Conversion Functions")
    - http://otn.oracle.com/sample_code/tech/java/jsp/Oracle9iJSPSamples.html (Best Hotels PL/SQL Sample )
    - http://otn.oracle.com/tech/xml/xdk_sample/xdksample_093001i.html
    hope this helps
    Kuassi
    I have a Java Stored procedure which takes an instance of a different java object as its parameter.
    I need to do this from a pl/sql package - can anyone point me to a sample etc (looked on the website but don't see one) ?
    Andrew

Maybe you are looking for

  • Seeburger Interface configuration problem

    I am facing some problems in configuring the interfaces in seeburger. As the standards which i want to translate are not configured as default for AS2 adapter so i want to configure it through BIC but as i am new to this don't know the basics as how

  • Average Balances in General ledger.

    Hi All, The question may be silly and awkward - I am completely ignorant in GL Our requirement is to calculate the monthly average balances for each code combination id (GL_BALANCES) after the month end. One way is to calculate the average balance fr

  • QM Inspection of a Service

    The issue I have involves request to perform QM Inspection when purchasing via a service master, not a material master.  Not MM-knowledgeable enough to understand why material masters are not being used.  That decision has already been taken by part

  • Leading zeros are disappearing!!

    Hello I am downloading sales order data from SAP (ECC 6.0) to a spread sheet/Excel (2003 and 2010 versions) on desktop. I am sending the sales order # as 0012345678, customer # as 0087654321, sales org as 0123 (saw in debug mode), but, when i check t

  • HT3529 how do I sent a group message to non-smartphones?

    how do I send a group message from my iPhone 4S to non-smartphone users?