Multiple apps (instances) same server?

Hi all,
          Are there any known issues with having multiple apps share the same weblogic.jar file?
          I have a Tomcat server that has the same app installed twice; Productive and Test.
          When both are started, they seem to be unable to read from their queues. The following exception was thrown:
          [Security:090398]Invalid Subject: principals=[jndi, Deployers, Monitors, Operators]
          When we only started one instance (either Productive or Test) the single instance worked perfectly.
          Now, we have installed both instances on seperate servers and have started both and they also appear to be working perfectly - however, it would be more ideal for us if we could get them working in harmony on the same server.
          Is it not possible to share the weblogic.jar file?
          Cheers,

barnes,
          Thanks your response.
          The application (both) do create their own threads (daemons), but I can not see how they could be intertwined.
          I've ran tests to make sure they do reference their own settings (memory) and all seems to be ok.
          What I can't test is the internal workings of Tomcat, maybe somehow something goes awry internally there!?
          When I get a chance, I'll run some more tests... If I get something working, I'll post the results here (if I get the time).
          Cheers

Similar Messages

  • How to track session IDs for multiple apps in same server instance?

    All:
    We have 2 web applications (for example: app1,app2) running in one app
    server instance (weblogic 5.1). Both of those applications use the same
    cookie name (defined in weblogic.properties ) to keep the HttpSessionID.
    The tricky thing is that if a client logs in to app1 and then logs in to
    app2 with the same web browser, (for example, IE). The app1's
    HttpSessionID kept in the cookie will be overwritten by app2's
    HttpSessionID because they use the same cookie name.
    My question is this:
    Is there a way to specify a cookie name for each application running in
    an application server instance?
    The only way we know of to work around the problem is that we have to
    host the app1 and app2 in 2 different app server instances so we can
    config app1 and app2 to use different cookie names for the
    HttpSessionID. We are curious if there is a better way to do that.
    BTW, We must use Cookie because of the requirement of cluster and load
    balancer.
    Thanks,
    Ben

    Hi Ben,
    Which version of Weblogic are you using??
    In 5.1 sp8 the Cookie names of the Web Apps are different by default.
    Prasad Peddada <[email protected]> wrote:
    Why can't you add your own cookie?
    In 6.0 you can have different cookie names for different
    apps.
    -- Prasad
    "Benjamin D. Engelsma" wrote:
    All:
    We have 2 web applications (for example: app1,app2)running in one app
    server instance (weblogic 5.1). Both of those applicationsuse the same
    cookie name (defined in weblogic.properties ) to keepthe HttpSessionID.
    The tricky thing is that if a client logs in to app1and then logs in to
    app2 with the same web browser, (for example, IE). The app1's
    HttpSessionID kept in the cookie will be overwrittenby app2's
    HttpSessionID because they use the same cookie name.
    My question is this:
    Is there a way to specify a cookie name for each applicationrunning in
    an application server instance?
    The only way we know of to work around the problem isthat we have to
    host the app1 and app2 in 2 different app server instancesso we can
    config app1 and app2 to use different cookie names forthe
    HttpSessionID. We are curious if there is a better wayto do that.
    BTW, We must use Cookie because of the requirement ofcluster and load
    balancer.
    Thanks,
    Ben

  • Can CPS be installed multiple times on same server

    We have implemented CPS in our environment but want to know
    if CPS and can be installed multiple times the same server. We are
    using Contribute 3 as the client but our users don't know if they
    want to share administration for both Intranet and Public site
    development. So we have to see what are real options are.
    Thanks for any respones in advance.

    When you say share administration are you referring to user
    administration? There's no reason to need more than one instance
    unless you are allowing them to independently manage their
    users.

  • Forward to different web-app on same server

    I can forward a request from a servlet to another web-app on same server, but the authenticated principal is not propagated from original servlet to forwarded servlet. I'm using the requestDispatcher.forward(req,resp) method. It seems that if you forward to a web-app within same EAR or server than the user's identifty should be propagated.

    With tomcat you can use single sign on .
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Single%20Sign%20On
    regards Dietmar

  • Problem with multiple Toplink/JPA apps in same server

    Anyone have experence of running serveral Toplink/ EJB-3 Web apps in the same server (OC4J, alas)?
    We seem to get a problem with the second app failing to initialise toplink, with an entity not found message. Each app runs OK on it's own.

    Yes, they access the same datasource and most of the tables overlap.
    We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told).
    I''ve had some funnies on OC4J before which I think may be to do with it's use of ClassLoaders, for example I initially put persistence.xml in the libary jar with the data model, but for some reason I get the entity not found error that way. It only seems to work if it's in the classes folder.
    For the moment we're getting arround the problem with multiple OC4J instances in the server.

  • How to create a single login for multiple apps on tomcat server?

    Hello,
    I am running the most recent versions of apache and tomcat on several dells with XP pro.
    When I login to an app I have created, a session variable is set, but when I browse to one of the other apps on the same computer, it does not recognize that the session variable has been set and I have to login again.
    Can somebody please suggest how, or where I can find docs, to configure tomcat to pass the session variables to other apps?
    Thank you very much.
    Or, can anybody suggest the most effective strategy for creating single-logon functionality for multiple apps with tomcat and apache running on one computer? and with tomcat and apache running on multiple computers? (i.e., each computer has tomcat and apache integrated).
    The database is Oracle 10g running on each computer.
    Thank you again.

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • Multiple app on same Run time engine

    Hello
    Can we run multiple application on same CVI run time engine?
    We have thin client desktop and want to run application on different terminals. Is it possible?
    Means on server there will be one application installed and 5 terminals will  use same desktop application.
    Thanks

    Yes, you can call multiple instances of the Run-Time Engine. 

  • BW Sizing with multiple app. instances on Oracle 10g

    Hello folks,
    I have a few confusions to clarify as i am engaged in BW sizing exercise. Customer has a huge environment with multitera bytes of data and its expected to grow in size and also # of users too and they have multiple BW app instances (NW 7.0) running on Oracle 10g. Its a RESIZING exercise for post go-live in Production solutions and also maybe Delta Sizing for new expected growth.
    I went thru all the docs on SMPsizing but wanted to clarify some stuff from folks who have worked on this kind of environment. I did not find per say  "BW Sizing" document for NW 7.0, all i found was something about BW 3.0 (http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10e7e662-dc1c-2a10-d78c-a187d1a25f80) and also another document ASAP for BW sizing ver 3.1 / 2004. h hints to calculate Disk space, memory and Cpu. Will these assumptions or parameters .
    Questions:
    Do the parameters and assumptions in the above lets say about # of bytes to SAPs would be applicable to the environment i am working on i-e NW7.0?
    For Space sizing to calculate size of InfoCube there is something called 2X disk space requirement of the largest fact table or at least 10GB (PSAPTEMP)....DO I have to add that to every cube for which i am calculating space size?
    In CPU Data Staging part there are assumptions based on BW Benchmark like rec/hour/job= 750000, SAPS/batchjob= 350saps and then Maintenace Window = customer input...is this customer input is the window in HOURS when data load happens?
    Also for same CPU Sizing Data staging #jobs={sum(delta upload)/maintenance window} / 75000....what is this  delta upload consists of?
    SAPS that come out from CPU query and from CPU staging , do i sum them up together and then find out Partner BenchMark# or deal with them seperately?
    I only see SAPS BenchMark available for hardware partners to compare for ONLY 2-tier systems although environemnt i am working on is 3-tier, would it be still valid?
    You help will be appreciated, anyone.
    thanks.
    Manish

    Hi, Venkat, I hope you posted the same question in other Data Warehousing also.
    BW sizing
    We have a tool called Quick Sizer in service.sap.com and if you provide the information to that tool it will give the BW Hardware sizing, you add 20% buffer to the final figure.
    You need to give the following information...
    1. No. of users i.e 3 kinds of users.
    2. No. of Records Per day with Line Items.
    3. Loading Frequency.
    4. No. of InfoCubes/DSO's, Master Data Objects.
    5. Future enhancemts like that.
    It is better you ask Basis people about Quick Sizer and ask the above points to your Business and Functional People.
    Thanks
    Reddy

  • Multiple databases on same server

    we're planning to consolidate our SAP R/3 databases on a 64bit based cluster running Windows 2003/SQL Server 2005.
    the "SAP with Microsoft SQL Server 2005: Best Practices for High Availability, Maximum Performance, and Scalability" document states "SAP products support multiple instances of SQL Server 2005 on the same server. However, running the database of the SAP production system together with other application databases on one server is not recommended." and "An alternative is to run two or three SAP databases on one SQL Server 2005 instance.".
    giving this, I'd like to know if it's not recommended even if the 'other application databases' are related to other instances of SAP R/3 product.
    it would be useful to know why one SQL Server instance with multiple SAP databases is better than multiple SQL Server instances with one SAP database for each.
    thank you.

    Dear Matro,
    Please review the following thread:
    Multiple database instances on single server on SQL2005
    I also note that you state your database server is clustered using MSCS.  If this is the case you should not use a "Named Instance".  If you download the latest Netweaver 2004s Installation guide (SR1) for Windows SQL you will note that on page 172 it specifically states that you must install a "default instance". 
    If you plan to consolidate several SAP database systems on one host and use a default instance you need to consider the fact that all databases running on this instance will share resources such a memory cache etc.
    Factors such as the size of the SAP systems, whether the systems are OLTP will influence your decision
    Please post if you have any additional questions.
    Thanks
    N.P.C

  • Multiple Projects on Same Server

    Today was the first time I ever published 2 separate projects
    to the same server (thank goodness I used the DEV Server). They are
    totally separate projects - nothing the same and did not use
    anything from one project in the other. At the 4pm meeting to show
    the new project we noticed glossary terms, TOC topics, and even
    topic pages from my original project (2005) were showing up in this
    new project (less than 10 topics)
    My server guy does not know why or what happened. I have done
    some research and cannot find the answer either (grange.org and
    Adobe Knowledgebase). I remember hearing something about setting
    "default" project.
    Any ideas?
    Cindi

    Hi Cindi
    Are you using RoboHelp Server and WebHelp or FlashHelp Pro
    output? If so, I believe there is a setting you may be able to
    change using the Configuration Manager that determines whether all
    projects published to the RoboHelp Server are automatically merged
    or not. It sounds as if you are wanting to publish multiple
    projects to the RoboHelp Server, yet treat them as individual
    projects without merging.
    Cheers... Rick

  • Multiple SID in same server

    Guys,
    Our platform is Oracle 10g on Windows 2003 x64.  We want to install our central SLD on the same machine as solution manager.  How can I accomplish this in Oracle?  Can I install the SLD in the same Oracle home as Solution Manager?  If so, will the SLD system have its own database SID or will it be an MCOD installation (we want to stay away from an MCOD installation).  Is it possible to have two database SIDs in the same Oracle home?  Is a Multi Home installation the only other option?  What are the implications of Multi-Home Oracle installations?
    Thank you in advance..

    Hi Fahad,
    Are you planning to install an instance dedicated only for SLD or install it as part of Solution manager and assign it as a central SLD?
    You can have multiple DB instances running under the same oracle installation (multiple SID's under one Oracle home). There are several posts that address the drawbacks of this setup, It is recommended by SAP to have database instance under its own Oracle home.
    Cheers,
    Nisch

  • How to create linked server to multiple database on same server?

    Hi Experts
    I want to create linked server to multiple databases on the same server.
    I have 2 database servers (ServerA and ServerB) and want to create linked server on ServerB to link multiple databases on ServerA).
    I have admin right on ServerB.
    I don't have admin right on ServerA but have different accounts to access on each databases on ServerA.
    After I created one linked server object to a database, I cannot create another linked server object for another database as it has already used the server name which is ServerA.
    Please advise.
    Thanks.

    EXEC sp_addlinkedserver 'ServerADB1', '', 'SQLNCLI', 'ServerA', @catalog = 'DB1'
    EXEC sp_addlinkedserver 'ServerADB2', '', 'SQLNCLI', 'ServerA', @catalog = 'DB2'
    etc.
    Please look up the details for sp_addlinkedserver as I typed this from memory.
    I can certainly see a point in having one linked server per database, as then you don't have to hardcode the database name in the queries, and the linked-server definitions can be changed if the database name changes.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Multiple Apps of Same App?!?

    Is it possible to have multiple apps of the same thing? For example is it possible to have two facebook apps installed?
    Solved!
    Go to Solution.

    It shouldn't be but it depends on how the apps have been written.  I did have it happen where I had two Facebook apps installed but one was a beta version.  When it happened I wasn't able to use both, as only one showed an icon but two showed in the list of apps.  I deleted the older one and the newer one still worked.  The short answer is no, but it does happen on rare occasion.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • How to set up multiple JVMs on same server

    I try to set at least 2 JVMS run on same server (2CPUS) but I do know how to set manual start server. I can't find the startup and stop scrits in oracle_home/apache/apache/bin directory. Who can help me to set this up?

    my reply is good haina
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jianing shu ([email protected]):
    I try to set at least 2 JVMS run on same server (2CPUS) but I do know how to set manual start server. I can't find the startup and stop scrits in oracle_home/apache/apache/bin directory. Who can help me to set this up? <HR></BLOCKQUOTE>
    null

  • Multiple JVMs on same server.

    I have two JVMs on same server. Both JVMs are has been associated with different and independent applications. There were some errors reported by one JVMs. My question is
    Is error reported from one JVMs could affect the another JVM/Application? If yes then what types of effect will be reported by other JVM or Application?
    Thanks, Manoj

    Recent Java versions employ "Class Data Sharing", which under some circumstances might propagate file corruption from one to the other. See
    http://java.sun.com/javase/6/docs/technotes/guides/vm/class-data-sharing.html

