How do you deploy a portal to a weblogic cluster?

We're using WLServer 6.1 SP2 and WLPortal 4.0 SP2. Has anybody got any experience
clustering a portal instance? We can see how to target EJB and WAR components to
the cluster server (those components have "Target" tabs when we display them in the
console), but how do you target an EAR (such as the portal) to a cluster? It seems
awfully tedious to sit and deploy each individual ejb/war to the cluster to get started.
Thanks!

Joshua,
You have to deply components individualy. Also, make sure you define a proper target
for application-config.xml. You can only do this by editing config.xml.
Also do not forget to deply all necessary J2EE services (JDBC etc) as well as startup
classes.
Regards,
Michael Goldverg
"Joshua Davies" <[email protected]> wrote:
>
We're using WLServer 6.1 SP2 and WLPortal 4.0 SP2. Has anybody got any
experience
clustering a portal instance? We can see how to target EJB and WAR components
to
the cluster server (those components have "Target" tabs when we display
them in the
console), but how do you target an EAR (such as the portal) to a cluster?
It seems
awfully tedious to sit and deploy each individual ejb/war to the cluster
to get started.
Thanks!

Similar Messages

  • How do you deploy an Event view to a cluster using the RDBMS 1.0 adapter in WLI7?

    Hi ,
    We are trying to deploy an application view representing a database event in a
    table to a cluster consisting of 2 WLI servers.
    When you get the deploy screen in the wlai console it prompts you for a url for
    the event Router.
    On a single instance of WLI this is simply http://localhost:7001/BEA_RDBMS_1_0_EventRouter/EventRouter
    but what should this be in the case when the adapter is deployed to a cluster
    of 2 machines??
    We have tried replacing localhost:7001 with the ip and ports of either of the
    two WLI servers as well as trying the admin server ip and port but always get
    the error show below.
    has anyone succesfully done this?
    any ideas greatly appreciated
    Adam
    com.bea.wlai.client.DeploymentException: ConnectionFactoryDeployer on cscw00336440:
    Failed to upload weblogic-ra.xml descriptor for connection factory OrderDetails_connectionFactory
    due to a communication problem with the Admin server; Unexpected exception in
    com.bea.wlai.admin.RARUploadSessionBean.upload(): java.net.ConnectException: Tried
    all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com',
    port: '80' at weblogic.net.http.HttpClient.openServer(HttpClient.java:222) at
    weblogic.net.http.HttpClient.openServer(HttpClient.java:274) at weblogic.net.http.HttpClient.(HttpClient.java:126)
    at weblogic.net.http.HttpClient.New(HttpClient.java:168) at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:111)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:281)
    at java.net.URL.openStream(URL.java:793) at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
    at

    Try downloading the DTD from BEA to your filesystem and change the XML
    so it points to it.
    Ricardo
    Adam Finlayson wrote:
    Hi Chris,
    Thanks for that bit of info. We have pinned the eventgenerator to just one managed
    server now but are still getting the same error when trying to deploy an event
    application view.
    The admin server appears to be trying to contact the bea website for some reason
    as part of the deployment.
    I am guessing this must be trying to access some DTD or something but this system
    sits behind a firewall so any http requests would need to go through a proxy.
    Any idea why it may be contacting www.bea.com or how to set up WLS to use a proxy
    server?
    Chris Stead <[email protected]> wrote:
    Hi Adam,
    Due to the nature of the the event generator Web application (WAR) URL,
    you have to pin the war file to a single server in your cluster. Here
    is some information about deploying adapters in a cluster:
    http://e-docs.bea.com/wli/docs70/deploy/cluster.htm#1454929
    I hope this helps with your deployment.
    Cheers,
    Chris
    Adam Finlayson wrote:
    Hi ,
    We are trying to deploy an application view representing a database
    event in a
    table to a cluster consisting of 2 WLI servers.
    When you get the deploy screen in the wlai console it prompts you for
    a url for
    the event Router.
    On a single instance of WLI this is simply http://localhost:7001/BEA_RDBMS_1_0_EventRouter/EventRouter
    but what should this be in the case when the adapter is deployed to
    a cluster
    of 2 machines??
    We have tried replacing localhost:7001 with the ip and ports of either
    of the
    two WLI servers as well as trying the admin server ip and port but
    always get
    the error show below.
    has anyone succesfully done this?
    any ideas greatly appreciated
    Adam
    com.bea.wlai.client.DeploymentException: ConnectionFactoryDeployer
    on cscw00336440:
    Failed to upload weblogic-ra.xml descriptor for connection factory
    OrderDetails_connectionFactory
    due to a communication problem with the Admin server; Unexpected exception
    in
    com.bea.wlai.admin.RARUploadSessionBean.upload(): java.net.ConnectException:
    Tried
    all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com',
    port: '80' at weblogic.net.http.HttpClient.openServer(HttpClient.java:222)
    at
    weblogic.net.http.HttpClient.openServer(HttpClient.java:274) at weblogic.net.http.HttpClient.(HttpClient.java:126)
    at weblogic.net.http.HttpClient.New(HttpClient.java:168) at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:111)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:281)
    at java.net.URL.openStream(URL.java:793) at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
    at

  • How do you deploy FMS applications on the web?

    Hi
    I am new to Flash Media Server and I can't get my head around
    this software.
    How do you deploy the applications you build on your
    development pc, onto an external server?
    Do you have to have FMS running on the external server?
    Or does FMS supply you with files that can be used on any
    server?
    This is so confusing.
    Thank you for any help in advance.
    Jay

    The key thing to understand is that the Flash client (the
    flashplayer) is what makes the connection to FMS. FMS and the .swf
    don't need to be on the same server.
    What you need to do is change your RTMP string in your
    connect command. I"m guessing you're currently using localhost or a
    LAN IP. Once you move the .swf to another server, you have to use
    the WAN IP or domain name of the FMS server.
    Once you have that taken care of, you can serve the .swf from
    anywhere.

  • How do you deploy Flex applications?

    Hi All.
    Flex is great! But...  how do you deploy apps, especially when the environment changes?
    I make use of "Import Web Service (WSDL)" to make the ActionScript framework for webservices which I consume. I have coded those web services in .asmx (c# web services for .NET) and run them locally. The framework Flex Builder creates is just fine, and I can run my app locally with no problem.
    My intention is to distribute the database, the .NET webservices, and the Flex app as a complete solution to my end customers.
    What's the best way to do this?
    1. Using "Import Web Service (WSDL)" creates a framework around a named webservice. Upon deployment the URL for these changes. SO: How can you make it easy to switch the site the webservices are consumed from? Can Flex apps be set up to use an environment variable, or even read a local file for the URL of the webservice I want it to point at? (i.e. something in web.config or elsewhere?)
    2. Should I NOT use "Import Web Service" at all? Am I stupid for using the built in generator and instead write the code by hand? Note: this is VERY time consuming for the number of services that are exposed in larger apps. My typical dev cycle consists of parallel updates/upgrades to web services as they are demanded by elements incorporated in the Flex app.. so it's very convenient to just re-import the WSDL as I make changes.
    Thanks so much for your input!
    Brian

    I have never really bothered with importing web services.  I generally point my apps in the direction of my webservice by specifiying the url in my HTTPService tags.  If the location changes , you can just load the values in xml , and it will dynamically change where the endpoint service is in your application.

  • Basic question - how do you deploy a Logic app as SaaS?

    This is partially a broader question of how you deploy SaaS solutions on Azure, but wanting to know in relation to logic apps.
    So let's say I wish to create, for sake of argument, a service that allows contractors to log their hours (either via a phone or through their laptops)
    Each contractor is a separate client of mine, and I wish to develop an SaaS service that I can sell to hundreds of contractors.
    What is the blueprint for such a solution?
    Is it:
    - I create a web app to give me a web based interface they can use
    - A mobile app in which they can enter their data by mobile
    - A logic app to take data from both of these and process and store them into a SQL Server database
    And if so, would the only thing separating one contractor from the other be their logins? Or is there way of instantiating separate databases for each user (let's say I wanted to give each client their own database)? Just trying to get my head round how
    SaaS solutions would work. Any tutorials/good reads most welcome!

    Actually I came across a few articles talking about Single tenant vs Multi tenant architectures and that's opened up a whole new world for me, exactly what I was looking for. Will read up a bit more on how logic apps work in a single vs. multi-tenant environment.

  • How should you deploy referenced libraries?

    If I have an EJB which references classes from an outside package, how do I deploy this in a j2ee ear archive? The EJB is in it's own JAR but then there is this JAR for the class library... how will they find eachother in an ear archive?

    You can put the third-party JARs in the EAR.

  • How do you edit Oracle Portal supplied packages?

    When I want to look at the code of the packages, they are all
    wrapped. How do you guys edit it.

    Hi.
    I say first, I'm not good at speaking English.
    Because, I'm Japanese
    I propose that createing local repository on solaris11.
    A:your solaris server.
    B:PC. solaris11(x86) and be able to connect to Internet. Or solaris11 in VirtualBox on Windows.
    create local repository on B.
    B is carried to your server room.
    B connect to closed LAN.
    A get Solaris Studio from B's local repository.
    Regards.

  • How do you get LOCAL_ADDR environment variable from weblogic?

    How can you access environment variables, such as LOCAL_ADDR? The request object does not expose methods to get at all the environment variables? I need to know which NIC Card the request is coming off of, which the LOCAL_ADDR will tell me.

    Some variables you can?t get this way.
    I made shellscript that just looked like this.
    set > /yourdir/yourfile.txt
    Then in my class I did Runtime.exec(shellxcript);
    then you just read in "/yourdir/yourfile.txt" as Resource and load it in
    a Property object.
    After that you can get variables to.

  • How do you deploy an application to a user?

    I want to setup SCCM so that IT can deploy applications to users. I know that SCCM allows the publishing of a library to allow users to accept and deploiy applicatiosn themseves but I don't want that. I just need to know how to deploy the application to
    them. I know it's a simple question but if someone could give me a general step by step that would be great.
    Much appreciated

    See here for information on the Application Catalog. Sounds like a good fit for you.
    http://gerryhampsoncm.blogspot.ie/2013/08/configmgr-2012-sccm-2012-sp1-step-by_26.html
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • How do you deploy a stand alone app/game in java

    I have a few questions regarding creating a stand alone app for java.
    1) What is the best way to deploy it? how would I create the exe, etc. I've read that you can create executable jars but this doesn't seem like something that would be user friendly
    2) Is there a way to deploy the game/app with it's own JVM so the hosts machine doesn't have to have it installed? How would I go about doing this?
    3) How would I run the app in full screen? What libraries are available?
    Any other advice/comments welcome.

    @morgair: There are plenty of good reasons for using Java to develop software, even when you only plan on targeting Windows. As good as Java distribution is there is no way to guarantee that they a) have Java installed and more likely b) have the version you target installed. Telling a user that they need to go to a second website in order to download and install more software is a huge turn off.
    Most PC users have no experience with a .jar so when they download it they just don't know what to do (even if all they need to do is double-click just like a .exe). Giving out an executable .jar is another turnoff.
    sarcasteak wrote:
    1) What is the best way to deploy it? how would I create the exe, etc. I've read that you can create executable jars but this doesn't seem like something that would be user friendlyIn terms of the .exe, Java does not create .exe's. There are some java to native compilers that will turn your java code into a natice .exe that will run on it's own or with a bundled library. However they are either old, buggy and badly supported, or extremely expensive (googling Java native compiler should give you some good results). There are also plenty 'java to exe' pieces of software. Rather then compiling the java code to native code they wrap the .jar up inside a .exe. When you run the .exe it unpacks the .jar and runs it. To the user it looks like a .exe, however it's still just an executable jar and still requires Java to be pre-installed on their machine in order to run (although some can offer custom error messages if Java is not found).
    If Java is setup, then executable jars are essentially act the same as exe's. For creating them, if you are using NetBeans then they are already available in the project/dist folder after you build. You can also do it on the command line but I never need to so I don't know how. However as a tutorial [this site looks promising|http://neptune.netcomp.monash.edu.au/javahelp/howto/jar.htm].
    I personally use a small .exe which I built using the D programming language. It reads from a text file in the same directory and executes each line in turn. Typically all the text file contains is 'java -jar MyProg.jar'. This way my .jars for the user looks like a .exe.
    Instead of a .exe you could also use a .bat. There are also some .bat to .exe converters online, although I haven't tried any of them so use at your own risk.
    sarcasteak wrote:
    2) Is there a way to deploy the game/app with it's own JVM so the hosts machine doesn't have to have it installed? How would I go about doing this?Yes, you are allowed to redistribute the Sun Java runtime. Just zip up the JRE on your machine and include it with the app/game. You'll also need to ensure that whatever starts the jar uses your unzipped JRE and not the JRE on their machine. The exe I described above also allows this by having the text file contain something like: './my_jre/bin/java -jar MyProg.jar'.
    But first you should also take a look at the license restrictions, they should be in the JREs directory. For example you must redistribute the complete JRE which is a problem if your app is just a few megabytes (when zipped the runtime is usually over 30mb). There are probably plenty of topics on this forum which already discuss redistribution of the JRE.
    sarcasteak wrote:
    3) How would I run the app in full screen? What libraries are available?If it's an app then it should be approximately:
    JFrame frame = new JFrame();
    frame.setExtendedState(JFrame.MAXIMIZED_BOTH);or;
    JFrame frame = new JFrame();
    frame.setExtendedState(frame.getExtendedState() | JFrame.MAXIMIZED_BOTH);However if you want a proper full screen then you need to use the [Full-Screen exclusive mode|http://java.sun.com/docs/books/tutorial/extra/fullscreen/exclusivemode.html], approximately:
    JFrame frame = new JFrame();
    GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().setFullScreenWindow( frame );I've also heard plenty of people recommend using java web-start for desktop java apps. Personally I've never used it, but it's something you might want to research.
    Edited by: jl235 on Jun 22, 2009 3:03 AM

  • How do you deploy adobe acrobat xi from creative cloud for enterprise?

    Hello,
         We purchased Creative Cloud Enterprise and our new supervisor wants adobe acrobat on all computers.  I downloaded the package through Creative Cloud and used the customization wizard to customize the msi in the exceptions folder just like the instructions said.  I followed the steps and deployed it out using Dell Kace.  When a user tries to open Acrobat, it tells them they have a trial version and they must register the product.  The instructions for the customization wizard said not to put the creative cloud serial number into the customization tool.  Is there something I'm missing with deploying adobe acrobat and creative cloud?
    Thanks,
    Michael

    I'm not a CC expert, but I think normally admins configure Acrobat and then deploy everything via the Creative Cloud Packager. Acrobat certainly needs to be licensed, so when you only have a CC license, it's best to deploy in a standard way so that Acrobat get serialized with the license you have.
    19   Creative Cloud Packager Installs — Enterprise Administration Guide
    hth,
    Ben

  • How Do You Deploy a War File to The OC4J Standalone ?

    I have a .war file that contains example code and I would like to deploy it to my OC4J Standalone.
    I tried putting the war file in the applications directory and adding a line in the server.xml file but I received the error:
    Error instantiating application at file:/C:/OC4JStandAlone/pdk101202_oc4j_extended/j2ee/home/applications/displaytag-examples-1.1.war: Unable to find/read assembly info for C:\OC4JStandAlone\pdk101202_oc4j_extended\j2ee\home\applications\displaytag-examples-1.1 (META-INF/application.xml)
    It appears it was expecting an .ear file instead of a .war file
    Is there an easy way to deploy a .war file to the OC4J Standalone?
    Thanks,

    Please refer to the OC4J FAQ on :-
    http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/OC4J-FAQ-101202.pdf
    Q 24 should have your answer.
    Cheers!

  • CS3.3 - how are you deploying it?

    CS3.3 does not have an updated main installer so therefor you must first install CS3, then upgrade to Acrobat 9 and finally add Fireworks.
    What are you doing to simplify/automate this?

    Steven,
    Who me? Or are you asking Adobe in this User-to-User forum?

  • How do you manually set the # of threads - weblogic.socket.Muxer in 8.1

    We are seeing some strange behavior with an application that has 9 threads as seen in the "Monitor all Active Queues..." I'd like to try to reduce this to 5, where would I set this?
    Thanks!

     Just Google for such things as this: http://www.directron.com/12to7.html
     You can also rig things yourself if you're inclined to do so and have the ability. You can finds instuctions by doing a web search.
     I made something a bit different using a +8V 0.5A voltage regulator just because I had the parts and felt like doing it.

  • How to get a host-name representing a WebLogic cluster

    Hi guys,
    We are using weblogic to deploy a service. Service uses the below property to connect on managed port and get datasource informations
    PROVIDER_URL=t3://abc.com:20005
    Now this is fine but in PRODUCTION we have cluster who have 2 machines-manged server (mt1 and mt2) on which service is deployed. 
    Now what could be the PROVIDER_URL value inside the service code? we can't choose any of the mt1 (or mt2) as if that server down then service will not respond. We need to use a kind of abstarct host name so that this t3:// access
    always will be there. In the env we have LBR but that is an OHS which listen http only. Can any body tell me how to fix this issue?
    Thanks in advance.

    Here you can find some examples:
    Oracle Fusion Middleware Programming JNDI for Oracle WebLogic Server - 11g Release 1 (10.3.6)
    Best Regards
    Luz

Maybe you are looking for