Web Application Multiple screen

Hi to all
I'm very very new on Flash builder so my question can be very silly ....
I'm trying to buil my first web application that is composed by 4 screen
In the first screen there are 3 button and I want display the rigth screen when user click on the button
I found on internet this code
  navigator.pushView(SecondScreen);
and I associated it on click event
but i get the error
Can someone help me ?
thank's in advance
Multiple markers at this line:
-1061: Call to a possibly undefined method pushView through a reference with static type spark.components:NavigatorContent.
-1136: Incorrect number of arguments. Expected 1.
-1 changed line

Hi,
Create radio buttons. OnSelect event of radio button write your code to display interactive form.
If you want you can create three veiw for e IF forms. so only one view visible at one time
OR
Create your interactive section in 3 TC container or in TRAY, for each section one TC or TRAY.
Crate on 3 atributes of type WDUI_VISIBILITY and bind this to visible property of container or tray.
In onselect event of radio button based on your selection, use SET_ATTRIBUTE to visible your interactive section bye
passing '01' or '02' values.
hope it solves.
cheers,
Kris.

Similar Messages

  • My Sites error - 403 and "We're almost ready!" plaguing web application

    On an in-house managed farm, a My Site web application has been created per the instructions provided from
    Microsoft. The web application uses the managed path "personal" at the root of
    http://mysites.  The initial "We're almost ready!" screen when accessing a social feature like
    Newsfeed was anticipated.  However, in attempting to update the My Site content (i.e. profile information, newsfeed settings), the user is presented with a 403 Forbidden page - "The website declined to show this page".
    In ULS, this is made abundantly clear as well in the following logs:
    04/22/2014 12:08:10.61 w3wp.exe (0x18E0) 0x2870 SharePoint Foundation General ftd0 Medium Access Denied. Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWeb(String
    bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId, Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail,
    UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16& pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType, Int16&
    pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour, Int16& pnWorkDayEndHour, Int16& pnMeetingCount, Int32&
    plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl,
    String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription,
    Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent, Int32& plSiteFlags, DateTime& pdtLastContentChange,
    DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion,
    Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppProductId, String& pbstrRemoteAppUrl,
    String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime& pdtReminderDate, UInt64&
    pmaskDeny)     at Microsoft.SharePoint.Library.SPRequest.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId,
    Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16&
    pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType, Int16& pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour,
    Int16& pnWorkDayEndHour, Int16& pnMeetingCount, Int32& plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String&
    pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl,
    String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent,
    Int32& plSiteFlags, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion,
    Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid&
    pgEvalSiteId, Guid& pguidAppProductId, String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId,
    Int32& plUpgradeFlags, DateTime& pdtReminderDate, UInt64& pmaskDeny). eac5899c-b845-e02c-550e-d7bd0a2a4331
    04/22/2014 12:08:10.61 w3wp.exe (0x18E0) 0x2870 SharePoint Foundation General aep94 High UnauthorizedAccessException for the request. 403 Forbidden will be returned. Error=Exception of type 'System.Web.HttpUnhandledException'
    was thrown.   at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) eac5899c-b845-e02c-550e-d7bd0a2a4331
    Those entries are created when the user clicks "Save all and close" button attempting to save any changes to their My Site profile.
    Initial troubleshooting sources have included:
    Bernando Nguyen's
    post
    Praveen's TechNet
    blog
    SharePoint Brian's suggestion to re-run the Product & Config wizard here
    Troubleshooting efforts so far in addition to the sources quoted above:
    Checking account permissions (obvious, with an "access denied" message) for UPA, Metadata and Workflow service accounts
    Creating a special permission policy for the web application to allow "Everyone" to create subsites
    Checking SQL rights for SA's and their respective DB's
    Started IIS application pool "SecurityTokenServiceApplicationPool" (it was stopped initially)
    ANY help in further troubleshooting this issue would be greatly appreciated.  I have already re-created the web application multiple times with the same results each time.  Thank you.
    Eric

    I re-created the web application again.  What's the definition of insanity?  Doing the same thing over and over and expecting a different result?  Well, in this case I actually did get a different result.  At least this time there
    wasn't a 403 error, but a 404!  Success!
    In any case, I used a load balancer for this farm and re-mapped the bindings in IIS to point to that IP.  Lo and behold, we have lift off!  Everything is working, even the social features.  All it took was me talking to myself in a forum and
    doing repetitive tasks expecting different results... oh, hang on, there's a nice gentleman in a white coat here to take me some place nice.  Thank you!

  • How to give options to user to select multiple site collection url in sharepoint for a web application.

    In my environment, I have one web application, inside which for four different region, we have 4 different site collection. Now head of the company wants, when he logs in , he should get the display of all the four regions urls, and the one which he selects,
    should be redirected.
    Like, suppose I have a web application named as www.abc.com
    Under which I have www.abc.cm/sites/1 and
    www.abc.com/sites/2 and so forth.
    Now when head of the company access this url www.abc.com , he should get the display to select any one of the, url and should be redirected.
    Please suggest how to achieve this.

    You have multiple options.
    1. You can create a links web part and add the links manually.(As there are only 4 sites) 
    2. You can automate by using SharePoint designer.
    http://michael.wilcox.net/2007/10/12/show-all-subsites-in-a-webpart/
    3. Download free web part available here.
    http://sharepoint247.com/sharepoint2010/sharepoint-2010-subsites-webpart/
    Bala

  • Ios7 bookamrking web application to home screen via Safari crashes after login and when we try to open any link inside. Can anyone please tell me if there is any scheduled fix for this bug in safari?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

  • Storing SessionManager or Server for multiple web applications

    We currently have one enterprise application with 2 web applications installed. These 2 web applications must share the same session cache.
    Toplink is installed as a shared library for both of these web applications.
    What I am wondering is how Server and SessionManager should be utilized.
    In our servlet initialization of web application one we get an instance of the SessionManager and assign the SessionManager to a static instance variable.
    static SessionManager sessionManager;
    sessionManager = SessionManager.getManager();
    Now whenever we want to get a client session from either web application we make the call
    Server serverSession = (Server) sessionManager.getSession("XXX");
    From looking at the code for the sessionManager.getSession("XXX") I see that this
    results in a synchronized method invocation which is in turn bottlenecking our database access code.
    My question is should we not just be storing the Server in a static instance variable to distribute client sessions to both web applications and not the SessionManager.

    Hi,
    One SSA is ok, but you should think about access rights. If the access is clear cut between all the web apps you should be ok with one SSA. Multiple result sources limiting on content source also works, but could easily be bypassed.
    Multiple SSA's will eat up RAM/CPU like a mother :)
    As for popular etc.. it could be due to how those sources are set up, but haven't investigated or tested this much.
    Thanks,
    Mikael
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • One Search service application for multiple web applications in a single server

      We are planning to host 17 Web applications in a single Server. Do I need to create search service application for each web application or I need to create one  Search service application , create a Content source for each web
    application and create a Result source for filtering. Which is the best approach. And which approach takes more RAM memory.
       In my application I am using Search web part, "Recently Changed Items", "Popular Items" web parts. when I created only one one  Search Service application for all web applications and using Result sources ,
    I am not getting the results. What could be the problem.

    Hi,
    One SSA is ok, but you should think about access rights. If the access is clear cut between all the web apps you should be ok with one SSA. Multiple result sources limiting on content source also works, but could easily be bypassed.
    Multiple SSA's will eat up RAM/CPU like a mother :)
    As for popular etc.. it could be due to how those sources are set up, but haven't investigated or tested this much.
    Thanks,
    Mikael
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Can you run multiple Excel Services Applications against a single Web Application?

    I have been struggling with this one for a while now, hopefully someone can help me understand what I am missing...
    I have a single SharePoint Farm.  This farm runs multiple Web Applications & the Service Applications.
    1. SharePoint Only Server with Multiple Site Collections (http://sharepoint.com/...)
    2. MS Project Server with Multiple Site Collections (http://pwa.com/...)
    3. My services applications all exist on the same farm.
    I was under the impression, and believe that I validated this through testing and from this site (http://blogs.office.com/2009/11/16/excel-services-in-sharepoint-2010-administration-improvements),
    that you can only run a single Excel Services Application against each unique Web Application.  In essence, I can run one Excel Services Application against the SharePoint Only Server, and another Excel Services Application against the MS Project
    Server...  However, I can NOT run multiple Excel Services Applications against the different Site Collections within the MS Project Server becuase it is only aware of its "default" Excel Service Application. 
    ie. I can NOT do the following:  ExcelServiceApp1 for
    http://pwa.com/SiteA & ExcelServiceApp2 for
    http://pwa.com/SiteB
    Is that correct?
    If that is not correct, then I must be missing a way to specify a different Excel Service App for each Project Web App Site. 
    Some other solutions that I think may work, but would really appreciate if someone could validate:
    - Create multiple Project Server Service Applications for each instance of PWA/Excel Service? (but wouldn't this still have to use one of the two WebApplications and cause the same limitation?)
    - Create a new Web Applciation for each PWA/Excel Service?  (ie.
    http://pwasite1.com;
    http://pwasite2.com; http://pwasite3.com, etc.)
    Thoughts/suggestions are very greatly appreciated!!!

    Hello Trpy2k
    I have not done what you are doing and I assume that you are using project server 2010.  However, you answer lives in PowerShell.
    The New-WebServiceProxy show that you can create a new proxy by spacing a URL and not a web application. The default proxy from the web application is directing to the default excel service.  If you need another excel service, you must specify another
    proxy and this may do it for you.
    Also, don't forget the Secure State service and that each excel report will need this configured, that is with the assumption that the other excel service requires different authentication.
    PS.  This question may get a better answer in the SharePoint forums.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • How to handle multiple datasources in a web application?

    I have a J2EE Web application with Servlets and Java ServerPages. Beside this I have a in-house developed API for certain services built using Hibernate and Spring with POJO's and some EJB.
    There are 8 databases which will be used by the web application. I have heard that multiple datasources with Spring is hard to design around. Considering that I have no choice not to use Spring or Hibernate as the API's are using it.
    Anyone have a good design spesification for how to handle multiple datasources. The datasource(database) will be chosen by the user in the web application.

    Let me get this straight. You have a web application that uses spring framework and hibernate to access the database. You want the user to be able to select the database that he wants to access using spring and hibernate.
    Hopefully you are using the Spring Framework Hibernate DAO. I know you can have more that one spring application context. You can then trying to load a seperate spring application context for each database. Each application context would have it's own configuration files with the connection parameters for each datasource. You could still use JNDi entries in the web.xml for each datasource.
    Then you would need a service locater so that when a user selected a datasource he would get the application context for that datasource which he would use for the rest of his session.
    I think it is doable. It means a long load time. And you'll need to keep the application contexts as small as possible to conserve resources.

  • How to capture the Status code in Web application Transcation monitoring if we are using multiple Request

    Hi Team
    We would like to monitor 12 url,s which requires Authentication. Hence i have added the same in one Single Web application transcation template.
    i have added the below info to the get the Stats code displayed in Alert
    Status code is $Data/Context/RequestResults/RequestResult["1"]/BasePageData/StatusCode$
    when i recived a alert it gave the Status code of the 1st Request
    hence i changed the same as
    Status code is $Data/Context/RequestResults/RequestResult["12"]/BasePageData/StatusCode$
    But still i am facing the same issue .
    My first request shows me a status code of 200, and my 12th Request comes with 500 but in the alert i get 200 but it should be 500.
    Kindly help me in how i can get the Status code for the multiple  Request.
    Regards
    Sriram

    Hi Sriram,
    Please run the test of your 12th Request, view full result and check if Status Code is 200.
    Meanwhile, you can run the URL manually to check the result.
    Niki Han
    TechNet Community Support

  • Problem in synching multiple web applications

    I have a domain called myDomain. In this domain I have 2 enterprise applications
    say
    ent1App with ent1App-project and ent2App with its ent2App-project. Each enterpsrise
    application has one web application
    (webApp1 and webApp2 respectively). I have the same set of webflow files (.wf
    files) in both
    ent1App-project/application-sync/web-apps/webApp1 and ent2App-project/application-sync/web-apps/webApp2
    directories.
    Now suppose I synchronize my webflows (using EBCC) for say ent1App. The synchronization
    is accomplished without any problems
    and this is confirmed when the entries get updated in the Master Data Repository
    where all the webflows for ent1App get
    stored. This is as viewd using the datasyncservlet.
    If I now do a synchronization on the other enterprise application called ent2App,
    the synchronization takes place
    successfully but when viewed in the datasyncservlet, it shows up the entries for
    the webflows of ent2App. i.e. the entries
    for all the weblows of ent1App which were shown in the Master Data repository
    are not shown.
    We looked up the Cloudscape database to ensure that the entries for both the enterprise
    applications are present and it does
    contain the records for both the applications. This however does not show up in
    the datasync servlet. Due to this we get a
    namespace not found error whenever we try to access the application whose entries
    are missing in the master data repository.
    I have separate names for my datasync folder for each of the applications in my
    config.xml as shown below
    ent1App
    <Application Deployed="true" Name="ent1App"
    Path=".\config\myDomain\applications\ent1App" StagedTargets="iden_staging">
         <WebAppComponent DeploymentOrder="1002" Name="datasync" Targets="iden_staging"
    URI="datasync"/>
    ent2App
    <Application Deployed="true" Name="ent2App"
    Path=".\config\myDomain\applications\ent2App" StagedTargets="iden_staging">
    <WebAppComponent DeploymentOrder="1002" Name="datasyncDev"
    Targets="iden_staging" URI="datasyncDev"/>
    I am using WLS6.1 SP4 and WLP 4.0 SP3
    Can someone please tell me what could be the problem?
    Thanks
    Shah Jimmy

    When you peform a data sync you are updating the data_sync_item table
    with the EBCC xml files. For those files that are not present in the
    EBCC project they will be deleted from the table.
    You can not use multiple enterprise applications that contain Portals.
    Try using using multiple domains that contain separate databases for
    datasyncs.
    Here is a snippet I recently sent out in a support case:
    Unfortunately there is not a documented best practice for maintaining
    multiple projects and enterprise applications. In my opinion if you
    plan to create multiple enterprise applications they will need to
    maintain separate application components and web applications. The
    enterprise applications will need to use the same portal resources
    (pools) and therefore same tables. The synchronization modes documented
    at http://e-docs.bea.com/wlp/docs40/deploygd/appdata.htm explain the
    limitations in data sync -- either all files are deleted and updated or
    only modified files are updated. Either mode will delete files from the
    data_sync_item table that do not exist in the current project.
    Therefore one project will need to be used per domain.
    -- Jim
    Jimmy Shah wrote:
    I have a domain called myDomain. In this domain I have 2 enterprise applications
    say
    ent1App with ent1App-project and ent2App with its ent2App-project. Each enterpsrise
    application has one web application
    (webApp1 and webApp2 respectively). I have the same set of webflow files (.wf
    files) in both
    ent1App-project/application-sync/web-apps/webApp1 and ent2App-project/application-sync/web-apps/webApp2
    directories.
    Now suppose I synchronize my webflows (using EBCC) for say ent1App. The synchronization
    is accomplished without any problems
    and this is confirmed when the entries get updated in the Master Data Repository
    where all the webflows for ent1App get
    stored. This is as viewd using the datasyncservlet.
    If I now do a synchronization on the other enterprise application called ent2App,
    the synchronization takes place
    successfully but when viewed in the datasyncservlet, it shows up the entries for
    the webflows of ent2App. i.e. the entries
    for all the weblows of ent1App which were shown in the Master Data repository
    are not shown.
    We looked up the Cloudscape database to ensure that the entries for both the enterprise
    applications are present and it does
    contain the records for both the applications. This however does not show up in
    the datasync servlet. Due to this we get a
    namespace not found error whenever we try to access the application whose entries
    are missing in the master data repository.
    I have separate names for my datasync folder for each of the applications in my
    config.xml as shown below
    ent1App
    <Application Deployed="true" Name="ent1App"
    Path=".\config\myDomain\applications\ent1App" StagedTargets="iden_staging">
         <WebAppComponent DeploymentOrder="1002" Name="datasync" Targets="iden_staging"
    URI="datasync"/>
    ent2App
    <Application Deployed="true" Name="ent2App"
    Path=".\config\myDomain\applications\ent2App" StagedTargets="iden_staging">
    <WebAppComponent DeploymentOrder="1002" Name="datasyncDev"
    Targets="iden_staging" URI="datasyncDev"/>
    I am using WLS6.1 SP4 and WLP 4.0 SP3
    Can someone please tell me what could be the problem?
    Thanks
    Shah Jimmy

  • Multiple Web Applications WLS 7.0

    Hi,
    I am trying to configure multiple web applications on the same WL 7.0 server and
    am having trouble doing the following.
    I would like to be able to use the following URLS:
    Application #1:
    http://myserver/st/aems - where st/aems maps to the path X:\SimpleTrade2\AEMS\ui\source\htdocs
    Application #2:
    http://myserver/st/acms - where st/aems maps to the path X:\SimpleTrade2\ACMS\ui\source\htdocs
    Root - Default web application - This would be left empty with the idea that our
    company could sell our web applications and we would deploy them on someone elses
    WLS and we would not conflict in any way.
    The problem with the above is that when I look at the DTD and try and configure
    config.xml in the following way:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source\htdocs" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="st/aems"/>
    WLS blows up on startup because it tries to POST-Pend the URI to the path... If
    I change it to:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="htdocs"/>
    This will work but then my URL is not what I want it becomes http://myserver/htdocs
    Is there anyway around this or a way to get what I want?
    Another piece of information, I am developing in Exploded directory format when
    we deploy it will be as an ear.
    Thanks in advance for any ideas!!!
    -Jerry Rodgers

    Thanks for the info Christian.
    I thought I would pass along a bit more inforation for others who might be trying
    to do something similar. In case they run across this message.
    I did determine that if you are using a .WAR file the name attribute of the xml
    node WebAppComponent will allow you to create a different context path than the
    URI. I did not test to see if it allowed you to use a name like "st/aems" I am
    sure "st.aems" would work or any name that may be different than the URI. The
    weird thinhg is that when using the EXPLODED DIRECTORY format the URI is the name
    of the folder under the path and the name property appears to be ignored no matter
    what you change it to you can only get to your web app using the URI.
    Hope this helps someone who comes after me and is looking for the same thing,
    maybe they won't spend 6 hours on it like I did ;>
    -Jerry
    "Christian Plenagl" <[email protected]> wrote:
    >
    Hi,
    this is not possible.
    The URI field contains the directory name of the WebApplication, which
    normally
    is the same name as the directory where you put the webapplication in.
    Christian Plenagl
    Developer Relations Engineer
    BEA Support
    "Jerry Rodgers" <[email protected]> wrote:
    Hi,
    I am trying to configure multiple web applications on the same WL 7.0
    server and
    am having trouble doing the following.
    I would like to be able to use the following URLS:
    Application #1:
    http://myserver/st/aems - where st/aems maps to the path X:\SimpleTrade2\AEMS\ui\source\htdocs
    Application #2:
    http://myserver/st/acms - where st/aems maps to the path X:\SimpleTrade2\ACMS\ui\source\htdocs
    Root - Default web application - This would be left empty with the idea
    that our
    company could sell our web applications and we would deploy them onsomeone
    elses
    WLS and we would not conflict in any way.
    The problem with the above is that when I look at the DTD and try and
    configure
    config.xml in the following way:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source\htdocs" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="st/aems"/>
    WLS blows up on startup because it tries to POST-Pend the URI to the
    path... If
    I change it to:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="htdocs"/>
    This will work but then my URL is not what I want it becomes http://myserver/htdocs
    Is there anyway around this or a way to get what I want?
    Another piece of information, I am developing in Exploded directoryformat
    when
    we deploy it will be as an ear.
    Thanks in advance for any ideas!!!
    -Jerry Rodgers

  • Same JVM for multiple Frames in a web application

    Hi guys,
    I have a web application that loads an applet during login. Once the login is completed, the web application will display the available functions accessible with a menu on the left frame and the main display page on the right frame. Whenever any form action is perfomed on the right frame, the jvm with the login session seems to exit (java console closes) and the applet will be loaded to prompt the user to login again. The JRE installed on the Windows client is 1.6.0_14 from SUN.
    I'm guessing that the different frames are using different JVMs?
    Is there a way to use the same jvm for a web application with multiple frames? I want to prevent the case where the user will have to login again.
    Thanks for any advice!
    - Zen -

    I have sort of the same problem
    [Identical applets in the same JVM, next generation plugin issue|http://forums.sun.com/thread.jspa?threadID=5396118]
    I have submitted a Request for enhancement to SUN to allow forced grouping of applets in the same JVM.
    Sort of the opposite of the "separate_jvm" Applet tag parameter.
    It seems there is currently no way to do this.
    [New Plugin command line args|https://jdk6.dev.java.net/plugin2/jnlp/#COMMAND_LINE_ARGS]
    When per-applet JVM command-line arguments are specified, it is likely that the new Java Plug-In will need to launch another JVM instance in order to satisfy them. In other words, it is unlikely that a preexisting JVM instance will have been started with the correct set of command-line arguments to satisfy the current applet's request. The rules for exactly when a new JVM instance is launched to start a given applet are deliberately left unspecified, as this functionality is brand new in the 6u10 release and may need to change in subsequent releases. Here is a rough set of guidelines for the sharing and creation of new JVM instances:
    * If the command-line arguments used to start a preexisting JVM instance are a superset of the requested arguments, the preexisting JVM instance will be used.
    * If a JVM instance is launched for the "default" set of command-line arguments (i.e., those specified in the Java Control Panel, with no per-applet arguments specified), then this JVM instance will never be used to launch any applet that has even one per-applet command-line argument.
    * -Xmx is handled specially: if a preexisting JVM instance was started with for example -Xmx256m, and a new applet requests -Xmx128m, then new applet will very likely be run in the preexisting JVM instance. In other words, -Xmx specifications are matched with a greater-than-or-equal test.
    There is no way to "name" a JVM instance used to launch a particular applet and "force" subsequent applets into that JVM instance.
    See the section on the separate_jvm parameter to isolate a particular applet in its own JVM instance, separate from all other applets.

  • Pros & Cons of having multiple web applications under one EAR project

    Could anybody let me know what are the advantages and disadvantages of having multiple web applications under one single EAR project?

    Either this is homework, in which case, do it yourself, or you already think you have some pros for doing this. Share with us

  • Multiple Context Paths Per Web Application

    Hi,
    We have a Web Application which has a Context Path of "titanadmin". We have some
    HTML pages which refer to this within the URLs they contain. We need to move the
    functionality in this Web Application to another Web Application with a Context
    Path of "gp3admin". We cannot change the URLs in the generated HTML.
    So, is it possible for a Web Application to have multiple Context Paths, so that
    URLs starting with "/titanadmin/" and "/gp3admin/" both go to the same Web Application.
    Thanks,
    Dave

    There is no hard limit to the number of Web Applications (I managed a WSSv3 farm that had 60+, for example). The issue is memory-related and primarily stems from 32bit systems where it was much easier to get Out Of Memory errors on the IIS Application Pools
    when performing a large operation across a 32bit Application Pool (e.g. crawling). However, if you limit each IIS Application Pool to about 10 Web Applications (again, in 32bit land that no longer applies), everything generally works OK given the Web Applications
    do not have a very large amount of content.
    But, if HNSC is in use, a single Web Application should be sufficient, barring any Web Application-specific settings you might need to make.
    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.

  • Authentication Across Multiple Web Applications (Revisited)

              Its been an ongoing battle, but I've made some insight into this situation. The problem stands as it seems impossible to authenticate against one web application deployed as a WAR archive and have that authentication carry across to another web application with the same security constraints. I've been told by BEA that, quote:
              "It seems to me that we are violating section 11.6 of the servlet 2.2 spec which talks about webapps"
              I've also been told that this is fixed in WLS 6.0, reference issue #38732.
              For those of us building production environments using 5.1 instead of 6.0 XML based configuration, this does NOT solve our problem.
              I've dug further into the bowels of 5.1 and found that if you manually set the realm name in the login-config of the security constraint in the web.xml file in each WAR deployment as such:
                   <login-config>
                        <auth-method> [whichever method] </auth-method>
                        <realm-name>WebLogic Server</realm-name>
                   </login-config>
              Authentication will carry across web applications. However, I've noted that the session management then becomes unpredictable. For example:
              I log into the application TESTAPP1 which contains a protected servlet that outputs the session ID and attempts to get the authenticated principal name from the "_wl_authuser_" session variable. Upon first load of the page (after the login dialog box), the session is null [can be fixed with .getSession(true) call instead] and the "_wl_authuser_" object does not exist. Reload the page and the session appears as well as the "_wl_authuser_" object. Strange.
              I then move to TESTAPP2, which does not prompt me for authentication but also is missing the session in the same manner. Upon browser reload, the session is created with a different ID and the "_wl_authuser_" object is now available with the appropriate principal name.
              Upon moving back to TESTAPP1, I am not prompted for authentication however, I am assigned yet another session ID after browser reload, different from the first.
              So it seems that although authentication is carried across web applications, the session IDs as you move from TESTAPP1 to TESTAPP2 change, and then change again but not back to the original when going back to TESTAPP1.
              This is a particular problem since we are using Vignette's V5 as our main client and tracking sessions through V5 - this would quickly become unmanageable if a single page view access three or four different application components with three or four different session ids.
              I'm wondering if we can expect the same behavior from WLS 6.0?
              Ideally, I'd like to see WebLogic use a single session ID to track users across multiple web applications but still have session independence between applications. So if I store something in session in TESTAPP1, its not available in TESTAPP2. Does this outline the behaviour in WLS 6.0? Can anyone verify this?
              Some food for thought. Thanks!
              ./Chris
              Senior Systems Anaylst
              MassMutual Financial Group
              

    Hello! I am searching an answer to this question too!!!
    Did you get some news regarding this item?
    Regards,
    C.M.

Maybe you are looking for

  • Why is my I-tunes account still disabled?

    My account got hacked a few weeks ago and they bought in-app purchases from a game called KingdomConquest. I contacted Itunes and they re-funded me. I also went and changed my password and security questions. FOr some reason my account is still disab

  • Slow iPod Shuffle Downloads

    Does any one know how fast songs should transfer to the iPod shuffle from iTunes 4.9 on Windows XP SP2 using USB 2? My transfers have been slow; taking over 10 minutes to transfer around 500 Mb of songs, even if AAC compression is turned off. Does an

  • Align stroke. How to change it?

    Hello developers! How to change "align stroke"?(outside, inside or center) Thank you

  • Error code 2131 help needed

    i am trying to burn some cds but every time i do i get this error code2131 i have upgraded the firmware as i have seen suggested i am at a loss any help would be graetly received ihave also run a diagnostic as follows. Microsoft Windows Vista Home Ed

  • [svn] 3775: Adding a link to the FxCheckBox example for ASDoc.

    Revision: 3775 Author: [email protected] Date: 2008-10-21 09:22:17 -0700 (Tue, 21 Oct 2008) Log Message: Adding a link to the FxCheckBox example for ASDoc. Modified Paths: flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as