401 Unauthorized the ADF security.

Hello.

I'm trying to develop a login page using the ADF security in jdeveloper 11.1.1.6.0.

I followed this link

ADF security on my page jspx as login page

This is my code that I used in my grain of connection.

public String doLogin() {}
String _username =;
Byte [] pw = _password.getBytes ();
FacesContext ctx = FacesContext.getCurrentInstance ();
HttpServletRequest request =.
(HttpServletRequest) ctx.getExternalContext () .getRequest ();
CallbackHandler Manager = new SimpleCallbackHandler (UN, pw);
try {}
MySubject topic = Authentication.login (handler);
ServletAuthentication.runAs (mySubject, request);
ServletAuthentication.generateNewSessionID (request);
/ * Chain, loginUrl = ' / adfAuthentication? "success_url = / faces" +.
ctx.getViewRoot () .getViewId (); * /
String loginUrl = "/ adfAuthentication?success_url=/faces/Runtime.jspx";
System.out.println ("Connexiona print" + loginUrl);
HttpServletResponse response =
(HttpServletResponse) ctx.getExternalContext () m:System.NET.FtpWebRequest.GetResponse ();
sendForward (request, response, loginUrl);
} catch (FailedLoginException fle) {}
FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR,
"Wrong username or password",
"An incorrect Username or Password" +.
'was specified');
ctx.addMessage (null, msg);
} catch {} (the LoginException)
reportUnexpectedLoginError ("LoginException", the);
}
Returns a null value.
}

Private Sub sendForward (HttpServletRequest request,
HttpServletResponse response,
String forwardUrl) {}
FacesContext ctx = FacesContext.getCurrentInstance ();
RequestDispatcher dispatcher = request.getRequestDispatcher (forwardUrl);
System.out.println ("dispatcher to send forward inside:" + Dispatcher);
try {}
Dispatcher.Forward (request, response);
} catch (ServletException to) {}
reportUnexpectedLoginError ("ServletException", is);
} catch (IOException ie) {}
reportUnexpectedLoginError ("IOException", IE);
}
ctx.responseComplete ();
}

' e private void reportUnexpectedLoginError (String errType, Exception) {}
FacesMessage msg =
new FacesMessage (FacesMessage.SEVERITY_ERROR, "unexpected errorWhen connecting",
"An unexpected error connecting ()" + errType +.
"), check the logs for details");
FacesContext.getCurrentInstance () .addMessage (null, msg);
e.printStackTrace ();

}

When I entered my username and password, it displays an error 401 - non authorized.

I don't know where I went wrong? pls help me. !

Kind regards

Prasad K T.

No, not if you have started the application as "Fusion Web Application.

