requestScope in 11 g

IAM using jdeveloper 11g
IAM trying to apply Chapter 5 of SRdemo
"The settings in Menu setting".
try to pass the value as #{'open'} # {requestScope.Status} in action set listner
but its color by red line, what's wrong with that?

thanx

Hello

the scope of the request is not available at designtime, and as such, JDeveloper cannot resolve attribute. You should be able to ignore this warning

Frank

Tags: Java

Similar Questions

  • [BUG]: af:commandButton attended the requestScope variable does not work

    It took me two days to understand, and I wonder if this is a bug:

    I have a page that can be accessed twice, let's call them 'left' and 'right '. I want the page to know which side I was coming, so I put a variable requestScope on buttons navigate to this page, something like this:
    <af:commandButton action="toPage">
      <af:setActionListener from="left" to="#{requestScope.sideFrom}"/>
    </af:commandButton>
    I have two buttons on the page, we need to navigate back to the left and the other to return to the right. Only is rendered according to the variable requestScope.sideFrom.
    "They say rendered =" #{requestScope.sideFrom eq 'left'} ' and the other says rendered = "#{! requestScope.sideFrom eq 'left'}.

    A single button to work, i.e. for which the rendered property evaluates to true < b > when is press button < /b >. My requestScoped variable no longer exists when I press the button to navigate back so that its behavior is changed. Weird how?
    Should I file a bug?


    I refuse to do a variable sessionScoped and back with buttons back IMHO that's what requestScope is to change.

    I'm on JDeveloper 11.1.1.6

    Wendy,

    To amplify what Timo has rightly said: JSF goes through its joyful life cycle, is one of the steps to rebuild the tree of components in memory. When you use the property made, this particular component is not in the tree of components - it is as if it does not yet exist according to JSF. Then, when it comes time to respond to the events, the event is not seen or is ignored (I don't know who) because JSF think not that this component is present. As rightly says Timo - this behavior is why the 'visible' attribute was created.

    John

  • How to access programmatically requestScope objects

    Hi all

    in the backup of a page bean, I put a few attributes of the request by using the following code:

    FacesContext context = FacesContext.getCurrentInstance ();
    HttpServletRequest request = (HttpServletRequest) () .getRequest () context.getExternalContext;
    request.setAttribute (< key string >, < MyCustomObject >);

    and then I navigate to another page. In this page I fill in some text fields using EL expressions, like #{requestScope. < key string >. < MyCustomObject property >}.
    However, when inside the bean of support of this page, I try to access it programmatically using requestScope:

    FacesContext context = FacesContext.getCurrentInstance ();
    < MyCustomObjectClass > var = < MyCustomObjectClass > context.getExternalContext () .getRequestMap () .get (< key > string);

    I get the return code null value.
    What can I did wrong that my code does not return the objects I cross the requestScope while the work of EL expressions?

    Hello

    Set the value to the scope of the application could be the problem (new application could have been created at the point where you call the method to retrieve the value). Try to set the value in the session scope and see.

    Jean Lou

  • [JDev 12.2.1, GlassFish 4.1] Migrated JDev 12.1.3 app amounts to org.apache.catalina.LifecycleException when deployed on GlassFish 4.1

    Hallo,

    I migrated my 12.1.3 application ADF Essentials (until now deployed on GlassFish 3.1) to JDeveloper 12.2.1.

    The migrated application is successfully deployed on the WLS internal JDev 12.2.1.

    I have also installed and configured GlassFish 4.1, but when I try to deploy the application migrated on it I get this error:

    Error occurred during deployment: Exception when loading the application: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory. . Please see server.log for more details.

    Below, I copied the lower part of the ball.

    If you kindly could help solve this problem?

    Thank you

    Federico

    [2015 12-14 T 19: 49:35.432 + 0100] [glassfish 4.1] [SERIOUS] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975432] [levelValue: 1000] []

    An exception occurred while processing life cycle

    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory.

    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)

    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)

    at org.glassfish.internal.data.ModuleInfo.start (ModuleInfo.java:291)

    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:539)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:535)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 2.execute(CommandRunnerImpl.java:534)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:565)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:557)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1300 (CommandRunnerImpl.java:109)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1846)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1722)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)

    at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:133)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    to org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$ 1.invoke(ResourceMethodInvocationHandlerFactory.java:81)

    to org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$ 1.run(AbstractJavaResourceMethodDispatcher.java:144)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)

    to org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ ResponseOutInvoker.doDispatch (JavaResourceMethodDispatcherProvider.java:160)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)

    to org.glassfish.jersey.server.ServerRuntime$ 2.run(ServerRuntime.java:309)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:271)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:267)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:267)

    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)

    at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)

    at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139)

    at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:375)

    to org.glassfish.admin.rest.adapter.RestAdapter$ 2.service(RestAdapter.java:316)

    at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ HttpHandlerCallable.call (ContainerMapper.java:459)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)

    at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)

    at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)

    at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)

    to org.glassfish.grizzly.filterchain.ExecutorResolver$ 9.execute(ExecutorResolver.java:119)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)

    at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)

    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)

    at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)

    at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)

    in org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$ 100 (WorkerThreadIOStrategy.java:56)

    to org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:591)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:571)

    at java.lang.Thread.run(Thread.java:745)

    ]]

    [2015 12-14 T 19: 49:35.432 + 0100] [glassfish 4.1] [SERIOUS] [] [javax.enterprise.system.core] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975432] [levelValue: 1000] []

    An exception occurred while loading the application]]

    [2015 12-14 T 19: 49:35.433 + 0100] [glassfish 4.1] [SERIOUS] [AS-WEB-GLUE-00192] [javax.enterprise.web] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975433] [levelValue: 1000] []

    Undeployment failed for the context /MyWebApp]]

    [2015 12-14 T 19: 49:35.459 + 0100] [glassfish 4.1] [SERIOUS] [] [javax.enterprise.system.core] [tid: _ThreadID = 44 _ThreadName = admin-listener (1)] [timeMillis: 1450118975459] [levelValue: 1000] []

    Exception when loading the application: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory. ]]

    [2015 12-14 T 19: 49:35.616 + 0100] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID = 45 _ThreadName = admin-listener (2)] [timeMillis: 1450118975616] [levelValue: 800] []

    Exception occurred: error occurred during deployment: Exception when loading the application: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.IllegalStateException: could not find relief for javax.faces.context.FacesContextFactory of the factory. . Please see server.log for more details.   ]]

    You have validated the content of the file web.xml instead of faces-config. XML

    Try to return to faces-config. XML to 2.1.

    Also, check if useBundledJsf = false will make a difference.

    If nothing else helps, try to remove the extra libs (one by one)

    Dario

  • Deployment of emergency on GF4.1.1 and ADFE 12.2.1 (javax.naming.NameNotFoundException: wm)

    Hi experts,


    I fought with ADF Essentials + Glassfish 4.1.1 and I get this exception:

    [2015-12 - 01 T 10: 46:27.077 + 0100] [glassfish 4.1] [SERIOUS] [AS-WEB-CORE-00108] [javax.enterprise.web.core] [tid: _ThreadID = 47 _ThreadName = admin-listener (4)] [timeMillis: 1448963187077] [levelValue: 1000] []

    ContainerBase.addChild: start:

    org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: javax.naming.NameNotFoundException: wm

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5985)

    at com.sun.enterprise.web.WebModule.start(WebModule.java:691)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)

    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)

    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)

    at org.glassfish.internal.data.ModuleInfo.start (ModuleInfo.java:291)

    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:539)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:535)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs (unknown Source)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 2.execute(CommandRunnerImpl.java:534)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:565)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:557)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs (unknown Source)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1300 (CommandRunnerImpl.java:109)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1846)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1722)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)

    at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)

    at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:328)

    at org.glassfish.admin.rest.resources.TemplateListOfResource.post(TemplateListOfResource.java:163)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    to org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$ 1.invoke(ResourceMethodInvocationHandlerFactory.java:81)

    to org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$ 1.run(AbstractJavaResourceMethodDispatcher.java:144)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)

    to org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ ResponseOutInvoker.doDispatch (JavaResourceMethodDispatcherProvider.java:160)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)

    to org.glassfish.jersey.server.ServerRuntime$ 2.run(ServerRuntime.java:309)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:271)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:267)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:267)

    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)

    at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)

    at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139)

    at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:375)

    to org.glassfish.admin.rest.adapter.RestAdapter$ 2.service(RestAdapter.java:316)

    at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ HttpHandlerCallable.call (ContainerMapper.java:459)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)

    at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)

    at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)

    at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)

    to org.glassfish.grizzly.filterchain.ExecutorResolver$ 9.execute(ExecutorResolver.java:119)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)

    at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)

    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)

    at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)

    at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)

    in org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$ 100 (WorkerThreadIOStrategy.java:56)

    to org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:591)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:571)

    at java.lang.Thread.run (unknown Source)

    Caused by: org.apache.catalina.LifecycleException: javax.naming.NameNotFoundException: wm

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5740)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5977)

    ... more than 75

    Caused by: javax.naming.NameNotFoundException: wm

    at com.sun.enterprise.naming.impl.TransientContext.resolveContext(TransientContext.java:299)

    at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:207)

    at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:66)

    at com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:114)

    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:478)

    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:438)

    at javax.naming.InitialContext.lookup (unknown Source)

    at javax.naming.InitialContext.lookup (unknown Source)

    at com.sun.enterprise.naming.util.JndiNamingObjectFactory.create(JndiNamingObjectFactory.java:90)

    to com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$ 1.create(ComponentEnvManagerImpl.java:715)

    at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:745)

    at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:715)

    at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:159)

    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:471)

    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:438)

    at javax.naming.InitialContext.lookup (unknown Source)

    at javax.naming.InitialContext.lookup (unknown Source)

    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:636)

    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:507)

    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:141)

    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:127)

    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:347)

    at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:991)

    at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:2130)

    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1404)

    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1381)

    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5732)

    ... more than 76

    ]]

    Any ideas?


    Thank you very much, I'm a bit desperate with this! :-)


    Kind regards

    Jose.

    Hi Jose,

    I've been encountering same problem for the last 2 days... Come to find out that the reason is library I added to the web project.

    To use commonj.timer for the planning of the work, I added Weblogic 12.1 Thin Client to my project and timer resource web.xml. As its name suggests, it is only for weblogic server. After I have encounter this error "wm". I have removed the library and commented my timers. Then the deployed project successfully.

    I hope this will help you (and others) too!

    Kind regards
    Sara.

  • How to send a coded link user name?

    Hi all

    I want to send the parameter username i.e. link .

    User name must be coded by (org.apache.commons.codec.binary.Base64) class.

    can someone help me with this?

    Thanks in advance.

    Kind regards

    Akshay

    Hello.

    Create your own managed Bean in scope request with the following structure

    public final class MyManagedBean {
    
         private String encodedUserName;
    
         public MyManagedBean {
         }
    
         public String getEncodedUserName() {
              this.encodedUserName = // your code to encode ADFContext.getCurrent().getSecurityContext().getUserName()
              return encodedUserName;
         }
    }
    

    Use it in your af:goLink as follows:

    destination =...? User = #{requestScope.mymanagedbean.encodedUserName}

    I hope this helps.

    Kind regards.

  • Method of access in a bean via EL

    JDeveloper version - 11.1.1.7.0

    I created a bean and recorded in my workflow with a scope of request.

    A method in my work flow refers to the bean to initialize certain values. As shown in the image below the bean appears on 2 places in the expression builder. I first tried using within the RequestScope (Option 2 in the image). On the page running, there was an exception


    javax.el.PropertyNotFoundException: inaccessible target, 'PrepareSessionBean' returned null

    Then I just tried to use the device to off the staves (1 Option of the image) and this time the page loaded. So I was wondering what difference does it make when selecting the two sections and also to be used whenbean?

    1.jpg

    Difference lies in the scope prefix.

    As a general rule, you should never put prefix in scope to scopes of standard servlet (application, session, and application).

    If you put the prefix in scope, bean must be instantiated before or your EL will evaluate to null.

    When you do not prefix scope, JSF will instantiate bean if it is not already instantiated.

    For reasons specific to the ADF (backingBean, view, pageFlow), you must add the prefix so frame can handle them.

    Dario

  • How to get the value of the level attribute of memory in the adf bean

    Hello

    I put the value of an attribute Memory_scoped using a propertylistner set. I now get this value attribute to reach memory in my bean (requestscope) adf.

    So how do you get these. I put the listner as in the screenshots below.

    prop.png

    Please help on this case.

    User

    You are not get value at all or get an incorrect value?

    Why don't you get fair value of link, why do you use the earpiece of the property?

    Ashish

  • Custom AF:table, the default filtering view filtered etc.

    JDeveloper 12.1.3

    I am trying to assemble the pieces, I found on these forums and elsewhere on the web, given that I use 12.1.3 do not know if what I found, it is best practice, given that some ideas are dated.

    Let's say I have a table of addresses, several fields such address_id,address_line, city, state, zip, country... but what is important for this use case, the table has a current flag, which is always either Y or N.

    1. try to implement filtering without using table blockable af. The main reason is that users do not want to see this side of filter above the column headers. In addition, the table should be filterable by a single attribute (current flag), and finally this even filterable column is not used in the presentation of the table, only the addresses in the table. The current filter is af:selectOneChoice something like:

    < af:selectOneChoice label = "Current"? ID = "soc2" simple = 'true '.

    valueChangeListener = "#{backingBeanScope.backing_view1.filterChanged} '"

    autoSubmit = "true" binding = "#{backingBeanScope.backing_view1.currentFilter}" >

    < af:selectItem label = "All" value = "All" id = "si2" / >

    < af:selectItem label = 'Current' value = 'Y' id = "si3" / >

    < af:selectItem label = "Non-routine" value = "N" id = "i5" / >

    < / af:selectOneChoice >

    2. the second condition is that when the user opens the page for the first time, more high af:selectOneChoice is defined on < af:selectItem label = 'value' = 'Y' id = "si3" / > and the table is filtered to display only the lines with the flag set to y. user can use af:selectOneChoice to set the table to any other option. If the user navigates to this page and returns, the table and the 'filter' must retain value selected previously.

    3. If a table is filtered with say < af:selectItem label = 'value' = 'Y' id = "si3" / > and the user modifies or creates record, such as modified or new address is marked with current = 'n', (and this is done in the form of popup dialogue), after the closure of the pop-up window CRUD, newly edited/created record cannot be demonstrated.

    I guess I'd know how to implement these requirements individually (not sure about 2 though) but putting all the best practice way, probably not. Any help is appreciated, I'll close this thread once I have a complete solution for this use case (which I or someone else will publish) so that it can be useful in the future.

    My 5 cents:

    1.

    valueChangeListener = "#{backingBeanScope.backing_view1.filterChanged} '"

    backingBeanScope is specific scope adf provided for declarative components.

    If your code is not part of these components so it is best to use a different scope (for this use case, application scope is probably sufficient and you can't even write the requestScope prefix)

    Binding = "#{backingBeanScope.backing_view1.currentFilter}" > "

    It is usually bad practice (any component of a binding class is a standard approach for desktop applications, but not for the JSF).

    In short, you should bind the component to a managed bean that you must handle with any component (which is rare).

    In all other cases, you must create a concrete property binding (as the "value", "label", "read-only",...)

    2. you are talking about the value of the element, so it would be 'natural' to link the 'value' variable in some managed bean property.

    Because this bean must survive browsing, it should be placed in pageFlowScope or sessionScope.

    3. well, you will probably be filter your lines using ViewCriteria.

    Then maybe that you can use ViewObjectImpl.rowQualifies () method of applied access VC, read the value of the bind variable and determine if this line should be displayed or not.

    Something like this: binary: the substitution of ViewObjectImpl::rowQualifies (...) for memory filtering of the child nodes of a tree component

    Dario

  • javax.el.PropertyNotFoundException

    I have test the following code with CDI and ADF in Jdeveloper 11.1.2.4. But I get the following error messages.

    JDeveloper 11.1.2.4 does support ADF with CDI?

    I have test the code of a Java EE application in Jdeveloper 12.1.3 and it works fine.

    -error message-

    Caused by: javax.el.PropertyNotFoundException: //C:/Users/Administrator/AppData/Roaming/JDeveloper/system11.1.2.4.39.64.36.1/o.j2ee/drs/CDI3/ViewControllerWebApp.war/game.jsf @23,106 action = "#{game.reset}": unattainable target, 'game' resolved to null identifier "

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:107)

    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at javax.faces.component.UICommand.broadcast(UICommand.java:315)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)

    Truncated. check the log file full stacktrace

    -code with CDI and ADF-

    package weldguess;

    import java.io.Serializable;

    import java.util.Random;

    javax.annotation.PostConstruct import;

    Import javax.enterprise.context.SessionScoped;

    Import javax.enterprise.context.RequestScoped;

    Import javax.enterprise.inject.Instance;

    Import javax.inject.Inject;

    Import javax.inject.Named;

    Import javax.faces.application.FacesMessage;

    Import javax.faces.bean.ManagedBean;

    javax.faces.component.UIComponent import;

    Import javax.faces.component.UIInput;

    Import javax.faces.context.FacesContext;

    @Named//("game")

    @ManagedBean

    @ Named / / @SessionScoped

    @RequestScoped

    / public class game implements Serializable {}

    private static final long serialVersionUID = 1 L;

    private int number;

    private int guess;

    private int small;

    @MaxNumber @Inject

    private int maxNumber;

    private int biggest;

    private int remainingGuesses;

    @Randomv @Inject NombrAl < all > instance;

    public Game() {}

    }

    public int getNumber() {}

    return number;

    }

    public int getGuess() {}

    Back to guess;

    }

    {} public void setGuess (int guess)

    This.Guess = guess;

    }

    public int getSmallest() {}

    Returns the smallest;

    }

    public int getBiggest() {}

    return greater;

    }

    public int getRemainingGuesses() {}

    Return remainingGuesses;

    }

    public String check() throws InterruptedException {}

    If (guess > number) {}

    = more great guess - 1;

    }

    If (guess < number) {}

    more small = guess + 1;

    }

    If (rating == number) {}

    FacesContext.getCurrentInstance () .addMessage (null, new FacesMessage ("Correct!"));

    }

    -remainingGuesses;

    Returns a null value.

    }

    @PostConstruct

    {} public void reset()

    This.Smallest = 0;

    This.Guess = 0;

    this.remainingGuesses = 10;

    This.Biggest = maxNumber;

    This.Number = randomNumber.get ();

    }

    ' Public Sub validateNumberRange (FacesContext, UIComponent toValidate, value Object context) {}

    If (remainingGuesses < = 0) {}

    FacesMessage message = new FacesMessage ("no guesses left!");

    context.addMessage (toValidate.getClientId (context), message);

    ((UIInput) toValidate) .setValid (false);

    return;

    }

    input int = value (integer);

    If (entry < smaller | entry > bigger) {}

    ((UIInput) toValidate) .setValid (false);

    FacesMessage message = new FacesMessage ("invalid assumption");

    context.addMessage (toValidate.getClientId (context), message);

    }

    }

    }

    Bean annotations are buggy 11.1.2.4 JDeveloper.

    Try registering managed bean in faces-config in the traditional way or adf-config. Then try to Commission.

  • Deploy application with GlassFish-JavaEE, move from Mac to Linux.

    On a Mac, I developed and managed a Java EE application successfully.

    It's an EAR with an EJB module and a Web module.

    Now continues on a device of Linux (Ubuntu), I can't start over exactly the same application. I got exacttly the same code with git.


    I tried to launch the application with:

    <

    asadmin deploy ejbEntities/target/ejbEntities-1.0-SNAPSHOT.jar

    >

    the console of administration in the r through http://localhost:4848:

    Applications /-> deploy snapshot.jar selection...


    And with Netbeans with all the same result:

    After generating with dependencies and running.

    He tells his running successfully. But in services server/glassfish Server/applications/nothing is displayed and the output is the server.log:

    <

    An exception occurred while loading the application: the EJB container initialization error

    com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid destination jms/NewMessage for MDB: JNDI name not found

    at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:2269)

    at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:2095)

    at com.sun.enterprise.connectors.inbound.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:168)

    to org.glassfish.ejb.mdb.MessageBeanContainer. < init > (MessageBeanContainer.java:252)

    at org.glassfish.ejb.mdb.MessageBeanContainerFactory.createContainer(MessageBeanContainerFactory.java:63)

    at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:221)

    at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:291)

    at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:99)

    at org.glassfish.internal.data.ModuleInfo.load (ModuleInfo.java:206)

    at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:313)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:539)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ $2 1.run(CommandRunnerImpl.java:535)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 2.execute(CommandRunnerImpl.java:534)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:565)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 3.run(CommandRunnerImpl.java:557)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.Subject.doAs(Subject.java:360)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1300 (CommandRunnerImpl.java:109)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1846)

    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1722)

    at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404)

    at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    to org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$ 1.invoke(ResourceMethodInvocationHandlerFactory.java:81)

    to org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$ 1.run(AbstractJavaResourceMethodDispatcher.java:151)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)

    to org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ ResponseOutInvoker.doDispatch (JavaResourceMethodDispatcherProvider.java:152)

    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)

    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)

    to org.glassfish.jersey.server.ServerRuntime$ 1.run(ServerRuntime.java:271)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:271)

    to org.glassfish.jersey.internal.Errors$ 1.call(Errors.java:267)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

    at org.glassfish.jersey.internal.Errors.process(Errors.java:267)

    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)

    at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)

    at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)

    at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)

    to org.glassfish.admin.rest.adapter.JerseyContainerCommandService$ 3.service(JerseyContainerCommandService.java:173)

    at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ HttpHandlerCallable.call (ContainerMapper.java:459)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)

    at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)

    at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)

    at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)

    to org.glassfish.grizzly.filterchain.ExecutorResolver$ 9.execute(ExecutorResolver.java:119)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)

    at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)

    at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)

    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)

    at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)

    at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)

    in org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$ 100 (WorkerThreadIOStrategy.java:56)

    to org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$ WorkerThreadRunnable.run (WorkerThreadIOStrategy.java:137)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:565)

    to org.glassfish.grizzly.threadpool.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:545)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid destination jms/NewMessage for MDB: JNDI name not found

    at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:2263)

    ... more than 71

    ]]

    [2015-06 - 01 T 15: 15:19.286 - 0200] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID = 130 _ThreadName = admin-listener (6)] [timeMillis: 1433164519286] [levelValue: 800] []

    Redirecting to /common/index.jsf]]

    [2015-06 - 01 T 15: 15:19.301 - 0200] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID = 132 _ThreadName = admin-listener (8)] [timeMillis: 1433164519301] [levelValue: 800] []

    [[Administration console: initializing attributes Session...]]

    >

    What could be the problem? The app has not changed, it is the environment.


    After that Googling autour, I found the problem had to do with the syntax.


    For example, on:

    http://StackOverflow.com/questions/7110563/GlassFish-v3-cant-deploy-MessageDriven-bean-missing-destination-JNDI-name


    I got the same error. The problem was:

    @ActivationConfigProperty (propertyName = "destination", propertyValue = "jms/SampleTopic")

    This need to be

    @ActivationConfigProperty (propertyName = "destination", propertyValue = "SampleTopic")


    Can whe´re I set this property?

    Whe´re is the configuration file of Glassfish?


    Could someone guide me through this?


    Thanks in advance.


    Peter,

    I found the domain.xml file. ~/glassfish4/GlassFish/domains/Domain1/config/domain.XML

    In this file, I wasn't able to find anything on the com.sun.appserv. *. packages.

    The software allows to work with this default file (on a Mac).

    With the asadmin terminal I tried to add custom resources.

    And they appear whe. After you restart glassfish no different result.

    The application deployment guide https://glassfish.java.net/docs/4.0/application-deployment-guide.pdf mentionned on glassfish ejb - jar.xml and ejb - jar.xml.

    I couldn't find these files for version 3.1.

    http://docs.Oracle.com/CD/E26576_01/doc.312/e24929/dd-files.htm#GSDPG00080

    But the app was capable on running with the default settings, so without these files.

    What can I check next?

  • Layout error while deploying the application on the glassfish server. Any body can help?

    Mr President.

    Layout error while deploying the application on the glassfish server. Any body can help?

    The server log is

    [2015-06-05T12:05:15.646+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487915646] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:15.646+0500] [glassfish 4.1] [WARNING] [] [javax.enterprise.system.tools.deployment.javaeefull] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487915646] [levelValue: 900] [[
      Exception while locating sub archive: AshCMS_ViewController_webapp.war]]
    
    
    [2015-06-05T12:05:15.706+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=88 _ThreadName=deployment-jar-scanner] [timeMillis: 1433487915706] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:17.484+0500] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487917484] [levelValue: 800] [[
      visiting unvisited references]]
    
    
    [2015-06-05T12:05:23.074+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923074] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.074+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923074] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.784+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923784] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [WARNING] [NCLS-DEPLOYMENT-00023] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 900] [[
      Ignoring AshCMS_ViewController_webapp_war/ because the containing archive C:\glassfish4\glassfish\domains\domain1\applications\AshCMS_Project1_AshCMS recorded it as a pre-existing stale file]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 1000] [[
      Exception while deploying the app [AshCMS_Project1_AshCMS]]]
    
    
    [2015-06-05T12:05:23.804+0500] [glassfish 4.1] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923804] [levelValue: 1000] [[
      Exception during lifecycle processing
    java.lang.IllegalArgumentException: Could not find sub module [AshCMS_ViewController_webapp.war] as defined in application.xml
      at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:560)
      at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:229)
      at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:232)
      at org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:193)
      at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:227)
      at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:96)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:881)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:821)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:377)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Unknown Source)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Unknown Source)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)
      at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)
      at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:328)
      at org.glassfish.admin.rest.resources.TemplateListOfResource.post(TemplateListOfResource.java:163)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
      at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)
      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)
      at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)
      at org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:316)
      at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
      at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
      at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
      at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
      at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
      at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
      at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
      at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
      at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
      at java.lang.Thread.run(Unknown Source)
    ]]
    
    
    [2015-06-05T12:05:23.814+0500] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487923814] [levelValue: 1000] [[
      Exception while deploying the app [AshCMS_Project1_AshCMS] : Could not find sub module [AshCMS_ViewController_webapp.war] as defined in application.xml]]
    
    
    [2015-06-05T12:05:30.224+0500] [glassfish 4.1] [INFO] [] [org.jvnet.mimepull.WeakDataFile] [tid: _ThreadID=42 _ThreadName=admin-listener(2)] [timeMillis: 1433487930224] [levelValue: 800] [[
      File C:\Users\TANVIR\AppData\Local\Temp\MIME4440540335098498486.tmp was not delet
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    ed]]
    
    

    Any body can help to find the error.

    Because I'm not able to find the error.

    Concerning

    As indicated in the supported link you must use Glassfish 3.1 NOT Glassfish 4

  • AF:messages only for the Type INFORMATION

    Hi all

    I use JDev 11.1.1.7.0

    I have an obligation to display "operation completed successfully" message inline in the page and not as a popup. Errors and other severities appear like Popup only.

    Reason is, for a successful transaction, the user to press an Ok button is not necessary.

    How can I implement this?

    I tried the following

    (1) af:messages with inline property set to true, but the problem is it's the same error display. I want only the type of INFORMATION to display.

    On the following as, selection of online or Add button, it's clear these messages (that is our requirement). How this has been done by the framework?

    (2) added outputText to display the message on save. But how to clear this message on the next operation, the manner in which the framework called af:messages?

    Kind regards

    Deepti

    OK, thanks for the reply Ashish & Timo.

    I'll probably try JQuery.

    For the moment, have linked the value property of the outputLabel to a string that is instantiated in a managed bean of type requestScope. If the value of this string on the action of validation and added partial trigggers to the outputLabel. So for subsequent as operations add, rowSelection etc. it is erasing.

    Concerning

    Deepti

  • Warning log message showing several times during registration to create/update

    When registering, the following error is repeated

    WARNING Sat Feb 14 15:38:15 CST 2015 1423949895405/atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-1266341/atg/userprofiling/ProfileFormHandler use by default for the property ProfileTools

    / ATG/userprofiling/ProfileFormHandler use by default for the property ProfileTools

    This message appears like a billion times in newspapers. To be more precise, it appears more 30,000 times last week.

    Please let me know how to disable this warning and we want logging enabled for INFO, WARN, and ERROR.  Just to set the logging level to hide the newspaper is not the solution we are looking for.  Please let me know what is causing the log message appears in the ATG.

    Please guide me to find the solution.

    In your ProfileFormHandler you overloaded profileTools property? It seems that the ProfileTools of the resolution with the Null value and what is happening, it is that whenever the scope of the request initialization of ProfileFormHandler is to find the property of ProfileTools as null so that it throws this warning and initializes the ProfileTools component with the default.

    So, check if you have replaced the property ProfileTools or component itself or have changed its path which can be throwing error in the newspapers during the start-up or component initialization and initially it is null, and if you haven't changed it then you can also try to put profileTools = / atg/userprofiling/ProfileTools in your code ProfileFormHandler file property base to solve explicitly what must also avoid this warning.

  • Model of ADF for use within the declarative component project

    Hello

    JDev 11.1.2.4

    I created a project for my declarative components. I want to create an element with an attribute of type oracle.jbo.Row, but this class is not recognized. What are the libraries I need to include if I want to use the object Row.

    Some basic information: my declarative component is bound to a managed bean.

    Import oracle.jbo.Row;

    @ManagedBean (name = "audit")

    @RequestScoped

    public class AuditBean {}

    Online Privacy;

    public AuditBean() {}

    Var UIXDeclarativeComponent = (UIXDeclarativeComponent) JSFUtils.resolveExpression("#{comp}");

    If (vars == null) {}

    again, throw PropertyNotFoundException ("could not find the name of the attribute [comp] component declarative Vars.");

    }

    line = vars.getAttributes () .get ("row");

    }

    }

    Most of our table have the same fields of audit, and we want to create a component that displays audit information. The component would take the line and check if the attributes are present, if so, display them.

    Thank you

    Hello

    Line belongs to the ADF runtime library. However, your declarative component seems to have another flaw, that is, it uses a bean managed within the scope of the request. She should better use backingBean range (a range of task flow) so it can be used multiple times on a page without the substitution of a previous rendering information. Maybe this isn't a problem if the component cannot forget his condition after rendering

    Frank

