Unix(Sun Solaris)-Servlet settings

Hi all,
Iam a new user to unix and trying to compile a servlet in unix(sun solaris)platform.getting error as follows
"Package javax.servlet.http not found in import"
i assume that this is a problem with classpath setting.Can anybody help me how to set classpath and what is the command for it for servet package.
the basic java classes are compiling fine.
Expecting a reply soon.
regards
sara

I imagine that your are including the lines:
import javax.servlet.*;
import javax.servlet.http.*;
in your servlet. If that is the case, when you compile your project try:
javac -classpath .:<path to servlet.jar>:<path to server.jar>: YourServlet.java
I hope this helps.
Regards
Cardwell

Similar Messages

  • Issue wit hthe installation on Unix Sun solaris

    Hello,
    We are doing a fresh installation on Unix sun solaris Sparc 64 bit
    I have downloaded the software and when i was trying to invoke RunInstaller i am getting the following error message and this is regarding Display
    Error Message :
    Checking Temp space: must be greater than 250 MB. Actual 66655 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 66889 MB Passed
    Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    we didnt actually have any licensed version of xterm or any other Display unit.
    As this is a test server i am working i was looking for free software which also supports ssh and work as a Display tool.
    Note: This should support ssh.
    Would appreciate any help.
    Thank You

    See this thread - installing the 11g database via putty
    HTH
    Srini

  • Unable to compile in unix sun solaris 8

    hi,
    I am also facing same issue. I have installed latest version of JRE (6u7) in Sun solaris 8 x64 bit (SPARK Processor). when I try to see java version (./java -version). it gives following error.
    ld.so.1: ./java: fatal: libjli.so: open failed: No such file or directory Killed
    thanks in advance
    Edited by: sabarishrl on Oct 16, 2008 1:55 PM

    reinstall jdk, issue solved.

  • Installation BOBJ XI 3 on UNIX ( Sun Solaris ) with Oracle database

    Hi All,
    I want to deploy and install BOBJ XI Enterprise 3.1 on Sun Solaris with oracle database.
    My question is, do we need to add some oracle licenses stuff in BOBJ XI Enterprise server or we just using a connection from Sun Solaris to oracle database ?
    Pls Advise,
    Rgds,
    Denny

    Hi Denny,
    the risk is the same whatever DB server you are using. Once you have a setup where more than one application access the server, overload caused by one application can influence the performance of the other ones. You have to check if your DB vendor offers tools to monitor and limit the load on your DB server. But we are talking hypothetically now. I would recommend to check what's the actual load on your oracle DB server. If the server is not working at the limit (let's over 80% all the time), then I think that you can try to install BOBJ also in an existing oracle instance on the oracle server. You can reduce the risk and make the maintenance easier if you setup a dedicated oracle instance on your DB server just for the BOBJ repository.
    Regards,
    Stratos

  • Tracefile for 7.3.4.4 database on Unix (Sun Solaris)

    What happens if sql_trace is set to true and there is no room in
    the file system to write any tracefiles?
    Does the database stop and you have to resolve the problem?
    Does the database continue to work and just doesn't create any
    more tracefiles?
    Ronald.

    What happens if sql_trace is set to true and there is no room in
    the file system to write any tracefiles?
    Does the database stop and you have to resolve the problem?
    Does the database continue to work and just doesn't create any
    more tracefiles?
    Ronald.I am not sure, maybe in worst case the db stops.
    Why do you want to use sql_trace ?

  • Front end of PL/SQL for Sun solaris

    Hi,
    What are the popular front ends and also Which is best front end of PL/SQL under
    UNIX (Sun Solaris) platform.

    You can use Sql Navigator from Qwest Software
    which can run on Win95/NT/2000. You can use SQL*NET to connect to your Sun Solaris or any other Oracle instance running on UNIX platform.
    Jack
    null

  • Help !!! My forms from NT to Sun Solaris .. weird now

    Hello,
    I have brought my forms, originally developed on NT,
    to UNIX Sun Solaris and every single fonts in the forms
    have changed.
    Is there a command to fix the fonts when bring to another
    platform ?
    Thanks so much in advance.
    Thuy
    null

    T.P.
    I am sorry but we don't deal with Oracle Forms.
    Oracle Migration Workbench Team.
    T.P (guest) wrote:
    : Hi,
    : I need to bring my forms60 originally developed on NT to
    : Sun Solaris. Do I need to write a script and is the fonts
    : going to be change?
    : Thanks very much.
    : Thuy
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Headstart 6.5 Deployment environment - Sun Solaris Intel

    Is it possible to deploy the headstart runtime environment to UNIX Sun Solaris Intel?
    I am trying to make the 'hsdcgi65' file for Sun Solaris Intel without success. The make file is for solaris (SPARC).
    Modifying the make file does not do any good and while compiling, I am getting the error "hsdcgi65.o wrong machine type".

    Louis,
    Your best bet is to just make a static HTML launch document for your application rather than using the cgi launch
    environment. You can create a static launch document by using the generic Application Launchform on your
    (windows) development platform to launch your application start form. Right-click on the browser window and
    select View Source. Copy and paste this code to make a static HTML launch document.
    Regards,
    Lauri

  • Application Migration from HP-UNIX to SUN Solaris

    Hi Gurus,
    Need help on the application migration from HP-UNIX to Sun Solaris . Copied the filesystems APPL_TOP, OA_HTML, OA_JAVA, COMMON_TOP/util and COMMON_TOP/_pages from SOURCE( HP) to TARGET SUN-solaris as per 238276.1
    Now trying to clone Autoconfig XML context file on the TARGET System
    perl adclonectx.pl migrate java=\opt\java1.4 \
    contextfile=\ul01\app\applmgr\lasrx\admin\LASRX_fiapd4.xml
    Error: source context file ul01appapplmgrlasrxadminLASRX_fiapd4.xml does not exist.
    Questions:
    ======
    1. we still need to install jdk in the TARGET or copy the file system from source(HP) to target( Solaris) bring the JDK and how to check jdk on Solaris?
    2. In clone autoconfig XML, contextfile=? Is the location of SOURCE or TARGER?
    3. I think running above with root permission.
    Please help somebody on this issue.
    Thank You.

    Hi Hussein,
    I need your help on the Application migration from HP-UNIX to SUN Solaris. As per the note 238276.1 we dont copy $806_ORACLE_HOME for cross platform migration, Copied all the filesystem from SOURCE to TARGET but rename it because it suppose to create while installing Middle tier.
    Issue:1
    =====
    When i start to set environment like below, i get the error and
    . /ul01/app/applmgr/lasrx/APPSORA.env
    ksh: /ul02/app/oracle/lasrx/8.0.6_new/LASRX_fiapd4.env: not found
    I am trying to install Middle Tier Technology Stack on SUN server ( Migrating from HP-UNIX to SUN solaris)
    Issue 2: ( Display error) while install Tech Stack
    =====
    ./rapidwiz -techstack
    Rapid Install Wizard is validating your file system......
    >> Wizard requires the DISPLAY variable to be set.
    >> Please set your DISPLAY variable and restart Rapid Install Wizard.
    even i can not see
    echo $DISPLAY because not set the environment.
    Need your help and suggetions on this.
    Thank You.

  • How to find a unused hard disk in Sun Solaris unix

    Hi All,
    Can any one tell, how to find all the unused hard disk in Sun Solaris using Unix command.
    Thanks & Regds
    PAN

    not understand your question, find command is used to look for files, not disks.
    easier way is to logon to your system open up 2 windows, on 1 window # cat /etc/vfstab
    on second window type format.
    format will list all the disks in your system.
    vfstab file will list all the potential disks and slices used as swap devices and filesystems like your os and application filesystems etc ...
    then you compares left and right.
    but even then be very very very careful if you find disks in "format" not found in /etc/vfstab doesn't mean disk not in use, if your system is clustered the clustered resources like mounted volumes will not show up under the /etc/vfstab
    if you not familiar with unix u better dun touch.

  • How do I setup high speed internet on Sun Solaris 10?

    Hello,
    I have comcast high speed internet. It doesn't work automatically. How can I setup my high speed internet connection to work with Sun Solaris 10?
    Mateusz

    Pickup a broadband router, made by dlink, linksys, netgear, SMC or Cisco. If possible get a wireless with 4 port switch built in. This will give you added flexibility if you happen to get another system or a wireless laptop. You want a gateway router that does NAT, SPI firewall, DHCP.
    Plug it into your cable modem then into your sun box, default settings on the router will generally self configure to the broadband you connect to and there will be no problems. However if you are using a DSL or bigpond they require a username and password to get the line active, this requires an initial login to the firewall to pick PPoE on the WAN side.
    Different brands default to different 'non routeable' internal IP's, all are 192.168.x.x, smc defaults to 192.168.1.x or 192.168.2.x depending on release date, Linksys defaults to 192.168.2.x as does linksys, Netgear defaults to 192.168.1.x, the owners manual will usually tell you this.
    They are generally made to default to a windows box so configuring a unix box has to be done either manually or with the dhcp option. www.dslreports.com has alot of good vendor specific information on configuring these things.
    At any rate you need to create a file in /etc called 'defaultrouter' with the routers IP address, in the smc case it would be 192.168.2.1, pick a couple of outside DNS servers and put them in a file in /etc called resolv.conf in the format
    nameserver xxx.xxx.xxx.xxx
    nameserver xxx.xxx.xxx.xxx
    copy nsswitch.dns nsswitch.conf
    pick an address in the 192.168.2 range like .25 and add it in the /etc/hosts file, create a hostname.hme0 file with the host name thats in the hosts file and reboot.
    Then try to ping the router, if no ping then the chang the 3td octet 1 instead of 2 and try again.
    I've never tried doing the .dhcp thing but I've never used dhcp for a sun box before because all I do is servers.
    I think I'd try the DHCP thing first then get to the router to get all it's information and write it down. Usually the ISP will populate the router with dns servers and any dns requests are answered by the router in the dhcp configuration. I think thats about it...

  • Oracle 10g R2 installation on sun solaris 10 Sparc machine

    Hi there,
    I encountered the following problem during oracle 10g R2 installation on sun solaris 10 Sparc machine
    Error encountered:
    Using paramFile: /u01/Oracle/10gr2_db_sol/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 2266 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 2335 MB Passed
    Checking monitor: must be configured to display at least 256 colors Failed <<<<
    >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set.
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    Continue? (y/n) [n]
    The following were the steps taken before encountering the above error
    1. logged into a workstation
    2. From its xterm terminal I logged to the oracle server via ssh oracle@ip
    3. keyed in the following at the command prompt
    DISPLAY=machine_name:0.0; export DISPLAY
    4. executed the following from the command prompt
    ./runInstaller
    Note: when executing the ./runInstaller, the preinstallation checking just hangs at Checking monitor: must be configured to display at least 256 colors. But the log file shows it failed during preinstallation checking as shown in Error encountered
    Please help me with this problem.
    Thank you
    Ravindran Kanniah

    It is because of UNIX shell. I also faced this error during installation.
    First check your shell by the following command.
    $ echo $SHELL
    Then select the below.
    For csh shell
    $ setenv DISPLAY 192.168.1.128:0.0
    $ export DISPLAY
    For sh,ksh and bash
    $ DISPLAY=192.168.1.128:0.0
    $ export DISPLAY
    After you do this check the value of DISPLAY variable.
    $ echo $DISPLAY
    If the DISPLAY variable is set then run ./runInstaller.
    One advice: Keep a complete log of your terminal session. This will help you in future :)
    -aijaz

  • Unable to connect Informatica on Sun Solaris to a SQL Server datasource

    Background*
    We have a fully operational OBIEE with OBIA Apps infrastructure running with Informatica PC8.6 ETL suite. Informatica services are running on a Sun Solaris 64 bit platform.
    We currently extract data from two Oracle EBS 11.5.10 sources. Now we are trying to extract data from a new MS SQL Server 2000 source into the OBAW.
    Problem*
    I'm trying the use the native ODBC 5.2 Data Direct driver to connect the the data source.
    I've gone through and completed the 9 steps of the 'Connecting to an ODBC Data Source' chapter in Informatica on our Solaris Unix box.
    I've made the following changes to the *.profile*
    # ODBC HOME
    ODBC_HOME=/oracle/Informatica/PowerCenter8.6.0/ODBC5.2
    export ODBC_HOME
    ODBC_INI=/oracle/Informatica/PowerCenter8.6.0/ODBC5.2/odbc.ini
    export ODBC_INI
    PATH=${PATH}:$ODBC_HOME/bin
    export PATH
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ODBCHOME/lib
    export LD_LIBRARY_PATH
    I've also made changes to the odbc.ini file as suggested:
    [MSS_DB]
    Driver=/oracle/Informatica/PowerCenter8.6.0/ODBC5.2/lib/DWmsss22.so
    Description=DataDirect 5.2 SQL Server Wire Protocol
    Address=MssServer.xxx.co.uk,1433
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=MIS_Report_DB
    LoadBalancing=0
    LogonID=myuser
    Password=mypwd
    QuotedId=No
    ReportCodePageConversionErrors=0
    InstallDir=/oracle/Informatica/PowerCenter8.6.0/ODBC5.2
    I've created the Connection--> Relational --> ODBC connection on Workflow Manager
    I've specified the username/pwd and connect string MssServer.xxx.co.uk@MIS_Report_DB. I've called it exactly the same as MSS_DB specified in the odbc.ini
    When I run the workflow. It fails but doesn't throw up any error/error code in the session log. The last 3 lines of the Session Log below and then it just bombs out within 5 secs.
    PETL_24006 : Starting data movement.
    TM_6660 : Total Buffer Pool size is 4234808 bytes and Block size is 468312 bytes.
    DBG_21438 : Reader: Source is [MssServer.xxx.co.uk], user [myuser]
    If you ping from the Unix server it says 'MssServer.xxx.co.uk is alive'
    Can anyone suggest what we need to do different or spot something obvious?
    Edited by: bebedi123 on 13-Apr-2010 09:43

    user00726 wrote:
    i am able to create files in /tmp
    $ pwd
    /tmp
    $ touch test
    $ ls -l
    total 64
    drwxr-xr-x   2 root     other        194 May 27 14:20 OraInstall2009-05-27_02-20
    -02PM
    drwxr-xr-x   2 root     other        194 May 27 14:35 OraInstall2009-05-27_02-35
    -06PM
    drwxr-xr-x   6 root     other        445 May 27 14:38 OraInstall2009-05-27_02-38
    -48PM
    -rw-rw-r--   1 root     sys         6644 May 27 14:00 ps_data
    -rw-r--r--   1 oracle   dba            0 May 27 16:04 test
    $and i have also removed /tmp_dir_n8ai9b files
    but still there is a problemYou have root as owner of subdirectories (e.g. OraInstall2009-05-27_02-38-48PM) and not oracle:
    - do you install as root now?
    - or make the directories writable for oracle, too.The write flag is missing (something like chmod -R a+w OraInstall2009-05-27_02-38-48PM)
    Edited by: TanteKaethe on May 28, 2009 9:54 AM

  • Mod-JK compilation on Sun Solaris 10 (SPARC)

    HI,
    Can any one help me for sucessful compilation of tomcat-connector-1.2.26-src i.e mod-jk on sun solaris platform 10 sparc
    server.
    I followed below steps
    ./configure --with-apxs=/usr/apache2/bin/apxs
    make
    in make this gives following error:
    Making all in common
    Making all in apache-2.0
    /bin/bash /var/apache2/build/libtool silent mode=link /opt/SUNWspro/bin/cc -I/usr/apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff -xO4 -DSSL_EXPERIMENTAL -DSSL_ENGINE -DHAVE_APR -I/usr/share/src/apache2/srclib/apr/include -I/usr/share/src/apache2/srclib/apr-util/include -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `/usr/apache2/bin/apxs -q LDFLAGS` -o mod_jk.la -module -rpath /usr/apache2/libexec -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo ../common/jk_status.lo
    ld: fatal: file .libs/mod_jk.o: open failed: No such file or directory
    *** Error code 1
    make: Fatal error: Command failed for target `mod_jk.la'
    Current working directory /opt/tomcat-connectors-1.2.26-src/native/apache-2.0
    *** Error code 1
    The following command caused the error:
    failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    k) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='common apache-2.0'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'

    The only thing I can really suggest is to scan your log files to see if the building of this object failed earlier on.
    Thanks
    Prashanth

  • Generating reports in RTF and Excel on Sun Solaris

    hi,
    Could any one of u out there kindly tell me if it is possible to generate reports in RTF and Excel formats on a Report Server running in Sun Solaris machine. We use Reports 6i.
    Because I am able to generate a report in RTF format on report running in Windows NT machine, but on Solaris i get a message that the Reports Server terminated abnormally!.
    Thanks,
    Prabhu S

    Could you please tell us whether you fllowed any special procedures
    or made some specific settings to launch RTF reports ?Can't help much, I'm afraid. The report and web server settings were
    all made before I got here, and are not visible to me.
    We can get RTF from report builder/generate-to-file and when running
    reports on the web. Our servers are all Sun/Solaris boxes, although
    we display on DOS boxes. Excel we get from a program, not from the
    report server.
    Report builder 6.0.8.10.1, database claims to be 8.1.7.0.0.
    Sorry I can't help much more than saying "yes, it can be done".
    Allan Plumb

Maybe you are looking for

  • After F110 run in the payment file the account holder details are missed

    Hai After running the F110 pament run, In the payment file the ACCOUNT HOLDER name is missing . The ACCOUNT HOLDER details must picked up from VENDOR MASTER. This  is happening when ACCOUNT HOLDER and VENDOR  are different. When ACCOUNT HOLDER and VE

  • 27" Retina iMac dead

    Less than one week old, my 27" Retina iMac is- dead! I put it to Sleep a few hours ago, and returned to find that I could not wake the machine. Screen trouble? Pressing the Power button, to turn it OFF, and pressing it again to turn it ON produced NO

  • TS3992 IOS 8 & cloud not backing up

    Managed to restore all my things from iCloud onto my new iPhone 6 but now when I try back my iPhone 6 to the cloud it can't because each time you select back up it boots me off the wifi....restarted phone and router and the same occurs. Any ideas?

  • Yahoo toolbar will not install - what's up??

    I HAVE INSTALLED SEVERAL TIMES IN THE LAST 3 DAYS, SINCE YAHOO UPDATED. IT WILL WORK WITH IE, BUT NOT FIREFOX. I PREFER FIREFOX. I HAVE DELETED, UNINSTALLED, RE-INSTALLED - NO SUCCESS. HELP!

  • Can anyone help with copying a movie?

    I am trying to copy my HD camcorder movie (9.5 Gb) on to a16 gb SD card. When dragging and dropping the message 'The operation cannot be completed because an unexpected error occurred (error code 0). comes up. I've also tried 'Export movie' in Imovie