Deploy BC4J in JDeveloper 3.1.1.2 to Tomcat

Need help on how to deploy BC4J in JDeveloper 3.1 to Tomcat web server
Thank you very much,
jen

JDeveloper's convention is to put:
- .java files in <jdev>\myprojects
- .class files in <jdev>\myclasses
- .html and .jsp files in <jdev>\myhtml
But none of these are mandatory. I suggest you start by creating an empty project and adding all of your files to the project.
Blaise

Similar Messages

  • 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

  • Strange exception when deploying BC4J as EJB in 8i CORBA.BAD_PARAM: null Strings are

    I am trying to deploy BC4J as Ejb to 8i (8.1.6). I use the following deployment method with j: my Jdev root.
    setjboenv j: ejb8i
    loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\xmlparserv2.jar
    loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\jbomt.zip
    loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\jboejb.jarI then create a deployment profile for ejb 8i with the ide. (Without deploying)
    I then use loadjava outside the IDE to deploy the 2 jar files created
    MyProject1CommonEJB.jar
    and
    Myproject1.jar
    I then use the ide again to deploy the bean profile
    Package1ModuleServerEJB.prf
    The last step fails with the error :
    Publishing EJBHome...org.omg.CORBA.BAD_PARAM: null Strings are illegal in IIOP. Please correct your application or run the ORB in backward compatibility mode. minor code: 0 completed: No
    void oracle.aurora.ejb.deployment.GenerateEjb.invoke()
    void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
    void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
    Exception in thread main
    Strangely, when I test this EJB with the tester (middle tier = remote ejb) it works, but from JSP's I get an application error : "Unknown Exception"
    I am using Jdev 3.1
    Also using the deploy option when creating the deployment profile fails apparantly due to the missing grant "SYS,PUBLIC" when loading classes to the database before deploying the bean.
    What can be done ?
    null

    Hi Blaise
    Thanks for the reply. I have tried to do the complete deployment from within Jdev, but now I get the following error right at the end of the deployment.
    /BC4J1AppModuleEjb/EjbObject_RemoteBC4J1AppModuleEjb:ORA-29535: source requires recompilationjava.lang.NullPointerException at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) ..... etc.
    I have tried to deploy to a clean schema with the java privilages granted as described in the Jdev release notes.
    I included the following libraries in my project :
    JBO JDBC816 PATCH
    JBO OSQL Domains
    JDeveloper Runtime
    Oracle 8.1.6 JDBC
    Connection Manager
    JBO Runtime
    JBO VB Runtime
    JBO 8i Runtime
    SQLJ Runtime
    JBO 8i Client
    JBO Vanilla Domains
    JBO EJB Runtime
    JServer
    Oracle XML SQL Utility
    ORACLE XML Parser 2.0
    Then I just used the deployment wizzard
    null

  • 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?

  • Issues with deploying BC4J/JSP applications on OC4J

    To everyone who's been having problems deploying BC4J/JSP applications to OC4J.
    We are aware that you're having problems deploying to OC4J, and we're working on them. OC4J was not available in time for us to add support for OC4J deployment to the JDeveloper 3.2.3 release. In addition there are some bugs in the first release of OC4J that have an impact on BC4J applications. This note describes the issues, and how we plan to address them.
    Issue 1: Classpath problems
    People have been getting "class not found" or "properties file not found" errors when they try to run their JSP. The answer is to make sure that all relevant archives and your JSP's .properties file are in the OC4J classpath - there's a note addressing the .properties file problem at http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html. In general though, setting up the classpath can be tricky.
    Issue 2: JSP TAG NOT RELEASED ON END TAG. SAME TAG IS REUSED.
    This issue affects JSP pages whose behaviour relies on a tag instance being cleaned up as a result of release() being called.
    Your tag will not be released, and subsequent instances of the tag will reuse the first instance, rather than instantiating a new
    one.
    Issue 3:JSP SCRIPTABLE VARIABLE NULL
    A scriptable variable set in a tag cannot be accessed by a scriptlet. For example, this JSP code will throw a
    NullPointerException, because the scriptlet cannot access the value of resultRow:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>Workaround: Add a line of code at the beginning of the scriptlet to explicitly get the variable's value from the page context, for
    example:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    resultRow = (oracle.jbo.Row)pageContext.findAttribute("resultRow");
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>
    What we plan to do
    To address issue 1, we're currently testing a utility that installs the BC4J runtime libraries to OC4J, and provides a script to start OC4J with the correct classpath. We plan to post this by the end of this week, along with instructions for deploying a BC4J application to OC4J; deployment will be a lot simpler after running the utility.
    To address issues 2 and 3, we're working on a second utility that installs BC4J runtime and provides a fix to the JSP compiler. We plan to post this second utility by the end of next week.
    We do apologise for the problems you're having; please bear with us as we work on making it easier for you to deploy BC4J applications to OC4J.
    Thanks
    Blaise

    Hi, I have been trying desparately to deploy
    a simple example JDeveloper application for months and months.
    I HAVE NEVER BEEN SUCCESSFUL IN DEPLOYING ANYTHING.
    I don't know much about webservers and I am relying
    on the instructions from JDeveloper help and this website.
    I have already tried Apache, and WebLogic
    because there are instructions in the JDev help.
    No luck.
    Now I am trying to use OC4J on 9ias because there are instructions.
    I have read the instructions about how to install a BC4J
    app on OC4J about 25 times, but I can't get this thing to work.
    It works fine inside of JDeveloper.
    I create a BC4J project using the scott
    schema (just the dept and emp tables).
    Then I create an empty project for my JSP client.
    I choose JSP Application from the web
    objects and it connects to my BC4J project.
    As I say, when I run it in JDeveloper, there is no problem.
    In the instructions for installing BC4J
    in OC4J, it first says install JDev 3.2.3 and OC4J.
    This is done, and it tested fine.
    Then it says to install the deployment software.
    No problem.
    But when I deploy the app according to the instructions,
    it just hangs (like Rick Wang's program did).
    The main.jsp page loads and displays correctly,
    but when I click on the links to the DeptView.jsp
    or EmpView.jsp it just hangs.
    Here is the entire batch file I'm using
    to start OC4J: cd c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\default-web-app\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\classes
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\classes12.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jdev-rt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbojdbcpatch.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\connectionmanager.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbohtml.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboimdomains.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordim817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordvir817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordhttp.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbomt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodomorcl.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboremote.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jndi.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodatum12.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\al_BC4J.jar
    java -cp C:\oracle_9ias\j2ee\home\orion.jar;%CLASSPATH%
    com.evermind.server.ApplicationServer
    pause
    The file al_BC4J.jar contains my application.properties file
    and my connections.properties file, as well as my business components.
    All of the files referenced in my classpath are
    present in my c:\oracle_9ias\j2ee\home\lib directory.
    I noticed that Raghu's classpath contains a file called jdev.jar
    So does the classpath of another fellow who says
    he was successful in deployment (his name is Jeffrey Jackson).
    I searched my JDev_3.2.3 for this file and found it nowhere.
    I also searched my OC4J home and my 9iAS for this file and
    found it nowhere.
    It is nowhere on my C:\.
    Is this file necessary?
    I will also try removing my application.properties file
    and my connections.properties file from my BC4J .jar file
    and put them in a separate .jar file at the root level (as Raghu did).
    However, Jeffery Jackson did not do this and says he was
    successfull in deployment.
    ***DO I NEED TO JAR UP ANY OF MY THE FILES FROM the JSP
    FOLDER IN JDevHome\myhtml???***
    ***or place them in the classpath?***
    I have read over all of the discussions at: http://technet.oracle.com:89/ubb/Forum2/HTML/008232.html
    and http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html
    many, many times.
    Can anyone help me?

  • How to use BC4J with JDeveloper 9i in a Team

    Hello
    I'm not sure if I'm to stupid, but to say the truth I didn't found the clue how to share a BC4J Application between several develeopers. Maybe someone can give me a hint.
    That's my situation:
    Our team is going to develop a web application using BC4J and BC4J-JSP, nothing special I think.
    But my problem is, that BC4J and especially the wizards refer to a lot of different files. Even simple changes often result in multiple files being changed in different parts of the project.
    Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.
    So it is not easy to find parts of code from which I can say they are owned by one developer and others which are owned by another. Most often, if you have to merge the work of different developers, you have to edit the BC4J-XML-Files using an external editor. Or did someone find a better way? Please tell me!
    So, what is the best way to share code between developers?
    Should I partition the application by packages?
    - advantage:
    it allows a fine partitioning
    - disadvantages:
    it has the great danger that BC4J makes changes in other packages which will be overseen when merging.
    Should I create a projects for each developer and distribute code between the projects using libraries?
    - advantage: no unseen changes will happen, as the libraries are readonly.
    - disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.
    Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.
    So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.
    Thanks in advance
    Frank Brandstetter

    Hi,
    I'm not sure whether my answer is good enough for you, but it might help.
    First of all, you have to use JDev 9.0.3, because 9.0.2 has big problems with associations/view links between objects in different projects.
    Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.This is not completely true in 9.0.3, as you may choose not to create an accessor in the imported object (and usually you don't need it neither!). As for bc4j.xcfg, there is a trick: define a "standard" database connection name to use all over your project! This will prevent modifying these files all the time!
    Should I create a projects for each developer and distribute code between the projects using libraries?
    - advantage: no unseen changes will happen, as the libraries are readonly.
    - disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.I would say, projects for each application component, which by chance will be managed by a single developer at a time.
    As for the disadvantages, in 9.0.3 you are able to properly create associations and links using read-only objects. Hopefully, the release version will solve some generation inconsistencies...
    Concerning the errors that occur when modifying a library, this might be balanced by the relative independence of the components... If you are able to develop following the dependency tree, you will not meet the problem very often.
    Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.Indeed, I do not have a SCMS really able to manage merges in the BC4J XML files... We rather try not to arrive there!
    So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.I really hope that my hints will help.
    Regards,
    Adrian

  • What are the requirements to deploy Portlets from Jdeveloper 10.1.3.2

    Hi all,
    I'm new in version Jdeveloper 10.1.3.2
    plz which version of Application Server (infrastructure and middle-tier)
    or web-center are required to deploy portlet from jdeveloper 10.1.3.2
    can you send me links about these requirments
    thanks

    I had already applied all of this before trying to deploy.
    The error seems to be a versioning error in the jsf-impl.jar file as the ApplicationAssociate class is found there. I have changed the JDK and J2EE to 1.4.2 and 1.3 respectively, rebuilt everything, updated all the settings to the right versions for 10.1.2 but it still keeps failing on the deploy.

  • Deployment error in JDeveloper 11.1.1.4 when deploying 11.1.1.3 application

    We have built a bpm application using JDeveloper 11.1.1.3. Now we have upgraded the server to new version 11gR3 and have also upgraded our jdeveloper to 11.1.1.4.
    We have opened in Jdeveloper(11.1.1.4) the exisitng bpm application developed in older version (11.1.1.3) and when trying to deploy the application to the 11gR3 server getting the following deployment error in jdeveloper:      
    06:53:04 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [06:53:04 PM] Caused by: java.lang.ClassNotFoundException: oracle.bpel.services.datacontrol.types.Number
    [06:53:04 PM] See server logs or server console for more details.
    [06:53:04 PM] weblogic.application.ModuleException:
    [06:53:04 PM] Taskflow deployment failed to deploy to server. oracle.jdeveloper.deploy.DeployException: Remote deployment failed
    [06:53:04 PM] #### Deployment incomplete. ####
    [06:53:04 PM] Remote deployment failed
    This deployment error is happening only when the UI project is deployed along with the composite. When I open the Project Properties --> Library, I notice that a Library "ALE Component" is displayed in exclamation. Even after removing this library I am getting the same deployment error. Will be grateful if any help is suggested to this issue.

    Yes, you need to update the library reference apparently. (I just started again.)
    Try adding the following library ref to your weblogic.xml of UI project
    <library-ref> <library-name>oracle.soa.worklist.webapp</library-name> <specification-version>11.1.1</specification-version> </library-ref>
    Anthony

  • Prolbem deploying BC4J in Oracle 8i for NT

    Hello,
    We're testing the sample of BC4J distributed with JDev 3.0.
    When we test it localy, it works ok. Our problem arises when we
    try to deploy the BC4J as a EJB on Oracle 8i on NT. First when we
    deploy the BC4J runtime the deployment process returns some erros
    like the following one:
    Error while resolving class
    oracle/jbo/server/DatabaseTransactionFactory
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/common/remote/PiggybackReturn
    resolving: oracle/jbo/server/xml/JTPersistable
    resolving: oracle/jbo/server/util/JboSQLUtil
    Error while resolving class oracle/jbo/server/util/JboSQLUtil
    ORA-29554: unhandled Java out of memory condition
    (Oracle 8i has 100Mb of Java Pool Size and we tryed
    increasing this aspect but without results)
    After the BC4J runtime finished, the BC4J deploy stars
    returning the next error:
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm
    Stubs............................................................
    ...................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the server...
    An exception occurred during code generation: null
    *** Errors occurred while deploying the EJB to JServer ***
    *** Deployment completed ***
    Does anyone know which is the problem?
    Thanks in advance.
    null

    OK. I know it's bad form to reply to your own messages...
    I've found and executed the SQL script but the SELECT statement returns no rows.
    I'm still getting ORA-29554 for a number of classes. A java_pool_size of 120Mb has made no difference. Can anyone suggest any other settings that might be causing the problem.
    Maybe somebody who has successfully deployed BC4J to 8i could post/email me a spool of "show parameters" from server manager....?
    Thanks,
    Rob.
    null

  • Urgent!!! problems deploying BC4J to Oracle 8i

    I have the following problem deploying BC4J to Oracle 8i as EJB :
    When I tried to deploy as an EJB following the guidelines in the following help page:
    Contents help--> Developing Business Components-->Deploying Business Components-->Creating Deployment Profiles and Deploying
    I get the following error :
    An exception occurred during code generation: Class not found: bc4jEjbtrial.common.ejb.DeptAppModHome.class
    *** Errors occurred while deploying the EJB to JServer ***
    Could someone please tell me where I am possibly going wrong?

    What version of jdev are you running? The Bc4jtrial package sounds suspicious.
    Thanks
    Blaise

  • Problem with deploying bc4j into Oracle 8i

    Hi ,
    We are trying to deploy bc4j in to Oracle 8i. Using the
    business componets tutorial as a guideline, we have created
    business components for a master detail relationship between dept and emp tables. When tested using the business components tester in
    JDev 3.0 in the local mode it is working well. Then we made
    the application remotable to be deployed as a corba object in
    Oracle 8i database. When the deployment is done the following errors
    are occuring during resolving.
    resolving: oracle/jbo/server/DatabaseTransactionFactory
    Error while resolving class oracle/jbo/server/DatabaseTransactionFactory
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/common/remote/PiggybackReturn
    resolving: oracle/jbo/server/xml/JTPersistable
    resolving: oracle/jbo/server/util/JboSQLUtil
    Error while resolving class oracle/jbo/server/util/JboSQLUtil
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/xml/XMLContextCustImpl
    oracle/jbo/server/xml/JTStorageOutput is already resolved
    resolving: oracle/jbo/server/java/util/Iterator
    resolving: oracle/jbo/server/rules/JboSQLCompareValidator
    Error while resolving class oracle/jbo/server/rules/JboSQLCompareValidator
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/ValidationManager
    Error while resolving class oracle/jbo/server/ValidationManager
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/TransactionListener
    Error while resolving class oracle/jbo/server/TransactionListener
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/common/CheckedListResourceBundle
    resolving: oracle/jbo/DeleteEvent
    Error while resolving class oracle/jbo/DeleteEvent
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/common/PiggybackObjRemovedEntry
    resolving: oracle/jbo/server/rules/SQLBindUtility
    resolving: oracle/jbo/server/ViewRowCache
    Error while resolving class oracle/jbo/server/ViewRowCache
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/ContainerObjectEvent
    resolving: oracle/jbo/domain/Char$1$facClass
    Error while resolving class oracle/jbo/domain/Char$1$facClass
    ORA-29554: unhandled Java out of memory condition
    But at the end we are able to resolve all classes from the sqlplus using alter java class .... resolve.
    After resolving all the invalid classes manually, when we try to test
    the application using business component tester in Oracle 8i mode
    we end up with the error
    String index out of range: -25
    The same thing happens when we are trying to deploy the business components as an ejb in Oracle 8i as well.
    Oracle 8i (8.1.5) is running on Windows NT. Java pool size is 60MB
    Ramanujam S

    You need to configure the Java shared pool size in the init.ora for the RDBMS. The default is 20 MB and this is not enough for deploying the BC4J into the RDBMS, try 50 MB (or more if you can afford it). There are a lot of classes in the BC4J and the resolver needs a lot of temporary space to take care of loading and resolving these.

  • 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 Module Remotable [list]
    [*]Select Appmodule and right mouse on it to select the edit option
    [*]Select Remote tab
    [*]Select the check box for Remotable Application Module
    [*]Select EJB Session Bean and shuttle it from Available list to Selected list
    [*]Click on the finish button[list]
    => Do File| Save All and a Rebuild on the project
    => create the weblogic XML Deployment Descriptor[list]
    [*]Choose File|New
    [*]Select the web objects tab
    [*]Select XML and click ok
    [*]Rename the file as ejb-jar.xml using File|Rename
    [*]Save it in the JDEV_HOME/myclasses/META-INF directory.
    [*]Open the xml file by double clicking on it.
    [*]Paste the following into the file
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>wl.WlModule</ejb-name>
    <home>wl.common.ejb.WlModuleHome</home>
    <remote>wl.common.ejb.RemoteWlModule</remote>
    <ejb-class>wl.server.ejb.WlModuleServerEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Bean</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
    </ejb-jar>
    [*]Choose File|New
    [*]Select the web objects tab
    [*]Select XML and click ok
    [*]Rename the file as weblogic-ejb-jar.xml using File|Rename
    [*]Save it in the JDEV_HOME/myclasses/META-INF directory.
    [*]Open the xml file by double clicking on it.
    [*]Paste the following into the file
    <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>wl.WlModule</ejb-name>
    <caching-descriptor>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    <max-beans-in-cache>100</max-beans-in-cache>
    <idle-timeout-seconds>60</idle-timeout-seconds>
    </caching-descriptor>
    <jndi-name>wl.WlModule</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    In this example "wl" is the package name and "WlModule" is the Appmodule name.[list]
    => generate the jar file for appmodule along with xml deployment descriptors[list]
    [*]from the command line in JDEV_HOME/myclasses directory run
    [*]jar cvf0 wlappmodule.jar wl META-INF[list]
    => edit the setenv.cmd file in WEBLOGIC_HOME directory[list]
    [*]set JAVA_HOME=f:\jdev32\java1.2
    [*]set JBOLIB=f:\jdev32\lib
    [*]set JDBC_CLASSES=f:\jdev32\jdbc\lib\oracle8.1.7\classes12.zip
    [*]set JBO_RUNTIME=%JBOLIB%\jboorasql.zip;%JDBC_CLASSES%;%JBOLIB%\jbodatum12.zip;%JBOLIB%\xmlparserv2.jar;%JBOLIB%\jbomt.zip;%JBOLIB%\jboejb.jar
    [*]add JBO_RUNTIME in the set CLASSPATH variable[list]
    => create a bc4j deploy batch file "Deploybc4j.cmd" in the WEB_LOGIC HOME
    which will generate the server side jar files
    @setlocal
    set JAVA=java
    set JAVAC=javac
    set BEAN_JAR=%1
    set EJB_TEMP=f:\jdev32\myclasses\wl
    set XMLPARSERV2=f:\jdev32\lib\xmlparserv2.jar;
    set JDBC_LIBS=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip
    set JBO_EJB_RUNTIME=f:\jdev32\lib\jbomt.zip;f:\jdev32\lib\jboejb.jar;%XMLPARSERV2%;%JDBC_LIBS%
    set CLASSPATH=%CLASSPATH%;%JBO_EJB_RUNTIME%;%BEAN_JAR%;%EJB_TEMP%
    %JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip
    pushd %EJB_TEMP%
    @endlocal
    Note: substittue appropriate jar file and directory structure names
    => Run setenv.cmd
    => Run deploybc4j.cmd
    => Configure Weblogic server[list]
    If your weblogic server is residing on a different machine then
    [*]copy wlAppModuleGenerated.jar (generated jar file from deploybc4j.cmd)
    [*]Copy classes12.zip from JDEV_HOME/jdbc/lib/oracle8.1.7/ directory
    [*]Copy jbodomorcl.zip
    [*]jbodatum12.zip
    [*]xmlparserv2.jar
    [*]jbomt.zip
    [*]jboejb.jar from JDEV_HOME/lib directory
    [*]edit weblogic.properties file in WEBLOGIC_HOME directory
    [*]In the WEBLOGIC EJB DEMO PROPERTIES sectio
    [*]add weblogic.ejb.deploy=E:/weblogic/myserver/wlAppModuleGenerated.jar
    (generated jar file from deploybc4j.cmd file)
    [*]edit startweblogic.cmd file in WEBLOGIC_HOME directory
    [*]set POST_CLASSPATH=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip;f:\jdev32\lib\jboorasql.zip;f:\jdev32\lib\jbodatum12.zip;f:\jdev32\lib\xmlparserv2.jar;f:\jdev32\lib\jbomt.zip;f:\jdev32 \lib\jboEJB.jar;f:\jdev32\lib\jbodomorcl.zip
    [*]add E:/weblogic/myserver/wlAppModuleGenerated.jar
    (generated jar file from deploybc4j.cmd file) in the weblogic_classpath setting[list]
    Note: modify the directory structure of jar files as apporpriate
    => Run the BC4J tester to test the deployed BC4J Appmodule as session bean to Weblogic[list]
    [*]Add a new library
    [*]Select the Project in which you developed the BC4J Appmodule
    [*]Project | Project Properties
    [*]select libraries tab
    [*]Click on Add
    [*]Click on New
    [*]Specify "JBO WL Client" in the NAME
    [*]Click on ... button for adding the jar files
    [*]Click on Add/Zip jar button to add the following files
    weblogicaux.jar
    jboremoteejb.zip
    jboremote.zip
    <Weblogic_home>/classes
    [*]Click on OK
    [*]Start the weblogic server
    [*]Bring the BC4J Tester by doing a right mouse on the appmodule and selecting Test option
    [*]In the Middle Tier Server Type Select "Weblogic"
    [*]Specify Host name and port # of weblogic server
    [*]Click on Connect[list]
    raghu
    null

    Although this explains how to then deploy to Weblogic on another server, it still presumes that it is installed on the same computer as JDev. I moved the weblogic.jar file over to the computer and fudged a few things to get it to work.
    Also, I am testing this with Weblogic 6.0, so some of the information does not work as prescribed. I edited the config.xml instead of the weblogic.properties file. I am trying to figure out where to put all of the *.jar and *.zip files that I copied over to the Solaris machine with Weblogic. Any suggestions?
    And one of the steps in the section to create the deploybc4j.cmd file is wrong. It says
    "%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip"
    Which does not work. I took off the last part:
    "%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar"
    and it worked. It was getting that whole last part and trying to create a directory with that name and failing.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Shanes ([email protected]):
    This seems to assume that JDev and Weblogic are installed on the same server (I refer to the section on setting the setenv.cmd file in the WEBLOGIC_HOME dir that includes the path to the JDev install.
    I have JDev installed on a Win 2k box and Weblogic installed on a Solaris. Any suggestions? I got all the way up to the setenv.cmd step fine.<HR></BLOCKQUOTE>
    null

  • Deploy project using  Jdeveloper with native library (dll)

    hi
    i need to deploy project using Jdeveloper but the generated jar dose not include native library dll file .

    it is ok now
    using deployment in properties of project and add new file group of type dependency analysis

  • Deployment Diagram with JDeveloper

    Hi,
    is it possible to draw deployment diagrams with JDeveloper's UML tool?
    Regards,
    Ridvan

    'will it be easy to migrate 10.1.3.3 bpel processes using stored procedures, human tasks, decision rules to 11g?' I think a better place to ask this question would be on the SOA Suite forums:
    SOA Suite and OC4J 11g Technology Preview
    SOA Suite

  • Unable to deploy bc4j component properly

    I m deploying bc4j from the machine on which oc4j rel 2 server
    is running using
    jdev 9i, i m facing the following prob.
    My applicatin is made in jsp & bc4j.
    1. It is giving some EOFException at the time of deploying.
    After deployment
    some jsome links are working and some are not working.
    2. Can we deploy from other remote machine on the oc4j server????
    3. how do we use a component already deployed on the server in
    our other oc4j
    programs??
    3. In our system there is a lot of repeatitions of same entities
    in different
    - application module so how do we redue that?
    i wd apreciate any answer this query.
    regards

    hi,
    can you please provide more details on this issue.
    Which links are working and which links are not working?
    What do you mean by the question: can we use other component in the server in our oc4j. What components do you mean?
    I hope an answer to these questions will clarify the issue?
    thank you

Maybe you are looking for

  • Creating a view with existing GeoRaster columns and new SDO_GEOMETRY column

    Hi, In a nutshell, I already have 1 real table, which has several attributes including types such as text, numbers etc. but also a GeoRaster column. This table works great, has its metadata stored properly and is spatially indexed; no worries. I am t

  • Font smoothing / antialiasing

    I've noticed that Java apps and browser plug-ins do not smooth or antialias fronts on my Windows XP box. How can I enable this feature? It may not seem like a big deal, but it is when one of the Java apps is an IDE and you are staring at it for hours

  • Interactive Report in CRM

    Hi All,             I want to create a interactive report in crm7 .0.can any body help in interactive report.how to create a interactive in crm 7.0. Thanks in advance. Vishwas

  • I have restrictions on my configurations where can i change it ???

    I have restrictions on my configurations where can i change it ???

  • CS5.5 Crashes When importing Projects from CS5

    I'm trying to update ll my CS5 projects into CS5.5.  However it will load the project, but while indexing the files it goes super slow and eventually stops.  Then crashes.  This happens to all of my CS5 projects I try to import.  CS5.5 however works