Configuring WL 10.3.5 with ADF 10.1.3.4 and 11.1.1.5

Hi all,
I am quiet new to WebLogic and trying to learn it by reading documentation available online.I need to create two domain(weblogic 10.3.5),one with ADF 10.1.3.4 and other with 11.1.1.5.
If anyone has idea Please do reply.Please also write about any compatibility or any other issues.
Thx-
rakesh

the link was provided for some understanding or multiple domains..
this link will provide you some information about Extending your WebLogic standalone environment with ADF runtime libraries
http://blog.whitehorses.nl/2010/01/06/extending-your-weblogic-standalone-environment-with-adf-runtime-libraries/
adf 10 on weblogic 10.3
http://blog.fekw.de/2008/08/23/howto-install-adf-10-runtime-and-deploy-adf-bc-app-to-oracle-weblogic-103-running-on-linux/
The runtime libraries can be installed from a standalone installer
http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html
http://www.oracle.com/technetwork/developer-tools/jdev/adf-runtime-update-howto-089262.html
cn chk this also
ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference

Similar Messages

  • How to configure array for UAG 2010 with topology Between a frontend firewall and a backend firewall

    Hi,
    We want to publish exchange 2013 through UAG 2010. What is the best topology for UAG 2010?
    Can we configure UAG 2010 arrawy with topology "Between a frontend firewall and a backend firewall" ?
    Can we configure UAG 2010 array in workgroup?
    What is the drawback to use ARR to publish exchange 2013?
    Thanks
    Jitender 
    jitender

    Hi Jitender - I have doen quite a few UAG deployments like this and is fully supported sitting in a DMZ between Firewalls. However, for an array the UAG Servers muts be domain joined. In these deployments the question is whether to place a Domain In the
    DMZ (locked down of course) or allow traffic through to a domain controller via the backend firewall.
    The link you require is here -
    http://technet.microsoft.com/en-gb/library/ee428826.aspx
    Kr
    John Davies

  • 3rd party payment integration with ADF application

    Hi ADF experts,
    We have a requirement to integrate our ADF application with 3rd party payment gateway.
    For this we have created 2 servlets(one to post data, and one for relay response) which will talk to payment gateway.
    Since we are using servelts, we wont have access to bindings or any of ADF features. We manage the handshake between servlets and ADF app by passing data through session variables.
    I am not happy with this solution, even though it works in our test environment. I would prefer a complete ADF soultion rather than using servelts/jsps.
    Is there a standard way(either inbuilt in ADF or extensions) to integrate 3rd party gateway with ADF application which is safe and secure?
    Jdev used: 11.1.1.1.5
    Payment gateway used: authorize.net
    thanks
    -Venkat

    You can access adf application module from a servlet. All you have to do its to setup a pagedef for the servlet.Check out my blog http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ Which shows how to do this.
    I'm not aware of standard integration to a payment service.
    Timo

  • JDev11 with ADF backing bean examples?

    I have gone through many of the OBEs, How To examples, and a few custom examples in blog posts. Almost all of the examples that use ADF Business Components to model oracle data do not use backing beans, at least not of the ones I have found. If anyone know of links to examples that show JDeveloper using ADF to model Oracle table and using backing beans (Could be calls to the application module, whatever). Could you please post links. The examples from Oracle tend to be declarative with ADF components, and I want to get to the next level of complexity in development that combines custom code with existing declarative code.
    It would be great if a few of the OBEs could show a declarative, and also a programmatic way to solve the same problem in a few cases - such as the "Build a Fusion Web Application" in the help. I don't need everything programmatically done, just show where something can be done declarative and how it could also be done programmatically. It would also help to know the limits of declarative programming and where you would need to code a solution.
    Thanks, Ken

    >
    Warning: Long Post. I wanted this to be clear as to what I really need help with.
    >
    What I am looking for is more clarification on both how to use and when to use backing beans.
    Here is an example that I am currently working on using jdev11u2 with ADF BC for the model and JSF.
    I have a single page. The goal is to have several filter components, then a run report. Under the run report there are several components based on select statements that use one or more of the filter components. These components are displayed as graphs (because that is what management wants to see.)
    Seems easy enough.
    I have four graphs that are desired. In my oracle schema, I use sql developer to develop four queries that return the data that I want.
    In the model, I create four view objects. Each one has a one or more binds for filters. I don't put in a default value, but make them required. Most of the views have a common bind for techID, which actually points to a different column name in each of the views, but generally has a similar meaning. I didn't create the tables, just have to live with the existing design. Sound familiar? After creating read only views that do not have EOs, I add these to the Application Module. I also create a lookup for techid that queries a table and returns two values, techname and techid. I want this to be used for a combobox to select the user to run the report on.
    Three of the queries have a date component. The idea is to have options so that the use can select from three choices, last 30 days, last 60 days, and last 90 days. I modify three of the queries in the VOs, and add a DateFilter bind that is of type Date. This happens to be oracle.jbo.domain.Date
    So to get this to work so far, I create a method named updateViews in my Application Module. I create two methods, one that receives String TechID, and another that receives String TechID and java.util.Date date. In the code for the first choice, I simple get the date 30 days ago and use that, then call the second method with both techid and the date. In the second method, I convert java.util.Date to oracle.jbo.domain.Date. I create an instance of each VO, and call a method on each named updateWithParams(String techid, Date date). The Date is automatically defined as the oracle.jbo.domain.Date. In each of my VO's, I create a method in the VOImpl.java for each that is basically the same - accepts the parameters, sets them in the where clause, then calls the execute method.
    In the form, I start simple. I drag the ExecuteWithParam method to the form from the updateView that only has the techid field as an ADF Button. I Then drag the techid parameter under this method to the form as a single selection, and set this up so that it uses my lookup for the data, displays the name, and uses the techid as the value.
    To test, I drag each of the VOs to the page as simple read only tables, not bothering to change any of the settings. This is just to make sure it is working.
    To note, the page uses an actionlistener for the button, so the code on the page for the button is:
    <af:commandButton actionListener="#{bindings.updateViews1.execute}"
      text="updateViews1"
      disabled="#{!bindings.updateViews1.enabled}"/>Everything works! Yea!
    Now to make this more interesting, I want to add the date filter.
    I delete the Command button and the combobox. I now drag the method that has two parameters. Same procedure as before, adding the techid parameter that uses the combobox that uses the lookup vo. Great so far.
    Now here is where I run into problems and am trying to understand backing beans as a possible solution.
    I need the data selection to be a radio button that has three choices: Last 30, Last 60, and Last 90. Using the drop method of the parameter to the form, it doesn't appear that I have any way to setup initial values correctly. Just to test, I dropped as an input date. In this case I can't set the default date. I get the following component on the page:
              <af:inputDate value="#{bindings.date.inputValue}"
                            required="#{bindings.date.hints.mandatory}"
                            shortDesc="#{bindings.date.hints.tooltip}">
                <f:validator binding="#{bindings.date.validator}"/>
                <af:convertDateTime pattern="#{bindings.date.format}"/>
              </af:inputDate>What I want is to be able to modify the value for #{bindings.date.inputValue}, but I don't understand how backing beans work well enough to implement this. When I try, everything gets messed up. I even tried to use a backing bean for the command button, but then I have an actionlistener, I have to create both the binding and action. I don't know if this is correct, and haven't found documentation that shows what to do.
    So this is my dilemma, I think that a backing bean will solve the problem, but need examples that incorporate both standard table bound components to ADF BC model, that I can manipulate. Eventually, I want the date component to point to a radio button. If I drop the component on the form and drop as a select one radio, this is my starting point. Now, how can I setup the values so that the 30, 60, and 90 are really SYSDATE - 30, SYSDATE - 60, and SYSDATE -90 (or java equivalent using Calendar), and still bound to the ADF component so when the command button is pressed, the correct parameters are sent.
    What is not clear is whether I need to switch out the execwithparams to backingbean functionality to call the method. Can both co-exist with actionlistener being set, and an action pointing to a backing bean?
    This is why I am requesting more examples, so that the mixing of ADF BC model bound to ADF faces components and programming code to get the compoents to work according to a specific user case can be completed.
    Thanks, Ken

  • Issue with SharePoint foundation 2010 to use Claims Based Auth with Certificate authentication method with ADFS 2.0

    I would love some help with this issue.  I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0  I have a test account set up with lab.acme.com to use the ACS.
    When I log into my site using Windows Auth, everything is great.  However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
    to use to log in   and after 3-5 second
     and return me the logon page with error message “Authentication failed” 
    I base my setup on the technet article
    http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
    I validated than all my certificate are valid and able to retrieve the crl
    I got in eventlog id 300
    The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
    Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
    Additional Data
    Exception details:
    Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
    ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
    correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    --- End of inner exception stack trace ---
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
    serializationContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
    trustNamespace, AsyncCallback callback, Object state)
    System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
    failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    thx
    Stef71

    This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
    on my case was :
    PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ad0001.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
    Certificate                 : [Subject]
                                    CN=domain.AD0001CA, DC=domain, DC=com
                                  [Issuer]
                                    CN=domain.AD0001CA, DC=portal, DC=com
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    22/07/2014 11:32:05
                                  [Not After]
                                    22/07/2024 11:42:00
                                  [Thumbprint]
                                    blablabla
    Name                        : domain.ad0001
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : domain.ad0001
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17164
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ADFS_Signing.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
    Certificate                 : [Subject]
                                    CN=ADFS Signing - adfs.domain
                                  [Issuer]
                                    CN=ADFS Signing - adfs.domain
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    23/07/2014 07:14:03
                                  [Not After]
                                    23/07/2015 07:14:03
                                  [Thumbprint]
                                    blablabla
    Name                        : Token Signing Cert
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : Token Signing Cert
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17184
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.PORTAL>

  • Problem with ADF Security / SQL Authenticator after upgrade to 11.1.1.6

    Hi,
    We have an ADF application built with JDeveloper 11.1.1.2 that's been in production for a couple of years. Now we are in the process of upgrading to 11.1.1.6 so I have upgraded WLS and ADF in a test environment and re-deployed the application there. The application uses users and groups from database using SQL Authenticator configured in WLS. This worked fine in the old version but now after the upgrade we can't log in with credentials from the database. I can log in if I add a user to the default authenticator. We didn't touch any of the authenticator settings or security realm configurations during the upgrade. Both authenticators are marked as SUFFICIENT, as they have always been.
    Has something changed in the way SQL Authenticator is used since 11.1.1.2? What could be the problem?
    Regards,
    Joonas

    Answering myself here: after recreating the SQL Authenticator and the ADF Security configuration logins are working again. Don't know where the problem was though.

  • Java.lang.UnsupportedClassVersionError with ADF and Websphere

    I'm trying to get an app running with ADF/Tomahawk/MyFaces/Facelets going on Websphere 6.0. However Websphere is running with a 1.4.2 JVM instead of 1.5 so I get an error when it comes to the ADF NavigationHandlerImpl which has been built with Java 1.5. Is there a Java 1.4 version of ADF faces I should have downloaded somewhere?
    Hints appreciated.
    Regards, Murray
    ==<logs below >=================================
    [5/4/06 13:15:47:816 GMT] 00000011 FacesConfigur I Reading config /WEB-INF/faces-config.xml
    [5/4/06 13:15:48:236 GMT] 00000011 WebApp E LinkageError while defining class: oracle.adfinternal.view.faces.application.NavigationHandlerImpl
    Could not be defined due to: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@7d4e3ab9
    Local ClassPath: C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\classes;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\activation-1.0.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-facelets.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-api-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-impl-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\aui.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\common-annotations.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-codec-1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-collections-3.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-digester-1.6.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-el-1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-fileupload-1.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-io-1.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-lang-2.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-logging-1.0.4.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-ri.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsf-facelets1014.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsp-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jstl-1.1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\log4j-1.2.13.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-impl-files.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-interfaces.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-standalone.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-api-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-impl-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\portlet.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\serializer.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\tomahawk-1.1.2-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xalan.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xercesImpl.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xml-apis.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xpp3_min-1.1.3.4.O.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-1.1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-with-attributes.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war;
    Delegation Mode: PARENT_FIRST
    [1] com.ibm.ws.classloader.JarClassLoader@630356666 Local Classpath: Delegation mode: PARENT_FIRST
    [2] com.ibm.ws.classloader.ProtectionClassLoader@2333faba
    [3] com.ibm.ws.bootstrap.ExtClassLoader@7f427ab8
    [4] sun.misc.Launcher$AppClassLoader@7f4cbab8
    [5] sun.misc.Launcher$ExtClassLoader@7f30bab8
    ---Original exception---
    java.lang.UnsupportedClassVersionError: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:414)
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:260)
         at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:131)
         at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
         at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:521)
         at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:448)
         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
         at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678)
         at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

    Hi,
    you will have to compile the application with JDK 1.4 in this case. This should work for JSF and ADF Faces.
    Frank

  • Process of login with ADF security

    Hi,
    I was looking at how to implement the process of Login with the ADF security using JDev 11g and I feel very good...
    My question is if it is possible to use this tool in case of use a container as Tomcat 6.x or JBoss. If it is possible to use ADF security for these containers, what should be configured to work?

    Hi,
    ok, I'd like to use authorization with ADF security, but as you say it is not possible in Tomcat. well, but could implement it, if there must be 3 users with different roles of the little system that I want to develop. Any idea?. There maybe a small example with user roles to use without authorization of ADF security?.

  • Call web service in beehive with ADF

    Hi all,
    I want to call a web service from Oracle Beehive with ADF 10g. I created the data control from the wsdl file and I was execute in my jspx page.
    A message was returned:
    "DCA-40010: The Web Service call failed. The service returned a SOAP fault with the message: null."
    I created a java client using Apache Axis and the error was the following:
    Exception in thread "main" AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}VersionMismatch
    faultSubcode:
    faultString: Version Mismatch
    faultActor: http://schemas.xmlsoap.org/soap/actor/next
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:Version Mismatch
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
         at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at webservice.platform.bee.oracle.CalendarServiceSoapHttpStub.deleteReminder(CalendarServiceSoapHttpStub.java:1873)
         at ExecuteClient.main(ExecuteClient.java:26)
    I think that this problem is related with de soap version (1.1 and 1.2).
    Someone can help me?
    Thanks.

    Hi,
    there's also a comprehensive step-by-step tutorial about consuming a web service from the Enterprise Services Workplace using CAF. This tutorial also features the new capability for configuration of Web Service consumers that was introduced with 7.1.1.
    You can find the tutorial [here|http://help.sap.com/saphelp_nwce711/helpdata/en/6d/00932cf834471789ad286986185acb/frameset.htm].
    Hope that helps!

  • Eclipse XQuery expression validation failed: The current configuration is out of sync with the XQuery resource in the repository.

    I created a wsdl based on a dbadapter in jdeveloper, imported into eclipse and created the biz and the proxy and uploaded to oracle service bus, it works fine,
    but happens now that i need to have a xsd and wsdl with business names and not table names, invented to create a xsd and wsdl file in jdeveloper
    and then went to eclipse and tried t xquery tranformation, but when i add the replace in the message flow in the filed in Variable : body and Expression i look for the xquery and in the binding trying to put
    $body/input parameter, get the following error [RouteNode1, Replace action] XQuery expression validation failed: The current configuration is out of sync with the XQuery resource in the repository.
    what im doing wrong or its configuration
    thanks in advance sonia

    thanks
    ok have created a table with only in column varchar2(1)
    then the type object and the procedure to insert it works the proxy in the osb if i test it inserts
    now in jdeveloper i created an xml file with
    <?xml version="1.0" encoding="windows-1252" ?>
    <vessel>
    <barco>a</barco>
    </vessel>
    then i created a xsd based on this xml, and a wsdl based on the xsd
    in eclipse created a xquery transformation and selected source as the xsd created in adf and target the xsd input parameter, dont know why in the purple ball of the input parameter it puts a ?, an a f.
    then in the proxy xpath not writing anything in variable body and in the expression select the xquery and in binding select the parameter

  • Oracle SOA with ADF library

    Hi,
    I am learning Oracle SOA with ADF as mentioned in the below URL:-
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    I want to know what is .jws,.jpr,.jpx files? Whether these are autogenerated files from JDeveloper? What is the purpose of these files? which is not clearly mentioned in the site.
    1) What I found is like, i have "n" number of composite services in "CompositeService" folder with a common .jws file which will hold the configuration (.jpr) of the other composie services, by doing so it does integrate all the services into a single cohesive unit?
    2) There is a "infrastructure" folder which does have .jws with the DB Schema which is commonly used by the composite services? This infrastructure will be referenced in the individual composite services to communicate with the DB?
    3) While deploying it in Oracle WL server, we will create a single .WAR for these composite services and will be deplyed?
    4) The packages javax.xml.ws (for webservices) all these are part of ADF library?
    5) I found that BPEL is the one which orchestrate the services, which is a XML file which will be similalr to common .jws which holds the config for all the composite services? Where exactly it comes to the picture?
    6) Simarly where exactly the SCA and SDO comes to the picture?
    Please clarify in respect to the application, which will be of great help.
    Thanks in advance.

    Guys, no replies. Please respond. Thanks in advance.

  • Can't find bean with adf bc sdo web service

    Hi,
    I made a sdo web service with adf bc on the customer table in the oe schema. This works fine, I deployed this on the j2ee container of jdev tp4.
    Now I use this sdo ws in a entity of an other project bc4j project. I add the jars , update the connection.xml and I configured the jndi.properties so it can lookup the sdo bean which is defined in the connection.xml.
    If I start up the new application I got jndi lookup error. It can't find the bean which is defined in the ServiceImpl of the sdo ws project. I saw this impl has annotations to make a bean
    package nl.ordina.sdo.service.server.serviceinterface;
    import java.lang.reflect.Method;
    import java.util.List;
    import nl.ordina.sdo.dataaccess.common.CustomersViewSDO;
    import nl.ordina.sdo.service.common.serviceinterface.OEServiceService;
    import oracle.jbo.common.sdo.SDOHelper;
    import oracle.jbo.common.service.types.FindControl;
    import oracle.jbo.common.service.types.FindCriteria;
    import oracle.jbo.common.service.types.ProcessControl;
    import oracle.jbo.common.service.types.ProcessData;
    import oracle.jbo.server.svc.ServiceImpl;
    import oracle.jbo.service.errors.ServiceException;
    // --- File generated by Oracle ADF Business Components Design Time.
    @javax.ejb.Stateless(name="nl.ordina.sdo.service.common.OEServiceServiceBean")
    @javax.ejb.Remote(OEServiceService.class)
    @javax.jws.WebService(targetNamespace="/nl/ordina/sdo/service/common/",
    serviceName="OEServiceService", portName="OEServiceServiceSoapHttpPort",
    endpointInterface="nl.ordina.sdo.service.common.serviceinterface.OEServiceService")
    @oracle.j2ee.annotation.ejb.StatelessDeployment(copyByValue=false,
    minInstances=2)
    public class OEServiceServiceImpl extends ServiceImpl implements OEServiceService {
    Why can't it find the bean
    If I manually create a ejb session bean on the sdo application module then the new app finds the bean but it gives an error because it does not support the find operation.
    thanks edwin

    Thanks Steve.
    I had my own jndi.properties file that's why it was working with ejb bean I created in the AM and not with the sdo web service.
    I didn't know I had to add the jndi properties to the connection.xml maybe you can update the documentation.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ns2:References xmlns:ns2="http://xmlns.oracle.com/adf/jndi">
    <Reference className="oracle.jbo.client.svc.Service"
    name="{/test/model/common/}DepartmentModuleService">
    <Factory className="oracle.jbo.client.svc.ServiceFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="serviceInterfaceName">
    <Contents>test.model.common.serviceinterface.DepartmentModuleService</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceEndpointProvider">
    <Contents>ADFBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiName">
    <Contents>test.model.common.DepartmentModuleServiceBean</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaName">
    <Contents>DepartmentModuleService.xsd</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaLocation">
    <Contents>test/model/common/serviceinterface/</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiFactoryInitial">
    <Contents>oracle.j2ee.rmi.RMIInitialContextFactory</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiProviderURL">
    <Contents>ormi://localhost:23791/SvcInterfaceDeploy_MiddleTier</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiSecurityPrincipal">
    <Contents>fmwadmin</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiSecurityCredentials">
    <Contents>welcome</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaName">
    <Contents>HRAppService.xsd</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    </ns2:References>
    thanks edwin

  • Issues With ADF-BC Business Events.

    Hi All,
    I was just trying out how ADF-BC business events works, so tried to create a small application based on scott.EMP table.
    In the EmpEO entity, created and published a new business event for employee creation.
    However, when I run the AM Tester to see how it works, I faced the 'Business Event Connection Configuration Invalid' error.
    The detailed log is as follows:
    [53] executeQueryForCollection ViewObject:EmpVO1, RowSet:EmpVO1
    [54] EmpVO1>#q computed SQLStmtBufLen: 204, actual=177, storing=207
    [55] SELECT EmpEO.EMPNO, EmpEO.ENAME, EmpEO.JOB, EmpEO.MGR, EmpEO.HIREDATE, EmpEO.SAL, EmpEO.COMM, EmpEO.DEPTNO FROM EMP EmpEO
    [56] ViewObject: [model.EmpVO]AppModule.EmpVO1 Created new QUERY statement
    [57] Bind params for ViewObject: [model.EmpVO]AppModule.EmpVO1
    [58] DBTransactionImpl.mDefaultSparseArrayThreshold is 20
    [59] **** refreshControl() for BindingContainer :AppModule_EmpVO1_0PageDef
    [60] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    [61] **** refreshControl() for BindingContainer :AppModule_EmpVO1_0PageDef
    [62] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    [63] INFO: No app def in BindingContext for: adfFacesContext
    [64] INFO: mDCRefMap lookup failed. Does the cpx have a dataControlUsages 'dc' entry? adfFacesContext
    [65] INFO: No app def in BindingContext for: adfFacesContext
    [66] INFO: mDCRefMap lookup failed. Does the cpx have a dataControlUsages 'dc' entry? adfFacesContext
    [67] DBG: beforeActionPerformed :javax_swing_JToolBara1_16
    [68] OracleSQLBuilder: SAVEPOINT 'BO_SP'
    [69] OracleSQLBuilder Executing, Lock 2 DML on: EMP (Insert)
    [70] INSERT buf EmpEO>#i SQLStmtBufLen: 210, actual=43
    [71] INSERT INTO EMP(EMPNO,ENAME) VALUES (:1,:2)
    [72] Insert binding param 1: 9116
    [73] Insert binding param 2: lk
    [74] Attempting to queue business event: model.EmpEO.EmpCreate
    [75] Successfully queued business event: EmpCreate
    [76] Attempting to raise business event: {http://model/events/edl/EmpEO}EmpCreate
    INFO: Looking for BusinessEventConnectionFactory
    INFO: Looking for EDN-DB JNDI configuration to create SAQRemoteBusinessEventConnectionFactory.
    *INFO: Unable to create SAQRemoteBusinessEventConnectionFactory: [jdbc/EDNSource or jdbc/EDNDataSource] undefined.*
    INFO: Looking for EDN-JMS JNDI configuration to create JMSRemoteBusinessEventConnectionFactory.
    *INFO: Unable to create JMSRemoteBusinessEventConnectionFactory: [java:comp/UserTransaction] undefined.*
    *INFO: Unable to create JMSRemoteBusinessEventConnectionFactory: [jms/fabric/EDNConnectionFactory] undefined.*
    INFO: Failed to get ConnectionFactory instance.
    [77] Batch Warning:Business Event Connection Configuration Invalid
    [78] * * * BindingContainer caching EXCEPTION:oracle.jbo.JboException
    [79] java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    [80] DCBindingContainer.reportException :oracle.jbo.JboException
    [81] oracle.jbo.JboException: Business Event Connection Configuration Invalid     
    at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:521)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         ... 40 more
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    And when I tried to create a new employee from a JSF page, I get the following error:
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: oracle/fabric/blocks/event/BusinessEventConnectionFactory
    java.lang.NoClassDefFoundError: oracle/fabric/blocks/event/BusinessEventConnectionFactory
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.ClassNotFoundException: oracle.fabric.blocks.event.BusinessEventConnectionFactory
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 65 more
    Could you please tell me what I am missing, as I cant find any documentation which says anything about these errors. I tried added 'SOA Runtime' library to both model and UI project but still it did not work out.

    This is the configuration of the global data source I created earlier when BE worked:
    EDNSource
    JNDI Name: jdbc/EDNSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
    user= DEV_SOAINFRA
    EDNDataSource
    JNDI Name: jdbc/EDNDataSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
    user= DEV_SOAINFRA
    So now to test local data sources, I deleted the above to data sources and created the following data source (non-XA) having configuration listed below:
    EDNSource
    JNDI Name: jdbc/EDNSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.OracleDriver
    user= DEV_SOAINFRA
    This is what happens when I raise the business event with EDNSource data source using non-XA data source with class 'oracle.jdbc.OracleDriver'
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <JmsBusinessEventBusMessages> <warnUsingOldDatasoureNames> Couldn't find the required datasources, but found them via the old names. Please update your datasource configurations.
    <JmsBusinessEventBusMessages> <warnUsingGlobalDatasourecForLocal> Local Tx Datasource not found, using XA datasource. Please update your configuration.
    Looks like ENDSource is old name of the driver and the new name is EDNDataSource, so created a new data source with name EDNDataSource (after deleting previous data source EDNSource) with the following configuration:
    EDNDataSource
    JNDI Name: jdbc/EDNDataSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.OracleDriver
    user= DEV_SOAINFRA
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <JmsBusinessEventBusMessages> <warnUsingGlobalDatasourecForLocal> Local Tx Datasource not found, using XA datasource. Please update your configuration.
    The warning still comes. Luckily, its just a warning and not an error. ;)

  • JMS with ADF in Jdeveloper tutorial needed

    Hi,
    I am a newbie to ADF and JMS. Can anyone please provide me a sample tutorial on how to configure JMS in jdeveloper and integrate with ADF.
    Thanks much.
    Amy

    Thanks Jim, i have posted the tutorial needed at
    "http://forums.oracle.com/forums/thread.jspa?threadID=2140626'
    now iam facing problem in message listener. My aim is to get a popup window opened in my reciever page once i send a msg from sender page.
    i shouldnt do any opns on the receiver page except opening it.
    how do i make it..
    PFB the sample codes that i hav developed. I am able to get the msg on the reciever page only on click of a button which shodnt be the case.
    package view;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueReceiver;
    import javax.jms.QueueSender;
    import javax.jms.QueueSession;
    import javax.jms.TextMessage;
    import javax.naming.InitialContext;
    import javax.faces.context.FacesContext;
    public class SenderBean {
    private String varHi;
    public SenderBean() {
    super();
    * @return
    * @throws Exception
    public void send() throws Exception {
    System.out.println("in sender bean");
    QueueConnectionFactory qconFactory = null;
    QueueConnection qcon = null;
    QueueSession qsession = null;
    Queue queue = null;
    TextMessage msg = null;
    InitialContext ctx = CustomInitialContext.getInitialContext();
    qconFactory = (QueueConnectionFactory)ctx.lookup("jms/MyQueueFactory");
    qcon = qconFactory.createQueueConnection();
    qsession =
    qcon.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue)ctx.lookup("jms/MyQueue");
    //Posting message to Queue
    QueueSender qsender = qsession.createSender(queue);
    msg = qsession.createTextMessage();
    msg.setStringProperty("MSG_ID", "12345678947");
    msg.setText("Hello at " + System.currentTimeMillis());
    qsender.send(msg);
    System.out.println("Sent");
    qsender.close();
    // QueueReceiver queueReceiver = qsession.createReceiver(queue);
    // CustomAsyncReceiver listener = new CustomAsyncReceiver();
    // queueReceiver.setMessageListener(listener);
    * @return
    public void actionListener() throws Exception{
    FacesContext fm2;
    fm2=FacesContext.getCurrentInstance();
    System.out.println("fm-->"+fm2);
    // return fm2;
    public void recieve() throws Exception {
    System.out.println("in receieve method of sender bean");
    System.out.println("in reciever bean");
    FacesContext fctx = FacesContext.getCurrentInstance();
    System.out.println("fctx-->"+fctx);
    QueueConnectionFactory qconFactory = null;
    QueueConnection qcon = null;
    QueueSession qsession = null;
    Queue queue = null;
    TextMessage msg = null;
    InitialContext ctx = CustomInitialContext.getInitialContext();
    qconFactory = (QueueConnectionFactory)ctx.lookup("jms/MyQueueFactory");
    qcon = qconFactory.createQueueConnection();
    qsession =
    qcon.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue)ctx.lookup("jms/MyQueue");
    // QueueReceiver queueReceiver = qsession.createReceiver(queue);
    // CustomAsyncReceiver listener = new CustomAsyncReceiver(fctx);
    // queueReceiver.setMessageListener(listener);
    //To receive message from Queue
    qcon.start();
    QueueReceiver qReceiver = qsession.createReceiver(queue);
    while (true) {
    TextMessage txt = (TextMessage)qReceiver.receiveNoWait();
    System.out.println("txt-->"+txt);
    if (txt == null){
    System.out.println("txt is null");
    break;
    else{
    // FacesContext ctx = FacesContext.getCurrentInstance();
    if (fctx != null) {
    System.out.println("iam not null");
    FacesMessage fm =
    new FacesMessage(FacesMessage.SEVERITY_INFO, txt.getText(),
    "chat");
    fctx.addMessage(null, fm);
    System.out.println("iam in else");
    System.out.println(txt.getText() + "with header MSG_ID=" +
    txt.getStringProperty("MSG_ID"));
    qReceiver.close();
    qsession.close();
    qcon.close();
    public void setVarHi(String varHi) {
    this.varHi = varHi;
    public String getVarHi() {
    return varHi;
    public void actionListener(ActionEvent actionEvent) {
    // Add event code here...
    ***********************************************Reciever.JSPX*******************************
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <!--<af:messages id="m1" binding="#{Sender.recieve}"/>-->
    <af:form id="f1">
    <af:outputLabel value="HI IAM RECIEVER" id="ol1"/>
    <af:commandButton text="openreciever" id="cb1"
    action="#{Sender.recieve}"
    />
    <!-- <af:commandButton action="#{AsyncReciever.asynRecieve}" text="show"/>-->
    <!--<af:popup id="prnDlg">
    <af:dialog title="POPUP"
    id="d2" type="none">
    <af:outputLabel value="HI IAM RECIEVER" id="ol91"/>
    </af:dialog>
    </af:popup>-->
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Please provide me help on the same

  • Generate current SAML Token with ADF

    Hi all,
    How can I generate the current SAML token for the authenticated user with ADF in an input form type hidden.
    Thanks.

    Hi Samy
    Are you trying to propagate identity to an associated FA instance that belong to the same identity domain? If so, You dont need to configure anything.  You can directly use the policy oracle/wss11_saml_token_with_message_protection_client_policy in your client. We have a sample in the SDK that showcases this.
    Thanks
    Vel

Maybe you are looking for