Results 1 to 5 of 5

Thread: Deploying a Servlet In A Linux System

  1. #1
    Join Date
    Nov 2009
    Posts
    652

    Deploying a Servlet In A Linux System

    Hi, I am working on the Linux platform. I tried to follow a tutorial to run my first servlet in this tutorial all goes through the command prompt.
    - I was able to install Tomcat and start it from the command prompt.
    - In the compilation of my Servlet I am getting the problem.
    I want to know how can I simply able to deploy the Servlet in my Linux platform.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Deploying a Servlet In A Linux System

    Hello, If you want to do it by command line, I suggest you start command javac without parameter (or javac-help). It will tell you that to specify the classpath is the option-cp. So you must write a command to resemble it. I have the following command. So, just make use of it.
    Code:
    javac-cp "xxxxxx/apache-tomcat-6.0.24/bin /" -d .. / WEB-INF / classes / TestingServlet.java

  3. #3
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Deploying a Servlet In A Linux System

    Hello, you need to make use of the following command for Apache configuration:

    Code:
     ./configure --prefix=/usr/local/apache
        --add-module=/usr/local/src/
                    jserv0.9.11/mod_jserv.c

  4. #4
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Deploying a Servlet In A Linux System

    Hello for deploying a Servlet in a Linux System you must need to use the Apache which is having following features:
    • Unix Threading
    • New Build System
    • Multiprotocol Support
    • Better support for non-Unix platforms
    • New Apache API
    • IPv6 Support
    • Filtering
    • Multilanguage Error Responses
    • Simplified configuration
    • Regular Expression Library Updated

  5. #5
    Join Date
    May 2008
    Posts
    2,389

    Re: Deploying a Servlet In A Linux System

    Hello, you can use the books below for getting the reference for Deploying a Servlet in a Linux System:
    • Unix Network Programming
    • Just Java, 1st Edition
    • Java Programming for Dummies
    • Java Developer's Resource
    • Java by Example, 1st Edition

Similar Threads

  1. How to create system recovery image in Linux system
    By Vedavrata in forum Operating Systems
    Replies: 9
    Last Post: 01-08-2012, 02:15 PM
  2. Best Friendly Linux Distribution For Biggest Linux System
    By Aniela in forum Operating Systems
    Replies: 3
    Last Post: 13-12-2010, 07:42 AM
  3. Deploying MSI's with WSUS 3.0??
    By VauGhna in forum Server Update Service
    Replies: 2
    Last Post: 24-01-2010, 08:06 AM
  4. Problem deploying XP SP3 with WSUS 3.0 SP1
    By Pine Le in forum Server Update Service
    Replies: 1
    Last Post: 21-05-2008, 06:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,873,234.23893 seconds with 17 queries