Deployment of ADF Fusion Application from Unix

Hi All,
I was able to deploy my application onto middleware server using Jdeveloper, but I want to do it from UNIX. we have several Instances to want to deploy by creating the jar, ear and war files from a shell script runtime by passing parameters.
Any inputs would be appreciated.
Thanks,
S

Hi,
Check out ojdeploy.
http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
-Arun

Similar Messages

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

  • How to invoke ADF custom application from existing R12 EBS application

    Hi Guru's,
    We have a requirement to invoke ADF custom application from existing EBS R12.1.3 application.
    Is there any documentation provided by ORACLE or any online help on how to integrate/invoke ADF pages from existing EBS application?
    And can we pass any EBS session level parameters like(user info, language, operating unit etc) to ADF layer while invoking the ADF application?
    I have thoroughly searched the forums and got some info related to JAAS security links and all. but i am looking for exact integration specific steps.
    Any help in this regard is a great help!!
    Thanks alot for your help!!
    Subba.

    lets raise your question over here
    JDeveloper and ADF
    Thanks
    vamshi.

  • Has anyone ever deploy a ADF BC application on Websphere6 successfully?

    I am trying to deploying an ADF BC application on WAS 6.1. I went through almost all the documents/tutorials available on Oracle website but still got lots of errors.
    Gots lot of these kind of error when the application starts:
    com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [preferred]
    [5/16/07 16:57:52:113 EDT] 00000022 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [property-metadata]
    [5/16/07 16:57:52:115 EDT] 00000022 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : [preferred]
    and when i tried to access a jsf page, the error is like this below: i guess the root cause is the ClassCastException.
    [5/16/07 17:01:35:814 EDT] 0000001e ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /search11.jspx. Exception thrown : javax.faces.el.EvaluationException: java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:170)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:123)
         at oracle.adfinternal.view.faces.uinode.ValueBindingBoundValue.getValue(ValueBindingBoundValue.java:30)
         at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.getAttributeValueImpl(UIXComponentUINode.java:392)
         at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.getAttributeValue(UIXComponentUINode.java:127)
         at oracle.adfinternal.view.faces.ui.laf.base.BaseLafRenderer.isDisabled(BaseLafRenderer.java:67)
         at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.ButtonRenderer._getImage(ButtonRenderer.java:425)
         at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.ButtonRenderer.renderContent(ButtonRenderer.java:103)
         at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
         at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
         at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.ButtonRenderer.render(ButtonRenderer.java:188)
         at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
         at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:627)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:550)
         at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
         at com.ibm._jsp._search11_5F_jspx._jspx_meth_afh_body_0(_search11_5F_jspx.java:856)
         at com.ibm._jsp._search11_5F_jspx._jspx_meth_afh_html_0(_search11_5F_jspx.java:876)
         at com.ibm._jsp._search11_5F_jspx._jspx_meth_f_view_0(_search11_5F_jspx.java:902)
         at com.ibm._jsp._search11_5F_jspx._jspService(_search11_5F_jspx.java:64)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:196)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:275)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:325)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3184)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:111)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement
         at oracle.jbo.server.OracleSQLBuilderImpl.doStatementSetRowPrefetch(OracleSQLBuilderImpl.java:1071)
         at oracle.jbo.server.DBTransactionImpl.createPreparedStatement(DBTransactionImpl.java:3405)
         at oracle.jbo.server.DBTransactionImpl2.createPreparedStatement(DBTransactionImpl2.java:428)
         at oracle.jbo.server.DBTransactionImpl.createReUsePreparedStatement(DBTransactionImpl.java:4239)
         at oracle.jbo.server.ViewObjectImpl.getPreparedStatement(ViewObjectImpl.java:8202)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:746)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:687)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2657)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2634)
         at oracle.jbo.server.ViewRowSetIteratorImpl.hasNext(ViewRowSetIteratorImpl.java:1791)
         at oracle.jbo.server.ViewRowSetImpl.hasNext(ViewRowSetImpl.java:2793)
         at oracle.jbo.server.ViewObjectImpl.hasNext(ViewObjectImpl.java:5809)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:365)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:249)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1473)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1567)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:649)
         at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:60)
         at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)
         at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
         at com.sun.faces.el.impl.UnaryOperatorExpression.evaluate(UnaryOperatorExpression.java:167)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:249)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:140)
         ... 82 more

    The thing that catches my eye is that you get errors on ibm specific classes.
    Make sure the right ADF libraries are picked up.
    As the matrix show we tested with WebSphere 6:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html
    And documented the steps to install here:
    http://download.oracle.com/docs/html/B25947_01/deployment_topics009.htm#CIHFHDJJ

  • Error while deploying ADF web application from JDeveloper 11g to Web Logic

    Hi,
    I developed application following "Developing RIA Web Applications with Oracle ADF" tutorial.
    It works fine when started locally, from JDevelopwr 11g (11.1.1.1.0).
    I tried to deploy it to remote Oracle WebLogic Server (10.3.1, with ADF libraries installed) from JDeveloper, but got:
    +[02:29:00 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRDemo on AdminServer.: Failed to load webapp: 'HRDemo.war'.+
    +[02:29:00 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet+
    +[02:29:00 PM] See server logs or server console for more details.+
    +[02:29:00 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRDemo.war'+
    +[02:29:00 PM] #### Deployment incomplete. ####+
    +[02:29:00 PM] Deployment Failed+
    Tried to add "ADF Common Web Runtime" to deployment profile's "Libraries selected for deployment" but than got:
    +[02:52:44 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application HRSystem_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'.+
    +[02:52:44 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] Caused by: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet+
    +[02:52:44 PM] See server logs or server console for more details.+
    +[02:52:44 PM] weblogic.application.ModuleException: Failed to load webapp: 'HRSystem_ViewController_webapp1.war'+
    +[02:52:44 PM] #### Deployment incomplete. ####+
    +[02:52:44 PM] Deployment Failed+
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 10, 2009 2:58 PM

    Hi,
    We did that earlier, too (modified existing domain).
    Also, after that, we created new domain and extended it according to you suggestions but no change.
    Regards,
    Zdravko.
    Edited by: [email protected] on Sep 11, 2009 10:20 AM

  • ClassNotFound error during deployment of ADF fusion web applications

    Hi All,
    We have a fusion ADF web application to be deployed on a stand alone weblogic server. The weblogic server has the default AdminServer and one more extended domain. Both the domains have got ADF runtime libraries installed. When the EAR file is deployed on AdminServer using weblogic administration console, the app works perfectly fine. However, when we try to deploy the same EAR file on the other domain, we get the following error:
    java.lang.NoClassDefFoundError: oracle/jdeveloper/db/adapter/DatabaseProvider.
    This is being referenced by connections.xml in ADF-META-INF. If we include the corresponding jar file in our class path, the app runs fine.
    I have the following doubts:-
    1) Is the error due to the fact that we missed any of the steps for configuring ADF runtime libraries on the extended domain. If not, any particular reason for this error?
    2) Our application uses data sources for connections and we have configured AM's and the weblogic server for the same. I understand that connection information for every AM is stored in bc4j.xcfg. In such a case, do we need connections.xml that is automatically included in the EAR file. If this is not needed, any steps to exclude it during deployment.

    Hi,
    Can you check if the solution given in this thread is of any help for you?
    What does this message mean?
    -Arun

  • Error while deploying the ADF Mobile application to the Android Emulator.

    Hi,
    I'm getting an error when trying to deploying a basic helloworld ADF mobile application to my Android sdk emulator which is already running as below.
    I'm not able to make anything from this limited log. Can anyone have a look and help me with what could be wrong.
    Any kind of suggestions are most welcome.
    [06:09:30 PM] Print the version of this tool (1.7).
    [06:09:30 PM] dx --help
    [06:09:30 PM] Print this message.
    [06:09:30 PM] Command-line execution failed (Return code: 1)
    [06:09:30 PM] Command-line executed: "D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat" dex debug keep-classes output="D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes.dex" D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\AND_ksoap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\Container.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\IDMMobileSDK.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\logging_dalvik_release.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\phonegap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\vmchannel_dalvik_release.jar
    [06:09:30 PM] Shutting down Android Debug Bridge server...
    [06:09:30 PM] Deployment cancelled.
    [06:09:30 PM] ---- Deployment incomplete ----.
    [06:09:30 PM] Deployment failed due to one or more errors returned by 'D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)
    Thanks,
    Bhasker

    I'm not able to make anything from this limited log.
    For Android emulator logs run the following command.
    adb logcat
    logcat | Android Developers

  • How to deploy and remove one application from WebLogic server

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    I think we have to clean ( already scheduled for next release) list of some of the
    supported API on various MBeans. However just FYI , there is an "void
    setURI(java.lang.String)" method in Component MBean that you could use.
    Viresh Garg
    Pamela Minthorn wrote:
    I am also trying to automate application deployment process. I have looked at
    the docs you suggested below and am wondering why the ComponentMBean has a getURI()
    but not a setURI().
    Here's a snippet from my config.xml that I want to automate:
    <Application
    Deployed="true"
    Name="TestApp1"
    Path="E:\WebApps\version1">
    <WebAppComponent
    Name="TestApp1"
    URI="TestApp"
    Targets="myserver"
    />
    </Application>
    I haven't figured out how to set the URI.
    Also, it looks like this should also be possible using weblogic.Admin. Is that
    true?
    Thanks,
    Pam
    Viresh Garg <[email protected]> wrote:
    You can write a JMX java client and create an Application Admin Mbean
    and then use the application MBean and component MBean interface to set
    the targets for components and deploy them . For more information look
    at the JAVAdoc for:
    weblogic.management.MBeanHome
    weblogic.management.configuration.ApplicationMBean
    weblogic.management.configuration.ComponentMBean
    Let me know if you have addional questions.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon
    [att1.html]

  • How to deploy or remove an application from WebLogic server?

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    Yes, you can use the command-line weblogic.deploy utiltiy to do the
    same.
    For more info:
    http://e-docs.bea.com/wls/docs60///////adminguide/utils.html#1138475
    cheers,
    Mihir
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

  • How to deploy an ADF RC application to any OC4J that running on Linux?

    I developed an application with the latest Jdev 11gTP3. The team has a linux server that I want to install an OC4J and deploy my application.
    I tried the following:
    1. OC4J standalone 11g. Followed the installation instruction, with the command:
    $ORACLE_HOME/bin/oc4j -start
    I can initiate a server connection from Jdev, even passed test. But when deployment failed, I even tried to install ADF runtime library by following an Oracle official document. However, I can't get it work.
    2. I tried to start the Jdev embedded OC4J with command:
    java -jar oc4j.jar
    I believe something has to be set before the application can work on this OC4J
    Has anyone ever made it? Can you please share the steps of accomplishing it?
    Many thanks in advance.

    Thanks Frank for your reply
    This can not be done with TP1 OC4J even with proper configuration and amendment?
    How about WebSphere and Weblogic servers?
    So at this stage, a TP3 ADF application could only run on JDev Embedded OC4J?
    Regards,
    William

  • Deploying an ADF BC application in JDEv 10.1.2

    Hi: I have a webapplication developed with ADF BC, Struts, and JSP in JDev10.1.2. It consists of the normal model and view projects. It seems to work from local server. I would like to create the deployment profiles and deploy it on the test server. Pls let me know the steps involved in this.
    Thanks.

    Use the ADF Runtime installer to install the ADF runtime libraries on your server.
    Then, you just create a WAR file and deploy it to your server.
    See the 10.1.2 section here:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html

  • Will ADF fusion applications matchup as Java EE 6 has arrived?

    Here is my view as a simple developer who doesn't like complications :)
    1)With ADF, the first thing that wowed me long back was how well integrated the stack is, calling business logic from frontend was quite easy as JDeveloper did lot of work of creating relevant XML files and so on. With Java EE 6, i simply use CDI to inject EJB's in managed beans and start using it right away. Infact EJB's can now be also included in WAR files which i guess will be a good news for small to medium scale applications using Java EE6 web profile. Isn't CDI a better approach for integration rather than lots of XML files. Isn't Java EE 6 more intuitive approach rather than developer having to worry about additional resources being added to the project?
    2)I love ADF since we can setup validation in Entity objects and it gets reflected in frontend too. With Java EE 6, bean validation i get almost similar features as validation code is not repeated in every tier.
    3)ADF involves a steep learning curve with additional lookup in Business Object API's for various scenarios as well as knowledge of core JSF. With Java EE 6 providing seamless integration, the learning curve is lot less, JSF 2.0 + EJB CDI  Bean Validation combination seems sufficient for most projects.(CDI specification only about 100 pages, Bean Validation specification about 145 pages and this year itself books related to Java EE 6 will be out for those who don't like the specification approach)
    4)I always had issues with ADF applications taking lot of time to startup. I tried some sample Java EE 6 application(on glassfish v3), using JSF2.0 + EJB combination. They start as fast as pure JSP applications. Plus the memory required by Netbeans(with integrated Glassfish v3) is quite less.(JDeveloper + Weblogic+ Oracle XE require lots of space). Netbeans(i use it just because it has support for Java EE 6) starts in around 10 secs whereas JDeveloper takes around a minute at least on my PC.
    5)Java EE 6 applications will run on all compliant servers and already development is on for Java EE 6 compliance. Such claims cant be made for current ADF applications. Isn't it a kind of application server vendor lock in?
    6)I have personally found jsf libraries like Rich faces, Prime faces, Ice faces quite easier to use than ADF Faces. For the former cases, i simply look up the demo show cases and use the relevant code in my projects. Using ADF faces is easy with JDeveloper but when i look at the source code, i find it much more complex than other JSF libraries, lots of binding stuff in it. With richfaces, prime faces etc, i get a sense of control over the UI code. Granted ADF has more components then any other JSF framework, but really using a particular JSF library like RichFaces or Prime Faces is more then sufficient for me. Plus some libraries are already JSF 2.0 compliant. At the start, i was impressed by the charting components which ADF provided, but now virtually every JSF library provides them. Pages can be edited at source code level in other libraries, i cant imagine doing the same with ADF Faces.
    7)ADF Faces is currently not free (at least till the last time i checked it), many other libraries are. Thats a big big plus for small budget projects who dont happen to have Weblogic.
    8)When i tried building demo application using ADF, first of all Weblogic takes a lot of time to start, plus it took lot of time to just view a modified page. Glassfish v3 starts in just few seconds, plus pages are served quite quickly. I did follow some steps in various blogs about how to improve performance of JDeveloper+Weblogic for development purposes. However JDeveloper + Weblogic combo create-edit-test time is more than netbeans +glassfish v3 combo. Infact i have always wondered, why i am forced to test my ADF applications on a production level server like Weblogic and not on smaller ones like tomcat or even full EE servers like glassfish. If am forced to use a particular server for testing, then i expect quick runs. Visual Studio with integrated IIS is so fast, in fact there is hardly any wait time to see a modified page.(I have developed both Java EE as well as Asp.net applications, and i guess mentioning them is OK since its also a component oriented framework)
    9)This is a rather offbeat point. Asp.net framework offers Gridview, a table control which is heavily used by .net guys.(Infact a new control ListView has arrived which offers far more features). In ADF lazy loading tables, there is no direct paging available(i mean paging where we actually see the pager control), with developers having to find out ways to include paging. In other library say PrimeFaces, there is table control which has lazy loading as well as paging built in. Cant there be such a control in ADF with paging as well as template based approach like ListView of Asp.Net? In fact i still haven't found a flexible control like ListView in Java arena. Guess i have to build one since JSF 2.0 has made buildings controls very easy :)
    With Java EE 6, JSF 2.0 + EJB + CDI + Bean Validation, do we need the overall complexity which ADF applications inherently have?
    Edited by: Nash Era on Jan 30, 2010 8:58 AM

    Thanks for taking time for replying :)
    Good to hear that Java EE 6 is being considered in ADF future development. For once, a standard seems developed by fellow developers rather than over engineered stuff coming out of a committee meeting( well it started with Java EE 5).
    For me, another framework is required only if a standard doesn't suffice all the needs. I mean why increase a developers burden by making him learn whims and fancies of new framework with all its API, its usage, etc.And Java EE 6 has lots of features to satisfy a wide variety of development scenarios.
    1) Actually, i wasn't pointing to injecting specific code in model. For eg: [this |http://www.adam-bien.com/roller/abien/entry/ejb_3_1_killed_the], [simple javaEE6|http://www.adam-bien.com/roller/abien/entry/simplest_possible_jsf_2_ejb] .All business logic in session bean, clueless about how its going to be utilized by any front end. When i use a particular UI technology, say JSF 2.0. i simply inject the session bean in one of my JSF managed bean and start using it. No XML files, no binding directly visible for the developer, all binding magic taken care of courtesy, CDI. In fact now a JSF managed bean doesn't need to declared in faces-config.xml, a simple @ManagedBean and scope declaration is enough, one , two , three
    Even i am skeptical about how annotations which are being liberally used affects project maintenance. Hope it doesn't turn out to be annotation Hell!
    With JPA 2.0 including lots of new features, JSF 2.0 being enhanced further, a lot of development scenarios seems already covered.
    3)It really took a lot of time for me to get a hang of ADF. Simple applications are easy to manage, but reading the developers guide took a while.(The guides are really good, the best thing about oracle is how well documented there products are).
    5)Actually i tried porting a sample ADF application on Tomcat. Wasn't successful at it. (Actually i gave up since i didn't have that much time). A official support for ADF on various servers would be great.
    6)ADF BC as business layer and ADF Faces as UI does involve bindings. Plus a extra binding xml file for each JSF page. With Java EE 6, i have no extra items in my project.
    Am looking forward to how JDeveloper, the IDE of choice for me, provides support for Java EE 6,specifically if any annotation GUI kind of support is provided for DI.
    7)I wasn't saying that ADF is not worth its price tag. Just that free alternatives are available which may suffice many projects.
    9)About components, a pager control is so much required. I mean for web applications, if we present a product list to the user, he gets a sense of number of products in a list just by looking at the pager below. Better user experience can be achieved by pager control then scrollable tables. Say for amazon.com or ebay.com with search results in a scrollable table wont be acceptable. Plus pager provides a sense of completion than scrolls as the user doesn't have to worry if he has missed a item by scrolling past it. How many ecommerce sites out there use scrollable tables instead of pager? ADF should have catered to this large audience who prefer to have page numbers, prev, next, first, last buttons.
    ListView in Asp.Net is very flexible. It can display a table of data with pager , plus it supports templates. With typical JSF table controls, they are rendered only as rows in a table. With ListView i can display the data in any format i want. So a particular list item info is not restricted to be in a row format. I can display it in whichever form i want( for eg: if i am displaying a product list to a user, i place a image to left, price, product info to the right), plus i get paging too.
    Am sure JDeveloper + ADF + Java EE 6 will be a deadly combo just as it was for Java EE 5. Looking forward to it :)
    Edited by: Nash Era on Jan 31, 2010 9:57 AM
    Edited by: Nash Era on Jan 31, 2010 10:07 AM

  • How to deploy WebDynpro application from Portal

    Hi Friends,
    when we develop WebDynpro applications, we deploy and run the applications from IDE NWDS studio..
    Is there any way to deploy it from portal?

    Hi,
    Wat do you mean by deploying it from the portal?
    It is possible to integrate webdynpro apps in Portal
    Follow this link
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/2fffe990-0201-0010-aab0-e61c3250bcf3
    Regards,
    Santhosh

  • ADF-Faces Migration from EA11 to EA13

    I tried to migrate my ADF-Faces application from version EA11 to EA13. Change taglib definition in *.jspx and some changes at tag level (e.g. showOneTabs). Recompile everything and deployed it to an OC4J 10.1.3. Deployment OK, but if I try to contact my application I got following error:
    javax.servlet.jsp.JspException: oracle.adf.view.faces.context.AdfFacesContext.getAgent()Loracle/adf/view/faces/context/Agent;
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:117)
         at index2e_jspx._jspService(_index_2e_jspx.java:49)
         [SRC:/index.jspx:8]
    Please tell me what's wrong!
    Thanks, Peter

    I got it!
    The reason was, in directory ../public_html/WEB-INF/lib there was still a jar (adf-faces-api-ea11.jar) from the old EA11 (only this one - funny), and this jar was also included in deployed WAR. I removed this old jar, deploy my application again and the error no more occures.
    Thanks!

  • ADF Web applications give error when parent is set to "orabpel"

    Hi all,
    i use the application server 10.1.3.1 of the SOA 10.1.3,
    i try to deploy an ADF web application that uses the BPEL APIs,
    in the server.xml, i set the application parent to 'orabpel',
    when i start the application by launching the first jspx page i got the following error
    that i found in the 'global-application.log':
    07/01/04 08:34:30.750 defaultWebApp: JspServlet: unable to dispatch to
    requested page: Exception:java.io.FileNotFoundException: C:\product\10.1.3.1
    \OracleAS_1\j2ee\home\default-web-app\TAFFirstPage-ViewController-context-
    root\faces\loginPage.jspx (The system cannot find the path specified)
    i tried to set the application parent to 'default' again and added the bpel apis libs (bpm-services.jar, bpm-infra.jar and orabpel.jar) to the applib folder in j2ee/home and now all the adf web applications deployed to the server give the same error.
    i have a normal web application with jsps pages (not jspx) with parent set to orabpel and it's working great.
    please i am stuck on this it's been 2 days does anybody have any clue?
    thanks

    Hi ,
    Firstly, let’s verify the followings:
    Please create a new library at the site, then add three managed columns into it, test again, compare the result.
    Whether this issue occurred in other sites with the same site collection.
    Please test in another site collection, check if this issue occurs.
    In addition, please make sure Managed Metadata web service is started in Mange services on server.
    And also make sure the managed metadata service is connected to the web application that you used as CA->Application management->manage web application->your web application->Service Connections.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • CC, CC 64 Bit, and CC 2014? WTF?

    It's bad enough Adobe can't figure out how to make the same features in one program work the same in a different program. To top it off, instead of improving what are now "apps" and integrating we now have more new programs to do the same thing (e.g.

  • Dynamic table needs to break to 2nd page

    Hi, Still consider myself clueless when it comes to dynamic properties in a form. I have a user interface that collects and stores data for some of our business accounts. A chunk of these fields are free-form text boxes. I need the ability to simply,

  • SERVICE ORDER COST IS NOT FLOWING TO CONDITION TYPE EK01 IN SALES ORDER

    hi all, My requirement is that the cost incurred in service order should flow to the condition type ek01. we will be running the transaction dp90 to calculate the cost for the resources used. the cost are getting calculated at service order level but

  • Just Bought 60GB Ipod and how to fix this problem?

    Hi Guys, I just bought a 60GB Ipod and so far iam pretty pleased with my purchase. I had one question though. Before transferring any songs to the Ipod it is showing only 16.68GB as free space out of a total of 60GB? i have now transferred even a sin

  • Eclipse Project configuratuion?

    Hi, I havnt been programming in quite a few weeks. The last time I did I had no problems when working with Eclipse. As far as I am aware nothing should have changed but when I create a new project and try to run it I get the following in the Eclipse