SSO PL/SQL Sample Application Error
Hi,
I've tried the PL/SQL SSO demo application located in the PDK
October release.
Symptom:
The sample application shows the success page, even the user is
not authenticated by the Login Server.
Cause:
There's a code line in the SAMPLE_SSO_PAPP package to decide if
the l_user_info value is null. The original code line is:
IF l_user_info = NULL THEN
It's nonsense, of course.
We all know that in NULL arithmetics it always evaluates false.
Workaround:
You should correct the comparison to:
IF l_user_info IS NULL
It will be much better...
This problem is their in the early version of SDK.
The latest version has correct comparison with null
Similar Messages
-
SSO SDK Java Sample Application
I have configured the sample application (servlet-based), shown in SSO SDK Developer guide.
I followed all the steps very carefully. When I try to access the partner application, it redirect me to
the login form of the Login Server, and then loop between the sign-on URL and the requested URL.
It seems that the cookie with the user name is lost during redirection. The readme file refers that in a case like this I should check the value of the application cookie domain.
I am running the sample in a single pc environment and my server name is localhost. Which is the right value for the application cookie domain (localhost, .localhost ?????).
In addition, my cookie path value is "/".
Thanks in advance.This problem is their in the early version of SDK.
The latest version has correct comparison with null -
BPM Simple Sample Application Error!!!
hi,
i have some problems with the bpm simple sample applications on our local sap nw ce system (7.1 ehp1 sp0)?
on the esworkplace i have download the *.sca file and have import this file into my nwds.
i following the simple sample documentation an define and configure the ERP and ERP_META Destinations on the nwds and our local sap nw ce system.
also i do the future steps which was described (service registry, proxy settings, ...).
on page 16 of the simple sample documetation is defined which Sofware Component has dependencies to other SC´s.
the SC "BPEM_BUILDT" depends on the SC "ESMP_BUILDT" and "COMP_BUILDT", the SC "COMP_BUILT" doesnt exist on my nwds (7.1 ehp1 sp0).
has everybody any idea why the SC "COMP_BUILT" not exist on my nwds???
still this absent SC i can deploy the bpm simple sample successful to our sap nw ce system.
now i do the post deployment steps for the bpm samples.
after this i call the simple sample application on my sap nw ce portal and can execute the "Initiate Equipment Phase In Process".
now i can see a new entry on my uwl, i open the uwl task.
at step 1, 2, 3 i change no data an click next, after step 3 (create equipment) i get the following error:
com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: no endpoints found for interface <br>
IndividualMaterialERPCreateRequestConfirmation_In_V1 <br>
<br>
detailed error message: <br>
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata <br>
destination 'ERP_META' and WS interface 'IndividualMaterialERPCreateRequestConfirmation_In_V1'. One possible reason is that
Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: no endpoints found for interface
IndividualMaterialERPCreateRequestConfirmation_In_V1
at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getEndpointConfigurations(DestinationsHelperImplSoa.java:1184)
at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getWSDLUrl(DestinationsHelperImplSoa.java:847)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:547)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:377)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:230)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:195)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:529)
... 82 more
after this error i test the endpoint manually. i call the service registry (sr.esworkplace.sap.com) an search the service:
IndividualMaterialERPCreateRequestConfirmation_In_V1
now i test the endpoint with the following data:
MaintenancePlanningPlantID: 0001
WorkCentreID: TECH.SER
CategoryCode: M
the return is the following:
TypeID:005(PLM_SE_EAM_SC)
SeverityCode:1
Note:Individual Material 000000000010006703 is created
i think the return from the service was successful.
i hope somebody can help me!!!
thanks,
FabianHi Arafat,
the destinations for the services are already configured::
at destination template management > destination templates the following is defined:
- Tab: General
Destination Name: ERP
Destination Type: Service Registry
System: ABAP
System Name: HU2
Hostname: iwdf2379
Installation Nr.: 0120003411
Client: 800
- Tab: Security
Authentication: HTTP Authentication, User ID/Password (Basic)
User ID: <es workplace user (suser)>
pw: ******
and
- Tab: General
Destination Name: ERP_META
Destination Type: Service Registry
System: ABAP
System Name: HU2
Hostname: iwdf2379
Installation Nr.: 0120003411
Client: 800
- Tab: Security
Authentication: HTTP Authentication, User ID/Password (Basic)
User ID: <es workplace user (suser)>
pw: ******
also i have configured the same destination on my nwds.
i think this is correct?
futher ideas, why this doesnt work?
thanks,
fabian -
Cairgorm 3 sample applications - errors in unit tests
After the last update the sample applications started to work - they now even show images.
But the unit tests for Commands are reporting errors on my machine:
TypeError: Error #1034: Type Coercion failed: cannot convert []@56443a9 to XMLList.
at asmock.integration.flexunit::ASMockClassRunner/withBeforeClasses
at org.flexunit.runners::ParentRunner/classBlock(ParentRunner.as:221)
etc...
As I am just starting to explore unit testing, I do not know how to debug it.
Can someone help me?
Thanks, Zdenek MHi,
Could you confirm that you are running the unitTests using the InSyncBasicTestRunner.mxml? Also make sure that you don't have another version of FlexUnit4 on your classpath (Project->Properties->Flex Build Path) as the one shipped with the latest version of Flash Builder may conflict with the version of ASMock we are using at this time.
Let me know if you are still experiencing issues with the test suite.
Best,
Nicolas -
Hi All,
I have Installed VS 2010 & CSVS2010, after i run sample application as per downloaded from SAP sites, its shows error.
please look at this error message and please help me how slove in this error.
"could not find assembly 'CrystalDecisions.Shared.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable d:\documents and settings\bzd3jr\desktop\crvs10\cr.net sdk\viewing\net-cpp2005-win_cr115_view\cr_sample_view_cpp_net05\Form1.h"
Regards,
Esha Abdullah MThanks Ludek,
http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
In this link only i downloaded, view report sample applications (Crystal Reports .NET C++ - View Report).
If i run application it showing error,
Error 3 error C1107: could not find assembly 'CrystalDecisions.Shared.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable d:\documents and settings\bzd3jr\desktop\samples appn\net-cpp2005-win_cr115_view\cr_sample_view_cpp_net05\Form1.h 4
Please help me for this issue.
Regards,
Esha Abdullah M
Edited by: Esha Abdullah on Jun 29, 2011 4:26 PM -
Planning - Sample Application Error
Hi,
I am trying to initilialise sample planning application and get "warn tp-proccessor1 com.hyperion.hbr.securityapi - error retrieving user by identity".
Please can you advice what exactly i need to correct.
ThanksHi John,
Thanks for pointing out. I found hyperionPlanning_sysout.log in logs/service folder.
I can see - it's able to build sample dimensions but I noticed few errors
com.hyperion.planning.olap.EssbaseException: Database %s does not exist (1051032)
After this, it;s able to build all dimensions and then I noticed below errors
java.lang.IllegalStateException: member FY08 from dimension 38does not exist.
com.hyperion.planning.xml.HspHUBException: Rejecting Member Actual.
com.hyperion.planning.xml.HspHUBException: Rejecting Member Forecast.
com.hyperion.planning.xml.HspHUBException: Rejecting Member Plan.
com.hyperion.planning.olap.EssbaseException: Database %s does not exist (1051032)
There were errors during sample application initialization. Please check Planning log for details
Please can you advice where else i can check and which logs it refers.
Thanks. -
Followup: "? sample application error"
followup...
If I waited and it did not start, what log files would show why the KJS is not starting? I waited 24 hours and it still has a problem.
I asked...
"iAS 6.0 Sp3 on a SunOS netra1.tamu.edu 5.8 Generic_108528-09 sun4u sparc SUNW,UltraAX-i2
returns the following error when selecting the quick test application:
Error (0x1 0x0 0x0 0x80020007):BIND step: could not bind to {1A488137-7510-1941-BAE5-080020B90F48}
and got...
It generally throw this error when you fire the request just after starting the iAS, at this time this error means that your KXS is up but KJS is still not up. So just wait for some time and fire the request again. Everything will be fine.The KJS engine should ideally start within a couple of minutes after starting the appserver. There are a couple of ways you can check this :
1. Do a ps -ef | grep kjs
2. Go to ias/logs directory and do a
"tail -f kjs_1_CCS0". If you see the message ENGINE-ready, then it means that the KJS engine is ready to accept requests.
Cheers,
Vasanth -
EJB Hotel Sample Application - error running client
Hi
I am trying to run the GUI client interface in the EJB Hotel Enquiry and Reservation Application (using a single EJB). I have deployed the EJB jar file and had no errors but when I run the GUI client I get the following error whilst trying to read the list of hotels:
Error while invoking EJB procedure :RemoteException :
com.evermind.server.rmi.OrionRemoteException: Invocation error: java.lang.NoSuchMethodException; nested exception is:
java.lang.NoSuchMethodException
Could anyone please suggest where to start looking ?
TIA
TrevorHi,
I am able to run this sample successfully. Can you try bouncing OC4J and then run the client application again ? Let me ]
know if that works.
Cheers,
--Rajesh -
Veeva Vacations Sample application - Error connecting to database
I am new to WebCenter and I am trying to go through the Veeva Vacations Sample. I am having trouble creating a New Database Connection as described on page 8 of the Veeva_Hands_on.pdf.
I enter the Host of *127.0.0.1*, Port of *8080* and when I test the connection I get the following error.
Io exception: Got minus one from a read call
Any suggestions?
Edited by: user985561 on Sep 29, 2008 12:52 PMHi Jeroen,
Thank you for your response. I am working through the Veeva Vacations example that can be found at
http://www.oracle.com/technology/products/webcenter/owcs_10132_demos.html
I am trying to create a Database Connection in JDeveloper. Starting on page 8 of the veeva_hands_on.pdf it asks you to Define a Database Connection. On page 10 it provides the connection details. Host Name: localhost, JDBC Port 1521. When I try this I get the following errror:
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:ORCL
So I tried changing it to Host Name: 127.0.0.1, JDBC Port: 8080, which is the Host and port that I see in the URL when I log into the Oracle Database Express Edition from the 10g Database Home page. With this configuration I get the following error:
Io exception: Got minus one from a read call
I am running in a Windows environment with no Firewall software installed that I am aware of...
Thank you for your time
Christine -
Planning - Sample application error with Classic Application Administration
Hi,
Planning is deployed with Tomcat and I get an error when I want to create an application with Classic Application Administration.
If I use EPM architect, it's OK.
Thanks if you have any idea.Hi,
Process failed to create an application.
In HyS9Planning-sysout.log:
Unable to find JDBC_CATALOG key for application: test
Connection to the datasource created successfully.
Setting HBR Mode to: 2
=2009-05-07 13:56:00,359 WARN http-8300-Processor4 com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
d{ISO8601} WARN http-8300-Processor4 com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
Embedded HBR initialized.
Reaquired task list lease: Thu May 07 13:56:00 CEST 2009: 1241697360531
Entering RegisterHelper.register method
registering Product: HP test http://hfm11:28080/interop
Entering RegisterHelper.register method
Error Code: -1
com.hyperion.css.CSSException: 30:1101:JNDI error. Error Code: -1
NestedException:
javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - cssProvisionedIdentity: attribute type undefined]; remaining name 'cn=ce0e92f7f18839fe:78de0306:1211a4aed04:-7aa2'
at com.hyperion.css.spi.impl.nv.AddLDAPEntity.add(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addProvisioningEntry(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addRoleRelationShip(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.associateRole(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.planning.security.HspSynchronizationFacilitatorImpl.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.security.HspLogonSynchronizer.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.HspJSImpl.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerApp(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
at HspCreateApp.Handle(Unknown Source)
at HspCreateApp.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at HspValidationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
- Nested Exception:
javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - cssProvisionedIdentity: attribute type undefined]; remaining name 'cn=ce0e92f7f18839fe:78de0306:1211a4aed04:-7aa2'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)
at com.hyperion.css.spi.util.jndi.CSSDirContext.createSubcontext(Unknown Source)
at com.hyperion.css.spi.impl.nv.AddLDAPEntity.add(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addProvisioningEntry(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProviderBase.addRoleRelationShip(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.associateRole(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.css.spi.impl.nv.NativeProvider.setRolesList(Unknown Source)
at com.hyperion.planning.security.HspSynchronizationFacilitatorImpl.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.security.HspLogonSynchronizer.setUserRoleAdministratorInHub(Unknown Source)
at com.hyperion.planning.HspJSImpl.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.setHubRoleForUser(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerAppWithSharedServices(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.registerApp(Unknown Source)
at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication(Unknown Source)
at HspCreateApp.Handle(Unknown Source)
at HspCreateApp.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at HspValidationFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
UnRegistering Application in HUB: test
trying to get corresponding project...
existing schema deleted
deleted app in essbasetrue
Error terminating Essbase connection: java.lang.NullPointerException
Thanks -
Error deploying sample application
Hi experts,
I am getting following error while deploying OAAM sample application:
Error: Unresolved Webapp Library references for "ServletContext@285871212[app:OAAMTester module:OAAMTester.war path:/OAAMTester spec-version:2.5]", defined in weblogic.xml [Extension-Name: oracle.oaam.libs, exact-match: false]
Even though i have deployed required libraries
My weblogic.xml :
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd
http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<library-ref>
<library-name>oracle.oaam.libs</library-name>
</library-ref>
</weblogic-web-app>
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>OAAMTester</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<description></description>
<display-name>OAAMTestServlet</display-name>
<servlet-name>OAAMTestServlet</servlet-name>
<servlet-class>com.au.oaam.test.OAAMTestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>OAAMTestServlet</servlet-name>
<url-pattern>/OAAMTestServlet</url-pattern>
</servlet-mapping>
<listener>
<listener-class>com.au.oaam.test.listener.SessionListener</listener-class>
</listener>
</web-app>
~
~
Thanks
HHi!
Seems application missing this library. You need to add this library to either application or to the Weblogic server.
Note:
Also don't duplicate the same library in application and the server. You can use following entry to force the app to use only web-inf/lib libraries.
(weblogic.xml)
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
Nilum. -
Problem in configuring SSO using SAML for applications hosted on diff m/c
Hi Techies,
I am stuck in a weird problem for past month or so without any resolution. Not much help by googling. So I hope i get the answer from the mouth of the horses -
I am trying to use SSO using the sample application appA and appB as stated in the tutorial of SSO by BEA.
I am summarizing the problem below -
Steps followed for Configuring SSO using SAML
1. Created 2 domains on 2 seperate machines namely domainA and domainB
2. Source appliction is deployed on domainA and the target application is deployed on domaninB
The steps mentioned in the following tutorial has been followed-
http://dev2dev.bea.com/pub/a/2006/12/sso-with-saml.html
3. As mentioned in the tutorial the certificate is generated using keytool utility. The same certificate is copied
to WEBLOGIC_HOME/server/lib of destination machine.
4. The certificate was successfully registered on desitnation or host 2 but while activating the configuration
changes(SSL client Ientity Alias and SSL Client Identity Pass Phrase) for Federation services the following error
is thrown -
" SAMLBeanUpdateListener: SAMLKeyManager.prepareUpdate() failed with exception:
weblogic.descriptor.BeanUpdateRejectedException: SAML key Manage failed to validate key (SSL Client) configuration
in the FederationServicesMBean, key alias: testalias "
The interesting bit of the problem is that the same configuration works on 2 domains created on same machine. The
problem only occurs when domains are created on seperate machines.
Alterative to the problem: when the certificate is generated seperately for domainB and copied to
WEBLOGIC_HOME/server/lib, it works. However, the certificate generated in domainA should have been copied.
Note: I am using Weblogic portal 9.2.1
Any quick replies will be much appreciated. Thanks.
Edited by saurabh.agrawal at 02/06/2008 2:01 PMHi François,
You are right about the use of the NameID format. But the issue here is/was that OIF at SP is integrated with OAM, and the authenticated user at OIF-SP and OAM will be the Anonymous user rather than the user who was identified at the IdP even though the remaining attributes sent are for the IdP user. I think these attributes can be used by with OAM for authorization using custom authorization plug-ins but haven't tried that one out.
As for the attribute sharing profile, it's this one - http://www.oasis-open.org/committees/download.php/18058/sstc-saml-x509-authn-attrib-profile-cd-02.pdf, although for the life of me, I cannot remember why I suggested this in the first place!
-Vinod -
OAAM Sample Application deployment
I am getting following error while deploying OAAM sample application:
Error: Unresolved Webapp Library references for "ServletContext@285871212[app:OAAMTester module:OAAMTester.war path:/OAAMTester spec-version:2.5]", defined in weblogic.xml [Extension-Name: oracle.oaam.libs, exact-match: false]
Even though i have deployed required libraries
My weblogic.xml :
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd
http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<library-ref>
<library-name>oracle.oaam.libs</library-name>
</library-ref>
</weblogic-web-app>
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>OAAMTester</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<description></description>
<display-name>OAAMTestServlet</display-name>
<servlet-name>OAAMTestServlet</servlet-name>
<servlet-class>com.au.oaam.test.OAAMTestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>OAAMTestServlet</servlet-name>
<url-pattern>/OAAMTestServlet</url-pattern>
</servlet-mapping>
<listener>
<listener-class>com.au.oaam.test.listener.SessionListener</listener-class>
</listener>
</web-app>
~
~
Thanks
Edited by: user13114668 on Mar 6, 2013 4:26 PMEven though i have deployed all required libraries
-
PL/SQL SSO SDK Sample Application doesn't work!
In the latest document on the SSO SDK (http://download-east.oracle.com/docs/cd/A97329_01/manage.902/a96114.pdf), there is a major programming error in the sample application on page 4-5. There is an invalid EXCEPTION block followed by an invalid ELSE block.
There is absolutely no help from Oracle Support or Metalink on this issue. I am calling upon all Portal Developers frustrated with this very obvious syntax error to pressure Oracle to rewrite this document ASAP. From what I have read, this seems to be a problem since mid-2000. Let's flood Oracle Support with e-mail demanding this issue to be resolved at the highest priority!
I can't believe Oracle would allow this document to be released without being thoroughly proofread!Bill, thanks for bringing this to our attention. We certainly do our best to avoid documentation inaccuracies. Given the scope of the documentation, unfortuately occationally things slip through and we certainly appreciate it when people take the time to let us know if they find a "doc Bug".
Hopefully this won't happen too often but just in case (refering to the documentation)
If you find any errors or have any other suggestions for improvement, please indicate the title and
part number of the documentation and the chapter, section, and page number (if available). You can
send comments to us in the following ways:
Electronic mail: [email protected]
FAX: 650-506-7375 Attn: Oracle9i Application Server Documentation Manager
Post:
Oracle Corporation
Oracle9i Application Server Documentation
500 Oracle Parkway, M/S 1op6
Redwood Shores, CA 94065
USA
Thanks again -
SSO java sample application problem
Hi all,
I am trying to run the SSO java sample application, but am experiencing a problem:
When I request the papp.jsp page I end up in an infinte loop, caught between papp.jsp and ssosignon.jsp.
An earlier thread in this forum discussed the same problem, guessing that the cookie handling was the problem. This thread recommended a particlar servlet , ShowCookie, for inspecting the cookies for the current session.
I have installed this cookie on the server, but don't see anything but one cookie, JSESSIONID.
At present I am running the jsp sample app on a Tomcat server, while Oracle 9iAS with sso and portal is running on another machine on the LAN.
The configuration of the SSO sample application is as follows:
Cut from SSOEnablerJspBean.java:
// Listener token for this partner application name
private static String m_listenerToken = "wmli007251:8080";
// Partner application session cookie name
private static String m_cookieName = "SSO_PAPP_JSP_ID";
// Partner application session domain
private static String m_cookieDomain = "wmli007251:8080/";
// Partner application session path scope
private static String m_cookiePath = "/";
// Host name of the database
private static String m_dbHostName = "wmsi001370";
// Port for database
private static String m_dbPort = "1521";
// Sehema name
private static String m_dbSchemaName = "testpartnerapp";
// Schema password
private static String m_dbSchemaPasswd = "testpartnerapp";
// Database SID name
private static String m_dbSID = "IASDB.WMDATA.DK";
// Requested URL (User requested page)
private static String m_requestUrl = "http://wmli007251:8080/testsso/papp.jsp";
// Cancel URL(Home page for this application which don't require authentication)
private static String m_cancelUrl = "http://wmli007251:8080/testsso/fejl.html";
Values specified in the Oracle Portal partner app administration page:
ID: 1326
Token: O87JOE971326
Encryption key: 67854625C8B9BE96
Logon-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
single signoff-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_logout
Name: testsso
Start-URL: http://wmli007251:8080/testsso/
Succes-URL: http://wmli007251:8080/testsso/ssosignon.jsp
Log off-URL: http://wmli007251:8080/testsso/papplogoff.jsp
Finally I have specified the cookie version to be v1.0 when running the regapp.sql script. Other parameters for this script are copied from the values specified above.
Unfortunately the discussion in the earlier thread did not go any further but to recognize the cookieproblem, so I am now looking for help to move further on from here.
Any ideas will be greatly appreciated!
/MadsPierre - When you work on the sample application, you should test the pages in a separate browser instance. Don't use the Run Page links from the Builder. The sample app has a different authentication scheme from that used in the development environment so it'll work better for you to use a separate development browser from the application testing browser. In the testing browser, to request the page you just modified, login to the application, then change the page ID in the URL. Then put some navigation controls into the application so you can run your page more easily by clicking links from other pages.
Scott
Maybe you are looking for
-
How can I open a PDF generated by Distiller, in Designer?
When I open the form in Designer, it prompts me to enter a password. Before I go back to the client, I wanted to know if a pdf generated by Distiller can be opened and edited in Designer? What is distiller used for? Aditya
-
Hi, I am having difficulties in displaying PDF content from JSP. Obviously URL ends with mypdffile.jsp. From the JSP, I set attributes as follows. It works as intended on Firefox. Not on IE; response.setContentType("application/pdf;charset=UTF-8"); r
-
I think others have addressed a similar situation and resolved by embedding the .flv file into the webpage, using "insert Flash Video" feature of Dreamweaver. However, I want to insert my .swf because it includes actionscript and includes an FLVPlayb
-
i purchased an album on iTunes and was having problems with my internet connection and downloading. before it could finish my computer froze and i was forced to restart. when i reopened iTunes, it didn't have the album. does anyone know how i can eit
-
Default values in SE16 table selection screen
Hi, when we open SE16 along with table name , In the selection screen of that table i want some default values apper for one particular field. How can i do that???