Deploying ear application - migrating from OC4j to Weblogic

I am trying to migrate application from OC4J to weblogic server. Apart from usual differences in descriptors, structure of EAR etc. I came across unusual error:
"both the remote home and remote component interface must be specified. Currently, only one of them is specified"
It is about deploying session bean. Usual EJB3 stateless session bean with local and remote interface, deployed without any problem on OC4J and JBoss. Of course, I know home interfaces are something to do with EJB 2.1, but this is EJB3 application and, I guess, Weblogic has full support for it. Does it? :)
Anyway, is there workaround? Or am I missing something? I don't have to tell you what problems we will be facing if I have to restructure whole application with dozens and hundreds of session beans.
Thanks a lot!

OK. I just want to make sure that there are no problems with the deployment descriptors.
To pin point the problem do the following in JDeveloper:
1. Create a simple EJB 3.0 session bean
2. On that session bean create a Sample Java Client.
3. Run the Session Bean
4. Run the Client
5. If both are running fine, compare the deployment descriptors from the sample and your real application.
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Problem with servlet after migrating from OC4J to WebLogic 10.3

    I come across a problem when I was migrating from jDev 11g TP4 to production version in that step also server got changed from OC4J to webLogic.
    I am running java http servlet along other jspx pages. When everything was on OC4J there was no problem whit security on this servlet ( servlet was under same authorization automatically, and I was able to create new application module on this servlet by createRootApplicationModule
    ) but when I changed to WebLogic 10.3 I come across a numerous problems. First one is solved i managed to put the servlet under same authorization as jspx pages by
    *<servlet>*
    *<servlet-name>report</servlet-name>*
    *<servlet-class>path.to.class</servlet-class>*
    *<security-role-ref>*
    *<role-name>name</role-name>*
    *<role-link>valid-users</role-link>*
    *</security-role-ref>*
    *</servlet>*
    but when I trying to create new application module I get JBO-30003 error which is Caused by:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    Has anybody any idea what I am doing wrong?
    Thank you for your help, Rok Kogovšek

    for example:
    web.xml
    <security-role>
    <role-name>yourrole</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>yourrole</role-name>
    <principal-name>wlsuser</principal-name > <!-- wlsuser is define at wls console-->
    </security-role-assignment>

  • Error in deploying entity beans - migration from JBoss to Weblogic 10.3.4

    Hi,
    I am migrating EJB2.x code from JBoss to Weblogic 10.3.4. As a first step, I am tyring to deploy just Entity beans. I get following error when deploying to server.
    'weblogic.application.ModuleException: Exception preparing module: EJBModule(myEJB.jar)
    Unable to deploy EJB: CollMetaData from myEJB.jar:
    [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
    There are 1 nested errors:
    java.lang.NullPointerException
         at weblogic.ejb.container.cmp.rdbms.finders.EjbqlFinder.setMethods(EjbqlFinder.java:288)
         at weblogic.ejb.container.cmp.rdbms.Deployer.processFinders(Deployer.java:744)
         at weblogic.ejb.container.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:446)
         at weblogic.ejb.container.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:506)
         at weblogic.ejb.container.persistence.PersistenceType.setupDeployer(PersistenceType.java:455)
         at weblogic.ejb.container.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:118)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1214)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
         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)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can someone help me fixing the issue?
    I changed schema locations of descriptor files as suggested at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/overview.htm#i1074199 (see the third category for '*Enterprise Bean 2.1*' in the listing Table 1-1). Alternatively, you may see the schema locations for EJB2.0 directly at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13719/dd_reference.htm#EJBPG481

    JRE version in JBoss is 1.6.0_16. JVM in web logic is pointing to jrockit_160_22_D1.1.1-3 which is come in the package. It doesn't seem to be related to JVM version mismatch.
    I think it is an issue with definitions in weblogic-cmp-rdbms-jar.xml file. How should be the definition of entity-descriptor appear for entity bean which has finder methods in ejb-jar.xml?
    Please see the snippets from corresponding descriptor files below.
    ejb-jar.xml
    =========
    <entity>
    <display-name>EmpBean</display-name>
    <ejb-name>EmpBean</ejb-name>
    <local-home>LocalEmpBeanHome</local-home>
    <local>LocalEmpBean</local>
    <ejb-class>EmpBeanBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>EmpBean</abstract-schema-name>
    <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>phone</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>address</field-name>
    </cmp-field>
    <primkey-field>lastName</primkey-field>
    <query>
    <query-method>
              <method-name>findByPrimaryKey</method-name>
                   <method-params>
                   <method-param>java.lang.String</method-param>
                   </method-params>
              </query-method>
              <ejb-ql>SELECT Object(o) FROM EmpBean o WHERE o.lastName= ?1</ejb-ql>
         </query>
    </entity>
    weblogic-jar.xml
    ============
    <weblogic-enterprise-bean>
    <ejb-name>EmpBean</ejb-name>
    <entity-descriptor>
         <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>5</initial-beans-in-free-pool>
         </pool>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>meta-inf/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    <finders-load-bean>true</finders-load-bean>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>ejb/EmpBean</local-jndi-name>
    </weblogic-enterprise-bean>
    weblogic-cmp-rdbms-jar.xml
    ====================
    <weblogic-rdbms-bean>
    <ejb-name>EmpBean</ejb-name>
    <data-source-jndi-name>mysqlDS</data-source-jndi-name>
    <table-map>
    <table-name>emp</table-name>
    <field-map>
    <cmp-field>firstName</cmp-field>
    <dbms-column>first_namel</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>lastName</cmp-field>
    <dbms-column>last_name</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>phone</cmp-field>
    <dbms-column>phone</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>address</cmp-field>
    <dbms-column>address</dbms-column>
    </field-map>
    </table-map>
    <weblogic-rdbms-bean>
    Please ignore any typos that you may notice in above sample descriptions (because I just typed it here changing original names).
    When I try to deploy the application, I get error message as posted in my first post above in this thread. Please correct me if I am making any erros in descriptor files.
    Edited by: 839281 on Feb 25, 2011 10:55 AM
    Edited by: venkatp on Mar 1, 2011 9:31 AM

  • Application Migration from JBOSS to Weblogic Server

    Hi,
    I am facing lots of issues while deploying an .ear file on Weblogic server. In the JBOSS server the application is working properly but whenever I am trying to deploy it on Weblogic server its throwing me an error stating :
    "ERROR: No j2ee modules detected in EAR archive. Deployment aborted. "
    I tried to convert the things to .war file and tried to deploy the application, the application got deployed but its throwing 'exception'.
    Please revert me back with some solution.
    Thanks
    Trishul

    Is this forum about Jboss?
    Is it about Weblogic?
    If so, why do you put a question about a non-Oracle non-database product in a forum on Oracle Database?
    Sybrand Bakker
    Senior Oracle DBA

  • Application Migration from HP-UNIX to SUN Solaris

    Hi Gurus,
    Need help on the application migration from HP-UNIX to Sun Solaris . Copied the filesystems APPL_TOP, OA_HTML, OA_JAVA, COMMON_TOP/util and COMMON_TOP/_pages from SOURCE( HP) to TARGET SUN-solaris as per 238276.1
    Now trying to clone Autoconfig XML context file on the TARGET System
    perl adclonectx.pl migrate java=\opt\java1.4 \
    contextfile=\ul01\app\applmgr\lasrx\admin\LASRX_fiapd4.xml
    Error: source context file ul01appapplmgrlasrxadminLASRX_fiapd4.xml does not exist.
    Questions:
    ======
    1. we still need to install jdk in the TARGET or copy the file system from source(HP) to target( Solaris) bring the JDK and how to check jdk on Solaris?
    2. In clone autoconfig XML, contextfile=? Is the location of SOURCE or TARGER?
    3. I think running above with root permission.
    Please help somebody on this issue.
    Thank You.

    Hi Hussein,
    I need your help on the Application migration from HP-UNIX to SUN Solaris. As per the note 238276.1 we dont copy $806_ORACLE_HOME for cross platform migration, Copied all the filesystem from SOURCE to TARGET but rename it because it suppose to create while installing Middle tier.
    Issue:1
    =====
    When i start to set environment like below, i get the error and
    . /ul01/app/applmgr/lasrx/APPSORA.env
    ksh: /ul02/app/oracle/lasrx/8.0.6_new/LASRX_fiapd4.env: not found
    I am trying to install Middle Tier Technology Stack on SUN server ( Migrating from HP-UNIX to SUN solaris)
    Issue 2: ( Display error) while install Tech Stack
    =====
    ./rapidwiz -techstack
    Rapid Install Wizard is validating your file system......
    >> Wizard requires the DISPLAY variable to be set.
    >> Please set your DISPLAY variable and restart Rapid Install Wizard.
    even i can not see
    echo $DISPLAY because not set the environment.
    Need your help and suggetions on this.
    Thank You.

  • Migrate ADF application from OC4J to weblogic

    Hi Experts,
    we are trying to migrate ADF toystore demo(Version 10.1.2.46 (Built on 9-May-2005) from an IAS10.1.3 OC4J server to a fmw11g weblogic server,
    We used the existing .ear from the old IAS server, and tried to deploy it though EM. Firstly we got below message:
    [Wed Oct 21 22:21:44 PDT 2009] [Deployer:149191]Operation 'deploy' on application 'ADFToyStore' is initializing on 'fusion_demo'
    [Wed Oct 21 22:21:44 PDT 2009] [Deployer:149192]Operation 'deploy' on application 'ADFToyStore' is in progress on 'fusion_demo'
    [Wed Oct 21 22:21:44 PDT 2009] [Deployer:149193]Operation 'deploy' on application 'ADFToyStore' has failed on 'fusion_demo'
    [Wed Oct 21 22:21:44 PDT 2009] java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    [Wed Oct 21 22:21:44 PDT 2009] oracle.adf.model.servlet.ADFBindingFilter
    [Wed Oct 21 22:21:45 PDT 2009] Deploy operation failed.
    After installing adfmweb.jar as a library in target server, we tried again, but the error was just the same.
    Can anyone give us a clue?
    Thanks a lot,
    Todd

    That won't work. ADF 10g doesn't run on WLS. You need to upgrade to ADF 11g through JDeveloper.
    See the Upgrade Guide: http://download.oracle.com/docs/cd/E12839_01/upgrade.1111/e10127/toc.htm
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error while deploying ear file generated from weblogic to ocj4

    Hi All,
    I have an .ear file which has been generated from weblogic server.I tried to deploy it on ocj4 aby created a new project in eclipse and deploying it on ocj4.
    When I try to run my project it gives me an error:
    2008-12-15 19:13:54.811 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: javax/xml/rpc/Service
         Invalid class: javax.xml.rpc.Service
         Loader: Test.web.TSOptyQGateWeb:0.0.0
         Code-Source: /C:/OC4J_10.1.3.4/j2ee/home/applications/Test/TSOptyQGateWeb/WEB-INF/lib/jaxrpc.jar
         Configuration: WEB-INF/lib/ directory in C:\OC4J_10.1.3.4\j2ee\home\applications\Test\TSOptyQGateWeb\WEB-INF\lib
         Dependent class: oracle.jsp.runtimev2.JspPageInstFacade$DeclaredAction
         Loader: oc4j:10.1.3
         Code-Source: /C:/OC4J_10.1.3.4/j2ee/home/lib/ojsp.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\OC4J_10.1.3.4\j2ee\home\oc4j.jar
         The original class instance was defined in the shared-library oracle.ws.jaxrpc:1.1, and oc4j:10.1.3 does import that loader. This may be a search-order problem.
    Can anyone help??

    Hi,
    I checked the log-files, but there are no helpful informations, but:
    07/04/23 12:08:04 -  Start updating EAR file...
    07/04/23 12:08:04 -  start-up mode is lazy
    07/04/23 12:08:20 -  com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
                         com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
                          java.io.IOException: Stream closed
    and
    Apr 23, 2007 12:08:20... Error: Aborted: development component 'Dokusunddownloads'/'sap.com'/'localhost'/'2007.04.23.12.07.47'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
    com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
    java.io.IOException: Stream closed
    thanks,
    Lu

  • Like to migrate SRDemo from OC4J to Weblogic 10g but in vain

    Hi all experts,
    I'm newbie in WebLogic Server Admin.
    I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
    After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
    Connection name SRDemo not defined -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    What can I do ?

    CillyBanZorLore wrote:
    Hi all experts,
    I'm newbie in WebLogic Server Admin.
    I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
    After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
    Connection name SRDemo not defined -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    What can I do ?WAR SR Demo requires "SRDemo" connection . Have you provided it yet ?

  • Migration from oc4j 9.0.3 to oc4j 9.0.4 Issues

    Has anyone migrated the code from oc4j 9.0.3 to oc4j 9.0.4? Could anyone tell the migration issues please? That is, what are the parts of the code or the deployment-descriptors that need to be changed/updated?

    Did anyone migrate to OC4J 9.0.4 and experience snail pace execution? I installed the pre-release 9.0.4 and deploy my applications without any problem. When I run my applications, it has very slow response. The CPU is intermittenly processing for a long time. I didn't change any code and it was my original "ear" files from 9.0.3. Is there anything I miss?
    Regards,
    Kenny Lau

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • Problem while deploying ear application in OAS

    Hello,
    I am trying to undeploy application or redeploy, its is giving exception below exception
    ADMN-300071
    No ApplicationInfo is associated with application named: example1
    oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: No ApplicationInfo is associated with application named: example1 ,
    Again i have tried to deploy application freshly, it is telling already application is exists, i am not getting what we can do, even i have checked list of applications , the above application is present in list ,
    i am also getting admn-300075
    i am not able to deploy, redeploy or undeploy , i am not able to do anything.
    Thanks,
    Chaitanya

    I removed the jar files from /lib/ext and putted el-api.jar by myself in /lib directory. Now I can deploy my application as EAR file without problems but when I try to deploy it directly through JDeveloper the problem is the same:
        [#|2013-08-22T09:43:22.507+0200|SEVERE|glassfish3.1.2|org.apache.catalina.core.ContainerBase|_ThreadID=98;_ThreadName=Thread-2;|ContainerBase.addChild: start:
        org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException:oracle.adf.share.glassfish.listener.ADFGlassFishAppLifeCycleListener
    I do understand that I should have this JAR but I do not know where to find it and where to put then.
    Can you help in this point? Thanks

  • Issues migrating from oc4j 9.0.4 to  oc4j 10.1.3

    Is there an alterntive to env.put("dedicated.connection", "true") in the new version of oc4j, as this environment property is no longer used in 10.1.3
    I am getting an error trying to get the principal from the sessionContext.
    Though I am able to deploy my application correctly, I can login only once as the second time the principal is cached and i can no longer login to my application.
    Is there a way to obtain a new connection each time.
    Any kind of help is welcome as I have spent a lot of time trying to resolve this issue.

    Take a look at this:
    http://download.oracle.com/docs/cd/B14099_19/sol.1012/quickupgrade.1012/quickupgrade/toc.htm#CJAEFHHG
    Thanks
    Shail

  • How to deploy JSP application using inbuilt OC4J of Oracle BPEL??

    I have to combine JSP pages with BPEL and for that i have to deploy applications with the inbuilt OC4J i dont know from where to deploy the whole application and how to write build.xml for deploying using obant

    You can deploy your application to the Oracle Bpel Server by specifying a new Application Server connection that points to yout LocalBpelServer.
    You don't need to write a build.xml file, you can just use the Deployment Descriptor functionality of JDeveloper which is much more easier than using the obant.
    The process of automatically deploying your UI-application to the Oracle Bpel Server, without any manual steps or restaring the server, is fully documented on the following blog: http://iadvise.blogspot.com/

  • Problems running deployed JHeadstart Application on Standalone OC4J

    Hi everybody,
    I'm trying to testing my app made on JHeadStart in a Standalone OC4J AS (10.1.2). I could deploy the application, but now I'm receiving the error when I try to access it: (http://server:port/app/Startapp.do)
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/ord/im/OrdHttpUploadFile     at oracle.jheadstart.controller.strutsadf.action.JhsStrutsPageLifecycleFactory.getJSPLifeCycle(JhsStrutsPageLifecycleFactory.java:83)     at oracle.jheadstart.controller.strutsadf.action.JSPLifecycleFactory.getPageLifecycle(JSPLifecycleFactory.java:40)     at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)     at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)     at javax.servlet.GenericServlet.init(GenericServlet.java:258)     at oracle.jheadstart.controller.strutsadf.JhsActionServlet.init(JhsActionServlet.java:195)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2141)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4582)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2608)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Unknown Source)
    Is something missing in my Standalone OC4J installation regarding JHeadstart that I missed?
    Thanks,

    Hi!
    I have a same problem.
    I use Standalone OC4J AS (9.0.4), Jdev 10.1.2.0.0, j2sdk1.4.2._07, Oracle db 10.1.0
    After install and startup oc4j i run jdev ADF runinstaller (was succesefull)
    After deploy my and run my-app in browser i see my fist page and when i try to login in db i see that
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/ord/im/OrdHttpUploadFile
         at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getJSPLifeCycle(DefaultStrutsPageLifecycleFactory.java:34)
         at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getPageLifecycle(DefaultStrutsPageLifecycleFactory.java:27)
         at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)
         at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    In embeded of jdev my app is worked.
    I have red above topic but i understand how do it
    Help me anybody
    Message was edited by:
    user471907
    Message was edited by:
    user471907

  • Deploying application from oc4j to weblogic

    while creating a new connection(by rt clicking the webapp.deploy) and then after i click testconnection i am getting the error cannot instantiate class: weblogic.jndi.WeblogicInitialContextFactory
    plz help
    ruchi

    Please refer to a previous post:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory

Maybe you are looking for