Connectig to olap from jdev --- a succes???

1. Install Oracle 9i Release 2 (9.2.0.1) Enterprise Edition with the General purpose database configuration (Data warehouse works as well). At the end of the installation I chose the password management button to change passwords for the few necessary accounts: SYS, SYSTEM, OLAPSYS, SH.
2. Download the p3948480_9206_WINNT.zip from metalink, the 9.2.0.6 patchset
3. Shut down any existing Oracle9i database instances with normal or immediate priority. Stop all listener and other services running in the Oracle home directory where you want to install the patch set.
4. unzip the content of thepatch to a temp directory
5. start setup.exe under the temp directory (it will start the Oracle Universal installer 10.1.0.3)
6. install the patchset to your Oracle home, selecting the source in the temp_dir\stage\products.jar file
7. review carefully the post-installation tasks for the patchset:
Review the following sections before upgrading a database (quote from the patchset html readme):
8.2.1.1If JServer is part of the installation ensure that there is at least 10 MB of free space allocated to the SYSTEM tablespace.
8.2.1.2 Check XDB Tablespace Size
For RAC installations, ensure that there is at least 50 MB of free space allocated to the XDB tablespace.
8.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters
Set the value of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters as follows:
Start the database:
SQL> STARTUP
If necessary, enter the following command to determine whether the system uses an initialization parameter file (initsid.ora) or a server parameter file (spfiledbname.ora):
SQL> SHOW PARAMETER PFILE;
This command displays the name and location of the server parameter file or the initialization parameter file.
Determine the current values of these parameters:
SQL> SHOW PARAMETER SHARED_POOL_SIZE
SQL> SHOW PARAMETER JAVA_POOL_SIZE
If the system is using a server parameter file:
If necessary, set the value of the SHARED_POOL_SIZE initialization parameter to at least 150 MB:
SQL> ALTER SYSTEM SET SHARED_POOL_SIZE='150M' SCOPE=spfile;
If necessary, set the value of the JAVA_POOL_SIZE initialization parameter to at least 150 MB:
SQL> ALTER SYSTEM SET JAVA_POOL_SIZE='150M' SCOPE=spfile;
If the system uses an initialization parameter file, if necessary, change the values of the SHARED_POOL_SIZE and the JAVA_POOL_SIZE initialization parameters to at least 150 MB in the initialization parameter file (initsid.ora).
Shut down the database:
SQL> SHUTDOWN
8.2.2 Upgrade the Database
After you install the patch set, you must complete the following steps on every database associated with the upgraded Oracle home:
Log on as a member of the Administrators group to the computer where the Oracle components are installed.
Use SQL*Plus to login to the database as the SYS user with SYSDBA privileges:
sqlplus /NOLOG
CONNECT SYS/password AS SYSDBA
Enter the following SQL*Plus commands:
SQL> STARTUP MIGRATE
SQL> SPOOL patch.log
SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
SQL> SPOOL OFF
Restart the database:
SQL> SHUTDOWN
SQL> STARTUP
Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.
SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql
9. Download the p4156468_9206_WINNT.zip patch for RDBMS and unzip in a temp dir
10. Download the p2617419_10102_GENERIC.zip patch for OPATCH
11. Go through:
# Pre-Install Instructions:
# Perform a clean shutdown of all Oracle databases, Oracle listeners, Oracle agents etc. that
# run from the Oracle Home where you install this patch.
# Stop all oracle services , Distributed Transaction Coordinator and other applications that use Oracle Client.
# This may include Webservers if any, that load Oracle client in the mid tier.
# Patch Installation Instructions:
# This patch must be installed using the OPatch utility which depends
# upon Perl. For details of where to get OPatch / Perl and how to use
# OPatch to install this patch please refer to MetaLink Note:189489.1
# To apply the patch, make sure the ORACLE_HOME environment variable is
# set to the correct Oracle Home which needs to be patched:
# > set ORACLE_HOME=<Oracle Home Path>
# Then set your current directory to the directory where the patch is
# located, e.g.:
# > cd 4156468
# Ensure that the directory containing the OPatch script appears in
# your Path; then enter the following command:
# > perl opatch.pl apply
# Post-Install Instructions:
# 1) If Oracle Ultra Search is installed, run the following:
# sqlplus /nolog
# SQL> connect / as sysdba
# SQL > alter session set current_schema=WKSYS;
# SQL > @%ORACLE_HOME%\ultrasearch\admin\wk0meta.plb
# SQL > @%ORACLE_HOME%\ultrasearch\admin\wk0ds.plb
# Restart the Oracle Http server and jserv.
# 2) SQL> connect / as sysdba
# SQL> @%ORACLE_HOME%\rdbms\admin\dbmsspc.sql
# SQL> @%ORACLE_HOME%\rdbms\admin\prvtspad.plb
# 3) Finally, to compile any invalid PL/SQL objects
# This scripts takes a positive integer parameter indicating the
# number of parallel recompilation threads desired. If this parameter
# is set to 0 or NULL, this script derives a value based on the
# CPU_COUNT database parameter. If the parameter is set to 1,
# sequential recompilation is used.
# SQL> connect / as sysdba
# SQL> shutdown immediate
# SQL> startup
# SQL> @%ORACLE_HOME%\rdbms\admin\utlrp.sql
12. Install JDeveloper 9.0.4 (download it from OTN and just unzip it in a directory ... it doesn't require an oracle home)
13. Install BI Beans 9.0.4 (download it from OTN as well), run the setup.exe that comes with it and in the destination oracle home select the directory where you installed JDeveloper and give an oracle home name to it)
14. Install the BIBDEMO schema:
Create a directory on the computer that is running the Oracle9i database. This install_home directory is the location to which you will upload the data files that are required to build the BIBDEMO schema.
On the computer where BI Beans is installed, locate the bibeans_home\bibdemo_schema folder (where bibeans_home is the root folder of your BI Beans installation). Copy all of the files found in this folder to the install_home folder on your server machine.
Open a DOS prompt and navigate to the install_home folder.
Run bibdemo.bat to install the schema, using the following syntax:
bibdemo.bat <path to Oracle database files >
For example, for an instance named my9iService, enter the following:
bibdemo.bat D:\OraHome1\oradata\my9iService
You are prompted for the password for the sys as sysdba user.
The script takes approximately 15 minutes to run, depending on the machine specifications. It is normal to see some error messages while the script is running. In addition, when materialized views are being created in the database, the script will appear to stop; this is also normal. A clear message will tell you when the script has completed.
The log files (*.log) that are generated by the installation script are stored in the folder from which you ran the script.
15. Install the BI Beans Catalog (BIBCAT schema):
On your local machine, open a command prompt at Oracle_home/bibeans/bin where Oracle_home is the directory where JDeveloper is installed. When you installed BI Beans, you made this directory an Oracle Home.
Set the environment variable JDEV_ORACLE_HOME to the Oracle Home directory.
Ensure that the environment variable JAVA_HOME is set to the directory where the JDK is installed.
If the environment variable JDBC_CLASSPATH is not set, then installing the Catalog sets it to ORACLE_HOME/bibeans/jdbc/lib_92, the directory that contains the JDBC files that are required by BI Beans. However, if JDBC_CLASSPATH is already set, then you must ensure that it references a directory that contains an appropriate version of the JDBC files (classes12.jar and nls_charset12.jar), as follows:
If you are using the Oracle JDBC Thick (OCI) driver, then the version of the JDBC files must exactly match that of the database.
If you are using the Oracle JDBC Thin (Pure Java) driver, then you should use the JDBC files from Oracle9i Release 2, 9.2.0.2 or higher.
Ensure that sqlplus is included in the PATH variable.
Run Oracle_home\bibeans\bin\bi_installcatauto.bat on Windows or Oracle_home/bibeans/bin/bi_installcatauto.csh on UNIX as follows:
bi_installcatauto host_name port_id sid
Where host_name is the name of the host machine, port_id is the port identifier, and Sid is the identifier of the database instance. For example :
bi_installcatauto sun-server 1521 orcl
When prompted, enter the password for the user SYSTEM. (If you do not know the password, then ask your DBA.) When you see a warning that the BI Beans Catalog is about to be overwritten, press Y to continue. The script creates a user named BIBCAT, with default tablespace USERS, and temporary tablespace TEMP.
Note: BIBCAT is an application user, as well as the Catalog schema owner. The user name is case sensitive. Application user names are used when running the BI Beans Catalog Explorer. You should also make note of the user name now, because you will need it later when you are developing applications with JDeveloper.
As the script runs, error messages are written to the console. Some error messages occur when database objects that do not exist are dropped; you can ignore such messages. However, if there are other error messages, then review the errors and take appropriate action.
At these last two steps, be very careful with those environment variables (especially the JDBC_CLASSPATH - Windows example -- If the Oracle Home directory is d:\oracle9, then you enter the following: JDBC_CLASSPATH=d:\oracle9\jdbc\lib\classes12.jar;d:\oracle9\jdbc\lib\nls_charset12.jar)
16. after all this, break your keyboard, cause it's still not working :))
17. this I don;t guarantee that will also work for you, but for me, at the end of almost 24 hrs of "installing" finally gave some results.
open sqlplus /nolog
connect / as sysdba
@%Oracle_home%\cwmlite\admin\amdpatch.sql
@%Oracle_home%\cwmlite\admin\postamd.sql
@%Oracle_home%\olap\admin\olap.sql
I think you should also run @%Oracle_home%\olap\admin\olapapi.sql but when I noticed that something finally worked I was too afraid to try anything else.
Here's what
bi_checkconfig.bat -h ana -po 1521 -sid proiect -u bibdemo -p bibdemo -q
returned:
BI Beans Diagnostics(v1.0.2.0) 2/28/05
===============================================================================
JDEV_ORACLE_HOME .......................... = E:\OraDS
JAVA_HOME ................................. = E:\OraDS\jdk
JDeveloper version ........................ = 9.0.4.1.1.1436
BI Beans release description .............. = BI Beans 9.0.4 Production Release
BI Beans component number ................. = 9.0.4.23.0
BI Beans internal version ................. = 2.7.5.32
Connect to database ....................... = Successful
JDBC driver version ....................... = 9.2.0.4.0
JDBC JAR file location .................... = E:\OraDS\jdev\lib\patches
Database version .......................... = 9.2.0.6.0
OLAP Catalog version ...................... = 9.2.0.1.0
OLAP AW Engine version .................... = 9.2.0.1.0
OLAP API Server version ................... = 9.2.0.1.0
BI Beans Catalog version .................. = N/A; not installed in bibdemo
OLAP API JAR file version ................. = 9.2
OLAP API JAR file location ................ = E:\OraDS\jdev\lib\ext
Load OLAP API metadata .................... = Successful
Number of metadata folders ................ = 2
Number of metadata measures ............... = 12
Number of metadata dimensions ............. = 8
Testing sample query for measures and dimensions
(S=Schema, C=Cube, M=Measure, D=Dimension)
1/21) Measure Budget ................... = Successful
S=BIBDEMO, C=BIBDEMO_BUDGET_CUBE, M=BUDGET
2/21) Measure Actual ................... = Successful
S=BIBDEMO, C=BIBDEMO_ACTUAL_CUBE, M=ACTUAL
3/21) Measure Close Price .............. = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_CLOSE
4/21) Measure Open Price ............... = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_OPEN
5/21) Measure Low Price ................ = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_LOW
6/21) Measure High Price ............... = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_HIGH
7/21) Measure Stock Volume ............. = Successful
S=BIBDEMO, C=BIBDEMO_STKPRICE_CUBE, M=STKPRICE_VOLUME
8/21) Dimension Division ............... = Successful
S=BIBDEMO, D=DIVISION
9/21) Dimension Line Items ............. = Successful
S=BIBDEMO, D=LINE
10/21) Dimension Time ................... = Successful
S=BIBDEMO, D=TIME
11/21) Dimension Day .................... = Successful
S=BIBDEMO, D=DAY
12/21) Dimension Stock .................. = Successful
S=BIBDEMO, D=STOCK
13/21) Measure Costs .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.COSTS
14/21) Measure Promotion ................ = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.PROMO
15/21) Measure Quota .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.QUOTA
16/21) Measure Units .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.UNITS
17/21) Measure Sales .................... = Successful
S=BIBDEMO, C=ANALYTIC_CUBE, M=F.SALES
18/21) Dimension Channel ................ = Successful
S=BIBDEMO, D=CHANNEL
19/21) Dimension Geography .............. = Successful
S=BIBDEMO, D=GEOGRAPHY
20/21) Dimension Product ................ = Successful
S=BIBDEMO, D=PRODUCT
21/21) Dimension Time ................... = Successful
S=BIBDEMO, D=TIME
Metadata output location .................. = E:\OraDS\bibeans\bi_checkconfig\bi
_metadata.txt
To interpret this output, see the "Displaying Information about your Oracle9i Bu
siness Intelligence Beans Client Configuration" technical note, whose file name
is bi_checkconfig_tn.html
These diagnostics are captured in: E:\OraDS\bibeans\bi_checkconfig\bi_checkconfi
g.xml
so, is this ok???????
should i do anything else?????????

