cancel
Showing results for 
Search instead for 
Did you mean: 

Java only portal - change port

eleni_kontoyanni
Participant
0 Kudos

Hi all,

I have installed an EP 6 Java only portal and I am trying to redirect the portal to listen to port 80 instead of 50200 (which is the port used now).

From what I've seen so far in forums and notes, the ICM process is used for the redirection.

I have changed the profile to include

icm/server_port_0 = PROT=HTTP, PORT=80, TIMEOUT=30, EXTBIND=1

The system seems to ignore this and after the restart the port is still 50200.

I have checked the permissions of the icmbnd program and they are OK.

I think the program does not run at startup because there is no dev_icmbnd tracefile in the work directory.

I have tried this in another EP6 portal which is an ABAP+Java installation and it works fine.

Does ICM work only if the ABAP stack is installed, or are there any steps that I am missing?

Regards,

Kontogianni Eleni

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

ICM is an ABAP component. It can be used only for ABAP or ABAP+Java. It has no place in a Java only system.

However, SAP Web Dispatcher is very similar to ICM. It can act as a load balancer for Java dispatcher or ABAP ICM processes.

The Java HTTP port is managed using the Java config tool or the visual administrator or you can install a SAP Web Dispatcher on the port you want to use.

eleni_kontoyanni
Participant
0 Kudos

So if I change the Java HTTP port in the Visual admin or the config tool and set it to 80, the portal will use the new port after the restart?

Is that the only change that I have to make?

Where exactly in the Visual administrator do I find this parameter?

Regards,

Eleni

eleni_kontoyanni
Participant
0 Kudos

I am assuming that the Java port is changed using the Config tool

Instance -> dispatcher -> Services -> HTTP -> Local properties->Ports.

Is this correct?

Former Member
0 Kudos

I only have an EP7 system, and it's been a while since I looked at an EP6 one, but that sounds about right...

Make sure you don't have anything alrady using port 80.

eleni_kontoyanni
Participant
0 Kudos

My mistake... the portal is EP7 (NW 2004s).

I have tried changing the port number in Visual Admin and it works fine.

I also want to redirect the portal from http://<server_name>; to http://<server_name>/irj/portal/anonymous so that the users do not have to enter the whole path.

In the ABAP+Java portal, it was possible do this using icm/HTTP/redirect_0 = PREFIX=/,TO=/irj/portal/anonymous,HOST=<server_name>.

Is there any way to procceed with this redirection in the Java only portal?

Is it only possible through the web dispatcher?

Regards,

Eleni

hofmann
Active Contributor
0 Kudos

Hi,

if you want to customize the URL of the portal, you should use a reverse proxy. As it is possible with the port, you can also change the URL (/irj/portal/anonymous) of the portal, but you'll change the context of the deployed application (the portal). Under / the WebAS is running, and under /irj the application portal is deployed. So it's not really recommended to change this ...

With a reverse proxy in place,you can create rules that will take care of everything. And you don't need to make changes to your portal. Take a look into SAP Web Dispatcher. You'll only have to create a rule like:

icm/HTTP/redirect_0 = PREFIX=/, FOR=*, TO=/irj/portal/anonyumous

br,

Tobias

former_member191660
Participant
0 Kudos

Hi Eleni,

to redirect http://your.host/ to http://your.host/irj/portal/anonymous,

Go in Visual Admin to "Server" -> "HTTP provider" -> "Runtime"

and set start page = /irj/portal/anonymous

this will not remove the "irj/poratl/anonymous" part from the URL, but the user won't have to type it.

cheers,

Sergei

Answers (1)

Answers (1)

Former Member
0 Kudos

Changing J2ee Engine (Portal) Ports:

Change the default ports of a j2ee system.

1. Login to the Visual Admin.

2. Go to the under Dispatcher à Services à HTTP Provider.

3. Change the ports in the ports property.

4. Restart the J2EE Dispatcher .

This changes the original ports given at the installation.

You can change the http and https ports.

To change the SLD Ports.

1. In the visual admin go to Server à Services à SLD Data Suppliers.

2. Go the Http Settings change the port and save it.

3. Change to other tab CM Client Generation Settings.

4. Change the Port number and check CM Client test.

Ref: https://www.sdn.sap.com/irj/scn/wiki?path=/display/nwtech/hange+default++port+numbers%252c+portal+po...

Mr.Chowdary