BI Bean and iPlanet server

Hi,
I am trying to deploy BI Bean on iPlanet web server 6.0 The beans work within jDeveloper (using embedded OC4Jserver) and I am able to view the output in IE. But when I deploy to the web server, I get BIB exception. I assumed the config file refered to in error is the connection XML file which is also deployed. Can anyone help? Thanks. Here is the exception.
Platform:
MS Windows 2K
Oracle 9i 9.0.2
Jdeveloper 9i Rel.2
[18/Sep/2002:13:00:11] info ( 1460): oracle.dss.appmodule.client.BISessionException: BIB-1004 No configuration file specified or specified configuration file cannot be found.
at oracle.dss.appmodule.client.BISession.connect(BISession.java:422)
at oracle.dss.addins.jspTags.BIThinSession.setupObjectFactory(BIThinSession.java:249)
at oracle.dss.addins.jspTags.BIThinSession.getMetadataManager(BIThinSession.java:199)
at oracle.dss.addins.jspTags.BIThinSession.getQueryManager(BIThinSession.java:226)
at oracle.dss.addins.jspTags.BIThinSession.loadView(BIThinSession.java:126)
at oracle.dss.addins.jspTags.PresentationTag.createThinObject(PresentationTag.java:142)
at oracle.dss.addins.jspTags.BIBaseTag.getThinObject(BIBaseTag.java:76)
at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:225)
at jsps.cweb._viewerJSP_jsp._jspService(_viewerJSP_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
[18/Sep/2002:13:00:11] config ( 1460): [Loaded oracle.dss.util.BIExceptionSupport$Enumerator]
[18/Sep/2002:13:00:11] failure ( 1460): Internal error: servlet service function had thrown ServletException (uri=/cweb/viewerJSP.jsp): javax.servlet.ServletException: BIB-1004 No configuration file specified or specified configuration file cannot be found.
, stack: javax.servlet.ServletException: BIB-1004 No configuration file specified or specified configuration file cannot be found.
at jsps.cweb._viewerJSP_jsp._jspService(_viewerJSP_jsp.java:41)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
, root cause: javax.servlet.jsp.JspException: BIB-1004 No configuration file specified or specified configuration file cannot be found.
at jsps.cweb._viewerJSP_jsp._jspService(_viewerJSP_jsp.java:67)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
***********************************************

You will want to post this question on the following more appropriate forum:
Products > Developer Suite > BI Beans
However, after reading the error message please make sure that the configuration file is indeed deployed along with BI Beans application classes to the WEB-INF/classes directory. WEB-INF/classes should be there in all J2EE compliant servers.

Similar Messages

  • XML Beans and Weblogic Server 8.1

    Hi,
    Does anyone know if XML beans is shipped with Weblogic 8.x (or is it only part
    of the Weblogic Workshop) ?
    Thanks,
    Arun

    Greg,
    The classes required for running these command line tools are all there, but
    we have not put the script files in the version bundled with WebLogic
    server. Its very likely to be part of the next service pack release.
    Meanwhile, you can always run the classes from the command line, or write
    your own script. For instance, the dumpxsb.cmd has the following:
    set cp=
    set cp=%cp%;%XMLBEANDIR%\xbean.jar
    java -classpath %cp% com.bea.xbean.tool.XsbDumper %*
    So you can always write this on your own, or just run the concerned class
    from the command line.
    Let me know if you have any further queries.
    Regards,
    Anurag
    "Greg" <[email protected]> wrote in message news:1061965730.933286@ns1...
    Hi,
    Is it possible to use the version of xmlbeans bundled with workshop in a
    standalone sense? Are all the command line tools there? If so can yougive
    a pointer to where abouts in the Workshop download to look for this.
    The reason I ask is noting the following I saw -:
    Note: XQuery is currently only available with the version of XMLBeans
    included with WebLogic Platform. We hope to add these capabilities to the
    stand-alone version soon.
    Greg
    "Raj Alagumalai" <[email protected]> wrote in message
    news:[email protected]..
    Arun,
    WebLogic Platform 8.1 GA which includes Workshop does contain an
    xmlbeans
    implementation.
    We also have a stand alone implementation which is available on dev2dev.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Arun" <[email protected]> wrote in message
    news:3f38da48$[email protected]..
    Thanks. But what we have found out from BEA is that it does not shipwith Weblogic
    Server. You have to download it separately.
    "Dmitri Colebatch" <[email protected]> wrote:
    Does anyone know if XML beans is shipped with Weblogic 8.x (or is it
    only part of the Weblogic Workshop) ?yes, it is shipped in Platform 8.1 (I'm pretty sure its shipping in
    Server
    8.1
    too). Although the version is slightly older than the version
    available
    on the
    dev2dev site.
    cheers
    dim

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • 2 local ejb and one remote session bean in same server - java client

    idea was -
    to create a new stateless session bean that will talk to the two entity beans. although the session bean will expose its method through a remote interface, the communication betweenn the session bean and the entity beans will be through a local interface. the assumptions is that all three ejbs are running in the same JVM.
    so -
    all three ejbs complied properly.
    but -
    when i tried to test with one 'sample test client' then this is the error i get.
    please please -
    can you look into the below error and let me know what possibly i'm doing wrong. i've been trying for last 4 days and can't figure out.
    thanks a lot.
    D:\jdev9052\jdk\bin\javaw.exe -ojvm -classpath D:\jdev9052\jdev\mywork\H&K\EJBApp\classes;D:\jdev9052\j2ee\home\lib\activation.jar;D:\jdev9052\j2ee\home\lib\ejb.jar;D:\jdev9052\j2ee\home\lib\jaas.jar;D:\jdev9052\j2ee\home\lib\jaxp.jar;D:\jdev9052\j2ee\home\lib\jcert.jar;D:\jdev9052\j2ee\home\lib\jdbc.jar;D:\jdev9052\j2ee\home\lib\jms.jar;D:\jdev9052\j2ee\home\lib\jndi.jar;D:\jdev9052\j2ee\home\lib\jnet.jar;D:\jdev9052\j2ee\home\lib\jsse.jar;D:\jdev9052\j2ee\home\lib\jta.jar;D:\jdev9052\j2ee\home\lib\mail.jar;D:\jdev9052\j2ee\home\lib\servlet.jar;D:\jdev9052\j2ee\home\oc4j.jar;D:\jdev9052\opmn\lib\optic.jar;D:\jdev9052\jdev\system9.0.5.2.1618\oc4j-config\.client;D:\jdev9052\lib\xmlparserv2.jar;D:\jdev9052\lib\xmlcomp.jar TeamStaffSessionEJBClient
    context initialized
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at TeamStaffSessionEJBClient.main(TeamStaffSessionEJBClient.java:17)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:153)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2216)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:678)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
         ... 2 more
    Process exited with exit code 0.

    After you drop an ejb into the designer, you'll see a <ejb>Client1 instance created for the ejb in the backing bean (i.e. Page1.java). The client instance is a wrapper for the ejb. It contains all the remote methods available on your ejb. In your web app, you can invoke any methods on the client instance as if you're calling methods on a regular java object. The wrapper class knows how to invoke the corresponding methods on the ejb for you.
    -dongmei

  • Installing Iplanet web server and directory server behind a firewall

    When installing iplanet web server and directory server behind a firewall - should the interal ip address be used or the external ip address?

    Hello,
    When you are installing iplanet web server behind a firewall,you should use the internal ip address in the firewall.
    1. The external ip address connection to the Internet. The type of IP address used?dynamic (commonly used for standard
    modems) or static (commonly used for cable modems) is dictated by the ISP to which you connect and the type of service it provides.
    2. The internal ip adress connection. This connection must be a static IP assignment, and it must be assigned by you.
    obviously it depends on the type of firewall setup you have.
    Thanks
    Selva

  • I am facing a problem while deploying an Entity bean in iPlanet(sp3).I have attached the exception thrown.Why has this exception occured?

    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source)
    at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source)
    at samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)

    Hi,
    I think you are trying to test the Hello world EJB example shipped with the product. As a first
    step I would recomend you to go through every line of the document on deploying this application,
    since, I too have experienced many errors while trying to deploy the sample applications, but on
    following the documentation, I subsequently overcame all the errors and have been working with the
    applications. So please follow the steps in documentation and let me know, if you still encounter any
    issues.
    Regards
    Raj
    Sandhya S wrote:
    I am facing a problem while deploying an Entity bean in iPlanet(sp3).I
    have attached the exception thrown.Why has this exception occured?
    [04/Dec/2001 10:54:00:2] error: EBFP-marshal_internal: internal
    exception caught in kcp skeleton, ex
    ception = java.lang.NullPointerException
    [04/Dec/2001 10:54:00:2] error: Exception Stack Trace:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:321)
    at
    com.netscape.server.ejb.SQLPersistenceManager.<init>(Unknown Source)
    at
    com.netscape.server.ejb.SQLPersistenceManagerFactory.newInstance(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.getPersistenceManager(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown
    Source)
    at
    com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source)
    at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown
    Source)
    at
    samples.test.ejb.Entity.ejb_home_samples_test_ejb_Entity_TestEntityBean.findByPrimaryKey(
    ejb_home_samples_test_ejb_Entity_TestEntityBean.java:126)
    at
    samples.test.ejb.Entity.ejb_kcp_skel_TestEntityHome.findByPrimaryKey__samples_test_ejb_En
    tity_TestEntity__int(ejb_kcp_skel_TestEntityHome.java:266)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    samples.test.ejb.Entity.ejb_kcp_stub_TestEntityHome.findByPrimaryKey(ejb_kcp_stub_TestEnt
    ityHome.java:338)
    at
    samples.test.ejb.Entity.ejb_stub_TestEntityHome.findByPrimaryKey(ejb_stub_TestEntityHome.
    java:85)
    at samples.test.ejb.TestEJB.getGreeting(TestEJB.java:51)
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • JavaBeans in JSP on iPlanet server problem

    Hi-
    I have deployed several JSPs, but this is my first attempt at using JavaBeans in the pages. We are using the iPlanet 4.1 web server.
    The following is my JSP code (MyTest.jsp):
    <html>
    <head>
    <title> Test case</title>
    </head>
    <body>
    <jsp: useBean id="myBean" class="Beans.MyBean" />
    </body>
    </html>
    The following is the bean code:
    package Beans
    public class MyBean {
    private String message = "No Message";
    public String getMessage() {
    return(message);
    public void setMessage(String message) {
    this.message = message;
    I have the JSP and bean in the same directory. I'm not clear on where to put it on an iPlanet server. The bean compiles fine, and iPlanet seems to be able to see it. However, when I compile the JSP I get the following error on iPlanet:
    recompiling JSP file: /<dir path>/Beans/MyTest.jsp
    JSP compilation error: java.lang.Exception: JSP parse error (line24) - Incomplete tag ending of /jsp:useBean, stack: java.lang.Exception: JSP parse error(line 24) - Incomplete tag ending of /jspuseBean
    I've looked through several books and the JSP coding to useBean looks fine. Is this error related to iPlanet? Is it tied to the directory structure? We are using JDK1.3, is it set up for JavaBeans - or do we need to download some other files?
    Any help is welcomed!
    Thanks,
    Leilani

    Leilani,
    Have you got your JSP and beans to work. I'm having a similar problem. I am getting the following error when trying to load the JSP:
    [10/Dec/2001:11:46:42] info ( 1688): Internal Info: loading servlet /wacc/jsp/pickProgram.jsp
    [10/Dec/2001:11:46:47] info ( 1688): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Server4\https-wacc\config\..\ClassCache\_jsps\_wacc\_jsp\_pickProgram_jsp.java:86: Undefined variable or class name: menu
    menu.setUserId(userId);
    ^
    1 error
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:260)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:463)
    [10/Dec/2001:11:46:47] warning ( 1688): Internal error: Failed to get GenericServlet. (uri=/wacc/jsp/pickProgram.jsp,SCRIPT_NAME=/wacc/jsp/pickProgram.jsp)
    My iPlanet "Configure JVM Attributes" has the path to the beans directory (I have also tried adding it to the Windows CLASSPATH variable):
    C:\dir\dir\beansdir;
    and here is the JSP code snippet:
    <%@ page info="Pick Program into page" %>
    <HTML>
    <HEAD>
    </HEAD>
    <BODY BGCOLOR="#ffffff">
    <USEBEAN name="menu" type=ford.wacc.beans.Menus lifespan=page></USEBEAN>
    <%
    PrintWriter myOut = response.getWriter();
    // get logged in user id
    String tmpStr = "userid";
    String userId = tmpStr.toUpperCase();
    // store user id in bean
    try {
    menu.setUserId(userId);
    } catch (Exception ex) {
    // global variables
    String[] menuItems = null;
    %>
    <%= tmpStr %>
    <%= userId %>
    </BODY>
    </HTML>
    I believe I have my iPalnet server configured correctly but it seems to me that it is a path problem. If anyone can point me in the right direction, I'd appreciate it. Thanks.

  • I want to remove the COnlineBank, OnlineBank and csample applications from my application and web server.

    How can I safely do this on Solaris? I've tried "iasdeploy removeapp" and "iasdeploy removemodule" with no luck. I want to clear all of this demo stuff out to make both the web and app server look more production like.
    Thanks
    Eric

    Eric,
    these applications are applogics which are not controlled by the
    iasdeploy tool. Unfortunately, there is no tool available to remove
    these applications for you. What you can do is to manually remove all
    their entries, but be careful if you do that. If you remove the wrong
    keys you might break your ias installation, so be warned and make sure
    you backup the whole ias registry before attempting to remove anything.
    Eric Coleman wrote:
    >
    I want to remove the COnlineBank, OnlineBank and csample applications
    from my application and web server.
    How can I safely do this on Solaris? I've tried "iasdeploy removeapp"
    and "iasdeploy removemodule" with no luck. I want to clear all of
    this demo stuff out to make both the web and app server look more
    production like.
    Thanks
    Eric
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!--
    Han-Dat Luc ([email protected])
    Senior Consultant
    SUN Professional Services (iPlanet)
    o .
    o .
    O _ ____ _ _
    (_) _ \| | __ _ _ __ ___| |_ TM
    | | |_) | |/ _` | '_ \ / _ \ __|
    | | __/| | (_| | | | | __/ |_
    |_|_| |_|\__,_|_| |_|\___|\__|
    e-commerce solutions
    Sun Microsystems Australia Pty Ltd

  • Message Driven Bean and transaction handling

    We are using container managed transactions with MDB's running on OC4J version 10.1.2. We have two database serveres, both running Oracle 10g.
    The MDB consume messages from the AQ-database through JMS (connected to a JDBC datasource registered as "jdbc/OracleAQDS").
    The MDB onMessage() code update the second database, using a JDBC datasource registered as "jdbc/OracleDBDS".
    We need atomic behaviour - if the MDB enforce a roll-back we want the updates aginst the second database to be rolled-back as well.
    (1) Should we use XA-datasources since AQ and DB runs on two different servers or do the OC4J container "magically" provide two-phase-commit for us?
    (2) If the MDB does a roll-back we would like to add an error record to a database table. Can we configure a third datasource and prevent if from beeing part of the container managed MDB roll-back?
    (3) When the MDB force a roll-back, is there some way for us to override the retry-delay in our Java code? If we catch certain errors during processing in onMessage we know that it is not necessary to retry for at least one hour (while less severe errors should be retried in just seconds).

    {color:#008000}Hi Friends,
    Thought of updating the answers for my questions in case somebody else would find it helpful.
    {color}
    {color:#999999}{color:#00ccff}I'm trying to make message driven bean and use the OnListener method.
    But since I'm doing this for the first time I have very limited knowledge.
    The following are my doubts :
    1. Should I have a main function while using the MDB?{color}
    {color:#008000} There is no need for any main function.{color}
    {color:#00ccff}2. Is it mandatory to have JNDI setup done?
    {color} {color}{color:#008000} There is no need for any JNDI setup done. But you need to configure the details on the
    Websphere by creating valid entries inside Resources namely -
    Queue Connection Factory, Queues and Listener Ports under the server.
    Thanks,
    Arun Prithviraj{color}

  • How to use same transaction when calling CMP entity beans and  DAO (JDBC)

    We are currently using Weblogic 8.1 SP2 with an Oracle 10g database (using XA thin and non-XA drivers).
    We have a session bean that invokes an entity bean and a DAO (data access object pattern) in order to add data in 2 separate tables (account and history). Rows are added to the first (account) table using a CMP Entity bean while inserts are done in the 2nd (history) table using a DAO. Here is some pseudo code:
    addHistorySessionBean (trans-attribute="Required")
    begin
    Step #1 - call addAccountEntityBean (trans- attribute="Required")
    Step #2 - call addHistoryDAO (get datasource, connection)
    end
    The 2nd table (history) has a foreign key constraint to ensure that the corresponding key exists in the first (account) table. Unfortunately, DAO inserts on the 2nd (history) table fail with a foreign key constraint violation (INTEGRITY CONSTRAINT VIOLATION - PARENT KEY NOT FOUND!) since they cannot see the row added to the 1st (account) table in step #1 by the CMP entity bean.
    How does one ensure that all this is done in a single transaction ? It appears that the app server creates two seperate transactions (one for the session bean facade and the entity bean and a 2nd transaction (when we retrieve a connection using the same data source JNDI name) for the DAO.
    A post on server side suggested using a "<resource-ref>" in the session bean to tie the two potentially separate transactions together, but that does not work for us. However, I am not sure if we are doing that correctly. After we define the resource ref in the session facade bean, do we use the resource ref "name" attribute to lookup the datasource or do we still lookup the datasource by JNDI name ? Do we need to define the resource-ref tag in the entity bean also ?
    Does Weblogic allow using a single transaction for this type of a scenario ? How does one specify within Weblogic that the same transaction should be utilized by the entity bean and any subsequent DAOs?
    People have also suggested that we defer constraint checking until the transaction(s) are committed but that sounds like a work acount without addressing this issue. Would postponing the constraint checking in Oracle cause any additional overhead ?
    Any suggestions with specific examples or documentation on how to address this issue will be gratefully appreciated.

    Thanks for your suggestion. Unfortunately, this does not work since it appears that there are 2 separate transactions going on here. One, the original one initiated by the session bean and used by the entity bean and the other initiated by the DAO. Any other ideas appreciated.
    Hi,
    Try setting the delay-database-inserts tag to
    ejbCreate in RDBMS descriptor file.
    http://bernal/stage/wls/docs81/ejb/DDreference-cmp-jar
    .html#1113981
    vasanthi ramesh

  • Errors while deploying EJB3 beans in Weblogic server 10.

    Hi All,
    I am new to weblogic as well as EJB3. While trying to deploy an ant generated ejb3 bean in weblogic server 10, I got the following errors. I don't know where I went wrong. All you experts out there, pls. help me out.
    Error Stack Trace
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:364: modifier transient not allowed here
    public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:526: add(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessCont
    public void add(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:688: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
    public void remove(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:931: findByExample(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.User
    public java.util.List<com.picmond.jaas.dto.UserAccessControls> findByExample(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
    public com.picmond.jaas.dto.UserAccessControls merge(com.picmond.jaas.dto.UserAccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:202: merge(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2h
    public com.picmond.jaas.dto.AccessControls merge(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:769: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2
    public void remove(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:931: add(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2hpc
    public void add(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsD
    public java.util.List<com.picmond.jaas.dto.AccessControls> findByExample(com.picmond.jaas.dto.AccessControls arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:283: merge(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4
    public com.picmond.jaas.dto.ActivityTypes merge(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:445: add(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4_A
    public void add(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:526: modifier transient not allowed here
    public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:769: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:850: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf
    public void remove(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBe
    public java.util.List<com.picmond.jaas.dto.ActivityTypes> findByExample(com.picmond.jaas.dto.ActivityTypes arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:19: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:23: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:26: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public void add(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:607: merge(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public com.picmond.jaas.dto.Roles merge(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:688: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:850: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public void remove(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
    public java.util.List<com.picmond.jaas.dto.Roles> findByExample(com.picmond.jaas.dto.Roles arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public void add(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:445: modifier transient not allowed here
    public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:526: modifier transient not allowed here
    public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:688: modifier transient not allowed here
    public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:769: findByExample(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public java.util.List<com.picmond.jaas.dto.Users> findByExample(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public void remove(com.picmond.jaas.dto.Users arg0)
    ^
    C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
    public com.picmond.jaas.dto.Users merge(com.picmond.jaas.dto.Users arg0)
    ^
    50 errors
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:457)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
    at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:343)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:533)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:500)
    at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:476)
    at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:798)
    at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
    at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1234)
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
    >

    Hi,
    The issue is that the weblogic EJB compiler isn't reading the varargs method modifier properly in your class files (it is mistaking it for a transient field). I think you will either have to:
    a) Remove vararg methods from your EJBs.
    b) Wait for a new release of Weblogic 10.
    This issue was a bit of a pain for us as we are trying to use Seam to integrate various bits of the JEE specification together (and the Seam TimerDispatcher EJB uses vararg methods).

  • Message Driven Bean and Distributed transaction

    Hi ALL
    I am developing an asynchronous application using MDB. My application flow is as follows:
    1. From MDB onMessage i am calling a method MethodA that
    a. calls a simple pojo1 where I am getting a Connection on XA enable datasource1 and executing Stored Procedure1 of DatabaseSchema1.
    b. In that pojo without committing m closing the connection and coming back in MethodA.
    c. Again from MethodA m calling a different pojo2 where I am getting a new Connection on XA enable datasource2 and executing Stored Procedure2 of
    DatabaseSchema1. In this pojo also without committing m closing the connection and coming back in MethodA.
    d. Again from MethodA m calling pojo1 where I am getting a new Connection on XA enable datasource1 and executing a different function of Stored Procedure1 of DatabaseSchema1.
    Public class MDB{
    Public void onMessage(��.)
    Try{
    Method1();
    Catch(Exception x)
    mdbcontext.setRollbackOnly();
    Private void MethodA()
    Call pojo1;
    Call pojo2
    Pojo1
    Public void CallSP1()
    Get connection from Datasource1 (shema1,user1, pwd1);
    Call sp1();
    //return without commit;
    Pojo2
    Public void CallSP2()
    Get connection from Datasource2 (shema1,user2, pwd2);
    Call sp2();
    //return without commit;
    SP1:
    Insert table1
    Savepoint 1
    Insert into Table1
    Rollback to 1
    Insert a row
    End SP1 (without commit)
    SP2:
    Insert table2
    Savepoint 2
    Update table2
    Rollback to 2
    Insert table2
    End SP2 (without commit)
    In ejb-jar.xml
    Transaction type is Container
    Transaction attribute is Required for all
    Now problem is:
    Case 1: success case when no exception is there at Java layer
    SP1 works fine I mean there is only 2 inserts in Table 1
    But In SP2 there are 3 inserts
    Case 2: if an exception comes at Java layer
    SP1 is fine
    Rollback is not happening in SP2
    In ejb-jar.xml transaction attributes is Required for all methods and transaction type is Container.
    Backend is Oracle 10g and init.xa has already been run on that.
    Will be very obliged if can have a single hint of the problem.
    Both datasource are XA enable
    Backend is Oracle 10g
    Application server is WAS 6.0
    Queue is WAS MQ 6.0
    Thanks

    {color:#008000}Hi Friends,
    Thought of updating the answers for my questions in case somebody else would find it helpful.
    {color}
    {color:#999999}{color:#00ccff}I'm trying to make message driven bean and use the OnListener method.
    But since I'm doing this for the first time I have very limited knowledge.
    The following are my doubts :
    1. Should I have a main function while using the MDB?{color}
    {color:#008000} There is no need for any main function.{color}
    {color:#00ccff}2. Is it mandatory to have JNDI setup done?
    {color} {color}{color:#008000} There is no need for any JNDI setup done. But you need to configure the details on the
    Websphere by creating valid entries inside Resources namely -
    Queue Connection Factory, Queues and Listener Ports under the server.
    Thanks,
    Arun Prithviraj{color}

  • Messaging Server and Calendar Server Mount points for SAN

    Hi! Jay,
    We are planning to configure "JES 05Q4" Messaging and Calendar Servers on 2 v490 Servers running Solaris 9.0, Sun Cluster, Sun Volume Manager and UFS. The Servers will be connected to the SAN (EMC Symmetrix) for storage.
    I have the following questions:
    1. What are the SAN mount points to be setup for Messaging Server?
    I was planning to have the following on SAN:
    - /opt/SUNWmsgsr
    - /var/opt/SUNWmsgsr
    - Sun Cluster (Global Devices)
    Are there any other mount points that needs to be on SAN for Messaging to be configured on Sun Cluster?
    2. What are the SAN mount points to be setup for Calendar Server?
    I was planning to have the following on SAN:
    - /opt/SUNWics5
    - /var/opt/SUNWics5
    - /etc/opt/SUNWics5
    3. What are the SAN mount points to be setup for Web Server (v 6.0) for Delegated Admin 1.2?
    - /opt/ES60 (Planned location for Web Server)
    Delegated Admin will be installed under /opt/ES60/ida12
    Directory server will be on its own cluster. Are there any other storage needs to be considered?
    Also, Is there a good document that walks through step-by-step on how to install Messaging, Calendar and Web Server on 2 node Sun Cluster.
    The installation document doesn't do a good job or atleast I am seeing a lot of gaps.
    Thanks

    Hi,
    There are basically two choices..
    a) Have local binaries in cluster nodes (e.g 2 nodes) ... which means there will be two sets of binaries, one on each node in your case.
    Then when you configure the software ..you will have to point the data directory to a cluster filesystem which may not be neccasarily global. But this filsystem should be mountable on both nodes.
    The advantage of this method is that ... during patching and similar system maintenance activities....the downtime is minimum...
    The disadvantage is that you have to maintain two sets of binaries ..i.e patch twice.
    The suggested filesystems can be e.g.
    /opt for local binaries
    /SJE/SUNWmsgr for data (used during configure option)
    This will mean installing the binaries twice...
    b) Having a single copy of binaries on clustered filesystem....
    This was the norm in iMS5.2 era ...and Sun would recommend this...though I have seen type a) also for iMs 5.2
    This means there should no configuration files in local fs. Everything related to iPlanet on clustered filesystem.
    I have not come accross type b) post SUNONE i.e 6.x .....it seems 6.x has to keep some files on the local filesystem anyway..so b) is either not possible or needs some special configuration
    so may be you should try a) ...
    The Sequence would be ..
    After the cluster framework is ready:
    1) Insall the binaries on both side
    2 ) Install agent on one side
    3) switch the filesytem resource on any node
    4) Configure the software with the clustered FS
    5) Switch the filesystem resource on the other node and useconfig of first node.
    Cheers--

  • When to use Custom Adapter, Event Beans and Spring beans

    Hi,
    I have basic question on when or on what basis/scenario the Custom Adapter, Event Beans or Spring beans should be used.
    All three has same implementation methods.
    Please help me in understanding when to use Custom Adapters, Event Beans or Spring beans.
    Thanks,
    Sri
    Edited by: 897694 on Mar 7, 2012 8:12 AM

    custom adapters:
    you have to use a custom adapter when you don't find any adapter in ocep which will serve your purpose.
    Most of the times you use an adapter to connect the application with external things like http server, etc It can be both to listen the events or to send the events outside.
    Event Beans:
    This type of beans does most of the work that an adapter code does but in convention beans are not used to connect the application with external stuff
    You can use Beans as event sink etc In this case using an using an adapter is not suggestable.
    If you implement Interfaces like Initializing Bean for an adapter code it won't work properly, you have to use an event Bean in that case.
    Spring beans:
    Spring beans are used when the bean code doesn't implement EventSink or EventSender.
    These beans are used to enable something (eg: make ${wlevs_dev_home}/abc/a/b.java this path is not understandable by java code unless you override the path using a spring bean)
    Most of the things which doesn't need a connection between components in the application (eg cache loader: you can do this using spring beans and event beans both but spring beans doesn't need a connection with cache)
    Hope this small writeup helps you :)
    Edited by: Patha on Mar 8, 2012 9:10 AM

  • JAVA beans and JAVA related services require Oracle client to be installed?

    Can you please advice whether an application server that make use of JAVA beans and JAVA related services require Oracle client to be installed? For an example if the solution build based on Java and JBOSS to be used as application server, do we still require oracle client to be installed and configure the tnsnames in order to communicate to database server?

    SHANOJ wrote:
    Can you please advice whether an application server that make use of JAVA beans and JAVA related services require Oracle client to be installed? For an example if the solution build based on Java and JBOSS to be used as application server, do we still require oracle client to be installed and configure the tnsnames in order to communicate to database server?Oracle client is not required when JDBC is used to connect to the remote DB

Maybe you are looking for

  • New Airport Extreme Set Up Issues

    I purchased a new Airport Extreme 802.11n Wi-Fi Wireless Base Station today. I followed the instruction and set it up. My problem is I can not get the networking capability across my family members machines. My set up is that I have Two Compaq PCs ru

  • OIM - EBusiness User Management Connector

    Hello there, Can anybody please tell me within the Ebusiness connector i.e. provided in 9.1 version connector pack, which one needs to be installed? there are 3 different categories within the same - 1.) For the User Management connector: Oracle EBS

  • Moving BOIMG referenced path

    Hi you all,      I am trying to create some reports with images which will be dinamically assigned as part of a report infomration content. The references to these images are stored in a DB with a specific file structure path referenced in it.      S

  • BW reporting for SRM upgrade

    HI, My quetion is, for upgrade fromn EBP2.0 to SRM 5.0, what will be the changes (structural and in tables) that will have to be considered in case of BW reporting? Will standard reports in the new version take over automatically (with minimal config

  • Windows XP Drivers for Satellite P100-425

    HI I have a client who has ordered the Satellite P100-425 and has insisted that we load windows XP onto it. I have done this and i was wondering if there somewhere where i can get the XP Drivers for this Hardware as the XP drivers listed for this mod