Deploy to GlassFish - 11.1.2 Jdev ADF

Hello:

Has anyone successfully deployed an ADF/Oracle DB to GlassFish application? Is this a supported configuration?

Thank you

Is this a supported configuration?

Nope. On the wire where you asked about JBoss, Shay gave you a link with the supported configurations.

John

Tags: Java

Similar Questions

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

  • Where should questions about the JDEV/ADF positions?

    Hello

    Where should questions about the JDEV/ADF positions?

    JDeveloper and ADF or

    JDeveloper and ADF?

    I found there may be some different advantageous:

    https://forums.Oracle.com/message/11109674?TSTART=0#11109674

    Thank you.

    Well, the other forum you mentioned is the Korean equivalent of the English forum.

    You have already discovered, it is not controlled to many users. I didn't know that it exists at all.

    In general it is to you where you ask your questions. All for one here are driven by the community and some employees of the Oracle, you cannot wait has answered all your questions. If you really need to answer you go through paid support.

    A tip for getting help is to provide a well-defined use cases, information relating to your environment and documented code showing what you have already tried.

    Timo

  • Apex listener 2.0 only returns a blank page when it is deployed on Glassfish

    With the help of:
    Oracle 10.2.0.5
    GlassFish 3.2.1
    apex_listener 2.0.0.354.17.05

    When I go to the URL, http://servername:8125 / apex
    It sometimes turns into http://servername:8125/apex/f? p = 4550:1:13324637794 (if I get a session), but only get a blank page.

    When I go to http://servername:8125, I get the message
    '3.1.2 glassFish server '.
    Your server is now running"etc.

    If, instead of using Glassfish, I started as independent apex_listener, everything works fine.


    In server.log, I found a few warnings:
    [#| 2012 12-29 T 23: 30:31.046 + 0100 |] WARNING | glassfish3.1.2 | org.apache.catalina.connector.Request | _ThreadID = 114; _ThreadName = wire 2. PWC4011: cannot set the application context UTF-8 character encoding, because the request parameters have already been read, or ServletRequest.getReader () has already been called. #]

    [#| 2012 12-29 T 23: 47:57.859 + 0100 |] WARNING | glassfish3.1.2 | javax.enterprise.System.Tools.deployment.org.GlassFish.deployment.common | _ThreadID = 1; _ThreadName = wire 2. DPL8029: ignore the WEB-INF/weblogic.xml in archive/C:/glassfish3/glassfish/domains/apex2/applications/i /, as Sun counterpart TERM xml WEB-INF/Sun - Web.xml is present in the same archive. | #]


    Someone at - it a nail how to solve this?
    I can't find anything...

    More on this old topic, yesterday I upgraded listener apex 1.1.4 to 2.0.2 and now it is not working properly.

    I never had the time to continue the troubleshooting listener 2.0.0 but apparently 2.0.2 had the appropriate correction required for my test environment.

    JP

  • When will be JDev ADF training be available?

    The toolset JDev ADF seems to be very powerful and the tutorials are useful in getting started. The documentation is a useful reference. But for those of us who are new to this set of tools, especially when you are working in a very small group, form any training is needed to build a real application. What plans Oracle must provide this training? I hope that there is something on the horizon.

    I believe they do, through the JDev homepage-> training page, even if it is the format of the virtual classroom on-line:

    http://www.Oracle.com/technology/products/jdev/collateral/training11g.html

    CM.

  • [ADF Essentials, JDev12.1.3, MS SQL Server] About to restore backup/restore error when the application is deployed on GlassFish. How...?

    Hallo,

    follow the suggestions of Timo Hahn and kdario , I created a panelTabbed with main tables form & details according to this thread Re: [ADF, JDev12.1.3] Master af:form w/read only af:tables detail: how to handle insert and edit through forms?

    The modification/insertion for readonly tables is managed using a form of popup.

    Before displaying the form, I create a backup that I restore it if the user click Cancel on the shortcut menu.

    Everything works well on the integrated WebLogic Server, but now that I have deployed the application on GlassFish Server I noticed an odd error.

    The < <the connection to the server has failed (status = 500)> > error when I click the button cancel from the context menu (Cancel involves restoring the backup) and the empty line added before opening the context menu and create the backup point is left blank in the table.

    In the server log, I read this error:

    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: call Impossible a commit operation when the AutoCommit is set to 'true '.

    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)

    The check points are not compatible with GlassFish/ADF Essentials or it is - AS I HOPE -some adjustments to make with regard to transactions in GlassFish?

    Until now I deplyed on GlassFish than an application of readonly.

    I see now that the problem also occurs when the call of the AOS restore operation is should not be due to the use of the backup point.

    It is the configuration of the Connection Pool in GlassFish (sorry it's in Italian)...

    StackTrace

    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Impossibile richiamare one ' operation di commit when the terms AutoCommit e impostata su 'true '.

    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)

    at com.microsoft.sqlserver.jdbc.SQLServerConnection.rollback(SQLServerConnection.java:1958)

    at com.sun.gjc.spi.base.ConnectionHolder.rollback(ConnectionHolder.java:630)

    at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:149)

    ... more than 92

    # # 0 in detail

    com.microsoft.sqlserver.jdbc.SQLServerException: Impossibile richiamare one ' operation di commit when the terms AutoCommit e impostata su 'true '.

    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)

    at com.microsoft.sqlserver.jdbc.SQLServerConnection.rollback(SQLServerConnection.java:1958)

    at com.sun.gjc.spi.base.ConnectionHolder.rollback(ConnectionHolder.java:630)

    at oracle.jbo.server.DefaultTxnHandlerImpl.handleRollback(DefaultTxnHandlerImpl.java:149)

    at oracle.jbo.server.DBTransactionImpl.doRollback(DBTransactionImpl.java:5279)

    at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2558)

    at oracle.adf.model.bc4j.DCJboDataControl.rollbackTransaction(DCJboDataControl.java:1770)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1541)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2218)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:784)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:410)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:254)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:212)

    at oaw.view.beans.NotPrel.cancelButton_action(NotPrel.java:254)

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

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

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

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

    at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

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

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:115)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:115)

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

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

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

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

    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter ([| #])

    Thank you

    Federico

    Hello Dario,

    the solution to the problem really seems to check 'non transactional connections' (with nothing to do in the code of the application) in the GlassFish connection pool configuration.

    I did a lot of tests: commit, rollback and save points works like movement.

    See you later for another thrilling adventure!

    Thank you

    Federico

  • [JDev12.1.2, ADF, GlassFish, 3.1.2] My request is not redirect after deployment to GlassFish. Why? It's my fault!

    Hallo,

    my request to ADF ha a login.jspx and a main.jspx (which contains a menu bar and a dynamic region).

    Login.JSPX - control-flow-case: loginSuccess-> main.jspx

    <-control-flow-case: logout -.

    If the user name and password are correct, the application redirects to main.jspx. To do this the support bean login.java returns 'loginSuccess '.

    In main.jspx when the user clicks on the menu item "Exit", the application redirects to login.jspx. To do this Action, property of the menu item is installed to "disconnect".

    When I run the application in the integrated JDeveloper WSL everything works fine.

    But when I deploy the application on GlassFish the transitions between the two pages do not occur.

    I can access the URL directly to the main.jspx and it works properly.


    In the error.log of GlassFish, I have found no error.


    You kindly help me?


    Thank you

    Federico


    Thanks to this Why doesn't stain navigation flow ' work on glassfish thread I have solved the problem!

    The name of view activities in my application is login and main.

    I used the URL http://my-pc:8080 / myApp/faces/login.jspx and http://my-pc:8080 / myApp/face/hand.jspx to call the pages and the navigation between them did not.

    Everything worked perfectly when I used the same URL without the extension ".jspx.

    Ciao,.

    Federico

  • Deploy to JBoss 5 - 11.1.2 Jdev ADF

    Hello:
    Has anyone successfully deployed an application ADF/Oracle DB in Jboss 5?

    Jdev has a deployment for JBoss 5 descriptor, but even a simple "Hello World" application fails. I searched google and see a lot of hits, but the references are incomplete or who use older versions of the JARS. Please don't refer to these positions to well know, I am looking for real documentation.

    Oracle supports the so-called deployment on third-party application servers... Where are the steps of specifiic and POTS to deploy an ADF application with an Oracle DB connection on JBoss 5 using Jdev 11.1.2?

    Thank you.

    JDeveloper supports 'Generic Java EE' deployment of JBoss, ADF 11 g is not supported on JBoss.
    See the official certification document Oracle:
    http://www.Oracle.com/technetwork/developer-tools/jdev/jdev11gr2-CERT-405181.html#Application_Servers

  • [ADF, JDev12.1.3] How to configure GlassFish to run my application ADF using HTTPS/SSL?

    Hallo,

    on GlassFish 3.1.2 I have deployed my ADF Essentials application.

    Now I configure GlassFish server to run my application using HTTPS/SSL.

    I would like to install the certificate MyDomainCert.crt, Intermediate.cert and MyDomainPrivateKey.crt files and configure GlassFish.

    Could you kindly advice me a clear and not to hard document that describes how to configure the application server?

    Thank you very much

    Federico

    Finally, I reached the goal

    These links also helped me:

    Installation certificate Thawte on 3.11 Glassfish server for https traffic. Art of Software Engineering

    https://javadude.WordPress.com/2013/03/22/GlassFish-v3-1-2-and-SSL/

    Programming the Mr.J4mes Wonderland: [How To] - implement the SSL certificate on the GlassFish application server

    In addition, I would say to use the free program "KeyStore Explorer" (key - homepage file Explorer) to easily import the certificates and private key in the keystore of Java.

    Ciao,.

    Federico

  • Not able to run jspx Pages of BPM Application by using built-in WLS JDev ADF

    Hello

    JDeveloper 11.1.1.6 BPM 11.1.1.6, WLS 10.3.6, model: BC4J

    I created a BPM Application in JDeveloper, with a process and a ViewController ADF for user interface project and a model project
    The application is deployed on the WLS and works when I test it in the workspace of BPM.

    But the UI of the ADF is based on custom of the database data and is a bit heavy UI with lots of data and features.
    I am trying to create entire user interface in taskflows separate and use as auto generated pages created by the plugin BPM in JDev position regions.

    Can I deploy the entire application and test it in the workspace of BPM, but it takes a lot of time for the process of generation and deployment.

    So I tried to create a stand-alone page in the ADF ViewController project and use the ADF taskflows in the page to test in JDev integrated WLS.
    So in this way I can concentrate on test only the ADF UI related code and not worry the BPM process to test the user interface. (Assuming that the process works well).

    Please note that I don't want to test the BPM process (at this point), but I want to test only the built-in ADF UI of WLS.

    When I try to run the stand-alone page in WLS, it gives me the error below.

    Has anyone tried to run ADF UI pages in a BPM Application using JDeveloper.
    Is there another way to test only the pages of user interface instead of deploying the entire BPM to WLS?
    Is there a setting etc, we can change and turn the page in JDeveloper?

    Thanks for any help
    Concerning
    Sameer

    Error in JDeveloper IWLS
    -----------------------------------
    [10: 13:59] Application deployment...
    < 13 June 2012 13:13:15 EDT > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1339596839457 'for task ' 0'. Error is: "weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference." References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false]. »
    weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference. References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. check the log file full stacktrace
    >
    < 13 June 2012 16:14:00 CEST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task of application "XXXComboApplication" >.
    < 13 June 2012 16:14:00 CEST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference. References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. check the log file full stacktrace
    >
    # Cannot run application XXXComboApplication due to the deployment on IntegratedWebLogicServer error.
    [10:14] # incomplete deployment. ####
    [10:14] deployment remote has failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    [XXXComboApplication application stopped and cancelled Server Instance IntegratedWebLogicServer]
    -----------------------------------

    Hi Sameer
    1. I know exactly what your condition is and what you're trying to do. I'll go with a few assumptions about what you have and on the basis that I say, unfortunately NO, that you try will NOT work. But there are other ways to test your stuff.

    2. you have a bpm, i.e. with a single process bpm application and a Web of TaskForms project (which has taskDetails pages that use your JSFF of fragments using the af:region tag). Don't forget to build the TaskForms project by selecting a. File TASK etc. You have a lot of things db backend and I hope that you have created entities, EJBs and DataControls. Then, you create links in JSFF etc. Everything is deployed on a full SOA domain fleded and you're good. BUT Yes, it is very tedious and painful to test. I agree.

    3. now you want to test only UI part without any process and tasks. To do this, you try to deploy on field of JDeveloper's integrated WLS and it does not work. Yes, it will fail, and it will not work. Because the domain default wls is a simple domain with just core j2ee and some modules of adf deployed. BUT your TaskForms also has some modules of bpm/soa. In JDeveloper, select your project TaskForms-> right click-> properties-> libraries project and Classpath-> right side, you see a lot of modules BPM for ex: Module of BPM. If you view it, you will see the modules (jars defined in this ex: bpm - services.jar). NOW your integrated domain name do NOT have these deployed modules, and so you get exactly the error that is entirely logical.

    4. go in your area/config integration jdeveloper and open config.xml file folder. Open the file config.xml of your entire standalone soa domain also. Search for "oracle.soa.workflow.wc" in these two files. You will find this soa area but NOT in the area of default jdeveloper. It is the question.

    5. now, you can not make your name domain integrated to work for SOA/BPM applications. This requires a lot of effort to add all modules and corrupt your domain also name. I would not recommend this.

    Now, is there another way, you can test your pages of fragment that has stuff heavy backend. Yes. In your app JDev, create a new Web project with only the ADF modules. Remember when we create an application for the PIA, it creates 2 ViewController and model projects. So everything you want is create a new ViewController project that has all the web, jsff, javax, adl added modules. In what you create DataControls for your EJBs and create or copy Fragments that you already have. Then create pages of simple jsxp as hell01.jsxp, hello2.jspx etc and include your fragments using af: region etc. You can deploy your application to the exclusion of TaskForms on domain JDeveloper. As to the level of the EAR, creating a new deployment profile. Add all (EJB) projects, including the new project viewcontroller except for process and TaskForms. I am convinced that it will work. Then you test your JSPx files directly their performance:
    http://localhost:7101/myViewWeb/faces/hello1.JSPX (assuming that the file jspx is under folder contenuWeb)
    http://localhost:7101/myViewWeb/faces/hello2.JSPX

    If none of the fragments needs input data set, you can still create a PageFlowController class and have life like prepareModel etc. methods to define the criterion of data entries. Assign to this pageflowcontroller the pagedef. So every time that you run jspx, he calls this controller pageflow. Or just have a few fields on your screen jsff that stores data and a link to a managed bean. In this way, test you and certify your screen jsff, connections, ejb code backend db stuff etc etc. Once it works, it will work if you put this jsff in file taskDetails.jspx also with maybe a few minor changes.

    If you want to really test your UI and all the backend without too much stuff to focus on the tasks of process / and NOT using soa domain, then this is the only way to go. I wouldn't recommend updating JDev field with stuff of soa/bpm. This is just my 2 cents opinion.

    Thank you
    Ravi Jegga

  • [SOLVED] Problems of packaging and deploying an application in an external WLS ADF

    Hello.

    I use JDeveloper 11.1.1.7.0, who has a WebLogic Server embedded 10.3.5.

    When I test my application by right clicking on my page and run... in WLS on-board, everything works perfectly.

    It works with any page and any flow.

    Now, I have to deploy the same application to an external 10.3.6 WLS

    First of all, I have the application package in one EAR to aid Assistant JDeveloper. I did right click in application-> Deploy-> MyApplication...-> select deploy ear...


    Then, when .ear file is built, I run startWebLogic (I have already created a domain with the ADF operating options) and deploy the .ear as an app.

    I have a lot of warnings, but the final message is deployment is ok.

    It is therefore my surprise that I get a NullPointerException in the first page I test in the first access to an ADF/view iterator in the Java class:

    DCIteratorBinding iter = ADFUtils.findIterator("BusinessDataView1Iterator");
    ViewObject vo = iter.getViewObject(); -- iter is null
    
    
    

    This had worked many times in embedded 10.3.5 WLS.

    10.3.6 WLS console output is:

    19-feb-2014 15:04:26 oracle.adfinternal.controller.metadata.MetadataServiceImpl$Bootstrap logActivityWarnings
    WARNING: ADFc: /WEB-INF/adfc-config-reportes.xml:
    ...
    ...
    
    ...
    ...
    ADVERTENCIA: ADFc: /WEB-INF/adfc-config.xml:
    19-feb-2014 15:04:26 oracle.adfinternal.controller.metadata.MetadataServiceImpl$Bootstrap logBeanWarnings
    ADVERTENCIA: ADFc: Se ha detectado una definicion de bean gestionado duplicada para 'backing_views_administracion_inicio'.
    ...
    ...
    
    ...
    ...
    19-feb-2014 15:04:30 oracle.adfinternal.controller.util.WebAppConfigFactory createConfig
    INFO: ADFc: Se estß utilizando la vista '<null-value>' como la pßgina inicial de la aplicaci¾n.
    19-feb-2014 15:04:32 oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx
    ADVERTENCIA: Incomplete connection reference object for connection:MY_DB_JDBC
    19-feb-2014 15:04:47 oracle.adfinternal.controller.application.AdfcExceptionHandler handleException
    GRAVE: ADFc: al manejar una excepci¾n, el manejador de excepciones de la aplicaci¾n ha devuelto una nueva excepci¾n.
    java.lang.NullPointerException
            at com.mypackage.Gestion.<init>(Gestion.java:37)
    
    
    
    

    Between the sections of points, there are similar warnings.

    I checked the .ear files (contains a .war), decompression it (the .war too) to a different folder and look for duplicates in text in any file and adfc - config.xml does exist only once in the .ear

    How can I solve this? Someone have had similar problems during deployment in an external WLS?

    Any help is very much appreciated, because this is so stuck to me, and it is urgent too.

    I thank in advance. Concerning

    Well, I finally solved my problem.

    The steps are:

    Finally, it works.

    Now, let me ask another question.

    I have change the DB connection (not the name, is not posible) to another user in the same DB schema. I want to check if the application still works and it does. But why? My test is right?

    Thanks Timo. Concerning

  • Call EJB 3.1 deployed in Glassfish 3.1 from a web application in Tomcat7

    I have a bean EJB 3.1 deployed on server Glassfish 3.1.1. I want to call this a remote web client deployed in Tomcat 7 bean. The EJB class and its remote interface is as follows...

    Remote interface-

    @Remote
    public interface MyEJBRemote
    {
    public String sayHello();
    }
    EJB bean-

    @Stateless
    / public class MyEJB implements MyEJBRemote
    {

    public String sayHello()
    {
    Return "Hello EJB Client.» Hope everything works perfectly. « ;
    }

    }
    In the remote client, I have the following code

    Properties props = new Properties ();

    props.setProperty ("java.naming.factory.initial", "com.sun.enterprise.naming.SerialInitContextFactory");
    props.setProperty ("java.naming.factory.url.pkgs", "com.sun.enterprise.naming");
    props.setProperty ("java.naming.factory.state", "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
    props.setProperty ("org.omg.CORBA.ORBInitialHost", "localhost");
    props.setProperty ("org.omg.CORBA.ORBInitialPort", "3700");

    InitialContext ic = new InitialContext (props);

    MyEJBRemote myEJBREmote = (MyEJBRemote)ic.lookup("java:global/MyEJB-1/MyEJB!com.dw.ejb.MyEJBRemote");
    Now the problem is with the last line of code. In Eclise that line of code is marked as error as the MyEJBRemote class is not there in the project of the client (the web application will be deployed in tomcat 7). So where can I get the client generated of the EJB jar deployed to include in the client project? Is it possible to generate this jar file.

    I tried to use the command of glassfish

    asadmin deploy generatermistubs recover. MyEJB.jar
    But glassfish doesn't generate any file MyEJB - client.jar. I tried many times but without success. I read a lot of forums. In one of them, it was mentioned that of EJB 3.1, glassfish does not generate the client stubs.

    Does that mean that you cannot use remote clients of EJB 3.1 in Glasssfish more? Because the client project will never compile without the MyEJB - client.jar.

    You don't have to produce anything, you need the class business interface in your client application (in this case MyEJBRemote). One way to do that is to put the interfaces of the company in a separate pot and the link that jar in the projects of your client and the server. Glassfish FAQ 3 documents the need to include the class business interface in your client application:

    http://GlassFish.Java.NET/JavaEE5/EJB/EJB_FAQ.html#StandaloneRemoteEJB

    Another option is to turn the EJB into a JAX - WS Web service, which can be as easy as only adding a few annotations. In this way, that you need not all additional dependencies at all; the only thing you need to do is generate stub classes using the wsimport (also part of the JDK) for your client application. I'm not a big fan of SOAP, but for internal use, I think it's lighter and more portable than remote EJB.

    I can't offer more advice on the topic that I do not use Glassfish. To help you, I advise you to ask in the Glassfish forum where you'll find more people who were in the same boat you are.

    http://www.Java.NET/forums/GlassFish/GlassFish

  • Skins CSS / attractive application / with JDev/ADF/JSF?

    Hello

    I have no experience with CSS or make components look rich and attractive.

    1 is it possible with ease with JDev or any feature ADF/JSF?

    2. If I double click on an item in the window Structure of JDev and go to the tab advanced, I have the possibility of manufacturing components colored/bold/padding etc.. But I have several jspx with several components in them. I can do this in one place where I can criteria (Word to say for a button - "BOLD", color etc) and it will apply to all (buttons) in my application.

    As always, your answers are greatly appreciated.

    Thank you

    Create an xml file called trinidad - skins.xml under the WEB - INF view-controller and place this code.

    
    
    
    lspskin.desktop
    myadfskin
    blafplus-rich.desktop
    /mystyle.css
    
     
    

    Trinidad-config.xml file, add the 3rd threshold.

    
    
    myadfskin
     
    

    create a css file called 'myStyle. CSS"and the use of the styles mentioned on the site of count.

  • Jdev ADF 11G: selection of multiple rows in a table does not work

    Hello

    I'm having a problem to select several lines in a table ADF using Jdev 11 G.

    A table of the ADF fell on the JSP and "Line Selection" is checked, when asked. In properties, change "RowSelection" "multiple". When running, the table upwards without that user can check for lines that they want to select the first column. A row can be selected by clicking anywhere on this line. Even with the 'Control' key is pressed, it does not allow the user to select multiple lines.

    Y at - it something wrong this function or have I missed something? Help, please.

    Thank you very much

    Annie

    Try this. delete this table. Drag 'n drop it again. Just change rowSelection "multiple" to "single". Run the page and see. in this way, you know what was wrong if it works?

  • Multilingual in Jdev ADF support

    Hello. I use Jdev 11 g R1.

    I am trying to support the English and Hebrew in my application.

    I followed tutorial to create resources for model and ViewController files.

    ViewController:

    ===========

    To view controller, it worked just file. I created ViewControllerBundle_iw.properties and made a change in faces - config.Xml. I change the language of the browser (Chrome) in Hebrew, and the page is displayed correctly

    Model

    ==================================

    I created the file ModelBundle_iw_IL.properties . I modifiled AM property and value

    jbo.default.CountryHE
    jbo.default.LanguageIW

    If I run the simulator of Application Module I can see properly displayed VO labels in Hebrew.

    But!

    If I drop the VO on the page and execute it, the labels are always dyspayed in English. Am I missing something?

    Answer to myself:

    Everything started working after renaming to ModelBundle_iw_IL.properties to ModelBundle_iw.properties

Maybe you are looking for

  • Equivalent to USB-6008 with a single output channel?

    I would like to integrate the features of the usb-6008 in a small package and really need a release. Is there a suitable product?

  • Train simulator 1.2 with Vista?

    Hello Ive installed TS 1.2 on Vista, downloaded, patches and changed all the bits I need, but it just goes on to say: "put the right cd disc in the Republic of Montenegro", I have two drives, but I just think that it does not work with Vista? Any hel

  • Can read the SD card SDXC standard S7-392?

    The Acer S7-392 record indicate only "SD", but not whether the SDHC or SDXC card types can be read. A quick search of the web shows several contradictory web pages! Some say: 'Yes,' some say 'no '. So, if all goes well a real representative Acer or a

  • You want to change the registry to restrict limited users.

    IOriginal title: backup of registry permissions. I found a few customizations that involves changing the registry permissions rather than the entries to allow limited users to do some harmless things that seem to require an account administration.Thi

  • Printable for deskjet 3050 J611n.

    Just connected and set up eprint.  There are platelets (such as a calendar) I like to use, but all generate the message: not supported on my printer, when I try to choose for my deskjet 3050 J611n. I just installed this new printer.