ADFUtils JSFUtils in Jdev 11.1.2.3 on RedHat5.8

Hello:
I created a common code workspace as a Custom Application and added ADF Business Components. Now I want to add the ADFUtils and JSFUtils to this common code workspace.
I copied ADFUtils and JSFUtils from the FOD Demo app and attempted to add these classes to my workspace. So I create the class and paste the source code.
In ADFUtils, I get an import not found on:
import javax.faces.model.SelectItem
In JSFUtils, I get an import not found on :
import javax.faces.application.Application;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent.
import javax.faces.component.UIViewPort;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
What am I doing wrong?
Thanks for the help.

You need to add the JFS 2.0 library to your project. This lib contains the needed classes.
Timo

Similar Messages

  • ADFUtils + JSFUtils ... how come they're not in the base JDev release?

    Hi JDev gang
    A question came up from a client the other day, is how come ADFUtils and JSFUtils that appear in many of the Oracle JDev demos aren't included in the base JDev release? They seem like such obvious things to include in a base ADF Faces/RC project and for Oracle to expand upon, yet we currently have to "steal" the code for our own projects and include them.
    What are others' thoughts on this? Do you find these 2 classes indispensable for ADF Faces/RC development?
    Cheers,
    CM.

    Ah, the ugly can of Java annotation worms. Sure you want to open it? ;)
    Personally I'd love to see annotations introduced to masively reduce the complexity of Java JSF beans, and also the Java ADF BC side.
    One of the bits I see students really struggle with when teaching JDev is the unnecessary exposed Java methods in the ADF BC classes, such as the EntityImpl getAttrInvokeAccessor, setAttrInvokeAccessor, createPrimaryKey. Beginner non Java students really can only think about objects like POJOs, they struggle when they see lots of framework code added. As such hiding the detail using annotations should in theory make this eaiser.
    Regards the backing beans and injecting the binding container, iterator etc. I note between JDev 10.1.3 when it first came out, we were injecting bindings via the faces-config.xml file. This worked badly because new users struggled with getting the config file entries exactly to match the backing bean properties and accessor names.
    Then ADFUtils + JSFUtils came along which meant no injection was required, but now people are struggling with what to cast the result to (using something like JSFUtils.resolveExpression). As they don't inherently know the binding classes, what to cast to becomes a problem. The IDE doesn't help with this at all either.
    As such with the annotation approach, this would be better as the annotation would take care of returning the correct binding classes. This would take us to the next level. Also as the IDE would inherently know which binding class, then users would be better off in understanding the binding layer classes and which methods to call thanks to the code completion facilities. Of course it means someway of associating a backing bean with a particular page such that the BB knows which binding container to get, which iterators to include etc, and if the binding names are changed in the page def, the BB would automatically change its names (I figure you'd have to do this for beginners, otherwise they'd get confused).
    However, I think there is still a need for ADFUtils and JSFUtils even with annotations because there will be times where you want to do something that isn't provided by the annotations.
    Cheers,
    CM.

  • ADF Mobile : ADFUtils equivalent

    Hello everyone,
    just working on my first ADF Mobile app.
    Wondering whether there is an equivalent for ADFUtils & JSFUtils?
    My current case is to figure out the real ID from a select one choice based on a view object.
    I always get the index back, not the real id. So I need to have access to the view object itself.
    In ADFUtils we had something like findIterator. I'm looking for something similar.
    Thanks in advance.
    Filip

    Hi, Filip, I think you will need to use a programmatic approach to invoke these web services on the client side. Even if you set up LOVs/View Accessors on the server-side ADF BC, these data relationship are not passed to the client via the WSDL. You would need to model these data objects and associated relationship in Java Objects on the client side, and then expose these Java Objects as Bean data controls.
    The HR Sample app should help - look in the edit.amx page, and see how Dept ID or Manager ID in the Employee data object are handled. Basically, you would create the data structure in data objects, and expose these data as Bean DC. You can then drag/drop the child data objects (like Dept ID in an employeeList DC) to create a selectOneChoice component. ADF Mobile's DT should then correctly create the proper binding for the selectOneChoice control.
    This may still create some performance issues if you have multiple of these LOVs in one screen - each of the LOVs would require one WS call to server to get the data back. If you have many of these LOVs in one page and the values do not change frequently, you will want to cache the LOVs into a local DB or somehow retrieve the LOV values all at once when app starts up. Otherwise the application will not perform.
    Building an on-device mobile app has the additional complexity of needing to reduce number of RTs between client and server. For a web application, populating LOVs are all internal to server-side environment, and there are clever server-side caching mechanism to help with the performance. For an ADF Mobile app, any call can require one or more RTs to the server, which can significantly impact overall performance.
    To ensure flexibility, in general almost all ADF Mobile apsp would require programmatic approach to consume client side services.
    If you require additional details, please let me know.
    Thanks,
    Joe Huang

  • Where can I find AnalyticsUtil to call page view events

    Hi All,
    I have a Webcenter Portal Application and I am trying to integrate Analytics Service to count the number of page views.I have installed Analytics Collector and tried to setup the connection to ActivitiesDS through JDeveloper.I am following the steps from the below document:
    http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_analytics.htm#BABEHEHC
    I am stuck at section 47.2.3.1.As mentioned in the section I have added the custom javascript code on the page but I am not sure where exactly to find the AnalyticsUtil as mentioned in the document which will actually send the page view event.I am assuming it to be a util similar to ADFUtils, JSFUtils etc.Any help appreciated.
    Thanks,
    Swathi Patnam

    Have you noticed the lines-
    "To send page events, you must add *event code to each page*. Following is an example using a client JavaScript event on the page which, in turn, calls the Java Analytics API to send the actual event. To implement this example, you add the following code just below the <af:document> tag, replacing the pageName value with the name of the page for which you are sending events:"
    in your java bean (managedbean) you will get the number of page views-
    public void sendPageEvent (ClientEvent event) {
    // Checks whether Analytics events must be sent
    if (!AnalyticsUtil.isSendingEvents())
    return;
    HTTPServletRequest request = (HTTPServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
    String requestUser = request.getRemoteUser = request.getRemoteUser();
    //SEND PAGE VIEW EVENT
    String pageName = (String)event.getParameters().get("pageName");
    if(pageName == null || pageName.isEmpty() || requestUser == null)
    return;
    AnalyticsUtil.sendPageViewEvent(FacesContext.getCurrentInstance().
    getViewRoot..getViewId(), //viewID
    "PortalApp", //spaceDisplayName
    requestUser, //username
    0,
    pageName,
    false,
    request);
    you have to import AnalyticsUtil in your bean class.thats all.
    Apart from it,could u tell me what's the issue you are facing really?
    Regards,
    Hoque

  • Dirty in AM vs DataControl?

    hi experts,
    am using jdev11.1.1.5.0-adfbc.
    my question:
    when will AM get's dirty ?
    when will Datacontrol get's dirty ?
    why am asking means? am using am.getTransaction().isDirty() for checking whether am is dirty or not?sometimes, throws message AM is dirty. but it is not dirty.
    sometimes, it is not throwing message AM is dirty. but it is dirty.
    can any one explain me?

    Another reference:
    ADFUtils / JSFUtils for Oracle JDeveloper 11gR2 Cookbook

  • Is it ok to mix some non static methods in ADFUtil and JSFUtils?

    Hi
    I am new to ADF 11g. I would like someone comfirm me whether it's ok to include some non static method into ADFUtil and JSFUtil class? how this would effect the performance, and connection pool instance (too many)etc..?
    thank you very much in advance.

    This doesn't make sense as you would break any existing code using these classes. you should leaf these classes alone and use a new utility class of your own to handle your non static stuff.
    Timo

  • ADFUtils and JSFUtil do not compile

    Hi, I try to leverage these two files in my project, so I copied these two from storefront sample and rename its package name and add them into my application. I use 11.1.1.5
    However, when I deploy my app to weblogic, the compiler throws a series of compilation errores, such as:
    package javax.faces.application does not exist
    package javax.faces.component does not exist
    package javax.faces.context does not exist
    package FacesMessage does not exist
    cannot find class FacesContext
    cannot find UIComponent.
    etc.
    Obviously I missed somethings in my app. What else I should do in order to use these utility files?
    Thanks,

    In the Project Properties > 'Libraries and Classpath', What are the libraries that are currently added?
    Thanks,
    Navaneeth

  • Migration problem, Jdev 11.1.1.4.0 to Jdev 11.1.2.3.0

    Hi,
    I need Help, I've tried to migrate my aplication developed in Jdev 11.1.1.4.0 to Jdev 11.1.2.3.0, when deploy the application to Integrated weblogic Server 10.3.5 getting te next error:
    ------------------------------------------------------------------------------------------- Integrated Weblogic (10.3.5) Console Trace ------------------------------------------------------------------------------------------------------------------------------
    <JpsDstCredential> <setCredential> No se puede migrar la carpeta/clave de credenciales pagos.pag/anonymous#pag. Motivo oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: Ya existe la credencial con la asignación pagos.pag y la clave anonymous#pag..
    <ConfigureListener> <contextInitialized> Critical error during deployment:
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at com.sun.faces.util.Util.loadClass(Util.java:303)
         at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
         at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(ApplicationConfigProcessor.java:641)
         at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:306)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
         ... 38 more
    <31-10-2012 05:52:21 PM BOT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver.
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:293)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         Truncated. see log file for complete stacktrace
    >
    <FactoryFinder$FactoryManager> <getFactory> La aplicación no se ha inicializado correctamente durante el inicio, no se encuentra la fábrica: javax.faces.application.ApplicationFactory
    <ConfigureListener> <contextDestroyed> Unexpected exception when attempting to tear down the Mojarra runtime
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key severe.no_factory_backup_failed
         at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:371)
         at java.util.ResourceBundle.getString(ResourceBundle.java:334)
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:994)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:331)
         at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:131)
         at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:329)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3224)
         at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1535)
         at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:507)
         at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
         at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
         at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
         at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:642)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:63)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <31-10-2012 05:52:21 PM BOT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1351720337132' for task '4'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         Truncated. see log file for complete stacktrace
    >
    <31-10-2012 05:52:21 PM BOT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'pagos_application1'.>
    <31-10-2012 05:52:21 PM BOT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'pagos_application1'.>
    <31-10-2012 05:52:21 PM BOT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         Truncated. see log file for complete stacktrace
    >
    I've migrated other applications and not has this problem.
    I've migrated the application using wizard Jdev 11.1.2.3.0 and the deployment failed
    --------------------------------------------Deploy trace--------------------------------------------
    [05:52:08 PM] Deploying 3 profiles...
    [05:52:08 PM] Wrote Web Application Module to C:\JDeveloper\mywork\repositorios\migracion\pagos\ViewController\deploy\sigef_pagos.war
    [05:52:16 PM] Wrote Archive Module to C:\JDeveloper\mywork\repositorios\migracion\pagos\Model\deploy\pagos_Model_adflibPagos1.jar
    [05:52:16 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\repositorios\migracion\pagos\deploy\sigef_pagos.ear
    [05:52:16 PM] Redeploying Application...
    [05:52:20 PM] [Deployer:149192]Operation 'deploy' on application 'pagos_application1' is in progress on 'DefaultServer'
    [05:52:21 PM] [Deployer:149193]Operation 'deploy' on application 'pagos_application1' has failed on 'DefaultServer'
    [05:52:21 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application pagos_application1 on DefaultServer.: .
    [05:52:21 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [05:52:21 PM] Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
    [05:52:21 PM] See server logs or server console for more details.
    [05:52:21 PM] weblogic.application.ModuleException:
    [05:52:21 PM] Deployment cancelled.
    [05:52:21 PM] ---- Deployment incomplete ----.
    [05:52:21 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    I hope you can help me, thanks.
    Ron

    Hi timo,
    reviewing all my application code, I don't found a class that use javax.faces.el.VariableResolver, the JSFUtils.java class that I Use is:
    -------------------------------------------------------------------------------------------- JSFUtils.java ---------------------------------------------------------------------------------------------
    import java.util.Iterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.MissingResourceException;
    import java.util.ResourceBundle;
    import javax.el.ELContext;
    import javax.el.ExpressionFactory;
    import javax.el.MethodExpression;
    import javax.el.ValueExpression;
    import javax.faces.application.Application;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.component.UIViewRoot;
    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    import javax.servlet.http.HttpServletRequest;
    * General useful static utilies for workign with JSF.
    * @author Duncan Mills
    * @author Steve Muench
    * $Id: JSFUtils.java,v 1.3 2008/01/15 19:12:08 dholk Exp $
    public class JSFUtils {
    private static final String NO_RESOURCE_FOUND = "Missing resource: ";
    * Method for taking a reference to a JSF binding expression and returning
    * the matching object (or creating it).
    * @param expression EL expression
    * @return Managed object
    public static Object resolveExpression(String expression) {
    FacesContext facesContext = getFacesContext();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp =
    elFactory.createValueExpression(elContext, expression,
    Object.class);
    return valueExp.getValue(elContext);
    public static String resolveRemoteUser() {
    FacesContext facesContext = getFacesContext();
    ExternalContext ectx = facesContext.getExternalContext();
    return ectx.getRemoteUser();
    public static String resolveUserPrincipal() {
    FacesContext facesContext = getFacesContext();
    ExternalContext ectx = facesContext.getExternalContext();
    HttpServletRequest request = (HttpServletRequest)ectx.getRequest();
    return request.getUserPrincipal().getName();
    I don't know why get the error "Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver" when I not used this class in the application. Maybe this class could be hidden in other file ??
    my web.xml file is the next:
    --------------------------------------------------------------- web.xml -----------------------------------------------------------------------------------------------
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <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>
    <context-param>
    <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
    <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
    <param-value>differentDomain</param-value>
    </context-param>
    <filter>
    <filter-name>ACF</filter-name>
    <filter-class>oracle.adf.view.rich.webapp.AdfFacesCachingFilter</filter-class>
    </filter>
    <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-mapping>
    <filter-name>JpsFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ACF</filter-name>
    <url-pattern>*</url-pattern>
    </filter-mapping>
    <filter>
    <filter-name>SessionFilter</filter-name>
    <filter-class>arq.session.SessionFilter</filter-class>
    </filter>
    <filter>
    <description>Filtro de Seguridad</description>
    <display-name>Filtro de Seguridad</display-name>
    <filter-name>FiltroSeguridad</filter-name>
    <filter-class>seg.filtro.FiltroSeguridad</filter-class>
    </filter>
    <filter>
    <filter-name>trinidad</filter-name>
    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter>
    <filter-name>ADFLibraryFilter</filter-name>
    <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>SessionFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>FiltroSeguridad</filter-name>
    <url-pattern>/faces/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFLibraryFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <listener>
    <listener-class>arq.session.SessionListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
    </listener>
    <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>
    <servlet-name>adflibResources</servlet-name>
    <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>ServletImgCheque</servlet-name>
    <servlet-class>arq.reportes.ServletImgCheque</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>ServletDisenyoCheque</servlet-name>
    <servlet-class>arq.servlet.ServletDisenyoCheque</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>ServletImpresionCheque</servlet-name>
    <servlet-class>arq.servlet.ServletImpresionCheque</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>
    <servlet-mapping>
    <servlet-name>adflibResources</servlet-name>
    <url-pattern>/adflib/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ServletImgCheque</servlet-name>
    <url-pattern>/servletimgcheque</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ServletDisenyoCheque</servlet-name>
    <url-pattern>/servletdisenyocheque</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ServletImpresionCheque</servlet-name>
    <url-pattern>/servletimpresioncheque</url-pattern>
    </servlet-mapping>
    <mime-mapping>
    <extension>swf</extension>
    <mime-type>application/x-shockwave-flash</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>/ingreso.jspx</welcome-file>
    </welcome-file-list>
    <jsp-config>
    <jsp-property-group>
    <url-pattern>*.jsff</url-pattern>
    <is-xml>true</is-xml>
    </jsp-property-group>
    </jsp-config>
    </web-app>
    Application need that work in a production enviroment, but I can't yet deployed in my Integrated weblogic.
    thanks for your time and help.

  • JDev EA1 Error with JAZN/Security Roles/Authentication

    I have a current JSF application created under JDev 10.1.3 Preview which runs fine, but under JDev EA1 it crashes.
    The application has a JAZN definition with a realm and user defined. The user is also tied to a security role.
    In the web.xml I have a security role defined and security constraints. I also have the security-role-mappings in the orion-application.xml for deployment which uses OID to authenticate.
    This all works fine in JDev 10.1.3 preview.
    When I run the application in JDev EA1, the login dialog does not appear and the application crashes because it can't authenticate who is using the application. I have deleted and recreated the Jazn user and security roles under EA1.
    I have noticed that JDev is now reporting the "<security-constraint>" tag in web.xml is an error now.
    Any ideas on what's wrong?
    Thanks

    We're using SSO, so we haven't written our own login handler. The orion-application.xml has the "<jazn-web-app auth-method="SSO"/>" tag in it. We let SSO handle the login. You can write your own login handler if you wanted to. I think there's several threads about doing it. We wanted to try and use SSO and not have to write the piece to do the login.
    orion-application.xml:
    <jazn provider="LDAP"
    location="ldap://my.company.com:<port number>"
    default-realm="my_realm_here">
    <jazn-web-app auth-method="SSO"/>
    </jazn>
    The way we approached it, we have a User and Visit object. The User object just holds some data:
    public class User implements Serializable
    private String userid;
    private String name;
    private String email;
    private Date loginTime;
    The faces-config.xml is like this:
    <!--========User Bean=========-->
    <managed-bean>
    <managed-bean-name>user</managed-bean-name>
    <managed-bean-class>com.mycompany.User</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>queryService</property-name>
    <value>#{queryservicebean}</value>
    </managed-property>
    </managed-bean>
    We're using Spring to inject the "queryservicebean". You may not need this section. We're having to grab data from a database table. So you can probably skip that "<managed-property>" section.
    The section I think you are really asking about is the ViewHandler. You probably need to look at extending the ViewHandler to populate your user object.
    public class AuthenticatingViewHandler extends ViewHandler{...}
    You will probably need to look at adding code in the createView and restoreView methods.
    Something like:
    public class AuthenticatingViewHandler extends ViewHandler
    private final ViewHandler _base;
    public AuthenticatingAurepViewHandler(ViewHandler base)
    _base = base;
    public UIViewRoot createView(FacesContext facesContext, String viewId)
    viewId = loadUser(facesContext,viewId);
    return _base.createView(facesContext, viewId);
    } //END createView(FacesContext facesContext, String viewId)
    public UIViewRoot restoreView(FacesContext facesContext, String viewId)
    viewId = loadUser(facesContext,viewId);
    return _base.restoreView(facesContext,viewId);
    } //END restoreView(FacesContext facesContext, String viewId)
    --Then "loadUser" would populate your User object:
    public String loadUser(FacesContext facesContext, String viewId)
    String userId = facesContext.getExternalContext().getRemoteUser();
    User user = (User) JSFUtils.getManagedBean(ViewConstants.USER);
    -- Set the userid from OID in your User object
    user.setUserid(userId);
    -- Note: You may need to do some parsing on your user id string from OID.
    -- Do more stuff here, may switch to a differnt viewId if needed, like an error page.
    return viewId;
    } // END loadUser(FacesContext facesContext, String viewId)
    } //END AuthenticatingViewHandler
    The "JSFUtils.getManagedBean" uses the valuebinding to get the User bean from the FacesContext. We also carry a boolean isUserLoaded in the User object so we're not executing the loadUser code each time a view is rendered. The Visit object just has a navigation trace and other things of interest to us, so you may not care about it.
    A lot of this is from Adam Wiener's post on Sun's JSF forum. I think there's a couple of ways to approach this, with our requirements this works out better. If anybody else has any suggestions, it would be great to hear about them.
    As always, hope it helps out with what you are doing and thanks for the chocolate.

  • Table is not refreshed Jdev version:11.1.1.4.0

    Hi All,
    I am working with af:table component in adf.I had created a arraylist for which i added the beans and created data control.Then i dragged and dropped the arraylist as table on to the form when i run for the first time the table is containning data.when click a button and adding the beans to the table arraylist the data is not added to the table always its showing the first row only why its happening?how i can solve this issue?
    The bean scope is pageflow
    <af:table rows="#{bindings.tableList.rangeSize}"
    fetchSize="#{bindings.tableList.rangeSize}"
    emptyText="#{bindings.tableList.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row" rowBandingInterval="0"
    value="#{bindings.tableList.collectionModel}"
    selectedRowKeys="#{bindings.tableList.collectionModel.selectedRow}"
    selectionListener="#{pageFlowScope.templeteinfobean.tableChangeListner}"
    rowSelection="single" id="t1"
    binding="#{pageFlowScope.templeteinfobean.templetesTable}"
    rendered="#{pageFlowScope.templeteinfobean.tableList!=null}"
    width="520">
    <af:forEach items="#{bindings.tableList.attributeDefs}" var="def">
    <af:column headerText="templeteName"
    sortable="true" sortProperty="#{def.name}" id="c1"
    width="105">
    <af:outputText value="#{row[def.name].templeteName}" id="ot8"/>
    </af:column>
    </af:forEach>
    <af:forEach items="#{bindings.tableList.attributeDefs}" var="def">
    <af:column headerText="familyName"
    sortable="true" sortProperty="#{def.name}" id="c2"
    width="104">
    <af:outputText value="#{row[def.name].familyName}" id="ot9"/>
    </af:column>
    </af:forEach>
    <af:forEach items="#{bindings.tableList.attributeDefs}" var="def">
    <af:column headerText="templeteType"
    sortable="true" sortProperty="#{def.name}" id="c23"
    width="106">
    <af:outputText value="#{row[def.name].templeteType}" id="ot93"/>
    </af:column>
    </af:forEach>
    </table>
    Jdev version:11.1.1.4.0
    Regards,
    Smaran

    santosh a wrote:
    You may need to refresh the iterator if not already doing so in the add method....
    DCBindingContainer dcBindingContainer = (DCBindingContainer)ADFUtil.evaluateEL("#{bindings}");
    DCIteratorBinding dcIteratorBinding = dcBindingContainer.findIteratorBinding("tableListIterator");
    if (dcIteratorBinding != null) {
    dcIteratorBinding.executeQuery();
    }Add this after above code :- AdfFacesContext.getCurrentInstance().addPartialTarget(tableComponent);
    it will solve your problem

  • JDEV 11g R1: Static Lov does not refresh on changing locale

    Hello,
    I have created a static view object. Then created another view object that has an attribute defining a LOV using the former view object. In the web application I change the locale programmatically. I'm trying to set locale in ViewRoot, and also in the binding container:
          JSFUtils.getFacesContext().getViewRoot().setLocale(new Locale(localeStr));
          ADFUtils.getApplicationModuleForDataControl(AMDC).getSession().setLocale(locale);
          ADFUtils.getDCBindingContainer().getBindingContext().setLocaleContext(new DefLocaleContext(locale));
          ADFUtils.getDCBindingContainer().execute(); The problem is that the values of static list will not be translated. Though after executing rollback operation, they will show the translated values.
    I suppose it has to do with caching LOV values.
    Do you have any suggestion?? How can I make this LOV refresh??
    Thanks, Eniko

    Hi,
    taking it from:
    +"However , if we refresh the table or reload after save , the toop tip also get change . but we need to update the tool tip on change the lov . any suggestion ? "+
    The autput text component is part of a table ? If so then the table needs to be refreshed as the values in there are stamped. If I am wrong with my table assumption and the output text is part of a form, try setting clientComponent="true" for the output text field
    Frank

  • Error while running web application through JDEV (10.1.3.0.3) in OC4J

    Error while running web application through JDEV (10.1.3.0.3) in OC4J.
    Here is the error message.
    07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: javax.xml.bind.JAXBContext
         Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    07/10/02 14:45:28      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

    Hi,
    The guide you were refering was pointing to 10.1.2 wizards.
    For the latest 10.1.3 tutorial, please follow the below tutorial link :
    http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
    Hope this helps,
    Sunil..

  • Error while opening BC4J objects in Jdev 10G

    I downloaded the jdev 10.1.3.3 version , copied the entire JAVA_TOP files to myclasses on my local machine. In the project content property i gave the path to myprojects.
    In the include section i included only oracle\apps\ego since these are the only files i need to modify.
    Now when I right click on one of the EOs in jdev, i get an error message that there are java errors in the underlying EOImpl.java and the wizard will open read only.
    I did not modify any files. These are all oracle shipped files. This happens with a few other objects. I am able to open some of the BC4J objects but some of them give me this error mesage.
    When I build the project , i do not see any errors, I am even able to run a page.
    What is wrong here. is it some missing library or do i need to include additional files/folders .. Please help
    thanks,

    I deleted the class files from myprojects and tried opening the EO but that din't help. I created a new project after deleting all the class files, even now i get the same error.
    I wonder if reinstalling jdev will solve the issue? I have only xml files in the myprojects folder but i keep getting the same message that there exist errors in the .java file under the myprojects folder.
    I'm not sure what's going on. Is there some cache that jdev is looking at.

  • Error while running HRFacadeClient of JDev 11g Tutorial

    Hi,
    I was following the tutorial under Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces
    Section 19 says to run application under OC4J,
    <strong>19.</strong> Right click the <strong>HRFacadeBean</strong> in the Application Navigator and select <strong>Run</strong> from the context menu to launch the facade bean in the Embedded OC4J sever.
    Curently OC4J not available under JDev 11g Production version, so it runs under Web-logic Server which comes with JDeveloper 11g. Please see the log below:
    Default Server - Log
    D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Appl\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;D:\Appl\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;D:\Appl\OraHome1\bin;D:\Appl\OraHome1\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Appl\Java\jdk1.6.0_01\bin;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Apache Software Foundation\Apache2.2\php\ext;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 "-Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 "-Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Djbo.34010=false -Xverify:none -da -Dplatform.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1 -Doracle.home=D:\Appl\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000395&gt; &lt;Following extensions directory contents added to the end of the classpath:
    D:\Appl\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar&gt;
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Info&gt; &lt;WebLogicServer&gt; &lt;BEA-000377&gt; &lt;Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.&gt;
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Info&gt; &lt;Management&gt; &lt;BEA-141107&gt; &lt;Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 &gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Info&gt; &lt;WorkManager&gt; &lt;BEA-002900&gt; &lt;Initializing self-tuning thread pool&gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170019&gt; &lt;The server log file D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.&gt;
    &lt;Oct 30, 2008 12:39:08 PM AST&gt; &lt;Notice&gt; &lt;Security&gt; &lt;BEA-090082&gt; &lt;Security initializing using security realm myrealm.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STANDBY&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170027&gt; &lt;The Server has established connection with the Domain level Diagnostic Service successfully.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to ADMIN&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RESUMING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "ITDEV-39", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default" is now listening on 192.168.76.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[2]" is now listening on 10.19.37.39:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[1]" is now listening on 192.168.153.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000331&gt; &lt;Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "localhost", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RUNNING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000360&gt; &lt;Server started in RUNNING mode&gt;
    DefaultServer startup time: 9953 ms.
    DefaultServer started.
    [Running application HR_EJB_JPA_App on Server Instance DefaultServer...]
    Uploading credentials.
    ---- Deployment started. ---- Oct 30, 2008 12:39:14 PM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2008-10-30 12:39:14.937: Writing EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
    2008-10-30 12:39:14.984: Wrote EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
    2008-10-30 12:39:16.078: Writing EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
    2008-10-30 12:39:16.093: Wrote EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
    Deploying Application...
    &lt;Oct 30, 2008 12:39:17 PM AST&gt; &lt;Warning&gt; &lt;J2EE&gt; &lt;BEA-160195&gt; &lt;The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HR_EJB_JPA_App is not versioned.&gt;
    Oct 30, 2008 12:39:17 PM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
    INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.util.List oracle.HRFacade.queryEmployeesFindByName(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.persistEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.mergeEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    Application Deployed Successfully.
    Elapsed time for deployment: 4 seconds
    ---- Deployment finished. ---- Oct 30, 2008 12:39:19 PM
    Run startup time: 5063 ms.
    [Application HR_EJB_JPA_App deployed to Server Instance DefaultServer]
    <strong>20.</strong> Right click <strong>HRFacadeClient</strong> and select <strong>Run</strong> from context.
    Now when I run <strong>HRFacadeClient</strong> the log shows following error.
    EJBModel.jpr - log
    [EclipseLink/JPA Client] Adding Java options: -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar
    D:\Appl\Oracle\Middleware\jdk160_05\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\antlr.jar;D:\Appl\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\Appl\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;D:\Appl\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;D:\Appl\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;D:\Appl\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;D:\Appl\Oracle\Middleware\modules\javax.interceptor_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.jms_1.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;D:\Appl\Oracle\Middleware\modules\javax.jws_2.0.jar;D:\Appl\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.resource_1.5.1.jar;D:\Appl\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\Appl\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 -Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 -Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com oracle.HRFacadeClient
    Exception in thread "main" java.lang.AssertionError: Can not find generic method public abstract java.util.List&lt;oracle.Departments&gt; queryDepartmentsFindAll() in EJB Object
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:159)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
    at $Proxy11.queryDepartmentsFindAll(Unknown Source)
    at oracle.HRFacadeClient.main(HRFacadeClient.java:15)
    Process exited with exit code 1.
    Please guide me how to solve this error and continue with tutorial...
    Regards,
    Santhosh

    Hi Heidi,
    I tried once again to install a fresh instance of Oracle soa suite 10.1.3.0 and upgraded it to 10.1.3.4 successfully. I did all the JDeveloper 11g installation and configure SOA process all successfully. I can create a connection to OC4J using 12401 RMI port successfully but none of my applications are deployed to server.
    This message is repeatedly displaying in messages tab:
    Exception returned by remote server: com.evermind.server.rmi.RMIConnectionException: Disconnected: oracle.oc4j.admin.management.shared.SharedModuleType. local class incompatible during deploy ...
    The default OC4J RMI port is 23791 but in my installation it is set to 12401 when I checked the Runtime Port option of Oracle Application Server and the connection is fine with this port but applications can not be deployed with this configuration.
    I can deploy applications on separate standalone OC4J instance successfully but not able to do it with my SOA application server.
    Any comments will be appreciated.
    Thanks again
    Esfand
    Edited by: user3788199 on Sep 8, 2008 6:50 AM

  • ADFBindingFilter error while deploying a war to WLS server using jdev 12c

    I've a OSB Server setup using XBUS_MAIN_GENERIC_120131.1402.S which is using JDEVADF_MAIN_GENERIC_120102.0032.6211.
    Launched the 12c Jdev and created a simple adfc web application with a test.jspx page and deployed in the OSB Server. The web app deployed and could launch the test page.
    I have added the page definition for that test page by 'Go to Page Definition' option.
    Now, If I try to deploy this web app war to the OSB Server, I'm getting the following exception in the jdev (Error1) and in the server log I could see the error (Error2).
    Any Idea how to resolve this issue?
    Error1 ( on Jdev )
    [03:15:08 AM] ---- Deployment started. ----
    [03:15:08 AM] Target platform is (Weblogic 10.3).
    [03:15:09 AM] Retrieving existing application information
    [03:15:09 AM] Running dependency analysis...
    [03:15:09 AM] Building...
    [03:15:15 AM] Deploying profile...
    [03:15:16 AM] Wrote Web Application Module to /scratch/sansrini/OSB_DEV/OSBMgmtTestApp/OSBMgmtTaskflowsTestApp/deploy/newosb2.war
    [03:15:16 AM] Deploying Application...
    [03:15:18 AM] [Deployer:149193]Operation "deploy" on application "newosb2" has failed on "AdminServer".
    [03:15:18 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application newosb2 on AdminServer.: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter.
    [03:15:18 AM] weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    [03:15:18 AM] Deployment cancelled.
    [03:15:18 AM] ---- Deployment incomplete ----.
    [03:15:18 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Error2 ( on wls log )
    <Feb 3, 2012 3:15:18 AM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:93)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Truncated. see log file for complete stacktrace

    I guess you should be asking on an internal forum somewhere, because we, the unwashed masses, don't have access to JDev 12c.
    John

Maybe you are looking for