Jdev 9.0.3 BC4J  to 9iAS 9.0.2 R2

Hi,
I need to deploy a BC4J/Struts application written with JDeveloper 9.0.3 to Oracle 9iAS R2 (OC4J 9.0.2).
This give lots of errors, complaining that it cannot find classes and methods not present in the 9.0.2 BC4J version.
At first I saw that the libs cannot be overwritten by a simple deployment including all 9.0.3 BC4J libs.
I see two solutions to this problem:
1) running "bc4j2oc4j" from Jdev 9.0.3 on the 9iAS OC4J instance. Does this work? Are there any downsides?
2) Downgrading the application to 9.0.2, missing Struts extensions and many other improvements. Is there a list of things to do to perform such a downgrade?
Are there any other solution to this (I guess) common problem?
Thanks,
Alessandro

BTW I notice on Metalink Note 230677.1 which appears to describe this problem, and a couple of workarounds:
- Include BC4J libraries from Jdeveloper into the .ear or war file
- copy BC4J libraries from JDeveleper 9.0.3 to 9iAS 9.0.2.0 without replacing the existing BC4J directory and referenced the new libraries in the OC4J instance where you plan to deploy your applications.
I've tried these workarounds, but they don't seem to work. Has anyone got this to go?
Steve West

Similar Messages

  • Anyone deploy ADF(UIX,Struts,BC4J) to 9iAS 9.02?

    Has anyone been successful in deploying a ADF 10g app using UIX/Struts/BC4J to Oracle 9iAS 9.02?

    Deploying a UIX application directly from JDeveloper 10g to iAS 9.0.2 isn't supported out of the box. You can deploy directly to iAS 10g (9.0.4), standalone OC4J 10g (9.0.4) instances (one is included with JDeveloper 10g), iAS 9.0.3 Java edition, standalone OC4J 9.0.3, and selected third party servlet engines.
    There are two issues that you would need to workaround to deploy a 10g ADF application to iAS 9.0.2. One issue is that 9.0.2 versions of some of the ADF libraries (BC4J and UIX for example) are on the global application.xml classpath of the iAS 9.0.2 customer home OC4J instance. You would need to manually upgrade your 9.0.2 instance to have all of the ADF 10g libraries. The second issue is that some of the ADF 10g libraries (like BC4J) require JDK 1.4, and iAS 9.0.2 shipped with an earlier version of the JDK. I personally don't know if using iAS 9.0.2 with JDK 1.4 is a supported combination, but I will try to find out for you.
    By the way, you might wonder why we don't have these same problems with with iAS 9.0.3 and 9.0.4 since the ADF 10g libraries are more recent than what shipped with those releases. In OC4J 9.0.3 and 9.0.4 there is a "search-local-classes-first" option in orion-web.xml that allows classes provided as part of a web application to be loaded in preference to what is on the global application.xml classpath. We use this feature to deploy ADF 10g applications (and include the JARs for some of the ADF libraries in the WEB-INF/lib of the application). In addition, there is a tool called the ADF Installer that is part of JDeveloper that will upgrade versions of some of the backward compatible ADF libraries (like BC4J) in the global application.xml.

  • Jdeveloper patch/9.0.3.1 release, BC4J and 9ias 9.0.3 patches?

    Hi,
    I've been looking on metalink and here and I know there are patches to JDeveloper for BC4J issues, however, I can't find any relevant information on updates to 9iAS 9.0.3. Does this mean that the version of BC4J in 9.0.3.1 is the same as the 9iAS 9.0.3?
    THanks,
    Jeff

    If you have access to another iDS install, you can try copying over all of the files in $ORACLE_HOME/lib and $ORACLE_HOME/jlib, otherwise you'll probably need to reinstall iDS.
    Rob

  • Jdev 9iRC: deployment of BC4J-UIX components to OC4J !2.0! does not work

    in different threads the problem of deployment of BC4J UIX components to OC4J 1.2.2.x is addressed (see http://forums.oracle.com/forums/message.jsp?id=679060 for example). contrary to the sayings of different members of the jdev-team i face the same problem with OC4J 2.0 (java lang nullpointer exception).
    i'm using jdev9iRC and 9iASWE v2 beta which comes with OC4J 2.0.
    i followed the recommendations of the thread mentioned above, no result. i followed the recommendations of steve muench in thread HELP! Loading Java Classes into Oracle ERROR result is the same error but now already when calling the main.uix. next try was also on recommendation of steve muench somewhere else: i installed the complete jdev 9iRC on my application server and tried to deploy to this "embedded" OC4J. result: uncomplete deployment because of denied access to the files server.xml and http-website-xml:
    Beginning to deploy to Oracle9i Application Server...
    Wrote WAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.war
    Wrote web EAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear
    Invoking Oracle9iAS admin tool...
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -deploy -file C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear -deploymentName F1Administration-F1StammdatenUIX-app
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX.ear... done.
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX\F1StammdatenUIX.war... done.
    java.io.FileNotFoundException: E:\ORACLE\jdev9iRC\j2ee\home\config\server.xml (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at com.evermind.xml.XMLConfig.storeToURL(XMLConfig.java:433)
    at com.evermind.xml.XMLConfig.store(XMLConfig.java:420)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:756)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:728)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:466)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:79)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Exit status of Oracle9iAS admin tool (-deploy): 0
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -bindWebApp F1Administration-F1StammdatenUIX-app F1StammdatenUIX http-web-site /F1Administration-F1StammdatenUIX-context-root
    Communication error: E:\ORACLE\jdev9iRC\j2ee\home\config\http-web-site.xml (Access is denied)
    Exit status of Oracle9iAS admin tool (-bindWebApp): 1
    ---- Deployment finished. ---- 12.02.2002 12:53:02
    what am i supposed to do? is there a solution?
    please help
    TIA, trevi

    Yes, I can create a new as3 file, but I can't "fill it with
    sensible content". Neither my As3-codes are recognized nor simple
    components are displayed to me in a proper way when testing the
    movieclip.
    Now, I have just reinstalled my CS4 on another computer and
    there it works with AS3. Really strange. Does CS4 need to
    communicate with some internet services while executing a simple
    fla-file or something like that?

  • JDev 9.0.3, BC4J, char column, db 9.2.0.1 issue

    I have a query that I run to list points of contact and addresses. I use the BC4J jbo tag to create a view object on the fly. I don't know if this is a JDev issue or the RDBMS issue...the column in question is defined as char(2).
    The problem is that I get different results, depending upon whether I'm connected to an 8.1.7.4 db or 9.2.0.1. Both are on Windows platforms. 9.2 is "personal" (i.e. loaded on my laptop), 8.1.7.4 is EE. The test piece of code which reproduces is:
    <%
    //Build the main query and join the region table
    String newquery = "SELECT POC_ID, POC_REGION_ID, POC_LAST_NAME, POC_FIRST_NAME, POC_MID_NAME, " +
    "POC_ADDR_LN1, POC_ADDR_LN2, POC_ADDR_LN3, POC_CITY, POC_STATE_CD, POC_ZIP_CD, REGION_ID, REGION_NAME " +
    "FROM CS_POINT_OF_CONTACT, REF_FISTS_REGION " +
    "WHERE POC_REGION_ID = REGION_ID AND POC_ID is not null AND POC_ACTIVE = 'Y' " +
    "ORDER BY POC_LAST_NAME, POC_FIRST_NAME, POC_MID_NAME";
    %>
    <jbo:CreateViewObject appid="Mypackage1Module" name="SelectionView">
    <%= newquery %>
    </jbo:CreateViewObject>
    <jbo:DataSource id="ds" appid="Mypackage1Module" viewobject="SelectionView" />
    <jbo:RowsetIterate datasource="ds" changecurrentrow="false" userange="false" >
    <jbo:Row id="aRow" datasource="ds" action="Active"/>
    <%
    //Check for State
    String AddrState = "";
    if(aRow.getAttribute("POC_STATE_CD") == null) {
    AddrState = "";
    } else {
    AddrState = "|" + (String) aRow.getAttribute("POC_STATE_CD").toString() + "|";
    System.out.println(AddrState);
    out.println(AddrState);
    out.println("<BR>");
    %>
    </jbo:RowsetIterate>
    When using 8.1.7.4, I get:
    |NY|
    |OH|
    |MA|
    When using 9.2.0.1, I get (note extra spaces):
    |NY |
    |OH |
    |MA |
    I know the tables are defined the same way, I exported from 8.1.7.4 and imported to 9.2.0.1 and checked the column definitions.
    This is causing an issue with my application as the extra spaces do not match up with the data queried elsewhere.
    Is this a BC4J issue, DB issue, driver issue?
    Regards,
    Jeff

    OK -- JDev: 9.0.3.1035
    I'm not sure how to tell which JDBC driver(s) I'm using, but in Jdev\jdbc\lib
    Directory of C:\jdev903\jdbc\lib\*
    11/27/2002 4:37 <DIR> .
    11/27/2002 4:37 <DIR> ..
    10/08/2002 3:40 1,154,398 classes12.jar
    10/08/2002 3:40 1,159,789 classes12dms.jar
    10/08/2002 3:40 1,000,798 classes111.jar
    10/08/2002 3:40 1,394,295 nls_charset11.jar
    10/08/2002 3:40 1,394,764 nls_charset12.jar
    and in Jdev\jdbc\lib817:
    Directory of C:\jdev903\jdbc\lib817\*
    11/27/2002 4:36 <DIR> .
    11/27/2002 4:36 <DIR> ..
    10/08/2002 3:40 1,932,480 classes12.zip
    Jeff

  • JSP parsing different between JDev 903 and 9ias 9.0.3

    Ok -- we have code which looks like the following:
    <SELECT name="app_region_id">
    <OPTION></OPTION>
    <jbo:RowsetNavigate datasource="RegionDs" action="First" />
    <jbo:RowsetIterate datasource="RegionDs" >
    <jbo:Row id="RegionRow" datasource="RegionDs" action="Current" ></jbo:Row>
    <!-- key line below (this comment not in the "live" version -->
    <OPTION VALUE="<jbo:ShowValue datasource="RegionDs" dataitem="RegionId" />"
    <%=(Integer.parseInt(RegionRow.getAttribute("RegionId").toString()) == nUserRegion) ? " SELECTED " : "" %> >
    <jbo:ShowValue datasource="RegionDs" dataitem="RegionName" />
    </OPTION>
    </jbo:RowsetIterate>
    </SELECT>
    Here's the problem. The regions are: 1, 2, 3, etc.
    What happens is it should output: VALUE="blah"
    (and does under 9iAS 9.0.2, JDev 9.0.2, Jdev 9.0.3, but not 9iAS 9.0.3)
    but it outputs: VALUE="blah
    (no trailing quote) under 9iAS 9.0.3
    That causes some HTML issues. I have other examples of output that is strange/different when deployed, but works fine under JDev...
    There are workarounds, by changing the structure a bit, but the difference in behaviour is a problem...
    I posted this in the Application Server forum, but have not received a response indicating that anyone is working on this (or if it's my fault).
    Jeff

    repost

  • First patch for the non-released 9iAS 9.0.4

    Today I mentioned the first patch is released for 9ias 9.0.4 (patch 3089193). Strange that Oracle already releases patches for a product that itself has not been released yet. Is it that difficult to implement that patch into the base version? I heard that we may expect 9iAS 9.0.4 around september/october so there should be time enough.

    Well -- to respond to the patches...
    9.0.2.1 core patchset breaks my Jdev/BC4J application with an error indicating the BC4J tables couldn't be updated
    So, I try 9.0.2.2 patch. Can't get past installation instructions (posted message yesterday about this -- no response yet).
    javax.naming.CommunicationException: webdev1.softmatic.esoftmatic.com:4031. Root exception is java.lang.IllegalArgumentException: object is not an instance of declaring class
    Patches have definitely not helped here.
    To be constructive:
    1) Looking for 9.0.4 release to allow clustering of OC4J processes even if installed with reports/forms (i.e. allow me to use EM to cluster, even if EM can't cluster the reports servers). It would be nicer to have EM cluster reports services too, but probably need smart way of updating CGICMD.DAT, for example. I could deal with just clustering the OC4J portions, but to prevent me from doing it because I've installed the "business intelligence" is frustrating because I know the capability is there -- I just can't get there because we use the reports too.
    2) Looking for text/xml/configuration files on NT to use Windows CRLF (cgicmd.dat, opmn.xml, etc). Annoying, especially since I have to document the installation procedures for disaster recovery and need to include unix to dos type utilities, etc. Getting a real editor isn't my problem, it's the disaster recovery plan where you can't count on people knowing how to deal with it themselves.
    3) Looking for way to deploy 9.0.3 JDeveloper BC4J to 9.0.2 safely (docs say you can't)...As a generalization, allow deployment of newer jdev/bc4j libraries with the applications. The "tightness" of BC4J within 9iAS causes issues. Development environments are updated more regularly than production -- hence the ability to fully deploy newer applications to the older app servers is key.
    There are probably others... but those topics seem to not come up in the forums.
    Jeff

  • BC4J HTTP Container/session cookie time out

    Hi,
    We have a BC4J jsp app(developed in Jdev 9i Beta) deployed to oc4j 9ias. Every time the BC4J HTTP container and session cookie for the application time's out and a new instance of the application is invoked through a client browser, the RAM on the machine decreases. The fear is that the RAM will eventually fall to very low levels and adversely affect perfomance every time a time out occurs and a new instance of the application is invoked. When no time out's occur and new instances are invoked, the RAM is stable. The issue seems to be the time out's not releasing resources? The following is the message:
    "BC4J HTTP container was timed out
    The session cookie for the application, AdminAppModule, was timed out"
    Any suggestions would be appreciated. Thanks in advance.

    Please see response to other post at:
    Access,Oracle Trusted Connection ODBC?
    JR

  • BC4J on OC4J

    Hi,
    May i know the problem i'm having here. As far as i know the
    class is in at least 7 jars inn the j2ee\home\lib folder.
    11/26/01 8:00 PM defaultWebApp: Servlet error
    java.lang.NoClassDefFoundError:
    oracle/jbo/server/ApplicationModuleImpl
         at java.lang.ClassLoader.findLoadedClass(Native Method)
         at java.lang.ClassLoader.loadClass(ClassLoader.java,
    Compiled Code)
         at sun.misc.Launcher$AppClassLoader.loadClass
    (Launcher.java, Compiled Code)
         at java.lang.ClassLoader.loadClass(ClassLoader.java,
    Compiled Code)
         at java.lang.ClassLoader.loadClass(ClassLoader.java,
    Compiled Code)
         at java.lang.ClassLoader.loadClass(ClassLoader.java,
    Compiled Code)
         at java.lang.ClassLoader.loadClassInternal
    (ClassLoader.java, Compiled Code)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java, Compiled Code)
         at oracle.jbo.common.JDKClassLoader.loadClassForName
    (JBOClass.java:103)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML
    (ApplicationModuleDefImpl.java, Compiled Code)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML
    (ApplicationModuleDefImpl.java:541)
         at oracle.jbo.server.MetaObjectManager.loadFromXML
    (MetaObjectManager.java:787)
         at oracle.jbo.server.MetaObjectManager.loadLazyObject
    (MetaObjectManager.java:516)
         at oracle.jbo.server.MetaObjectManager.findMetaObject
    (MetaObjectManager.java:340)
         at
    oracle.jbo.server.ApplicationModuleDefImpl.findDefObject
    (ApplicationModuleDefImpl.java:158)
         at
    oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModu
    le(ApplicationModuleImpl.java:257)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create
    (ApplicationModuleHomeImpl.java:85)
         at
    oracle.jbo.common.ampool.ApplicationPoolImpl.createNewInstance
    (ApplicationPoolImpl.java, Compiled Code)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.checkout
    (ApplicationPoolImpl.java, Compiled Code)
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.internalGetAppModuleIn
    stance(JSPApplicationRegistry.java:463)
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance
    (JSPApplicationRegistry.java:377)
         at
    oracle.jdeveloper.html.DataWebBeanImpl.internalInitialize
    (DataWebBeanImpl.java:404)
         at
    oracle.jbo.html.databeans.JSViewCurrentRecord.internalInitialize
    (JSViewCurrentRecord.java, Compiled Code)
         at oracle.jdeveloper.html.WebBeanImpl.initialize
    (WebBeanImpl.java:56)
         at oracle.jdeveloper.html.DataWebBeanImpl.initialize
    (DataWebBeanImpl.java:360)
         at oracle.jdeveloper.html.DataWebBeanImpl.initialize
    (DataWebBeanImpl.java:391)
         at /bc/InvLookupValuesView_RowViewer.jsp._jspService
    (/bc/InvLookupValuesView_RowViewer.jsp.java:46) (JSP page line
    16)
         at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
         at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].server.http.HttpApplication.serviceJSP
    (HttpApplication.java:5459)
         at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
         at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].server.http.ServletRequestDispatcher.invoke
    (ServletRequestDispatcher.java, Compiled Code)
         at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].server.http.ServletRequestDispatcher.forwardInternal
    (ServletRequestDispatcher.java:177)
         at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest
    (HttpRequestHandler.java, Compiled Code)
         at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].server.http.HttpRequestHandler.run
    (HttpRequestHandler.java, Compiled Code)
         at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for
    J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java, Compiled
    Code)
    Thanks
    Amin

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Shahbaz([email protected]):
    I am having the same problem. The server cant seem to find my appmodule .properties file. I have included it in a jar file in the J2EE/HOME/LIB folder and also set the classpath to it. Yet i keep getting "JSP Registry could not locate runtime property file:MyProject2_package1_Package1Module.properties" The same exact jar files in IPlanet run just fine. Also, this only happens when i use JSP pages built from using Oracle provided beans. The JSP pages built with TAGS do not pose this same issue. This is propably because on the JSP's that use the beans there is a call: oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "MyProject3_package1_Package1Module"); Also when i remove this call from all the pages i still get the same error.
    This project i created just by running the BC4J JSP application wizard - nothing fancy, just scott emp/dept tables. has anyone got this to work? <HR></BLOCKQUOTE>
    Ditto. I have spent hours with this exact problem. In the end, I reverted to deploying my existing code to 9ias 1.0.2.2, ie not using the OC4J engine. My code which worked with earlier versions of ias (including 8ias and 1.0.2.0) suddenly had a problem in 9ias 1.0.2.2 finding my connection file. It appears to be a general problem with the ClassLoader and the path of the resource.
    Shahbaz, have you tried to run your generated JSP with the BC4J against 9ias (just using Apache and the Oracle engine) ? Do you get different results ?
    null

  • ADF/BC4J & Eclipse

    Hi there,
    I may not be posting in the right forum, but it seems to be the closest on topic, so here goes the quite unpopular question: what is the status of ADF/BC4J development on Eclipse?
    Some superficial googling left me with the impression that ADF development is possible, but lacking the JDev wizards, and I drew a blank concerning BC4J.
    Assuming that I have it right, is there any plan to make an Eclipse plugin that replicates JDev wizards? Is BC4J development with Eclipse possible at all? Is there a chance that the JDev wizards will be made available? And if so, when?
    Thank you for your time,
    Albain

    Hi,
    We are experiencing something similar as you have described.
    In order to solve performance issues we are applying following things:
    1. Memory configuration in jdev.conf and ide.conf
    2. JSPX editors are changed to open in Source view
    3. Developer comments all entries in DataBindings.cpx file, except those relevant to her/his form
    4. We have developed large set of Model projects, so we are using Working Sets to filter only relevant projects - this is reducing Data Control visibility
    5. When you have opened JSPX, never scroll through source - it will try to load all Bindings available on the page and memory will grow 1 MB per 1 sec. Always use Structure window to navigate through page components and use Property Inspector to change properties - dont change properties directly in the source code
    6. We have integrated XMLPad as External Tool into JDeveloper, and we are doing JSPX changes usually from XMLPad. Its especially good when all Bindings are created on the page and you want just to adjust layout
    7. We have increases memory for embedded WebLogic
    8. Use SVN Pending Changes window only when its needed
    With those guidelines, we manage to keep JDeveloper without restart about 2 hours (in average). We have around 3500 files in total in our project.
    What is most hard for me is to convince management, that tool performance is not affecting development team performance.
    Regards,
    Andrejus

  • Struts support in portal

    When is portal going to properly support Struts based applications?
    Jdev 903 has support for Strust (well sort of it's somewhere between Strust 1.0 and 1.1) - thanks Jdev team! but Portal in 9iAS 902 does not support struts apps at all! One can deploy a struts based app as a portal provider but when it comes to running the struts app modules as portlets it bombs! The app does work in Jdev though...
    So much for following Oracle's advice on using frameworks and believing that it would actually work in the app server as it should AN INTEGRATED APPLICATION SERVER.

    Why then does Oracle reccomend that development teams use this type of development framework, knowing full well that apps developed in this manner will not work in the app server portal product.
    If we cannot deploy a J2EE app developed using struts & BC4J into portal what is the point of using the app server, one may aswell deploy on Tomcat. The whole point of using Portal is the additional services such SSO, OID, Portal Page Designer etc that make development of the app faster.
    Don't get me wrong - we are totally commited to Oracle & the product set - what makes my blood boil is that we adpot a strategy as advocated by Oracle for RAD by using BC4J & Struts only to find we cannot deliver to the customer because Oracle never told us it wouldn't work.

  • Automatic Deployment Performance (How long should it take?)

    I began an automatic deployment this morning. How long should it normally take?
    I setup the BC4J directories and libraries on the server in accordance with the bc4j2oc4j.sh script and made sure the admin.jar for both JDeveloper and OC4J are version compatible.
    What would slow down the process?

    Be sure you have performed the following:
    Unzip, in Solaris, the current release of JDev on same root as OC4J.
    Edit appropriately and run the <JDEV_HOME>\BC4J\bin\bc4j2oc4j.sh script in the OC4J_HOME on Solaris. Be careful! JDEV_HOME and OC4J_HOME should be on equal levels. Do not unzip JDev within OC4J.
    Ensure both 9iAS and JDev's (latest release) oc4j.jar and admin.jar are version compatible. Check the sizes and dates. Copy the OC4J's (latest release) oc4j.jar file to your <JDEV_HOME>\j2ee\home directory on the client not the server copy.
    Edit your .profile (Sun OS) setup PATH, JDK_HOME = my jdk1.3.1 from the "soft link", OC4J_HOME, and JDEV_HOME on the server.
    Be sure you have a "soft link" to JDK1.3 on Sun. Try typing java -version at the $ prompt on Solaris. It should say 1.3.1. If it does not work, most likely its Paths or Permissions to another JDK1.2, etc. Chown something... Find out how to do a "soft link" in Solaris. Its a default setting I think.
    Restart the OC4J and begin auto deploy.
    Thanks to all the Forum experts for your contributions to my success.
    Arnold Angel
    [email protected]

  • How do I catch the button click event from toolbar for my JSP?

    I am using JDev 3.2 and BC4J for my JSP. I am using data web bean methods to create my JSPs. I need to implement a
    master-detail relation in my JSP. Currently I put my master browser as the top frame of JSTabContainer bean and put my
    6 detailed tables into 6 tabs. I found that when I click the next or previous button of toolbar of master frame, the detail tab
    does not display the corresponding detail data properly. I think the reason is that I did not refresh the tab content when
    the user change the current record of master table. Now my question is that how do I catch those events so that I can
    refresh the content of my detail table? Or whatever suggestion can make this work.
    Thanks,
    Lisa

    You posted here with Firefox 17.0.1.
    Try running a Norton Live Update so Norton can update their Firefox add-on and get that Toolbar working again.
    That said, Norton doesn't do anything about Malware. You need a Malware application to locate and remove Malware.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://windows.microsoft.com/en-US/windows7/products/features/windows-defender]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • Web services design issues.... for a newbie

    I have to develop several web services (JDev 9.0.2.822 and 9iAS R2). Almost all examples that can be downloaded from OTN expose simple web services that user java datatype like strings, ints and the like. In my case, the web services I should develop transfer custom information which are modeled as value classes or entity EJB's in my app. We deal with complex objects which contain collections/arrays/lists of other objects, and although most of the bussiness logic of the app is exposed via stateless session beanss and clases, I can not select their nethods since there ar no custom serializers for them.
    By reviewing the sample newsfeed web service I noticed that int their implementation they decided to "hard-code" the data by doing an XML-query to the db and constructing a custom XML document. this document is returned as a java string so the web-service is, at the end a very simple one, which uses no custom serializers. Of course there is code to create the XML doc, and there should be some XML parsing at the client in order to deserialize the XML into java in order to do something with it.
    My question is, is this the "preferred" method to deal with custom complex datatypes. should I include code in my beans and value classes so they "serialize" itself to XML so my web services have to deal with simple java strings? I have no experience in developing serializers, and I can't see why they are used? I am not sure which path should I follow, for example, should I use an array serializer to serialize a collection/array of object or should I better develop a method which will create a custom XML document repesenting the array? Are there any trade-off?
    I have to start development right away, so please give me some insinght.
    Thanks,
    Fedro.

    Yes, Oracle9iAS is currently production on 9.0.2. The target for OC4J 9.0.3 was end of summer but I have not seen it arrive yet. It is supposed to work in conjunction with 9.0.2 - i.e. you can use the OC4J 9.0.3 with the rest of your Oracle9iAS implementation. I think you are reasonably safe assuming it will be here by year end. I sit on the JDev side of the house so don't have specifics on what their actual delivery dates are but would guess sometime during September. The developer preview of OC4J 9.0.3 is currently available here on OTN as per the headline in the Web services Center at: http://otn.oracle.com/tech/webservices.
    There are two big advantages of OC4J 9.0.3:
    1. Interoperability testing ... it has been put through the SOAPBuilder's interoperability tests and includes a test suite for you to try it out 9.0.2 is fine here but you have evidence in 9.0.3;
    2. Feature/functionality - support for Web services based on JMS, document style Web service support, testing harness at the end-point, J2EE 1.3 certification, custom serialization support (not there in 9.0.2), cleaner PL/SQL based Web services and more - see:
    http://otn.oracle.com/products/ias/daily/jul22.html
    The development environment that goes along with it is JDeveloper 9.0.3. While OC4J 9.02/9.03 comes with what is called the Web services assembly tool for those who like scripting/command-driven approaches, JDev puts a traditional visual dev environment on top of the OC4J 9.0.3 environment (and also Apache SOAP 2.2/2.3.1, incidently) The developer preview of JDev 9.03 is due out within days here on OTN ... probably Tuesday based on what I understand. JDev 9.0.3 production is scheduled to arrive probably in late September mid-October.
    Hope this gives some background to help with your decision.
    Mike.

  • Problem after deployment---urgent please help

    Hi All
    I have deployed my application and the bc4j on 9IAS..i am getting the following error while committing a new record.
    Can u please tell me how should i go about resolving this problem or even editing my bc4j..file
    oracle.jbo.AttrValException: JBO-27014: Attribute MiAgentSynchronizedInd in MiAgent is required
    void oracle.jbo.AttrValException.(int, java.lang.Class, java.lang.String, java.lang.String, java.lang.String)
    void oracle.jbo.server.JboMandatoryAttributesValidator.validateMandatoryAttributes(oracle.jbo.server.EntityImpl)
    void oracle.jbo.server.JboMandatoryAttributesValidator.vetoableChange(oracle.jbo.server.util.PropertyChangeEvent)
    void oracle.jbo.server.EntityDefImpl.validate(oracle.jbo.server.EntityImpl)
    void oracle.jbo.server.EntityImpl.validateEntity()
    void oracle.jbo.server.EntityImpl.validate()
    void oracle.jbo.server.DBTransactionImpl.validate()
    int oracle.jbo.server.DBTransactionImpl.commitInternal(boolean)
    void oracle.jbo.server.DBTransactionImpl.commit()
    int oracle.jbo.html.jsp.datatags.CommitTag.doStartTag()
    void DataHandlerComponent.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void com.orionserver.http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
    void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
    void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.ServletRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.GetParametersRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.EvermindPageContext.include(java.lang.String)
    int oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag()
    void AgentMainView_Edit._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void com.orionserver.http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
    void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
    void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
    boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
    void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
    void com.evermind.util.ThreadPoolThread.run()

    oracle.jbo.AttrValException: JBO-27014: Attribute MiAgentSynchronizedInd in MiAgent is required
    void oracle.jbo.AttrValException.(int, java.lang.Class, java.lang.String, java.lang.String, java.lang.String)
    void oracle.jbo.server.JboMandatoryAttributesValidator.validateMandatoryAttributes(oracle.jbo.server.EntityImpl)
    void oracle.jbo.server.JboMandatoryAttributesValidator.vetoableChangePreety:
    The stack trace shows that your attribute 'MiAgent' is marked as a required (not-null) attribute, but the new row's MiAgent is null.
    Either change the attribute definition (if the attr should allow null) or set a non-null value for the attr.
    Thanks.
    Sung

Maybe you are looking for