BC4J on JBoss Add-on

Is there any add-on available that enable us to deploy our BC4J application on JBoss as we can do so on OIAS ans WebLogic ????

Well.. I have tried many times to develop a simple BC4J application deployed on JBoss but still no success, every time a different error occurs and, after asking on the form, a different reply comes from JDev team.
I followed instructions on HOW-TO page and created application test client. It gives the following output when I run client:
class oracle.jbo.client.remote.ejb.EJBApplicationModuleImpl (output from the line: System.out.println( am.getClass() ); )
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=org.jboss.pool.jdbc.PreparedStatementInPool
## Detail 0 ##
java.lang.ClassCastException: org.jboss.pool.jdbc.PreparedStatementInPool
Process exited with exit code 0. Under the 1st section, creating a BC4J project:
Our BC4J Project will be created on the DEPT table in the SCOTT sample schema which is part of the Oracle database.
On Step 1 of the Business Components Project Wizard, change the SQL Flavor toSQL92 and the Type Map to Java. This is required since we will be using the JBoss emulated XA DataSource implementation when our BC4J Application is deployed as an EJB Session Bean.
You need to change the SQL Flavor to SQL92, otherwise BC4J will cast to Oracle JDBC classes.
Hope this helps,
Rob

Similar Messages

  • Licensing and Support of BC4J on JBoss

    We have an application that uses BC4J (JDeveloper 9.0.4 I believe) that we want to move to JBoss. I have 2 questions:
    1. What licence do we need to run this configuration?
    2. What support is there for this technology?
    I realise that this is quuite an old version but other constraints are preventing us from moving at this stage.

    Please contact me and provide your company/contact, donald.smith @oracle.com. I will be able to help.
    - Don
    I know this is not a typical forum entry, but I'm at my wit's end, so I hope someone can help me...
    We purchased Toplink from Webgain (UK) and have been using it productively for quite some time. I have a licensing query about Toplink, which I have been trying to get out of Oracle (UK) for almost a month now. I have been shunted between call centres, departments, e-mailees, etc. but still no answer. Someone finally mailed me our license details, but it turned out to be only our Oracle DATABASE licenses, not those for Toplink.
    So: does anyone else have experience of dealing with Oracle as regards the Toplink product? In the UK?
    Any help will be appreciated.

  • Deploying BC4J to JBoss 3.0.0/TomCat 4.0.3

    When building an application that runs OK localy
    Followed the instructions on
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_jboss.html
    i get a good deployment of the EAR file, can go to the application page, see the menus etc BUT
    clicking on a items gives :
    org.apache.jasper.JasperException: No such tag ApplicationModule in the tag library imported with prefix jbo
         boolean org.apache.jasper.compiler.TagLibraries.isUserDefinedTag(java.lang.String, java.lang.String)
         boolean org.apache.jasper.compiler.Parser$Tag.accept(org.apache.jasper.compiler.ParseEventListener, org.apache.jasper.compiler.JspReader, org.apache.jasper.compiler.Parser)
         void org.apache.jasper.compiler.Parser.parse(java.lang.String, java.lang.Class[])
         void org.apache.jasper.compiler.Parser.parse(java.lang.String)
         void org.apache.jasper.compiler.Parser.parse()
         void org.apache.jasper.compiler.ParserController.parse(java.lang.String)
         boolean org.apache.jasper.compiler.Compiler.compile()
         boolean org.apache.jasper.servlet.JspServlet.loadJSP(java.lang.String, java.lang.String, boolean, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
         void org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.Throwable, boolean)
         void org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardContextValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.valves.CertificatesValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardContext.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.valves.ErrorDispatcherValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.valves.AccessLogValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardEngineValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext)
         void org.apache.catalina.core.StandardPipeline.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response)
         void org.apache.catalina.connector.http.HttpProcessor.process(java.net.Socket)
         void org.apache.catalina.connector.http.HttpProcessor.run()
         void java.lang.Thread.run()
    The file is there Datatags.tdl, the classes, the jar... but doesn't work.
    Can anyone help?
    Thanks

    I am having the same problem, has anyone come up with an answer to this? It must be a jar or file that is not in the proper lib directory? What version of JDeveloper (9.0.2, or 9.0.3 preview).
    What version of the JDK? (1.3.x or 1.4)
    If JDev is 9.0.2 and JDK is 1.4 then you need to use JDK 1.3.1.
    Rob

  • JBO-33001 bc4j.xcfg WHAT A FRUSTRATION !!

    I have been browsing this site in order to find some solution this ever pending problem.
    I am using the JDEV 9.0.2.827 on linux with J2SDK 1.3.1.
    I have created one project for BC4J and one project for JSP client.
    Both of them using the wizards.
    I have compiled and build the BC4J project.
    The Client JSP has the lib reference to the BC4J project correctly, also the deployment has it checked in the "WEB-INF/lib"
    When I run the Client JSP projekt from the IDE using internal OC4J got the error:
    "Error Message: JBO-33001: Cannot find the configuration file /mypackage/common/ bc4j.xcfg in the classpath"
    Could somebody Pleazzz to give some hint how to do it !!!
    I do not understand why Oracle makes such a product that seems to miss logical automation and the end user has to hassel with something which should be REALLY automated or EXPLAINED in the documentation?
    An other example is the HOWTO deploy BC4J to JBOSS documentation. If I do the WAR deployment as suggested in the HOWTO got the same error. Is this the way how ORACLE understands the concept of quality?
    Bestr regards and thanx in advance...

    When you get this error, it means that your BC4J application classes are not accessible to your client project. Your only option is to make sure that the JSP client runtime has the BC4J application in it's classpath. Here are some observations:
    1. If your client runs fine within JDeveloper, your deployment environment is not correct and you need to make sure that your BC4J application classes can be accessed by your client. This may vary depending on which web or application server you are running on.
    2. If your application doesn't run inside of JDeveloper, you have a problem with your project configuration. Here is a simple way to fix this:
    - look at your BC4J project and copy the output path for your classes. Let's say it 'c:\jdev\myclasses1'
    - create a Jdeveloper library definition that includes 'c:\jdev\myclasses1' and add it to your client project. this will make the middle-tier classes available to your client.
    - when you create a WAR deployment profile for your client, make sure the library you created is also part of the deployment set of classes.

  • Deploying App Module as EJB Session Bean to JBoss

    I am attempting to follow the How-To at
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_jboss.html for deploying BC4J to JBoss. In particular, I was looking at the section 'BC4J as an EJB Session Bean', because that is the route we would like to take.
    The document instructs you to create a business components deployment profile.. ok, done.
    It then instructs you to copy the app module configuration that was just created and rename it. However, the editor will not let you rename the configuration.
    Then when 'Creating a JSP to Access Your Application Module as a EJB', the wizard to create the JSP will not allow you to select the app module configuration that was just created. It only shows the Local configuration.
    What am I doing wrong? I am using JDeveloper 9.0.3.1.
    My ultimate goal is to take an existing BC4J/JSP application and deploy the app module as an EJB, so the JSP and EJB can reside on separate machines.
    Any pointers that anyone can give me about deploying an app module as a Session Facade (BMT) to JBoss, with a JSP front end, is greatly appreciated. I have read the how-tos available from OTN. I have relatively little experience with EJB, so please forgive me if there's something obvious I'm missing.
    Thanks!!!

    Can this be solved by application module pooling? How
    can we use the PoolMgr to work with the session
    beans?You can use a stateless checkout/checkin appmodule.
    Take a look at the following help topics which explain this in good detail.
    "About Application Module Pooling"
    "About JSP Pages and Application Module Pooling"
    The pool can help reuse the appmodule instance across requests thus reducing the number of concurrent db sessions.
    Dhiraj

  • JDeveloper 10.1.2 - ADF BC - get last date from a view in validation

    Hello
    I have a list of subscribers. One person can be several times in this list with start and end dates.
    How can I get the last end date when I try to add a new row to validate it?

    Thanks. I tried to use the alternative writeXml(long, HashMap) method. This results in:
    * Defining a bidirectional viewlink, using the viewlink and using writeXml(long, HashMap): ok.
    * Defining a bidirectional viewlink, using the association (not the bidirectional viewlink) and using writeXml(int, long): error.
    * Not defining a bidirectional viewlink: always ok.
    So it seems that using the bidirectional viewlink alone does not account for the error, but that the writeXml(int, long) automatically traverses too much viewlinks and gets into an infinite loop. Controlling which viewlinks, viewobjects, attributes to use like the code in your example worked out.
    Is it still possible to set the depth count when using the writeXml(long, HashMap) method?
    I noticed that the com.sun.java.util.collections.HashMap class is used. In thread JSP with BC4J on JBoss requires com/sun/java/util/collections/HashMap you explain this is for upward compatibility. Do you know if it is scheduled to be replaced by the Java collection classes since JDeveloper 10.1.2 and 10.1.3 use JDK 1.4.2 and JDK 1.5? It was pretty confusing at first sight why the java.util.Map class wasn't used.
    Thanks, Ronald

  • Error when trying to use ADF UIX ORDVIDEODOMAIN

    Dear sirs...
    i want to use OrdVideoDomain to get the content of ORDVIDEO field.
    the code is:
    package server.view;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.ord.im.OrdVideoDomain;
    public class DataPage10Action extends DataForwardAction
    // To handle an event named "yourname" add a method:
    public void onAaa(DataActionContext ctx)
    OrdVideoDomain aa;
    try
    aa=(OrdVideoDomain)ctx.getBindingContext().findDataControl("AppModuleDataControl").getApplicationModule().findViewObject("T3View1").getCurrentRow().getAttribute("Nn");
    System.out.println(aa.getContentLength());
    catch (Exception e)
    {System.out.println(e.toString());}
    // To override a method of the lifecycle, go to
    // the main menu "Tools/Override Methods...".
    , when i compile the code i get the following errors:
    Error: cannot access class oracle.sql.ORAData; file oracle\sql\ORAData.class not found
    Error: cannot access class oracle.sql.CustomDatum; file oracle\sql\CustomDatum.class not found
    Error: cannot access class oracle.sql.CustomDatumFactory; file oracle\sql\CustomDatumFactory.class not found
    what is the problem??
    best regards

    Dear Mr. Steve Muench
    Thanks for help alot, i found the error. All i have to do is the following:
    1- Goto Tools in JDeveloper
    2- Goto Project Properties
    3- Select Libraries
    4- Add BC4J Datum
    5- Add BC4J Domain
    and it works fine
    thanks for all & best regards

  • BC4J deploy in JBoss 3.0.3

    While trying to deploy a BC4J app in JBoss 3.0.3, the
    following Exception was raised:
    java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.local.LocalPreparedStatement
    All the steps listed in OTN's articles were done:
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j903_to_jboss303.html
    http://otn.oracle.com/products/jdev/howtos/bc4j/ejbstateless_with_bc4j.html
    Trying to access AppModule without de Stateless EJB Session as a client, the Exception was:
    java.lang.IllegalStateException: No security context set.
    Has anyone seen something like that?

    What version of BC4J do you use? If it is 9.0.4, you have to add more libraries to Jboss.

  • ADF in JDeveloper 10.1.3.0.4: Error deploying bc4j.ear in JBoss-4.0.4.CR2

    Hello,
    Using the ADF Runtime Installer for JBoss found in JDeveloper 10.1.3.0.4, i've received deployment error during startup of JBoss. The error message as displayed in the console window as follows:
    09:29:16,325 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@89f00429 { url=file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear }
      deployer: org.jboss.deployment.EARDeployer@3a835d
      status: Deployment FAILED reason: Could not create deployment: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp65518bc4j.ear-contents/webapp.war; - nested throwable: (org.jboss.ws.WSException: java.lang.ClassNot
    FoundException: oracle.jbo.server.emd.EMDServlet)
      state: FAILED
      watch: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear
      altDD: null
      lastDeployed: 1146014956309
      lastModified: 1146014950147
      mbeans:Above it there is a lot more lines of stack trace, tell me if you need it to help me with this problem. The file structure deployed is as follows (Based on the log displayed in JDeveloper):
    In deploy directory
    bc4j.ear
    In jlib directory
    bc4jdomgnrc.jar
    In lib directory
    adf-connections.jar
    adfbinding.jar
    adfcm.jar
    adfm.jar
    adfmtl.jar
    adfmweb.jar
    adfshare.jar
    adfui.jar
    antlr.jar
    bc4jct.jar
    bc4jctejb.jar
    bc4jdomgnrc.jar
    bc4jdomorcl.jar
    bc4jhtml.jar
    bc4jimdomains.jar
    bc4jmt.jar
    bc4jmtejb.jar
    cache.jar
    collections.jar
    commons-cli-1.0.jar
    commons-el.jar
    concurrent.jar
    datatags.jar
    dc-adapters.jar
    dms.jar
    http_client.jar
    jazncore.jar
    jdev-cm.jar
    jsp-el-api.jar
    mdds.jar
    mdsrt.jar
    ojdbc14.jar
    ojdbc14dms.jar
    ojdl.jar
    ojpse.jar
    oracle-el.jar
    oraclepki.jar
    orajaxr.jar
    orasaaj.jar
    orawsdl.jar
    orawsrm.jar
    ordhttp.jar
    ordim.jar
    osdt_cert.jar
    osdt_core.jar
    osdt_saml.jar
    osdt_wss.jar
    osdt_xmlsec.jar
    regexp.jar
    runtime12.jar
    share.jar
    toplink.jar
    translator.jar
    wsclient.jar
    wsdl.jar
    wssecurity.jar
    xml.jar
    xmlef.jar
    xmlparserv2.jar
    xsdlib.jar
    xsqlserializers.jar
    xsu12.jar
    And another thing, is there any way to have the ADF Runtime Installer install the ADF Runtime into another JBoss config directory. As far as I noticed, it will only install into the JBoss default config directory.
    TQ in advance.

    Hi Cleber,
    Is it possible that you can send me a copy of your original 10.1.2 project which contains these diagrams so that I can take a look? The diagrams should open fine in 10.1.3.0.4.
    My email address is [email protected], if you could zip up your project and then change the .zip file extension to .zap to get it through the email server.
    Regards,
    Lisa
    JDev QA

  • BC4J ServerModul in JBoss 3.2.3 throws a ClassCastException in SwingClient

    Hi Everyone,
    in the last days i start crying very often, because i think i make a simple mistake with a hugh result -> nothing works ;(
    Whats going wrong?
    I deployed my BC4J ApplicationModule in JBoss, without any problems.
    But when i try to access my ApplicationModule from a SwingClient i get headache. I did it like the HowTos explained. okay they are a bit out of date but it seems
    that there are no points, where i could do something really wrong.
    So i copied all libs and created a sample client explained in: http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_jboss.html
    And here is the problem:
    The first problem i found is, that i can not lookup the
    ApplicationModul via: ctx.lookup("de.orb.server.ServerModule")
    This always results in a exception saying that this JNDI Name is not bound... okay.. i changed it to the EJB Name provided by JBoss: ctx.lookup("ServerModuleBMBean") and the Bean is found. Everything is fine.
    When i try to access a ViewObject i got a reference which is looking fine, BUT doing operations on this reference always result in a very strange ClassCastException;
    oracle.jbo.common.JboExMsgCarrier: java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrappedPreparedStatement
         void oracle.jbo.common.PiggybackExceptionEntry.readObject(java.io.ObjectInputStream)
              PiggybackExceptionEntry.java:135
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         boolean java.io.ObjectInputStream.invokeObjectReader(java.lang.Object)
              ObjectInputStream.java:2214
         int java.io.ObjectInputStream.inputObject(boolean)
              ObjectInputStream.java:1411
         java.lang.Object java.io.ObjectInputStream.readObject(boolean)
              ObjectInputStream.java:386
         java.lang.Object java.io.ObjectInputStream.readObject()
              ObjectInputStream.java:236
         void oracle.jbo.common.PiggybackInput.<init>(oracle.jbo.common.ObjectMarshaller, byte[])
              PiggybackInput.java:63
         void oracle.jbo.common.PiggybackInput.<init>(byte[])
              PiggybackInput.java:38
         void oracle.jbo.client.remote.ejb.RootApplicationModuleImpl.processRemoteJboException(oracle.jbo.common.remote.ejb.RemoteJboException)
              RootApplicationModuleImpl.java:2925
         oracle.svcmsg.ServiceMessage oracle.jbo.client.remote.ejb.RootApplicationModuleImpl.riExecuteQuery(int, boolean, oracle.svcmsg.ServiceMessage)
              RootApplicationModuleImpl.java:735
         oracle.svcmsg.ServiceMessage oracle.jbo.client.remote.ejb.EJBApplicationModuleImpl.riExecuteQuery(int, boolean, oracle.svcmsg.ServiceMessage)
              EJBApplicationModuleImpl.java:314
         void oracle.jbo.client.remote.ApplicationModuleImpl.executeQuery(int, boolean)
              ApplicationModuleImpl.java:5982
         void oracle.jbo.client.remote.RowSetImpl.executeQuery()
              RowSetImpl.java:950
         void oracle.jbo.client.remote.ViewUsageImpl.executeQuery()
              ViewUsageImpl.java:556
    other Operations like:
    System.err.println( vo.getApplicationModule().getName() );
    System.err.println( vo.getName() );
    System.err.println( vo.getFullName() );
    System.err.println( vo.getQuery() );
    System.err.println( ""+vo );
    are working fine....
    Please can anyone help me to solve this very strange problem. I need some advice, because i do not know what
    happen et al.
    I do not need to know how BC4J works with JSP Pages, i need to know how i can get it working with my SwingApplication and JBoss.
    Regards Mirko
    PS: Happy Easter!
    i am using:
    Jboss 3.2.3
    Oracle 8i Database
    JDeveloper 9.0.3.1035

    I passed through this problem by adding the following property to the hashtable used to create InitialContext
    env.put
    (oracle.jbo.common.PropertyConstants.PN_SQLBUILDERIMPL,
    oracle.jbo.common.PropertyConstants.SQL92);
    Context ctx = new InitialContext(env);
    Best regards,
    Eduardo.

  • How can I add new event handler in BC4J event flow in UIX?

    How can I declarativly add extension to existing event handleres in BC4J+UIX page?
    I generate through wizards UIX+BC4J pages and I want extend some actions in eventhandlers section. Can I do it in some way like <event name=".." method=".." class=".."> like in any regular event handlers?

    you can use the <method ..> event handler inside the BC4J event handlers, like:
    <bc4j:findRootAppModule name="EmpAppModule" >
    <bc4j:findViewObject name="CurrentDeptEmpsVO" >
    <method class="myPackage.myClass" method="doOperation"/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>

  • BC4J tag - add new record only in child table using join query

    Hi,
    I have developed the struts base jsp for BC4J component application using jdeveloper wizard.
    i have first developed the BC4J component. using emp table and dept table,
    also developed the association between emp and dept , and create view object using created association.
    when i haae developed the the struts base jsp for BC4J applicaion using alerady created view object. it creates automatically DataEditComponent.jsp and DataTableComponent.jsp and etc...
    and when i want to add new row or record it automatically add the entry in both table ,
    in above scenario i have used dept as master and emp as child table.
    what is the solution , if i want to add row or record in only emp table.
    please help me

    Hi Reetesh,
    I have written following code into the ADD ROW button
    System.out.println("Coming in Click Event");
    OAApplicationModuleImpl am = (OAApplicationModuleImpl) pageContext.getApplicationModule(webBean);
    OAWebBean innerTablebean = (OAWebBean)webBean.findChildRecursive("region12");
    OATableBean innerTable = (OATableBean)webBean.findChildRecursive("innerTablebean");
    OAInnerDataObjectEnumerator enum = new OAInnerDataObjectEnumerator(pageContext,innerTablebean);
    while(enum.hasMoreElements())
    RowSet innerRowSet = (RowSet) enum.nextElement();
    Row []rowsInRange = innerRowSet.getAllRowsInRange();
    OARow newRow = (OARow) innerRowSet.createRow();
    OADBTransaction dbt = am.getOADBTransaction();
    Number b = dbt.getSequenceValue("PK_XX_BATCH_PROGRAM_PARAMETERS");
    newRow.setAttribute("ProgramId", b);
    newRow.setAttribute("ProgramParmId",b);
    newRow.setAttribute("ParameterName",new String(""));
    newRow.setAttribute("ParameterDataType",new String(""));
    newRow.setAttribute("ParameterInOutType",new String(""));
    innerRowSet.insertRow(newRow);
    Now the problem occurs only when there are more than one rows in parent table... As many rows are there in parent table that many times the rows are being added.
    With Regards,
    Sandip

  • Deploying BC4J as a session EJB in JBoss.Help while looking up

    Hello there,
    I have developed a simple bc4j component.I have deployed the
    same in Weblogic server5.1.I have to deploy the same thing in
    JBoss Server.I am using JBoss-Tomcat bundle(Jboss-2.2.2_Tomcat-
    3.2.2).I have deployed the BC4J component as a session bean in
    JBoss server(No erros while deploying)
    But the problem is when to call this session bean.To lookup the
    application module as is done in Weblogic the value for
    JboContext.DEPLOY_PLATFORM is given as JboContext.PLATFORM_WLS.
    This is taken to be specific to weblogic server.What is the
    value for this property for a JBossServer.
    Any help would be appreciated.Thanks a lot

    Hello there,
    I have developed a simple bc4j component.I have deployed the
    same in Weblogic server5.1.I have to deploy the same thing in
    JBoss Server.I am using JBoss-Tomcat bundle(Jboss-2.2.2_Tomcat-
    3.2.2).I have deployed the BC4J component as a session bean in
    JBoss server(No erros while deploying)
    But the problem is when to call this session bean.To lookup the
    application module as is done in Weblogic the value for
    JboContext.DEPLOY_PLATFORM is given as JboContext.PLATFORM_WLS.
    This is taken to be specific to weblogic server.What is the
    value for this property for a JBossServer.
    Any help would be appreciated.Thanks a lot

  • JBOSS WONT DEPLOY BC4J.EAR - FAILS

    Following instructions found elsewhere in OTN, I have set up JBOSS to use BC4J by copying relevant files to the JBOSSHOME/lib/ext folder and by deploying BC4J.EAR into the JBOSS deploy folder. Deployment fails mentioning that it is missing a class ...emd.EMDServlet. This class appears in emd.jar and BC4JHTML.jar alike, probably the latter is relevant (not sure). Has anyone else had trouble deploying BC4J.EAR? Using BC4J.EAR from JDeveloper 9.0.3.

    Would you please post more error message?

  • BC4J datatags, EJB dpeloyed in JBoss

    Is it possible to use BC4J JSP datatags to connect to an application module deployed as an EJB Session Bean in JBoss?
    I'm struggling to get this to work. Any advice is appreciated. I've read some of the HOW-TOs, etc, but they do not discuss using the BC4J datatags specifically.
    Thanks very much

    You can have a look at the following link
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_jboss.html
    Regards,
    Anupama

Maybe you are looking for

  • Pension Deduction

    Dear Experts, According to Indian law, pension contribution of employee above 58 years of age should not be deducted. but the system continues to deduct it. Does it automatically stop the deduction or do we have to manually remove the tick from PF Co

  • How do I add Ipod clasic to my apple account

    need to add my Ipod clasic to my Itune acct

  • Running iTunes through an external drive

    I recently changed the path in itunes pref's to be able to play through my external hard drive to save space on my laptop. Trouble is, I noticed that all of the .m4a music files play but none of the .mp3 files show up in itunes. I can click on a trac

  • Probelm with InDesign CS5 table resize

    I am having problems resizing tables in InDesign CS5. The width can be in- and decreased, however the height just won't move up nor down when pulling in the lower right corner nor anywhere else on the columns baseline. Anybody else having this proble

  • af:inlineFrame in weblogic 12C

    Hi, I am facing a issue in using the <af:inlineFrame>. The page mentioned in the source is not getting loaded instead the main page is getting loaded. The same code was working fine in 11g. <af:inlineFrame source="/faces/Oracle/communications/orderma