Two web app projects, one workspace, how?

First web app. JDev project has context root /app1, and second one /app2.
Which JDev files should be configured and how in order to enable dependency between these two web applications and test them together?
e.g. app1 provides login page and after successful login it provides link /app2/welcome.jsp to app2. When the session expires app2 redirects to /app1.

My question actually was not about compile time dependencies, but about run-time dependencies between two projects app1.jpr and app2.jpr.
First project has J2EE context root /app1 and the second one has context root /app2.
First project runs as http://localhost:8887/app1/login.jsp where user can login. After successful login it renders page with link to the page in the second project, e.g. http://localhost:8887/app2/welcome.jsp
When user clicks on this link it is supposed to transfer control to the second web application app2.
The problem is the first root context does not recognize the /app2 context. Only if you execute second project first it will start in its own root context which is /app2, but then it is not possible to use application app1, which must be executed first!?
I guess application.xml, orion.xml, web.xml etc. must be configured but don't know how

Similar Messages

  • Two web apps using the same EJB client jar

    I am currently deploying two web apps on a server. Both web apps use an EJB client
    jar (the same jar) to access EJB's and both apps work when tested independently.
    The problem arises when I log into app A and then log into app B. As soon as
    I do app A loses it's references to the EJBHomes, and other classes.
    It seems a classloader is unloading the first classes and instances loaded by
    the first app and then loading them from app B's client.jar.
    If I put the client.jar in the system classpath everything is fine, but that's
    just a hack.
    Is it not possible to deploy two web apps on a server using the same client.jar's
    in their own WEB-INF/lib's?

    Joe,
    As Pravin mentions, the checking of those boxes in Workbench triggers scheduled jobs within the EAC that kicks off the scripts at the appropriate time/day. But as you've noticed, there's not a ton of flexibility and you don't get cron or Windows Scheduler-type capabilities.
    If you need to do something special, you can manually kick off the report generation scripts from your control directory using the runcommand.bat (or sh) script or place the command into a cron/Windows Scheduler job:
    For example, to kick off the WeeklyReports job, you would do this:
    runcommand.sh WeeklyReports runSo, assuming you go down the route of creating multiple ReportGenerators and scripts, you would create a job to kick off the new script you've created at the appropriate time.
    Hope that helps,
    Patrick
    http://branchbird.com

  • Two web Applications targeting one model project, missunderstand

    Hi sirs;
    Does two web application can use the same applicationModule Pooll Instance ? like the cenário below;
    Or
    Each web application must have it's own model Project ?
    JDev 11g, WebLogic Server Version: 10.3.1.0
    The simpliest way to explain my doubt;
    1. Lets create one Fusion ADF Application;
    1.1 ViewProject_One
    1.2 ViewProject_Two
    1.3 Model_Shared
    One index.jspx in each viewProject and one adfTable targeting the same AppModule ( here I tried also to create a second appModule extending the original )
    When we run ViewProject_One it works ok;
    When we Run ViewProject_Two it worsk ok;
    Whe we Runnig viewProject_two tried to browse ViewProject_One index.jspx whe crash into
    29/09/2009 09:52:52 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    29/09/2009 09:52:52 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl
    WARNING: O User-Agent "mAgent" é desconhecido, criar um agente com atributos de agente "desconhecido".
    This post is an try-and-error of this original post Deploy Enterprise application with 2 modules ( web applications )
    Thank's for any help
    Thanks
    Edited by: Marcos Ortega on Sep 29, 2009 6:07 PM
    Edited by: Marcos Ortega on Oct 1, 2009 5:00 PM

    My question actually was not about compile time dependencies, but about run-time dependencies between two projects app1.jpr and app2.jpr.
    First project has J2EE context root /app1 and the second one has context root /app2.
    First project runs as http://localhost:8887/app1/login.jsp where user can login. After successful login it renders page with link to the page in the second project, e.g. http://localhost:8887/app2/welcome.jsp
    When user clicks on this link it is supposed to transfer control to the second web application app2.
    The problem is the first root context does not recognize the /app2 context. Only if you execute second project first it will start in its own root context which is /app2, but then it is not possible to use application app1, which must be executed first!?
    I guess application.xml, orion.xml, web.xml etc. must be configured but don't know how

  • Sharing data between two Web Apps

    Hi,
    I have got two web applications that share a MySQL database accessed by
    Kodo JDO. I have tremendous difficulty to share the state that one web
    application writes to the database with the second web application. The
    data seems to stay in the cache of the first app and I have not found a
    way to flush the data to the SQL database, so that the second can read it.
    I do a refresh on the relevant object within the second app. The problem
    seems to be flushing the cache of the first app.
    Best regards
    Wolfgang
    PS: To Solarmetric: Thanks for this wonderfull technology. I am building a
    complex database application, without having to learn SQL.

    Hi Greg,
    this:
    properties.setProperty("kodo.DataCache", "false");
    does not do the trick. There is no difference in behaviour. To use
    kodo.RemoteCommitProvider I would need the performance pack at 900 bucks a
    pop, which is not an option right now.
    Best regards
    Wolfgang
    Greg Campbell wrote:
    Hi Wolfgang,
    Are you using Kodo's Datastore cache in both web apps? I suspect that what
    is happening is that the data actually is being flushed to the database
    appropriately (assuming that you commit your transactions), but that your
    cache in your second app has stale data. Could you turn off the datastore
    cache in both apps just test that hypothesis?
    If your applications start to work as expected with the datacache off, then
    you should check out (assuming you're using Kodo v. 3.1.3)
    http://www.solarmetric.com/Software/Documentation/3.1.3/docs/ref_guide_event.html#ref_guide_event_conf
    That section of doc describes how to get the datastore caches in the two
    JVMs talking to each other.
    Thanks,
    Greg
    "Wolfgang Kundrus" <[email protected]> wrote in message
    news:ccli85$lae$[email protected]..
    Hi,
    I have got two web applications that share a MySQL database accessed by
    Kodo JDO. I have tremendous difficulty to share the state that one web
    application writes to the database with the second web application. The
    data seems to stay in the cache of the first app and I have not found a
    way to flush the data to the SQL database, so that the second can read it.
    I do a refresh on the relevant object within the second app. The problem
    seems to be flushing the cache of the first app.
    Best regards
    Wolfgang
    PS: To Solarmetric: Thanks for this wonderfull technology. I am building a
    complex database application, without having to learn SQL.

  • Odata Connection Refresh Error while using excel web app - Project Online 2013

    Hello All,
    I am trying to work with odata reporting on project online 2013. I am not using MS Excel client, I open any of the available default report in excel online. when i try to refresh data connection from data tab. it's giving me an error
    as show below 
    screen..
    I have already enabled "PWA for excel web app refresh" feature.  
    Following the blog instructions and microsoft support, i have tried to grant permission to
    AppId=  00000009-0000-0000-c000-000000000000
    And In the Permission Request XML field, copy and paste the following XML: 
    <AppPermissionRequests>
        <AppPermissionRequest Scope = "http://sharepoint/projectserver/reporting"
    Right="Read">
        </AppPermissionRequest>
        <AppPermissionRequest Scope = "http://sharepoint/content/tenant"
    Right="FullControl">
        </AppPermissionRequest>
    </AppPermissionRequests>
    Now, According to the microsoft, it should show Microsoft.Azure.Azureservices as Title but as per below screen shot it shows Power BI Reporting and Analytics..
    title.<o:p></o:p>
    However, i click on ok button and check that the permission has been granted. i can see Microsoft Power BI reporting and analytics in the app permissions.
    I again go to my BI reporting, open my report in excel online and refresh the data connection and nothing changed. It's giving me the same error.
    I hope that i am able to narrate my problem. Please tell me, What i am missing here...
    sandeep

    Ok, why did manually add / update the permission XML? Do you get this error for new Excel based reports? Test creating a new one, example here:
    http://pwmather.wordpress.com/2013/08/01/projectserver-projectonline-highlight-report-example-ps2013-sp2013-excel-bi-office/
    http://pwmather.wordpress.com/2013/09/16/projectserver-projectonline-example-report-ps2013-sp2013-office365-bi-excel-powerpivot/
    http://pwmather.wordpress.com/2014/07/17/getting-started-with-projectonline-part-9-ps2013-office365-project-ppm-sharepointonline-pm-sp2013/
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Best way to transfer file between two web apps

    I'm looking for some architectural suggestions. Seems like a simple problem, but I'm really struggling.
    -- Problem:
    We have two web servers, both running apps in JBoss. I need to pass a file of roughly 20MB from one server to the other, and get the other server to process it as soon as it receives it.
    -- Details:
    Seems simple enough... My plan was to write a web service to pass it. Our company is all onboard the SOA train. I wrote a service that encoded the file as a byte[] and passed it. Works amazing for small files, but throws an Axis OutOfMemory error when trying to base64 encode the file. I then looked at using attachments for web services, but dismissed that. It creates malformed XML since it treats the service as a multipart MIME message wraps the webservice inside. It quickly became messy and I couldn't get it working. Seemed to defeat the purpose of an XML service too.
    I've considered just doing a HTTP POST of the file to the other server, but that's poorly documented and a bit of a hack way to do it. I also considered just dropping the file in a web accessible folder, then using a web service to pass a URL and get the other server to retrieve it via HTTP. Again, not a very nice solution.
    Anyone have any suggestions? Thanks.

    Kimos2 wrote:
    I don't have access to run/configure services on these machines, so FTP is out. It has to be JVM to JVM. Even if I did, I'd have to worry about triggering JBoss to process the file right away after it had been dropped there. I know i could poll the directory or send a message to trigger the process, there'd be synchronization issues etc to work through and seems to introduce unneeded complication.Yes, I agree with that. Having been through the polling directories and grabbing partially uploaded files scenario ad nauseam. It's much worse with large files too.
    Barring any suggestions I haven't thought of, I'll probably end up settling on the HTTP POST solution. My problem is that it's providing a service without a specification and is not self-describing. No WSDL file to pass to clients that plan on using it. I would do HTTP POST as well. I didn't understand the part about "without a specification". You do have a specification, don't you? Wasn't this it: "I need to pass a file of roughly 20MB from one server to the other, and get the other server to process it as soon as it receives it." Informal, yes, but I don't have a problem with that. Post it to a URL on the receiving server and set up the receiving server to do whatever it's supposed to do with the file.

  • Two web sites from one computer to .mac

    I'm trying to publish two web sites on .mac. I have two accounts, so that's not a problem. The problem is trying to get the original files and copies of both web sites to another user on my iMac. I can't locate my files. I've gone to the users/library//application support/iweb, but my files aren't there at all? iWeb works just fine, I just can't locate them. If I find them how would I get them to another user, so that I can publish the second web site to .mac. I know I have to log into another account on the same machine. I get the grasp of it all, I just can't do it. Thanks anyone.
    donald

    If you can launch a site in iWeb by opening the application, then you must have a domain file in Home Folder/Library/Application Support/iWeb.
    Are you sure you are looking in the library in your Home Folder and not the System Library?
    When you find the file you can copy it to the shared folder but make sure you give the other user read & write permission.
    You don't need to have two .Mac accounts or a second user account to have multiple sites.
    You can have each website on a separate domain file or use the freeware application iWebsites to manage them.
    For more information go to....
    http://iwebfaq.org/site/iWebMultiplewebsites.html

  • HT1451 If I have two iTunes libraries on one computer, how do I know which one is opening when I click on the iTunes icon on the desktop?

    If I have two or more iTunes Libraries on one computer, how do I know which one is opening when I click on the iTunes icon on my desktop?

    You cannot.
    When you sync to a new library, it will erase the current content.
    Use your backup copy of the old computer to copy everything to the new one.

  • We have two iphones 3gs and one pc how do we update each phone

    how do we update our two 3gs iphones on one pc? We did this before and it erased one phone of all contacts.

    There is no device limit for the number of iPods, iPads, and iPhones that can be synced with the same iTunes library and iTunes account on the same computer. Each device can have its sync preferences with iTunes along with iTunes maintaining a separate backup for each device.

  • For some reason i now have two iMovie apps on my Mac how do i remove one of them?

    Cpould anyone advise me how to remove one of the copies of Imovie from my Mac, unless of course there is any advantage to keeping two of the same app on my Mini.
    I have never used imovie yet but perhaps i will in the future.

    Thanks Geoff
    It would appear that the system has resolved the issue for me as i now have only one version after shutting down and starting up today.
    Thanks for your prompt responce.
    Regards
    Ade

  • How to Export two web items using one export button in WAD (3.X) ?

    Hello Friends,
    I am trying to export two reports using one export button which are in two columns of the table in a web template created in WAD 3.X. but not able to do it. i also tried to doing the same thing in BI 7 copied that code and pasted in 3.X but that doesn't work.
    can anyone help me on that?
    Thanks,
    Nayan Joshi

    hi,
    SPS 14 for NW 7.0 is installed. I found out, that the filter pane has should have the property "Affected Data Providers (LINKED_DATA_PROVIDER_REF_LIST)" and the navigation pane not. Look at:
    - http://help.sap.com/saphelp_nw70/helpdata/en/16/3ee2416149c717e10000000a155106/content.htm
    - http://help.sap.com/saphelp_nw70/helpdata/en/85/08e241aa8e9d39e10000000a155106/content.htm
    But in my WDA both items don't have this property. The latest SPS for Front-End-Tools is installed.
    Any further ideas?

  • I was setting up my Airport and thought the first set up did not go through, so I set up again and I ended up with two accounts instead of one.  How can I manage to have only one account now? Thanks for the help.

    I was setting up my Airport and thought the first set up dod not go through, then I set up again and ended up with two wireless accounts.  I use it for the prointer and the iPad, and I can see both accounts in the iPad.  How do I get rid of one account?  Thanks for the help!

    me.com accounts can be used for iCloud.  See the FAQ section in:
    <http://support.apple.com/kb/ht4895>
    but it may be too late if you have already created a new AppleID.
    A few years ago Apple said they were working on allowing account merging, but it never happened (maybe objections from copyright holders).

  • Two TomTom apps on one iPhone

    I was wondering what will happen if for:
    1. I have purchased TomTom Eastern Europe app and now I need do go to Spain (map not included in Eastern Europe app)
    2. I have two options: buy TomTom Europe or buy TomTom WesternEurope.
    3. Let's assume I pick the second one.
    So I end with two applications TomTom Eastern Europe and TomTom Western Europe installed on one iPhone. And I want to have a route from Warsaw to Madrid ...
    What will happen? Will TomTom app recognize that I have both maps installed and will gibe me one unique route in one app? Or I will be forced to split my route between them? Anyone have tried it?

    You need to Add the songs into iTunes.

  • Given two user accounts on one iMac, how can I notify myself that I have email waiting on the other account?

    I have two user accounts on the same machine to monitor (different security levels). I'm in on the main account most of the time but I need to know when the other has unread emails (Yes, different email accounts and they can't see each other). I tried setting up a rule that would send a note to me (to my other email account) when a message arrives but (a) I can't get the rule to execute when the email arrives, and (b) I can't send a non-secure note (eg., "New Mail Waiting") - all I can do is forward the email. Is there any way I can do this without learning AppleScript and writing it myself? (Both user accounts using the same iCloud account)
    Thanks,
    Don

    The "Rule" probably won't work when that user isn't signed in and/or being used. My suggestion is to sign into that email's account on the web service. Example if you have an icloud.com email account, go to icloud.com and go to the little gear in the lower left. Set the rule there. Rules set there should work all the time, since it's "on" all the time. Where as if the rule was set on the Mac Mail app, it has to be opened and what not.
    KOT

  • My iPod touch is trying to update too many apps at one time how do I stop it ?

    my itouch had around 73 apps that needed to update, so I chose "update all". I guess its overload, the little spinning circle at the top of the screen
    keeps spinning but nothing is happening. So how do I stop the updating process, so I can start over by updating one at a time?
    I hope someone can help me with this!

    You really can't. Try downloading them on your computer and sync. Next try restoring from backup.

Maybe you are looking for

  • Need help - install OBIEE in Linux box

    i need a document for OBIEE 11gr1 installation document i already downloaded the document from oracle website ...i need except that any useful blogs links and URL to install OBIEE 11R1 in Linux box(OEL4U5)

  • HT5219 can i connect thunderbolt display to macpro

    can i connect thunderbolt display to macpro i tried alot but its not supporting

  • [CS3] Create sideline notes from index entries

    When I import a word-document with marked index entries, the index entries are also imported into InDesign. Now I want to use these entries duplicated as sideline (margin) notes into a second column/textframe next to the original text referred to the

  • Array as Instance Variable

    Friends, Hope you can get me on the right track with this. I have an array (that must be an instance variable of type double) : private double[] myArray; that stores two values at each index: double length char unitOfMeasure We have to develop a meth

  • Can ANYONE spot the memory leak??

    Hi, I have some code here, and there is a SERIOUS memory leak. Basically, I realized the leak was there when a report tried to execute this 100,000+ times and it bogged the system down to a crawl. Can anyone spot the leak? I will explain the variable