Tagged: , ,

This topic has 4 replies, 2 voices, and was last updated 6 years, 4 months ago by Mike Jang.

  • Author
    Posts
  • #10666

    Hello. Is there a way we can deploy OpenIDM in Tomcat as webapps? We need to deploy it in a remote (ubuntu) server and access it from remote systems, which I guess is not working in jetty deployment.

    To give a background, this is what we are going to do. We want to use OpenAM, OpenIDM and Active Directory for handling the authentication, authorization and user management for our ecosystem of web and mobile applications and REST Apis. REST Apis we want expose through OpenIG.

    #10668
     Mike Jang
    Spectator

    Hi,

    OpenIDM already includes an embedded instance of Jetty for webapp purposes. If you’re deploying on the same system, you’ll have to take care w/r/t port numbers.

    Thanks,
    Mike

    #10706

    Thanks Mike for quick reply.

    We have the OpenIDM (with embedded jetty) running on an Ubuntu Server (cloud VM). We can access the OpenIDM from the same VM using http://localhost:8080. But when I try to access it over internet using the public IP of the system, it doesn’t work.

    My network and firewall setup are proper as I can access other applications deployed in tomcat in the same machine (including OpenAM). I have tested with 8080 port in tomcat as well.

    I am assuming this is an issue with the embedded Jetty. Hence if I can deploy this on the tomcat, we should be able to handle it better.

    Please let me know your views/solutions.

    #10749
     Mike Jang
    Spectator

    Hi,

    If you have deployed Tomcat on the same system as OpenIDM with embedded Jetty, it’s likely that you have a conflict, as both containers use the same ports (8080, 8443).

    For OpenIDM, you can change these ports in the conf/boot/boot.properties file for your project. As shown here, I’ve changed the port numbers:

    openidm.port.http=9080
    openidm.port.https=9443

    And I can access my instance of OpenIDM via http://remote_ip:9080 and https://remote_ip:9443

    I see that our documentation is not clear on this feature, so I’m filing a JIRA (bug report).

    Thanks,
    Mike

    #10750
     Mike Jang
    Spectator

    I’ve created OPENIDM-5879 to track this issue.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?