Web Applications on different servers

Hello,
I have a web app (App 1) running on OAS and have another web app (App 2) running on different instance of OAS.
App 1 calls App 2 (currently achieved using Struts Action Forward with redirect="true" in struts-config.xml)
I need to pass some user login related information from App1 to App2? How can I do this?
Thanks for you help!

Hello, Rex;
You cannot logon to InfoView using the URL and a token. You need to create an Identity cookie on the infoview side similar to the following:
Create an aspx page with the following code:
           CrystalDecisions.Enterprise.SessionMgr sessMgr = new CrystalDecisions.Enterprise.SessionMgr();
          //Log onto Enterprise and create an EnterpriseSession
           CrystalDecisions.Enterprise.EnterpriseSession enterpriseSession;
           enterpriseSession = sessMgr.Logon("Administrator", "", System.Environment.MachineName.ToString(), "secEnterprise");
           //Create a CrystalIdentity object, set the EnterpriseSession and store in session
           BusinessObjects.Enterprise.Infoview.Common.CrystalIdentity identity;
           identity = new BusinessObjects.Enterprise.Infoview.Common.CrystalIdentity();
           identity.Session = enterpriseSession;
           HttpContext.Current.Session.Add("INFOVIEW_SESSION", identity);
           //Create the InfoViewdotnetses cookie which holds the SerializedSession
           HttpCookie InfoViewdotnetses = new HttpCookie("InfoViewdotnetses");
           InfoViewdotnetses.Value = Server.UrlEncode(enterpriseSession.SerializedSession.ToString());
           InfoViewdotnetses.Path = @"/";
           Response.Cookies.Add(InfoViewdotnetses);
           Response.Redirect("logon.aspx");
