Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84572members
353844posts

StruxureWare Portal: how customize network ports during installation?

EcoStruxure IT forum

A support forum for Data Center Operation, Data Center Expert, and EcoStruxure IT product users to share knowledge on installation, configuration, and general product use.

Solved
DCIM_Support
Picard
Picard
0 Likes
5
316

StruxureWare Portal: how customize network ports during installation?

This question was originally posted on DCIM Support by spezialist on 2017-03-15


Hi all!

Tell, please, perhaps during installation of StruxureWare Portal under Windows to customize network ports, for example for Postgresql service?

Very thanks for the support.

(CID:114232218)


Accepted Solutions
DCIM_Support
Picard
Picard
0 Likes
0
318

Re: StruxureWare Portal: how customize network ports during installation?

This answer was originally posted on DCIM Support by spezialist on 2017-03-17


Hi Jef Faridi,

Thanks for attempt to help me with this question, but I found other solution of this task.

Yes, of course, during installation of SxW Portal it is impossible to customization of network ports - it is clear.

And nevertheless, I needed to run on the same Windows-server two instances of PostgreSQL (including for SxW Portal) and two instances of Tomcat (again, including for SxW Portal).

SOLUTION:

  1. For PostgreSQL service of SxW Portal change its default network port from 5432 to 5433, in the following configuration files:
    C:\Program Files\PostgreSQL\9.1\data\postgresql.conf
    port = 5433
    C:\Program Files\StruxureWare Portal\portal-setup-wizard.properties
    jdbc.default.url=jdbc:postgresql://localhost:5433/portal
    C:\Program Files\StruxureWare Portal\tomcat-7.0.27\webapps\ROOT\WEB-INF\classes\portal-ext.properties
    jdbc.default.url=jdbc:postgresql://localhost:5433/portal
    C:\Program Files\StruxureWare Portal\tomcat-7.0.27\webapps\se-ext\WEB-INF\ext-web\docroot\WEB-INF\classes\portal-ext.properties
    jdbc.default.url=jdbc:postgresql://localhost:5433/portal
  2. For Tomcat service of SxW Portal change its default network ports 8005 and 8009 to 8006 and 8010, in the following configuration file:

    C:\Program Files\StruxureWare Portal\tomcat-7.0.27\conf\server.xml
    <Server port="8006" shutdown="SHUTDOWN">
    <Connector port="8010" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />

After made of these changes, it is necessary to restart above the specified two SxW Potral services in the standard for Windows way.

With best regards.

(CID:116919533)

See Answer In Context

5 Replies 5
DCIM_Support
Picard
Picard
0 Likes
2
319

Re: StruxureWare Portal: how customize network ports during installation?

This answer was originally posted on DCIM Support by Jef Faridi on 2017-03-16


Hi Spezialist,

Installing the Portal software dose not require additional network configurations, the Portal server (after the installation) will use the Windows server IP. 

To launch the browser on the same system you can use "http://localhost:8080", and to launch the browser on another workstation use the Windows server IP, that hosts the installed Portal, eg. http://<Windows server>:8080

StruxureWare Portal is using port 8080 (default) and postgresql using port 5432

The pre-configured port for postgresql should not/may not be modified, but to change the default port (8080), open the file:

C:\ Program Files \ StruxureWare Portal \ tomcat-* \ conf \ server.xml

and search for "8080". And change it to another planned port and then restart the portal. That's it.

Hope this helps,

Kind regards

(CID:114232454)

DCIM_Support
Picard
Picard
0 Likes
0
319

Re: StruxureWare Portal: how customize network ports during installation?

This comment was originally posted on DCIM Support by Waseem Khan on 2017-12-24


Hello Jef Faridi

(struxureware portal)

I was looking into the server.xml file there are multiple places where 8080 has been entered as a port where exactly we have to change the port inside the file 

I need to change 8080 port to 443 as per customers requirement and it should be https ? 

Please advice how can i do it ?

(CID:126885379)

DCIM_Support
Picard
Picard
0 Likes
0
319

Re: StruxureWare Portal: how customize network ports during installation?

This comment was originally posted on DCIM Support by Jef Faridi on 2018-01-02


Hi Waseem,

By default, https is on port 8443.

If you need to disable http, then edit the "server.xml" file and un-comment (use "<!--" and " -->") the connection via HTTP / port 8080.
And for the https configuration, see the following guide:

http://liferaysatish.blogspot.se/2012/06/ssl-with-liferay-tomcathttp-to-https-on.html

Kind regards

(CID:126886362)

DCIM_Support
Picard
Picard
0 Likes
0
319

Re: StruxureWare Portal: how customize network ports during installation?

This answer was originally posted on DCIM Support by spezialist on 2017-03-17


Hi Jef Faridi,

Thanks for attempt to help me with this question, but I found other solution of this task.

Yes, of course, during installation of SxW Portal it is impossible to customization of network ports - it is clear.

And nevertheless, I needed to run on the same Windows-server two instances of PostgreSQL (including for SxW Portal) and two instances of Tomcat (again, including for SxW Portal).

SOLUTION:

  1. For PostgreSQL service of SxW Portal change its default network port from 5432 to 5433, in the following configuration files:
    C:\Program Files\PostgreSQL\9.1\data\postgresql.conf
    port = 5433
    C:\Program Files\StruxureWare Portal\portal-setup-wizard.properties
    jdbc.default.url=jdbc:postgresql://localhost:5433/portal
    C:\Program Files\StruxureWare Portal\tomcat-7.0.27\webapps\ROOT\WEB-INF\classes\portal-ext.properties
    jdbc.default.url=jdbc:postgresql://localhost:5433/portal
    C:\Program Files\StruxureWare Portal\tomcat-7.0.27\webapps\se-ext\WEB-INF\ext-web\docroot\WEB-INF\classes\portal-ext.properties
    jdbc.default.url=jdbc:postgresql://localhost:5433/portal
  2. For Tomcat service of SxW Portal change its default network ports 8005 and 8009 to 8006 and 8010, in the following configuration file:

    C:\Program Files\StruxureWare Portal\tomcat-7.0.27\conf\server.xml
    <Server port="8006" shutdown="SHUTDOWN">
    <Connector port="8010" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />

After made of these changes, it is necessary to restart above the specified two SxW Potral services in the standard for Windows way.

With best regards.

(CID:116919533)

DCIM_Support
Picard
Picard
0 Likes
0
318

🔒 Closed

This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.