< distributor > BEFORE < / dispatcher >

Hello

< filter mapping >
< filter-name > ServletMappedDoFilter_Filter < / filter-name >
ForwardedServlet < url-pattern > < / url-pattern >
< distributor > BEFORE < / dispatcher >
< / filter-mapping >

in this example which is using the tag dispatcer I know not < filter-name > and < url > - tags, but I don't know about the tag < distributor >

Please explain to me

Reference:
http://www.JavaWorld.com/JW-03-2003/JW-0328-servlet.HTML?page=3

This value indicates that the filter should be applied to the applications directly from the client, but also forward requests.
For example when the user typing /ForwardedServlet in the browser and in the ForwardedServlet class you dispatcher forwards to ForwardedServlet? a = b
Then this filter will be called for an initial application and forwarded the request.

Peace
Shaik

Tags: Oracle Applications

Similar Questions

  • Display Image in toilet spaces

    Hello

    I use jdev 11.1.1.7.0 and toilet spaces 11.1.1.8.0. I have a problem with image display on the wc via servlet image spaces, but there is no problem in the local test page. The images are stored in the DB (as a blob) and I use servlet to show them on jspx page. There is no picture, just a white space on the page, but the images of local test indicated correctly page on spaces.

    Definition of servlet in my project's web.xml file.

    < filter mapping >

    < filter-name > adfBindings < / filter-name >

    < name servlet - > ImageServlet < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    < servlet >

    < name servlet - > ImageServlet < / servlet-name >

    > the servlet class < packagePath.ImageServlet < / servlet-class >

    < / servlet >

    < servlet-mapping >

    < name servlet - > ImageServlet < / servlet-name >

    <>url-pattern / showPhoto < / url-pattern >

    < / servlet-mapping >

    in my page jsff;

    < af:image id = "i1".

    source = "/showPhoto?" ' photoId= #{line. photoId}.

    shortDesc = "#{row.desc} '"

    inlineStyle = "width: 90px;" height: 120.0px; "/ >

    While page load wc spaces using this url: /webcenter/showPhoto? photoId= B2131

    my local test page uses: /Portal-ViewController-context-root /showPhoto? photoId= B2242

    Thank you.

    solve that owning my own

    I changed the web.xml file that is belongs to the webcenter Portal Server extension project.

  • Get the status of the Http 404 error while trying to access dyn/admin

    Using Weblogic server to deploy the application. What server starts to become less than error and 404 error when trying to access the dyn/admin.

    storefront works well and I am able to access the application without any problem.

    SEVERE: javax.servlet.ServletException: * ERROR: could not get the ServletContext for atg_bootstrap.war. Lack of start-up NucleusServlet. (/ dyn, zero)

    javax.servlet.ServletException: * ERROR: could not get the ServletContext for atg_bootstrap.war. Lack of start-up NucleusServlet. (/ dyn, null)

    at atg.nucleus.servlet.NucleusServlet.initBigEarNucleus(NucleusServlet.java:843)

    at atg.nucleus.servlet.NucleusServlet.init(NucleusServlet.java:465)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletInitAction.run (StubSecurityHelper.java:337)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletInitAction.run (StubSecurityHelper.java:288)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:98)

    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:86)

    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74)

    to weblogic.servlet.internal.StubLifecycleHelper. < init > (StubLifecycleHelper.java:60)

    to weblogic.servlet.internal.StubLifecycleHelper. < init > (StubLifecycleHelper.java:34)

    at weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:652)

    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:593)

    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1924)

    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1901)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1791)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:822)

    to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:360)

    to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:356)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:213)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:208)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:729)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:222)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:414)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:191)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:99)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    January 11, 2015 08:31:35 java.util.jar.Attributes read

    WARNING: Duplicate name in manifest: name.

    Make sure that the manifest has no duplicates, and

    blank lines to separate different sections at the same time your

    manifest and in the META-INF/MANIFEST. Entry in the jar of MF.

    Below is the web.xml file

    <? XML version = "1.0"? >

    < ! DOCTYPE web - app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3 / / IN" "http://java.sun.com/dtd/web-app_2_3.dtd" > ""

    " < web - app xmlns =" http://Java.Sun.com/XML/NS/JavaEE "

    " 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" = >

    < display name > ATG Application < / display-name >

    < description > year Application ATG < / description >

    <!--

    It's the name and value of the "web application parent ', which is the name

    a web application, which has a defined in SessionNameContextServlet

    who will define the scope of session for this web application.

    This definition is commented out here in the 'main' web application, but

    You can copy this init param control in a web application to child who

    I wanted to share the same session with this servlet scope.

    ->

    < context-param >

    atg.session.parentContextName < param-name > < / param-name >

    < param-value > / dyn < / param-value >

    < / context-param >

    < context-param >

    atg.dafear.bootstrapContextName < param-name > < / param-name >

    < param-value > / dyn < / param-value >

    < / context-param >

    <!--

    If the context root is defined here, then ServletContextWebAppRegistry will use

    This parameter as the root of context to this WebApp.  It must correspond to

    the context parameter root in application.xml.

    ->

    < context-param >

    root of context of < param-name > < / param-name >

    twodegree < param-value > < / param-value >

    < / context-param >

    <!--

    ATG. Assemble context parameter indicates that we want to run the

    AssemblerPiplineServlet that will use the assembler api to return the content

    Since the Manager of the experience or the guided search.

    ->

    < context-param >

    ATG.assembler < param-name > < / param-name >

    < param-value > true < / param-value >

    < / context-param >

    < context-param >

    atg.filter.PageFilterDebug < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    <!-< filter >

    < filter-name > PageFilter < / filter-name >

    > class filter < atg.filter.dspjsp.PageFilter < / class filter >

    < / filter >

    < filter mapping >

    < filter-name > PageFilter < / filter-name >

    *.jsp < url-pattern > < / url-pattern >

    < / filter-mapping >->

    <!--

    Called when a request is a .jsp file, the PageFilter servlet is

    the entry point into the DAF pipeline. PageFilter calls

    ATG/dynamo/servlet/dafpipeline/DynamoHandler to start the servlet DAF

    pipeline for JSP applications. The pipeline of servlet DAF builds on JBoss

    to manage the page compilation process in its entirety.

    ->

    < filter >

    < filter-name > PageFilter < / filter-name >

    > class filter < atg.filter.dspjsp.PageFilter < / class filter >

    < / filter >

    < filter >

    < filter-name > ForwardFilter < / filter-name >

    > class filter < atg.servlet.ForwardFilter < / class filter >

    < / filter >

    < filter >

    < name of filter > ErrorFilter < / filter-name >

    > class filter < atg.servlet.ErrorFilter < / class filter >

    < / filter >

    < filter mapping >

    < name of filter > ErrorFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > ERROR < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > ForwardFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > BEFORE < / dispatcher >

    < distributor > ERROR < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > PageFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > APPLICATION < / dispatcher >

    < distributor > ERROR < / dispatcher >

    < distributor > BEFORE < / dispatcher >

    < / filter-mapping >

    <!--

    Configure the core Servlet. This servlet definition is required

    in each web application that uses the functionality of the dynamo.  When mapped.

    It exposes the browser kernel component, but should not be

    mapped to the paths on a site online.

    ->

    < servlet >

    < name servlet - > NucleusServlet < / servlet-name >

    > the servlet class < atg.nucleus.servlet.NucleusServlet < / servlet-class >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    <!--

    This servlet exposes the dynamo as a servlet server administrator in your

    application server.  It is not necessary, but useful for access to the

    core component browser, the dynamo configuration manager, and

    performance monitor

    ->

    < servlet >

    < name servlet - > AdminProxyServlet < / servlet-name >

    > the servlet class < atg.nucleus.servlet.NucleusProxyServlet < / servlet-class >

    < init-param >

    proxyServletPath < param-name > < / param-name >

    < param-value > / atg/dynamo/servlet/adminpipeline/AdminHandler < / param-value >

    < / init-param >

    < load-on-startup > 2 < / load-on-startup >

    < / servlet >

    <!--

    This servlet presents the dynamo servlet pipeline.  It is necessary if

    you want to support the JHTML portion on your site pages.  The path of the context

    and servlet path used by this servlet are added on all URLs

    for JHTML pages on your site.

    ->

    < servlet >

    < name servlet - > DynamoProxyServlet < / servlet-name >

    > the servlet class < atg.nucleus.servlet.NucleusProxyServlet < / servlet-class >

    < load-on-startup > 2 < / load-on-startup >

    < / servlet >

    <!--

    This servlet must be defined in each web application that is named

    as a 'major' web application (i.e. its context name is the value of)

    setting atg.session.parentContextName to another web application).

    It is usually the dyn.ear web app.

    ->

    < servlet >

    < name servlet - > SessionNameContextServlet < / servlet-name >

    > the servlet class < atg.nucleus.servlet.SessionNameContextServlet < / servlet-class >

    < / servlet >

    <!--

    This servlet handles requests for special session-init issued by CCA

    and the caliber e-mail system.

    ->

    < servlet >

    < name servlet - > InitSessionServlet < / servlet-name >

    > the servlet class < atg.nucleus.servlet.InitSessionServlet < / servlet-class >

    < / servlet >

    <! - utaku redirection of payment - >

    < servlet >

    < name servlet - > TwoDPaymentProcessServlet < / servlet-name >

    > the servlet class < com.twodegree.commerce.order.payment.servlet.TwoDPaymentProcessServlet < / servlet-class >

    < / servlet >

    < servlet-mapping >

    < name servlet - > TwoDPaymentProcessServlet < / servlet-name >

    <>url-pattern/MCO/withdrawal/payment/olsPayCCRequest < / url-pattern >

    < / servlet-mapping >

    <!--

    You can enable this for diagnostic purposes in case you have trouble

    other marketing services, you can go directly to the core.  It will be

    You can directly access the Component Explorer.  He

    is no authentication on this so do not not for an online site.

    < servlet-mapping >

    < name servlet - > NucleusServlet < / servlet-name >

    < url-pattern > /noyau / * < / url-pattern >

    < / servlet-mapping >

    ->

    <!-server admin to exposes dynamo->

    < servlet-mapping >

    < name servlet - > AdminProxyServlet < / servlet-name >

    < url-pattern >/Admin / * < / url-pattern >

    < / servlet-mapping >

    <!--> pipeline of exposes dynamo to serve pages DSP

    < servlet-mapping >

    < name servlet - > DynamoProxyServlet < / servlet-name >

    < url-pattern > /dyn / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > InitSessionServlet < / servlet-name >

    <>url-pattern / init-session < / url-pattern >

    < / servlet-mapping >

    <! - ContextLoaderListener spring - >

    <>earpiece

    org.springframework.web.context.ContextLoaderListener <-listener class > < / listener class >

    < / earphone >

    <!-spring-> application configuration file location

    < context-param >

    contextConfigLocation < param-name > < / param-name >

    /Web-INF/spring-context.XML < param-value > < / param-value >

    < / context-param >

    < Welcome-file-list >

    index.jsp welcome < file > < / welcome-file >

    < / Welcome-file-list >

    < jsp-config >

    < jsp-property-group >

    *.jsp < url-pattern > < / url-pattern >

    encoding-> < UTF-8 < / encoding of page >

    < invalid script > false < / invalid scripts >

    /includes/prelude.jspf < include prelude > < / include-prelude >

    < / jsp-property-group >

    < / jsp-config >

    < / web - app >

    <!--@version $Id: //product/Eclipse/main/plugins/atg.project/templates/web.xml#1 $$ change: $425088->

    Hello

    Check if the atg_admin.war is present in your ear.

    If not then DafEar.Admin module is not picked up correctly and the ear does not correctly.

    Try to make the ear using the CIM and not by the runassembler command.

    Kind regards

    Prateek Gupta

  • ADFC-0619: failed the authorization check but system-jazn-"Data.xml" entry

    Hello

    I have an urgent problem with permission on production area.

    I set the permission for my App. create custom pages so login and custom to redirect, the Spanish developer Login bean works fine, but on prodocution I got an exception:

    WatchRule: (SEVERITY = "Error") AND ((MSGID = ' WL-101020') OR (MSGID = "WL-101017'") OR (MSGID = "WL-000802'") OR (MSGID = "BEA-101020'") OR (MSGID = "BEA-101017'") OR (MSGID = "BEA-000802'"))

    [WatchData: DATE = July 7, 2014 11:05:33 AM EDT SERVER = AdminServer MESSAGE = [path of the module: app_name_test ServletContext@304698745[app:AppName: / app_name_test spec-version: 2.5]] Servlet failed with Exception

    oracle.adf.controller.security.AuthorizationException: ADFC-0619: authorization check failed: 'viewcontroller.pageDefs.homePageDef', 'VIEW '.

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:182)

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.internalCheckPermission(AuthorizationEnforcer.java:162)

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:116)

    at oracle.adfinternal.controller.state.ControllerState.checkPermission(ControllerState.java:663)

    at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:700)

    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:473)

    at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:59)

    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:530)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:131)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:74)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    JPS - config.Xml

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < jpsConfig xmlns =" http://xmlns.Oracle.com/OracleAS/schema/11/JPs-config-11_1.xsd "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi: schemaLocation = " http://xmlns.Oracle.com/OracleAS/Schema/11/JPS-config-11_1.xsd HSD-config - 11_1.xsd" >

    < = name="oracle.security.jps.jaas.mode"/ 'doasprivileged' property value >

    < serviceProviders >

    "< class ="oracle.security.jps.internal.idstore.xml.XmlIdentityStoreProvider serviceProvider"name =" idstore.xml.provider "type ="IDENTITY_STORE">

    < description > XML-based IdStore provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider serviceProvider"name =" policystore.xml.provider "type ="POLICY_STORE">

    < description > XML-based PolicyStore provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.anonymous.idm.IdmAnonymousServiceProvider serviceProvider"name =" anonymous.provider "type 'ANONYMOUS' = >

    < description > anonymous access provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.login.jaas.JaasLoginServiceProvider serviceProvider"name =" jaas.login.provider "type ="LOGIN">

    < description > Service Provider for the connection Module < / description >

    < / serviceProvider >

    < / serviceProviders >

    < serviceInstances >

    < provider = "idstore.xml.provider serviceInstance" name ="idstore.xml" > "

    "< value="./jazn-data.xml property "name ="location"/ >

    < property value = 'OBFUSCATE' name="jps.xml.idstore.pwd.encoding"/ >

    < value property = "jazn.com" name = "subscriber.name" / > "

    < / serviceInstance >

    < provider = "policystore.xml.provider serviceInstance" name ="policystore.xml" > "

    "< value="./jazn-data.xml property "name ="location"/ >

    < = 'false' name="oracle.security.jps.policy.principal.cache.key"/ property value >

    < / serviceInstance >

    < provider = "anonymous.provider serviceInstance" name = "anonymous" / > "

    < provider = "jaas.login.provider serviceInstance" name ="anonymous.loginmodule" > "

    < value = "oracle.security.jps.internal.jaas.module.anonymous.AnonymousLoginModule property" name = "loginModuleClassName" / > "

    < property value = "REQUIRED" name="jaas.login.controlFlag"/ >

    < property value = "true" name = "debug" / >

    < property value = "true" name = "addAllRoles" / >

    < / serviceInstance >

    < provider = "jaas.login.provider serviceInstance" name ="idstore.loginmodule" > "

    < value = "oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule property" name = "loginModuleClassName" / > "

    < property value = "REQUIRED" name="jaas.login.controlFlag"/ >

    < property value = "true" name = "debug" / >

    < property value = "true" name = "addAllRoles" / >

    < = 'false' name="remove.anonymous.role"/ property value >

    < / serviceInstance >

    < / serviceInstances >

    < jpsContexts default 'anonymous' = >

    < name jpsContext 'anonymous' = >

    < serviceInstanceRef ref = 'anonymous' / >

    < serviceInstanceRef ref = "anonymous.loginmodule" / >

    < / jpsContext >

    < / jpsContexts >

    < / jpsConfig >

    Web.Xml

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < web - app xmlns =" http://Java.Sun.com/XML/NS/JavaEE "" 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" = >

    < context-param >

    javax.faces.STATE_SAVING_METHOD < param-name > < / param-name >

    customer of < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.PARTIAL_STATE_SAVING < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    < description > if this parameter is set to true, there will be an automatic check of the date of the change of your JSP pages and saved state will be scrapped when JSP change. It will also automatically check if your css skinning files have changed without requiring you to restart the server. This facilitates the development, but adds above. For this reason, this parameter must be set to false when your application is deployed. < / description >

    org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    < description > if the comment "generated by...» "down in pages ADF Faces HTML should contain version number information. < / description >

    oracle.adf.view.rich.versionString.HIDDEN < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    Oracle.ADF.jsp.provider.0 < param-name > < / param-name >

    oracle.mds.jsp.MDSJSPProviderHelper < param-value > < / param-value >

    < / context-param >

    < context-param >

    < description > File Upload < / description >

    org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE < param-name > < / param-name >

    < param-value > 10485760 < / param-value >

    < / context-param >

    < context-param >

    < description > the safety precautions to prevent clickjacking: bust of executives if the area of window ancestor (Protocol, host and port) and the framework are different. Other options for this setting are always and never. < / description >

    org.apache.myfaces.trinidad.security.FRAME_BUSTING < param-name > < / param-name >

    differentOrigin < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_SKIP_XML_INSTRUCTIONS < param-name > < / param-name >

    < param-value > true < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_SKIP_COMMENTS < param-name > < / param-name >

    < param-value > true < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_DECORATORS < param-name > < / param-name >

    oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_RESOURCE_RESOLVER < param-name > < / param-name >

    oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver < param-value > < / param-value >

    < / context-param >

    < filter >

    < filter-name > JpsFilter < / filter-name >

    > class filter < oracle.security.jps.ee.http.JpsFilter < / class filter >

    < init-param >

    enable.anonymous < param-name > < / param-name >

    < param-value > true < / param-value >

    < / init-param >

    < init-param >

    Remove.anonymous.role < param-name > < / param-name >

    < param-value > false < / param-value >

    < / init-param >

    < / filter >

    < filter >

    < name of filter > Trinidad < / filter-name >

    > class filter < org.apache.myfaces.trinidad.webapp.TrinidadFilter < / class filter >

    < / filter >

    < filter >

    < filter-name > adfBindings < / filter-name >

    > class filter < oracle.adf.model.servlet.ADFBindingFilter < / class filter >

    < / filter >

    < filter >

    < filter-name > ADFLibraryFilter < / filter-name >

    > class filter < oracle.adf.library.webapp.LibraryFilter < / class filter >

    < / filter >

    < filter mapping >

    < filter-name > JpsFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < distributor > INCLUDE < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < name of filter > Trinidad < / filter-name >

    < name servlet - > Faces Servlet < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < distributor > ERROR < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > adfBindings < / filter-name >

    < name servlet - > Faces Servlet < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > ADFLibraryFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > adfBindings < / filter-name >

    < name servlet - > adfAuthentication < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    <>earpiece

    oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    <>earpiece

    oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    <>earpiece

    Oracle.BC4J.MBean.BC4JConfigLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    < servlet >

    < name servlet - > Faces Servlet < / servlet-name >

    > the servlet class < javax.faces.webapp.FacesServlet < / servlet-class >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    < servlet >

    resources < name of the servlet > - < / servlet-name >

    > the servlet class < org.apache.myfaces.trinidad.webapp.ResourceServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > BIGRAPHSERVLET < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.GraphServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > BIGAUGESERVLET < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.GaugeServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > MapProxyServlet < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.MapProxyServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > GatewayServlet < / servlet-name >

    > the servlet class < oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > adflibResources < / servlet-name >

    > the servlet class < oracle.adf.library.webapp.ResourceServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > adfAuthentication < / servlet-name >

    > the servlet class < oracle.adf.share.security.authentication.AuthenticationServlet < / servlet-class >

    < init-param >

    success_url < param-name > < / param-name >

    /faces/home.jspx < param-value > < / param-value >

    < / init-param >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    < servlet-mapping >

    < name servlet - > Faces Servlet < / servlet-name >

    < url-pattern > /visages / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /adf / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /afr / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > BIGRAPHSERVLET < / servlet-name >

    < url-pattern >/servlet/GraphServlet / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > BIGAUGESERVLET < / servlet-name >

    < url-pattern >/servlet/GaugeServlet / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > MapProxyServlet < / servlet-name >

    < url-pattern > /mapproxy / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /bi / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > GatewayServlet < / servlet-name >

    < url-pattern > /flashbridge / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > adflibResources < / servlet-name >

    < url-pattern > /adflib / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > adfAuthentication < / servlet-name >

    <>url-pattern / adfAuthentication < / url-pattern >

    < / servlet-mapping >

    < mapping mime - >

    SWF < extension > < / extension >

    mime-type application/x-shockwave-flash <>< / mime-type >

    < / mime map >

    < mapping mime - >

    AMF < extension > < / extension >

    <>mime-type application/x-amf < / mime-type >

    < / mime map >

    < jsp-config >

    < jsp-property-group >

    *.jsff < url-pattern > < / url-pattern >

    true < East - xml > < / xml is >

    < / jsp-property-group >

    < / jsp-config >

    < security constraint >

    < web-resource-collection >

    < web-resource-name > adfAuthentication < / web-resource-name >

    <>url-pattern / adfAuthentication < / url-pattern >

    < / web-resource-collection >

    <>auth-constraint

    valid users - < role name > < / role name >

    < / auth-constraint >

    < / security constraint >

    <>login-config

    FORM < auth-method > < / auth-method >

    < form-login-config >

    /faces/login.jspx < form-login-page > < / form-login-page >

    /faces/login.jspx < form-error-page > < / form-error-page >

    < / form-login-config >

    < / login-config >

    <-security role >

    valid users - < role name > < / role name >

    < / security role >

    < / web - app >

    jazn-"Data.xml"

    <? XML version = "1.0" encoding = "UTF - 8" standalone = 'Yes'? "" >

    " < jazn-data xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    " xsi: noNamespaceSchemaLocation = ' http://xmlns.Oracle.com/OracleAS/schema/jazn-data.xsd "> "

    < default = "jazn.com Kingdom-jazn" >

    < domain >

    < name > jazn.com < / name >

    < / domain >

    < / Kingdom-jazn >

    < policy store >

    applications <>

    < application >

    < name > AppName < / name >

    < jazn > political

    <>grant

    < dealer >

    < directors >

    < principal >

    < name > authenticated role < / name >

    oracle.security.jps.internal.core.principals.JpsAuthenticatedRoleImpl < class > < / class >

    < / main >

    < / directors >

    < / dealer >

    <>permissions

    < permission >

    oracle.adf.share.security.authorization.RegionPermission < class > < / class >

    < name > viewcontroller.pageDefs.homePageDef < / name >

    Display < share > < / actions >

    < / authorization >

    < / authorization >

    < / grant >

    < / jazn-policy >

    < / application >

    < / applications >

    < / policy-store >

    < / jazn-data >

    My fragment of connection method:

    HttpServletRequest request = (HttpServletRequest) () .getRequest () ctx.getExternalContext;
    try {}

    Topic topic = Authentication.login (new URLCallbackHandler (UN, pw));weblogic.servlet.security.ServletAuthentication.runAs (object, request);

    HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext (m:System.NET.FtpWebRequest.GetResponse ());

    sendForward (request, response, LOGIN_URL);
    } catch (FailedLoginException fle) {}
    LOG.severe (fle);
    String errorText = rsBundle.getString ("ERROR_LOGIN");
    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, errorText, errorText);
    ctx.addMessage (null, msg);
    }

    I use Jdev 11.1.2.4

    Any help why this configuration works on production envirement?

    My system-jazn-"Data.xml" has entered correct...

    Finally, I found... Administrator develop new envirement and they use java 1.8 (WTF). Have to kill them immediately after to write this post...

    I found that the search to setDomainEnv.sh

    Changed start at 1.6 and all works like magic... IM really surprised that start weblogic with java 8 and generate strange symtomps with authentication...

    I thank all of you for the help

  • Fusion JPA works not

    Hi all

    I am new to JPA and try to create a single entity. I use the database Oracle 10 xe and JDeveloper IDE and integrated weblogic server 10. My steps are,

    1. create the entity Table
    2. create Java Service façade and test the entity. Here the fusion works.
    3. create the Stateless Session bean
    4. create the web service and call the web service session bean.
    5. test the web service. Merge here doesn't work does not and did not throw an exception.

    Its urgency and please help me. Otherwise I have to return to plain jdbc. Thanks in advance. My source code is added.

    ---
    Myriam


    1 entity class
    --------------------------------------------------------------------------------------------------------------------------------------------------------
    package model.entity;

    import java.io.Serializable;

    import java.sql.Timestamp.

    import java.util.Date;

    Import javax.persistence.Column;
    Import javax.persistence.Entity;
    Import javax.persistence.GeneratedValue;
    Import javax.persistence.GenerationType;
    Import javax.persistence.Id;
    Import javax.persistence.NamedQueries;
    Import javax.persistence.NamedQuery;
    Import javax.persistence.SequenceGenerator;
    Import javax.persistence.Table;
    Import javax.persistence.Temporal;
    Import javax.persistence.TemporalType;

    @Entity
    @NamedQueries({)
    @NamedQuery (name = "MbrLevel.findAll", query = "select o to o MbrLevel"),
    @NamedQuery (name = "MbrLevel.byName", query = "select o o MbrLevel where upper (o.name) as upper(:name)");
    @NamedQuery (name = "MbrLevel.byLevelCode", query = "select o o MbrLevel where upper (o.mbrLevelCode) as upper(:mbrLevelCode)")
    })
    @Table (name = "MBR_LEVEL")
    @SequenceGenerator (name = "MBR_LEVEL_SEQ", pattern = "HR", initialValue = 1, allocationSize = 1)
    / public class MbrLevel implements Serializable {}
    @Column (name = "AUD_CREATED_BY", nullable = false)
    private Long audCreatedBy;
    @Column (name = "AUD_CREATED_DTTM", nullable = false)
    @Temporal(value = TemporalType.TIMESTAMP)
    audCreatedDttm private date;
    @Column (name = "AUD_UPDATED_BY")
    private Long audUpdatedBy;
    @Column (name = "AUD_UPDATED_DTTM")
    @Temporal(value = TemporalType.TIMESTAMP)
    audUpdatedDttm private date;
    @Column (name = "MBR_LEVEL_CODE", nullable = false, length = 10)
    private String mbrLevelCode;
    @Id
    @GeneratedValue (strategy = GenerationType.SEQUENCE, generator = "MBR_LEVEL_SEQ")
    @Column (name = "MBR_LEVEL_ID", nullable = false)
    private Long mbrLevelId;
    @Column (nullable = false, length = 180)
    private String name;
    @Column (name = "SHORT_NAME", nullable = false, length = 20)
    private String shortName;

    public MbrLevel() {}
    }

    public MbrLevel (Long audCreatedBy, Date audCreatedDttm,)
    Long audUpdatedBy, Date audUpdatedDttm.
    String mbrLevelCode, Long mbrLevelId, string name.
    {String shortName)
    this.audCreatedBy = audCreatedBy;
    this.audCreatedDttm = audCreatedDttm;
    this.audUpdatedBy = audUpdatedBy;
    this.audUpdatedDttm = audUpdatedDttm;
    this.mbrLevelCode = mbrLevelCode;
    this.mbrLevelId = mbrLevelId;
    myIdName = name;
    this.shortName = shortName;
    }

    {} public Long getAudCreatedBy()
    Return audCreatedBy;
    }

    {} public void setAudCreatedBy (Long audCreatedBy)
    this.audCreatedBy = audCreatedBy;
    }

    public Date getAudCreatedDttm() {}
    Return audCreatedDttm;
    }

    {} public void setAudCreatedDttm (Date audCreatedDttm)
    this.audCreatedDttm = audCreatedDttm;
    }

    {} public Long getAudUpdatedBy()
    Return audUpdatedBy;
    }

    {} public void setAudUpdatedBy (Long audUpdatedBy)
    this.audUpdatedBy = audUpdatedBy;
    }

    public Date getAudUpdatedDttm() {}
    Return audUpdatedDttm;
    }

    {} public void setAudUpdatedDttm (Date audUpdatedDttm)
    this.audUpdatedDttm = audUpdatedDttm;
    }

    public String getMbrLevelCode() {}
    Return mbrLevelCode;
    }

    {} public void setMbrLevelCode (String mbrLevelCode)
    this.mbrLevelCode = mbrLevelCode;
    }

    {} public Long getMbrLevelId()
    Return mbrLevelId;
    }

    {} public void setMbrLevelId (Long mbrLevelId)
    this.mbrLevelId = mbrLevelId;
    }

    public String getName() {}
    return the name.
    }

    public void setName (String name) {}
    myIdName = name;
    }

    public String getShortName() {}
    Returns the short name;
    }

    {} public void setShortName (String shortName)
    this.shortName = shortName;
    }


    @Override
    public boolean equals (Object, object) {}
    If (item ==) {}
    Returns true;
    }
    If (!) object instanceof MbrLevel))) {}
    Returns false;
    }
    final MbrLevel other objects = (MbrLevel);
    If (!) () mbrLevelId is nothing? other.mbrLevelId == null: {mbrLevelId.equals (other.mbrLevelId)))}
    Returns false;
    }
    Returns true;
    }

    @Override
    public int hashCode() {}
    final int FIRST = 37;
    int result = 1;
    result = FIRST * result + ((mbrLevelId == null)? 0: mbrLevelId.hashCode ());
    return the result;
    }
    }


    2. front of Java Service class
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------

    package mode.ejbl;

    import java.sql.Timestamp.

    import java.util.Date;
    import java.util.List;

    Import javax.persistence.EntityManager;
    Import javax.persistence.EntityManagerFactory;
    Import javax.persistence.EntityTransaction;
    Import javax.persistence.Persistence;
    Import javax.persistence.Query;

    Import model.entity.MbrLevel;

    public class JavaServiceFacade {}
    private EntityManagerFactory emf = Persistence.createEntityManagerFactory ("ModelPU");

    public JavaServiceFacade() {}
    }

    Public Shared Sub main (String [] args) {}
    try {}
    final JavaServiceFacade javaServiceFacade = new JavaServiceFacade();
    MbrLevel m = javaServiceFacade.getEntityManager () .find (MbrLevel.class (6 L));
    MbrLevel m = new MbrLevel();
    m.setMbrLevelId(1L);
    m.setMbrLevelCode ("mbrcode6");
    m.setName ("mbrname6");
    m.setShortName ("sm6");
    m.setAudCreatedBy(5L);
    m.setAudCreatedDttm (new Timestamp (new Date () .getTime ()));
    m.setAudCreatedDttm (new Date());
    m.setAudUpdatedBy(3L);
    m.setAudUpdatedDttm (new Date());
    javaServiceFacade.persistMbrLevel (m);
    javaServiceFacade.mergeMbrLevel (m);
    } catch (Exception e) {}
    e.printStackTrace ();
    }
    }

    Private EntityManager getEntityManager() {}
    Return emf.createEntityManager ();
    }

    public Object queryByRange (String jpqlStmt, int firstResult,
    {int maxResults)
    Query query = getEntityManager () .createQuery (jpqlStmt);
    If (firstResult > 0) {}
    Query = query.setFirstResult (firstResult);
    }
    If (maxResults > 0) {}
    Query = query.setMaxResults (maxResults);
    }
    Return query.getResultList ();
    }

    Private Object _persistEntity (object) {}
    final EntityManager em = getEntityManager();
    try {}
    Final EntityTransaction and = em.getTransaction ();
    try {}
    and. Begin();
    EM. Persist (Entity);
    et.Commit ();
    } {Finally
    If (and! = null & & et.isActive ()) {}
    entity = null;
    and. Rollback();
    }
    }
    } {Finally
    If (em! = null & & em.isOpen ()) {}
    EM. Close();
    }
    }
    return the entity;
    }

    public MbrLevel persistMbrLevel (MbrLevel mbrLevel) {}
    return (MbrLevel) _persistEntity (mbrLevel);
    }

    Private Object _mergeEntity (object) {}
    final EntityManager em = getEntityManager();
    try {}
    Final EntityTransaction and = em.getTransaction ();
    try {}
    and. Begin();
    EM. Merge (Entity);
    et.Commit ();
    } {Finally
    If (and! = null & & et.isActive ()) {}
    entity = null;
    and. Rollback();
    }
    }
    } {Finally
    If (em! = null & & em.isOpen ()) {}
    EM. Close();
    }
    }
    return the entity;
    }

    public MbrLevel mergeMbrLevel (MbrLevel mbrLevel) {}
    return (MbrLevel) _mergeEntity (mbrLevel);
    }

    {} public void removeMbrLevel (MbrLevel mbrLevel)
    final EntityManager em = getEntityManager();
    try {}
    Final EntityTransaction and = em.getTransaction ();
    try {}
    and. Begin();
    mbrLevel = em.find (MbrLevel.class, mbrLevel.getMbrLevelId ());
    EM. Remove (mbrLevel);
    et.Commit ();
    } {Finally
    If (and! = null & & et.isActive ()) {}
    and. Rollback();
    }
    }
    } {Finally
    If (em! = null & & em.isOpen ()) {}
    EM. Close();
    }
    }
    }

    / * < code > select o MbrLevel o < code > * /.
    public list < MbrLevel > getMbrLevelFindAll() {}
    Return getEntityManager ().createNamedQuery("MbrLevel.findAll").getResultList ();
    }
    }



    3 stateless Session bean
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    package model.ejb;

    import java.util.List;

    Import javax.ejb.Stateful;
    Import javax.ejb.Stateless;

    Import javax.persistence.EntityManager;
    Import javax.persistence.PersistenceContext;
    Import javax.persistence.Query;

    Import model.entity.MbrLevel;

    @Stateless (name = "MbrLevelSessionEJB", mappedName = "model-MbrLevelApp-MbrLevelSessionEJB")
    / public class MbrLevelSessionEJBBean implements MbrLevelSessionEJB,.
    {MbrLevelSessionEJBLocal}
    @PersistenceContext (unitName = "ModelPU")
    Private EntityManager em;

    public MbrLevelSessionEJBBean() {}
    }

    public Object queryByRange (String jpqlStmt, int firstResult,
    {int maxResults)
    Query query = em.createQuery (jpqlStmt);
    If (firstResult > 0) {}
    Query = query.setFirstResult (firstResult);
    }
    If (maxResults > 0) {}
    Query = query.setMaxResults (maxResults);
    }
    Return query.getResultList ();
    }


    public MbrLevel persistMbrLevel (MbrLevel mbrLevel) {}
    EM. Persist (mbrLevel);
    Return mbrLevel;
    }


    public MbrLevel mergeMbrLevel (MbrLevel mbrLevel) {}
    Return em.merge (mbrLevel);
    }


    {} public void removeMbrLevel (MbrLevel mbrLevel)
    mbrLevel = em.find (MbrLevel.class, mbrLevel.getMbrLevelId ());
    EM. Remove (mbrLevel);
    }

    / * < code > select o MbrLevel o < code > * /.

    public list < MbrLevel > getMbrLevelFindAll() {}
    Return em.createNamedQuery("MbrLevel.findAll").getResultList ();
    }

    / * < code > select o o MbrLevel where upper (o.name) as upper(:name) </> postcode * /.

    public list < MbrLevel > getMbrLevelByName (String name) {}
    Return em.createNamedQuery("MbrLevel.byName").setParameter ("name", name) .getResultList ();
    }

    / * < code > select o o MbrLevel where upper (o.mbrLevelCode) as upper(:mbrLevelCode) </> postcode * /.

    public list < MbrLevel > getMbrLevelByLevelCode (String mbrLevelCode) {}
    Return em.createNamedQuery("MbrLevel.byLevelCode").setParameter ("mbrLevelCode", mbrLevelCode) .getResultList ();
    }
    }


    4. web service class
    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    package model.ejb.service;

    Import javax.ejb.EJB;

    Import javax.jws.WebMethod;

    Import javax.jws.WebParam;
    Import javax.jws.WebService;

    Import javax.xml.ws.BindingType;
    Import javax.xml.ws.soap.SOAPBinding;

    Import model.ejb.MbrLevelSessionEJB;

    Import model.ejb.MbrLevelSessionEJBBean;

    Import model.ejb.MbrLevelSessionEJBLocal;

    Import model.entity.MbrLevel;

    @WebService (serviceName = "MbrLevelService", portName = "MbrLevelServiceSoap12HttpPort")
    @BindingType (SOAPBinding.SOAP12HTTP_BINDING)
    public class MbrLevelService {}

    @EJB
    private MbrLevelSessionEJB ejb;


    public MbrLevel mergeMbrLevel (MbrLevel mbrLevel) {}
    Return ejb.mergeMbrLevel (mbrLevel);
    }
    }


    5 Persistance.xml
    ---------------------------------------------------------------------------------------------------------------------------------------------------------

    <? XML version = "1.0" encoding = "windows-1252"? >
    < persistence xmlns = "http://java.sun.com/xml/ns/persistence."
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd".
    version = "1.0" >
    < name of persistence - unit = "ModelPU" transaction-type = "RESOURCE_LOCAL" >
    org.eclipse.persistence.jpa.PersistenceProvider < provider > < / provider >
    <!-jta-data-source > java: / app/jdbc/jdbc/HRConnDS < / jta-data-source->
    model.entity.MbrLevel < class > < / class >
    Properties of <>
    < name = "eclipselink.jdbc.driver property"
    value="Oracle.JDBC.OracleDriver"/ >
    < name = "eclipselink.jdbc.url property"
    value="JDBC:Oracle:thin:@localhost:1521:XE"/ >
    < name = "eclipselink.jdbc.user property" value = "hr" / > "
    < name = "eclipselink.jdbc.password property"
    value = "62C32F70E98297522AD97E15439FAC0E" / >
    < name = "eclipselink.logging.level property" value = "FINER" / > "
    < property name = value "eclipselink.target - server" = "WebLogic_10" / >
    < property name = "eclipselink.jdbc.native - sql" value = "true" / >
    <!-property = value name ' generation eclipselink.ddl "="create tables"/-->
    <!-property name = "javax.persistence.jtaDataSource"
    value = "java: / app/jdbc/jdbc/HRConnDS" /-->
    < property name = "eclipselink.persistence - context.flush - mode.
    value = "VALIDATE" / >
    < property name = "eclipselink.flush - clear.cache" value = "Merge" / >
    < / properties >
    < / persistence - unit >
    < name of persistence - unit 'Model' = >
    org.eclipse.persistence.jpa.PersistenceProvider < provider > < / provider >
    Java < jta-data-source >: / app/jdbc/jdbc/HRConnDS < / jta-data-source >
    model.entity.MbrLevel < class > < / class >
    Properties of <>
    < property name = value "eclipselink.target - server" = "WebLogic_10" / >
    < name = "javax.persistence.jtaDataSource property"
    value = "java: / app/jdbc/jdbc/HRConnDS" / >
    < / properties >
    < / persistence - unit >
    < / persistence >


    6 web.xml
    ---------------------------------------------------------------------------------------------------------------

    <? XML version = "1.0" encoding = "windows-1252"? >
    < web - app xmlns = "http://java.sun.com/xml/ns/javaee."
    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" >
    < filter >
    < filter-name > JpsFilter < / filter-name >
    > class filter < oracle.security.jps.ee.http.JpsFilter < / class filter >
    < init-param >
    enable.anonymous < param-name > < / param-name >
    < param-value > true < / param-value >
    < / init-param >
    < / filter >
    < filter mapping >
    < filter-name > JpsFilter < / filter-name >
    < url-pattern > / * < / url-pattern >
    < distributor > BEFORE < / dispatcher >
    < distributor > APPLICATION < / dispatcher >
    < distributor > INCLUDE < / dispatcher >
    < / filter-mapping >
    < servlet >
    < name servlet - > MbrLevelServiceSoap12HttpPort < / servlet-name >
    > the servlet class < model.ejb.service.MbrLevelService < / servlet-class >
    < load-on-startup > 1 < / load-on-startup >
    < / servlet >
    < servlet-mapping >
    < name servlet - > MbrLevelServiceSoap12HttpPort < / servlet-name >
    <>url-pattern / MbrLevelServiceSoap12HttpPort < / url-pattern >
    < / servlet-mapping >
    < / web - app >

    From your code, it looks like you are not doing any update in your webservice - he asks just a merger - until exactly you merge?
    Also - if the EJB stateless façade work - why not creating web service interface directly on it?

  • Access to a link from within a servlet

    Hey all,.
    If I try to access a link from a servlet instead of use the ApplicationModule approach which is recognized as a bad idea (http://blogs.oracle.com/jdevotnharvest/2010/11/when_to_use_createrootapplicationmodule_in_oracle_adf.html). However, when the code runs in servlet line BindingContent.getCurrentBindingsEntry () returns null. I think that there is something missing in my setup which is originally ADFm to not recognize the servlet as having a binding file. Something stand out?

    So within a servlet, I have the following:

    SerializableAttribute public class RSSNewsServlet extends HttpServlet {}
    public void doGet (HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {}
    BindingContext bctx = BindingContext.getCurrent ();
    BindingContainer links = bctx.getCurrentBindingsEntry ();
    DCBindingContainer bindingsImpl = (DCBindingContainer) links;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("AllPapers1Iterator");
    Rank [] rows = dciter.getAllRowsInRange ();
    ...
    }
    }

    Web.XML:
    < filter mapping >
    < filter-name > adfBindings < / filter-name >
    < name servlet - > NewsServlet < / servlet-name >
    < name servlet - > Faces Servlet < / servlet-name >
    < distributor > BEFORE < / dispatcher >
    < distributor > APPLICATION < / dispatcher >
    < / filter-mapping >
    ....
    < servlet >
    < name servlet - > NewsServlet < / servlet-name >
    < servlet-class > < servlet path >. RSSNewsServlet < / servlet-class >
    < / servlet >
    ...
    < servlet-mapping >
    < name servlet - > NewsServlet < / servlet-name >
    /servlet/news.RSS < url-pattern > < / url-pattern >
    < / servlet-mapping >
    newsServletPageDef.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < pageDefinition xmlns = "http://xmlns.oracle.com/adfm/uimodel."
    version = "11.1.1.56.60" id = "newsServletPageDef".
    Package = "< path pagedefs > pageDefs" >
    < Settings / >
    <>executables
    < variableIterator id = "variables" / >
    < iterator lie = "AllPapers1" RangeSize = "25".
    DataControl = "GatewayNewsAppModuleDataControl."
    ID = "AllPapers1Iterator" / >
    < / executables >
    < links >
    < Tree IterBinding = "AllPapers1Iterator" id = "AllPapers1" >
    < nodeDefinition DefName = "< path-to-model > AllPapers.
    Name = "AllPapers10" >
    < AttrNames >
    < point Value = "PapId" / >
    < point Value = "PapTitle" / >
    < point Value = "PapPublishDate" / >
    < point Value = "PapExpireDate" / >
    < point Value = "PapAuthor" / >
    < point Value = "PapType" / >
    < point Value = "PapIssueDate" / >
    < point Value = "PapFileName" / >
    < point Value = "PapUserName" / >
    < point Value = "PapPostedDate" / >
    < point Value = "PapModifiedDate" / >
    < point Value = "PapNeverExpire" / >
    < point Value = "PapFile" / >
    < / AttrNames >
    < / nodeDefinition >
    < / tree >
    < / links >
    < / pageDefinition >

    DataBindings.cpx:

    < pageMap >
    ...
    "< path="/servlet/news.rss page "usageId ="MyAlmacTemplate_view_newsServletPageDef"/ >
    ...
    < / pageMap >
    < pageDefinitionUsages >
    ...
    < page id = "MyAlmacTemplate_view_newsServletPageDef".
    path = "com. Almac.Aurora.Gateway.pageDefs.newsServletPageDef"/ >
    ...
    < / pageDefinitionUsages >

    When the code runs in servlet line BindingContent.getCurrentBindingsEntry () returns null.

    The BindingContext.getCurrentBindingsEntry () method returns the requestScope variable with key "bindings". When using ADF Faces, this variable is set during model prepare ADF Faces (by the method of PageLifecycleImpl.prepareModel ()). But when you use a simple servlet that variable is not set (because the lifecycle page ADF Faces is not running) and this is the reason why you get a null result. To work around the problem, you can use the following code in your servlet:

    BindingContext bctx = BindingContext.getCurrent();
    DCBindingContainer pagedef = bctx.findBindingContainerByPath(request.getServletPath());
    bctx.setCurrentBindingsEntry(pagedef); // Invoke this method only if for some reason you need the "bindings" variable set in the environment
    

    Dimitar

  • Prevent manual URLS

    Hello

    I use JDeveloper with ADF Faces and ADF BC 11.1.1.2.

    I have an unlimited flow of tasks with multiple views, including a home page. Currently, a user can manually enter a URL to bring to one of the points of view. I would now like to redirect the user to the home page, if it tries to do.

    The post following 2007 describes how this can be accomplished by searching a GET a ServletFilter: Re: faces - prevent the user to manually enter the URL however, when I try to do, I find that the commandLinks in my application are also using the GET method.

    I was under the impression that commandLinks were supposed to make a POST. Is there another way to tell if a URL is typed manually?

    Here is the web.xml and filter code I was using to test...

    Web.XML:
    < filter >
    < name of filter > UrlFilter < / filter-name >
    > class filter < app.uiview.filters.UrlFilter < / class filter >
    < / filter >
    < filter mapping >
    < name of filter > UrlFilter < / filter-name >
    < url-pattern > /visages / * < / url-pattern >
    < distributor > BEFORE < / dispatcher >
    < distributor > APPLICATION < / dispatcher >
    < / filter-mapping >

    doFilter method in UrlFilter.java:
    ' Public Sub doFilter (ServletRequest request, ServletResponse response,)
    FilterChain chain) throws IOException, ServletException {}
    System.out.println ("\n***Method:" + ((HttpServletRequest) request) .getMethod ());
    chain.doFilter (request, response);
    }

    Thank you
    Brad

    Amir/Brad,

    Actually I was thinking about the possibility of using the referer in a servlet filter as well (not had time to test this out). You could very well write a servlet filter that would seek a GET request with no referer and redirection to a homepage. You may also need to be aware of GET requests model too. Another possibility would be (in your filter) to redirect the GET requests for one of your JSP resources (x) specific with the exception of the 'home page' one - you might even make it resilient against changes in your application by reading the flow of task unrelated to determine all of the 'safe' resources (which would allow GET requests) and those not safe (where you would redirect). If a GET request came across for a servlet filter resource which not was not in the unlimited workflow (as would be the case for a model), you would spend right through.

    John

  • DEPLOY THE APP WAR

    Hi people, I know that this must be the n + 1 times this issue is posted here, I have read all the post before and follow their instructions to have a Tomcat 6, working with a very simple adf components. the error I get is that Tomcat cannot deploy this App, that it is the tomcat configuration:

    inside the lib dir:
    1116 adf-controller - api .jar
    ADF - controller.jar 132
    500 adf-controller-rt-.jar
    4 adf-controller - security.jar
    ADF-faces-databinding - rt.jar 668
    32 adflibfilter.jar
    8 adflogginghandler.jar
    7576 adfm.jar
    44 adfmweb.jar
    16 adf-pageflow - dtrt.jar
    adf 216-pageflow - fwk.jar
    340 adf-pageflow - impl.jar
    ADF-pageflow - rc.jar 44
    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-part - security.jar
    268 adf-share - support.jar
    16 annotations - api .jar
    1944 cache.jar
    Catalina - ant.jar 56
    Catalina - ha.jar 128
    1160 catalina.jar
    232 catalina - tribes.jar
    112 Commons - el.jar
    56 db - ca.jar
    1544 dms.jar
    492 dvt - databindings.jar
    DVT - facesbindings.jar 128
    3420 dvt - faces.jar
    6368 dvt - jclient.jar
    1244 dvt - trinidad.jar
    1268 dvt - utils.jar
    32 el - api .jar
    fmw_audit.jar 608
    808 glassfish.jsf_1.2.9.0.jar
    368 glassfish.jstl_1.2.0.1.jar
    344 identitystore.jar
    368 inspect4.jar
    Jasper - el.jar 108
    Jasper.jar 516
    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
    jmxspi.jar 612
    JPs - api .jar 444
    JPs-.jar 648
    JPs - ee.jar 24
    1644 jps - internal .jar
    112 jps - not supported - api .jar
    JRF 72 - api .jar
    332 jsf - api .jar
    776 jsf - ri .jar
    JSP - api .jar 76
    24 jstl.jar
    5488 mdsrt.jar
    2476 ojdbc6dms.jar
    1948 ojdbc6.jar
    Oracle - el.jar 4
    216 oraclepki.jar
    org.Apache.Commons.beanutils_1.6.jar 168
    144 org.apache.commons.digester_1.8.jar
    org.Apache.Commons.logging_1.0.4.jar 40
    osdt_cert.jar 168
    256 osdt_core.jar
    servlet - api .jar 88
    56 share.jar
    388 standard.jar
    744 tomcat - coyote.jar
    228 tomcat - dbcp.jar
    Tomcat i18n - are .jar 72
    52 tomcat-i18n-fr
    Tomcat i18n - ja.jar 56
    0 tree.txt
    1224 Trinity - api .jar
    4220 Trinity - impl.jar
    1244 wls - api .jar
    4 wls.jsf.di.jar
    1196 xercesImpl.jar
    752 xmlef.jar
    1412 xmlparserv2.jar

    I deploy the application directly from jDeveloper the same way shay did in a video tutorial I found. Looks like everything is going very well:
    [14: 47:09]-deployment began. ----
    [14: 47:09] the target platform's (Tomcat 6.x).
    [14: 47:09] analysis of the dependence running...
    [14: 47:09] building...
    [14: 47:16] deployment of profile...
    [14: 47:17] wrote the Web application Module for /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.war
    [14:47:18] wrote the Module Enterprise Application to /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.ear
    [14:47:18] copied from /home/isanchez/jdeveloper/MyGecu/View/deploy/GeCUweb.war to/usr/share/Tomcat6a/webapps
    [14:47:18] time to deployment: 9 seconds
    [14:47:18]-deployment is complete. ----

    the application is very simple. It shows only a page login.jsp with components of the adf, and it would be really nice that this application should work like that. I finished a detailed using ADF with jDeveloper application, and I only need this last step.

    This is how the application 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 >
    javax.faces.STATE_SAVING_METHOD < param-name > < / param-name >
    customer of < param-value > < / param-value >
    < / context-param >
    < context-param >
    < description > if this parameter is set to true, there will be an automatic check of the date of the change of your JSP pages and saved state will be scrapped when JSP change. It will also automatically check if your css skinning files have changed without requiring you to restart the server. This facilitates the development, but adds above. For this reason, this parameter must be set to false when your application is deployed. < / description >
    org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION < param-name > < / param-name >
    < param-value > false < / param-value >
    < / context-param >
    < context-param >
    < description > if the comment "generated by...» "down in pages ADF Faces HTML should contain version number information. < / description >
    oracle.adf.view.rich.versionString.HIDDEN < param-name > < / param-name >
    < param-value > false < / param-value >
    < / context-param >
    < filter >
    < filter-name > JpsFilter < / filter-name >
    > class filter < oracle.security.jps.ee.http.JpsFilter < / class filter >
    < init-param >
    enable.anonymous < param-name > < / param-name >
    < param-value > true < / param-value >
    < / init-param >
    < / filter >
    < filter >
    < name of filter > Trinidad < / filter-name >
    > class filter < org.apache.myfaces.trinidad.webapp.TrinidadFilter < / class filter >
    < / filter >
    < filter mapping >
    < filter-name > JpsFilter < / filter-name >
    < name servlet - > Faces Servlet < / servlet-name >
    < distributor > BEFORE < / dispatcher >
    < distributor > APPLICATION < / dispatcher >
    < distributor > INCLUDE < / dispatcher >
    < / filter-mapping >
    < filter mapping >
    < name of filter > Trinidad < / filter-name >
    < name servlet - > Faces Servlet < / servlet-name >
    < distributor > BEFORE < / dispatcher >
    < distributor > APPLICATION < / dispatcher >
    < / filter-mapping >
    < servlet >
    < name servlet - > Faces Servlet < / servlet-name >
    > the servlet class < javax.faces.webapp.FacesServlet < / servlet-class >
    < load-on-startup > 1 < / load-on-startup >
    < / servlet >
    < servlet >
    resources < name of the servlet > - < / servlet-name >
    > the servlet class < org.apache.myfaces.trinidad.webapp.ResourceServlet < / servlet-class >
    < / servlet >
    < servlet >
    < name servlet - > BIGRAPHSERVLET < / servlet-name >
    > the servlet class < oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet < / servlet-class >
    < / servlet >
    < servlet >
    < name servlet - > BIGAUGESERVLET < / servlet-name >
    > the servlet class < oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet < / servlet-class >
    < / servlet >
    < servlet >
    < name servlet - > MapProxyServlet < / servlet-name >
    > the servlet class < oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet < / servlet-class >
    < / servlet >
    < servlet >
    < name servlet - > GatewayServlet < / servlet-name >
    > the servlet class < oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet < / servlet-class >
    < / servlet >
    < servlet-mapping >
    < name servlet - > Faces Servlet < / servlet-name >
    < url-pattern > /visages / * < / url-pattern >
    < / servlet-mapping >
    < servlet-mapping >
    resources < name of the servlet > - < / servlet-name >
    < url-pattern > /adf / * < / url-pattern >
    < / servlet-mapping >
    < servlet-mapping >
    resources < name of the servlet > - < / servlet-name >
    < url-pattern > /afr / * < / url-pattern >
    < / servlet-mapping >
    < servlet-mapping >
    < name servlet - > BIGRAPHSERVLET < / servlet-name >
    < url-pattern >/servlet/GraphServlet / * < / url-pattern >
    < / servlet-mapping >
    < servlet-mapping >
    < name servlet - > BIGAUGESERVLET < / servlet-name >
    < url-pattern >/servlet/GaugeServlet / * < / url-pattern >
    < / servlet-mapping >
    < servlet-mapping >
    < name servlet - > MapProxyServlet < / servlet-name >
    < url-pattern > /mapproxy / * < / url-pattern >
    < / servlet-mapping >
    < servlet-mapping >
    resources < name of the servlet > - < / servlet-name >
    < url-pattern > /bi / * < / url-pattern >
    < / servlet-mapping >
    < servlet-mapping >
    < name servlet - > 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 >

    < / Trinity-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 >
    Oracle.ADF.rich < default rendering-kit-id > < / default rendering-kit-id >
    <>regional-config settings
    are < locale by default - > < / default locale >
    <>- local ownership are < / supported regional settings >
    < / regional-config settings >
    < / application >

    < managed-bean >
    SelectedApp < managed-bean-name > < / managed-bean-name >
    gecu.view.SelectedApp < managed-bean-class > < / managed-bean-class >
    session of < managed-bean-scope > < / managed-bean-scope >
    < / managed-bean >
    < managed-bean >
    DatabaseQueryBean < managed-bean-name > < / managed-bean-name >
    gecu.view.DatabaseQueryBean < managed-bean-class > < / managed-bean-class >
    application of < managed-bean-scope > < / managed-bean-scope >
    < / managed-bean >
    < managed-bean >
    ClavesQueryBean < managed-bean-name > < / managed-bean-name >
    gecu.view.ClavesQueryBean < managed-bean-class > < / managed-bean-class >
    application of < managed-bean-scope > < / managed-bean-scope >
    < / managed-bean >
    < managed-bean >
    LoginBean < managed-bean-name > < / managed-bean-name >
    gecu.view.LoginBean < managed-bean-class > < / managed-bean-class >
    session of < managed-bean-scope > < / managed-bean-scope >
    < managed property >
    user < property-name > < / property-name >
    java.lang.String < class property > < / class property >
    < value > < / value >
    < / the managed property >
    < managed property >
    password property-< name > < / property-name >
    java.lang.String < class property > < / class property >
    < value > < / value >
    < / the managed property >
    < / managed-bean >
    < navigation-rule >
    login.jsp < of view - id > < /-view-id >
    <>navigation-case
    failure of < from outcome > < / de-results >
    login.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    <>navigation-case
    success of < from outcome > < / de-results >
    /core/select.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    <>navigation-case
    Logout < from outcome > < / de-results >
    logout.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    < / navigation-rule >
    < navigation-rule >
    /core/main.jsp < of view - id > < /-view-id >
    <>navigation-case
    < from outcome > fact < / de-results >
    /core/main.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    <>navigation-case
    Logout < from outcome > < / de-results >
    logout.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    <>navigation-case
    < from outcome > select < / de-results >
    /core/select.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    <>navigation-case
    filter with < from outcome > < / de-results >
    /util/filters.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    <>navigation-case
    export of < from outcome > < / de-results >
    /util/exports.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    <>navigation-case
    Calc < from outcome > < / de-results >
    /util/calcs.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    < / navigation-rule >
    < navigation-rule >
    /core/select.jsp < of view - id > < /-view-id >
    <>navigation-case
    success of < from outcome > < / de-results >
    /core/main.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    < / navigation-rule >
    < navigation-rule >
    /util/filters.jsp < of view - id > < /-view-id >
    <>navigation-case
    success of < from outcome > < / de-results >
    /core/main.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    < / navigation-rule >
    < navigation-rule >
    /util/exports.jsp < of view - id > < /-view-id >
    <>navigation-case
    success of < from outcome > < / de-results >
    /core/main.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    < / navigation-rule >
    < navigation-rule >
    /util/calcs.jsp < of view - id > < /-view-id >
    <>navigation-case
    success of < from outcome > < / de-results >
    /core/main.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    < / navigation-rule >
    < navigation-rule >
    index.jsp < of view - id > < /-view-id >
    <>navigation-case
    success of < from outcome > < / de-results >
    login.jsp < to view - id > < / to-view-id >
    < / navigation-case >
    < / navigation-rule >
    < managed-bean >
    ControlSession < managed-bean-name > < / managed-bean-name >
    gecu.model.ControlSession < managed-bean-class > < / managed-bean-class >
    session of < managed-bean-scope > < / managed-bean-scope >
    < / managed-bean >
    < managed-bean >
    backing_util_calcs < managed-bean-name > < / managed-bean-name >
    gecu.view.Calcs < managed-bean-class > < / managed-bean-class >
    application of < managed-bean-scope > < / managed-bean-scope >
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/calcs.jsp-->
    < / managed-bean >
    < managed-bean >
    backing_util_exports < managed-bean-name > < / managed-bean-name >
    gecu.view.Exports < managed-bean-class > < / managed-bean-class >
    application of < managed-bean-scope > < / managed-bean-scope >
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/exports.jsp-->
    < / managed-bean >
    < managed-bean >
    backing_util_filters < managed-bean-name > < / managed-bean-name >
    gecu.view.Filters < managed-bean-class > < / managed-bean-class >
    application of < managed-bean-scope > < / managed-bean-scope >
    <!--oracle-jdev-comment:managed-bean-jsp-link:1util/filters.jsp-->
    < / managed-bean >
    < / faces-config >

    If someone really well set up the tomcat 6 ADF running components without error, it would be nice if you can share it with us, I've exhausted ideas and still have no answers.

    Really grateful for any help received.

    ISY

    sanchezis,

    A few notes:

    (1) I'm sure that you have already read the certification and found that ADF is approved on WebLogic Server for the moment. Anyone who has managed to get it runs on Tomcat - well - but it is not supported.

    (2) someone spend like a lightning bolt to the top of their installation of Tomcat with all libraries in the ADF in it would very definitely in violation of license Oracle ADF - you can not redistribute their components without permission ;)

    (3) also, I'm sure you're aware that the ADF is not free - looking for a run-time license (which is included with WebLogic Server).

    John

  • Firefox will not close on the Mac laptop

    I had a problem and started a mysterious cleaning profile process if I remember (hours). He put a former folder Firefox data on screen then brassèrent away for so long that I interrupted him, then download a fresh copy of FF, tried to run it, but get the message "Profile missing etc.

    No menu, and I'm stuck. When I try to close/delete FF in the trash, he refuses because it is open.
    No profile is displayed when I search the library including hidden items.
    None of the solutions as stick a Kill command in the Terminal seen elsewhere works.

    Thanks Jaya.

    I gave up last night, but had one last go before before dispatch in Mac and Firefox the depths of hell.

    'Force Quit' didn't work, so I tried to copy what looked like a profile in "Old Firefox data" folder on the desktop in the folder/Library/Application Support / Firefox / Profiles.

    There was another profile folder there that I renamed it "Old etc.", then I started Firefox... and it worked!

    So I do not know if your suggestions later would have worked, but thanks a lot to them.

    Concerning
    George

  • Skype crashing on Mac before logon

    Hello

    For the last 6 months, Skype crashes before I was even able to connect. My details: Mac OSX 10.7.5. The processor is at 2.8 GHz with 8 GB of memory.

    I followed all the instructions and Skype several times completely uninstalled and reinstalled, but in vain. I also checked my apps to see if I have one of the programs listed that interact negatively with Skype, but I did not.

    Here is an excerpt details of when I tried to open Skype today.

    I really need Skype for my work - can - you help me.

    Thank you

    Process: Skype [577]
    Path: /Applications/Skype.app/Contents/MacOS/Skype
    ID: com.skype.skype
    Version: 6.3.0.602 (6.3.0.602)
    Code type: X 86 (native)
    Parent process: launchd [164]

    Date/time: 2013-12-15 17:14:22.088 - 0000
    OS version: Mac OS X 10.7.5 (11G63b)
    Report Version: 9

    Interval since last report: s 138701
    Crashes since last report: 4
    Per-App interval since last report: s 101
    Per-App crashes since last report: 4
    Anonymous UUID: BEF95ED1-AC19-4B7B-9933-D8B0029D3096

    Crashed thread: 0 dispatch queue: com.apple.main - wire

    Exception type: EXC_CRASH (SIGBUS)
    Exception codes: 0 x 0000000000000000, 0 x 0000000000000000

    Request for clarification:
    objc [577]: garbage collection is OFF

    Thread 0 crashed: Dispatch queue: com.apple.main - wire
    0 libsystem_kernel.dylib 0x9949fc22 mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x9949f1f6 mach_msg + 70
    2 com.apple.CoreFoundation 0x986539da __CFRunLoopServiceMachPort + 170
    3 com.apple.CoreFoundation 0x9865cb04 __CFRunLoopRun + 1428
    4 com.apple.CoreFoundation 0x9865c1dc CFRunLoopRunSpecific + 332
    5 com.apple.CoreFoundation 0x9865c088 CFRunLoopRunInMode + 120
    6 com.apple.HIToolbox 0x9775c543 RunCurrentEventLoopInMode + 318
    7 com.apple.HIToolbox 0x977638ab ReceiveNextEventCommon + 381
    8 com.apple.HIToolbox 0x9776371a BlockUntilNextEventMatchingListInMode + 88
    com.apple.AppKit 9 0x99521ee8 _DPSNextEvent + 678
    10 com.apple.AppKit 0 x 99521752-[NSApplication nextEventMatchingMask:untilDate:inMode: dequeue:] + 113
    11 com.apple.AppKit 0x9951dac1-[NSApplication run] + 911
    12 com.apple.AppKit 0x997aeac5 NSApplicationMain + 1054
    13 com.skype.skype 0x0005f86c 0x1000 + 387180
    14 com.skype.skype 0x000037e5 0x1000 + 10213

    Thread 1: dispatch queue: com.apple.libdispatch - Manager
    0 libsystem_kernel.dylib 0x994a290a kevent + 10
    1 libdispatch.dylib 0x98416e04 _dispatch_mgr_invoke + 969
    2 libdispatch.dylib 0 x 98415853 _dispatch_mgr_thread + 53

    Thread 2:
    0 libsystem_kernel.dylib 0x994a202e __workq_kernreturn + 10
    1 libsystem_c.dylib 0x91dfbccf _pthread_wqthread + 773
    2 libsystem_c.dylib 0x91dfd6fe start_wqthread + 30

    3 wire:
    0 libsystem_kernel.dylib 0x994a202e __workq_kernreturn + 10
    1 libsystem_c.dylib 0x91dfbccf _pthread_wqthread + 773
    2 libsystem_c.dylib 0x91dfd6fe start_wqthread + 30

    Thread 4:
    0 libsystem_kernel.dylib 0x994a202e __workq_kernreturn + 10
    1 libsystem_c.dylib 0x91dfbccf _pthread_wqthread + 773
    2 libsystem_c.dylib 0x91dfd6fe start_wqthread + 30

    Wire 5:
    0 libsystem_kernel.dylib 0x9949fc5e semaphore_wait_trap + 10
    1 libdispatch.dylib 0x984189b8 _dispatch_semaphore_wait_slow + 117
    2 libdispatch.dylib 0x98418ab4 dispatch_semaphore_wait + 36
    3 ??? 0x014c9246 0 + 21795398
    4 ??? 0x014c8d1a 0 + 21794074
    5 ??? 0x014c1935 0 + 21764405
    6 ??? 0x014bcd4b 0 + 21744971
    7 ??? 0x014bce56 0 + 21745238
    8 ??? 0x014c60f6 0 + 21782774
    9 ??? 0x014c67b8 0 + 21784504
    10? 0x014c1db3 0 + 21765555
    11? 0x014c86e2 0 + 21792482
    12 libsystem_c.dylib 0x91df9ed9 _pthread_start + 335
    13 libsystem_c.dylib 0x91dfd6de thread_start + 34

    Line 6:
    0 libsystem_kernel.dylib 0x9949fc5e semaphore_wait_trap + 10
    1 libdispatch.dylib 0x984189b8 _dispatch_semaphore_wait_slow + 117
    2 libdispatch.dylib 0x98418ab4 dispatch_semaphore_wait + 36
    3 ??? 0x014c9246 0 + 21795398
    4 ??? 0x014c8d1a 0 + 21794074
    5 ??? 0x014bce86 0 + 21745286
    6 com.skype.skype 0x00370cb2 0x1000 + 3603634

    Line 7:
    0 libsystem_kernel.dylib 0x9949fc5e semaphore_wait_trap + 10
    1 libdispatch.dylib 0x984189b8 _dispatch_semaphore_wait_slow + 117
    2 libdispatch.dylib 0x98418ab4 dispatch_semaphore_wait + 36
    3 ??? 0x014c90a3 0 + 21794979
    4 ??? 0x014c8d93 0 + 21794195
    5 ??? 0x014c2e90 0 + 21769872
    6 ??? 0x014c1db3 0 + 21765555
    7 ??? 0x014c86e2 0 + 21792482
    8 libsystem_c.dylib 0x91df9ed9 _pthread_start + 335
    libsystem_c.dylib 9 0x91dfd6de thread_start + 34

    Thread 8:
    0 libsystem_kernel.dylib 0x9949fc5e semaphore_wait_trap + 10
    1 libdispatch.dylib 0x984189b8 _dispatch_semaphore_wait_slow + 117
    2 libdispatch.dylib 0x98418ab4 dispatch_semaphore_wait + 36
    3 ??? 0x014c9246 0 + 21795398
    4 ??? 0x014c8d1a 0 + 21794074
    5 ??? 0x014bce86 0 + 21745286
    6 com.skype.skype 0x00370cb2 0x1000 + 3603634
    7 ??? 0x014c86e2 0 + 21792482
    8 libsystem_c.dylib 0x91df9ed9 _pthread_start + 335
    libsystem_c.dylib 9 0x91dfd6de thread_start + 34

    Wire 9:
    0 libsystem_kernel.dylib 0x9949fc22 mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x9949f1f6 mach_msg + 70
    2 com.apple.CoreFoundation 0x986539da __CFRunLoopServiceMachPort + 170
    3 com.apple.CoreFoundation 0x9865cb04 __CFRunLoopRun + 1428
    4 com.apple.CoreFoundation 0x9865c1dc CFRunLoopRunSpecific + 332
    5 com.apple.CoreFoundation 0x9866cf01 CFRunLoopRun + 129
    6 com.skype.skype 0 x 00288749 0x1000 + 2651977
    7 ??? 0x014c86e2 0 + 21792482
    8 libsystem_c.dylib 0x91df9ed9 _pthread_start + 335
    libsystem_c.dylib 9 0x91dfd6de thread_start + 34

    Thread 10:
    0 libsystem_kernel.dylib 0x9949fc22 mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x9949f1f6 mach_msg + 70
    2 com.apple.CoreFoundation 0x986539da __CFRunLoopServiceMachPort + 170
    3 com.apple.CoreFoundation 0x9865cb04 __CFRunLoopRun + 1428
    4 com.apple.CoreFoundation 0x9865c1dc CFRunLoopRunSpecific + 332
    5 com.apple.CoreFoundation 0x9866cf01 CFRunLoopRun + 129
    6 com.skype.skype 0x003e1d86 0x1000 + 4066694
    7 ??? 0x014c86e2 0 + 21792482
    8 libsystem_c.dylib 0x91df9ed9 _pthread_start + 335
    9 libsystem_c.dylib

    Thanks for reporting this and thanks especially for a newspaper of the accident, including.

    The thing that leaps most to me of this journal, you use 6.3, which is 9 months old. Much has changed in this time, and it is likely that this problem is already solved. Please visit the Web site and download the latest version of Skype, 6.11 and try to start again. If you have an accident, please bring: we absolutely want to know!

  • Convert static Dispatch VI VI dynamic distribution

    I'm having a slow day, so I hope that someone else is working this Christmas and can answer this for me:

    I want to convert some of my class of LabVIEW static Dispatch screws of dynamic distribution. I thought it would be as simple as changing the types of terminals for the entry class and outputs "Dynamic Dispatch Input" and "Dynamic Dispatch Output (recommended)", but when I try that they are ghosts. I know I'm tired right now and I can't wait to go home for Christmas, but I can't seem to understand this (and I'm sure that I've done it before, so I know it's possible!)

    Can anyone help?

    (Merry Christmas!)

    OK, nevermind, I realized what I was doing wrong. I tried to convert my screws of wrapper, using a type of data without class, and indeed the method called that live inside can be converted to dynamic. Silly me!

  • (Redirected) Distributor of DELL is ripped off of something - guaranteed valid to a date prior to the purchase

    Hello.

    The distributor of DELL that I chose, sold me a laptop, well, but when I connect to the DELL Web site with my service tag security seems to have started 4 months before my purchase.

    I need DELL Europe or DELL WE directly contact to complain about my Distributor. I am from Bulgaria, and DELL are not present in Bulgaria (directly), only to resellers.

    I searched and searched for DELL website to find a way to complain, but all that it redirects me is the list of the resellers for my country. Of course, I need to ignore them and pass over them to complain about the specific dealer.

    There must be a way to tell DELL what one of their tricks on me tire dealers.

    Help, please.

    Hi martinch8002,

    You have purchased from a Distributor, who bought this pc four months ago. The guarantee starts when the laptop was purchased. I don't know may be modified on this something, but transfer your question in the forum we see customer service.

    http://en.community.Dell.com/support-forums/customercare/

  • App lingers before closing completely

    Hello guys

    I have an application that displays a list and download images from the Internet, the Image Loader sample-based.

    I opened the app and it works as expected, until I close itand the BB10 home its icon remains semi transparent for 2 or 3 seconds before being opaque again.

    Also, some time after that, when I open it again, it closes immediately without any registration.

    He started doing when I added the Image Loader sample code.

    The application uses threads, but I don't think that is the problem, since the Image Loader example also uses and has no problem when closing. Threads exit when the Chargers of Image are destroyed.

    In case it helps, here's what the newspaper of the device prints from the moment where the application is sent to the bottom and then closed (code and message):

    0       NavigatorEventHandler::Received - BPS - NAVIGATOR_WINDOW_STATE - NAVIGATOR_WINDOW_THUMBNAIL
    0       NavigatorEventHandler::new WindowStateInternal SWIPING
    0       LGM - RENDER_BEGIN  SINCE_LAST_RENDER_START: 10394448366 ns
    0       LGM - RENDER_END  RENDER_DURATION: 0 ns TOTAL_FRAMES: 70 FRAMES_DROPPED: 14
    0       NavigatorEventHandler::Received - BPS - NAVIGATOR_WINDOW_INACTIVE
    0       NavigatorEventHandler::new WindowStateInternal PAUSED
    0       LGM - RENDER_BEGIN  SINCE_LAST_RENDER_START: 714764518 ns
    0       QNXApplicationEngineImpl::Application window not visible, pausing rendering
    0       LGM - RENDER_END  RENDER_DURATION: 1000000 ns TOTAL_FRAMES: 71 FRAMES_DROPPED: 15
    0       NavigatorEventHandler::Received - BPS - NAVIGATOR_WINDOW_COVER_ENTER
    0       NavigatorEventHandler::new WindowStateInternal COVER
    0       LGM - RENDER_BEGIN  SINCE_LAST_RENDER_START: 101608182 ns
    0       QNXApplicationEngineImpl::Application window is visible, resuming rendering
    0       LGM - RENDER_END  RENDER_DURATION: 2000000 ns TOTAL_FRAMES: 72 FRAMES_DROPPED: 16
    0       NavigatorEventHandler::Received - BPS - NAVIGATOR_WINDOW_STATE - NAVIGATOR_WINDOW_INVISIBLE
    0       NavigatorEventHandler::new WindowStateInternal INVISIBLE
    0       LGM - RENDER_BEGIN  SINCE_LAST_RENDER_START: 853836332 ns
    0       LGM - RENDER_END  RENDER_DURATION: 0 ns TOTAL_FRAMES: 73 FRAMES_DROPPED: 17
    0       LGM - RENDER_BEGIN  SINCE_LAST_RENDER_START: 58109035 ns
    0       LGM - RENDER_END  RENDER_DURATION: 0 ns TOTAL_FRAMES: 74 FRAMES_DROPPED: 18
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 528 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 529 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 530 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 531 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 269 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 532 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 533 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 534 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 417 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 158 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 306 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 454 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 195 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 343 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 84 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 491 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 232 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 380 ] not unrealized
    9000    ERROR: Context: Object name=" "ImageData" " [objectId= 121 ] not unrealized
    0       ClientContext::Destroying server context with 19 remaining objects!
    0       ClientContext::Releasing remaining objects...
    0       QNXPpsSubscriptionServer::PPS Thread: FINISHED
    255     PERFORMANCE_STATISTICS: max frame time: 68 ms, mean render time: 9.61 ms, std.dev render time: 15.17, mean dropped frame time: 40.39 ms, std.dev dropped frame time: 17.10, #rendered frames: 47, #dropped frames: 9
    255     BRIDGE_STATISTICS: messages to client: 137, messages to server: 332
    255     STARTUP_STATISTICS: started: 501 ms
    0       QNXApplicationEngineImpl::Server Thread: FINISHED
    0       QNXApplicationEngineImpl::run(EXIT)
    9000    BpsEventManagerDependReal::setEventFilter - thread has no event dispatcher
    9000    ApplicationPrivate::resourceManager: ERROR called from non-UI thread QThread(0x10fe90)
    9000    ApplicationPrivate::resourceManager: Method called from non-UI thread
    

    Advice and pointers are appreciated.

    Hello Pepe,

    A good site c ++ that I use is CPP learn it caters to beginners but I often come back to for reference.

    Generally the 'new' operator is coupled to a 'delete' in which you want to free up memory which is held.

    For your example, you need a ' delete mImageTracker; "when you no longer need the object.

    If your class CustomImageLoader inherits QObject, you could also do this:

    mImageTracker->setParent(this);
    

    This will ensure that mImageTracker is cleaned to the point that your CustomImageLoader ceases to exist.  In QT parent objects are responsible for the cleaning of their children.  Keep in mind that if this is practical, opposes may be kept around for any longer than necessary.

    Hope I have not confused you.

  • I have to disable the licenses before the restoration of workstations?

    All,

    Our institution has 136 Adobe CC licenses.  I restored our classes several times last term with no complications, but this term when it is restored, I noticed in our console to manage teams this message:

    Payment required

    Please contact your account manager to purchase additional device licenses. To learn more.

    Adobe online chat support has been useless.  My phone support to start agent instructed me to contact our distributor; what I did.  They had a local contact who gave me another number to support Adobe which I warned that I have to disable my device licenses, him deserialize and serialize re-.

    I studied all the deployment resources Adobe and no where to find where this is prescribed workflow.  Adobe agent would not / could not connect either them.

    Please tell me where in Adobe CC deployment instructions/documentation that I need to disable my licenses before restoring my classrooms.

    Thank you

    lcc_mactech

    Another alternative is to use the APTEE tool to remove licenses. This will cancel the license but not uninstall.

    adobe_prtk - tool = UnSerialize - leid = {} CreativeCloudTeam - 1.0 - Mac - GM V6 - disable

    adobe_prtk - tool = UnSerialize - leid = {} CreativeCloudTeam - 1.0 - Win - GM V6 - disable

    APTEE should be in Applications/Utilities/Adobe Application Manager/CCP/utilities/APTEE on a Mac

    With the help of Adobe Provisioning Toolkit Enterprise Edition

  • quit unexpectedly before opening the docs - problem Apple or Adobe?

    My AdobeReader just started smoking before you open the docs. I tried to find a solution, or even how to go online, but there is nothing that helps. The error message is: Thread0 crashed: dispatch queue: com.apple.main - wire

    Don't know what this means or is it a problem to Apple or Adobe can help anyone?

    Libby

    Thanks for your help. I got my man Mac to come this morning and uninstall reinstall and everything works fine now.

    Thank you for your answer,

    Libby

Maybe you are looking for