Hi..
Even I tried installing patch 9.2.0.6. much much similar to the way you tried except for the last two post installation patches you mentioned I didnt run it.
I didnt understnd what the problem is but when I open sqlplus I still see it as 9.2.0.1.
Can anyone suggest me how to correct it or is the way I installed is wrong?
A quick answer would be the biggest favour for me
thanks in advance

Similar Messages

  • Trouble creating PL/SQL connection from JDEV to 10g XE

    Hi,
    I am wanting to run PL/SQL from JDev against the hr table in the 10g XE database.
    <br><br>
    In doing so I first need to create <em>my first</em> connection from inside JDev 10.1.3.2.0 to an Oracle Lite (10g) database. Both are installed on my personal PC.
    <br><br>
    So far I have been unable to create the connection; here is where I am so far in my attempts:<br><br>
    Enter the Create Database Connection Wizard<br>
    1) Entered a connection name and choose "Oracle Lite" as the connection type<br>
    2) Entered the User Name and Password for the System user of the 10g XE database<br>
    3) Entered Type 4 Driver; Host Name: localhost, JDBC Port 100, SID XE<br>
    4) I created my own library called "Oracle_Lite" with a class path that points to an olite40.jar file. I did not set the Source path or the Doc path when creating the library. Is this the correct library? <br>
    5) When clicking "Test Connection" it comes back pretty quickly with "Internal Error:Invalid Connect String"<br><br>
    After talking with a work mate I changed the JDBC Port to 1521 and now when I test the connection it starts testing and doesn't stop. The testing indicator bar continues going back and forth indefinitely. Can I assume I am at least now using the correct port?<br><br>
    Any advice or general tips on creating the connection to allow PL/SQL against the 10g XE database from JDEV would be great.

    Oracle 10g XE is not Oracle Lite. Just leave the connection type as the default - Oracle(JDBC), later use the thin JDBC driver, it should work. Continue to use port 1521 and SID as XE.

  • Migrating Application from JDev 10.1.3.5 to JDev 11.1.2.2.; WebLogic issues

    Hi,
    I've been in the process of migrating an application we have from JDev 10.1.3.5. to the most current release. This involved migrating from OC4J to the WebLogic Server. After clearing up code-related issues, I have been trying to mitigate errors that came from deploying the application to the WebLogic server. I fixed (or so I think) the original error(see immediately below in italics) by deleting the servlet tag in both of the web.xml files (ViewController and Deploy) that are within the application. I also changed it to 'adfLibResources' per a previous thread on this topic.
    +<Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\priestem\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\o.j2ee\drs\Muster\ModelWebApp.war. Please make sure that the annotations are valid. The error is oracle.adf.view.faces.webapp.ResourceServlet>+
    Now I am getting the following errors:
    <Aug 6, 2012 3:24:28 PM CDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\priestem\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\o.j2ee\drs\Muster\ViewControllerWebApp.war. Please make sure that the annotations are valid. The error is >
    <Aug 6, 2012 3:24:28 PM CDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1344284600393' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Muster''
    weblogic.application.ModuleException: Failed to load webapp: 'Muster'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.UIXPanelTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    <Aug 6, 2012 3:24:28 PM CDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Muster'.>
    <Aug 6, 2012 3:24:28 PM CDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'Muster'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.UIXPanelTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    [03:24:28 PM] Deployment cancelled.
    [03:24:28 PM] ---- Deployment incomplete ----.
    [03:24:28 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application Muster due to error deploying to IntegratedWebLogicServer.
    [Application Muster stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Can someone please provide insight/direction? I restarted this whole process because I was not sure if I was making mistakes. But I have received this same exact error both times in both copies of the application code.
    Thanks,
    M. Priester

    I think your web.xml that is a part of the application had the following:
    <taglib>
    <taglib-uri>
    http://xmlns.oracle.com/adf/faces
    </taglib-uri>
    <taglib-location>
    /WEB-INF/lib/adf-faces-impl.jar
    </taglib-location>
    </taglib>
    I think this is not even your configuration but something that JDev added, thus you can consider testing removing this part of the code and test your application and verify the functionality.
    Regarding the possible issue during migration from 10g to 11g of Jdev, you can review the following thread:
    Class not found : oracle.adfinternal.view.faces.taglib.UIXPanelTag
    The missing class is a part of "adf-faces-impl-1013.jar" which seems to be specific to the JDev 10g, thus might not be even required by JDev11g.
    Also regarding the fact that how this seems to be an issue with missing class, please review the following API doc for better understanding of the classnotfoundexception:
    http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html
    Cheers,
    AJ

  • Migrating an application from JDev 10.1.3 to JDev 10.1.3.2

    Hi,
    I am having trouble migrating an application made with JDev 10.1.3 to 10.1.3.2.
    Everything is fine when I run it on the embedded OC4J, but when I try to deploy I have problems.
    The application is deployed on OAS 10.1.3R3.
    What I have done so far was to install the new ADF libraries using ADFinstaller, editing server.xml as per Note:417812.1 and include adf-faces-api.jar, adf-faces-impl.jar, jsf-api.jar, jsf-impl.jar and adfshare.jar from JDev 10.1.3.2 to my project WEB-INF/lib folder.
    Some pages are working as they should, but when a date is to be displayed I have this error:
    javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.timestampValue()Ljava/sql/Timestamp;So, am I missing some jar to be included? Have I missed a step or two?
    Thank you for your help.
    adsm

    Solved.
    For some reason, once the application has been migrated, the following lines were added to orion-application.xml:
        <imported-shared-libraries>
            <import-shared-library name="adf.generic.domain" min-version="10.1.3"></import-shared-library>
            <remove-inherited name="adf.oracle.domain"></remove-inherited>
        </imported-shared-libraries>
    -------I do not know if the migration tool was directly responsible for this. Anyway, as this project has been migrated time and time again from a JDev version anterior to 10, this kind of thing was bound to happen someday.
    Cheers,
    adsm

  • Error accessing EJB bean on ias 10.1.2 from Jdev 10.1.3

    I have deployed an ADF Application Module from Jdev 10.1.3 to Oracle Application Server 10.1.2 as an EJB.
    Then I made að sample java client (by right clicking the EJB).
    When I run the client I get the following exception (which is thrown at the Application Server):
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
         at oracle.jbo.mom.DefinitionManager.getCurrentDefinitionContext(DefinitionManager.java:1592)
         at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:874)
         at oracle.jbo.server.SessionImpl.init(SessionImpl.java:143)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createSession(AbstractRemoteApplicationModuleImpl.java:343)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createSession(ServerApplicationModuleImpl.java:118)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
         at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
         at is.fiskistofa.ask.vigtun.bc4j.appmod.server.ejb.beanmanaged.VigtunAppModuleServer.ejbCreate(VigtunAppModuleServer.java:73)
         at VigtunAppModuleHome_StatefulSessionHomeWrapper7.create(VigtunAppModuleHome_StatefulSessionHomeWrapper7.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I have installed the ADF runtime libraries at the application server so why won't it find this class ?

    We installed the ias again completely deployed our application and were able to run this simple test without errors. Then we installed the ADF Runtime (from JDev 10.1.3, without errors) and then the error in our application came again.
    We reverted the ADF Runtime installation so I don't currently have the 10.1.3 runtime installed on the Application Server.
    A simple test case would be:
    1. create new business components project
    2. define a database connection (e.g. scott)
    3. generate business components from tables (e.g. scott.emp), make a entity, a view object and an applicationmodule
    4. define a connection to an application server (in our case it is ias 10.1.2 on solaris)
    5. right click the appmodule and select "business components deployment"
    6. select EJB session beans (not simple archive)
    7. in the next step select the application module and create new local configuration
    8. deploy to appserver (using enterprise manager, I think direct deployment from JDev 10.1.3. to ias 10.1.2 is not possible)
    9. right click the EJB (in JDev) that was created after step 7 and select "new sample java client"
    10. uncomment the line where create is called.
    11. run the sample client

  • No partitions found ! error while deploying a soa composite from jdev

    Hi,
    I have an issue while deploying a composite from Jdev.
    After selecting the server I am getting "No partitions found!" error in the SOA Servers step of the Deployment.
    Followed this link ( Re: JDev PS2 (10.3.3) can't deploy SOA to WLS PS1 (10.3.2): No partititions! and changed the listen address from blank to localhost but still the issue persists.
    The versions which we are using is
    SOA suite version - 11.1.1.3
    jdev version - 11.1.1.3.0
    Please do let me know if anyone has any idea on this issue.
    Thanks and Regards,
    Kaavya

    Hi Kaavya,
    Make sure that hosts (C:\Windows\System32\drivers\etc\hosts) file has the entry for localhost -
    127.0.0.1 localhostRegards,
    Anuj

  • JBO Exception while running OAF page from Jdev

    Hi All,
    I am using jdev 10.1.3 on R12 instance.
    I am trying to customize a standard OAF page.
    For that I downloaded all the related directories from the server and placed it in the corresponding folders of jdev.
    When I rebuild the page it is rebuilding successfully, but when I run the page it is showing some jbo exception.
    The exception details are attached in word file.
    If anyone faced such issues before please share your thoughts.
    Regards
    Jyothi

    Please paste the error stack and while running the page from Jdev make sure that you have updated DBC file and check the runtime connections in project properties. check the database connection as well.
    Thanks
    Raghav

  • Error when connect OC4j From Jdev

    I setup Oracle Application Server 10g 10.1.3 successful,
    I have OPMN name is : opmn_name1
    In this opmn_name1, I created OC4J instance name is : oc4j1
    From Jdev 10.1.3.2.0, I created connection as follows:
    1. Connection Name: conn2
    2. Connection Type: Oracle Application server 10g 10.1.3
    3. Input user name and password
    4. Connect To: Group, OPMN port: 6003, ...
    5. When Test connection then get message "*Error getting Cluster Config Set URLs for uri: deployer:cluster:opmn://192.168.81.114:6003/default_group*"
    Please help me create connection to Application Server

    I stopped reading when I got to:
    I've installed Oracle RAC 10.2.0.3 for sun 64 bit
    Oracle client: Oracle 9i client
    That really says it all ... or should.

  • Unable to deploy ADF app from Jdev 10.1.3.3 to OAS 10.1.3.1

    Dear colleagues,
    I'm deploying my app from JDev 10.1.3.3 to OAS 10.1.3.1. And it is driving me crazy, my application is a J2EE ADF application. When I try to deploy I'm getting the following errors: I've tried everything during days, but still I'm not able to run it :(. The application is working fine in Jdeveloper
    This first error, I could solved adding the jhsadfrt-10.1.3.jar in the OracleAS_1\j2ee\home\applib directory. See the error solved:
    Operation failed with error:
    ******************** FIRST ERROR (SOLVED)********************************************
         Missing class: oracle.jheadstart.model.adfbc.v2.JhsApplicationModule
         Dependent class: amaos.model.common.AmaosModule
         Loader: amaos.root:0.0.1
         Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/ejb2.jar
         Configuration: <ejb> in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\amaos
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "amaos.root:0.0.1" (from <application> in /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/): This loader has been closed and should not be in use.)
    ******************* CURRENT ERROR AFTER SOLVING THE FIRST ****************
    The missing class is available from the following locations:
    1. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jct.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    2. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jmt.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    3. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/adfm.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    Any ideas?
    Thanks
    Message was edited by:
    Benalúa

    Benalua,
    (sorry, I don't know how to type the "u" with the diacritic mark above it in your name)
    Did you deploy the ADF 10.1.3.3 libraries to the 10.1.3.1 app server? An alternative might be to apply the 10.1.3.3 patch to the 10.1.3.3 app server.
    John

  • NoClassDefFoundError while accessing JMS Queue from JDev 10.1.3.3

    Hi,
    I'm trying to get a handle of a JMS queue, which resides on Oracle App Server 10.1.3.4, from a Java Program which I'm trying to run from JDeveloper 10.1.3.3.
    I'm trying to make an RMI connection to the App server from JDeveloper by passing following information to the intialContext:
    env.put("java.naming.factory.initial",
    "oracle.j2ee.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL,
    "ormi://wafedabpelqa10.corp.weyer.pri:12402");
    env.put("java.naming.security.principal","oc4jadmin");
    env.put("java.naming.security.credentials","welcome1");
    Where the above information is related to our App Server.
    I'm successfully able to establish an RMI connection from JDev to Oracle App Server and can lookup datasources created on the App server using their
    JNDI names. However if I try to look up a JMS Queue from the App server using its JNDI name, I get an error as:
    java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory
    I have also tried to use the value "com.evermind.server.rmi.RMIInitialContextFactory" for "java.naming.factory.initial",
    however I still get the same error.

    Hi,
    this should work and you need to download the rmi library http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
    thanks
    # String queueName = "jms/MyJMSQueue";
    # String queueConnectionFactoryName = "jms/MyJMSQCF";
    # Context ctx;
    # try { 
    # Properties parm = new Properties();
    # parm.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    # parm.setProperty("java.naming.provider.url","ormi://localhost:23791/");
    # parm.setProperty("java.naming.security.principal","oc4jadmin");
    # parm.setProperty("java.naming.security.credentials","welcome");
    # ctx = new InitialContext(parm);
    # QueueConnectionFactory connectionFactory =
    # (QueueConnectionFactory)ctx.lookup(queueConnectionFactoryName);
    # connection = connectionFactory.createQueueConnection();
    # connection.start();
    # session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    # queue = (Queue)ctx.lookup(queueName);
    # sender = session.createSender(queue);
    # receiver = session.createReceiver(queue);
    # } catch (JMSException je) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # je);
    # } catch (Throwable t) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # t);
    # }

  • Issue in Migration from JDev 10.1.2  to JDev 10.1.3

    A web app developed under JDev 10.1.2. Now try to migrate it to JDev 10.1.3. During the migration process, encountered a message:
    Migrating /D:/Oracle/App/webroot/WEB-INF/struts-config.xml from JDev 10.1.2 to JDev 10.1.3
    Detected custom lifecycle in the ADF application - struts-config.xml is not migrated. Please refer to documentation section on migration.
    Migration failed for /D:/Oracle/App/webroot/WEB-INF/struts-config.xml
    What should I do?
    Thanks

    i got same problem too.
    run project,display as follow:
    java.lang.RuntimeException: Model binding context not initialized     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:113)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)

  • VO substitution not taking effect when running from Jdev

    Hi,
    I made a VO substition. However, when running the page from Jdev, the substition is not in effect. When I press "about this page" I see the original view objects - not my own.
    I have verified that my .jpx file contains the substitution.
    I have tried followed the instructions in the OAF user guide and added -Djbo.project=<myprojectname> to the project runtime java options.
    However - if deploying the jpx file on the server with jpximport, the substitution is working. But why is it necessary to deploy that substition on the server when running locally. Also, that should not be necessary according to the user guide.
    Any ideas?

    When running locally u don't need to dceploy substitution on server.You only need to add substitutions in jdev and added -Djbo.project=<myprojectname>
    Note that
    the Name value is the .jpx file name without the .jpx extension (for example, ExtendLabSolutions). Be
    sure to include a space between any existing options and the new option.Also confirm u have put correct jpx file name.
    When I press "about this page" I see the original view objects - not my own.
    This is because about this page must be picking VO definations from DB, and since ur extended files are not in jdev... it will not reflect here.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Migration of ADF project from JDev 10.1.2.2 to JDev 10.1.3.1; Model cloning

    Is there a way to migrate an Oracle ADF project, specifically a Model using ADF Business Components from JDev 10.1.2.2.0 to JDev 10.1.3.1.0?
    Is there a way to create a clone of a Model using ADF Business Components from one application to be used in another application, w.o.w. to re-use a Model from one application in another application?
    Thank you in advance.

    For some reason my example code was erased from the message.
    I based my general method on following one:
    see:
    http://www.oracle.com/technology/products/jdev/howtos/10g/jcmultiform/index.html
    int count = 0;
    private DCBindingContainer createDetailBinding()
    String detailBCName = "DetailFormUIModel"+count;
    if (panelBinding.getBindingContext().get(detailBCName) == null)
    DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject("sample.DetailFormUIModel");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(detailBCName);
    panelBinding.getBindingContext().put(detailBCName, bc);
    ++count; //make sure the next name is unused thus far.
    return bc;
    return null;
    My method:
    ========
    private DCBindingContainer createBindingContainer(String packageName, String panelModelName)
    StringBuffer sb = new StringBuffer(packageName);
    sb.append(ViewConstants.STRING_DOT);
    sb.append(panelModelName);
    DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject(sb.toString()); //NOTE THE NAME.
    if (bcdef == null)
    throw new JboException("System error, "+getClass().getName()+".createBindingContainer, DCBindingContainerDef: "+sb.toString()+" not found");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(panelModelName);
    panelBinding.getBindingContext().put(panelModelName, bc);
    return bc;
    Any suggestion for replacing createBindingContainer with the 10.1.3 adequate method?
    Thanks
    Fred

  • How to use Connection Pool in ADF ear file creaion from jDev 10.1.3

    Hi,
    We are developing big application in ADF with 10 different modules. We are creating ear file with data source setting.
    How to use connection pool while creating ear file from jDev. Connection pool is alreday created in Application Server 10g.
    What all the setting we need do to make use of connection pool while creating ear file jDev.
    Thanks

    User,
    If you are using ADF Business Components, you can right-click each application module, select "configurations" and edit the configuration you are using. On the initial page of the configuration dialog, you can specify to use either a JDBC URL or a Datasource - you just need to choose Datasource and then provide the name by which to access it.
    John

  • Could not make connection to 11g PS1 BAM from Jdev 11.1.1.2.0

    Hi,
    Could not make a connection to 11g PS1 BAM store from Jdev 11.1.1.2.0.
    gave the same host and port details for BAM web host/BAM server host(specified in BAM server properties on the server) in the BAM connection details.
    gives the following error when testing the connection.
    Testing HTTP connection ... success.
    Testing Data Object browsing ... success.
    Testing JNDI connection ... failed.
    Failed to establish a connection to "ewftwn58.ebiz.verizon.com" at port 9001;
    Please verify BAM Server Host & JNDI Port.
    2 of 3 tests successful..
    i have tried by giving host name and IP address but still getting this error.
    Thanks in Adv.
    Regards,
    Chaitu.

    I am getting this same problem with PS2 11.1.1.3. This works on my single node environment, but not on our clustered environment. Same error as chaitu
    Testing HTTP connection     ... success.
    Testing Data Object browsing     ... success.
    Testing JNDI connection     ... failed.
    Failed to establish a connection to "vprbamch1vhn1.mfltest.co.uk" at port 9001;
    Please verify BAM Server Host & JNDI Port.
    2 of 3 tests successful.
    I have checked my proxy settings in JDev - I have included *.mfltest.co.uk.
    I have checked my adapter config and it all seems correct.
    Anyone find out what was wrong with their configuration when they get this issue.
    Mark.
    Edited by: marksimpson on Sep 1, 2010 6:02 PM

Maybe you are looking for

  • CS2-installing error "data1.cab" file corrupt

    I have recently reformatted my C drive and reinstalling programs. I tried to reinstall my CS2 Photoshop, but received error message that the "data1.cab" file was corrupt or missing. Could not install program. I don't know how to fix. Could someone pl

  • Adobe Premire Elements 7.0 Error

    I haven't had many problems with Adobe Premire Elements 7.0, but now, after three days of work on a project that has actually turned out really well, it has turned against me. I can't export the video as a video file. I click File>Export>Movie and ha

  • Creating a 1 page scrolling site - problems with the final section scrolling too far

    I have created a 1 page scrolling site that works fine apart from the final section, which scrolls too far. My site is made up of a pinned headr, a pinned footer, and 4 sections (defined by rectangles - each one 1011 pixels high). I have used scroll

  • HTTPS/SSL client using 'myproxy' certificates

    Hi, I'm trying to write a java client that will achieve the same as the following curl command: /usr/bin/curl -k --cert /tmp/x509up_u10002 https://mysecure_server The cert specified is obtained from a myproxy server (http://grid.ncsa.uiuc.edu/myproxy

  • Changing Apple ID - email already registered

    Hi guys, I've attempted to change my apple ID to my current email address as I do not use my old one any longer. When i try to change it, apple tells me that i cannot use this email address as it is already in use. I know this new email is not in use