Error While Login ADF Security Sample Application
Hi All,
Jdevloper Version : 11.1.1.5.0
we are Creating ADF Login Application contains login.jspx and main.jspx pages.
we define ADF Security on this Sample Application.
when we provide valid credentials to login(username and password) it shows Error:
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead.
The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism,
that an old resource is permanently unavailable and has no forwarding address.
ManagedBean(BackingbeanScope) doLogin():
public String doLogin() {
String un = _userName;
byte[] pw = _password.getBytes();
FacesContext ctx = FacesContext.getCurrentInstance();
HttpServletRequest request =(HttpServletRequest)ctx.getExternalContext().getRequest();
try {
Subject subject =Authentication.login(new URLCallbackHandler(un, pw));
weblogic.servlet.security.ServletAuthentication.runAs(subject,request);
String loginUrl = "/adfAuthentication?success_url=/faces/main.jspx";
HttpServletResponse response =(HttpServletResponse)ctx.getExternalContext().getResponse();
RequestDispatcher dispatcher =request.getRequestDispatcher(loginUrl);
ctx.responseComplete();
catch (FailedLoginException fle)
FacesMessage msg =new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password", "An incorrect Username or Password was specified");
ctx.addMessage(null, msg);
return null;
In ADF Security We Define :
User : admin1
Enterprise Role : ManagerGroup(added user admin1 to this EnterpriseRole)
Application Role : Manager
Resource Grants : Resource Type : Web Page
login page
main page - Granted Role(Manager)
jazn-data.xml file
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<jazn-data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-data-11_0.xsd">
<jazn-realm default="jazn.com">
<realm>
<name>jazn.com</name>
<users>
<user>
<name>admmin1</name>
<display-name>admmin1</display-name>
<credentials>{903}y2I4TDwMavn90VxJJfPfgxtBsRnF0qiaMoxzP93XF74=</credentials>
</user>
</users>
<roles>
<role>
<name>ManagerGroup</name>
<display-name>ManagerGroup</display-name>
<members>
<member>
<type>user</type>
<name>admmin1</name>
</member>
</members>
</role>
</roles>
</realm>
</jazn-realm>
<policy-store>
<applications>
<application>
<name>ADFLogin</name>
<app-roles>
<app-role>
<name>Manager</name>
<class>oracle.security.jps.service.policystore.ApplicationRole</class>
<display-name>Manager</display-name>
<members>
<member>
<name>ManagerGroup</name>
<class>oracle.security.jps.internal.core.principals.JpsXmlEnterpriseRoleImpl</class>
</member>
</members>
</app-role>
</app-roles>
<jazn-policy>
<grant>
<grantee>
<principals>
<principal>
<name>Manager</name>
<class>oracle.security.jps.service.policystore.ApplicationRole</class>
</principal>
</principals>
</grantee>
<permissions>
<permission>
<class>oracle.adf.share.security.authorization.RegionPermission</class>
<name>multiofonds.adf.common.view.pageDefs.mainPageDef</name>
<actions>view</actions>
</permission>
</permissions>
</grant>
</jazn-policy>
</application>
</applications>
</policy-store>
</jazn-data>
Please help us how to resolve it.
Thanks,
kumar
A best practice in this situation is to check on a running sample e.g. Oracle ADF: Security for Everyone
I guess your resource grants are not set correctly.
Timo
Similar Messages
-
Error While Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3
Hi All,
I am Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3
My JDeveloper Version is - JDeveloper10.1.3.0.4
I followed Following Links for Deployment
http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/wls/wls.html
http://blog.fekw.de/2008/08/23/howto-install-adf-10-runtime-and-deploy-adf-bc-app-to-oracle-weblogic-103-running-on-linux/
I am Getting Following Error
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.<clinit>(ADFPhaseListener.java:463)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:711)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:400)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
[ServerConnectionImpl.close():334] : Closing DM connection
[ServerConnectionImpl.close():354] : Unregistered all listeners
Thanks
Vijay ChavanMy bc4j.conf file is like bellow and my datasource name is expertDS
<BC4JConfig>
<AppModuleConfigBag>
<AppModuleConfig name="DeptAMLocal">
<AppModuleJndiName>model.ent.DeptAM</AppModuleJndiName>
<DeployPlatform>LOCAL</DeployPlatform>
<JDBCName>expert</JDBCName>
<ApplicationName>model.ent.DeptAM</ApplicationName>
<jbo.project>Model</jbo.project>
</AppModuleConfig>
<AppModuleConfig name="DeptAMEmbeddedAS">
<jbo.internal.embedded>true</jbo.internal.embedded>
<JDBCDataSource>jdbc/expertDS</JDBCDataSource>
<ApplicationPath>current-workspace-app</ApplicationPath>
<ConnectionPort>23891</ConnectionPort>
<AppModuleJndiName>DeptAMBean</AppModuleJndiName>
<HostName>localhost</HostName>
<java.naming.security.authentication>simple</java.naming.security.authentication>
<java.naming.security.credentials>
<![CDATA[{904}05DDD90D64C79A7BC508C94B403DD81551]]>
</java.naming.security.credentials>
<java.naming.security.principal>oc4jadmin</java.naming.security.principal>
<DeployPlatform>EjbIas</DeployPlatform>
<jbo.server.internal_connection>jdbc/expertCoreDS</jbo.server.internal_connection>
<ApplicationName>model.ent.DeptAM</ApplicationName>
</AppModuleConfig>
<AppModuleConfig name="DeptAMAS">
<jbo.ampool.maxinactiveage>300000</jbo.ampool.maxinactiveage>
<AppServerConnectionName>weblogic</AppServerConnectionName>
<AppModuleJndiName>DeptAMBean</AppModuleJndiName>
<DeployPlatform>EjbIas</DeployPlatform>
<jbo.ejb.txntimeout>86400</jbo.ejb.txntimeout>
<DtMiddleTierDeploymentProfile>../ModelMiddleTier1.deploy</DtMiddleTierDeploymentProfile>
<jbo.security.enforce>Test</jbo.security.enforce>
<jbo.ampool.maxpoolsize>600</jbo.ampool.maxpoolsize>
<ApplicationName>model.ent.DeptAM</ApplicationName>
<DtDeploymentProfile>../ModelEJB1.deploy</DtDeploymentProfile>
<jbo.ampool.doampooling>false</jbo.ampool.doampooling>
<java.naming.security.authentication>simple</java.naming.security.authentication>
<DtCommonDeploymentProfile>../ModelCommon1.deploy</DtCommonDeploymentProfile>
<JDBCDataSource>jdbc/expertDS</JDBCDataSource>
<jbo.server.internal_connection>jdbc/expertCoreDS</jbo.server.internal_connection>
<jbo.ampool.minavailablesize>0</jbo.ampool.minavailablesize>
<ApplicationPath>BackBoneEJB</ApplicationPath>
<jbo.ampool.monitorsleepinterval>10000</jbo.ampool.monitorsleepinterval>
</AppModuleConfig>
</AppModuleConfigBag> -
Error while login to UCM console.
Hi,
I am getting below error while login with 'weblogic' in UCM 11g console "http://server IP: 16200/cs"
"Content Server Request Failed
Unable to load the user information. Possible database connection failure encountered. Error message: (!csDbUnableToCreateResultSet,Quser(SELECT * FROM Users WHERE LOWER(dName) = LOWER('weblogic'))!$Closed Connection). java.sql.SQLException: Closed Connection. "
Because of this we are not getting any content on our custom application pages, that we have integrated through placeholder (using site studio for external application).
Please help!!
Regards,
Kundan
Edited by: Kundan on Jan 24, 2011 1:00 PMHi
As Yannick mentioned it looks like that the DB is shutdown or the listener is not up and running .
Check and verify that all is fine with DB end and then see if the issue still persists . Better would be do a full restart for DB to kill and clean all the existing connections for UCM from DB .
Thanks
Srinath -
Error while Deploying Performance Management samples in XI R3.0
Error while Deploying Performance Management samples in XI R3.0
I get an error when deploying the PM samples. I have set the PM repository pointing to AFDEMO database
I have used to Java of BO dir as well as the program files\Java (1.6.03)
I run the runPublishUtil.bat and get the below error
Can anyone help me to publish the PM demo's
Regards
Ishaq
Edited by: ishaqbaig on May 10, 2009 1:42 PMError when runPublishUtil,bat
C:\Program Files\Business Objects\Performance Management 12.0\setup>set JARLOC=..\..\common\4.0\java\lib\
usage : runPublishUtil.bat [dbusername] [dbuserpassword]
C:\Program Files\Business Objects\Performance Management 12.0\setup>java -classpath publishUtil.jar;..\..\common\4.0\java\lib\cecore.jar;..\..\common\4.0\java\lib\logging.jar;..\..\common\4.0\java\lib\celib.jar;..\..\common\4.0\java\lib\ceplugins.jar;..\..\common\4.0\java\lib\cesession.jar;..\..\common\4.0\java\lib\corbaidl.jar;..\..\common\4.0\java\lib\ebus405.jar;..\..\common\4.0\java\lib\external\xercesImpl.jar;..\..\common\4.0\java\lib\external\xml-apis.jar;..\..\common\4.0\java\lib\rascore.jar;..\..\common\4.0\java\lib\serialization.jar;..\..\common\4.0\java\lib\cereports.jar com.businessobjects.util.PublishUtil ".\PublishUtil.properties" sa forms45
caught SDKException
com.crystaldecisions.sdk.exception.SDKServerException: Enterprise authentication
could not log you on. Please make sure your logon information is correct. (FWB
00008)
cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008)
The server supplied the following details: OCA_Abuse exception 10498 at [.\secpluginent.cpp : 826] 42040 {}
...Invalid password
at com.crystaldecisions.sdk.exception.SDKServerException.map(SDKServerException.java:107)
at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:193)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:701)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:295)
at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:162)
at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:422)
at com.businessobjects.util.PublishUtil.logon(Unknown Source)
at com.businessobjects.util.PublishUtil.main(Unknown Source)
Caused by: com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuseHelper.read(oca_abuseHelper.java:106)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAs._LogonEx4Stub.UserLogonEx4(_LogonEx4Stub.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:420)
at com.crystaldecisions.sdk.occa.security.internal._LogonEx4Proxy.UserLogonEx4(_LogonEx4Proxy.java:222)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.doLogon(LogonService.java:347)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:676)
... 5 more
Exception in thread "main" java.lang.NullPointerException
at com.businessobjects.util.PublishUtil.waitForValidInputFRS(Unknown Source)
at com.businessobjects.util.PublishUtil.main(Unknown Source)
Edited by: ishaqbaig on May 10, 2009 12:49 PM -
Error while executing SAP E-Commerce Application with UME system
When attempting to login to the B2B application (http://hostname:port/b2b/init.do), we receive the following error:
Error while executing SAP E-Commerce Application with UME system; try again to log on. If the problem persists, call our hotline.
I checked the defaultTrace log and every time the login page is called the following messages are displayed:
#System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain###com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The output is committed.
#System.err#sap.com/crm~b2b#System.err#Guest#0##n/a##70cf2ba0756b11df86050003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##Plain### at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:354)#
another 40 lines of similar text
When a login is attempted, the following messages are appended to the trace file:
#tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#Guest#0##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='begin' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin'#
tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[actionxecution]='end' [actionclass]='com.sap.isa.user.action.PrepareLoginBaseAction' [path]='/preparelogin' [forward]='/login.do' [exectime]='42'#
#tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##n/a##f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofuncionexecution]='begin' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM'#
#tracing.isa.runtime#sap.com/crm~b2b#tracing.isa.runtime#USER1#7439##<hostname>_CJM_678801250#USER1#f6384ec0756b11df81380003ba827311#SAPEngine_Application_Thread[impl:3]_0##0#0#Debug##Plain###[jcofunctionexecution]='end' [funcname]='CRM_ISA_SSO_LOGIN_CHECKS' [ashost]='<hostname>' [sysid]='CRM' [exectime]='12'#
I have modified the userid and hostname in the above trace output.
Does anyone know how we can debug this issue further?
Thanks,
SetuHi,
Are you using UME login type for your B2B Scenario?
In your B2B XCM setting have you selected UME related login type?
eCommerce Developer -
I am getting a error while executing the Web Dynpro Application Page.
Hi All,
I am getting a Error while executing a web dynpro application :::
: Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component: Z_WEP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
I have checked this error description in ST22 :
What happened?
The exception 'CX_WDR_RT_EXCEPTION' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_WDR_CLIENT_APPLICATION=====CP' has to be
terminated.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WDR_RT_EXCEPTION', was not caught
and
therefore caused a runtime error.
The reason for the exception is:
Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component:
Z_XXP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
Can u plz help me regarding this error.
Thanks,
Deepika>Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered
Looks to me like you are trying to fire a navigation plug within WDDOMODIFYVIEW. According to the rules of the WD Phase Model this is not allowed. -
Error while calling COM routines via application prog(return code 1028533-)
Hello Expert,
In Interactive Demand Planning ( /SAPAPO/SDP94 ), when I'm trying to load data in a planning book , error
'Error while calling COM routines via application program (return code 1028533-)' is encountered.
In my selection id, i have only two locations....there is no material selection.
When I select the 1st location and load the data its getting loaded properly.....but when i select the 2nd location and try loading data ...the above error is coming.
I did run /SAPAPO/TS_LCM_CONS_CHECK but the problem persist.
Any advise to fix this issue would be much appreciated.
Thanks.
TomHi Tom,
Please see if below exiting threads help you.
COM error 40134 in Interactive Planning on SCM 5.0 Support Pack SAPKY50011
Error for COM Routine application program (return code 40028)
Thukral -
Dear GRC experts,
After upgrading GRC 10 to SP14, assigning manual passwords during the approval of a request, the approval process is failing.
Here is the scenario; your advice will be appreciated.
Task: Manually assign passwords to multiple systems contained in the request
Where: On the access request, go to “User System Details” tab
Issue: After approving/submitting the request, the error “Database error while using the secure store” is generated
Logs: Nothing on transactions SLG1 or ST22; however ST11 shows the error attached below:
This is the failed approval of the request:
Other scenarios executed as a workaround, and passed the password assignment this time:
The approval will work if only one password is assigned to any of the given systems. The rest of the systems get an auto-generated
password.
ARM also accepts multiple passwords when the requestor assigns passwords on the “User System Details” prior submitting a
request. The GRC admin can approve once reached for system approval.
AS FYI, “Confirm Password” is only required when creating the request but not on any other stage.
System information:
-Netweaver 7
-GRCFND_A SP14
-GRCPINW SP13
Regards,
GustavoSAP just delivered a note to fix this issue. The number is 2022294.
-
Error while I am Running the application in xcode 4.2
I am having a error while I am Running the application in xcode 4.2 and having iOS 5.0 simulator. The error is listed below:-
this is the code line:-
[tabBarController.selectedViewController performSelector:@selector(setManagedObjectContext:)
this is the error for the code line:-
-[UINavigationController setManagedObjectContext:]: unrecognized selector sent to instance 0x7742060
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationController setManagedObjectContext:]: unrecognized selector sent to instance 0x7742060'
*** First throw call stack:
terminate called throwing an exceptionsharedlibrary apply-load-rules all
Current language: auto; currently objective-c
Please provide me the solution for it.
Thanks in advance.If you are a developer , please post this in the developer forum, Thanks!
-
"Non Defined IMS Exception" error while login on Presence Server
Hi,
I am getting "Non Defined IMS Exception" error while login on Presnce Server. I have configured Publisher Presence server on VMware already and now configuring another presence server in other office for backup purpose. I have copied same VM image and installed in another office which are connected by MPLS. I am able to login on server by admin login (OS administration) but not for administration login.
Please help.
Regards,
KalshettyHi Kalshetty,
Please check the following link for this error, it applies to CUPS 8.x
https://supportforums.cisco.com/document/109296/error-non-defined-ims-exception-cups-8x
HTH
Manish -
WS And Web Dynpro: Error while processing document security
Hi all,
We have a problem when use Web Services (stateless session bean) in Web Dynpro.
When two users calls the same web dynpro in the same time we have this error:
Errore in: it.sap.mdm.pdcmodelcomponent.wdp.InternalLookUpModelController getLookUpTable:
Class___: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException Additional Info:
Message_: Exception on execution of web service on destination 'FS_MDM_PDC' for operation 'getLookupTable' in interface 'ZMDM_FS_PDCVi_Document'
Causa__:
Error while processing document security. The error was class com.sap.engine.frame.core.configuration.ConfigurationException Configuration webservices/proxies/sap.com/ mapping is not valid - configuration is closed.. See trace entry [no trace for com.sap.security.core.client.ws.DeployableSecurityProtocol (severity above PATH)].; nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: Error while processing document security. The error was class com.sap.engine.frame.core.configuration.ConfigurationException Configuration webservices/proxies/sap.com/ mapping is not valid - configuration is closed.. See trace entry [no trace for com.sap.security.core.client.ws.DeployableSecurityProtocol (severity above PATH)].
If I call the same web dynpro ,without other user, it's ok.
Where is the problem?
I have to congigure some parameter in J2ee???Hi
Use this pdf to implement Mutual Exclusion
http://java.sun.com/developer/Books/performance2/chap3.pdf
http://navet.ics.hawaii.edu/~casanova/courses/ics432_fall08/slides/ics432_jmonitors.ppt#313,10,Synchronizing on Multiple Objects
thanks -
Error while calling COM routines via application program (return code 40028
Hi ,
When i am doing these steps i am getting the following error.
1.from SAP menu...Demand Planning>Planning>Interactive Demand planning
2.after the transaction gets loaded...click on the 2nd button that is selection window from the left ALV menu..on the top.
3.type the below
show - Material
APO Planning Version - K01
Material - 12345
4.Material 12345 will be loaded
5.Double click and i am getting ''error Error while calling COM routines via application program (return code 40028)''
Note : Observed that this is not happening everytime, but happening alternatively.
Can any one say what is the problem for Error.
Thanks
GerardHello Gerard, Hello Krishna,
-> The liveCache application failed with COM error::
40028 Illegal timestamp in rough timegrid
More details about COM error 40028 you will see in TA /n/sapapo/om10
-> Return code: 40028 -> execute ::
Invalid time stamp in the time buckets profile relation
( om_ts_tgrelinvalidstamp )
< click on '?' mark >
-> Open an OSS message in accordance with SAP note 167280 if further help
needed to solve the issue on your system.
Thank you and best regards, Natalia Khlopina -
Getting error while trying to connect to application
Hi All,
I am getting below error while trying to connect to application
[4/23/12 6:20:49:930 EDT] 000001c7 SQLConnection E com.primavera.infr.log.CommonsLoggingAdapter error Establish connection error.
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:438)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at com.primavera.infr.db.PoolableConnection.byte(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool.getConnection(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool.new(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool$2.execute(Unknown Source)
at com.primavera.infr.threadpool.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
[4/23/12 6:20:49:936 EDT] 000001c7 SysServices I com.primavera.infr.log.CommonsLoggingAdapter info Connections are being cleared due to validation failure for database: P3ED
java.sql.SQLException: Establish connection error.
at com.primavera.infr.db.SQLConnectionPool.getConnection(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool.new(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
at com.primavera.infr.db.SQLConnectionPool$2.execute(Unknown Source)
at com.primavera.infr.threadpool.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.primavera.PhoenixException: Establish connection error.
at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
... 6 more
Thanks in advance.Hello,
this issue is related with database connection. Please, create the database connection again (with dbconfig.cmd), restart your app server and try to log into P6 again.
Check that your port number, instance (or database name) , users are correct. -
Hi,
I m getting error while login to Infoview
u201CAn error has occurred: recv() failed:I/O error during read:java.net.SocketException: No buffer space available (maximum connections reached?): recv failedu201D
CMC is working fine.
We have tried restarting Tomcat.
Checked the available space on the installation directory as well on C drive, there was enough space.
Checked the temp directory of the user who installed Business Objects.
Checked the virtual memory size on the system, increased the Heap size to 1024.
Please suggest how to proceed further.
Thanks,
AnisaHi Anisa,
The above error was caused in windows If you try to set up TCP connections from ports that are greater than 5000, Try the below solution
Start Registry Editor.
Locate the following subkey in the registry, and then click Parameters:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
On the Edit menu, click New, and then add the following registry entry:
Value Name: MaxUserPort
Value Type: DWORD
Value data: 65534
Valid Range: 5000-65534 (decimal)
Default: 0x1388 (5000 decimal)
Description: This parameter controls the maximum port number that is used when a program requests any available user port from the system. Typically , ephemeral (short-lived) ports are allocated between the values of 1024 and 5000 inclusive.
Exit Registry Editor, and then restart the computer.
Hope this helps,
Regards,
Santhi Bushan -
Error while Portetizing ADF Application with security feature.
Dear All,
I am able to portletise a normal ADF application and is running fine on Portal. But as I add security feature to it I am getting error, For reference i am pasting my web.xml and portlet.xml.
------------------------web.xml-------------------------------------------------------------
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>CpxFileName</param-name>
<param-value>view.DataBindings</param-value>
</context-param>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<init-param>
<param-name>success_url</param-name>
<param-value>faces/Welcome.jspx</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adfAuthentication</servlet-name>
<url-pattern>/adfAuthentication/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>adfAuthentication</web-resource-name>
<url-pattern>/adfAuthentication</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>Guest</role-name>
<role-name>oc4j-administrators</role-name>
<role-name>users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>Login.jspx</form-login-page>
<form-error-page>Login.jspx</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>Guest</role-name>
</security-role>
<security-role>
<role-name>oc4j-administrators</role-name>
</security-role>
<security-role>
<role-name>users</role-name>
</security-role>
</web-app>
---------------------------------portlet.xml----------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<portlet-app version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<portlet-name>UC68PortletKunal</portlet-name>
<display-name>UC68PortletKunal</display-name>
<portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
<init-param>
<name>DefaultPage.view</name>
<value>/SearchInput.jspx</value>
</init-param>
<init-param>
<name>BridgeLifecycleListeners</name>
<value>
oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>UC68PortletKunal</title>
<short-title>UC68PortletKunal</short-title>
</portlet-info>
</portlet>
</portlet-app>
Your reply is most welcomed. I am working for 2 days, if you know just give few minutes to address this issue.Hi,
not sure what the error message is that you get. However, if you access an application through prortal then the security needs to be enforced by the portal, not the application itself because the portal will modify the request headers.
Did you ask the question on the WebCenter or Portal forum here on OTN
WebCenter Portal
Frank
Maybe you are looking for
-
Problem syncing app from computer to iphone & ipad
I downloaded an app (Red Laser- barcode scanner) on my windows computer. I want to use it on my iphone and ipad but can not sync it.
-
Guest Wireless Tunnelling - DHCP Issue
Hi, I'm attempting to implement Guest Anchor tunnelling between two WLC's but I've run into an odd issue I cannot find a clear answer to. We have two 5508 WLC's, both Running 7.4.100.0. The Guest Anchor Controller obviously resides in a DMZ, it's fun
-
Mobileme account expired ical no more sync help!
i had a mobileme account that expired! my sync was perfect, it was on the cloud, and also direct when i plugged iphone and ipad with mac. Now that mobile me is expired i cannot anymore sync my calendar on iphone and on ipad with ical. There is someon
-
i have just purchased elements 12. It will not convert a raw file for me. i have downloaded DNG convertor 8.5 but it says that my Canon 70d is not compatible. I never had a problem with my last camera canon 7d and elments 8. Can someone help me pleas
-
Problem uploading file from mobile device to tomcat server
Hi guys, here's how it goes. I'm designing a site using JSP for wireless devices like PDAs, Smartphones etc, basically any mobile device that has browser capabilities. There's a page where the user is allowed to upload a file from the mobile device,