ADF application deployment on Oracle Apps server?

OAFramework is used to create and deploy oracle application pages...can ADF framework be used instead of OAFramework and be deployed and accessed in Oracle Applications? or as both OAF and ADF have different structures/framework they are for different purposes?
Thanks,
Tanveer
Message was edited by:
Tanveer

As of R12, OAF can only be used for Oracle Applications development/extensions.
Oracle ADF is an end-to-end J2EE framework. ADF is currently not used for Oracle Apps. Development / extensions. It is expected to be the case in Fusion and is a part of the Oracle Fusion Middleware.
Hope this clarifies.

Similar Messages

  • Exception accessing ADF application deployed on Oracle Weblogic Server

    Hi All,
    We have a web application developed using ADF Faces, Trinidad & BC4J. The application runs fine on Oracle JDeveloper 11g (11.1.2.1.0). When I deploy the same on to remote weblogic server 10.1.3 and I access the jspx page I get the below exception:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:966)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    It looks like there is some issue with the datasource. I have created a datasource WebApplicationDS with JNDI name jdbc/WebApplicationDS on the weblogic server.In the application module I have changed the datasource from java:comp/env/jdbc/WebApplicationDS to jdbc/WebApplicationDS before deploying on to WLS. With the current setting if I run from JDeveloper I get the same error.
    Please let me know how to resolve this issue.
    Thanks in advance.
    Regards
    Navin

    Hi Frank,
    That is were the issue started, I have created the datasource with the name WebApplicationDS and JNDI name as jdbc/WebApplicationDS and when I acess the application I get the below error:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:966)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    Thanks
    Navin

  • Deployment to Oracle App server 10.1.2

    Hi All,
    I have developed a application using ADF BC, Jsf and Oracle 10g database using Jdev 10.1.3
    Application is on my local laptop tested using local embedded server. I have linked the applcation in Oracle portal server as follows:
    <iframe
    src="http://129.217.159.23:4395/GeminiLogin-ViewController-context-root/faces/login.jsp"
    width="980"
    height="500"
    frameborder="0">
    </iframe>
    I am going to view this application in Oracle portal.
    I want to achieve two tasks:
    1> What are the steps to deploy this application in App server 10.1.2 ?? (What could be potential hurdles now since I am moving from embedded server to Full fledge app server ?/
    2> And, once deployed, How do I reference the application from my portal ?? Still use the IFRAME and src url shown above ??
    thanks,
    pp

    Hi,
    Inorder to deploy in Oracle Portal server you have to do the following.
    1. Create a .deploy file using the web.xml in your JDeveloper.
    2. After creating select the .deploy file and create an .ear file.
    3. In the Oracle Portal server try to deploy in OC4J_Portal component in the Middle tier.
    4. Access the URL for the index.jsp page.
    5. Register the provider in the oracle portal server using the URL.
    6. Then you can include the jsp you have developed into your portal page as portlets.
    Regards,
    Vijay.B

  • Process Modelling in Aris, generating BPEL & deployment to Oracle App Serve

    Hi
    We are considering using Aris to model some business process and using its functionality to generate BPEL for its deployment onto a Service Oriented Architecture i.e. Oracle App Server with BPEL Process Manager. Has anyone had any specific exposure to Aris and its BPEL deployment onto the Oracle App Server.
    - Is there an approach (methodology) from previous experience that someone can recommend.
    - How seamless/complex is the generation and deployment of the BPEL onto the Oracle BPEL Process Manager.
    - Are there any issues or lessons learnt from people using Aris to generate BPEL to the Oracle BPEL Process Manager?
    thanks

    Hi,
    I am dealing with the same problems. I did already some testings using the EPCs of ARIS and tried to establish the link with the BPEL Process Manager. Still it doesn't work seamlessly, maybe with the new realease of ARIS the link will be possible. I am not aware of any methodology in that context, it means we need to develop one.
    Looking forward to hearing from you.
    Best regards,
    TMT

  • Communication between two web applications deployed on same app server

    I need to update the war file of one application(say Application A) from another application(say application B). Actually application B is the admin application of application A.
    In order to achieve this, I need to get the ServletContext of A from B. How can I do that?
    P.S: Both the applications will be deployed on the same app server and they are app server independent.

    from the JavaDocs:
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html
    getContext
    public ServletContext getContext(java.lang.String uripath)
    Returns a ServletContext object that corresponds to a specified URL on the server.
    This method allows servlets to gain access to the context for various parts of the server, and as needed obtain RequestDispatcher objects from the context. The given path must be begin with "/", is interpreted relative to the server's document root and is matched against the context roots of other web applications hosted on this container.
    In a security conscious environment, the servlet container may return null for a given URL.
    Parameters:
    uripath - a String specifying the context path of another web application in the container.
    Returns:
    the ServletContext object that corresponds to the named URL, or null if either none exists or the container wishes to restrict this access.
    See Also:
    RequestDispatcher

  • Web service deployment on oracle app server, need help

    Hi All..,
    When I deploy a web service on the Oracle Application Server (10.1.3.3) the WSDL that is generated from JDeveloper and package with the EAR file is overwritten at deployment time. The parameter names for the method calls for the web service are change from actually parameter names to generic ones. For example, “amount” is changed to “param0” or “vendorId” is changed to “param1”. Is there a way to not let this happen ??
    TIA
    Krishan

    Did you got the solution for the issue you had?

  • Class path issue with spring when deploy in oracle app server

    Hi there,
    i am using spring in an web application using jdeveloper. it is working perfectly for me in jdeveloper. when i trying to deploy it in appserver ( oracle enterprise manager 10g) i am getting following error,
    Failed to deploy web application "china". Failed to deploy web application "china". . Nested exception
    Resolution:
    Base Exception:
    com.evermind.server.rmi.OrionRemoteException
    Class not found: org.springframework.beans.factory.access.BootstrapException; nested exception is:
    java.lang.ClassNotFoundException: org.springframework.beans.factory.access.BootstrapException. Class not found: org.springframework.beans.factory.access.BootstrapException; nested exception is:
    java.lang.ClassNotFoundException: org.springframework.beans.factory.access.BootstrapException
    i guess the problem is with classpath of these xml,
    <!-- j2ee parent config file-->
    <context-param>
    <param-name>locatorFactorySelector</param-name>
    <param-value>/resources/beanRefContext.xml</param-value>
    </context-param>
    <!-- parent context key defined in the config file -->
    <context-param>
    <param-name>parentContextKey</param-name>
    <param-value>servicelayer-context</param-value>     
    </context-param>
    i don know how to fix this issue. it is working fine in local jdeveloper. does any one have some idea please help me out..
    Regards,
    A.

    Hi,
    do you deploy the Spring classes with the application ? I suggest to try the OracleAs forum as well to ensure this has to be in a specific path to be loaded. A list of forums is available from here
    http://forums.oracle.com/forums/index.jspa?categoryID=84
    Frank

  • I get the following error when I deploy to oracle app server 10.1.3

    \jdevstudio10131\jdev\mywork\spneeds1\spneeds1\deploy\ejb3.ear
    Uploading file ejb3.ear ...
    Application Deployer for ejb3 STARTS.
    Copy the archive to /oracle/j2ee1013/j2ee/home/applications/ejb3.ear
    Initialize /oracle/j2ee1013/j2ee/home/applications/ejb3.ear begins...
    Unpacking ejb3.ear
    Done unpacking ejb3.ear
    Initialize /oracle/j2ee1013/j2ee/home/applications/ejb3.ear ends...
    Starting application : ejb3
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Processing EJB module: ejb3.jar
    application : ejb3 is in failed state
    Operation failed with error:
    @PersistenceContext annotation can only be used when a javax.spi.PersistenceProvider is installed.
    Deployment failed
    Elapsed time for deployment: 4 seconds

    A similar question is posted in jdev forums
    please find answer to this question thier

  • URGENT: Deployment of ADF UIX application to Oracle App Server 10g

    Hi,
    Please let me know of documentation of how to deploy an ADF UIX application developed using Jdeveloper9.0.5.2 to Oracle Application Server 10g.
    I have already created an WAR and EAR deployment profile. and also an ORacle APp server connection from the connections tab in Jdeveloper.
    Thanks a lot.

    Have a look at the JDeveloper online help (F1) there is a complete chapter about deploying:
    http://helponline.oracle.com/jdeveloper/help/state/content/destination.2%7E9%7E1%7E6%7E/navSetId.jdeveloper/oldNavId.0/navId.0/oldNavSetId.jdeveloper/
    Basically you need to deploy the ADF runtime libraries (use the ADF Runtime Installer), and then deploy your WAR.

  • Unable deploy ADF ear in the Oracle Standalone server..

    Hi all,
    am trying to deploy ADF application ear in standalone weblogic server(10.3.5), i installed ADF runtime even after am getting the below exception.
    could please you help me get out of this problem.
    ADF Runtime : ofm_appdev_generic_11.1.1.5.0_disk1_1of1
    OWS version : 10.3.5
    Target state: deploy failed on Server AdminServer
    java.lang.NullPointerException
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.<ini
    t>(UnifiedRenderKit.java:129)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.crea
    teRenderKit(UnifiedRenderKit.java:113)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKitFacto
    ry.getRenderKit(UnifiedRenderKitFactory.java:59)
    at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.ge
    tRenderKit(CoreRenderKitFactory.java:55)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits
    (RenderKitConfigProcessor.java:236)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.process(Rende
    rKitConfigProcessor.java:155)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Abs
    tractConfigProcessor.java:110)
    at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(Man
    agedBeanConfigProcessor.java:266)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Abs
    tractConfigProcessor.java:110)
    at com.sun.faces.config.processor.ValidatorConfigProcessor.process(Valid
    atorConfigProcessor.java:116)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Abs
    tractConfigProcessor.java:110)
    at com.sun.faces.config.processor.ConverterConfigProcessor.process(Conve
    rterConfigProcessor.java:122)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Abs
    tractConfigProcessor.java:110)
    at com.sun.faces.config.processor.ComponentConfigProcessor.process(Compo
    nentConfigProcessor.java:113)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Abs
    tractConfigProcessor.java:110)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(App
    licationConfigProcessor.java:333)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Abs
    tractConfigProcessor.java:110)
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(Lifec
    ycleConfigProcessor.java:112)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Abs
    tractConfigProcessor.java:110)
    at com.sun.faces.config.processor.FactoryConfigProcessor.process(Factory
    ConfigProcessor.java:212)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:332)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
    stener.java:223)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run
    (EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(Eve
    ntsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
    pServletContext.java:1874)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCon
    text.java:3154)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
    a:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
    teDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
    eDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedMod
    uleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(Module
    ListenerInvoker.java:249)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
    teDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
    eDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartMod
    ulesFlow.java:28)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja
    va:637)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
    java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.ja
    va:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
    entStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(Ap
    pContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.ac
    tivate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.ac
    tivateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do
    Commit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.co
    mmit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym
    entCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeplo
    ymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(
    DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.com
    mit(DeploymentServiceDispatcher.java:164)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
    ackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
    ackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
    ackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: 842675 on Apr 13, 2012 12:31 AM
    Edited by: 842675 on Apr 23, 2012 11:36 PM

    I am getting the same error. Did you ever resolve the problem?

  • Deploying reports on Oracle app server

    Hi
    Our current application  has Oracle reports deployed on Oracle AS and Oracle Report Server. Can we replicate same scenario for Crystal report.
    Means can we use Crystal Report on Oracle App Server / Oracle Report Server. Or do I need to use Crystal report Server

    Could you please provide/point the documentation/steps for deplying Reports on Java App Server (IN My Case Oracle App Server)
    Kuldeep C.
    Software Engineer
    Persistent Systems Ltd.,
    Pune, India

  • Use of Xerces Parser in out application with Oracle App Server 9.0.4

    The problem in brief:
    Our product is a web-app that runs under various Application servers.
    One of our customers who uses Oracle App server, recently upgraded from 9.0.2 (9g) to 9.0.4 (10g), and our product no longer works with the latter version.
    Our product uses XML parser Xerces 1.1.
    In 9.02 it was possible to replace the App servers parser with Xerces 1.1. In 9.02 it was possible to replace the App servers parser with Xerces 1.1 (We modified the opmn.xml file, setting the Java options for our oc4j instance bootclasspath with xerces parser). Hence, our product works.
    In 9.0.4, apparently, Oracle moved to a different parser, and it no longer allows the parser to be replaced. If the bootclasspath is modified with XERCES(tested various versions of xerces) parser, rightfully so ORACLE Application server does not start.
    Unlike other prominent Application Servers (such as webshpere etc,) the Oracle application server does not support separate JVMs or namespaces for web-apps either.
    We like, oralce application server, OC4J instance for our application to use the xerces parser version qualified with our product. We understand, replacing the XML parser for the entire Oracle Application Server is not supported function.
    Since, Oracle Application Server is loading the oracle 'xmlparserv2' at system class path, though the applicaton has xerces.jar in application path (either in AppLib or web-inf/lib directory, Its not a class loading issue) it is not getting used (since javax.xml.parsers.documentbuilderFactory is mapped to oracle parser).
    So, it looks like the only option available to us is to modify our product to use Oracle's XML parser. This is a major software change, and we want to keep it as last resort option.
    Any suggestion and help will be higly appreciated.
    Perraju Nadakuduty (raju)
    E-mail:[email protected]

    Raju --
    Thanks for the intelligent posting on a difficult issue for you.
    I wasn't aware of anything specifically being introduced that prevented the bootclasspath technique from working** in the 904 release.
    For 904, the bootclasspath needs to be put in the start parameters tag of the java-options tag.
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" ... -Xbootclasspath/a:/java/lib/xerces.jar"/>
    </category>
    </module-data>
    </process-type>
    You can also try copying the xerces.jar into the jre/lib/ext directory so it's loaded by the system classloader and see if that works**. This will put xerces at the extension level so
    **these workarounds are not supported and will put you in an unsupported situation if a problem occurs.
    The good news is that have taken steps to clearly enable the separation of container versus appplication class spaces in thenext production release (10.1.3) of OC4J. We will be providing a new classloading model which cleanly separates the two namespaces and allows applications to provide their own versions or distributions of class libraries with no collisions with the OC4J runtime libraries.
    I don't know of any easy ways to do what you need -- other than reworking the app to use JAXP so that the parser implementation used is pluggable as you kind of allude to. If it was possible, I'd do that rather than hard coding in the use of the Oracle XML parser.
    But just to reiterate, switching in xerces at the bootclasspath level is not a supported operation since it may have an effect on the OC4J runtime operation.
    cheers
    -steve-

  • Changes on application not visible when deployed to weblogic apps server

    Hi all,
    I have an ADF-faces application that is running on a weblogic server.
    Application is working fine, but I added some functionality on some pages.
    I tested it with Jdeveloper and the build in weblogic server, that is working fine.
    Now I deployed my application (Trough the menu application->deploy) to the weblogic server.
    When I open the application now I don't see the changes I made!!
    In the menu I did run Build->Make and Build->Rebuild but that did not help.
    What is causing this behavior?
    Thanks is advance.

    Hi Timo,
    Thanks for your quick reaction. deleting the application first solved my issue.
    I never had this issue before, but good to know how to fix it :)

  • Oracle App Server 10.1.3.1 + Struts2 parameter map loss

    hi,
    I am facing an issue with oracle app server 10.1.3.1. With an application deployed in it, any .action hit seems to lose the parameter map. However, i m using Spring MVC with jasper reports for reporting purpose. So hitting a .report seems to go thru without the parameter map loss. I m using struts 2.0.11 in the application.
    I have also tried the workaround related to struts.properties - (struts.dispatcher.parametersWorkaround = true). Did not help.
    I wrote a CustomActionMapper which is an exact copy of DefaultActionMapper but for the addition of a few log statements to see the parameter map and uri.
    I can notice the paramter map coming out empty even when data is posted or queryString with parameters sent.
    Any leads on this truly appreciated.
    Regards

    hi,
    I am facing an issue with oracle app server 10.1.3.1. With an application deployed in it, any .action hit seems to lose the parameter map. However, i m using Spring MVC with jasper reports for reporting purpose. So hitting a .report seems to go thru without the parameter map loss. I m using struts 2.0.11 in the application.
    I have also tried the workaround related to struts.properties - (struts.dispatcher.parametersWorkaround = true). Did not help.
    I wrote a CustomActionMapper which is an exact copy of DefaultActionMapper but for the addition of a few log statements to see the parameter map and uri.
    I can notice the paramter map coming out empty even when data is posted or queryString with parameters sent.
    Any leads on this truly appreciated.
    Regards

  • Deployement problem in Oracle App Serv with hibernate + JPA and Spring

    Dear All,
         I am facing a problem in deployment of a web application in oracle application server 10g. but the same is working fine with Tomcat. The following Exception. Is being thrown.
         Failed to deploy web application "OraTest". Failed to deploy web application OraTest". . Nested exception Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version     I am using the following technologies
    1.     Spring 2.0.7
    2.     Struts 2.0.9
    3.     Hibernate 3.3
    4.     JPA 1.0
    5.     Oracle App Server 10.1.2.0.2
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>My Application</display-name>
         <filter>
              <filter-name>struts2</filter-name>
              <filter-class>
                   org.apache.struts2.dispatcher.FilterDispatcher
              </filter-class>
         </filter>
         <filter-mapping>
              <filter-name>struts2</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <welcome-file-list>
              <welcome-file>/index.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>dwr-invoker</servlet-name>
              <servlet-class>
                   org.directwebremoting.servlet.DwrServlet
              </servlet-class>
              <init-param>
                   <param-name>debug</param-name>
                   <param-value>true</param-value>
              </init-param>
         </servlet>
         <servlet-mapping>
              <servlet-name>dwr-invoker</servlet-name>
              <url-pattern>/dwr/*</url-pattern>
         </servlet-mapping>
         <listener>
              <listener-class>
                   org.springframework.web.context.ContextLoaderListener
              </listener-class>
         </listener>
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                   /WEB-INF/conf/spring/datasource-context.xml,
                   /WEB-INF/conf/spring/aop-context.xml          
              </param-value>
         </context-param>
    </web-app>
    /Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxx.xxx.xxx.xxx/mydb</value>
              </property>
              <property name="username">
                   <value>admin</value>
              </property>
              <property name="password">
                   <value>admin</value>
              </property>
         </bean>
         <!--  following code is for using mysql -->
         <!--
         <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>org.gjt.mm.mysql.Driver</value>
              </property>
              <property name="url">
                   <value>jdbc:mysql://192.168.10.157:3306/tpsadmin</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>+
              </property>
         </bean>
         -->
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Aop-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
    <!--  Bean Definition of all the required Interceptors -->
         <bean id="methodLoggingAdvice" class="com.mkcl.sets.common.interceptor.MehodLogInterceptor"/>
         <!--
         <bean id="appCacheManager" class="net.sf.ehcache.CacheManager">
              <constructor-arg index="0" type="java.net.URL" value="classpath:country-ehcache.xml"/>
         </bean>     
         -->
          <!--bean id="methodCacheInterceptor" -->
         <bean id="methodCachingAdvice"
              class="com.mkcl.sets.common.interceptor.MethodCacheInterceptor">
              <property name="cache">
                   <ref local="methodCache" />
              </property>
         </bean>
         <bean id="cacheManager"
              class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
              <property name="configLocation">
                   <value>WEB-INF/conf/other/ehcache.xml</value>
              </property>
         </bean>     
         <bean id="methodCache"
              class="org.springframework.cache.ehcache.EhCacheFactoryBean">
              <property name="cacheManager">
                   <ref local="cacheManager" />
              </property>
              <property name="cacheName">
                   <value>mkclSetsCache</value>
              </property>
         </bean>      
         <!--
         <bean id="methodCachingAdvice" class="interceptor.MethodCachingInterceptor"/>
          -->
         <aop:config>
              <aop:pointcut id="getCountriesPointCut" expression="execution(* com.mkcl.sets.dao.master.impl.LocationDAOImpl.getCountries())"/>          
              <!-- <aop:pointcut id="methodLogPointCut" expression="execution(* com.mkcl.sets.service.master.impl.CategoryServiceImpl.getAllCategories(..))"/> -->
              <aop:pointcut id="methodLogPointCutDao" expression="execution(* com.mkcl.sets.dao..*.*(..))"/>
              <aop:pointcut id="methodLogPointCutService" expression="execution(* com.mkcl.sets.service..*.*(..))"/>
              <aop:advisor id="methodCachingAdvisor" advice-ref="methodCachingAdvice" pointcut-ref="getCountriesPointCut"/>          
              <aop:advisor id="methodLoggingAdvisorDao" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutDao"/>
              <aop:advisor id="methodLoggingAdvisorService" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutService"/>
         </aop:config>
    </beans>Persistence.xml
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Do I need to add some other configuration in the existing files or do I need to add some other configuration files ? Please help to deploy my application.
    Thanks a lot in advance.
    With Best Regards,
    Ishaan
    null

    Did you ever find a solution to this Ishaan?
    I imagine you ended up having to upgrade 10gR2 to 10gR3 at least. Correct?

Maybe you are looking for