Plesk

Top  Previous  Next

Tomcat Application server

To avoid confusion with Plesk's default Application server support,

hide the Tomcat icon via the Interface Template tool

(refer to your Plesk Admin guide for more information).

NOTE: The Plesk Interface Management tool on some older versions

of Plesk, is known to not work too well.

 

Also Refer to the following:

The page cannot be displayed because an internal server error has occurred.

 

vhost.conf

NGASI AppServer Manager edits the Plesk vhost.conf configuration file

associated with the domain or sub domain.  If require the use of the

vhost.conf file, either edit it after NGASI AppServer Manager configuration

is complete or use a different domain or sub domain for the Application

Server managed by NGASI AppServer Manager.

 

VPS or Remote Server

If "Host 'xxx.x.x.xxx is not allowed to connect to this MySQL server" is logged in

/usr/ngasi/logs/catalina.out or C:\usr\ngasi\logs\catalina*.log and

C:\usr\ngasi\logs\stdout*.log (Windows)

It suggests the Root System in which NGASI AppServer Manager is installed does

not have access to the Plesk VPS installated Database.

 

Grant access is done in the following way:

GRANT DELETE,INSERT,UPDATE, SELECT,INDEX,REFERENCES,LOCK TABLES,

CREATE TEMPORARY TABLES ON psa.* TO admin@"%" IDENTIFIED BY 'passwd';

 

Replace "passwd" with the same password found in /etc/psa/.psa.shadow.

 

Make sure NGASI AppServer Manager is restarted.

 

Windows

If not using the default Plesk Access Database, you must edit the following entries in the

C:\usr\ngasi\webapps\ROOT\WEB-INF\ws\webapps\appservermgr\ZP-INF\wsportal.properties accordingly:

 

     #mysql     

     pleskDBConnectionURL_win=jdbc:mysql://localhost:3306/psa?autoReconnect=true

pleskDBUser_win=admin

pleskDBPassword_win=tiger

pleskDBDriver_win=com.mysql.jdbc.Driver

 

#sql server

pleskDBConnectionURL_win=jdbc:sqlserver://localhost:1433;databaseName=psa

pleskDBUser_win=sa

pleskDBPassword_win=tiger

pleskDBDriver_win=com.microsoft.sqlserver.jdbc.SQLServerDriver

 

Microsoft SQL Server

NOTE: You may have to manually enable the TCP Port (1433) via the

"SQL Server Configuration Manager"

 

 

Using Apache Web Server instead of IIS (Windows)

Sometimes Apache Web server is desired instead of IIS as a proxy

to account's application servers. Configuring Apache Web Server

may be done Globally or on a per-user basis.

 

First the IP Address for Apache to listen to must be specified in the wsportal.properties.

Add an entry for "win_apache_listener_address" with a valid IP address that will not be used by IIS.

To make Apache the web server for all accounts, add the following entry in the wsportal.properties file:

win_hasApacheOption=true

To set for a specific user, login to NGASI AppServer Manager as admin user.

Go to Users List.

Select User.

Click on the "Customize" User account button.

Select the "Control Panel" Tab.

Select the "Apache Option".

Finally click the "Save" Button.

NOTE: If the user domain relies on the local DNS server, then the DNS Zone

settings would need to be updated in Plesk to reflect the IP Address associated with Apache.