OraclePersistManager.updateBlobs() errors in using WebLogic DataSource

CONFIGURATION
Ap server: WebLogic 8.1
Oracle database: 10g
Oracle JDBC Driver: ojdbc14.jar, ojdbc14_g.jar, classes12.jar
DESCRIPTION
We have developed an application- V3- on top of ADF, and currently, we wanna deployed V3 from OC4J to WebLogic, and we used weblogic data source to access oracle database. The following Exception occurred in deployment to Weblogic.
java.lang.ClassCastException: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB
     at oracle.jbo.pcoll.OraclePersistManager.updateBlobs(JI[Loracle.jbo.pcoll.PCollKeyInfo;[BILoracle.jdbc.OracleCallableStatement;)V(OraclePersistManager.java:1682)
     at oracle.jbo.pcoll.OraclePersistManager.insert(JJI[Loracle.jbo.pcoll.PCollKeyInfo;[B)V(OraclePersistManager.java:1832)
     at oracle.jbo.pcoll.PCollNode.passivateElem(Loracle.jbo.pcoll.PCollPersistable;Loracle.jbo.pcoll.PCollNode;Loracle.jbo.pcoll.PCollection;J)Z(PCollNode.java:561)
     at oracle.jbo.pcoll.PCollNode.passivate()Z(PCollNode.java:684)
     at oracle.jbo.pcoll.PCollNode.passivateBranch()Z(PCollNode.java:643)
     at oracle.jbo.pcoll.PCollection.passivate()J(PCollection.java:461)
     at oracle.jbo.server.DBSerializer.passivateRootAM(I[BI)I(DBSerializer.java:294)
     at oracle.jbo.server.DBSerializer.passivateRootAM([B)I(DBSerializer.java:267)
     at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(I[BI)I(ApplicationModuleImpl.java:5123)
     at oracle.jbo.server.ApplicationModuleImpl.passivateState(I[BI)I(ApplicationModuleImpl.java:5011)
     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(Loracle.jbo.ApplicationPoolSvcMsgContext;)Loracle.jbo.ApplicationPoolSvcMsgContext;(ApplicationModuleImpl.java:7741)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(Loracle.jbo.ApplicationPoolSvcMsgContext;Loracle.jbo.common.ampool.SessionCookie;Loracle.jbo.common.ampool.ApplicationPoolImpl$SessionCookieInfo;Loracle.jbo.ApplicationModule;Loracle.jbo.common.ampool.ApplicationPoolImpl$ApplicationModuleInfo;)V(ApplicationPoolImpl.java:3923)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(Loracle.jbo.common.ampool.SessionCookie;Z)V(ApplicationPoolImpl.java:2161)
     at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(Loracle.jbo.common.ampool.SessionCookie;I)V(ApplicationPoolImpl.java:1261)
     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(IJ)V(SessionCookieImpl.java:717)
     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(ZZJ)V(SessionCookieImpl.java:629)
     at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(ZZ)V(SessionCookieImpl.java:611)
     at oracle.cabo.data.jbo.servlet.RootAppModuleRegistryImpl$ReleaseRootAppModule.unbindValue()V(Unknown Source)
     at oracle.cabo.share.util.BindableNamespaceMap.unbindAll()V(Unknown Source)
     at oracle.cabo.servlet.BaseBajaContext.dispose()V(Unknown Source)
     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Loracle.cabo.servlet.BajaContext;)Loracle.cabo.servlet.Page;(Unknown Source)
     at oracle.cabo.servlet.UIXServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
     at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
     at weblogc.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Obect;(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
     at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
After decompiling class file of OraclePersistManager, it is because the following statement, which wanted to Cast returned object to Oracle.sql.BLOB.
BLOB blob = (BLOB)oraclecallablestatement.getObject(j++);
After searching the internet, the following url says it should be casted to weblogic.jdbc.vendor.oracle.OracleThinBlob.
http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html#1043777
oracle.jbo.pcoll.OraclePersistManager is the foundation class in ADF, of which code can NOT be revised. So, what should we do to resolve such error?? Please help to get it resolved ASAP, Thx for ur time...
cheers
Adam

Hi. The problem is that in several places in Oracle JDBC extensions,
they have methods that claim they take generic JDBC objects, such
as java.sql.Blob, but they actually assume that the object is an
Oracle driver object, and do such casts internally. WebLogic always
generates a wrapper around JDBC objects so we can control transactions
and prevent unintended multithreaded use of pooled connections.
In this case, the only quick solution is to judiciously use our
getVendorConnection() call and generate/obtain the actual Oracle
blob object to pass to the OraclePersistenceManager. Do note though
that this will initially mean that the pool connection will be closed and
replaced at the end of the current invoke, to protect the pool. This is
reconfigurable, but please read our docs.
Joe Weinstein at BEA Systems

Similar Messages

  • Data error when using Weblogic DataSource

    I have set up a Datasource in Weblogic 10.3 using the JDBC Driver - Oracle's Driver (thin) Versions:9.0.1,9.2.0,10,11.
    - provided with Weblogic Server.
    When I execute a Servlet call - a certain line rs.getString () returns a wrong value.
    For example we have a join Query that returns multiple records which have the same field returned in 5 records.
    This feilds value is " 0000000" and it is of type "varchar" . Out of the 5 times rs.getString() is executed , 3 times it returns the following values: "0^H11508^H" "1501^H115" "0^H10000^H" .
    Twice it returns the correct value.
    This does not occur if the Servlet uses a direct Database connection and not the datasource pool.
    So I think it is a Driver issue. What JDBC Driver should I be using when I create the pool.Also should I be setting Character Set or any other property,.
    Our Database version is Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production.
    Weblogic version 10.3 . Operating System - Linux Red Hat.
    Appreciate your help. This is urgent since its in production now and users will start using this from Monday.

    Hi. This indicates a bug in the driver, to do with
    re-use of prepared statements (because the
    statement cache will transparently dish up
    the same statement for repeated prepareStatement()
    calls.)
    So, first upgrade the ojdbc14.jar in your server\lib directory
    to the latest one you can download, and let us know if
    the problem goes away or remains. Can we assume that you set
    the statement parameters with exactly the same calls each time?
    Joe

  • Error Connecting to Database using Weblogic Datasource

    Hi,
    I am trying to connect to oracle database from my program using weblogic DataSource. I am using JDK1.3.1.08 , weblogic 7.
    I am using the following code to get Connection object.
    contextFactory ="weblogic.jndi.WLInitialContextFactory";
    providerURL="t3://192.168.0.29:7001";
    dataSource ="temp_ds";
    if(contextFactory!=null)
    properties.put(Context.INITIAL_CONTEXT_FACTORY,contextFactory);
    if(providerURL !=null)
    properties.put(Context.PROVIDER_URL, providerURL);
    initCtx = new InitialContext(properties);
    DataSource ds= (javax.sql.DataSource) initCtx.lookup(dataSource);
    Connection con = ds.getConnection();
    con.setAutoCommit(false);
    I am getting the following error while running the program. Can any body help?
    javax.naming.CommunicationException. Root exception is weblogic.socket.Unrecove
    rableConnectException: [JDK 1.3 or higher required]
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(IOException.java:47)
    at java.net.SocketException.<init>(SocketException.java:36)
    at java.net.ConnectException.<init>(ConnectException.java:34)
    at weblogic.socket.UnrecoverableConnectException.<init>(UnrecoverableCon
    nectException.java:19)
    at weblogic.rjvm.RJVMManager.checkVersion(RJVMManager.java:451)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java
    :201)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:191)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:203)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:169)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:262)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compi
    led Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:221)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)
    at WeblogicTest.getConnection(WeblogicTest.java:40)
    at WeblogicTest.<init>(WeblogicTest.java:23)
    at WeblogicTest.main(WeblogicTest.java:18)
    at WeblogicTest.printTableData(Compiled Code)
    at WeblogicTest.<init>(WeblogicTest.java:24)
    at WeblogicTest.main(WeblogicTest.java:18)
    Regards
    Kumar

    I am not sure if this is the reason, but going thru the stack trace ...
    javax.naming.CommunicationException. Root exception is weblogic.socket.Unrecove
    rableConnectException: [JDK 1.3 or higher required]Make sure you have JDK 1.3 or higher installed.
    Cheers
    Sekar

  • My problem in using weblogic Datasource and proxy user

    Hello
    I create a DataSource in Weblogic that connect to the database by a proxy user and I have a client application that use this DataSource and create a proxy session , I've written my client application (it's a stand alone client application) code below :
    public static void main(String [] args) {
    OracleConnection conn=null;
    javax.sql.DataSource ds=null;
    Hashtable env = new Hashtable();
    env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
    env.put(Context.PROVIDER_URL, "t3://127.0.0.1:7001");
    try{
    Context context=new InitialContext( env );
    ds=(javax.sql.DataSource) context.lookup ("OracleConnection2");
    conn=(OracleConnection) ds.getConnection();
    java.util.Properties prop = new java.util.Properties();
    prop.put(OracleConnection.PROXY_USER_NAME, "web_user1");
    prop.put(OracleConnection.PROXY_USER_PASSWORD,"web_user1");
    conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME, prop);
    if (conn.isClosed()){
    System.out.println("Connection closed");
    return;
    testJDBC(conn,true);
    for(int k=0;k<10;k++){
    testJDBC(conn,false);
    conn.close(OracleConnection.PROXY_SESSION);
    conn.close();
    }catch(Exception ex){
    ex.printStackTrace();
    It works but my problem is that in line "prop.put(OracleConnection.PROXY_USER_PASSWORD,"web_user1")" or line "prop.put(OracleConnection.PROXY_USER_NAME, "web_user1");"
    Let me to mention a scenario :
    *1- I type a wrong username or password in my client application and I run the client application it shows me this error : invalid username/password*
    *this error is acceptable*
    *2- then I correct the wrong username or password immediately and run the application again , it shows me this error (at line conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME, prop)) :*
    java.sql.SQLException: Closed Connection
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at oracle.HRFacadeClient.main(HRFacadeClient.java:38)
    *3- I run the application again (by correct username and password) but this time it shows me this error :*
    java.sql.SQLException: Unsupported feature
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
         at oracle.HRFacadeClient.main(HRFacadeClient.java:38)
    *4 - if I repeat running the application for multi times every time it shows me the previous error*
    *5- I wait about one minute the problem solved and my application can create proxy session *
    the result is that if I wanna create proxy session by wrong username or password and I get "Invalid username/password" error message , then after correcting username or password I have to wait about one minute and then run the application again_
    Do you know how I can overcome this problem ?
    Thank you

    Hi Jamshid,
    There is same problem observed few days back with us, and we have used the below code, and it got solved. Actually there is a problem observed while using proxy connections on weblogic.
    if(conn instanceof weblogic.jdbc.extensions.WLConnection){
         weblogic.jdbc.extensions.WLConnection cn=(weblogic.jdbc.extensions.WLConnection)conn;
         cn.clearStatementCache();
    http://rocksolutions.wordpress.com/2010/06/04/connection-pool-issue-on-weblogic/
    Hope this helps.
    Thanks

  • Exception while using weblogic datasource in ADF-BC app

    Hi,
    I want to use the weblogic datasource[JNDI name] as the datasource for my ADF BC application.
    I am following the "Configuring Your Application Module Database Connection" in the link
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcservices.htm#CHDJDBJB.
    I have done the following steps.
    1.Started weblogic server and configured a datasource[ex:testbcDS]
    2.In JDeveloper,navigated to 'Configuration' panel,edited the '**ModuleLocal' and changed the connection type to 'JDBC DataSource'.
    and Datasource Name to 'java:comp/env/jdbc/testbcDS'.
    3.In JDeveloper,wrote a stand alone Java client with the following snippet.
    public static void main(String[] args) {
    try {           
    String amDef = "oracle.communications.platform.bcapp.poc.app.AppModule";
    String config = "AppModuleLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
    ViewObject rscGroupVo = am.findViewObject("IfwRscGroupView1");
    rscGroupVo.executeQuery();
    4.On execution of this the following exception is being displayed in the console
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/testbcDS
    at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    Please let me know if I have followed correct steps and let me know the missing/wrongs steps I have done.
    The same works fine when the connection type is 'JDBC URL'.
    Please suggest.
    Thanks,
    Praveen

    Hi,
    After your suggestion I created weblogic data source with name as 'jdbc/testbcDS'
    and JNDI Name as 'jdbc/testbcDS'.
    Still I get the same error.
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/testbcDS
    at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
    Thanks,
    Praveen

  • Error when using OC4J Datasource

    Hi,
    A customer is using a Servlet to run in an OC4j instance and is using EJB's for data DML.
    To work around the possibility that XMLTypes are not supported we do an update in the DoPost.
    public void ejbPostCreate(String mediumnummer, String inzender, String inhoud, PrlBerichttypeLocal prlBerichttypeLocal)
    OracleConnection oconnection = null;
    OraclePreparedStatement opstmt = null;
    CLOB tempCLOB = null;
    try
    oconnection = (OracleConnection)getConnection();
    String sql = "";
    sql += "update prl_xml_berichten SET ";
    sql += "INHOUD = XMLTYPE(?) where id = ?";
    opstmt = (OraclePreparedStatement)oconnection.prepareCall(sql);
    System.out.println(sql);
    System.out.println("username : "+ oconnection.getMetaData().getUserName());
    tempCLOB = CLOB.createTemporary(oconnection,true,CLOB.DURATION_SESSION);
    Writer writer = tempCLOB.getCharacterOutputStream();
    writer.write(inhoud);
    writer.flush();
    writer.close();
    opstmt.setCLOB(1,tempCLOB);
    opstmt.setLong(2,id.longValue());
    boolean test = opstmt.execute();
    tempCLOB.trim(0);
    if (!test) System.out.println("Succes !!!!");
    else System.out.println("Failure!!!");
    // connection.commit();
    catch (Exception exc)
    System.out.println("Fout bij inhoud update ");
    exc.printStackTrace();
    finally
    try
    if (opstmt != null) opstmt.close();
    if (oconnection != null) oconnection.close();
    System.out.println("create dopost gedaan...");
    catch (SQLException sqlex)
    sqlex.getMessage();
    System.out.println("Fout bij afsluiten dopost");
    When they are using the getConnection from the Datasource:
    private Connection getConnection() throws NamingException, SQLException
    InitialContext context = new InitialContext();
    DataSource dataSource = null;
    // Look up data source object in directory service using JNDI
    dataSource = (DataSource)context.lookup("jdbc/prlDS");
    // Establishing db connection
    return dataSource.getConnection();
    The following error occurs:
    username : PRL
    create dopost gedaan...
    com.evermind.server.rmi.OrionRemoteException: javax.ejb.EJBException: java.lang.AbstractMethodError: oracle.jdbc.OracleConnection oracle.jdbc.OracleConnection.unwrap()
    java.rmi.RemoteException com.evermind.server.ejb.EJBUtils.getUserException(java.lang.Throwable, boolean) EJBUtils.java:263
    java.lang.String CheckIn_StatelessSessionBeanWrapper8.checkInMessage(java.lang.String[]) CheckIn_StatelessSessionBeanWrapper8.java:126
    When we change it to the connection setup with a hard string it does work:
    private Connection getConnection() throws NamingException, SQLException
    DriverManager.registerDriver(new OracleDriver());
    return DriverManager.getConnection(Receiver.DATASOURCE);
    Does anybody have an idea what the difference is with the direct connect string or the datasource from OC4J.
    I attached the full error and the datasource.xml.
    Regards,
    Remco

    Hi Remco,
    You may not be aware of this, but the "Connection" returned from a "DataSource" is not necessarily the same as the one returned from "DriverManager". If I remember correctly, there was a similar question to yours posted to this forum, not so long ago. As I recall, Steve Button mentioned that there are emulated and non-emulated "Connection"s. I saw no mention in your post regarding which version of OC4J you are using, so I will assume the latest, stand-alone, production version (9.0.3). The Data Sources chapter of Oracle9iAS Containers for J2EE Services Guide has more details.
    Good Luck,
    Avi.

  • I am getting build error while using weblogic.appc

    Hi All,
    I am using weblogic 10 server and ejb 3.0 code .
    While ejb-complisation i am getting the class not found error.
    Please help me in resolving the below issue.
    ejb-compile:
    [echo] E:\workspace\OMGAdmin\OMGADMIN/omgAdminBuild/omgAdminEAR
    [java] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/descriptor/BeanUpdateListener
    [java] at java.lang.ClassLoader.defineClass1(Native Method)
    [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [java] at java.lang.Class.forName0(Native Method)
    [java] at java.lang.Class.forName(Class.java:164)
    [java] at weblogic.logging.MessageLogger.<clinit>(MessageLogger.java:46)
    [java] at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
    [java] at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.java:5257)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:179)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:188)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Java Result: 1
    <target name="ejb-compile" depends="ejb-jar">
         <echo message="${project.EAR.dir}"></echo>
         <java classname="weblogic.appc" fork="yes">
    <sysproperty key="weblogic.home" value="${wl.home}"/>
    <arg line="-compiler javac ${project.EJB.dir}/omgAdminEJB.jar"/>
    <classpath>
    <pathelement location="${wl.dir.lib}\weblogic.jar"/>
    <pathelement location="${wl.dir.lib}\api.jar"/>
    <pathelement location="${wl.dir.lib}\wls-api.jar"/>
              <pathelement location="${project.EAR.dir}\utility.jar"/>
              <pathelement location="${project.lib}\log4j-1.2.13.jar"/>
    </classpath>
    </java>
         <copy todir="${project.EAR.dir}" >
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar" />
    </copy>
         <delete>
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar"/>
    </delete>
    </target>
    above script is my ant task for ejb compilisation
    Regd's
    Soma.

    Finally i am end up with this exception
    [java] Exception in thread "main" java.lang.AssertionError: java.lang.reflect.InvocationTargetException
    [java] at weblogic.logging.MessageLogger.log(MessageLogger.java:104)
    [java] at weblogic.logging.MessageLogger.log(MessageLogger.java:116)
    [java] at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
    [java] at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.java:5257)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:179)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:188)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Caused by: java.lang.reflect.InvocationTargetException
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at weblogic.logging.MessageLogger.log(MessageLogger.java:101)
    [java] ... 8 more
    [java] Caused by: java.lang.NoClassDefFoundError: weblogic/management/DistributedManagementException
    [java] at java.lang.Class.getDeclaredMethods0(Native Method)
    [java] at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2488)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2498)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2498)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2498)
    [java] at java.lang.Class.getMethods(Class.java:1406)
    [java] at weblogic.kernel.MBeanStub.initializeFromSystemProperties(MBeanStub.java:51)
    [java] at weblogic.kernel.LogMBeanStub.<init>(LogMBeanStub.java:41)
    [java] at weblogic.kernel.KernelMBeanStub.<init>(KernelMBeanStub.java:10)
    [java] at weblogic.kernel.KernelLogManager$LoggerMaker.<clinit>(KernelLogManager.java:22)
    [java] at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:28)
    [java] ... 13 more
    [java] Java Result: 1
    My Build file is
    <target name="ejb-compile" depends="ejb-jar">
         <echo message="${project.EAR.dir}"></echo>
         <echo message="${wl.modules.lib}\com.bea.core.descriptor_1.0.1.0.jar" />
         <echo message="${wl.dir.lib}\weblogic.jar" />
         <java classname="weblogic.appc" fork="yes">
    <sysproperty key="weblogic.home" value="${wl.home}"/>
    <arg line="-compiler javac ${project.EJB.dir}/omgAdminEJB.jar"/>
    <classpath>
    <pathelement location="${wl.dir.lib}\weblogic.jar"/>
    <pathelement location="${wl.dir.lib}\api.jar"/>
    <pathelement location="${wl.dir.lib}\wls-api.jar"/>
    <pathelement location="${wl.dir.lib}\wlclient.jar"/>
    <pathelement location="${wl.modules.lib}\com.bea.core.descriptor_1.0.1.0.jar"/>
              <pathelement location="${project.EAR.dir}\utility.jar"/>
              <pathelement location="${project.lib}\log4j-1.2.13.jar"/>
    </classpath>
    </java>
         <copy todir="${project.EAR.dir}" >
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar" />
    </copy>
         <delete>
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar"/>
    </delete>
    </target>

  • Error when using weblogic portal 10.3.5

    Hi, everyone.
    - I'm using weblogic portal 10.3.2 to develop a portal. Now, i deploy my project for customer but they want to deploy it in Centos OS.
    - I down load weblogic portal form oracle site but it don't have 10.3.2 version. I use the latest version oracle weblogic portal 10.3.5 but when run my project it has error:
    com.bea.content.AuthenticationException: Error authenticating to repository: WLP. Possible cause could include, but is not limited to a bad repository configuration or the repository is unknown. Error message: java.lang.IllegalMonitorStateException
    - Can anyone help me the link down load oracle weblogic portal 10.3.2 for linux or help me resolve this error.
    Thank a lot!

    Hi..
    They changed a few things in 10.3.. see http://edocs.bea.com/common/docs103/install/silent.html#wp1044118
    looks like the Server sub category has changed to Core Application Server..
    If you checkout the log.txt file in the logs directory of the root where you've installed a copy using the gui, it generally lists all the installation options available.
    ..Mark.

  • Error when using Weblogic Http PubSub

    Hi,
    I am using Weblogic 10.3 with Weblogic Http PubSub with JMS. Weblogic doesn't start if configuration file WEB-INF/weblogic.xml contains the following tag:
    <wls:container-descriptor>
         <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
    </wls:container-descriptor>
    Here follows the stack trace:
    <16-mar-2010 16.40.31 CET> <Error> <HTTP Pubsub Server JMS support> <BEA-2152102> <Cannot initialize topic listener for JMS channel
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:2914)
         at weblogic.jms.client.JMSSession.setupConsumer(JMSSession.java:2687)
         at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2628)
         Truncated. see log file for complete stacktrace
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
         at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
         Truncated. see log file for complete stacktrace
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer.java:259)
         at weblogic.jms.frontend.FESession$2.run(FESession.java:989)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         Truncated. see log file for complete stacktrace
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
         at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
         Truncated. see log file for complete stacktrace
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.backend.BETopicImpl.activateSubscriptionQueue(BETopicImpl.java:225)
         at weblogic.jms.backend.BETopicImpl.createConsumer(BETopicImpl.java:373)
         at weblogic.jms.backend.BESessionImpl.createBEConsumer(BESessionImpl.java:390)
         at weblogic.jms.backend.BESessionImpl.createConsumer(BESessionImpl.java:400)
         at weblogic.jms.backend.BESessionImpl.invoke(BESessionImpl.java:297)
         Truncated. see log file for complete stacktrace
    >
    <16-mar-2010 16.40.31 CET> <Error> <HTTP Pubsub Server> <BEA-2150029> <ControllerServlet initialization failed: Cannot create JMS ChannelManager [com.bea.httppubsub.jms.internal.JmsChannelManagerImpl].
    java.lang.RuntimeException: Cannot create JMS ChannelManager [com.bea.httppubsub.jms.internal.JmsChannelManagerImpl].
         at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.createJmsChannelManager(ChannelManagerFactoryImpl.java:54)
         at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.<init>(ChannelManagerFactoryImpl.java:27)
         at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:116)
         at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:60)
         at com.bea.httppubsub.servlet.ControllerServlet.init(ControllerServlet.java:171)
         Truncated. see log file for complete stacktrace
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.createJmsChannelManager(ChannelManagerFactoryImpl.java:51)
         Truncated. see log file for complete stacktrace
    java.lang.RuntimeException: [HTTP Pubsub Server JMS support:2152102]Cannot initialize topic listener for JMS channel
    javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:2914)
         at weblogic.jms.client.JMSSession.setupConsumer(JMSSession.java:2687)
         at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2628)
         at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:2617)
         at weblogic.jms.client.WLSessionImpl.createConsumer(WLSessionImpl.java:908)
         at com.bea.httppubsub.jms.internal.TopicListener.initialize(TopicListener.java:52)
         at com.bea.httppubsub.jms.internal.JmsChannelManagerImpl.initJmsTopicListeners(JmsChannelManagerImpl.java:68)
         at com.bea.httppubsub.jms.internal.JmsChannelManagerImpl.<init>(JmsChannelManagerImpl.java:37)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.createJmsChannelManager(ChannelManagerFactoryImpl.java:51)
         at com.bea.httppubsub.internal.ChannelManagerFactoryImpl.<init>(ChannelManagerFactoryImpl.java:27)
         at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:116)
         at com.bea.httppubsub.internal.PubSubServerFactoryImpl.createPubSubServer(PubSubServerFactoryImpl.java:60)
         at com.bea.httppubsub.servlet.ControllerServlet.init(ControllerServlet.java:171)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
         at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
         ... 58 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
         at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer.java:259)
         at weblogic.jms.frontend.FESession$2.run(FESession.java:989)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:985)
         at weblogic.jms.frontend.FESession.invoke(FESession.java:2931)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
         ... 61 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
         at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
         at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:184)
         at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:219)
         at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
         ... 68 more
    Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "$002Freps$0030$002FsendImportCCData IS NOT NULL"
         at weblogic.jms.backend.BETopicImpl.activateSubscriptionQueue(BETopicImpl.java:225)
         at weblogic.jms.backend.BETopicImpl.createConsumer(BETopicImpl.java:373)
         at weblogic.jms.backend.BESessionImpl.createBEConsumer(BESessionImpl.java:390)
         at weblogic.jms.backend.BESessionImpl.createConsumer(BESessionImpl.java:400)
         at weblogic.jms.backend.BESessionImpl.invoke(BESessionImpl.java:297)
         at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
         ... 71 more
    If I remove the tags above, everything works correctly. I cannot understand what is the problem.
    I am adding Weblogic Http PubSub to an existent application (so I do not know why tags have been inserted).
    Does anyone can help me understand this problem?
    Thanks in advance.
    Regards,
    Giuseppe

    Hi Giuseppe --
    I would open a service request with Oracle support for this.
    -steve-

  • Hyperion Workspace error ,while using weblogic as application server.

    Hi Experts !
    I have Hyperion 9.3.0 environment and
    I m using web logic 8.1 and facing problem in starting workspace .
    configuration with weblogic is successful but still error while open workspace :
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Please help me..
    Thank you

    Hello,
    Were you able to find any solutions to this problem. We are experiencing the same issue now.
    Thanks
    Srikanth

  • Link error when using WebLogic 6.0 and Oracle 8.1.6

    I have installed WebLogic 6.0 on Solaris platform and verified that the
    server comes up
    and that I can connect to it via Netscape. Next step was to verify
    installation of WebLogic
    jDriver for Oracle. When I run the following:
    java utils.dbping ORACLE scott tiger
    I get the following error:
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message
    '/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
    ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
    fatal: libgen.so.1: open failed: No such file or directory'.
    at
    weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:182)
    Anyone seen this? Help!!!
    Thanks in advance
    Mike Warren, Sr.
    [email protected]
    [att1.html]

    We do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
    do offer a type 4 driver for Linux.
    In version 5.1, I suggest trying the platform independent type 4 JDBC driver
    available for free from Oracle. It is supported (as is any JDBC driver)
    with WebLogic Server. To download it:
    Go to http://www.oracle.com and select the "Download" option.
    From the resulting page, use the "Select Utility or Driver" dropdown to
    select Oracle JDBC drivers
    From the resulting page, scroll down a little (since SQLJ stuff appears at
    the top).
    Or, to go directly there:
    http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
    Thanks,
    Michael
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "Michael W. Warren, Sr." <[email protected]> wrote in message
    news:[email protected]..
    I have installed WebLogic 6.0 on Solaris platform and verified that the
    server comes up
    and that I can connect to it via Netscape. Next step was to verify
    installation of WebLogic
    jDriver for Oracle. When I run the following:
    java utils.dbping ORACLE scott tiger
    I get the following error:
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message
    '/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
    ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
    fatal: libgen.so.1: open failed: No such file or directory'.
    at
    weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:182)
    Anyone seen this? Help!!!
    Thanks in advance
    Mike Warren, Sr.
    [email protected]

  • DB Connections not being released when using Weblogic Datasource

    I am using Kodo-JDO 2.5.3 and Weblogic 8.1.
    I have JDO running as a JCA connector and I have a simple stateless session
    bean persisting a simple object. My problem is that every time I call my
    session bean to persist an object it grabs a connection from the Weblogic
    connection pool and never returns it. So if I have configured a maximum of
    50 connections in the pool, on my 51st call to the session bean I will get
    an error saying it cannot acquire a connection from the pool. (error pasted
    below)
    I have configured my JDO parameters as follows:
    ConnectionRetainMode=persistence-manager (also tried 'transaction')
    TransactionMode=xa
    ConnectionFactoryName=ERDataSource
    ConnectionFactory2Name=NonXADataSource
    At the end of every call to the SessionBean I perform a
    persistenceManager.close(); and a persistenceManager=null;
    Any ideas why connections are not getting re-used?
    Exception I am receiving:
    java.sql.SQLException: Internal error: Cannot obtain XAConnection
    weblogic.common.resourcepool.ResourceLimitException: No resources currently
    available in pool MyJDBC Connection Pool-1 to allocate to applications,
    please increase the size of the pool and retry..
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExcep
    tions.java:64)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getSQLExecutionManag
    er(JDBCStoreManager.java:722)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.setPersistenceManage
    r(JDBCStoreManager.java:133)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.initialize(PersistenceMa
    nagerImpl.java:173)
    at
    com.solarmetric.kodo.ee.EEPersistenceManager.initialize(EEPersistenceManager
    ..java:50)
    at
    com.solarmetric.kodo.impl.jdbc.ee.EEPersistenceManagerFactory.newPersistence
    Manager(EEPersistenceManagerFactory.java:107)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:204)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:136)
    at
    com.solarmetric.kodo.impl.jdbc.ee.JDOConnectionFactory.getPersistenceManager
    (JDOConnectionFactory.java:161)
    at
    com.mslv.osa.infrastructure.ossj.app.JVTSessionBean.getPersistenceManager(JV
    TSessionBean.java:308)
    at
    com.mslv.osa.infrastructure.system.app.SystemJVTSessionBean.createSystemProp
    erty(SystemJVTSessionBean.java:882)
    at
    com.mslv.osa.infrastructure.system.app.SystemJVTSessionBean_toe7tm_EOImpl.cr
    eateSystemProperty(SystemJVTSessionBean_toe7tm_EOImpl.java:1536)
    at
    com.mslv.osa.infrastructure.system.app.SystemJVTSessionBean_toe7tm_EOImpl_WL
    Skel.invoke(Unknown Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:407)
    at
    weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
    :108)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:351)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
    0)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    Glen

    A couple of suggestions that might do the trick:
    1. Upgrade to 2.5.4
    2. Leave the ConnectionRetainMode to its default value (on-demand).
    3. Make sure you always close your Query results and Extent iterators.

  • Error in using tag library

              I am using Weblogic server 8.1 and have a struts app. I am using the random taglib
              from jarkarta and recieving this error while using weblogic. With the same setup
              in tomcat everything works fine. What do I need to do special for weblogic?
              ERROR FROM WEBLOGIC
              /control/register/newMember.jsp(1): Error in using tag library uri='http://jakarta.apache.org/taglibs/random-1.0'
              prefix='randME': For tag 'string', cannot load extra info class 'org.apache.taglibs.random.RandomStrgTEI'
              probably occurred due to an error in /control/register/newMember.jsp line 1:
              <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
              %>
              taglibs-random.jar is in WEB-INF/lib
              random.tld is in WEB-INF
              the taglib include in my jsp looks like this:
              <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
              %>
              the call in my jsp looks like this:
              <randME:number id="random1" range="10000000-99999999"/>
              my web.xml looks like this:
              <taglib>
              <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
              <taglib-location>/WEB-INF/random.tld</taglib-location>
              </taglib>
              any help would be appreciated
              

    This may not solve your problem, but WL8.1 SP1 seems to have a problem with
              closing tags.
              Where you are using:
              <randME:number id="random1" range="10000000-99999999"/>
              ...try this instead:
              <randME:number id="random1" range="10000000-99999999"></randME:number>
              This problem is fixed in SP2.
              -- Craig
              "ssandy" <[email protected]> wrote in message news:[email protected]...
              >
              > I am using Weblogic server 8.1 and have a struts app. I am using the
              random taglib
              > from jarkarta and recieving this error while using weblogic. With the
              same setup
              > in tomcat everything works fine. What do I need to do special for
              weblogic?
              >
              > ERROR FROM WEBLOGIC
              >
              > /control/register/newMember.jsp(1): Error in using tag library
              uri='http://jakarta.apache.org/taglibs/random-1.0'
              > prefix='randME': For tag 'string', cannot load extra info class
              'org.apache.taglibs.random.RandomStrgTEI'
              > probably occurred due to an error in /control/register/newMember.jsp line
              1:
              > <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
              prefix="randME"
              > %>
              >
              > taglibs-random.jar is in WEB-INF/lib
              > random.tld is in WEB-INF
              >
              > the taglib include in my jsp looks like this:
              > <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
              prefix="randME"
              > %>
              >
              > the call in my jsp looks like this:
              > <randME:number id="random1" range="10000000-99999999"/>
              >
              > my web.xml looks like this:
              > <taglib>
              > <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
              > <taglib-location>/WEB-INF/random.tld</taglib-location>
              > </taglib>
              >
              > any help would be appreciated
              

  • Error while using TXDataSource with Weblogic 6.1 & Oracle 8.1.6

    Hi,
    I am using Weblogic 6.1 and Oracle 8.1.6.
    I have configured JDBC XA Connection Pool with Oracle thin driver. These are my settings...
    Connection Pool:
    Name - myXAPool
    URL - jdbc:oracle:thin:@myServer:1521:myDb
    DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
    TXDataSource:
    Name - myXADS
    JNDIName - myXADS
    PoolName - myXAPool
    I get the following error when I try to lookup the datasource. I am not sure where the problem is as I have configured Connection Pool and TXDataSource as mentioned in the documentation.
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured in the transaction branch start() failed on resource 'myXAPool' Unexpected error during start for XAResource 'myXAPool': null
    It would be really great if you can help me out.
    Thanks in Advance,
    Sudhir.

    Hi Sudhir,
    If you do not know if upgrade or not, have a look here :
    http://e-docs.bea.com/wls/docs61/notes/bugfixes2.html
    Note that at the end of June SP3 will be released...
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    >
    Hi Sergi,
    Thanks a lot for the class file, I figured out what the problem was. Actually
    the
    database version I was working with was 8.0.6.0. The Oracle driver doesn't
    work with
    this but the JDriver worked. This is the output of running CheckDriver..
    DatabaseProductName : Oracle
    DatabaseProductVersion : Oracle8 Enterprise Edition Release 8.0.6.0.0 -
    Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.6.0.0 - Production
    DriverName : Oracle JDBC driver
    DriverVersion : 8.1.7.1.0
    Then I tried on using the Oracle Driver on another instance which has the
    version
    8.1.7.1.0 and it worked. The JDriver and Oracle driver both work with this
    database.
    The output of CheckDriver for this Oracle instance is..
    DatabaseProductName : Oracle
    DatabaseProductVersion : Oracle8i Enterprise Edition Release 8.1.7.1.0 -
    Production
    With the Partitioning option
    JServer Release 8.1.7.1.0 - Production
    DriverName : Oracle JDBC driver
    DriverVersion : 8.1.7.0.0
    By the way I am working on WLS 6.1 SP1. What is the advantage of SP2 ? Should
    I upgrade
    Thanks once again,
    Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir ,
    JDriver works well, you can work with it.
    Just for curiosity, can you run the class I attached using the "exact"classpath
    of your WL instance (with Oracle drivers in front of weblogic.jar) ? What
    is the
    output ?
    On which platform are you running your WLSP2 ?
    Thanks
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    Hi Sergi,
    I just checked the things you mentioned. The connection pool starts correctly
    without
    any errors. I also made sure SELECT previlege was granted to DBA_PENDING_TRANSACTIONS.
    I do have the JAVA_XA package installed and it has EXECUTE permission
    to
    PUBLIC.
    I actually tried using the Weblogic JDriver (weblogic.jdbc.oci.xa.XADataSource)
    and
    it works perfect without any issue. The only consideration is that itis
    a Type 2
    Driver and needs to have the Oracle Client installed. But right now Ido
    have it
    installed on the same machine.
    Do you know any known issues with Weblogic JDriver. Do you think it'sa
    good idea
    to go with it ?
    Thanks,
    Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir,
    does your connection pool start correctly ?
    Check the setup of your Oracle server too:
    1) grant select on DBA_PENDING_TRANSACTIONS table to PUBLIC
    2) package JAVA_XA installed (with grant execute to PUBLIC)
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    Hi Sergi,
    Thanks for the response. I downloaded the driver for 8.1.7 from Oraclesite
    and put
    it in classpath in front of weblogic.jar. I still get the same problem.
    Is there
    another location where we can download the Oracle driver with the bug
    fixed
    Regards, Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir,
    I think you are using Oracle JDBC drivers 8.1.6.
    They have a bug, they do not accept a foreign XID.
    Use 8.1.7 or higher to solve this problem.
    Sergi
    Sudhir Babu <[email protected]> wrote:
    Hi,
    I am using Weblogic 6.1 and Oracle 8.1.6.
    I have configured JDBC XA Connection Pool with Oracle thin driver.
    These
    are my settings...
    Connection Pool:
    Name - myXAPool
    URL - jdbc:oracle:thin:@myServer:1521:myDb
    DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
    TXDataSource:
    Name - myXADS
    JNDIName - myXADS
    PoolName - myXAPool
    I get the following error when I try to lookup the datasource. I amnot
    sure where the problem is as I have configured Connection Pool and
    TXDataSource
    as mentioned in the documentation.
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
    occured in the transaction branch start() failed on resource 'myXAPool'
    Unexpected error during start for XAResource 'myXAPool': null
    It would be really great if you can help me out.
    Thanks in Advance,
    Sudhir.

  • BAM-00533 error...due to login error...but Weblogic DataSource is correct -- why?

    I am evaluating BAM and have encountered the following error while creating an EMS in BAM:
    Test failed - oracle.bam.common.messaging.api.exception.OpenFailedException: BAM-00533: Resource open for destination jms/BAMEBIZTopic failed.
    The error appears to be due to the following:
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 6536
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_AQJMS", line 200
    ORA-06512: at line 1
    Has anyone else encountered this issue when setting up BAM with Oracle AQ via JMS? 
    I am using the following as a guide:
    http://www.oracle.com/technetwork/middleware/bam/whitepaperbam-e-businesssuiteintegr-131964.pdf
    The weblogic datasource is correct and tested successfully.
    JNDI names are all correct.
    Connection Factory config is correct.
    It appears that the correct username/password are not being mapped correctly-- but how can I debug that?
    I have turned the BAM server DEBUG options on for JDBC and JMS, but there is no output to show the correct username/passord values used to make the database connection.   Is there any way to decrypt the password and to log the username/password in a log file?  I am new to weblogic, so any help is appreciated.
    Versions:
          Oracle SOA Suite 11.1.1.7 
          Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Log entries for reference:
    [2013-09-27T15:00:19.101-04:00] [bam_server1] [WARNING] [] [oracle.bam.common.messaging.api.jms.JMSMessageConsumerRegistry] [tid: Open thread for destination=jms/BAMEBIZTopic] [userId: weblogic] [ecid: b5190c518f1b5052:-31098aef:14160ba47f6:-8000-000000000000062b,1:17374] [APP: oracle-bam#11.1.1] Open thread for destination=jms/BAMEBIZTopic.handleThrowable error=oracle.bam.common.messaging.api.exception.OpenFailedException: BAM-00533: Resource open for destination jms/BAMEBIZTopic failed. destination=jms/BAMEBIZTopic[[
    oracle.bam.common.messaging.api.exception.OpenFailedException: BAM-00533: Resource open for destination jms/BAMEBIZTopic failed.
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.onOpenFailedException(MessageOperationBase.java:1272)
    at oracle.bam.common.messaging.api.MessageConsumerRegistry.onOpenFailedException(MessageConsumerRegistry.java:935)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.open(MessageOperationBase.java:1172)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.access$000(MessageOperationBase.java:72)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase$1.performOperation(MessageOperationBase.java:1152)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase$UtilityThread.run(MessageOperationBase.java:2545)
    Caused by: oracle.bam.common.messaging.api.exception.RecoveryFailedException: BAM-00523: Resource recovery for destination jms/BAMEBIZTopic failed.
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.onRecoveryFailedException(MessageOperationBase.java:2027)
    at oracle.bam.common.messaging.api.MessageConsumerRegistry.onRecoveryFailedException(MessageConsumerRegistry.java:954)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.recover(MessageOperationBase.java:1865)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.onOpenException(MessageOperationBase.java:1251)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.performOpen(MessageOperationBase.java:1222)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.open(MessageOperationBase.java:1163)
    ... 3 more
    Caused by: oracle.bam.common.messaging.api.exception.RecoveryFailedException: BAM-00523: Resource recovery for destination jms/BAMEBIZTopic failed.
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.performRecovery(MessageOperationBase.java:1979)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.recover(MessageOperationBase.java:1856)
    ... 6 more
    Caused by: oracle.bam.common.messaging.api.MessageFrameworkException: BAM-00500: exception in messaging framework: ORA-01017: invalid username/password; logon denied
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 6536
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_AQJMS", line 200
    ORA-06512: at line 1
    at oracle.bam.common.messaging.api.jms.JMSMessageConsumerRegistry.acquireResources(JMSMessageConsumerRegistry.java:775)
    at oracle.bam.common.messaging.base.operation.MessageOperationBase.performOpen(MessageOperationBase.java:1211)
    ... 4 more

    You is using a DBLINK and that username/password is incorrect.
    if you don't know what DBLINK is using, you can query the DBA_DB_LINKS:
    SQL> desc dba_db_links;
    Name                                      Null?    Type
    OWNER                                     NOT NULL VARCHAR2(30)
    DB_LINK                                   NOT NULL VARCHAR2(128)
    USERNAME                                           VARCHAR2(30)
    HOST                                               VARCHAR2(2000)
    CREATED                                   NOT NULL DATE
    after that you need recreate it:
    conn / as sysdba
    create public database link <TARGET_DB_NAME> using '<TARGET_DB_NAME>';
    conn strmadmin/strmadmin@<SOURCE_DB_NAME>
    create database link <TARGET_DB_NAME> connect to strmadmin identified by strmadmin;

Maybe you are looking for

  • How to find the Navigation in peoplesoft using SQL

    Hi All , I would like to know what are the possiblilites ways to find the navigation in peoplesoft. Is it possible to find using only RUN_CONTROL_ID same like Process name , component name ? . Please provide the SQL to find the possible ways. Advance

  • HOWTO:Deploy BC4J as Session Bean in Weblogic

    This document describes Howto deploy a BC4J Appmodule as EJB Session Bean to Weblogic and test the appmodule through the BC4J tester. =>create a BC4J Application using Business Components Wizard. =>test it using BC4J tester =>make the Application Mod

  • OBIEE 11g - formatting hierarchy levels

    Hi, I'm playing with the new hierarchy functionality in 11g. I've found in the criteria tab where it's possible to give the dimension members different formats based on what level of the hierarchy they are at (using the "Hierarchy Level Properties" d

  • Duplicate Email Forms When Dragging PDF

    Don't know if this happens to other computers, but I can repeat it at will on mine.... Create a document and save it as a PDF onto your desktop. Close all windows, then drag the PDF onto the Mail icon in the Dock to create a new email message with th

  • Apple TV and new apple keyboard not paring

    Heelo I have a Apple TV (3rd. Gen. - MD199LL/A - iOS 6.02) and I got a new Apple Wireless Keyboard (A1314). The keyboard works fine with iPhone 5 (iOS 7.0.4) and my Mac Retina (OS X 10.9). I parried and unparreid from iPhone and Mac to test. Even wit