openwga hosting Plans & Pricing
Listed below, you can find our awsome openwga hosting packages provided with care and passion!
-
J-STARTER
Limited time offer - 50% discount
VAT applies to EU customers -
(
$8) $4 / Monthly (excl. VAT) -
(
$22) $11 / Quarterly (excl. VAT) -
(
$42) $21 / Semi-Annually (excl. VAT) -
(
$82) $41 / Annually (excl. VAT) -
(
$162) $81 / Biennially (excl. VAT) - 10GB Disk space
- Java, JSP, Tomcat
- Unlimited bandwidth
- 1 Domain per account
- 1 Tomcat application
- 10 Sub-domains
- 10 FTPs
- Monthly payment
- Order now
-
J-BASIC
Limited time offer - 50% discount
VAT applies to EU customers -
(
$10) $5 / Monthly (excl. VAT) -
(
$28) $14 / Quarterly (excl. VAT) -
(
$54) $27 / Semi-Annually (excl. VAT) -
(
$106) $53 / Annually (excl. VAT) -
(
$210) $105 / Biennially (excl. VAT) - 20GB Disk space
- Java, JSP, Tomcat
- Unlimited bandwidth
- 2 Domains per account
- 5 Tomcat applications
- 20 Sub-domains
- 20 FTPs
- Monthly payment
- Order now
-
J-PRO
Limited time offer - 50% discount
VAT applies to EU customers -
(
$12) $6 / Monthly (excl. VAT) -
(
$34) $17 / Quarterly (excl. VAT) -
(
$66) $33 / Semi-Annually (excl. VAT) -
(
$130) $65 / Annually (excl. VAT) -
(
$258) $129 / Biennially (excl. VAT) - 30GB Disk space
- Java, JSP, Tomcat
- Unlimited bandwidth
- 3 Domains per account
- 10 Tomcat applications
- 30 Sub-domains
- 30 FTPs
- Monthly payment
- Order now
-
J-ENTERPRISE
Limited time offer - 50% discount
VAT applies to EU customers -
(
$16) $8 / Monthly (excl. VAT) -
(
$46) $23 / Quarterly (excl. VAT) -
(
$90) $45 / Semi-Annually (excl. VAT) -
(
$178) $89 / Annually (excl. VAT) -
(
$354) $177 / Biennially (excl. VAT) - 50GB Disk space
- Java, JSP, Tomcat
- Unlimited bandwidth
- 5 Domains per account
- Unlimited Tomcat applications
- 50 Sub-domains
- 50 FTPs
- Monthly payment
- Order now
openwga hosting Core Features
If you are looking for premium quality openwga hosting package for your website, you are at the right place!
We offer outstanding user friendly openwga hosting packages for all!
Shared hosting
Low cost shared web hosting
Secured servers
Secured servers and free SSL for your web site
Free domain transfer
You can transfer your domain for free with our hosting plans
Unlimited bandwidth
You do not have to worry about the traffic you will be using
Technical support
Our support staff is available 24/7/365 to assist you
Plesk with Softaculous
Plesk - the best control panel + APS auto installer with more than 400 scripts and more than 1000 PHP classes
openwga hosting Common Features
Features common to all openwga hosting packages.
Unlimited email accounts
Unlimited MySQL databases
PHP, PERL, C++, TCL, Python
Server Side Includes (SSI)
Fast Servers
No setup fee
SMTP, IMAP, POP3
Mailing Lists
Site Statistics
Webmail
Email Forwards
Email Auto Responders
openwga hosting Service Description
OpenWGA is Web Content Management computer software running on the Java Enterprise Edition Platform.
It is used to build, manage and publish websites and content-centric web applications.
openwga hosting Related Articles
Tomcat log files
Tomcat logs can be found in the /logs-tomcat
directory which is placed in the subscription's home. The logs are rotated when they reach 1 MB and 10 old log files are preserved.
The STDOUT
and STDERR
streams of each application are redirected to these logs so e.g. System.out.println(..)
and System.err.println(..)
go there.
Our Java environment
We run Tomcat application server on Oracle JVM. Tomcat is run behind Apache HTTPd front-end so we could support additional environments - e.g. PHP.
We offer shared Tomcat hosting only. That is - one Tomcat running in one Java JVM hosts multiple web applications.
In order to provide isolation between applications of different customers Tomcat is started with its security manager enabled.
Tomcat calls the root directory of a domain or subdomain "application base" (appBase
config option). Apache HTTPd calls it "document root" (DocumentRoot
config option). In our environment Tomcat and Apache HTTPd virtual hosts are pointed to the same directory so DocumentRoot
and appBase
are the same thing.
Where should you upload your Tomcat web apps
Tomcat web apps should you placed directly in the DocumentRoot
. For a subscription's main domain DocumentRoot
is pointed to /httpdocs
by default.
Here's an example.
Let's say that you have a docs.mydomain.com
subdomain pointed to /docs
directory with the following structure:
- /docs/WEB-INF
- /docs/app1/WEB-INF
- /docs/app2/WEB-INF
With this layout the following contexts can be deployed:
- docs.mydomain.com/
- docs.mydomain.com/app1/
- docs.mydomain.com/app2/
Each tomcat context represents a separate web app with its own classes, libraries, JSP files, etc. E.g:
- /docs/app1/WEB-INF/web.xml
- /docs/app1/WEB-INF/lib/jar1.jar
- /docs/app1/WEB-INF/lib/jar2.jar
- /docs/app1/WEB-INF/classes/Class1.class
- /docs/app1/WEB-INF/classes/package1/subpackage1/OtherClass.class
WAR files
WAR
files must be extracted in order to be deployed. E.g. the contents of test.war
should be placed in a directory named test
.
WAR
stands for Web application Archive .
Servlet/filter mappings
In order your mappings to work as expected two things must be done:
- As usual they have to be defined in
WEB-INF/web.xml
- Apache HTTPd frontend has to be configured to pass them to the Tomcat backend.
The second step is done via .htaccess
files. Here's an example. Let's say you have the following context:
http://docs.mydomain.com/app1/
and this web app has:
/docs/app1/WEB-INF/web.xml
which contains:
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/myservlet/action1</url-pattern>
</servlet-mapping>
You have to create the file:
/docs/.htaccess
which contains:
RewriteEngine On
RewriteRule ^app1/myservlet/action1$ ajp://127.0.0.1:8009/app1/myservlet/action1 [NE,P,L]
You can also map all requests for the app1
web app to Tomcat like this:
RewriteEngine On
RewriteRule ^app1/(.*)$ ajp://127.0.0.1:8009/app1/$1 [NE,P,L]
Or you can even forward all requests for this subdomain to the Tomcat backend:
RewriteEngine On
RewriteRule ^(.*)$ ajp://127.0.0.1:8009/$1 [NE,P,L]
Which domains and subdomains can have Tomcat web apps
A domain or subdomain can have Tomcat web apps deployed if it:
- has hosting enabled
- is active, e.g. not suspended or disabled
Additionally, the domain or subdomain DocumentRoot
must be pointed to a directory which is directly under the subscription home directory. E.g.
- "/test" - (correct)
- "/httpdocs/test" - (NOT correct)
Before requesting deployment
It is important to test your Tomcat web apps locally before requesting their deployment. The tests have to be done with Tomcat's security manager enabled. To enable the security manager locally open a terminal window and run:
# Linux/Unix/Mac:
cd $TOMCAT_HOME
./bin/catalina.sh run -security
# Windows:
cd %TOMCAT_HOME%
bin\catalina.bat run -security
We offer production environment for hosting your Tomcat web apps. This environment is not suitable for development or testing.
Security policy
Tomcat's security policy is defined in the file $TOMCAT_HOME/conf/catalina.policy
.
Our policy grants all the permissions in the default catalina.policy
distributed with Tomcat. It also grants several additional permissions commonly required by web apps. Some of them are:
- Each of your applications is granted read/write/delete permissions for all files and dirs under subscription's home dir
- Read permission is granted to all system properties
- New Socket connections are allowed
- Some additional package access is granted as well as Reflection permissions
If you find that a permission is required by your web app but it is not granted by our policy you could request it via the HelpDesk. Our administrators will review your request and grant the permission if it is appropriate.
Please note that requests for permissions that might affect the application isolation or the security of the other users' web apps will be denied.
Connecting to a database from your Tomcat web app
Here's an example for MySQL which you can place in e.g. test.jsp
:
<%@page language="java" import="java.sql.*" contentType="text/plain; charset=UTF-8" pageEncoding="UTF-8"%>
<%
Class.forName( "com.mysql.jdbc.Driver" );
java.sql.Connection con = DriverManager.getConnection(
"jdbc:mysql://localhost/DBNAME",
"USERNAME",
"PASSWORD"
);
out.println( con.toString() );
%>
The MySQL driver is pre-installed in $TOMCAT_HOME/lib
so you don't need to put it in your web app's WEB-INF/lib
.
PostgreSQL drivers are not pre-installed. Neither are SQLite and HSQLDB drivers.
Requesting web app deployment
To request a deployment go to the "Websites & Domains" section, find the domain/subdomain that should serve the web app and click its Tomcat button.
You will find a "Deployment request form" on the opened page.
This form contains:
- A list of deployable contexts
- A checkbox to request manual review of the web app
META-INF/context.xml
- A text area where you can add additional information to the person who will process your request
The list of deployable contexts is generated by scanning the DocumentRoot
. An entry in the list is created for:
- directories placed directly in the
DocumentRoot
and - containing a subdirectory
WEB-INF
and - having names which can be valid context path
META-INF/context.xml
will be ignored even if it exists unless you check the checkbox. Please do so if you have custom Resource/Realm/etc definitions there. It will be reviewed and you will be able to see how it has been applied in the "Support reply" .
Database connection pooling
We do not recommend using connection pooling in our environment since the connection establishment to the DB is lightweight process. Just close the DB connections when you're finished with them and reopen them when needed.
A request scope is an excellent lifespan for a DB connection.
Be especially careful when reusing pooled connections since the RDBMS might be configured to timeout inactive connections and you might encounter:
java.sql.SQLException: No operations allowed after connection closed
Start, Stop and Reload of Tomcat web apps
To Start/Stop/Reload web apps go to the "Websites & Domains" section, find the domain/subdomain containing the web app and click its Tomcat button. You will see the list in the "Deployed web applications" section. Started web apps can be stopped and stopped ones can be started. To reload a web app stop it first and then start it.
Our hosting servers are configured for production use. The automatic reloads which are usually enabled in the default Tomcat configuration are disabled. No automatic checks for JSP, class, JAR, web.xml, etc modifications are performed.
You need to manually reload your web apps after doing modifications.
Hosting plans, subscriptions and add-ons with Tomcat support
Java mail
mail.jar
and activation.jar
are pre-installed in $TOMCAT_HOME/lib
.
Don't put them in your web app's WEB-INF/lib as this might cause problems.
You can place this code in a file called e.g. `mail.jsp` to send mail:
java.util.Properties props = new java.util.Properties(); String auth_user = "[email protected]"; String auth_password = "PASSWORD"; String from = "[email protected]"; String to = "[email protected]"; props.put("mail.smtp.host", "localhost"); props.put("mail.smtp.port", "25"); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.ssl.enable", "false"); // props.put("mail.smtp.starttls.enable", "true"); String subject = "Testing java mail with settings: " + props.toString(); String body = "This is the message body."; javax.mail.Session sess = javax.mail.Session.getInstance( props, new javax.mail.Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication( auth_user, auth_password ); } } ); try { MimeMessage message = new MimeMessage( sess ); message.setFrom( new InternetAddress( from ) ); message.addRecipient( Message.RecipientType.TO, new InternetAddress( to ) ); message.setSubject( subject ); message.setText( body ); Transport.send( message ); out.println( "The message has been sent. Subject: " + subject ); } catch( Exception ex ) { ex.printStackTrace( new java.io.PrintWriter(out) ); out.println( ex.getMessage() ); }
Note that sending mail via SSL/TLS might require setting the mail.smtp.host
to the hostname of the server that your hosting account is on(e.g. fenix.livehostserver.com
) instead of localhost
.
This is needed in order the SSL certificate to be verified successfully.
Read/Write/Delete files on the file system
The Tomcat security policy grants web apps read/write/delete permissions for all the files and dirs under the subscription home.
The file system permissions must also allow the system user "tomcat" to do the respective operation.
E.g. to create a directory which is writable by "tomcat" you can login via FTP and do:
mkdir docs/app1/store1
chmod a+rwx docs/app1/store1
You can also create dirs and manage permissions via Plesk File Manager .
If you encounter:
java.security.AccessControlException: access denied (java.io.FilePermission /SOME/PATH)
the usual causes are:
- Wrong paths
- Wrong file system permissions
You should be extra carefull when using relative paths. They can be relative to something different than what you expect. In order to check a relative path you can place a code like this in e.g. test.jsp
:
<%@page contentType="text/plain; charset=UTF-8" pageEncoding="UTF-8"%>
<%
java.io.File f = new java.io.File(".");
out.println( "path: " + f.getAbsolutePath() );
%>
The directories which you see when you login via FTP or in the Plesk File manager are relative to the subscription home dir. Here's an example of an absolute path:
/var/www/vhosts/mydomain.com/docs/WEB-INF/uploads/file1.txt
"Tomcat management" page shows the actual DocumentRoot
for the domain/subdomain.
Third party libraries pre-installed in Tomcat
- MySQL drivers - mysql-connector-java-bin.jar
- Java mail required JARs - mail.jar and activation.jar
- Standard libs that come in the default Tomcat distribution
Have a pre-sale question for our packages?
Services & Apps Hosting
Knockout is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model.
Knockout HostingSubrion is a stand-alone PHP content management system that is very easy to use. It comes with a ton of great features including full source editing, per-page permissions, user activity monitoring, and much more.
Subrion HostingMochiKit is a light-weight JavaScript library written and maintained by Bob Ippolito.
MochiKit HostingMeteor, or MeteorJS, is a free and open-source isomorphic JavaScript web framework[3] written using Node.js.
MeteorJS HostingMicroweber is an open source drag and drop CMS. The core idea of the software is to let you create your own website, online shop or blog. From this moment of creation on, your journey towards success begins. Tagging all along will be different modules, customizations and features of the CMS, among them many specifically tailored for e-commerce enthusiasts and bloggers.
Microweber HostingUnderscore.js is a JavaScript library which provides utility functions for common programming tasks.
Underscore.js HostingMahara is an open source e-portfolio system with a flexible display framework. Mahara, meaning think or thought in Te Reo Maori, is user centred environment with a permissions framework that enables different views of an e-portfolio to be easily managed.
Mahara HostingjQuery Mobile is a touch-optimized web framework (also known as a mobile framework), more specifically a JavaScript library, currently being developed by the jQuery project team.
jQuery Mobile HostingContao is an open source content management system (CMS) for people who want a professional internet presence that is easy to maintain.
Contao HostingQuick.CMS is comprehensive and easy to customize Content Management System helpfull in your web site management. This tool enables you to easily extend functionality and change layout of your website... and breath a sigh of relief.
Quick.CMS HostingServices & Apps Hosting with Java Support
SmartClient is set of mobile and cross-browser HTML5 UI components combined with a Java-based Ajax framework, created by Isomorphic Software to build business web applications.
SmartClient HostingLogicalDOC is a free document management system that is designed to handle and share documents within an organization.
LogicalDOC HostingAmetys is a free and open source content management system (CMS) written in Java.
Ametys CMS HostingAdult Java Hosting packages on Linux Servers.
Adult Java HostingeXo Platform is an open source, standard-based, Enterprise Social Collaboration Platform written in Java.
eXo Platform HostingJSP Hosting on Linux Servers.
JSP HostingdotCMS is an open source content management system (CMS) written in Java for managing content and content driven sites and applications.
dotCMS HostingApache Roller is a Java-based Open Source "full-featured, Multi-blog, Multi-user, and group-blog server suitable for blog sites large and small".
Apache Roller HostingGoogle Web Toolkit, or GWT Web Toolkit, is an open source set of tools that allows web developers to create and maintain complex JavaScript front-end applications in Java.
Google Web Toolkit HostingJava Hosting packages on Linux servers.
Java Hosting