Timo

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

  • Use the ADF security to grant access to the application

    Hello

    One of our customers has to move their forms ADF application. The customer also wants to implement SSO using Kerberos. I could implement the ADF to the application security.

    The Application has two types of users whose information is stored in the USERS table in the database-

    1. Users of the application (not a domain user)
    2. Active Directory/domain users.

    What the clients want to do, is that if the user belongs to the domain, while the user must be able to view the home page directly. If the user is not a domain user, then the login page must be displayed and the user must be authenticated before the redirection to the home page.

    The first part, i.e. to implement SSO for users in domain works. But I don't know exactly how to proceed with the Application users.

    Can I create a custom authenticator that connects to the database and authenticate users of the Application?

    Any suggestion and pointers will be helpful.

    Thanks and greetings

    Tinto

    You probably don't need to create the custom authenticator.

    WLS provides already ReadOnlySQLAuthenticator: Configuration of authentication - 11 g Release 1 (10.3.6) providers

    Define "control indicator" for two suppliers of "SUFFICIENT".

    I guess within the Web.XML you have something like:

    CLIENT-CERT

    ?

    WLS supports several methods of connection in the element for you can use something like:

    CLIENT-CERT, FORM

    Login

    errorPage

    (no doubt simpler is to configure the security of form based in the ADF Security Assistant and then manually add CLIENT-CERT in the web.xml file)

    Dario

  • Help trying to set up the ADF security for an application

    Hello

    I create in my application a masterTemplate.jsf page, then a page home.jsf which has the page masterTemplate.jsf as its model.
    I activated the ADF security in my application and set the permission of "view" for the anonymous role homePageDef.
    When I run the app on JDeveloper integrated server with debugging options, this is what I get in the console:

    [JpsAuth] Check permissions
    PolicyContext: [related]
    Goal/resources: [view.pageDefs.homePageDef]
    Action: [see]
    Permissions class: [oracle.adf.share.security.authorization.RegionPermission]
    Result: [FAILURE]
    Reviewer: [VAC]
    ProtectionDomain:ClassLoader=sun.misc.Launcher$AppClassLoader@68ffab0a failed
    CodeSource=file:/C:/oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar
    School principals total = 2 principals)
    1 JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl 'anonymous' GUID = null DN = null
    (2. JpsPrincipal: oracle.security.jps.internal.core.principals.JpsAnonymousRoleImpl 'anonymous-role' GUID = null DN = null)
    Permissions =)
    ("java.io.FilePermission" '\C:\oracle\Middleware\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar', 'read')
    ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context = SYSTEM, mapName = *, keyName = * ' ' * ')
    ("java.util.PropertyPermission" "line.separator" 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.version', 'read')
    ("java.util.PropertyPermission" 'java.vm.version', 'read')
    ("java.util.PropertyPermission" 'java.vendor.url', 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.vendor', 'read')
    ("java.util.PropertyPermission" "java.vm.name", "read")
    ("java.util.PropertyPermission" "os.name" 'read')
    ("java.util.PropertyPermission" 'java.vm.vendor', 'read')
    ("java.util.PropertyPermission" 'path.separator' 'read')
    ("java.util.PropertyPermission" 'os.version' 'read')
    ("java.util.PropertyPermission" 'java.specification.name', 'read')
    ("java.util.PropertyPermission" 'mds.store.filesystem.path', 'read')
    ("java.util.PropertyPermission" 'os.arch' 'read')
    ("java.util.PropertyPermission" "java.version", "read")
    ("java.util.PropertyPermission" 'java.class.version', 'read')
    ("java.util.PropertyPermission" "java.vendor" 'read')
    ("java.util.PropertyPermission" 'file.separator' 'read')
    ("java.util.PropertyPermission" 'java.vm.specification.name', 'read')
    ("java.util.PropertyPermission" 'java.specification.version', 'read')
    ("java.util.PropertyPermission" 'java.specification.vendor', 'read')
    ("java.lang.RuntimePermission" "stopThread")
    ("java.lang.RuntimePermission" "exitVM")
    ("java.net.SocketPermission' 'localhost:1024' - 'Listen, resolve')
    (oracle.security.jps.service.policystore.PolicyStoreAccessPermission name of the context: APPLICATION: * Actions: getApplicationPolicy)
    )
    Call stack: java.security.AccessControlException: access denied oracle.adf.share.security.authorization.RegionPermission/view.pageDefs.homePageDef/view

    If the page has no definition of the pages behind, the application starts correctly because it does not need to check security for this page. The minute I create a page for the home page definition and set the permission for anonymous role, the failure message above rises.
    Can you please help me solve this problem? Is this something that is not in the configuration steps?

    Thank you
    Mircea

    Hello

    If the model also has a file PageDef, this file need to go to grantedb as well

    Frank

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

  • 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

  • The ADF security: end_url is not used when logout

    Hello

    JDev 11.1.2.4

    We have activated ADF security and use OAM to manage security. When disconnect you, we want to redirect to a page with the following code:

    {} public void logout())

    FacesContext fctx = FacesContext.getCurrentInstance ();

    ExternalContext ectx = fctx.getExternalContext ();

    String endUrl = null;

    try {}

    endUrl = URLEncoder.encode ("http://www.google.com", "UTF - 8");

    } catch (UnsupportedEncodingException e) {}

    _logger.severe ("Url of late encoding of exception", e);

    }

    String url = ectx.getRequestContextPath () + "/ adfAuthentication?" Logout = true & amp; end_url ="+ endUrl;

    try {}

    ectx. Redirect (URL);

    } catch (IOException e) {}

    e.printStackTrace ();

    }

    fctx.responseComplete ();

    }

    It works with IE, the user is redirected to google. But it does not for Firefox or Chrome. The generated URLS are:

    IE: http://myserver:14100 / oam/Server/osso_logout? p_done_url = http://www.google.com

    FF/Chrome: http://myserver:14100 / oam/Server/osso_logout? p_done_url=

    Is this a bug?

    Thank you

    ' / adfAuthentication? Logout = true & end_url ='

    URL params are separated by ' & ' character which should be: "/ adfAuthentication?»»» Logout = true & end_url ='

    Dario

  • uiShell cannot use the ADF security

    I read the http://www.oracle.com/technology/products/adf/patterns/11/uishell.html Document, this is a good article. But I find if adding security to the adf, the content of the new tab on the jspx pages can't be, because it 'new' a tab using «TabContext.getCurrentInstance (.addTab(title,taskflowId))» programmly I cann't use "police ADF" on the tab «» Can someone give me some advice? Thank you

    I was able to integrate successfully the security of ADF in the SHell of the user interface.

    Please try to do the following:
    The application menu > Secure > political ADF

    Check the "taskFlows Show imported from adf libraries.
    Add the permission to the blank.xml

    Kind regards

    Pino

  • The ADF security vulnerability or configuration error?

    Hi again,

    Edition: This thread is released because of the delicate nature of a security problem examined.  By the policies of the Oracle security issues should be treated as indicated here: How do I report to Oracle security vulnerabilities

    Thanks a lot for your help.

    Marc

    Post edited by: BrianW-Oracle

    Edition: This thread is released because of the delicate nature of a security problem examined.  By the policies of the Oracle security issues should be treated as indicated here: How do I report to Oracle security vulnerabilities

    Dario

  • management of the adf security session timeout

    Dear all,

    I use adf authentication (authentication AD) as part of the security. When during the test, I put the session timeout to 1 min.
    When the user performs an activity on the page with 1 minute idle time, the browser displays the alert that the session has expired. After that, the page refreshes and gives the error on the page "resource cannot be found.

    So, how can I redirect the user to the page of the session after session timeout...?


    Kind regards
    Sicard.

    JDeveloper 11.1.1.4.0

    Check this box
    http://KR.forums.Oracle.com/forums/thread.jspa?threadID=2151982&TSTART=0

  • Used the ADF security, has been able to authenticate the user. problem when disconnecting

    Hello

    I implement security ADF, was able to authenticate the user. In my home page, I have a link to log out.
    If clicked it the follwing method is executed

    ExternalContext ectx =
    FacesContext.getCurrentInstance () .getExternalContext ();
    HttpServletRequest request = (HttpServletRequest) ectx.getRequest ();
    HttpServletResponse response = (HttpServletResponse) ectx.getResponse ();
    HttpSession session = (HttpSession) ectx.getSession (false);
    session. Invalidate();
    String temp =
    request.getContextPath () + ' / adfAuthentication? Logout = true & end_url=/faces/logout.jsp ";

    try {}
    response.sendRedirect (temp);
    FacesContext.getCurrentInstance () .responseComplete ();
    } catch (Exception ex) {}
    System.out.println ("Exception in logout())");

    }

    but the problem is it of not accessing the page to disconnect its redirected to the login page.
    logout page is public page, still transmitted sound to the login page.

    any help would be appreciated

    Hello

    Hey this is not possible it is cause to happen when you invalidate the session, you have configured in the Web.XML when the session is not committed go you to the login page if you want it redirect to the mention of logout page this page as error page when you set up the configuration of the connection in the web.xml file

    Concerning
    Rohit

  • 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

  • Security of the ADF

    Hi all

    We have a SignIn page in our application for the authentication of the user and all components. In the ADF - config.xml, I have the following Setup

    authorizationEnforce = "false" authenticationRequire = "true".

    but I was redirected to the main home page (the page will be sent after a successful authentication) without any authentication. Although I put authenticationRequire = 'true '.

    However, if I set the URL scheme as ' / ' in the security constraint. It opens the SignIn page. However, the images were not properly?

    When the ADF security is enabled, i.e. when the two indicators of authentication/authorization in afc - config.xml are enabled, it works correctly.

    Please help us.

    Hello

    However, if I set the URL scheme as ' / ' in the security constraint. It opens the SignIn page.

    That's what the assistants of ADF Security adds by default when you select authentication only because there is no authorization, leading to a delayed authentication

    However, the images were not properly?

    This is because "/" protects all files under the root of Java EE. To change this, change the constraint "/" for authentication *.jspx (or *.jsp If you are using this as a file extension). In this case the images are excluded from security

    (Note that it is not here ADF security, but the security of web applications in Java EE)

    When the ADF security is enabled, i.e. when the two indicators of authentication/authorization in afc - config.xml are enabled, it works correctly.

    This is because the permission is not applied on the level of path (your path of the application root) context Java EE

    Frank

  • How to retrieve the identifier of ADF security in PL/SQL?

    I would like to create a database trigger to save changes to a table and want to take the username logged through the ADF security configuration.
    How to retrieve this username (not the database user name) in the trigger?

    Thank you
    Richard

    You can override the prepareSession() method in the ApplicationModuleImpl class and call dbms_application_info.set_client_info () or dbms_session.set_identifier () to change the user name to db.
    Then, in the relaxation use sys_context ('USERENV', "CLIENT_INFO") or sys_context (' USERENV', 'CLIENT_IDENTIFIER' "); to retrieve the user name.

    Dario

  • ADF security and authentication of the forms

    I created a form simple adf using the Department in the form of the adf. Run - work

    I then put the adf security implemented, create login.htm error.html and /faces/mydept.jspx

    When I right click on the login.html and run, I get the access code, I signed with the user and get 403.
    When I right click on the mypage.jspx and run, I get the connection, I login with the user and work?

    so my question for which url do I give to the user once I have move to production
    (1) http://...:7xxx/context/login.html
    or (2) http://...:7xxx/context/faces/mypage2.jsp



    TKS

    You can send a http://...:7xxx/context/faces/mypage2.jspx

    ADF is a technology jsf the web.xml file will be a filter for faces and is the filter of the address provided and it is treated.

    THS peace of code in the web.xml file is responsible for the filter and treatment

    > Faces Servlet
    > /visages / *

Maybe you are looking for

  • HP Pavilion p6610f: Partitions on C after the attempt of discovery

    The computer was infested with viruses, spyware, Trojans, etc. A single product, we have used abducted more than 600 of these programs. I decided in the end, we need to restore the system to factory State, and recovery software has been run to do. Re

  • Retrieve the missing "speaker" icon

    original title: missing icon How can I recover the speaker icon which was normally at the poster on the right side of the taskbar so I can sound is lower and softer.  There now for some reason any disappeared from the task bar and I want to return to

  • view table 1 d in the digital indicator

    I would like to display the first item in the digital display and the next show in the second place, the second component of the digital indicator and so on. How to get around doing tat?

  • Mass effect 2 problem

    Hello I have windows 7 Home Edition and that you can't mass effect 2 to install. After a bit of installation, he said: Failed installation. A data error occurred. It is supposed to be windows 7 compatible. I tried running the compatibility problems,

  • Duplicate database: ORA-19504: could not create the file "+ DATA1.

    Hi allI'm getting "ORA-19504: cannot create the file '+ DATA1' error when the active database duplication, no - ASM to ASM.» Source is 11.1.0.7 target is 11.2.0.1. Operating system is RHEL 5.5So far, I did as follows:created the password on the sourc