JBOSS - ORACLE

HI, I have a problem setting up oracle pool for Jboss.
The following is the thing that i have done:
1. Copy the "classes12.jar" from "oracle/ora90/jdbc/lib" to the "jboss/server/default/lib" catalog. (the Oracle JDBC driver)
2. Copy the "nls_charset12.jar" from "oracle/ora90/jdbc/lib" to the "jboss/server/default/lib" catalog. (Oralce language package)
3. Copy the "ocrs12.jar" from "oracle/ora90/jdbc/lib" to the "jboss/server/default/lib" catalog. (don't remember)
4. Copy the "jboss/docs/examples/jca/oracle-service.xml" file into the "jboss/server/default/deploy" catalog.
5. Edit the file "jboss/server/default/deploy/oracle-service.xml":
In the "OracleRealm" block
<blabla..."UserName">yourOralceLogin</module-option>
<blabla..."password">yourOraclePass</module-option>
In the "ManagedConnectionFactoryProperties" block:
<config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin@localhost:1521:yourDB</configure-property>
localhost = your host (IP or DNS name) where you are running Oracle. An URL (eg "//oracle.foo.com" or "//129.129.129.129". Try both with and without "//")
1521 = port no.
yourDB = Oralce database name.
<blabla...UserName"...>yourOracleLogin</config-property>
<blabla...password"...>yourOraclePass</config-property>
6. Edit the the first lines in the file "jboss/server/default/conf/standardjaws.xml":
<jaws>
<datasource>java:/OracleDS</datasource>
<type-mapping>Oracle8</type-mapping>
<debug>false</debug>
In /JBoss/server/default/conf/standardjbosscmp-jdbc.xml.
Set
<defaults>
<datasource>java:/OracleDS</datasource>
<datasource-mapping>Oracle8</datasource-mapping></defaults>
However, it seems that something is missing ot the jar file is not deployed properly.
Is anyone there have the same problem?
The following is the messages i've got when starting Jboss:
11:44:57,667 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
state: CONFIGURED
I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
  jboss.jca:service=LocalTxPool,name=OracleDS
  jboss.jca:service=CachedConnectionManager
  jboss.security:name=JaasSecurityManager
  jboss.jca:service=RARDeployer
Depends On Me: ]
Any quick help would be deeply appreciated.
cheers.

In oracle-service.xml modify:
<depends optional-attribute-name="JaasSecurityManagerService">jboss.security:name=JaasSecurityManager</depends>
to: <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>

