Eclipse and Oracle AS Webservices & weblogic

Hi,
Can we use Ant tasks for Oracle AS webservices something similar to servicegen in weblogic?
Also is there a way to configure all the weblogic webservices tasks in Eclipse instead of doing that one by one.
I know we can define an Ant script with a lot of taskdefs..
Does Oracle AS supply a script for this kind of configuration?
Does weblogic have a script of this kind?
--Rajesh.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Eclipse+Lomboz uses xdoclet tags. You need to make sure proper data sources are configured and used when deploying the project as well as generating ejbsrc in eclipse.
1. xdoclet.xml
Check jboss tag. set correct values for 'datasource', 'datasourcemapping' They are set to 'PLEASE_MODIFY_THIS' . If this is not updated then JBoss uses inbuilt database 'Hypersonic'.
2. jboss.xml & ejb-jar.xml
all the bean elements have 'res-ref-name' Set this approriately.
If you notice Eclipse/Lomboz sets the values to 'jdbc/DefaultDS'.
3. standardjbosscmp-jdbc.xml
This file sets default data source to 'Hypersonic sql'. This file has type mappings for various dtabases.
hope this helps.
- Prasad

Similar Messages

  • Differences between Eclipse and Oracle JDeveloper

    Hi,
    Could any one please provide me a list of advantages/dis-advantages and differences between Eclipse 3.1 & Oracle JDeveloper 10g (any version). It's very imp and urgent!!!
    Thanks!

    Hi,
    Could any one please provide me a list of advantages/dis-advantages and differences between Eclipse 3.1 & Oracle JDeveloper 10g (any version). It's very imp and urgent!!!
    Thanks!

  • JBOSS Eclipse and Oracle

    Hi, I am working on JBOSS 3.2.1 with Eclise 2.1 IDE using Lomboz plugin.
    I want to know how can we use Oracle as the backend database. I know about JDBC and how to use it with JSP and servlets but don't about how to use it with EJBs , more over in JBOSS.
    Please help.

    Eclipse+Lomboz uses xdoclet tags. You need to make sure proper data sources are configured and used when deploying the project as well as generating ejbsrc in eclipse.
    1. xdoclet.xml
    Check jboss tag. set correct values for 'datasource', 'datasourcemapping' They are set to 'PLEASE_MODIFY_THIS' . If this is not updated then JBoss uses inbuilt database 'Hypersonic'.
    2. jboss.xml & ejb-jar.xml
    all the bean elements have 'res-ref-name' Set this approriately.
    If you notice Eclipse/Lomboz sets the values to 'jdbc/DefaultDS'.
    3. standardjbosscmp-jdbc.xml
    This file sets default data source to 'Hypersonic sql'. This file has type mappings for various dtabases.
    hope this helps.
    - Prasad

  • RsultSet getString(String) returning next row with WL8 and Oracle drivers

    When using the following function with the SQL: SELECT A, B, C FROM D
    WHERE A=E and i call the campoString("A") i received the expected value
    for the campoString("B") and so on.
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    Oracle latest drivers, and Oracle Server 7, WebLogic platform (workshop) 8.1
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();

    Carlos de Luna Saenz wrote:
    Same result putting the jar at the beggining of the classpath...:-(
    WLS Production Mode=
    .You need a semicolon after "ojdbc13.jar".
    Joe
    CLASSPATH=C:\bea\weblogic81\samples\workshop\SicPros\SicProsv35\WEB-INF\lib\ojdb
    c14.jarC:\bea\WEBLOG~1\server\lib\weblogic_knex_patch.jar;C:\bea\WEBLOG~1\common
    \lib\log4j.jar;C:\bea\WEBLOG~1\server\lib\debugging.jar;C:\bea\WEBLOG~1\server\l
    ib\knex.jar;C:\bea\WEBLOG~1\javelin\lib\javelin.jar;C:\bea\WEBLOG~1\server\lib\w
    lw-lang.jar;;C:\bea\JDK141~1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_s
    p.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\ojdbc14
    .jar;C:\bea\WEBLOG~1\server\lib\ant\ant.jar;C:\bea\JDK141~1\jre\lib\rt.jar;C:\be
    a\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG~1\common\eval\
    pointbase\lib\pbclient44.jar;;C:\bea\WEBLOG~1\server\lib\webserviceclient.jar;C:
    \bea\WEBLOG~1\server\lib\webserviceclient+ssl.jar;C:\bea\WEBLOG~1\server\lib\xbe
    an.jar;C:\bea\WEBLOG~1\server\lib\xmarshal.jar;C:\bea\WEBLOG~1\server\lib\xqrl.j
    ar;C:\bea\WEBLOG~1\server\lib\netui\netui-compiler.jar;C:\bea\WEBLOG~1\server\li
    b\wli.jar;C:\bea\WEBLOG~1\server\lib\wlxtrt.jar;C:\bea\WEBLOG~1\server\lib\fop.j
    ar;C:\bea\WEBLOG~1\integration\lib\wlai-server.jar;C:\bea\WEBLOG~1\integration\a
    dapters\sample\lib\sample-eis.jar;
    Greetings.
    Joe Weinstein wrote:
    Ok.
    Once you get this working, I will have some suggestions that
    will make this run much faster. For now, I think the issue
    is the driver version. We package an old oracle thin driver
    inside our weblogic.jar, so you need to get oracle's latest
    appropriate driver, and edit the start-weblogic script so
    the driver you want comes before the weblogic.jar in the
    -classpath argument for the java line that starts the server.
    PS:
    I am looking at the code, thank you, but you still haven't
    explicitly said what problem you're having!
    thanks
    Joe
    Carlos de Luna Saenz wrote:
    The problematic class is, there is no weblogic code on it, the
    project i am on is to migrate a iPlanet app to a web logic server:
    If you need the JSP using this class please let me know. The
    application uses not standards, taglibs or anything besides .java
    files and .jsp files.
    package externos;
    import java.io.PrintWriter;
    import java.sql.*;
    import java.util.Date;
    public class sicprosR{
    public String strSQL;
    public String er;
    Connection con;
    private ResultSet rsVentasTotales;
    String url;
    CallableStatement ps;
    Statement comando;
    protected String usuario;
    protected String password;
    public boolean estado;
    public sicprosR() {
    ps = null;
    url="jdbc:oracle:thin:@17.3.5.101:1521:dbx1";
    usuario="xxxxx";
    password="xxxx";
    estado = false;
    public Date CampoDate(String s) {
    Object obj = new Date();
    try {
    obj = rsVentasTotales.getDate(s);
    catch(SQLException _ex) { }
    return (Date)obj;
    public double CampoDouble(String s) {
    double d;
    try {
    d = rsVentasTotales.getDouble(s);
    catch(SQLException _ex) {
    d = 0.0D;
    return d;
    public int CampoInt(String s) {
    int i;
    try {
    i = rsVentasTotales.getInt(s);
    catch(SQLException _ex) {
    i = 0;
    return i;
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    public boolean Commit() {
    try {
    con.commit();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public int Conectar(int i) {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url,
    Estructura.usuario, Estructura.clave);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public boolean Ejecuta(int i) {
    if(i == 1)
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return false;
    else
    try {
    comando.executeUpdate(strSQL);
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Sig() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return 1;
    } else {
    estado = false;
    return 0;
    catch(Exception _ex) {
    estado = false;
    return -1;
    public boolean Siguiente() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return true;
    } else {
    estado = false;
    return false;
    catch(Exception _ex) {
    estado = false;
    return false;
    public String convierteCantidadLetras(double d, String s) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call
    get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public String convierteCantidadLetras(double d, String s,
    PrintWriter printwriter) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call
    get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public boolean inicio() {
    try {
    rsVentasTotales.first();
    return true;
    catch(SQLException _ex) {
    return false;
    public String truncaADosDecimales(String s) {
    int i = 0;
    String s1 = "";
    i = s.indexOf(".");
    if(s.length() <= i + 3) {
    s1 = s.substring(i + 1, s.length());
    } else {
    s1 = s.substring(i + 1, i + 3);
    s1 = s1.substring(0, 2);
    if(s.substring(i + 1, i + 2).equals("0"))
    s1 = "0" + s1;
    s1 = s.substring(0, i) + "." + s1;
    return s1;
    Joe Weinstein wrote:
    Hi! I need two more things from you, please:
    1 - A full statement of what problem you're having.
    2 - More of the code. All I see here is you are getting
    a connection directly from Oracle's driver, and code which
    does a ResultSet.getString() call.
    I need to see the logic from getting the connection, to creating
    the statement, to executing the query, to doing ResultSet.next()
    for each row and getting the row data for each.
    It seems that this is either an application code or jdbc driver
    problem because no weblogic code is being used, so it could probably
    be duplicated in a small stand-alone program (without any weblogic
    stuff).
    Joe
    Carlos de Luna Saenz wrote:
    When using the following function with the SQL: SELECT A, B, C FROM
    D WHERE A=E and i call the campoString("A") i received the expected
    value for the campoString("B") and so on.
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    Oracle latest drivers, and Oracle Server 7, WebLogic platform
    (workshop) 8.1
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();

  • Oracle Service Bus (OSB), Eclipse --- and statement of direction

    Can somebody please explain what this means in: http://www.oracle.com/technology/products/integration/service-bus/docs/Oracle-Service-Bus-SOD.pdf
    +...The web-based console was complemented in the 3.0 release with full IDE support in Eclipse. The Eclipse capabilities will be ported to Oracle JDeveloper to provide a one-stop IDE for all SOA design needs. Until that port is complete, customers will still be able to use the Eclipse environment as IDE (in addition to the web-based console)...+
    More specifically: what will happen to the Eclipse OSB plugin/workshop once the JDeveloper port is complete?
    A) will it cease to exist and/or be terminated?
    B) will it remain as is, without keeping the functionality in synch with new stuff in JDev?
    C) will it continue to evolve side-by-side with JDev?
    Thx,
    -J.

    I think it is clear that Oracle will remain commited to Eclipse in terms of deploying java applications to WebLogic, they will provide some plugins for some time to come. You will however see oracle specific products, such as OSB, Portal, etc removed from Eclipse and ported to JDev. The reason for this is that Oracle can release new releases within their timeframe. If Oracle rely on Eclipse to deliver some functionality before they can release new products then they will be doing their customers a disservice.
    This statement in the SOD clearly states that JDev is the strategic platform and the Eclipse IP will be ported to JDev in the future:
    Design-Time Environment
    JDeveloper is the IDE of choice for SOA development at Oracle. AquaLogic Service Bus users have traditionally been using the web-based console to design, manage and monitor ESB flows. The web console is a key differentiator for ALSB (now Oracle Service Bus) and will therefore remain a primary design
    environment moving forward.
    The web-based console was complemented in the 3.0 release with full IDE support in Eclipse. The Eclipse capabilities will be ported to Oracle JDeveloper to provide a
    one-stop IDE for all SOA design needs. Until that port is complete, customers will still be able to use the Eclipse environment as IDE (in addition to the web-based
    console).
    cheers
    James

  • Oracle Identity Manager 9.1.0.2 and Oracle Weblogic server 11g R1 b(10.3.1)

    Hi,
    can we Install Oracle Identity Manager 9.1.0.2 version on Oracle Weblogic server 11h R1 b(10.3.1)?
    Is it OIM 9.1.0.2 compatible to install on Oracle Weblogic server 11h R1 b(10.3.1).
    Early response is appreciated

    Check this
    http://www.oracle.com/technology/software/products/ias/files/idm_certification_101401.html#BABGBGHI
    And Oracle has mentioned that
    *2.1 Certified Application Servers*
    Note: There is no change in application server certification from
    release 9.1.0.1 to release 9.1.0.2.
    Oracle WebLogic Server 10.3
    But you can try with new version of Weblogic. It shouldn't create any problem.

  • Migration from Oracle OC4J to Weblogic 10.3 and CLOB ClassCastException

    I am migrating a web application from Oracle OC4J to Weblogic 10.0.3. In this application there are number of java files which uses the following piece of code and I can't change that:
    oracle.sql.CLOB clob = (oracle.sql.CLOB)rs.getClob(columnNumber);
    I have deployed the application on Weblogic Application Server. But when I run the application, it gives me the following exception:
    *1. SEVERE: Standard exception info for exception of type: 'java.lang.ClassCastException' at level: 0 - Error Text: 'weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB'*
    *2. Apr 3, 2008 10:19:33 AM com.agencyport.menu.MenuController insert*
    *3. SEVERE: java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB*
    *4.*
    *5. at com.agencyport.database.OracleDatabaseAgent.updateLOB(OracleDatabaseA*
    *6. gent.java:111)*
    *7. at com.agencyport.menu.MenuController.insert(MenuController.java:815)*
    [Post New]posted Today 11:09:13 AM private message
    Quote [Up]
    Dear Marcos,
    I have tried using ojdbc5, ojdbc6 and classess12 but with the same result. I am stuck with the problem. I have googled a lot but in vein. In some posts I got the idea to use weblogic.jdbc.vendor.oracle.OracleThinClob. But there is no package or class like mentioned in bold, available in weblogic.jar that I get from WEBLOGIC_HOEM/lib. I have downloaded weblogic 10.3 two times but still got no solution. weblogic.jar does not contain weblogic.jdbc.vendor.oracle.OracleThinClob.
    I have also read about using weblogic.jdbc.common.OracleClob to write unicode data but I do not find this package within the weblogic.jar
    Any idea please......
    Regards
    Muhammad Ijaz

    Have you reviewed this set of documentation:
    http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1043705
    http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1045809
    http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1043777
    There is also a special forum for WebLogic JDBC related questions:
    WebLogic Server - JDBC

  • Weblogic 8.1.6 and Oracle 9.2.0.8 - query performance

    Folks,
    We are upgrading WebLogic from 8.1.5 to 8.1.6 and Oracle from 9.2.0.6 to 9.2.0.8. We use the Oracle thin client driver for 9.2.0.8 to connect from the application to Oracle.
    When we use the following combination of the stack we see SQL query performance degradation: -
    Oracle 9.2.0.8 database, Oracle 9.2.0.8 driver, WL 8.1.6
    Oracle 9.2.0.8 database, Oracle 9.2.0.1 driver, WL 8.1.6
    We do not see the degradation in case of the following: -
    Oracle 9.2.0.8 database, Oracle 9.2.0.1 driver, WL 8.1.5
    Oracle 9.2.0.6 database, Oracle 9.2.0.1 driver, WL 8.1.5
    This shows that the problem could be with the WL 8.1.6 version and I was wondering if any of you have faced this before? The query retrieves a set of data from Oracle none of which contain the AsciiStream data type, which is noted as a problem in WL 8.1.6, but that too, only for WL JDBC drivers.
    Any ideas appreciated.

    Folks,
    We are upgrading WebLogic from 8.1.5 to 8.1.6 and Oracle from 9.2.0.6 to 9.2.0.8. We use the Oracle thin client driver for 9.2.0.8 to connect from the application to Oracle.
    When we use the following combination of the stack we see SQL query performance degradation: -
    Oracle 9.2.0.8 database, Oracle 9.2.0.8 driver, WL 8.1.6
    Oracle 9.2.0.8 database, Oracle 9.2.0.1 driver, WL 8.1.6
    We do not see the degradation in case of the following: -
    Oracle 9.2.0.8 database, Oracle 9.2.0.1 driver, WL 8.1.5
    Oracle 9.2.0.6 database, Oracle 9.2.0.1 driver, WL 8.1.5
    This shows that the problem could be with the WL 8.1.6 version and I was wondering if any of you have faced this before? The query retrieves a set of data from Oracle none of which contain the AsciiStream data type, which is noted as a problem in WL 8.1.6, but that too, only for WL JDBC drivers.
    Any ideas appreciated.

  • Which database driver is required for weblogic 10.3 and Oracle DB 11g both on MS2008 separate server

    Hi,
    i am trying to configure JDBC with weblogic. Can any one tell me which deriver needs to be selected for weblogic 10.3 and Oracle DB 11g both on MS2008 separate server.
    if i use BEA oracle Driver (Type 4) version 9.0.1, 9.2.0,10,11,  i find error (see snap:2)
    Connection test failed.
    [BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: hdyhtc137540d<br/>weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)<br/>weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.connect(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseDriver.connect(Unknown Source)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)<br/>c om.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConn ectionConfiguration(CreateJDBCDataSource.java:369)<br/>sun.reflect.GeneratedMethodAccessor 826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...
    and
    when i use oracle's driver (thin) version 9.0.1, 9.2.0,10,11, i find error
    Connection test failed.
    Io exception: The Network Adapter could not establish the connection<br/>oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:10 1)<br/>oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)<br/>oracle .jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)<br/>oracle.jdbc.drive r.DatabaseError.throwSqlException(DatabaseError.java:229)<br/>oracle.jdbc.driver.DatabaseE rror.throwSqlException(DatabaseError.java:458)<br/>oracle.jdbc.driver.T4CConnection.logon( T4CConnection.java:411)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnectio n.java:490)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)<br/>oracle .jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)<br/>oracle.jdbc. driver.OracleDriver.connect(OracleDriver.java:474)<br/>com.bea.console.utils.jdbc.JDBCUtil s.testConnection(JDBCUtils.java:505)<br/>com.bea.console.actions.jdbc.datasources.createjd bcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:36 9)<br/>sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...

    i am finding this error when i click on Test Configuration button to test the connection wth oracle DB

  • CachedRowSet problem in Weblogic 6.1 and Oracle thin driver 9.0.1

    Has anyone used the CachedRowSet class successfully? (this classes are
    new and from the JDBC extension pack)
    I am experiencing "Not in a transaction" errors when executing
    cachedrowset.populate(resultset), even though I'm inside a correct
    ut.begin and ut.commit transaction.
    Note I don't have these problems when I don't use the CachedRowSet
    classes.
    If I remove the setFetchSize(50) line, then I receive the ORA-01002:
    fetch out of sequence error, which is discussed in another post on
    this newsgroup.
    I don't have any of these problems at all, if I use the Oracle Thin
    Driver directly (i.e. not using Weblogic 6.1).
    -H
    Example of code:
    stmt = getConnection().createStatement();
    stmt.setFetchSize(50);
    stmt.executeQuery("SELECT * FROM ASSET");
    rs = stmt.getResultSet();
    crs = new CachedRowSet();
    crs.populate(rs);

    Hi Arturo,
    What kind of a problem do you have? Any stacktraces?
    Regards,
    Slava Imeshev
    "Arturo Fernandez" <[email protected]> wrote in message
    news:[email protected]..
    Hi! I have a problem with CLOB column in Oracle 8.1.7. My enviroment
    is:
    Windows 2000, BEA WLS 6.1 and Oracle 8.1.7. I'm trying to use
    'classes12.zip' provided by Oracle. I added 'classes12.zip' to
    CLASSPATH after than 'weblogic.jar' in my startup server script, but
    it fails when trying to retrieve a CLOB data from database. Script
    includes:
    setCLASSPATH=.\classes12_01.zip;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
    >
    But this driver and the code runs sucessfully with the same database
    and weblogic 5.1. I'm interesting in use this driver and this code
    because i'm trying to migrate two applications from WLS 5.1 to WLS 6.1
    I cannot find a solution.
    Can everybody help me, please? It's urgent for me...

  • Problem pool weblogic 6.1 and oracle thin driver 8.1.7

    Hi! I have a problem with CLOB column in Oracle 8.1.7. My enviroment
    is:
    Windows 2000, BEA WLS 6.1 and Oracle 8.1.7. I'm trying to use
    'classes12.zip' provided by Oracle. I added 'classes12.zip' to
    CLASSPATH after than 'weblogic.jar' in my startup server script, but
    it fails when trying to retrieve a CLOB data from database. Script
    includes:
    set CLASSPATH=.\classes12_01.zip;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
    But this driver and the code runs sucessfully with the same database
    and weblogic 5.1. I'm interesting in use this driver and this code
    because i'm trying to migrate two applications from WLS 5.1 to WLS 6.1
    I cannot find a solution.
    Can everybody help me, please? It's urgent for me...

    Hi Arturo,
    What kind of a problem do you have? Any stacktraces?
    Regards,
    Slava Imeshev
    "Arturo Fernandez" <[email protected]> wrote in message
    news:[email protected]..
    Hi! I have a problem with CLOB column in Oracle 8.1.7. My enviroment
    is:
    Windows 2000, BEA WLS 6.1 and Oracle 8.1.7. I'm trying to use
    'classes12.zip' provided by Oracle. I added 'classes12.zip' to
    CLASSPATH after than 'weblogic.jar' in my startup server script, but
    it fails when trying to retrieve a CLOB data from database. Script
    includes:
    setCLASSPATH=.\classes12_01.zip;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
    >
    But this driver and the code runs sucessfully with the same database
    and weblogic 5.1. I'm interesting in use this driver and this code
    because i'm trying to migrate two applications from WLS 5.1 to WLS 6.1
    I cannot find a solution.
    Can everybody help me, please? It's urgent for me...

  • Problem setting up APEX 4 with WebLogic and Oracle XE

    I'm am trying to install and test Application Express 4 (latest version) on a brand new installation of Oracle WebLogic Server and Oracle XE.
    I have followed the Installation Guide for APEX and have successfully installed all tables and scripts into my Oracle XE schema and am able to connect to the Application Express Workspace login page (http://localhost:8080/apex) but am not able to log in. All styles and images are missing.
    I have followed the steps in the Application Express Listener Guide to install the Listener to my WebLogic deployments and have my i.war and apex.war files deployed but these apparently are not working. When I go to my WebLogic server and view the /apex/ListenerConfigure page I can see the page but get an HTTP 404 "Page Not Found" error and appears to be looking for the WLS's apex/apex directory.
    Note: My Oracle XE / APEX setup is on a separate server than my WebLogic server.
    Also, I see the APEX Listener file (apex-confix.xml) from the install zip file but I don't believe it is being used anywhere, as the documentation never told me what to do with it.
    Any help would be awesome. Let me know what I can provide that I haven't. Thanks!

    Thank you, I was able to use what you said as well as this information here: Installing Apex 4 on Oracle XE:  Almost there, but no cigar yet!
    Thank you for the help :)

  • Weblogic and Oracle VM

    Hi all,
    Is Weblogic certified to run on an operating system such as Oracle Enterprise Linux (OEL 5.x) that is running on an Oracle VM? Metalink note "Oracle VM General Policy Description [ID 466538.1]" makes me hesitant about Weblogic on Oracle VM. Also the metalink note "Certified Software on Oracle VM [ID 464754.1]" did not seem to give a clear indication about Weblogic.
    Thanks,

    See these two points (http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html):
    # If an Oracle product has been certified against and is supported on a version of Red Hat Enterprise Linux (RHEL),
    it is automatically certified and supported on the corresponding version of Oracle Linux . (e.g., RHEL4->Oracle Linux 4, RHEL5->Oracle Linux 5).
    # If a product is supported and certified on Oracle Linux or RHEL, it is also certified and supported in the virtualized
    installation of the same version of Oracle Linux or RHEL running on Oracle VM. (e.g. Oracle Linux 4 -> Oracle Linux 4 on Oracle VM,
    Oracle Linux 5 -> Oracle Linux 5 on Oracle VM, RHEL4 -> RHEL4 on Oracle VM, RHEL 5 -> RHEL5 on Oracle VM).
    Oracle recommends using latest updates levels and Oracle VM versions available.
    Looks like Oracle Enterprise Linux (OEL 5.x) that is running on an Oracle VM is certified.

  • Error 403--Forbidden using eclipse and weblogic

    hi,
    i am new here on j2ee
    I am using eclipse3.4 and weblogic 9.1.2 on xp. I am trying to make simple hello world servlet
    here is what i did
    on the eclipse click New and click on Dynamic project
    click on Servlet and write following code for the servlet
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class SecondServlet
    public class SecondServlet extends HttpServlet {
         public void service (HttpServletRequest req, HttpServletResponse res)
         throws IOException
              res.setContentType("text'html");
              PrintWriter out = res.getWriter();
              out.println("<html><head>" + "<title> Hello World </title></head>" +
                        "<h1>Hello Worldasd </h1></body></html>");
    folder structure and file web.xml is created by eclipse itself.
    then i started weblogic from the eclipse
    and i have following error
    http://localhost:7001/SecondServlet/
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

    I do connect with router/modem
    eclipse did create weblogic.xml. here it is
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <wls:jsp-descriptor>
    <wls:keepgenerated>true</wls:keepgenerated>
    <wls:working-dir>C:\Documents and Settings\Owner\My Documents\jj\java-files\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\SecondServlet</wls:working-dir>
    <wls:debug>true</wls:debug>
    </wls:jsp-descriptor>
    <wls:context-root>SecondServlet</wls:context-root>
    </wls:weblogic-web-app>
    i did create a user proejct domain in weblogic.
    I did try by login through localhost:7001/console. but it didn't work. following is the problem
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
    any more suggestion will be helpful.
    this is just a start so please i need to solve this problem so that i can move ahead
    thanks
    Edited by: chitochez on Dec 18, 2008 5:45 AM

  • Any kind of integration experience with Weblogic JMS and Oracle AQ?

    Hi,
    In my company I work with java developers who believe in some kind of "holly" database independence I don't understand and as a result my life as a database developer is hell on earth.. Yesterday we again started to discuss, this time where to log, they believe database is slow and prefer logging to filesystem, after some hours finally I could convince them for some operational and reporting needs to use the database and will do this in an asyncronous way whiich they won't get slow. After all I believe the reason for a database is data, this is the place where data lives, and with the correct desing and implementation logging to database would perform better.
    I love Oracle features, and know that we paid a lot for this software, so today I started investigating this promised solution. And quickly I found AQ and JMS topics in the documentation :)
    After this introduction here is my problem; my company use BEA Weblogic as application server and the java guys want AQ to automatically (but of course with some delay) take their JMS log requests into database tables. Does any one have similar application experience, or any kind of integration experience with Weblogic JMS and Oracle AQ?
    Any comments, references, documentation, sample code, url will be most welcomed :)
    Thank you very much!
    Tonguc
    [email protected]
    References I found upto now;
    Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14291/toc.htm
    (Packages; javax.jms & oracle.jms)
    Oracle® Streams Advanced Queuing User's Guide and Reference 10g Release 2 (10.2) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14257/toc.htm
    Part IV
    Using Oracle JMS and Oracle Streams AQPart V describes how to use Oracle JMS and Oracle Streams Advanced Queuing (AQ).
    Chapter 11, "Introducing Oracle JMS"
    Chapter 12, "Oracle JMS Basic Operations"
    Chapter 13, "Oracle JMS Point-to-Point"
    Chapter 14, "Oracle JMS Publish/Subscribe"
    Chapter 15, "Oracle JMS Shared Interfaces"
    Chapter 16, "Oracle JMS Types Examples"
    A Sample Code from Otn
    http://www.oracle.com/technology/sample_code/tech/java/web_services/jmsws/NewsQueueEJB.java.html

    I wouldn't go as far to say Oracle AQ is out-dated today. However, it is indeed a proprietary technology that did not found much main-stream adoption in the earlier years after its introduction. The advent of JMS made it somewhat more useful (or should I say intriguing, because more people are trying to tie it together with other J2EE technologies), but the Oracle's JMS wrapper classes in aqapi.jar were not feature complete for a long while, so using it outside Oracle's application server was painful, if not impossible. I do agree that the info at the dev2dev's JMS newsgroup or in this forum is highly fragmented, as neither Oracle nor BEA provides an official solution to integrate AQ with WebLogic, so people like us have to learn the technology through experimentation and in a piecemeal fashion.
    3 years ago I was literally "playing around" - we had a polling mechanism set up to use triggers to write Oracle data changes into an event table, and had a Java-based daemon to scan that table and publish events as JMS messages to the WebLogic JMS server. This continues to work reliably till today, but I was looking for a solution that has few parts - I wanted to hook up my WebLogic MDB directly to AQ as a foreign JMS provider. Although I was able to get it to work (including XA), there were a few hoops I had to jump through, such as decompiling the Oracle AQjms classes to make them bind to the WebLogic JNDI tree.
    One year after that Diptanshu Parui took what I did a giant step further - he extended the Oracle AQjms classes to allow them to be bound to the WebLogic JNDI tree naturally, and he figured out how to use WebLogic JMS messging bridge to re-send single-threaded AQ JMS messages to clustered JMS queues, which allow concurrent message assumption by multiple instances of MDB's. My impression is that he is using that setup in a production environment.
    I am sure you are aware of it but I would like to make it clear - in order to use AQ as a foreign JMS provider to WebLogic-hosted MDB's, you don't need to update your database to Oracle 10g - Oracle 8i is good enough (although I recommend at least 9i Release 2). It is not the database engine, but rather the aqapi.jar JMS wrapper on top of AQ that matters. I do recommend that you use aqapi.jar from Oracle Application Server 10.0.3 or up for better XA support, among other things. Again, you don't have to replace WebLogic with Oracle AS - you only need a single jar file from it and put it in your WebLogic's classpath. However, I don't know what this means from a licensing point of view if you ever go to production - do you have to pay the full price of OracleAS or OC4J just to use the aqapi.jar?
    In the coming days I will test the latest aqapi.jar to see how much progress Oracle has made in terms of making their J2EE products more spec-compliant :-).
    Hope the above gives you a different perspective.
    Eric

Maybe you are looking for