Deploying jClient app

Another newbie question - I have an application with a model project and a view project in which I have built an ADF application mainly using the wizards so everything is pretty standard. The app connects to a local Oracle database on my PC.
My little app works well and now I want to deploy it to another PC running a copy of the database. This si a stand alone app, not a web one. I've tried deploying as simple jar files - I get one for my view project and a couple for the model. When I try to run the app I get java.lang.NoClassDefFoundError: oracle/jbo/uicli/binding/JUErrorHandler.
Obviously I'm doing something wrong - any ideas?
Thanks,
Bob

Bob,
the problem is that deploying JClient application sin a jar file assumes that you have all BC4J (or model) dependencies in the Java classpath on the target machine.
To solve this, you can change the jar file to include all the library dependecies.
See:
Re: JAR Error
Frank

Similar Messages

  • Deploying JClient App using Java Webstart

    I've got a BC4J/JClient app that I'm ready to deploy. I read the May 2004 white paper "Deploying Oracle ADF JClient Applications with Java Web Start" by Frank Nimphius. In the white paper it says that you must sign the jar files in order for the webstart deployment to the client to succeed. Since this will be an intranet only application, my plan is to use the Oracle Certificate Authority to generate my trusted certificate chain for code signing. I've figured out how to generate code signing certificates using OCA and I've signed code in the past using Sun's keytool utility. However, when I use keytool to generate my certificate request(CSR) and use OCA to approve it, I can't import it back into the keystore. I am assuming that I need to include the "-provider" switch on the "-import" command for keytool. If I'm correct, does anyone know what the provider is for OCA?
    I also thought about not using keytool and generating a new CSR using Oracle Wallet Manager. I'm guessing that wallet mgr should already know about the OCA certificate formats. Since a wallet file is just a PKCS#12 keystore, I'm assuming that the jarsigner utility shouldn't have any problems using it as a code signing certificate store. My problem with wallet mgr is that I can only find it on the machine that has 10gAS installed on it. Is there any way I can install just the wallet mgr on another PC?
    Thanks,
    Mark Brown

    Thanks Frank. I posted the question here:
    Signing Java Webstart apps with Oracle Certificate Authority
    for anyone who wants to follow the progress.
    Mark

  • HOWTO deploy a JClient App in a 3tier Environment : Road Map needed.

    I've a JClent App and I need to run it in a 3tier environment.
    I mean I need to have as less code as possible running onto the client, distributed via Web Start, and as much code as possible running onto the Application Server (OC4J) in orer to take advantage of all Application Server facilities.
    OC4J does it, BC4J does it, JDeveloper does it but I don't understand how.
    I read the documentation but wasn't able to find my solution.
    I need a conceptual roadmap wich helps me to select the right components as well as a step by step instruction to create all deployments needed.
    Could someone help me ?
    Could Oracle provide such roadmap (I suspece it would be usefull for many JDev users) ?
    Tks
    Tullio

    Broadly the steps are
    1. Create a JNLP file which describes
    a) the list of jar files required
    b) specify main entry point in the application
    c) specify the security permissions required to run
    The JCLient WebStart wizard creates a jnlp file to
    perform the above.
    a) The jar files required to run the JClient app includes
    the BC4J runtime jars, JDBC jars, XML Parser jar etc.,
    and Project specific jar (client and middle tier). All
    these jar files are listed in the resources section
    of local.jsp and localmt.jsp
    <resources>
         <jar href="client.jar" />
         <jar href="mymt.zip" />
    b) the main entry point is specified in local.jsp
    <application-desc main-class="mypackage2.Panel1"/>
    c) security permission should be requested in local.jsp
    and localmt.jsp. The <security> tag should be child
    element of <jnlp> tag
         <security><all-permissions/></security>
    2) Sign the jar files
    Since we request all permission in the jnlp we should also
    sign the jar files that we use in the JClient application.
    This includes JClient Project specific jar files, BC4J
    Project specific jar files and then the BC4J runtime libraries.
    Since the BC4J runtime jars and other dependent jar files can
    be used in more than one client project they could be signed
    once and can be reused.
    BC4J\bin\create_jclient_ear.bat sign performs this step.
    To archive Project specific class and sign them, JClient Wizard
    creates an Ant script and adds it to your project. The file ctbuild.xml
    includes targets to and sign the classes in the JClient project.
    It also archives the BC4J Project which the JClient project is
    dependent on.
    3) Deploy the webstart application so that it can be accessed
    by the end user.
    a) deploy BC4J runtime and dependent jars to your web server.
    For ease of deployment to OC4J, JClient wizard adds a ear
    deployment profile to the project
    b) deploy project jar files using the client deployment war
    profile added to the project

  • DEPLOY WAR APP

    hi people, i know this should be the n+1 time this question is posted here, i have read all post before and follow their instructions to have a Tomcat 6 working with a very simple adf components. the error i get is Tomcat cant deploy that app. this is how tomcat is configured:
    inside lib dir:
    1116 adf-controller-api.jar
    132 adf-controller.jar
    500 adf-controller-rt-common.jar
    4 adf-controller-security.jar
    668 adf-faces-databinding-rt.jar
    32 adflibfilter.jar
    8 adflogginghandler.jar
    7576 adfm.jar
    44 adfmweb.jar
    16 adf-pageflow-dtrt.jar
    216 adf-pageflow-fwk.jar
    340 adf-pageflow-impl.jar
    44 adf-pageflow-rc.jar
    1568 adf-richclient-api-11.jar
    7320 adf-richclient-impl-11.jar
    316 adf-share-base.jar
    648 adf-share-ca.jar
    3004 adfsharembean.jar
    16 adf-share-security.jar
    268 adf-share-support.jar
    16 annotations-api.jar
    1944 cache.jar
    56 catalina-ant.jar
    128 catalina-ha.jar
    1160 catalina.jar
    232 catalina-tribes.jar
    112 commons-el.jar
    56 db-ca.jar
    1544 dms.jar
    492 dvt-databindings.jar
    128 dvt-facesbindings.jar
    3420 dvt-faces.jar
    6368 dvt-jclient.jar
    1244 dvt-trinidad.jar
    1268 dvt-utils.jar
    32 el-api.jar
    608 fmw_audit.jar
    808 glassfish.jsf_1.2.9.0.jar
    368 glassfish.jstl_1.2.0.1.jar
    344 identitystore.jar
    368 inspect4.jar
    108 jasper-el.jar
    516 jasper.jar
    1376 jasper-jdt.jar
    2512 javatools-nodeps.jar
    64 javax.activation_1.1.0.0_1-1.jar
    352 javax.jsf_1.2.0.1.jar
    16 javax.management.j2ee_1.0.jar
    12 javax.transaction_1.0.0.0_1-1.jar
    3004 jewt4.jar
    364 jmxframework.jar
    612 jmxspi.jar
    444 jps-api.jar
    648 jps-common.jar
    24 jps-ee.jar
    1644 jps-internal.jar
    112 jps-unsupported-api.jar
    72 jrf-api.jar
    332 jsf-api.jar
    776 jsf-ri.jar
    76 jsp-api.jar
    24 jstl.jar
    5488 mdsrt.jar
    2476 ojdbc6dms.jar
    1948 ojdbc6.jar
    4 oracle-el.jar
    216 oraclepki.jar
    168 org.apache.commons.beanutils_1.6.jar
    144 org.apache.commons.digester_1.8.jar
    40 org.apache.commons.logging_1.0.4.jar
    168 osdt_cert.jar
    256 osdt_core.jar
    88 servlet-api.jar
    56 share.jar
    388 standard.jar
    744 tomcat-coyote.jar
    228 tomcat-dbcp.jar
    72 tomcat-i18n-es.jar
    52 tomcat-i18n-fr.jar
    56 tomcat-i18n-ja.jar
    0 tree.txt
    1224 trinidad-api.jar
    4220 trinidad-impl.jar
    1244 wls-api.jar
    4 wls.jsf.di.jar
    1196 xercesImpl.jar
    752 xmlef.jar
    1412 xmlparserv2.jar
    i am deploying the app directly from jDeveloper the same way shay does in a video tutorial i have found. it looks like everything goes fine:
    [02:47:09 PM] ---- Deployment started. ----
    [02:47:09 PM] Target platform is (Tomcat 6.x).
    [02:47:09 PM] Running dependency analysis...
    [02:47:09 PM] Building...
    [02:47:16 PM] Deploying profile...
    [02:47:17 PM] Wrote Web Application Module to /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.war
    [02:47:18 PM] Wrote Enterprise Application Module to /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.ear
    [02:47:18 PM] Copied /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.war to /usr/share/Tomcat6a/webapps
    [02:47:18 PM] Elapsed time for deployment: 9 seconds
    [02:47:18 PM] ---- Deployment finished. ----
    the application is very simple. it only shows a login.jsp page with adf components, and it would be really nice this applications should be working like this. I have finished a full application using ADF with jDeveloper and I only need this final step.
    this is how the app is configured by the developer:
    WEB-INF/web.xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
    <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
    <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
    <param-value>false</param-value>
    </context-param>
    <filter>
    <filter-name>JpsFilter</filter-name>
    <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
    <init-param>
    <param-name>enable.anonymous</param-name>
    <param-value>true</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>trinidad</filter-name>
    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>JpsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>BIGRAPHSERVLET</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>BIGAUGESERVLET</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>MapProxyServlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>GatewayServlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/afr/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BIGRAPHSERVLET</servlet-name>
    <url-pattern>/servlet/GraphServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BIGAUGESERVLET</servlet-name>
    <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>MapProxyServlet</servlet-name>
    <url-pattern>/mapproxy/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/bi/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>GatewayServlet</servlet-name>
    <url-pattern>/flashbridge/*</url-pattern>
    </servlet-mapping>
    </web-app>
    WEB-INF/trinidad-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
    <skin-family>fusion</skin-family>
    </trinidad-config>
    and WEB-INF/faces-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
    <application>
    <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
    <locale-config>
    <default-locale>es</default-locale>
    <supported-locale>es</supported-locale>
    </locale-config>
    </application>
    <managed-bean>
    <managed-bean-name>SelectedApp</managed-bean-name>
    <managed-bean-class>gecu.view.SelectedApp</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>DatabaseQueryBean</managed-bean-name>
    <managed-bean-class>gecu.view.DatabaseQueryBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>ClavesQueryBean</managed-bean-name>
    <managed-bean-class>gecu.view.ClavesQueryBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>LoginBean</managed-bean-name>
    <managed-bean-class>gecu.view.LoginBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>usuario</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/login.jsp</from-view-id>
    <navigation-case>
    <from-outcome>failure</from-outcome>
    <to-view-id>/login.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/select.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>logout</from-outcome>
    <to-view-id>/logout.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/core/main.jsp</from-view-id>
    <navigation-case>
    <from-outcome>done</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>logout</from-outcome>
    <to-view-id>/logout.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>select</from-outcome>
    <to-view-id>/core/select.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>filter</from-outcome>
    <to-view-id>/util/filters.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>export</from-outcome>
    <to-view-id>/util/exports.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>calc</from-outcome>
    <to-view-id>/util/calcs.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/core/select.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/util/filters.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/util/exports.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/util/calcs.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/core/main.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/login.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>ControlSession</managed-bean-name>
    <managed-bean-class>gecu.model.ControlSession</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_util_calcs</managed-bean-name>
    <managed-bean-class>gecu.view.Calcs</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/calcs.jsp-->
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_util_exports</managed-bean-name>
    <managed-bean-class>gecu.view.Exports</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/exports.jsp-->
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_util_filters</managed-bean-name>
    <managed-bean-class>gecu.view.Filters</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/filters.jsp-->
    </managed-bean>
    </faces-config>
    If someone has got really nicely configured the tomcat 6 running ADF components error free, it would be good if you can share it with us, i run out ideas and still got no answers.
    Really thanked for all help received.
    isy

    hi John,
    you are correct. I would like to ask you something else if I can, becouse programming these days is a matter of time, and you may know how much that cost to a company. Our other option, instead of working with Tomcat, it is an Oracle IAS server we have here, but I do not know if that is supported with ADF components. We need to deploy our recently made application from jDeveloper 11g, and we need to have the production server online next week to start working on.
    Something else I would like to comment, just to talk about, java is made for people, and it is really powerfull. Java enterprise web applications also, and it would be good, if you are developing with ADF, to be able to transport those applications to be used under different web servers. Just to make them "academical" and ease to learn. This last quote is just my own opinion as a java developer and learner on web development using powerfull jsf components like adf.
    sincerely
    Israel

  • Deploy JDeveloper APP into Portal

    Hi:
    1 - I want to deplay a JClient App to Portal! How to do it ? I heard someone talking about provider.xml in portal, etc... is it needed ?
    2 - That app should only show information related to the portal user that is connected. So i used a 'where clause' that invoke portal.wwctx_api.get_user(). This will work ? Does the Japp will get the current user ? Is this the right way to do it ?
    Thankx in advance
    Ricardo

    I would look at the JPDK (Java Portal Development Kit). That
    will tell you how to deploy the application through portal.
    I've done JSPs as portlets, but not applications, but I do think
    you need to set up the provider.xml file to serve up the
    application properly. Im not sure if the function you refer to
    will work, because your java app may be using a separate
    database connection than portal uses, so it may not recognize a
    portal user. But I havent tried it. I know the JPDK provides
    an api for accessing Portal environemnt (like user), so I would
    check out the documentation on all that.

  • Start jclient app on 9ias rel2

    I have developed and deployed (from JDeveloper 9031 to local DCM) a jclient application with bc4j bindings on swing components (such as the demo at
    http://technet.oracle.com/sample_code/products/jdev/jclient/jclient_binding_demo.html)
    The deployment looked ok, can't start the app though. I've been trying some URLs such as:
    http://host.dommain.suffix:7777/j2ee/appname
    http://host.dommain.suffix:7777/j2ee/appname/index.html
    I would very much appreciate some help.
    Regards
    gabriela

    Gabriela,
    A JClient application is different from a Web application, the problem is in the way you are trying to access your app.
    Typicaly a JClient app is deployed to a local machine and run be typing:
    java mypackge.myclassIf you appliaction is deployed properly with all needed library in you classpath the above should work fine.
    Good luck
    Llies

  • Locally deploying Jclient Application

    Can any body tell me the link to the documentation on how to locally deploy jclient application, java -jar app.jar
    which files to be included in the classpath etc.
    Actually I am building the Jclient Application using oracle lite. I was previously deploying it through webstart but was having the error that "no suitable driver"
    The application wroks fine when executed through the jdeveloper.
    So I was thinking that it would also work with local deployment.

    Have a look at the command line JDeveloper uses to run your project (it's in the log window) - there you'll see the list of Jar files that are needed to get your project running.
    Then you can replicate it in your deployment.

  • Getting the BEA-101163 error while deploying the app on the server.

    I am getting the deployment error <Could not load user defined listener: java.lang.ClassNotFoundException: > while deploying the app on the weblogic 10.3.3 server.
    Please find the stack trace below :
    ####<Aug 18, 2010 2:56:43 PM UTC> <Error> <HTTP> <ss> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS
    Kernel>> <> <> <1282143403578> <BEA-101163> <Could not load user defined listener:
    java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Aug 18, 2010 2:56:43 PM UTC> <Error> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <<WLS Kernel>> <> <> <1282143403640> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1282143360031' for task '2'. Error is:
    'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Aug 18, 2010 2:56:43 PM UTC> <Warning> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <<WLS Kernel>> <> <> <1282143403734> <BEA-149004> <Failures were detected while initiating deploy task for application 'AOS'.>
    ####<Aug 18, 2010 2:56:43 PM UTC> <Warning> <Deployer> <ss> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <<WLS Kernel>> <> <> <1282143403734> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Aug 18, 2010 2:56:43 PM UTC> <Error> <Console> <ss> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'>
    <weblogic> <> <> <1282143403781> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
         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:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ClassNotFoundException:
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:123)
         at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1843)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1193)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381)
    >

    Did you fix this issue ? If yes .Can you please share the steps

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

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

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

  • Can't deploy my app on  Sun Java System Application Server Platform Edition

    Hi,
    I am trying to deploy me app on the Sun's app server but I get the following error:
    I am using Sun Java System Application Server Platform Edition 8.2
    Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ejb-jar.xml
    Line 29 Column 15 -- The content of element type "session" must match
    "(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-type,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*)". "It deploys on Orion 2.02
    The ejb.xml file is as follows:
      <enterprise-beans>
        <session>
          <display-name>Facade stateless session bean</display-name>
          <ejb-name>ejb/PetardsFacade</ejb-name>
          <home>com.jag.petardscmsbeans.interfaces.PetardsFacadeHome</home>
          <remote>com.jag.petardscmsbeans.interfaces.PetardsFacade</remote>
          <local-home>com.jag.businesslogic.interfaces.FacadeLocalHome</local-home
          ><local>com.jag.businesslogic.interfaces.FacadeLocal</local>
          <ejb-class>com.jag.petardscmsbeans.ejb.PetardsFacadeEJB</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Container</transaction-type>
          <resource-ref>
            <res-ref-name>jdbc/OracleDSRES</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
          </resource-ref>
          <env-entry>
            <env-entry-name>DSName</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>jdbc/OracleDSRES</env-entry-value>
          </env-entry>
        </session>
      </enterprise-beans>also, in the error message what does ? and * signify?
    Thanks

    This is an element ordering issue. env-entry is before resource-ref in the schema so it must be declared in the same order.
    --ken                                                                                                                                                                                                                                                                               

  • How coud i do to deploy a app to the website that shiped by j2ee sdk

    i want deploy a app to the website that shiped by j2ee sdk.
    i found the "conf" folder under the J2EE_HOME.but the website is have nothing with the file "server.xml" in this folder.
    how could i do?
    thx

    The J2EE 1.4 Tutorial describes how to deploy applications:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

  • Deploying an app from export script stored in the database.

    I am in the situation where I want to deploy a copy of an application programatically into the current workspace, but each against a separate schema. The end game would be to have many copies of the same App in the same workspace (obviously with different application numbers assigned) but each app pointing to a different schema.
    The workflow would be something like this:
    <ol>
    <li>Create a new tablespace for the new schema</li>
    <li>Create the new Schema</li>
    <li>create the required objects in the new schema (we're going to use DataPump for that)
    </li>
    <li>Assign the schema to the current workspace (make it available to use for a new APP)</li>
    <li>Read the app.sql from a BLOB in the database and deploy it into the current workspace pointed to the new schema.</li>
    </ol>
    I was wondering if there are already API's in place that would help me do these things (especially steps 4 and 5).
    I started poking around in the ApEx internals, looking specifically at the deployment of the SAMPLE apps to see if there was anything I could use, but it looks like the WWV_FLOW_SAMPLE_APP package is wrapped so I can't see what it's doing.
    I also looked at the code behind the "COPY APPLICATION" function and it looks like I might be able to use wwv_flow_imp_parser.parse to install the application in the current schema, but would probably need some clarification on whether there are any "gotchas" there.
    If that works, then it seems the hard part is assigning the new schema to the workspace as normally that is done from within the INTERNAL user's workspace.
    Thanks in advance for the help.
    Doug

    Ok... For others who may be interested in this, I have figured out part of the answer...
    To complete steps 2 and 4 mentioned in my original messages (Creating the user and makeing it available to a workspace) here is what I've come up with.
    DECLARE
    l_username varchar2(256);
    l_password varchar2(256);
    l_df_ts    varchar2(256);
    l_tmp_ts   varchar2(256);
    l_PCID     number;
    l_workspace_name varchar2(255);
    BEGIN
    l_username := 'DOUG';
    l_password := 'DOUG';
    l_df_ts    := 'USERS';
    l_tmp_ts   := 'TEMP';
    l_workspace_name := 'HAAS';
    -- CREATE THE USER AND THEN ADD THAT USER TO THE CORRECT WORKSPACE.
    -- First make sure that
    --  1. The name you're trying to create is not a "reserved" name like INTERNAL
    --  2. We're not working in an installation that is "RUNTIME ONLY"
    --  3. We're not working with a schema that is already in place or restricted.
    IF  flows_030100.wwv_flow_provisioning.reserved_schema(p_schema => l_username) = false
    and not (flows_030100.wwv_flow_provisioning.site_admin_is_restricted
              and
             flows_030100.wwv_flow_provisioning.restricted_schema(p_schema => l_username, p_workspace_name => l_worlkspace_name)
    THEN
        -- CREATE THE USER
        flows_030100.wwv_flow_provision.create_user(
        p_username    => l_username,
        p_password    => l_password);
        -- ASSIGN THE TABLESPACEs
        flows_030100.wwv_flow_provision.set_user_tablespace(
        p_username    => l_username,
        p_default_ts  => l_df_ts,
        p_temp_ts     => l_tmp_ts);
        -- Grant the appropriate roles and privs to the user
        flows_030100.wwv_flow_provision.grant_initial_privs(l_username);
        -- Create the link between the workspace and the schema name.
         BEGIN
        -- FIRST get the Workspace ID (known as the PROVISIONING_COMPANY_ID) from the APEX Dictionary.
        -- This assumes that the workspace we're working in is HAAS
            select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
        -- Now insert a row into the company_schema table to line the schema to a workspace.   
            insert into flows_030100.wwv_flow_company_schemas (security_group_id, schema)
            values (l_pcid, upper(l_username));
            commit;
        EXCEPTION
           WHEN NO_DATA_FOUND then
                --IF things fail then we need to kill to drop the user that we created.
                flows_030100.wwv_flow_provision.drop_user(p_username => l_username);
                --Then rais the application error or do whatever...
                raise_application_error(-20100,'Trying to use an invalid worksapce - '|| l_workspace_name);
        END;
    end if;
    end;I'm still trying to work on deploying the APP stored in a BLOB to the workspace and so far have the following code, but get the message :
    ORA-20001: You do not have privs on the DAVID schema.
    ORA-06512: at "FLOWS_030100.WWV_FLOW_IMP_PARSER", line 1599
    ORA-06512: at line 29
    declare
      l_file_id   number := 2113831202674379;
      l_parse_as_schema varchar2(4000) := 'DAVID';
      l_new_ap_ID number;
      l_orig_ap_id number;
      l_workspace_name varchar2(255) := 'HAAS';
      l_PCID     number;
    begin
        execute immediate 'alter session set current_schema = FLOWS_030100';
        flows_030100.wwv_flow_security.g_security_group_id := 10;
        flows_030100.wwv_flow_security.g_user := 'ADMIN';
      -- Import copy from application with new application ID and name
      -- First get the new Application ID
      l_new_ap_id := flows_030100.wwv_flow_utilities.minimum_free_flow;
      BEGIN
        select flow_id
          into l_orig_ap_id
          from flows_FILES.wwv_flow_file_objects$
         where id = l_file_id;
      end;
      flows_030100.wwv_flow_imp_parser.parse (
         p_file_id          => l_file_id,
         p_parse_as_schema  => l_parse_as_schema,   
         p_install_as_flow  => l_new_ap_id,
         p_original_flow_id => l_orig_ap_id,
         p_adjust_offset    => TRUE
      -- Get the Security group ID
          select provisioning_company_id
              into l_PCID
              from flows_030100.wwv_flow_companies
             where short_name = l_workspace_name;
      -- reset name with new application name
      update flows_030100.wwv_flows
      set name = 'TEST_NAME'
      where id = l_new_ap_id
      and security_group_id = l_PCID;
    end;

  • Link to goto deployed web app

    hi all,
    i have deployed a web application(war file) in UCM using the JSP Web App Administration Page. I need the url to access it. Please help.
    Also if i want to use webdav to replace the jsps inside the web app, how do i do it? As far as i know the webdav url checks out folders and since i checked in a war file i am able to view that. how do i replace the jsp file in the deployed web app? Please suggest.
    Thanks and Regards,
    nithya

    Check this out: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10807/c06_integration.htm#i1084683

  • BC4J Application Module Pooling for JClient App

    Helo,
    i wonder why all documentation about bc4j application module pooling available is for Web app ? (jsp) . I'm creating swing JClient app and i need some doc about how the application module pooling works in this kind of application.
    anybody know where can i get those docs ?
    Need help and Thank you,
    Ricky H.P.

    Connection pooling can be achieved when a JVM instance manages the pool, in 3tiers the Java App. Server has that task.
    If you are 2tiers that means that you are communicating with the database through JDBC.
    When a user launches your JClient app in fact he lauches his own JVM instance so I don't how he could share a pool with other users.
    In your case you have at most 2 open transactions per user.
    You can achieve that by sharing a same binding context with n forms composed of m panels.
    Let's say:
    1 main form
    connection 1: forms a,b,c
    connection 2: forms x,y,z
    In your main form your open your 2 connections and share them.
    You can achieve that by:
    1) in our main form, initialize 2 binding containers
    Example of one:
    DCBindingContainer bc1 = this.createBindingContainer("package name","model name");
    private DCBindingContainer createBindingContainer(String packageName, String panelModelName)
    StringBuffer sb = new StringBuffer(packageName);
    sb.append(ViewConstants.STRING_DOT);
    sb.append(panelModelName);
    DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject(sb.toString()); //NOTE THE NAME.
    if (bcdef == null)
    throw new JboException("System error, "+getClass().getName()+".createBindingContainer, DCBindingContainerDef: "+sb.toString()+" not found");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(panelModelName);
    panelBinding.getBindingContext().put(panelModelName, bc);
    return bc;
    2) Before that the jbInit method gets called in the called form, set the binding context:
    form1 = new Form1(...);
    form1.setBindingContainer(bc1) ;
    Example of methods in form 1 and form 2:
    public void setBindingContainer(DCBindingContainer ctr)
    this.panelBinding = (JUPanelBinding)ctr;
    setBindingContext(ctr.getBindingContext());
    public void setBindingContext(BindingContext bindCtx)
    if (panelBinding.getPanel() == null)
    panelBinding = panelBinding.setup(bindCtx, this);
    registerProjectGlobalVariables(bindCtx);
    panelBinding.refreshControl();
    try
    System.out.println("Form setBindingContext calling jbInit");
    jbInit();
    panelBinding.refreshControl();
    // FL added
    isBindingContextSet = true;
    System.out.println("Form isBindingContextSet true");
    catch(Exception ex)
    System.out.println("Form setBindingContext exception caught");
    panelBinding.reportException(ex);
    Regards
    Fred

  • Building and deploying J2EE apps ?  Now there is a solution for production root cause analysis.

    Is your organization building and deploying J2EE apps? If so, Halo
    can help solve one of the toughest issues facing enterprises today:
    Finding the root cause of software faults.
    "Halo monitors, pinpoints, reports on and provides a source-code level
    root cause of software faults in deployed J2EE apps. Halo is unique
    because it's the only technology that can give you a root cause
    diagnosis in a fully deployed, live production application. Halo has
    such low performance overhead that customers deploy their final,
    production versions of their applications with Halo enabled.
    Used with Web Application Servers like WebLogic, Halo helps ensure
    that deployed code is reliable and able to be quickly fixed if
    problems turn up. Most important, because Halo is an "always on"
    technology, you get all the information you need to rapidly solve a
    problem on the first fault. Problem replication and bug reports are
    obsolete with Halo
    "Halo has a unique ability to provide a root cause diagonosis and
    understanding
    of software problems in production systems, without needing to
    replicate the
    issue.
    Test on WebLogic proved that Halo runs with extremely low overhead and
    is suitable for use in deployed production systems"
    Andrew Sliwkowski, Software Engineer
    BEA Systems, Inc.
    The key is Halo's high performance, low overhead TraceBack
    instrumentation technology. Based on technology out of MIT and proven
    in the field, TraceBack enables you to instrument JARs, EARs and WARs
    within minutes, without touching source code.
    Halo is useful throughout the entire application life cycle, from
    development through test, beta and deployment.
    If you have interest in learning more visit our website at
    www.incer.com or email me directly at [email protected] (Rick Martin)

    I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
    Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
    you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
    or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
    Also, you will othe OC4J docs on OTN.
    Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
    http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
    Any help would be greatly appreciated. Thanks in advance.

Maybe you are looking for

  • Check condition points surely ;)

    Hi Actually i had a requirement in which i have to check the amount for every three days. <b>Example:</b> It has to check for every three consecutive days such as monday, tuesday, wednesday....... tuesday,wednesay,thursday wednesay,thursday,friday in

  • How to open an Applet from a text link in a HTML Page

    Hi There How to open an Applet from a text link in a HTML page For example I have a HyperLink "Open Applet" When a user clicks that link i want to open a Applet in a AWT Window. How can i do this Will any one help me? -Ramya

  • Copying movie error message (-69)

    i am trying to copy a movie tht i jus bought from itunes but it keeps sayin unknown error occurred error message (-69) cn someone help me out plz.

  • Updates to new version of i Tunes

    Hi, I am new to this and just looking for some advice. When opening itunes on my PC I am prompted to update my itunes software to a newer version - fair enough, happy with that. It then takes me to the Apple Download Centre and prompts me to install

  • When i plugged a projector into my iMac the resolution changed on my desktop

    I'm a relativly new user to mac.  When i plugged a projector in through an adapter via HDMI the resolution changed on my iMac & I am unable to set it back to the way it was.  Am i missing something?