Similar Messages

  • Eclipse jboss jsp oracle xe connect error

    hi
    i am using eclipse ganymede 342 and my second configuration is:
    jboss as 420 ga
    oracle 10g xe
    windows xp
    jdk15
    when i run my jsp file that contains instructions to connect to oracle 10g xe and query my database i got this error:
    org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 9
    6: <body>
    7: <%
    8: try{
    9: Class.forName("oracle.jdbc.driver.OracleDriver" );
    10: //Class.forName("oracle.jdbc.OracleDriver" );
    11: String url = "jdbc:oracle:thin:@//127.0.0.1:8080:xe";
    12: Connection con = DriverManager.getConnection(url,"system","system" );
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:518)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    javax.servlet.ServletException: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:855)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:98)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
         org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:128)
         org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         java.lang.Class.forName0(Native Method)
         java.lang.Class.forName(Class.java:164)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    why?
    thanks for your help.

    hi orafad,
    i try current style db:
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost/xe","system","system");
    but i get this error:
    exception
    org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 17
    17: Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost/xe","system","system");
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:518)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    javax.servlet.ServletException: java.lang.NoSuchMethodError: oracle.i18n.text.OraBoot.getCharsetMaxCharLen(Ljava/lang/String;)Ljava/lang/String;
    and then i tried this one:
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:8085:xe","system","system");
    and got this error:
    Error: Erreur d'E/S: The Network Adapter could not establish the connection
    so i think my url connection is good and may be the problem is elsewhere
    thanks for your listening
    ========================
    hi udo,
    i checked the lsnrctl status and this is the result:
    Microsoft Windows XP [version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\xp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-OCT. -2011 14:02:49
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connexion Ó (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUT du PROCESSUS D'ECOUTE
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Date de dÚpart 06-OCT. -2011 23:04:12
    DurÚe d'activitÚ 0 jours 14 heures 58 min. 36 sec
    Niveau de trace off
    SÚcuritÚ ON: Local OS Authentication
    SNMP OFF
    Service par dÚfaut XE
    Fichier de paramÞtres du processus d'Úcoute C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Fichier journal du processus d'Úcoute C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    RÚcapitulatif d'Úcoute des points d'extrÚmitÚ...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=compaq)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8085))(Presentation=HTTP)(Session=RAW))
    RÚcapitulatif services...
    Le service "CLRExtProc" comporte 1 instance(s).
    L'instance "CLRExtProc", statut UNKNOWN, comporte 1 gestionnaire(s) pour ce service...
    Le service "PLSExtProc" comporte 1 instance(s).
    L'instance "PLSExtProc", statut UNKNOWN, comporte 1 gestionnaire(s) pour ce service...
    Le service "XEXDB" comporte 1 instance(s).
    L'instance "xe", statut READY, comporte 1 gestionnaire(s) pour ce service...
    Le service "XE_XPT" comporte 1 instance(s).
    L'instance "xe", statut READY, comporte 1 gestionnaire(s) pour ce service...
    Le service "xe" comporte 1 instance(s).
    L'instance "xe", statut READY, comporte 1 gestionnaire(s) pour ce service...
    La commande a rÚussi
    however, i want to say that i manually changed the http port for oracle (now port 8085) to avoid conflict with jbossAS which use port 8080 by default
    all changes goes correct
    so i change my url connexion like this:
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost:1521:xe","system","system");
    and got the same error
    question: it is not a problem to run eclipse jboss oracle express edition in a virtual machine?
    or may be an error inside my jsp page:
    <%@ page language="java" import="java.sql.*" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Employes</title>
    </head>
    <body>
    <%
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@//localhost:8085:xe","system","system");
    System.out.println("Connected sucessfully.<br /><br />\n");
    System.out.println("Return all the employees name.<br />\n");
    String sql = "SELECT ENAME FROM EMP";
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery(sql);
    while (rs.next()) {
         out.println(" ename=" + rs.getString("ename") + "<br />\n");
    stmt.close();
    stmt = null;
    conn.close();
    conn = null;
    out.println("<br />Disconnected sucessfully.<br /><br />\n");
    catch (Exception ex) {
    out.println(" Error: " + ex.getLocalizedMessage() + "<br><br>\n");
    %>
    </body>
    </html>
    thanks for your listening
    ==================================
    NB:
    i work into virtual machine oracle virtualbox with windows xp and my configuration is:
    eclipse
    jboss
    oracle express edition
    jdk

  • SOA Suite 10g on JBoss

    We tried a pilot at (Oracle client) and ran into numerous challenges (i.e. SOA server going down by itself, nothing in the log files, etc).
    Is SOA Suite now certified on JBoss. Is this a stable combination ?
    If anyone else used this configuration for a medium size organization how stable was the SOA Suite on JBoss solution - i.e.on a 1-10 scale 10meaning perfectly stable.
    Also, uninstalling submodules of SOA suite is not a straight forward process, rather challenging wehen using JBoss vs oc4j
    (i.e. tried to uninstall BPEL and keep ESB only, but things got ‘broken’ for other components that proved to be in fact dependencies, after that attempt to scale down the install).
    Obviously for the future we recommend switching to version 11 with Weblogic, however we want to use the work/effort invested in this pilot project by a middleware team.
    Many thanks for related feedback!
    CLC

    Is SOA Suite now certified on JBoss.Oracle SOA Suite 10g is certified on JBoss(Version 4.0.5 + jbossws-1.2.1) since SOA Suite patchset 10.1.3.3
    Installation doc is here -
    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e12536/jboss.htm
    In section "1.2 System and Database Requirements" you may see the versions of softwares certified for this combo.
    All Oracle SOA certification info is available here -
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html
    Regards,
    Anuj

  • Converting From JBoss 3.22

    I have an EJB app that runs fine under JBoss 3.22, but am now investigating a conversion to Weblogic 8.1.
    I'm having trouble hooking Oracle 9i up. Properly defining the datasource is the issue - I've not been able to find a sample in the WL samples that clearly demonstrates the process for a stateless session bean.
    The JNDI name I have defined in my new WL domain is OracleDS; the Pool Name is appsdb_JDBCConnectionPool.
    I've included all relevent files and error messages below.
    Any ideas on a fix?
    Thanks,
    --BobC
    Here's what my weblogic-ejb-jar.xml looks like:
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN'
    'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>profile</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    </stateless-session-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>OracleDS</res-ref-name>
    <jndi-name>OracleDS</jndi-name>
    </resource-description>
    </reference-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <jndi-name>psp/profile</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>siteprofile</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    </stateless-session-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>OracleDS</res-ref-name>
    <jndi-name>OracleDS</jndi-name>
    </resource-description>
    </reference-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <jndi-name>wf/siteprofile</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    Here's my ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>profile</ejb-name>
    <home> com.nimblus.psp.server.ejb.stateless.ProfileHome</home>
    <remote> com.nimblus.psp.server.ejb.stateless.Profile</remote>
    <ejb-class>com.nimblus.psp.server.ejb.stateless.ProfileSession</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <description>The Oracle Datasource</description>
    <res-ref-name>OracleDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    <session>
    <ejb-name>siteprofile</ejb-name>
    <home> com.nimblus.psp.server.ejb.stateless.SiteProfileHome</home>
    <remote> com.nimblus.psp.server.ejb.stateless.SiteProfile</remote>
    <ejb-class>com.nimblus.psp.server.ejb.stateless.SiteProfileSession</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <description>The Oracle Datasource</description>
    <res-ref-name>OracleDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>profile</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>siteprofile</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Here's how my bean tries to connect:
    initCtx = new InitialContext();
    DataSource ds = (javax.sql.DataSource)initCtx.lookup("OracleDS");
    con = ds.getConnection();
    Here's the error message:
    2005-05-20 15:43:23,027 ERROR [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] getConnection - Naming Error: Failed to lookup JDBC Datasource. JNDI name = OracleDS; Please double check that the JNDI name defined in the resource-description of the ejb-jar.xml file is the same as the JNDI name for the Datasource defined in the JBoss oracle-ds.xml file. javax.naming.NameNotFoundException: Unable to resolve 'OracleDS' Resolved ; remaining name 'OracleDS'
    EPADApprovePortlet.jsp - Portlet Error Caught: java.rmi.RemoteException: EJB Exception:; nested exception is:
    java.rmi.RemoteException: findIrisIDByUserName - ERROR: java.rmi.RemoteException: getConnection - NamingException: javax.naming.NameNotFoundException: Unable to resolve 'OracleDS' Resolved ; remaining name 'OracleDS'
    NOTE: I have not changed the error message above so it still refers to JBoss.

    Problem Solved!
    The code I posted in the original request for help is correct. The problem I had was not specifying my server under the "Target and Deploy" setting in the WL console.
    --BobC                                                                                                                                                                                                                                                                                                                                                                                               

  • Oracle DB : UNDO tablespace filled 99%

    Hi,
    That's not a problem (I hope) but just a question on Livecycle ES DataBase.
    The Undo tablespace set to 4Gb, always filled 99%.
    Is it normal ? is there preconized size for it ? Does we have to maintain it ...
    The LiveCycle configuration is :
    ES (1) version 8.2.1 SP3, Jboss
    Oracle 10g
    The server is running on Windows Server 2003 Ent OS.
    Thank you for your response !

    It very much depends on the tool used to determine the usage of the UNDO tablespace. Many tools do not take into account that the UNDO tablespace and the TEMP tablespace may seem to be full (have correctly formatted blocks) while still having a lot of functional space available inside of those blocks.
    In other words, if the tool calculates the usage in the same way as data tablespaces, it will be reporting the wrong value. Ideally, the UNDO tablespace will always be close to 100% full using traditional calculation.
    Assuming the tool is doing it's calculation correctly, the second thing to note is that UNDO is the core to Oracle Consistent Read mechanism. (Which is, in turn, the core to many of the Flashback techniques.) The UNDO data, which is created at transaction time, must be available after the transaction has committed if a consistent read or flashback is invoked. The more UNDO, the further back in 'time' you can flash back.
    So the correct way to tune the UNDO is to specify the amount of time you require UNDO to exist. And you verify that using the DBA_UNDO_EXTENTS view and the STATUS column. Totally free space in the undo occurs when the STATUS is EXPIRED. If you have no EXPIRED extents, they can not be reused (except in a pinch) and the system will allocate more space to the UNDO tablespace if possible.
    A great reference is the thread at http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6894817116500
    I am curious - is 4GB UNDO really an issue?

  • Jboss getting SQLException: Closed Statement prepared-statement- cache-size

    My first post in this forum , hope to get a quick resolution :)
    I am using Jboss 4.0.0 on Oracle 9.2.0.4.0
    In order to improve the app performance , I had specified prepared-statement-cache-size as 50 as follows ,
    <datasources>
    <local-tx-datasource>
    <jndi-name>jdbc/sct</jndi-name> <connection-url>jdbc:oracle:thin:@confidential:1560:sct1</connection-url>
    <user-name>Confidential</user-name>
    <password>Confidential</password>
    <min-pool-size>10</min-pool-size>
    <max-pool-size>120</max-pool-size>     <prepared-statement-cache-size>50</prepared-statement-cache-size>
    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptio nSorter</exception-sorter-class-name>
    <idle-timeout-minutes>5</idle-timeout-minutes>
    <track-statements>true</track-statements>
    <new-connection-sql>select sysdate from dual</new-connection-sql>
    <check-valid-connection-sql>select sysdate from dual</check-valid-connection-sql>
    </local-tx-datasource>
    </datasources>
    After doing this , I start getting the following exception ,
    java.sql.SQLException: Closed Statement
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:285)
         at oracle.jdbc.driver.OracleStatement.ensureOpen(OracleStatement.java:5681)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.j ava:409)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.ja va:366)
         at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPrepare dStatement.java:57)
         at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPrepa redStatement.java:296)
         at com.ge.sct.SiteText.getSiteTextFromDB(SiteText.java:292)
    Thanks in Advance
    Bhavin

    Hello,
    I am also facing the same error: somewhere just now I read,
    We were getting this error on JBoss / Oracle. The fix was setting the following to 0 in oracle-ds.xml:
    <prepared-statement-cache-size>0</prepared-statement-cache-size>
    Ref: http://www.jpox.org/servlet/forum/viewthread?thread=1108
    May be you can try this, I am also still finding the solution, I will try the above and let u know, if i get success.
    Regards,
    Rajesh

  • Problems with JDBC/Oracle version and types.

    Hello all,
    I am having a boring version problem here. We, recently, changed our Oracle 8i (8.1.7) for a Oracle 9i (9.2.0.6).
    We have several Java/J2EE applications running on JBoss and accessing that Oracle Database.
    We haven´t changed the JDBC driver version and we started to notice that a lot of cursors have been stucked and are not been closed.
    Searchin in Google and metalink we´ve decided to update ou JDBC driver version from classes12_8.1.7.1.jar for this ojdbc14.jar (9.2.0.5).
    After this change we started to have a lot of ClassCastExceptions, specially in this case:
    When my app call this procedure:
    MY_PROC(USR IN VARCHAR2, ID OUT NUMBER)
    in my Java app, using such code:
    CallableStatement call = conn.prepareCall("{ call MY_PROC(?,?) }",
    ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    call.setString(1, user);
    call.registerOutParameter(2, OracleTypes.INTEGER);
    call.executeQuery();
    BigDecimal id = (BigDecimal) call.getObject(2);
    Instead of BigDecimal, the JDBC driver returns me an Integer object, using driver version 9. With the 8i driver it works fine (although we still have the cursor problem).
    The fact is, we have a lot of points to change in our apps if we change the driver version, which is not good.
    Is there any other suitable thing we can do to solve our problem and minimize our work.
    Recall we use Java / JBoss / Oracle 9i.
    Thanks
    Daniel

    Hello all,
    I am having a boring version problem here. We, recently, changed our Oracle 8i (8.1.7) for a Oracle 9i (9.2.0.6).
    We have several Java/J2EE applications running on JBoss and accessing that Oracle Database.
    We haven´t changed the JDBC driver version and we started to notice that a lot of cursors have been stucked and are not been closed.
    Searchin in Google and metalink we´ve decided to update ou JDBC driver version from classes12_8.1.7.1.jar for this ojdbc14.jar (9.2.0.5).
    After this change we started to have a lot of ClassCastExceptions, specially in this case:
    When my app call this procedure:
    MY_PROC(USR IN VARCHAR2, ID OUT NUMBER)
    in my Java app, using such code:
    CallableStatement call = conn.prepareCall("{ call MY_PROC(?,?) }",
    ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    call.setString(1, user);
    call.registerOutParameter(2, OracleTypes.INTEGER);
    call.executeQuery();
    BigDecimal id = (BigDecimal) call.getObject(2);
    Instead of BigDecimal, the JDBC driver returns me an Integer object, using driver version 9. With the 8i driver it works fine (although we still have the cursor problem).
    The fact is, we have a lot of points to change in our apps if we change the driver version, which is not good.
    Is there any other suitable thing we can do to solve our problem and minimize our work.
    Recall we use Java / JBoss / Oracle 9i.
    Thanks
    Daniel

  • How to determine the version of Identity  Manager 9.1 with the build number

    Friends,
    I have a query this compilation of Identity Manager that show below that corresponds Identity Manager version: 9.1.0.1, 9.1.0.2 or 9.1.0.3
    As I can determine this information.
    Diagnostic Dashboard
    System Information:
    Application Server: JBoss
    Oracle Identity Manager Installation:
    Product Version: *9.1.0.1860.16*
    Build Number: 1860.16
    Host: serveroimoooo53
    Location: C: / IOM / xellerate
    Thanks

    That is version 9.1.0.1 base installation.
    You can find the information by logging into metalink (http://metalink.oracle.com) and searching. I used the Build Number to return results.
    -Kevin

  • Why do I keep getting a connection error when trying to connect to SQL?

    Environment:
    LiveCycle ES2
    Windows Server 2008
    JBOSS
    Oracle Application DB
    When trying to connect to SQL, I get this error message in the log.
    Exception: Could not create connection; - nested throwable: (java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.lang.UnsupportedOperationException: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.))
    I have these two files located in \\jboss\server\lc_oracle_cl\lib
    sqljdbc.jar
    sqljdbc4.jar
    I was told all I needed to do was drop these two files in the directory above and restart JBOSS. Is there something I'm missing?
    Jesse

    Hi Jesse,
    The driver you are using is for SQLServer Database. Since you are using Oracle as your database, you need an oracle driver.Please copy ojdbc6.jar from the [installDir]/lib/db/oracle/ directory and try again.
    Thanks,
    Ruchi

  • How to install J2EE on a windows machine

    I am following the oracle tutorial on how to use JMS, as I am learning it, but I am having problem with J2EE. I downloaded j2ee with sdk and installed it and it gives me an unsupported platform error.
    I am running 64bit Windows 7 which is supported. I can anyone help me figure out what is going on?
    -Thanks

    You cannot download "J2EE" as it is a specification, not an application. The "JEE SDK" you are referring to is just one of Oracle's confusing bundle downloads.
    What you're talking about is the Glassfish server which delivers an implementation of the JEE 6 specification. There are many alternatives to Glassfish out there though, including JBoss, Oracle Weblogic, IBM Websphere, Apache Geronimo and more. If you must go down the Glassfish path (which is recommended if you follow some tutorial, but I wouldn't recommend following a tutorial if you intend to learn this highly complicated material) then don't mess with the "JEE SDK"; take control and install the stuff separately which is hardly rocket science. Install the latest JDK 6 release and install the latest Glassfish from here:
    http://glassfish.java.net/
    Be sure to pick downloads that match your CPU architecture.

  • Error occured in OIM client running

    Hai all,
    Am new to OIM . I completed basic installation java,jboss, oracle database, OIM server and OIM client . All the thing are running sucessfully except OIM client. It is also installed sucessfully but after entering the user name and password it showing an error . can any one please help me out from this error please . its urgent for me.

    Hi,
    First, make sure you have configured the client application and it can reach the OIM server side. For example, open the file [OIM_CLIENT_HOME_DIR]\xlclient\Config\xlConfig.xml.
    Review the value of the <CoreServer> and <MultiCastAddress> elements.
    Also, see the OIM console output to see what exception is being raised when you try to log in. Or you can open the xel.log file at [OIM_HOME_DIR]\xellerate\logs
    Renato.

  • Comparing the creation time of two jars.

    Hi,
    My requirement is that i need to compare the creation time of two of the jars and see which one of the jar is the latest.
    I did it using the following code i get the output in the form of strings so i cant compare them to find which one is the latest.
    import java.io.*;
    import java.util.*;
    public class FileTest {
         public static void main(String args[]) {
              File devbuild = new File(
                        "\\\\devspace\\dev$\\ReleaseEng\\DEVbuilds\\tw_enterprise\\build\\jboss\\Oracle\\Twelibrary.jar");
              File local = new File(
                        "D:\\jboss-4.2.1.GA\\server\\TWEServer\\Twelibrary.jar");
              Calendar now = Calendar.getInstance();
              int currtime = now.get(Calendar.HOUR_OF_DAY);
              int maxtime = 18;
              System.out.println("Before the while loop");
              while (currtime < maxtime) {
                   System.out.println("Inside the while loop");
                   if (devbuild.exists()) {
                        try {
                             // get runtime environment and execute child process
                             Runtime systemShell = Runtime.getRuntime();
                             BufferedReader br1 = new BufferedReader(
                                       new InputStreamReader(new FileInputStream(devbuild)));
                             BufferedReader br2 = new BufferedReader(
                                       new InputStreamReader(new FileInputStream(local)));
                             Process output = systemShell.exec("cmd /c dir " + devbuild);
                             Process output1 = systemShell.exec("cmd /c dir " + local);
                             // open reader to get output from process
                             BufferedReader br = new BufferedReader(
                                       new InputStreamReader(output.getInputStream()));
                             BufferedReader br3 = new BufferedReader(
                                       new InputStreamReader(output1.getInputStream()));
                             String out = "";
                             String out1 = "";
                             String line = null;
                             String line1 = null;
                             int step = 1;
                             int step1 = 2;
                             while ((line = br.readLine()) != null) {
                                  if (step == 6) {
                                       out = line;
                                  step++;
                             } // display process output
                             while ((line1 = br3.readLine()) != null) {
                                  if (step1 == 6) {
                                       out1 = line1;
                                  step1++;
                             try {
                                  out = out.replaceAll(" ", "");
                                  out1 = out1.replaceAll(" ", "");
                                  System.out.println("CreationDate: "
                                            + out.substring(0, 10));
                                  System.out.println("CreationTime: "
                                            + out.substring(10, 16) + "m");
                                  System.out.println("CreationDate: "
                                            + out1.substring(0, 10));
                                  System.out.println("CreationTime: "
                                            + out1.substring(10, 16) + "m");
                             } catch (StringIndexOutOfBoundsException se) {
                                  System.out.println("File not found");
                             //Long modifiedtime = devbuild.lastModified();
                             //long oldtime = old.lastModified();
                             int devbuilddate = Integer.parseInt(out.substring(0, 10));
                             int devbuildtime = Integer.parseInt(out.substring(10, 16));
                             int localbuilddate = Integer.parseInt(out1.substring(0, 10));
                             int localbuildtime = Integer.parseInt(out1.substring(10, 16));
                             if (devbuilddate >= localbuilddate && devbuildtime >= localbuildtime) {
                                  System.out.println("The Build date is Later than the one i am having--->");
                                  System.exit(6);
                             } else {
                                  System.exit(0);
                        } catch (Exception e) {
                             e.printStackTrace();
                   if (currtime > maxtime) {
                        System.exit(5);
    How can i do it?
    Can anyone help me out in this.
    Thanks,
    Kavipriya.

    Hi Clap,
    Thanks for ur reply. Let me say you the scenario clearly. We are in the process of automating some of the process. We have builds running daily night and our automation will run using that build.
    Currently the build which is getting generated does have manifest in it. For our automation framework we cant suggest adding the manifest. Which will not be agreed.
    Our automation will be checking till 10.am. to check whether the build is ready if not it will come out of the loop. If the build is avaialble within 10 then it will take the build and see whetehr the creation date and time of the build and the one i am having locally or different. If diff it will see whether the build generated is latest than the one i am having.
    If it so then the process will run.
    So hope you got my issue.

  • BRM JCA Adapter Client

    Hi ,
    I am using BRM 7.3 system and have deployed the JCA adapter for it on the Oracle applciation Server . So to interact with the BRM system I need to have a client . How do I send and receive messges to and from BRM system using the JCA adapter , can somebody help me out with this .........
    Regards

    招聘J2EE程序员/分析员/数据库开发/项目经理
    招聘职位:J2EE高级程序员(深圳)
    4 年以上 IT 工作经验
    掌握OCBRM (Oracle Communication for Billing, Revenue Management) Java API 开发技术 (必须)
    熟练J2EE Web开发技术 月薪8K以上可面议
    猎头顾问:李先生 电话:0755-26499588-17 email:[email protected]
    注:我们的客户公司都是深圳的大型IT公司。我公司招聘的任何职位均不对求职者收费。
    招聘职位:J2EE高级程序员(深圳)
    1. 3年以上J2ee开发经验,熟练掌握JSP,Servlet,Struts, Spring 和Hibernet.
    2. 要求具备Portal项目(Jboss/Oracle/IBM/BEA)开发经验.
    3. 熟练掌握数据库,能理解和维护复杂的SQL, 熟悉Oracle者优先.
    4. 熟悉Oracle PL/SQL或者 Devloper6i 者优先.
    5. 语言表达流畅思维清晰,善于和客户沟通,能听说广东话优先.月薪5-7K
    招聘职位:J2EE系统分析员(深圳)
    1 4年以上J2EE系统开发、分析设计和项目管理经验
    2 精通Java,UML, design pattern
    3 熟悉无线分布式系统开发项目
    4 熟悉大型项目的需求分析、架构设计、开发流程以及文档 月薪8-10K
    招聘职位:项目经理(电信营销类)-派往南京
    1、大学本科,计算机/电子相关专业,有3年以上项目经理相关工作经验,具团队合作精神,组织、应变能力强,有上进心和学习精神;
    2、有一定的技术背景,能独立完成项目的需求沟通、分析和设计,熟悉Rational Rose, oracle, java/jsp/javabean,.com;
    3、有良好的沟通技巧,较强的文档撰写及标书讲解能力,思维敏捷,较强的组织能力、管理能力和执行力;
    4、 有1年以上网站运营管理工作经验,熟悉电子商务网站建设过程,有2年以上项目管理经验及完整的售前、售中项目管理经验。有中国电信网站运营工作经验者优先。
    5、能承受较大工作压力,能适应长期出差。薪资5-10K 有业绩提成
    招聘职位:项目经理(网站策划开发类)
    1、大学本科,计算机/电子相关专业,团队精神、组织、应变能力强,有上进心和学习精神;
    2、有较强的技术背景,能独立完成项目的需求沟通、分析和设计,熟悉Rational Rose, oracle, java/jsp/javabean,asp.net等;
    3、有良好的沟通技巧,较强的文档撰写及标书讲解能力;有积极的思维,强的学习能力和强的执行力;
    4、在互联网工作过一年或以上,熟悉电子商务网站建设过程,有两年以上项目管理经验和完整的售前、售中项目管理经验。有政府行业或大型应用型门户/网站的开发与管理经验优先考虑。
    5、能适应出差。
    招聘职位:HyperionDeveloper
    1 2年以上大型数据库应用系统开发经验,熟悉一种以上主流数据库(Oracle、IBMDB2、Sybase、Informix、MicrosoftSQLServer);
    2 至少1年DW系统前端展现工作经验,精通Hyperion系列产品,特别是Hyperion Essbase/Hyperion Reporting/Hyperion Planning;
    3 工作认真、负责,有良好的团队合作精神,良好的分析能力与沟通技巧;
    良好的沟通表达(英语或广东话)和英文文档交付能力;月薪5-7K
    招聘职位:HyperionAdvancedDeveloper
    1.Daily loading of data/metadata into the Liz Claiborne Hyperion application
    (s)
    2.Ability to use Application Manager/Administration Services to design,
    create and maintain applications, databases, data load rules, calc scripts
    and report scripts.
    3.Works with internal customers to consistently improve and refine processes
    and procedures as it related to Planning & Analysis.
    4.Collaborates with the Director Financial Planning & Analysis in the
    development of the Strategic Plan, Annual Budget and monthly forecast’s.
    5.Manage security within the Hyperion suite
    6.Designs, Develops, and implements new reporting & analysis solutions within
    the Hyperion suite
    7.Serve as Internal Functional Helpdesk as it relates to the Hyperion suite.
    8.Design & Maintain documentation on system process flows, changes, enhancements.
    9.Must be able to act independently to resolve problems.
    10.Other duties and projects as required
    11.Create and Maintain reports within Microstrategy Business Intelligence application
    12.Ability to create and maintain reports written in JDE 月薪8K左右

  • Getting started with ATG and Eclipse

    Hi,
    I am newbie in ATG web commerce. I am doing some R&D how to integrate ATG with eclipse JBoss and oracle. I searched on Google, there is one very interesting topic about getting started with atg, jboss, oracle :
    http://atgdeveloper.wordpress.com/2009/04/19/getting-started-with-atg-jboss-and-oracle
    It is very helpful to me but there is one problem what are the requirements of eclipse to integrate it with ATG. Is there any ATG plugin, which I can download all the plugin for eclipse and please can anyone help me if there is any ATG configuration documentation available, please share link or document(if there is complete step-by-step documentation available).
    I will greatly thankful to you. Very very thanks in advance.
    Thanks,
    Manveer
    Edited by: msingh on Nov 9, 2011 3:37 AM
    Edited by: msingh on Nov 9, 2011 3:38 AM

    Hi GarethR,
    I have a looked on ATGInstallationGuide.pdf, which url it shows is not working http://www.atg.com/eclipse. I think the url for ATG plugin has been changed now but I didn't found that url on google. Can you please help me to get correct url.
    When I try to use this url using eclipse update manager. It shows me no features available for this site.
    Thanks,
    Manveer

  • 招聘J2EE程序员/分析员/数据库开发/项目经理

    招聘J2EE程序员/分析员/数据库开发/项目经理
    招聘职位:J2EE高级程序员(深圳)
    4 年以上 IT 工作经验
    掌握OCBRM (Oracle Communication for Billing, Revenue Management) Java API 开发技术 (必须)
    熟练J2EE Web开发技术 月薪8K以上可面议
    猎头顾问:李先生 电话:0755-26499588-17 email:[email protected]
    注:我们的客户公司都是深圳的大型IT公司。我公司招聘的任何职位均不对求职者收费。
    招聘职位:J2EE高级程序员(深圳)
    1. 3年以上J2ee开发经验,熟练掌握JSP,Servlet,Struts, Spring 和Hibernet.
    2. 要求具备Portal项目(Jboss/Oracle/IBM/BEA)开发经验.
    3. 熟练掌握数据库,能理解和维护复杂的SQL, 熟悉Oracle者优先.
    4. 熟悉Oracle PL/SQL或者 Devloper6i 者优先.
    5. 语言表达流畅思维清晰,善于和客户沟通,能听说广东话优先.月薪5-7K
    招聘职位:J2EE系统分析员(深圳)
    1 4年以上J2EE系统开发、分析设计和项目管理经验
    2 精通Java,UML, design pattern
    3 熟悉无线分布式系统开发项目
    4 熟悉大型项目的需求分析、架构设计、开发流程以及文档 月薪8-10K
    招聘职位:项目经理(电信营销类)-派往南京
    1、大学本科,计算机/电子相关专业,有3年以上项目经理相关工作经验,具团队合作精神,组织、应变能力强,有上进心和学习精神;
    2、有一定的技术背景,能独立完成项目的需求沟通、分析和设计,熟悉Rational Rose, oracle, java/jsp/javabean,.com;
    3、有良好的沟通技巧,较强的文档撰写及标书讲解能力,思维敏捷,较强的组织能力、管理能力和执行力;
    4、 有1年以上网站运营管理工作经验,熟悉电子商务网站建设过程,有2年以上项目管理经验及完整的售前、售中项目管理经验。有中国电信网站运营工作经验者优先。
    5、能承受较大工作压力,能适应长期出差。薪资5-10K 有业绩提成
    招聘职位:项目经理(网站策划开发类)
    1、大学本科,计算机/电子相关专业,团队精神、组织、应变能力强,有上进心和学习精神;
    2、有较强的技术背景,能独立完成项目的需求沟通、分析和设计,熟悉Rational Rose, oracle, java/jsp/javabean,asp.net等;
    3、有良好的沟通技巧,较强的文档撰写及标书讲解能力;有积极的思维,强的学习能力和强的执行力;
    4、在互联网工作过一年或以上,熟悉电子商务网站建设过程,有两年以上项目管理经验和完整的售前、售中项目管理经验。有政府行业或大型应用型门户/网站的开发与管理经验优先考虑。
    5、能适应出差。
    招聘职位:HyperionDeveloper
    1 2年以上大型数据库应用系统开发经验,熟悉一种以上主流数据库(Oracle、IBMDB2、Sybase、Informix、MicrosoftSQLServer);
    2 至少1年DW系统前端展现工作经验,精通Hyperion系列产品,特别是Hyperion Essbase/Hyperion Reporting/Hyperion Planning;
    3 工作认真、负责,有良好的团队合作精神,良好的分析能力与沟通技巧;
    良好的沟通表达(英语或广东话)和英文文档交付能力;月薪5-7K
    招聘职位:HyperionAdvancedDeveloper
    1.Daily loading of data/metadata into the Liz Claiborne Hyperion application
    (s)
    2.Ability to use Application Manager/Administration Services to design,
    create and maintain applications, databases, data load rules, calc scripts
    and report scripts.
    3.Works with internal customers to consistently improve and refine processes
    and procedures as it related to Planning & Analysis.
    4.Collaborates with the Director Financial Planning & Analysis in the
    development of the Strategic Plan, Annual Budget and monthly forecast’s.
    5.Manage security within the Hyperion suite
    6.Designs, Develops, and implements new reporting & analysis solutions within
    the Hyperion suite
    7.Serve as Internal Functional Helpdesk as it relates to the Hyperion suite.
    8.Design & Maintain documentation on system process flows, changes, enhancements.
    9.Must be able to act independently to resolve problems.
    10.Other duties and projects as required
    11.Create and Maintain reports within Microstrategy Business Intelligence application
    12.Ability to create and maintain reports written in JDE 月薪8K左右

    Hello,
    I'm sure it could be interested to translate your post in english.
    Unless this is a recruitment, in case of the forum is not the good place.
    Thanks,
    Nicolas.

Maybe you are looking for

  • No browser icon on Pearl 8100

    Hiya... I am in a world of pain... Sorry - quite a bit of background on this... In 2009 my husband bought me a brand new Blackberry Pearl 8100 from the internet (he can't remember exactly where from). I put my existing O2 sim in it, expecting to be a

  • Account Payables with Procurement data query

    Hi Gurus,          Anyone who developed reports on a query of Account Payables with Procurement data.. the sources of fields are from R/3....          Can you provide me with the business content or the datasources you use? Thanks.. Irish

  • Logo seen in report Title is not properly alligned when downloaded to Excel

    Hi All, Iam facing an issue with Download to Excel link on my OBIEE report. When I download my report to Excel which has a logo in the report title, in the excel sheet the logo occupies all the cells till the end of the report columns and my report t

  • SCCM 2012 - SUP - updates not showing as downloaded when they actualy are

    Hello. I have a strange problem. I have collected my updates by year to have an overview of what is still updates..  In the console I have 4 updates showing as not downloaded. If I highlight these and choose to download I get this So appearantly it w

  • Adobe Creative Suite CS2 Universal?

    Hello! I've installed my an old version of Photoshop recently on my MacBook Pro and I noticed a lot of lag and slow downs when I'm drawing with my Wacom tablet on the canvas. I was just wondering if Adobe released a universal version of Photoshop and