Place this page in the InfoViewApp folder (C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Web Content\InfoViewApp\InfoViewApp
Let me know if that is what you are looking for.
Elaine
Edited by: Elaine Dove on May 21, 2009 10:04 AM

Similar Messages

  • Web application for different groups

    I need to develop an application, which is used by 3 different group of people (each group from a different state, I might need to distinguish orders from different state). All the users data is stored in central LDAP server.
    I need to design schema for datbase and come up with a good architecture for web application (Servlets/jsp's etc).
    Guys, if you have worked on a similar project or if you have any suggestions on how to structure the application, please reply me with your suggestions and hints. I have to start working on this project from next week..I am planning to take few days for designing the application then I want to start coding

    I need to develop an application, which is used by 3
    different group of people (each group from a different
    state, I might need to distinguish orders from
    different state). All the users data is stored in
    central LDAP server.
    I need to design schema for datbase and come up with a
    good architecture for web application (Servlets/jsp's
    etc).
    Guys, if you have worked on a similar project or if
    you have any suggestions on how to structure the
    application, please reply me with your suggestions and
    hints. I have to start working on this project from
    next week..I am planning to take few days for
    designing the application then I want to start codingAre you getting paid? Are you willing to split that payment to those who help?

  • SharePoint 2010 - Create new site collection in existing web application with different existing content DB

    I have a SharePoint 2010 root level site collection SC1 in web application WEBAPP1. I want to create copy of that site collection in same web application WEBAPP1. Apart from Import/Export, Restore/Backup options, will following approach work? If yes , how?
    I took backup of content database of web application.
    Restored database with different name
    Mounted Content database to this WEBAPP1 by assigning new ID to DB
    Created new site collection by using this newly mounted DB
    Site collection gets created successfully but content does not appear.
    Please guide if i can achieve desired functionality by using this approach.
    If this helped you resolve your issue, please mark it Answered

    It is because the Site GUID is identical, and each GUID can only be present on the farm once. You can use Backup-SPSite/Restore-SPSite (which is full-fidelity, unlike Export-SPWeb/Import-SPWeb), which will generate a new GUID for the restore Site Collection,
    even in the same Web App.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Consuming Client Web Service at Different Servers

    We are consuming a third party web service using the following steps :
    Third party vendor gave the link of their web service
    Created a proxy class using the link.
    Called their method through a program.
    We are giving some input and getting the corresponding output - We are able to consume the external WS absolutely fine.
    If the server location of the above web service changes do we have to follow the above steps all over again that is create new PROXY CLASS??
    What if the third party application also have a landscape just like SAP  for ex - DEV, QA, PRD -  the IP of the web service is different on each system.
    The user(who is not a technical person) wants something very simple where they just want to put the web service's new link and system should function as it was with old link.

    No reply, hope my question is clear to the experts.

  • Different Applications on different Servers

    Hi all,
    How to configure the access by differents applications on different OC4Js ? For example:
    The application A (contains JSPs) is installed on OC4J 1 and application B (contains EJBs) is installed on OC4J 2,
    the application B must be accessed by application A, how to configure these applications ?
    Thanks in advance !

    hi!
    you look them up, just the same way as at the same container. you just have to specify the location of the JNDI, where the beans should be looked up (environment settings).
    Hashtable env = new Hashtable();
    // com.evermind.server.rmi.RMIInitialContextFactory IS IMPORTANT
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin"); // user
    env.put(Context.SECURITY_CREDENTIALS, "admin"); // pwd
    env.put(Context.PROVIDER_URL, "ormi://OC4J2/BeanAppl"); //location + applname
    Context context = new InitialContext(env);
    SBHome sbHome = (SBHome)PortableRemoteObject.narrow(context.lookup("SB"), SB.class);
    SB sb = SBHome.create();
    hope 2 help you ;o)
    ed

  • From a Technical Architect point of view, how to design a web application?

    Hi to all,
    I am writing this issue here because I this question is not related on how to program, but on how to design a web application. That is, this question is not related to how to program with the technologies in J2EE, but how to use them correctly to achieve a desired outcome.
    Basically I know how to develop a simple web application. I like to use SpringFramework with AcegiSecurity and Hibernate Framework to persist my data. I usually use JBoss to deploy my web applications, however I could easily use Tomcat or Jetty (Since I am not using EJB�s).
    However I have no idea on how to develop (or a better word would be �design�) a website which is divided into different modules.
    Usually when you develop a website, you have certain areas that are public, and other areas that are not. For example, a company would want anyone on the Internet to download information about the products they are selling, however they would only want their employees to download certain restricted information.
    Personally I try to categorise this scenario in to common words; Extranet and Intranet.
    But � (and here starts the confusion in my mind) should I treat these two as two projects, or as one project? The content to be displayed on the Extranet is much different then the content to be displayed on the Intranet and definitely clients should not be allowed to the Intranet.
    First approach would be to treat them as the same project. This would be perfect, since if the company (one day) decides to change the layout of the website, then the design would change for both the Intranet and the Extranet version. Also the system has a common login screen, that is I would only need to have employees to have a certain Role so that they have access to the intranet, while clients would not have a certain Role and thus they would not be allowed in. But what about performance and scalability? What if the Intranet and Extranet have to be deployed on the different Hardware!?
    The second approach is to threat them as two separate projects. To keep the same layout you just copy & paste the layout from one project to another. However we would not want to have two different databases to store our users, one for the employees and the other one for the clients. Therefore we would build a CAS server for authentication purposes. Both the Intranet and the Extranet would use the same CAS server to login however they could be deployed on different hardware. However what if we want to change the design. Do we really want to have to just copy and paste elements from one project to another? We all know how these things finish! �We do not have time for that � just change the Extranet and leave the Intranet as it is!�
    The third approach (and this is the one I like most) is to have a single project built into different WAR files. The common elements would be placed in all WAR files. However in development you would only need to change once and the effects would show in the different war files. The problem with this approach is that the project will be very big. Also, you will still need to define configuration files for each one of them (2 Web.config, 2 Spring-Servlet.config, 2 acegi-security.config, etc).
    Basically I would like something in the middle of approach 2 and approach 3! However I can identify what this approach is. Also I can not understand if there is even a better approach then these three! I always keep in mind that there can always be more then two modules (that is not only Intranet and Extranet).
    Anyways, it is already too long this post. Any comments are more then welcome and appreciated.
    Thanks & Regards,
    Sim085

    Hi to all,
    First of all thanks for the interest shown and for the replies. I do know what MVC or Multi-layered design is and I develop all my websites in that way.
    Basically I have read a lot of books about Domain-Driven Design. I divide my web applications into 4 layers. The first layer is the presentation layer. Then I have the Facade layer and after that I have a Service layer (Sometimes I join these two together if the web application is small enough). Finally I have the Data Access layer where lately I use Hibernate to persist my object in the database.
    I do not have problems to understand how layering a web application works and why it is required. My problem is how to design and develop web applications with different concerns that use same resources. Let me give an example:
    Imagine a Supermarket. The owner of the Supermarket want to sell products from the website, however he wants to also be able to insert new products from the website itself. This means that we have two different websites that make use of the same resources.
    The first website is for the Supermarket clients. The clients can create an account. Then they can view products and order them. From the above description we can see that in our domain model we will have definitely an object Account and an object Product (I am not mentioning all of them). In the Data Access layer we will have repository objects that will be used to persist the Account and Products.
    The second website is for the Supermarket employees. The employees still need to have an account. Also there is still a product object. This means that Account and Product objects are common to the two websites.
    Also important to mention is the style (CSS). The Supermarket owner would like to have the same style for both websites.
    Now I would not like to just copy & paste the objects and elements that are common to both websites into the two different projects since this would mean that I have to always repeat the changes I make in one website, inside the other one.
    Having a single WAR file with both websites is not an option either because I would not like to have to deploy both websites on the same server because of performance and scalability issues.
    Basically so far I have tought of putting the common elements in a Jar File which would be found on the two different servers. However I am not sure if this is the best approach.
    As you can see my problem is not about layering. I know what layering is and agree with both of you on its importance.
    My question is: What is the best approach to have the same resources available for different websites? This includes Class Files, CSS Files, JavaScript Files, etc.
    Thanks & Regards,
    Sim085

  • I have configure remote access feature web application proxy but not configure give the error. The remote name could not be resolved.

    I have configure remote access feature web application proxy but not configure give the error. The remote name could not be resolved in server 2012 R2.
    I have configure Ad and ADFS different server and try to configure web application proxy different server. what setting are required for connect web application proxy to Ad and ADFS.

    Hi,
    In addition, please make sure that the port 443 is not blocked by the firewall.
    Web Application Proxy requires internal name resolution to resolve the names of backend servers, and AD FS servers. When publishing web applications via Web Application Proxy, every web application you publish requires an external URL. For clients to reach
    these web applications, a public DNS server must be able to resolve each external URL that you configure. Note that the external URL must resolve to the same IP address as the Web Application Proxy server, or the external IP address of a firewall or load-balancer
    placed in front of the Web Application Proxy server.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Launch All Web Applications in browser using PowerShell

    Hi Admins,
    I am working on a Script where I should be able to launch all the web applications in the browser to open in tabs.
    I have worked out with the following script and was able to come upto an extent where I am able to launch the Internet Explorer.But ....only 1 web app opens up and throws an error message :
    Exception calling "Navigate" with "1" argument(s): "The interface is unknown. (Exception from HRESULT: 0x800706B5)"
    Below is my script
    Add-PSSnapin Microsoft.sharepoint.powershell -ErrorAction SilentlyContinue
    $webApps = Get-SpWebapplication
    foreach($webapp in $WebApps){
    $URL = $webapp.URL
    $ie = New-Object -ComObject InternetExplorer.Application
    $ie.Navigate($URL)
    while ($ie.busy -eq $true) {
    Start-Sleep -Milliseconds 600
    $ie.Visible = $true
    Can anyone help me know where I am making the mistake ?
    Regards

    Hi,
    As I understand, you want to lunch all web applications in browser using PowerShell.
    I can achieve it by the PowerShell code below:
    foreach($webapp in $WebApps){
    $ie = New-Object -ComObject InternetExplorer.Application
    $URL = $webapp.URL
    $ie.Navigate($URL)
    $ie.Visible = $true
    You can try it and check it if can work.
    For the error message, I recommend to run the SharePoint Management Shell as administrator or turn off User Access Control and then check how it works.
    Best regards
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]
    The above code will open 3 different browser. OP requested to launch all web application in different tabs. To achieve this we need to use the code below
    $webApps = Get-SpWebapplication
    $ie = New-Object -ComObject InternetExplorer.Application
    $ie.Navigate($webApps[0].URL)
    for($i=1; $i -le $WebApps.length-1; $i++)
    $ie.Navigate2($WebApps[$i].URL,0x10000)
    $ie.Visible = $true
    Regards Chen V [MCTS SharePoint 2010]

  • Deploy Web Application on 9ias

    Hello all,
    I am new to 9ias.I just wonder something about web application deployment steps on 9ias.
    I have developed a web application with servlets/jsp/xml and i used Eclipse Ide & Resin application server but now i want to deploy my this web application on 9i Application server.WHAT STEPS SHOULD I DO FOR THIS DEPLOYMENT?
    If anybody help me about these deployment steps i would be very grateful.
    Thanks.
    Sincerely regards,
    mustafa...

    Chris,
    Could you please let me know how do you create/generate an EAR/WAR file?
    Where would I find the documentation to do so?
    Also I am not sure but, is Web application deployment different from Forms9i deployment? My understanding is it is.
    I am deploying Forms9i application.
    Your input would be very valuable..
    Thanks,
    M

  • Remove configuration custom STS with old web application using powershell ?

    HI
    i configured a custom sts with sharepoint 2010 web application using following commands,
    $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("c:\signing.cer")
    $map1 = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" -IncomingClaimTypeDisplayName "EmailAddress" –SameAsIncoming
    $map2=New-SPClaimTypeMapping -IncomingClaimType "http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -IncomingClaimTypeDisplayName "Role" –SameAsIncoming
    $realm=”http://claimauthweb/_trust/default.aspx”
    $ap=New-SPTrustedIdentityTokenIssuer -Name "SimplePassiveSTS" -Description "A simple Asp.Net STS on DevBox." –Realm $realm -ClaimsMappings $map1,$map2 -ImportTrustCertificate $cert -SignInUrl "https://devbox/SimpleSTS/default.aspx" -IdentifierClaim $map1.InputClaimType
    after that i create the new web application with claimauthweb and selected trusted identity provider. 
    but when i create again new web application with different name and ip , after when i login to new web application using custom
    sts it redirects to sts login page and after it goes to claimauthweb application not the new web application.
    so here how i unregister with old web application and again register sts with new web applicatio?
    adil

    I believe if you want to run this you will need to remove the provider from all Web Applications in CA. Then you should be able to run Remove-SPTrustedIdentityTokenIssuer.
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • Sharing object across 2 different web application

    Hello,
         I do not know if this is a right place to ask this kind of question...
         I have two different web applications running on 2 different tomcat servers.
         One of them creates one object ( say myComplexClassObject) which is serializable..
         and I want to share this object in another web applications.
         Both the apps are developed using JSP and servlets.
         Is there any way, I can make this object available in another application ?
         As the request object can not be used across 2 different contexts, I can not set it as attribute on request.
         I tried serializing myComplexClassObject in some test.dat. Problem going by this way is that
         how do I send this file to another application ?
         What I did is as follows....
         In the first app , I created the object and serialized it in one file test.dat. In the same app I read
         test.dat and send the content as query parameter to a JSP in another app. That JSP collects all the query parameters
         and constructs a big string out of it and then writes it to a file, test2.dat and tries to deserialize this.
         File sizes come out to be same. But it gives me StreamCorruptedException.
         Any idea, where I am doing wrong ? or any other way to share this object or to send the file to another app?
         I can not use FTP for some reasons. Size of the test.dat file is more than 10 KB.

    Some possible solutions:
    Use a webservice calls to pass the object,
    Use JAXB to convert the object to XML, pass the XMLover HTTP or a socket and use JAXB to convert the XML back into an object.
    Store the object as a blob in a database.
    Store the object in a Java aware database that can handle Java objects.
    Store the data in the object in a database.
    I am curious as to what information ot functionality is contained in this object that you feel the need to pass it between two servers.

  • Deploy web application to multiple web front end servers

    Hi,
    I have a SharePoint farm that include 8 web front end servers and 2 application servers. I have created web application from central administration and during creation I added the public URL to refer to one of the web front end servers.
    Now I want to be able to access the same web application from the other web front end servers what shall be done. I have tried to add alternate access mapping but i found that i only have 5 alternatives (Default, Intranet, Extranet,Internet and Custom) while
    I need to access it from 8 different sites with the IP or name.
    Can anyone tell me what is the best practice for that.
    I appreciate the quick response.
    Regards,
    Ehab 
    Ehab

    I have create my web application under the default port "80" I provided the URL for one of the web frontend servers machine name "http://Machine Name:80/"
    For the AAMs that I have created I added some of the machines names of the web frontend servers
    Internal URL Zone
    Public URL for Zone
    http://Machine-Name-01 Default
    http://Machine-Name-01
    http://Machine-Name-02 Intranet
    http://Machine-Name-02
    http://Machine-Name-03 Extranet 
    http://Machine-Name-03
    http://Machine-Name-04 Internet 
    http://Machine-Name-04
    http://Machine-Name-05 Custom 
    http://Machine-Name-05
    Ehab

  • SharePoint 2013 Central Admin says port 80 for three web applications, but IIS says they have different ports

    Hello,
    I have three web applications on a SharePoint 2013 servers.  In Central Administrators on the Application Management page where it lists all of the web applications, it shows Port 80 being used 2 3 sites.  When I go to IIS, 2 of the 3 are using
    different ports, 81 and 82.  So, only one site IIS says is using port 80. Why is this?  The host file has no entries in it.  Where these web applications extended?
    Thanks,
    Paul
    Paul

    Hi Paul,
    From the URL of the web application in Central Administration in the image, you have configured the Alternate Access Mapping for the web applications.
    And the URL configured is by default using port 80 if you don’t 
    assign other ports for the web application, so the port is changed to 80 in Central Administration.
    To be able to access the web application, you need to add binging for the web application in IIS(please make sure that you have added the host name in DNS).
    For example, SharePoint – 32298, you need to create the binding for the web application in IIS as the image below:
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Session expiration across different adf web applications

    Version of jdeveloper is 11.1.1.4.0. I have two adf jsf applications deployed in two different weblogic servers. Web application 1 navigates web application 2 in an external window or inline popup using a url view activity. I navigate from web application 1 to web application 2 without a problem. However when navigating back from web application 2 to web application 1 any action made in the ui of web app 1 throws an exception:
    javax.faces.application.ViewExpiredException: viewId:/main.jspx - ADF_FACES-30108:The view state of the page has expired because of inactivity. Reload the page.
    This problem does not occur when the 2 web applications are deployed in the same weblogic managed server. Is there any way to overcome this session inactivity issue.
    Thanks in advance

    you can set session timeout in
    web.xml
    weblogic.xml
    weblogic-aplication.xml

  • How to use two different ojdbc14.jar for two web application.

    Hi,
    I have two web application running in same tomcat, I need to use the two different ojdbc14.jar for two application, now both are taking the jars from tomcat common/lib directory, I tried copying the new ojdbc14.jar in web-inf/lib folder of one application, but it is not working.
    Could you please let me know whether this will take the jar from tomcat by befault or from web-inf, and a solution how to proceed with this.
    Thanks in advance.

    Yes, I tried removing the jars from common/lib, but as the connection string is mentioned inside the server.xml it is showing db connection error while trying to connect to the database

Maybe you are looking for