Maybe you are looking for

  • Nokia Drive Commute Error Reporting

    I travel a route every day and have been using commute to get traffic updates. The app is awesome and I'm once again very impressed, but there is a error with the map data which needs to be fixed. The hwy I use is a single direction road, which allow

  • ADF/BC4J EO and VO cache question

    I created an EO off a simple table and a corresponding VO. I created a Struts/JSP app to display, add, and update the records. When I add or update records through the Struts/JSP app, I see my add and updates on the display page --- this is expected.

  • IIOMetadata metadata

    This post asks about image metadata. IIOMetadata meta = reader.getImageMetadata(0); when meta.getAsTree( meta.getNativeMetadataFormatName() ) is used to retrieve image metadata one gets Nodes like this: <javax_imageio_jpeg_image_1.0> <JPEGvariety> <a

  • IPhone 4s is locked activation locked after resetting it.

    I recently bought a iPhone 4s for my dad off of someone from a Facebook buy,sell,and trade group. I got it home and reset the phone so it was like brand new. I went to re-activate it and it is requiring the email & password that was used to activate

  • US iphone in Australia

    Excuse my ignorance about this stuff, I know next to nothing about mobile phones. Can I buy a $99 iphone in the US with no service plans, have a friend send it to me here and then would it work in Australia just by putting my sim card in it? Thanks f