TOPLINK-7009 if Application is deployed twice

Dear All,
I found a curious problem:
I have two applications that are identical except for the connections set in the sessions.xml and accompanying map. The session is for both apps "default" and the map names are equal.
If I deploy both applications, call them DevApp and TestApp, on the same application server, In this case oc4j, trying to call the second application that will result in:
[TOPLINK-7009] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): oracle.toplink.exceptions.ValidationException
Exception Description: Missing descriptor for [class org.brains2b.toptest.Course]
Deploying the applications separately they both work. The applications have different names and for the WebService a different ContextRoot, but is seems they either share the session or the Map?
Does anyone know what causes this problem? And if there is a solution that prevents code changes between the applications.
Thanks.
Regards,
Dennis..

TopLink caches sessions by name in SessionManager's static map. This generally means that each application must have a unique session name if deployed in the same application.
Doug

Similar Messages

  • Hyperion planning installation(Problem with application server deployment)

    Hi There:
    I am new to hyperion planning.I am trying to install planning.I got problem with Hyperion Configuration utility while configuring application server deployment.Its show message failed.Please guide me how to fix this.If it is possible can you please send me any personal documentation on installation.I am trying this for past 4 day's.Below is the error its showing in configtool
         ... 10 more
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, INFO, Validating dependencies...
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel$5, DEBUG, Product: Planning; Dependencies: []
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, DEBUG, task to execute: HspDBPropertyLocation
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, DEBUG, task to execute: applicationServerDeployment
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.PanelEventDispatcher, DEBUG, constructor
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, AppServerSelectionPanel in queryEnter
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebLogic 8.1; deployment type = both
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebSphere 5.1; deployment type = both
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: Tomcat 5.0.28; deployment type = both
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, AppServerSelectionPanel in queryExit
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, DEBUG, AppServer selected: WebLogic 8.1
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.ProductCustomInputPanel, ERROR, Error:
    java.lang.NullPointerException
         at com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryEnter(ProductCustomInputPanel.java:88)
         at com.installshield.wizard.awt.AWTWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.Wizard$RunThread.run(Unknown Source)
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, Starting WebLogic 8.1 deployment...
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, pre-Deploy: Planning
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, Deploy: Planning
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    java.lang.NullPointerException
         at com.hyperion.cis.config.AppServerDeployer.initContexts(AppServerDeployer.java:628)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:548)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:526)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeDeployerTask(RunAllTasksWizardAction.java:251)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:156)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
    (Mar 09, 2008, 08:26:13 PM), com.hyperion.cis.config.wizard.CustomSummaryPanel, DEBUG, CustomSummaryPanel in queryExit
    Please help me.Email id:[email protected]
    Thanks
    Harsha.
    Message was edited by:
    user603943

    I think the installation of planning on Vista is difficult. As some of the files doesn't support even i am tired of doing that.
    But tell me one thing have you installed all other products , I mean Essbase, (server, client) , AAS and Shared services.
    Are they working good .
    I have formatted my system to XP and installed everything , but the problem is when i install planning it prompts me that IIS 5 should be greater other wise EPM will not install...
    there are lot of things with planning 1) i can't datasource as it is not highlighting when we configure with Shared services
    2) It does not create product instance .
    If any one can fix this thing by giving me a suggestions.
    Advance Thanks

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All,
    I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on the standalone weblogic server, then the pagelet isn't rendered.
    I am using fusion ADF application 11.1.1.7  and standalone weblogic server v 10.3.6.
    Thanks in advance for yours assistance. Please I need a solution for this uregently. DO let me know, if you need any additonal information.
    Regards,
    Nikhil Mahto

    Sorry for the wrong infromation. The correct scenario is:
    I have an ADF application, in which I have a Pagelet producer connection, pages and taskflows. This ADF application is inlcuded in a Webcenter Portal Framework application, as a shared library. When the WCF application is deployed on the Weblogic server, the pagelets don't appear on the pages.
    I tried the FRAMEBUSTING context parameter to never but it didn't help.
    Regards,
    Nikhil Mahto

  • Does the Jheadstart application can deploy to Application 10g

    Hi Jhs team:
    Does the Jheadstart application can deploy to Application 10g ?

    Ting Rung,
    We did not test this yet, but assuming OC4J did not break backwards compatibility, it should work.
    I would say, give it a try, and let us know if you run into problems.
    Steven Davelaar,
    JHeadstart Team.

  • How to check via wlst that application was deployed on specific server?

    There is several managed servers(not in claster) on environment.
    My application is deployed on a few of them.
    1. How to check if application was already deployed on some specific managed server?
    2. Is it possible to redeploy application only on one managed server?
    3. How to redeploy application on all managed servers?
    Edited by: vbez on Sep 13, 2010 6:26 AM

    How to check if application was already deployed on some specific managed server?
    applicationRuntime = cmo.getAppRuntimeStateRuntime();
    state = applicationRuntime.getCurrentState("deploymentname", "deploymenttarget");Is it possible to redeploy application only on one managed server?
    If you redeploy an application it is deployed to all the targets it has been assigned to.
    How to redeploy application on all managed servers?
    See above. If your application has been targetted to the managed servers
    it gets redeployed to these targetted servers.

  • How to execute web applications without deploying them?

    How can I execute web applications without deploying them (without mentioning them in the server.xml)?
    I have an IWS 6.1 SP1 installed with default parameters (JES). I would like that a posix user could execute his own web application without administrator collaboration.
    Does it exist some sort of "autodeploy" like in tomcat?
    (I know about the invoker mapping in default-web.xml, just I don't realy understand what does it eventuate. I tried to unzip webapps-simple.war in the directory $IWS_SERVER_HOME/webapps/$instance_name/servlet/tmp/
    but the http://a.a.tg/servlet/tmp request failed:
    javax.servlet.ServletException: WEB2784: Wrapper cannot find servlet class tmp or a class it depends on
    ----- Root Cause -----
    java.lang.ClassNotFoundException: tmp
    How can I solve this? Users should have write permission to the directories in the classpath to put their servlet.class files into? Bad idea...
    (I tried to "execute" the $IWS_SERVER_HOME/plugins/java/samples/webapps/simple/webapps-simple.war)
    (Sorry for my language skills)

    Do as many of the rest of us do, until this behavior is changed (if ever). Eport your WEb gallery to your Hd and use an FTP client, there are so many, including Drreamweaver's, and Shareware ones, and upload just the relevant files/folders. Some can even check and do this for you.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.10 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • How to identify which application is deployed wirelessly by BES?

    From BlackBerry Manager, can we identify which application is deployed wirelessly by BES, which is deployed by end user himself?  thanks.

    Thanks, but is a thumb rule that smaller table will be hashed ?
    Also, how can i be sure by seeing the executing plan that smaller table is hashed ?

  • J2EE admin is locked every time the application is Deployed.

    J2EE admin is locked every time the application is Deployed.
    So, the admin should be unlocked after every deployment
    Please give me why this is happning? It's very very urgent

    Hi Krishnaveni,
       Can you check for this property "No password change required" - in your visual Admin?
    For this one please follow below steps.
        Open "Visual Administrator" in that "Cluster> Server>Services-->Security Provider"
        Goto "Runtime" - tab and then "User Management". Search for the user "J2EE_Admin" and double click on the user name to get the user management property sheet. There you can find "No password change required". If it is not checked, please check that one. then that password wont expire for every deployment.
    Regards,
    Sridhar

  • Can Jdeveloper support Weblogic Application Server Deploy ??

    Can Jdeveloper support the Weblogic application server deploy in EJB part ?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Michael Cheng ([email protected]):
    Can Jdeveloper support the Weblogic application server deploy in EJB part ?<HR></BLOCKQUOTE>
    Yes.
    null

  • Query applications and deployment types

    Hi,
    I got this powershell script to perform the above task (a query for applications and deployment types from SCCM)
    But getting the following error after running the script:
    "You cannot call a method on a null-valued expression
    At Line:2 char:13"
    $SCCMApplications = get-cmapplication
       ForEach($SCCMApplication in $SCCMApplications) {
            if ($ApplicationsToRename.ContainsKey($SCCMApplication.LocalizedDisplayName)){
                $SCCMDeploymentTypes = get-cmdeploymentType -applicationname $SCCMApplication.LocalizedDisplayName
                foreach($SCCMDeploymentType in $SCCMDeploymentTypes)
                        Write-Host "Found SCCM deployment type '$($SCCMDeploymentType.LocalizedDisplayName)' exists for application '$($SCCMApplication.LocalizedDisplayName)'."

    In addition, This tool might be helping you.
    ConfigMgr 2012 - Powershell Right Click Tools
    http://psrightclicktools.codeplex.com/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party
    contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Difference between Installing an application and Deploying and application

    What is the Difference between Installing an application and Deploying and application from the console?
    When deploying and app from console - > Click on deployments -> Install -> choose app path, next, next,.. Finish.
    Then it will be in prepared state. Once you activate changes, the app deployed will be in activate state. Some times even if you activate changes, it will be in prepared state. then you need to start the app which then comes to activate state.
    From above, which part is called Installing an app? Which part is called deploying an app?
    Or Are Install and Deploy both mean same?
    Edited by: user734247 on Apr 26, 2012 3:16 PM

    Installation is generally referred to making an application's physical file or directory known/accessible to WebLogic Server by configuring through the "New" option in the "Deployments" screen and targeting the servers. Installation of an application will put the status of the application in "prepared" state.
    Start is the next action expected so that the application's state transforms into "ACTIVE" by initializing the application and loading the necessary classes and creating the necessary objects to run the application.
    The above two steps together are referred to as "Deployment of an application"
    Bottomline: In short, "Deploying an application" includes "Installation of the application" AND "Activation/Start of the application"
    Arun

  • Applications not deploying on startup / multiple applications

    On one of our production servers (just one), when I restart weblogic,
    my web applications are not deploying; I have to deploy them manually.
    This is bad, obviously, because the server won't restore properly
    after a restart.
    After a while, I get target="box,box,box,box" that represents the
    multiple times I've deployed that application to the target "box".
    From config.xml:
    <Application Deployed="true" Name="revx" Path="F:\revx">
    <WebAppComponent Name="revx"
    Targets="giocm,giocm,giocm,giocm,giocm,giocm,giocm"
    URI="revx"/>
    </Application>
    The operating system is Windows 2000 5.00.2195 ... everything was
    working fine until I re-installed the Windows service this weekend.
    I've checked permissions on the folder, on the file, and who the
    service is running as. I've manually edited config.xml to remove the
    duplicate target entries.
    I've seen some other posts from people who have also experienced
    applications not deploying on WL restart, but I don't see any
    resolutions.
    Rob

    Thank you, but the problem is a little different from that. These are
    exploded web apps outside the applications dir. I deployed them
    through the console initially; on the other servers, when WL restarts,
    the apps are deployed back to their targets just fine. It's only this
    box that loses sense of the targets on WL restart.
    We're on 6.1, so a few people have suggested upgrading to 6.1 sp4 --
    they've said they've seen this problem, and the sp corrects it.
    That said, this is a production box and upgrading it is a hassle. I'll
    get started on scheduling that, but if anyone has any ideas in the
    meantime, I'd greatly appreciate it. If not, thanks anyway. :)
    Rob
    "Deepak Vohra" <[email protected]> wrote in message news:<3eebae8e$[email protected]>...
    WLServer should start in development mode for a application
    in the applications dir to deploy.
    STARTMODE=false
    [email protected] (Rob Young) wrote:
    On one of our production servers (just one), when I restart weblogic,
    my web applications are not deploying; I have to deploy them manually.
    This is bad, obviously, because the server won't restore properly
    after a restart.
    After a while, I get target="box,box,box,box" that represents the
    multiple times I've deployed that application to the target "box".
    From config.xml:
    <Application Deployed="true" Name="revx" Path="F:\revx">
    <WebAppComponent Name="revx"
    Targets="giocm,giocm,giocm,giocm,giocm,giocm,giocm"
    URI="revx"/>
    </Application>
    The operating system is Windows 2000 5.00.2195 ... everything was
    working fine until I re-installed the Windows service this weekend.
    I've checked permissions on the folder, on the file, and who the
    service is running as. I've manually edited config.xml to remove the
    duplicate target entries.
    I've seen some other posts from people who have also experienced
    applications not deploying on WL restart, but I don't see any
    resolutions.
    Rob

  • Why deployed application reads 'Default application generated deploying 2.0

    Hi,
    I am using Sybase Mobile SDK2.1 and deploying mobile workflow to SUP2.1. However, in SCC, I noticed that it reads
    "Default application generated deploying 2.0 package'.
    Is it normal?
    As I am facing " Sybase Mobile Workflow please go to the settings application and enter your configuration..." when using sybase workflow2.1 app, the above could enable to resolve the issue.
    Thanks in advance.
    Regards,
    Raju

    no one knows nothing about this issue? :(... i`m dissapointed...

  • CDI Fails when deployed twice from OEPE 12c to WebLogic 12c

    Hi,
    First when I use CDI on WebLogic 12c it works the first time without any problems , First I had to do this ( From Steve Button ) else I get some inject problems
    Just as an out there kind of thought, OEPE does use the split-directory model for deployment by default -- perhaps try adjusting it to use the exploded archive model instead, just as a test to see if it removes the error?
    Right click the server config and select Properties > WebLogic > Publishing > Publish as exploded archive
    then it works once , when I deploy it twice then the Named beans are not found. ( I use a empty beans.xml in the web-inf )
    I need to restart the wls 12c then it works. Same project with OEPE 12c and glassfish works fine.
    thanks

    Arun,
    Do you see the application status active in the Admin console?
    Are you testing the web application by typing the complete URL in the browser that includes the name of the webpage including the context root , ipaddress/hostname and port number of Server..?
    404 indicates application doesn't exist.
    Please share the URL you are testing.
    Please check the server log if you found any deployment issues when deploying your application?
    Thanks,
    Vijaya

  • MDB Deployed Twice/Once not even under the JAR that contains it

    We have an application that has multiple jars bundled into one ear. Our application
    tag looks like follows from the config.xml for the project:
    <Application Name="Central"
    Path="C:\PPOS\2004.1.0\Application\Central Server\weblogic\applications\pposcentralserver.ear"
    StagedTargets="central" StagingMode="stage" TwoPhase="true">
    <EJBComponent Name="commonserver" Targets="central" URI="commonserver.jar"/>
    <EJBComponent Name="hostcommonserver" Targets="central" URI="hostcommonserver.jar"/>
    </Application>
    hostcommonserver.jar contains a MDB. It gets deployed properly and if I monitor
    the queue it looks at on another server I can see it has "connected". The problem
    however is on this server if I monitor commonserver.jar, the same MDB shows up
    there even though it is NOT contained in the deployment descriptors for that jar.
    If I look on the server that contains the queue I can see that there are twice
    as many consumers as there should be.
    The weird part. If I change the name in the <EJBComponent> tag above from "commonserver"
    to anything else, this does not happen.
    I have not tested putting a message on the queue to see which MDB consumes it
    (getting to that point of testing will take me some time so I wanted to get the
    ball rolling on this) however I feel there is some bug here and since using the
    WLS console to look at the properties of this MDB is an often used part of support
    troubleshooting for this product, I can't have the wrong version of the MDB in
    place consuming messages while the correct one sits idly by making it appear it
    is not getting messages.
    Thanks.

    Try posting to the jms newsgroup.
    cheers
    mbg
    "Jeff Walsh" <jeff.walsh@no_spam_jda.com> wrote in message
    news:3fb298e4$[email protected]..
    >
    Bump...
    "Jeff Walsh" <[email protected]> wrote:
    We have an application that has multiple jars bundled into one ear.
    Our application
    tag looks like follows from the config.xml for the project:
    <Application Name="Central"
    Path="C:\PPOS\2004.1.0\Application\Central
    Server\weblogic\applications\pposcentralserver.ear"
    StagedTargets="central" StagingMode="stage" TwoPhase="true">
    <EJBComponent Name="commonserver" Targets="central"URI="commonserver.jar"/>
    <EJBComponent Name="hostcommonserver" Targets="central"URI="hostcommonserver.jar"/>
    </Application>
    hostcommonserver.jar contains a MDB. It gets deployed properly and if
    I monitor
    the queue it looks at on another server I can see it has "connected".
    The problem
    however is on this server if I monitor commonserver.jar, the same MDB
    shows up
    there even though it is NOT contained in the deployment descriptors for
    that jar.
    If I look on the server that contains the queue I can see that there
    are twice
    as many consumers as there should be.
    The weird part. If I change the name in the <EJBComponent> tag above
    from "commonserver"
    to anything else, this does not happen.
    I have not tested putting a message on the queue to see which MDBconsumes
    it
    (getting to that point of testing will take me some time so I wanted
    to get the
    ball rolling on this) however I feel there is some bug here and since
    using the
    WLS console to look at the properties of this MDB is an often used part
    of support
    troubleshooting for this product, I can't have the wrong version of the
    MDB in
    place consuming messages while the correct one sits idly by making it
    appear it
    is not getting messages.
    Thanks.

Maybe you are looking for

  • Date for Month year only?

    I Have a report being done where, the user wants to see the 'slow moving inventory' for a 2 month period. It's not automatic, the past 2 months. they can select which 2 months they want. So, I was thinking of the best way for the parameters. Maybe ju

  • Still possible to have consolidated Library view in iTunes 11 ?

    Hi, In prior versions, it was possible to view a "Library" view which would include all media (Music, Movies, Podcasts, etc) by following these commands? I don't want to screw anything up ! This is taken from an article appearing in MacWorld, which I

  • Steps to create a purchase order in SAP r/3

    Hi All,     I need to create a purchase order in SAP R/3,I am very new to SAP R/3 just started using material managements module in R/3.Could any one please help me to know what all steps i need to take for creating a PO.Do i require some pre-requisi

  • Print to pdf: Asks for name of file, but does not actually print a pdf file.

    Printing to PDF:  When I have text in MS Word, or Notepad and I want to print it as a PDF file, when I attempt to do so.  The widget stating now printing foo.txt comes up  (in the printer spooler window foo.txt - Notepad is seen), then the save as in

  • Can I copy store folder to use in another machine

    I have installed new directory server on new machine and already add all users. Then I install messging server 6.0 on new machine. I want to migrate mail box to new server, can I copy store folder on old messaging server (6.0) to use on new server.