• 11Sep

    If you’re developer and looking for Java Hosting for your Hosted Application, you should look for a serious and pretty flexible hosting providers, take your time to list your few requirements that should include the following Standard Servlet/JSP Features, it will make easy for you to find a good solution which will avoid any future problem.

    List of requirement;

    * Java Servlet support (JSDK/Servlets)

    * Fine-tuned Tomcat VM’s for highest performance

    * High-speed delivery of static content

    * Tomcat -regularly updated with latest stable releases

    * Cocoon 2.1 support

    * Tomcat features should include JSP 2.0 and WAR file deployment

    * Easy folder layout/knowledgebase for new Tomcat users

    * Accessibility of full Servlet Logs, Access Logs

    * The plan should have JDBC support

    * Configure servlets and compile JSP-DIY configuration

    java

    * File system access and provide dynamic control

    * SQL/Server 2005, MySQL, PostGreSQL and FireBird Databases with JDBC

    * Smooth Outgoing network connections/Incoming network connections to run a    Java-based server

    *  Convergence and JSPWiki support

    * No restriction to use JAR files and appls extensions

    * You’ll need full access to applications for reloading via the Tomcat Manager

    * The Host should provide Separate JVM and JBoss on request

    * You may need isolated Tomcat Host to separate webapps folder for your applications

    * Host multiple applications, under your own Tomcat Host

    * Tomcat Manager apps should reload/unload applications in real-time

    * For Load balancing check the availability of Clustered VM setups

    * Secured server and web server stability.
    Let me know if I am missing something to list here.

    If you think that your hosted application is memory hungry  you should consider a dedicated server otherwise VPS hosting should meet your requirement. The hosting package generally varies pretty wildly between the different hosting options and providers but it would be always good for you if you discuss your requirement with your host providers in detail before you choose a plan.

  • 12Oct

    Setting up the Admin User for tomcat

    Edit the “tomcat-users.xml” file as

    vi /usr/local/jakarta/jakarta-tomcat-5.5.9/conf/tomcat-users.xml

    [You will have to find out the path for tomcat-users.xml on your server first]

    Add a line like in that conf file as :

    <user username=”username” password=”password” roles=”manager,admin”/>

    You will have to check that none of the default users have the manager or admin roles.

  • 09Oct

    If tomcat is failed on the server, Then login to the server with root login details and Goto, ————————-

    cd /usr/local/jakarta/jakarta-tomcat-5.5.9/bin/

    ————————-

    Check the running processes as

    ps aux | grep tomcat

    Then stop all tomcat processes. You can stop it with the script as ————————-

    root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./shutdown.sh ————————- [This script will stop the tomcat processes that are running]

    In order to fix tomcat run following command under /usr/local/jakarta/jakarta-tomcat-5.5.9/bin

    ————————-

    root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# java -jar bootstrap.jar

    ————————- [This will set java environment for tomcat on the server]

    Then start the tomcat service with the script

    ————————-

    root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./setclasspath.sh

    root@servername [/usr/local/jakarta/jakarta-tomcat-5.5.9/bin]# ./startup.sh ————————- [This script start tomcat on the server]

    You will have to stop and restart apache service on the server many times before you run startup.sh script.

   

Recent Comments

  • This could be one of the reason why UK Government is making...
  • The root access in VPS gives you the ability to install and...
  • Hello...Thanks for the nice read, keep up the interesting po...
  • can i get more information..see not theoryitcal i need part...
  • Hi, I use a company laptop and its disabled. How can I enabl...