Maybe you are looking for

  • Satellite U400 - the webcam no longer works

    Hello guys here is my sudden probloema!A year ago I bought a laptopTOSHIBA - Satellite U400with s.o. WinVista 32-bit and webcam built-in chicony etc...Last year, everything worked properly, but since a few days, the webcam no longer works.Whenever I

  • Satellite C660 - problem with the IKEA 3D viewer

    Hi guys, I'm having a problem using Ikea kitchen on my wife Satellite C660-26Z Scheduler using Windows 7 64 bit. Its done online on the website of ikea. An add-on is used called 20-20 3d viewer for ikea. I tried Chrome, Firefox, and IE9. Chrome add o

  • Help/Explorer Windows and support issues

    Since a week ago whenever I try to open Windows Explorer to view the files and documents in my document folders, windows Explorer closes itself.At first, it all started when I tried to open the images and videos, that I saved on a new 500 GB extended

  • DeskJet 3050 a will not connect to my wireless network

    I absoulutely can't get my Deskjet 3050 has to connect to my home wifi connection.  It is a Motorola modem/router (wireless) model SBG6580. I went through the doctor for help (don't show me the wireless information.  The button did not work.  I tried

  • Envy of devices not finding hp printer 5530

    We have been printing our ipad, kindle and galaxy phones for the last few months with no problems, but since there are two days all three are saying 'no air printer found. ' Have you tried switching devices, printer and router completely off but noth