WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Running different apps on different ports or 1 app per port

    Posted Wed August 11, 2010 10:39 AM
    Running different apps on different ports or 1 app per port

    --------------------------------

    Hello,
    We have a Websphere Application Server Community Edition (build 2.1.1.3-20090807) installed in our local office. I would like to know the possibility of installing 1 app per port in the same instance of websphere. A client of ours have a similar setup (where they have configured app1 in port 1, app2 in port 2 etc...). The application we deliver will go in a similar configuration, for example as app3 in port3.

    I have not done that specific configuration myself and sticked with the basic configuration of deploying it in the HTTP port 8080, thereby accessible by typing 127.0.0.1/app3. What do I need to do to enable a configuration where I would say 127.0.0.1:port3 and it would take me to /"app3/". I hope I am clear with my question. Please let me know how it is done, as I could not find answers searching for it on the internet and websphere installation documents.

    Thanks,
    Karthik

    --------------------------------

    Posted By: ceeeyem at Dec 20 2009 5:31PM


  • 2.  Running different apps on different ports or 1 app per port

    Posted Wed August 11, 2010 10:46 AM
    All the requests on a application servers are served either on http or https. I am not sure how you can set multiple http or https ports for a single application server.

    Are they using a different instance of application server for each application ? BTW that's not a good idea unless if they have any business need.

    Anant

    --------------------------------

    Posted By: infyniti at Dec 20 2009 11:54PM


  • 3.  Running different apps on different ports or 1 app per port

    Posted Wed August 11, 2010 11:00 AM
    Hello Anant,
    Thanks for your reply. They follow this approach to deploy their applications. For example, their admin app, user-management app, etc...Also, they do not use different app server instances for different apps. Here is a link to the Apache Geronimo (Websphere CE is an IBM supported for Apache Geronimo) website that talk about a similar setup.

    cwiki.apache.org/GMOxDOC21/app-per-port-...

    As you can see, this page is half-cooked and does not provide you much information. I understand your point of view that apps are delivered through http:// or https://, but I am made to think that I am missing something with this 1-app-per-port configuration.

    Thanks again for your help.
    -Karthik.

    --------------------------------

    Posted By: ceeeyem at Dec 21 2009 2:01AM


  • 4.  Running different apps on different ports or 1 app per port

    Posted Wed August 11, 2010 11:00 AM
    If I understand your question your properly. This can be done through virtual host configurations.

    --------------------------------

    Posted By: naresh at Dec 21 2009 8:04AM


  • 5.  Running different apps on different ports or 1 app per port

    Posted Wed August 11, 2010 11:02 AM
    check the sample from geronimo svn

    --------------------------------

    svn.apache.org/repos/asf/geronimo/sample...

    Forrest

    --------------------------------

    Posted By: forrestxm at Dec 22 2009 2:09PM