• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved Add Context Tomcat

Conor Hill

New Pleskian
Hi,

I am trying to install a java app on a domain, I have installed the WAR without an issue, but this particular web app uses several other files and folders to work.

I have added to parameters needed to server.xml under the correct host and I have also tried adding the context under a separate file in Catalina>WebspaceName>diveport.xml

But no avail, I am still getting the following error:
upload_2018-3-12_14-32-4.png

server.xml:
<Service debug="0" name="PSA">
<Connector port="9008" enableLookups="false" protocol="AJP/1.3" address="127.0.0.1"/>
<Connector port="9080" maxThreads="15" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" acceptCount="10" connectionTimeout="20000" disableUploadTimeout="true"/>
<Engine name="PSA" defaultHost="localhost">
<Host deployXML="true" name="diveport.manitex.ie" appBase="psa-webapps/diveport.manitex.ie" unpackWARs="false" autoDeploy="true" liveDeploy="true">
<Context crossContext="false" reloadable="false" useNaming="true" swallowOutput="false" privileged="true" displayName="Tomcat Manager Application" docBase="/usr/share/tomcat6/psa-webapps/diveport.manitex.ie/diveport.war" cookies="true" path="/manager" cachingAllowed="true">


<Parameter name="dataroot" value="/usr/share/psa-webdata/diveport.manitex.ie" />
<Parameter name="approot" value="/usr/share/psa-webapps/diveport.manitex.ie" />
<Parameter name="diveline.server" value="IPADDRESS:2130" />
<Parameter name="diveline.admin-username" value="admin" />
<Parameter name="diveport.approot" value="/usr/share/psa-webapps/diveport.manitex.ie" />

<!-- for single-sign-on with a CGI-mode installation, uncomment and set these parameters:
<Parameter name="diveline.web-auth-start-url" value="Enter DLCGI DivePort URL Here"/>
<Parameter name="diveline.web-auth-finish-url" value="Enter Logoff URL Here"/>
-->

<Parameter name="require-confidentiality" value="false" />

</Context>
<Realm className="org.apache.catalina.realm.MemoryRealm" pathname="psa-users/diveport.manitex.ie.xml" validate="true"/>
</Host>
</Engine>
</Service>

​
Any help or tips would be appreciated.

Thanks,
Conor.
 
Back
Top