Number of Login ADF pages with ADF security

Hi all

I created a login using Jdeveloper 12 c page. I created this based on a demo of youtube video connection. (https://www.youtube.com/watch?v=mAWBezngA1s)

When I tried to enter username and password and click on the "connect" button, the login page becomes just refreshed and not be re-directed to the homepage (protected.jsf).

The code that is executed when clicking the "connect" button is as below.

In Jdeveloper console, I can see that get printed "coming here...". ». "Come here...". »

    public String doLogin() {
        String un = userName;
        byte[] pw = password.getBytes();
        FacesContext ctx = FacesContext.getCurrentInstance();
        HttpServletRequest request = (HttpServletRequest) ctx.getExternalContext().getRequest();
        Subject mySubject;
        try {
            mySubject = Authentication.login(new URLCallbackHandler(un, pw));
            ServletAuthentication.runAs(mySubject, request);
            ServletAuthentication.generateNewSessionID(request);
            String loginUrl = "/adfAuthentication?success_url=/faces/protected.jsf";
            HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse();
            RequestDispatcher requestDispatcher = request.getRequestDispatcher(loginUrl);
            requestDispatcher.forward(request, response);
            System.out.println("Coming Here....");
        } catch (FailedLoginException e) {
            FacesMessage msg =
                new FacesMessage(FacesMessage.SEVERITY_ERROR, "Invalid username or password",
                                 "Invalid username or password");
            ctx.addMessage(null, msg);
        } catch (Exception e) {
            System.out.println("In Exception....");
            FacesMessage msg =
                new FacesMessage(FacesMessage.SEVERITY_ERROR, "Error caught in Exception", "Error caught in Exception");
            ctx.addMessage(null, msg);
        }
        return null;
    }

I created the user-> business-> Application role role. Also given A newly created page protected.jsf to the application role.

I tried to replace 'protected.jsf' 'xyz.jsf' (scheduled to get an error because there is no page called xyz.jsf), but refreshes him just screen, do not throw any mistake also.

Could you please let me know what could be the problem.

I would like to know if I need to provide more details.

See you soon

AJ

Live view is registered in jdev 11 GR 2.

One of the big differences between 11 billion and 12 c is the default behavior for the button component.

11 g af:commandButton a partialSubmit = false, while in 12 c af:button a partialSubmit = true by default.

For example, the value partialSubmit = "false" on your login button.

Dario

Tags: Java

Similar Questions

  • Page does not, while configuring the ADF security

    Hello world

    I use Jdeveloper 12 c, and my problem is stated as:

    I developed an application in jdeveloper 11g, then I migrated it to 12 c. He was executed successfully on my own laptop. Can I send it to my client, when the client tried to run on integrated WLS, the Index.jsf (first page to run) is stuck. When he removed the ADF security configuration it run correctly. But once again, once set up, he gave the same problem means Index.jsf gets stuck and tries to reload and reload and reload, but nothing happens.

    In any case, my paper is here:

    Using the HTTP 7101 port *.

    Using the SSL 7102 port *.

    "User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\bin\startWebLogic.cmd C:\Users\Lenovo n. b."

    [First IntegratedWebLogicServer.]

    [waiting for the server to complete its initialization...]

    .

    .

    Arguments of memory in JAVA: - Xms256m-Xmx512m - XX: PermSize = 128 m - XX: MaxPermSize = 512 m

    .

    CLASSPATH is C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\features\com. Oracle.DB.jdbc7 - DMS.jar; C:\Progra~1\Java\JDK18~1.0_6\lib\tools.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic_sp.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.jar; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\net. SF.antcontrib_1.1.0.0_1-0b3\lib\ant-contrib.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\modules\features\oracle.WLS.common.nodemanager_2.0.0.0.jar; C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\internal\features\jrf_wlsFmw_oracle.JRF.WLS.classpath_12.1.3.jar; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\com. Oracle.Cie.config - WLS - online_8.1.0.0.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derbynet.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derbyclient.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derby.jar; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\xqrl.jar

    .

    PATH =; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\native\win\x64; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\bin; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\org. Apache.ant_1.9.2\bin; C:\Progra~1\Java\JDK18~1.0_6\jre\bin; C:\Progra~1\Java\JDK18~1.0_6\bin; C:\oraclexe\app\oracle\product\112~1.0\server\bin; C:\Progra~3\Oracle\Java\javapath; C:\Progra~2\Intel\ICLSCL~1\; C:\Progra~1\Intel\ICLSCL~1\; C:\Windows\System32; C:\Windows; C:\Windows\System32\wbem; C:\Windows\System32\WINDOW~1\v1.0\; C:\Progra~1\Intel\INTEL(~1\DAL; C:\Progra~1\Intel\INTEL(~1\IPT; C:\Progra~2\Intel\INTEL(~1\DAL; C:\Progra~2\Intel\INTEL(~1\IPT; C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\native\win\x64\oci920_8

    .

    ***************************************************

    * To start WebLogic Server, use a username and *.

    * password assigned to an administrator-level user.  For *.

    * server administration, using the WebLogic Server *.

    * the http://hostname:port\console console *.

    ***************************************************

    from weblogic with the Java version:

    Java version "1.8.0_60".

    Java (TM) SE Runtime Environment (build 1.8.0_60 - b27)

    Java for 64-bit Server VM (build 25.60 - b23, mixed mode)

    WLS starting with line:

    C:\PROGRA~1\Java\JDK18~1.0_6\bin\java-serveur-Xms256m-Xmx512m - XX : PermSize = 128m - XX : MaxPermSize = 512m-Dweblogic.Name=DefaultServer-Djava.security.policy=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.policy-Djavax.net.ssl.trustStore=C:\Users\LENOVO~1\AppData\Local\Temp\trustStore7412087253969911615.jks-Doracle.jdeveloper.adrs=true-Dweblogic.nodemanager.ServiceEnabled=true - Xverify : none-Djava.endorsed.dirs=C:\PROGRA~1\Java\JDK18~1.0_6\jre\lib\endorsed ; C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\endorsed-Djava.protocol.handler.pkgs="oracle.mds.net.protocol « - Dopss.version=12.1.3-Digf.arisidbeans.carmlloc=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\carml-Digf.arisidstack.home=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\arisidprovider-Doracle.security.jps.config=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\jps-config.xml-Doracle.deployed.app.dir=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\servers\DefaultServer\tmp\_WL_user - Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\ Middleware\Oracle_Home\oracle_common\modules\oracle.ossoiap_12.1.3,C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\oracle.oamprovider_12.1.3,C:\Oracle\Middleware\Oracle_Home\oracle_common\modules\oracle.jps_12.1.3 -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=C:\Oracle\Middleware\Oracle_Home\oracle_common -Djrf.version=12.1.3 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1 -Doracle.server.config.dir=C:\Users\LENOVO~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\LENOVO~ 1\AppData\Roaming\JDEVEL~ 1\SYSTEM~1.100\DEFAUL~1\config\fmwconfig-Doracle.mds.filestore.preferred=true-Dadf.version=12.1.3-da-Dwls.home=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server-Dweblogic.home=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server-Djps.app.credential.overwrite.allowed=true-Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder-Djava.util.logging.manager=oracle.core.ojdl.logging.ODLLogManager weblogic. Server

    < 7 October 2015 20:38:33 AST > < Info > < security > < BEA-090905 > < disable provider JCE CryptoJ self-intégrité for better startup performance. To allow this control, enter - Dweblogic.security.allowCryptoJDefaultJCEVerification = true. >

    < 7 October 2015 20:38:33 AST > < Info > < security > < BEA-090906 > < change the default Random Number Generator in RSA CryptoJ of ECDRBG128 to FIPS186PRNG. To disable this change, specify - Dweblogic.security.allowCryptoJDefaultPRNG = true. >

    < 7 October 2015 20:38:34 AST > < Info > < WebLogicServer > < BEA-000377 > < since Java hotspot 64-bit Server VM WebLogic Server Version 25.60 - b23 of Oracle Corporation. >

    < 7 October 2015 20:38:34 AST > < Info > < management > < BEA-141107 > < Version: WebLogic Server 12.1.3.0.0 Wed May 21 18:53:34 PDT 2014 1604337 >

    < 7 October 2015 20:38:36 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed at the START. >

    < 7 October 2015 20:38:36 AST > < Info > < WorkManager > < BEA-002900 > < Initializing self-adjusting thread pool. >

    < 7 October 2015 20:38:36 AST > < Info > < WorkManager > < BEA-002942 > < CMM level memory becomes 0. Sleep thread pool to 256. >

    < 7 October 2015 20:38:37 AST > < opinion > < Log Management > < BEA-170019 > < C:\Users\Lenovo NB User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log server log file is opened. All events in the log server-side will be written to this file. >

    Oracle.security.jps.JpsStartup October 7, 2015 departure 20:38:38

    INFO: Jps at initialization.

    October 7, 2015 20:38:40 oracle.security.jps.internal.idstore.util.LibOvdUtil pushLdapNamesToLibOvd

    INFO: Pushed ldap name and types of information to libOvd. LDAPS: DefaultAuthenticator:idstore.ldap.provideridstore.ldap.

    Oracle.security.jps.JpsStartup October 7, 2015 departure 20:38:42

    INFO: Jps began.

    < 7 October 2015 20:38:43 AST > < error > < security > < BEA-000000 > < SQL statement [Security: 090739] SQLAddMemberToGroup does not seem to be appropriate >

    < 7 October 2015 20:38:43 AST > < error > < security > < BEA-000000 > < SQL statement [Security: 090739] SQLCreateUser does not seem to be appropriate >

    < 7 October 2015 20:38:43 AST > < error > < security > < BEA-000000 > < SQL statement [Security: 090739] SQLCreateGroup does not seem to be appropriate >

    < 7 October 2015 20:38:44 AST > < opinion > < security > < BEA-090082 > < security initialization using security realm myrealm. >

    October 7, 2015 20:38:46 oracle.dms.servlet.DMSServletFilter setEagerlySetContextValues

    INFO: The setting that controls eager recovery of certain types of data execution context was set to true.

    2015-10-07 20:38:46.400/13.614 Oracle coherence 12.1.3.0.0 < Info > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): responsible operational configuration of "jar:file:/C:/Oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence.xml".

    2015-10-07 20:38:46.462/13.675 Oracle coherence 12.1.3.0.0 < Info > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): charge of operational substitutions of "jar:file:/C:/Oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml".

    2015-10-07 20:38:46.465/13.679 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override ' / tangosol-coherence - override.xml ' is not specified

    2015-10-07 20:38:46.470/13.683 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override "cache-factory - config.xml" is not specified

    2015-10-07 20:38:46.473/13.687 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override "cache-factory-generator - config.xml" is not specified

    2015-10-07 20:38:46.531/13.745 Oracle coherence 12.1.3.0.0 < D5 > (thread = ExecuteThread [ASSET]: '0' for the queue: "(self-adjusting) weblogic.kernel.Default" Member = n/a): configuration optional override "/ custom - mbeans.xml ' is not specified

    Oracle Version 12.1.3.0.0 Build 52031 consistency

    Grid edition: development Mode

    Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

    < 7 October 2015 20:38:54 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server state has changed to STANDBY. >

    < 7 October 2015 20:38:54 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed at the START. >

    < 7 October 2015 20:38:54 AST > < opinion > < Log Management > < BEA-170032 > < server has detected configuration ODL for java.util.logging. The configuration of PlatformLoggerLevels on the LogMBean attribute will be ignored. >

    < 7 October 2015 20:38:57 HNA > < error > < hats > < BEA-149205 > < failed to initialize the application "LocalSvcTblDataSource" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection pool data source 'LocalSvcTblDataSource '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: unable to start database "demoDB" with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection pool data source 'LocalSvcTblDataSource '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: unable to start database "demoDB" with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

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

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection pool data source 'LocalSvcTblDataSource '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: unable to start database "demoDB" with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:38:58 AST > < error > < hats > < BEA-149205 > < failed to initialize application "SDM-GOSA" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create connection pool for datasource 'mds-GOSA. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create connection pool for datasource 'mds-GOSA. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

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

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create connection pool for datasource 'mds-GOSA. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:38:59 AST > < error > < hats > < BEA-149205 > < failed to initialize application "opss-audit-DBDS" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-DBDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-DBDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

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

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-DBDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:39 AST > < error > < hats > < BEA-149205 > < failed to initialize application "opss-audit-viewDS" due to the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-viewDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-viewDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

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

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-audit-viewDS. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < 7 October 2015 20:39:01 AST > < error > < hats > < BEA-149205 > < failed to initialize the application 'opss-data-source' because of the error weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-data-source '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    weblogic.application.ModuleException: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-data-source '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:175)

    to weblogic.application.internal.flow.ModuleStateDriver$ 1.next(ModuleStateDriver.java:170)

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

    Truncated. check the log file full stacktrace

    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: could not create a connection from the pool for datasource 'opss-data-source '. With the exception of the DBMS driver: error SQL DERBY: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: failed to start in database 'model' with the sun.misc.Launcher$AppClassLoader@61bbe9ba loader class, see the following exception for details.:SQLSTATE: XJ001

    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:360)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1320)

    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1237)

    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:240)

    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1624)

    Truncated. check the log file full stacktrace

    >

    < oracle.adf.common > < SensorTable > < getSensors > < detected sensors created in an invalid ADFContext were later prominent in a valid ADFContext.  The sensors must be created in a valid ADFContext.  Please enable the finest logging for more information. >

    < 7 October 2015 20:39:12 AST > < opinion > < Log Management > < BEA-170027 > < server was able to establish a link with the level of field diagnosis Service. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed to the admin. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed for RESUMING. >

    < 7 October 2015 20:39:12 AST > < opinion > < security > < BEA-090171 > < loading identity certificate and the private key stored under the pseudonym of DemoIdentity starting from the keystore file kss://system/demoidentity kss. >

    < 7 October 2015 20:39:12 AST > < opinion > < security > < BEA-090169 > < loading trust file of certificates from the kss kss://system/trust keystore. >

    < 7 October 2015 20:39:12 AST > < opinion > < security > < BEA-090169 > < loading trust file of certificates from the C:\PROGRA~1\Java\JDK18~1.0_6\jre\lib\security\cacerts jks keystore. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel 'by default [5]' now listen on 127.0.0.1:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [5]" is now listening on 127.0.0.1:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [1] ' is now listening on d 74 fe80:0:0:0:4865:7: a78:e39f:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "[1] by default ' is now listening on d 74 fe80:0:0:0:4865:7: a78:e39f:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [3]" is now listening on fe80:0:0:0:557f:79 d 9:1 c 05: 6ad9:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [3]" is now listening on fe80:0:0:0:557f:79 d 9:1 c 05: 6ad9:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [6]" now listen on 0:0:0:0:0:0:0:1:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "DefaultSecure [6] ' now listen on 0:0:0:0:0:0:0:1:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel 'DefaultSecure' is now listening on 192.168.1.14:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default" is now listening on 192.168.1.14:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [2]" is now listening on fe80:0:0:0:594e:eca4:a12d:ab42:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [2]" is now listening on fe80:0:0:0:594e:eca4:a12d:ab42:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < Channel "Default [4]" now listen on fe80:0:0:0:0:5efe:c0a8:10e:7101 for iiop, t3, ldap, snmp, http protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < Server > < BEA-002613 > < channel "DefaultSecure [4]" is now listening on fe80:0:0:0:0:5efe:c0a8:10e:7102 for iiops, t3s, ldaps, https protocols. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000331 > < start the WebLogic Server Administration Server "DefaultServer" domain "DefaultDomain" running in development mode. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000360 > < server is started in OPERATION. >

    < 7 October 2015 20:39:12 AST > < opinion > < WebLogicServer > < BEA-000365 > < Server state has changed to RUNNING. >

    [20: 39:14] * WARNING: Application TaskManagementSystem may have been left to be deployed on the server.  Cancel the deployment of the administration console.

    IntegratedWebLogicServer start time: 42061 ms.

    [IntegratedWebLogicServer started.]

    [Running the application on IntegratedWebLogicServer TaskManagementSystem...]

    [20: 39:14] TMSViewControllerWebApp.war of Module Web recognized in the project TMSViewController.jpr

    [20: 39:14]-deployment began.  ----

    [20: 39:14] the target platform's (Weblogic 12.x).

    [20: 39:15] recovery of the existing application information

    [20: 39:15] analysis of the dependence running...

    [20: 39:15] deployment 2 profiles...

    [20: 39:15] wrote on the Web for C:\Users\Lenovo NB User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\o.j2ee\drs\TaskManagementSystem\TMSViewControllerWebApp.war application Module

    [20: 39:15] wrote the Module Enterprise Application C:\Users\Lenovo NB User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\o.j2ee\drs\TaskManagementSystem

    [20: 39:15] 1 deployment or the data sources on the server...

    [20: 39:16] Application deployment...

    < 7 October 2015 20:39:18 AST > < WARNING > < HTTP > < BEA-101384 > < WLServlet annotation is deprecated, use instead servlet 3.0 annotation. App:TaskManagementSystem@TMS, Class: oracle.adfinternal.view.faces.activedata.AdsServlet >

    < oracle.as.ccw.jmx.CCWCache > < CCWCache > < AutoRepublish > < error auto services - republish CCW >

    com.oracle.cie.servicetable.external.ServiceTableException: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:99)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getLocalConnection(ServiceTableImpl.java:223)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:405)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:379)

    at oracle.as.ccw.jmx.CCWCache.autoRePublish(CCWCache.java:320)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.processEditSessionChanges(WLSInternalEventsListener.java:231)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.handleEvent(WLSInternalEventsListener.java:148)

    at weblogic.management.eventbus.spi.InternalEventBusImpl.send(InternalEventBusImpl.java:75)

    at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.commit(RuntimeAccessDeploymentReceiverService.java:463)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.commit(DeploymentReceiverCallbackDeliverer.java:64)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.callDeploymentReceivers(AwaitingCommit.java:241)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.handleCommit(AwaitingCommit.java:137)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.receivedCommit(AwaitingCommit.java:44)

    at weblogic.deploy.service.internal.transport.CommonMessageReceiver.receiveRequestCommitMsg(CommonMessageReceiver.java:517)

    to weblogic.deploy.service.internal.transport.CommonMessageReceiver$ 3.run(CommonMessageReceiver.java:797)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:548)

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

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

    Caused by: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180)

    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:270)

    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)

    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253)

    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)

    at javax.naming.InitialContext.lookup(InitialContext.java:417)

    at com.oracle.cie.servicetable.util.JdbcUtil.getOnlineLocalSvcTblConnection(JdbcUtil.java:383)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:92)

    ... 18 more

    < oracle.adf.common > < AdfDiagnosticsJarsVersionDumpImpl > < executeDump > < path of the discharge of version jars: NB C:\Users\Lenovo User\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\servers\DefaultServer\logs/TaskManagementSystem-Versions.csv >

    [20: 39:27] Application deployed successfully.

    [20: 39:27] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:

    [20: 39:27] http://192.168.1.14:7101 / TMS

    [20: 39:27] download jazn-data users.

    [20: 39:27] update user "Davis."

    < 7 October 2015 20:39:28 AST > < WARNING > < RMI > < BEA-080003 > < A RuntimeException was generated by the RMI server: javax.management.remote.rmi.RMIConnectionImpl.invoke (Ljavax.management.ObjectName; Ljava.lang.String; Ljava.rmi.MarshalledObject; [Ljava.lang.String; Ljavax.security.auth.Subject ;)

    javax.management.RuntimeMBeanException: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi.

    javax.management.RuntimeMBeanException: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)

    to weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$ 16.run(WLSMBeanServerInterceptorBase.java:449)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi

    at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.setUserDescription(DBMSSQLAuthenticatorDelegateImpl.java:469)

    at weblogic.security.providers.authentication.SQLAuthenticatorImpl.setUserDescription(SQLAuthenticatorImpl.java:84)

    at weblogic.security.providers.authentication.SQLAuthenticatorMBeanImpl.setUserDescription(SQLAuthenticatorMBeanImpl.java:424)

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

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

    Truncated. check the log file full stacktrace

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)

    Truncated. check the log file full stacktrace

    >

    [20: 39:28] ERROR: unable to set the description for the user "Davis."  Reason: weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateException: parameter description [Security: 090256] error of mudi

    [20: 39:28] for deployment time: 13 seconds

    [20: 39:28]-deployment is complete.  ----

    Run start time: 13489 ms.

    [Application running on IntegratedWebLogicServer TaskManagementSystem]

    URL - target http://127.0.0.1:7101/TMS/faces/index.JSF

    < 7 October 2015 20:39:38 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,972 during the inactive configured timeout of 5 seconds. >

    < 7 October 2015 20:39:38 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,973 during the inactive configured timeout of 5 seconds. >

    < 7 October 2015 20:39:38 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,971 during the inactive configured timeout of 5 seconds. >

    < 7 October 2015 08:42:20 AST > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:50,980 during the inactive configured timeout of 5 seconds. >

    [Requested application termination.  Undeploying application TaskManagementSystem.]

    [20: 42:30] closing the Application Modules in the application 'TaskManagementSystem '...

    [20: 42:30] application in the "TaskManagementSystem" application Modules have been closed

    [20: 42:30] determine the target Modules...

    [20: 42:30] cancellation of the Application deployment...

    [20: 42:31] [Deployer: 149192] Operation 'delete' on request 'TaskManagementSystem' is underway on "DefaultServer".

    < oracle.as.ccw.jmx.CCWCache > < CCWCache > < AutoRepublish > < error auto services - republish CCW >

    com.oracle.cie.servicetable.external.ServiceTableException: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:99)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getLocalConnection(ServiceTableImpl.java:223)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:405)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.query(ServiceTableImpl.java:379)

    at oracle.as.ccw.jmx.CCWCache.autoRePublish(CCWCache.java:320)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.processEditSessionChanges(WLSInternalEventsListener.java:231)

    at oracle.as.jmx.framework.wls.spi.WLSInternalEventsListener.handleEvent(WLSInternalEventsListener.java:148)

    at weblogic.management.eventbus.spi.InternalEventBusImpl.send(InternalEventBusImpl.java:75)

    at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.commit(RuntimeAccessDeploymentReceiverService.java:463)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.commit(DeploymentReceiverCallbackDeliverer.java:64)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.callDeploymentReceivers(AwaitingCommit.java:241)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.handleCommit(AwaitingCommit.java:137)

    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingCommit.receivedCommit(AwaitingCommit.java:44)

    at weblogic.deploy.service.internal.transport.CommonMessageReceiver.receiveRequestCommitMsg(CommonMessageReceiver.java:517)

    to weblogic.deploy.service.internal.transport.CommonMessageReceiver$ 3.run(CommonMessageReceiver.java:797)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:548)

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

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

    Caused by: javax.naming.NameNotFoundException: could not resolve "jdbc. LocalSvcTblDataSource'. Solved "jdbc." another name 'LocalSvcTblDataSource '.

    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180)

    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:270)

    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:224)

    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253)

    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)

    at javax.naming.InitialContext.lookup(InitialContext.java:417)

    at com.oracle.cie.servicetable.util.JdbcUtil.getOnlineLocalSvcTblConnection(JdbcUtil.java:383)

    at com.oracle.cie.servicetable.impl.ServiceTableImpl.getOnlineLocalServiceTableConnection(ServiceTableImpl.java:92)

    ... 18 more

    Best regards,

    Mudi

    What kind of security is implemented in the server that falls out?

    There are a lot of

    <[Security:090739]The sql="" statement="" for="" sqladdmembertogroup="" does="" not="" appear="" to="" be="" correct="">

    way of errors before starting the application to deploy.

    So, I see spaces in the path to the installed jdev. This can cause all sorts of trouble.

    Timo

  • ADF security: Login Pop up-possible window?

    Hey guys,.

    I am a beginner on this forum and for JDeveloper/ADF/Fusion... :D
    Creating a sample application... has been wondering is its possible to have the default ADF security as just a pop-up login page...

    If so how is that possible...?
    Extract sample Login custom jspx... Internet pages but its still a separate page... I guess that the separate page for the Login is quite OLD Fashioned?

    Assistance or Clarification welcome :)

    -Vivek

    It's one of the things that you do first: build a template page with the function of connection via a popup.
    The JDeveloper by Duncan Mills, chapter 21 Security Developer manual is a good example for her.

    HTH,
    -olaf

  • Error in the page when the ADF security enabled

    Hello

    I created an example page JSF with only a text to output "Hello World!"

    When I run the page without activating the safety of the ADF, it works fine.

    I activated the ADF security according to the "Enabling Oracle ADF security 29.3" in Guide of Dev for the ADF.
    Now when I run the page, it shows the default login page. I enter username and password and 'send '.

    After that, it shows an error with the following error page:
    --------------------------------------------------------------------------
    Error 500 - Internal server error
    java.lang.RuntimeException: cannot find FacesContext
    at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
    at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
    at jsp_servlet.__testpage1_jspx._jspService(__testpage1_jspx.java:85)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ------------------------------------------------------------------------------------------------------

    Any suggestion/help in this regard is appreciated.
    Thank you

    Hi vbokar! ;)

    I check your application and I noticed that the political ADF seems be grayed in JDev so I re - run the Configuration Wizard for the ADF security.
    Other changes were:

  • user "vbokar" was added to the application role 'testRole1 '.
    <>changed the password of the user vbokar for "password1" (so I can test it)
  • changed the home page or from the success_url of ' / TestPage2.jspx ' to ' / faces/TesPage2.jspx.

    Run and Viola! It works!
    Here is the updated file...
    https://docs.Google.com/leaf?ID=0b-coz_ZFqg5XMmQyNGZiNTAtY2YwZC00YWMwLWIxNWItM2ExZWVlOTFjN2Ri&hl=en

    Kind regards

    Pino

    PS. as I also proposed Vikram wire, please build > CleanAll your app. Or better yet, remove it and load the one you sent me.

  • ADF security with authentication through DB tables

    I use JDeveloper 11.1.1.2.0.

    I have an application that uses the Security (authentication and authirazation) ADF against the WL embedded ldap. I tried to change the authentication of ldap incorporated into the DB tables. I followed the guide on this blog http://biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html. The ticket was for JDeveloper 11.1.1.1.0 but since there was some little tweeks in the IDE for the safety of the ADF. What I am having a problem with is when I set up the ADF Security Wizard does not all options on the identity store in version 11.1.1.2.0 Jdev. According to the blog, I'm supposed to choose LDAP and not the jazn.com.

    I have configured the WL server according to the blog, and I see my DB-table of users in the myrealm. The provider (in the WL) SQLAuthentication is defined to sufficient and even with the default provider. I tried to use the jazn.com in my application, but it will not authenticate my users db-paintings, only users in the built-in ldap. I have sought detailed information about the configuration of the storage of identity in my application, but have not so far found that whatever it is detailed.

    Someone has tried this in 11.1.1.2.0, any help is appreciated.

    Best regards
    Sturla Thor

    Hello

    Do not select LDAP (and it's not there anymore). Just select the form-based authentication and (which would also generate login and default error pages). Once after that, run the secure page that would be re - direct you to the login page, where you can enter the Unies/PW Nations which is present in the comic book (that you configured by using SQLAuthenticator).

    Arun-

  • Page navigation does not not having activated the ADF security

    Hi all

    I am facing a strange problem. I have 3 pages namely Login.jspx,.jspx Upload and summary.jspx. Untied task flow (adfc-config. (XML), I created the navigation as Login-> Upload-> summary. There is also a back navigation to download-> login page. The user enters the user id and password on the login screen and click on the "submit" button. If the credentials are correct then control flows to the download page. On page load user selects an excel file and click on the download button and the control moves to the summary screen. There is a button more called out on the download screen, which directs the user to the login screen. The navigation works perfectly well if ADF security is disabled. The time where security is enabled, the navigation fails. I used below link to implement security where it is created a java class to manage the authentication of users and move to the next page. On activation of security, I am only able to navigate from screen to connect to the loading screen. After the failure of this navigation. He won't go to the summary page, or it goes back to the login page. Just on the loading screen. Please let me know how to solve this problem. Jdeveloper version is 12.1.3.0

    http://docs.Oracle.com/CD/E15523_01/Web.1111/b31974/adding_security.htm#ADFFD877

    Thank you

    V

    Problem solved. In the java file authentication, I had put under instruction to navigate to the Page of Upload

    LoginUrl = string ' / adfAuthentication? success_url = / faces/Upload.jspx«;»

    I found below old son that says to remove .jspx of the URL and it worked.

    Unbounded task flow works is not in standalone Weblogic Server

    Navigation of the page using adf-config does not

    Correct statement is

    LoginUrl = string ' / adfAuthentication? "success_url = / faces/Upload ';

    Thank you

    V

  • Successful login ADF redirects to the login page

    JDeveloper 11.1.1.6

    Simple login page, simple first page.

    If the connection is successful, then it just goes back to the login page, rather than on the first page.

    I have "redirect after successful authentication" selected and pointing to my first page.

    If incorrect credentials are entered, then it goes to the error page as it is supposed to.

    No idea why this is happening?

    Login.HTML is the welcome file in the xml web, so when I run the app on my weblogic server built-in, this is the first page I see.

    No, it will not work like that.

    Home page is the page server that uses when there is no http request to a specific page within the web application context (for example, when you enter just: http://hostname/ReportServer: port/YourContext).

    In your case, if your authentication was successful, you will be redirected back to the login.html page (because it's your home page)

    Instead, add faces/firstPage.jspx in your login page (I don't know if you need to end .jspx)

    or

    Run your firstPage.jspx

    If you are not already authenticated, the server will redirect you to the login page, and after successful authentication redirection, you return to the page defined in the ADF (firstPage.jspx) Security Assistant

    (and note that, by default, ADF Security only protect pages that have pageDef)

    Dario

  • JDeveloper 12 c: problem with the security of the ADF

    Hello

    I worked fine until about 2 hours ago. I started getting the error

    10.4.2 401 unauthorized

    After the connection. I did not move anything in the data of the jazn. I just released. I canceled, redeployed and nothing. I restarted JDeveloper himself without success. I have deleted the Jazn-data and jps and reconfigure the ADF security and nothing. I can't not not from the login page.

    Any ideas?

    I had to remove the defaultDomain and after that, the issue has been resolved

  • Login.JSPX page refreshing in an infinite loop in the safety of the adf

    Hello

    I applied the adf security at my request. If I create page def for login.jspx page it is refreshing in infinite loop.

    Thank you

    Nitesh

    This problem, as described in the post

    Thank you

    KT

  • How to create a custom page for ADF security?

    Dear all,

    Now I am developing an application. I am facing the problem of security. Now I need to guarantee me the application (user, group, role etc...)

    Oracle recommends me to use internal LDAP WebLogic or OID. But how to create custom for this security management pages? Are there examples?

    Reason:
    (1) the customer does not have LDAP
    (2) Admin or Manager client without having to access Weblogic server (no sense).

    We need to create pages on my request and is managing the internal users, role and group using LDAP or OID.

    Thank you.

    You don't need to create an additional custom page for the use of LDAP. Just set up security WLS and group mappings to use users configured on the LDAP server (any).

    If you already use the ADF security, you should have a created even when custom login page. This can be used. (as described here: http://www.oracle.com/technetwork/developer-tools/jdev/ccset29-all-089763.html)

    HTH,
    -olaf

  • ADF security with identification details &amp; role of database table

    Dear experts,

    I have developed web applications by ADF with JDeveloper 12.1.3.0.0

    I want to apply the ADF security for authentication and authorization process.

    I mentioned several blogs that associated with example ADF security with the database table, but unfortunately I couldn't reach my task of them because all the blogs that make reference to the roles of username, passwords, and user to hardcode.

    In my web application, there are 3 database table (users, roles, User_Role).

    A user can have one or more roles.

    I was able to accomplish this task using spring-mvc + Hibernate + sprig security. Its code of even below.

    <>Authentication Manager

    <>authentication provider

    < jdbc-user-service data-source-ref = "dataSource".

    users by name of user-query =

    "username, password, enabled users to select where username =?"

    authorities-by-name of user-query =

    "" Select username, role of user_roles where username =? ". / >

    < / authentication provider >

    < / authentication manager >

    Pls guide me to solve this problem.

    Thank you

    Mauricette

    User, your question is not clear. You have implemented the safety with the spring? So, what's your question?

    The ADF security can be combined with a sql authentificator that reads users and roles of the DB tables. See Java / Oracle SOA blog: the use of tables of database as in WebLogic authentication provider and anything on the Fusion Middleware: Tables of database user to implement authentication in ADF and http://soadev.blogspot.de/2010/04/sqlauthenticator-simply-best.html.

    All of these solutions do not use users coded hard and rolls.

    Timo

  • How to display the new page with HTML, click the ADF

    I have an ADF page with a button.

    When I click that button, I call a method in backing bean that calculate a string that is HTML. I want to make this HTML as a new page in the same window of the browser as a result button click.

    How do I do that?

    I can also call a methodCall to task flow on a button click. But my next page should be a new HTML page including the calculation in the method call.

    You can convert the calling method in a servlet - your ADF page calls the servlet that returns the HTML code - this may be as a separate page using an af:goLink to call the servlet or it can be included in an af:inlineFrame in your page.

    Another option is to return the HTML string as the value for an af:outputText and the attribute of the escape of this element the value false.

  • Running Application Module tester with ADF security

    Hi, I use JDeveloper 11.1.1.6 and recently activated ADF security on my request. Now when I try to run the Application Module Tester by right click on the request form and say run I get the following error. I get the JAAS prompt to enter my credentials, but no matter what I put, I get the following.

    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.adf.share.security.ADFSecurityAuthenticationException, msg = EXC_NO_AUTHENTICATION_SERVICE
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:599)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    ... 13 more
    # # 0 in detail
    oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

    Also, I have tried to disable the security of the ADF and the request module Tester then works fine but I need to run it with security ADF is turned on. Someone knows how to fix this?

    Thank you.

    I understood the question. It seems that I had to remove the library "ADF generic Runtime ' libraries and Classpath of the project of my model parameters. Does anyone know why having this library referenced in your project settings would cause this issue? I also had to delete this reference from the library to a project to generate a web service proxy in the past, it seems to cause a few problems when they are associated with libraries and Classpath for a project or even associated with a library that depends on another library. Can anyone provide any indication regarding the library and why it causes so many problems? You can recreate this issue on demand by adding the library "ADF generic Runtime ' to your template with ADF security project and then activated by running the module of the application by clicking on it and say run.

  • Rendering of the elements in a JSP page only to users authenticated on adf-security

    Greetings

    This is a simple question?

    I need to display a link only if I'm with a user authenticated on adf security. could someone provide me with the EL that I have to set the RENDER in my JSP

    Thank you

    Try something like:
    ADFContext.getCurrent () .getSecurityContext () .isAuthenticated)

    Therefore, EL must be:

    adfContext.securityContext.authenticated

    You should be able to use the EL generator.

    Vincent

  • How gonfigure DBtableLoginmodule with ADF security on jdeveloper 11

    How gonfigure DBtableLoginmodule with ADF security on jdeveloper 11


    determines which users can access the application
    determines what features users are allowed to run after they enter the application

    demonstration of pleas for me step by step.

    Step by step would begin it with 'research forum,' that this issue has been discussed several times already.

Maybe you are looking for