Tomcat 6 stop running while Oracle XE runs

Hi All,
=========
My Env:
Ubuntu 10
=========
After a full day's research & work I managed to install Tomcat 6, Cocoon & Java files successfully. The following is my problem.
I have an existing Oracle XE running with Apex 3.2.
When I start Tomcat 6 it gets started fine, but in few seconds it stops running and gives the message " Tomcat servlet engine is not running, but pid file exists.". I can stop & start this, or restart this but the same problem happens again after few seconds with the same message ( I know this by checking the status). During this few seconds running I am able to access it via the browser by http://localhost:8180 ( I modified the port from 8080 to 8180). Apex uses port 8080. During this time I don't have any problem with Apex (set to run at start up).
When I stop the Oracle Database and start Tomcat 6 it works fine, it continues to run perfectly. Again when I start the database, I am unable to access Apex via port 8080 & get the message "can't establish a connection to the server at 127.0.0.1:8080."
Can anyone please help me?
Thanks ever so much
Naushad

Hi Naushad,
you probably have missed a setting to migrate the tomcat to port 8180. The behaviour you describe fits to the one I'd expect for a port conflict - either service runs perfectly when he's "alone", but doesn't work if the other one started before.
You can fix this on both sides. Reconfiguration of the port your EPG hosts your APEX may be a little easier. You just have to login as sys and execute the following block:
begin
  dbms_xdb.sethttpport(8081);
end;
commit;Change the port to whatever value you want.
To change your Tomcat port configuration, you probably edited the following piece in your server.xml
<Connector port="8080" protocol="HTTP/1.1"
...You'll find other ports used by the Tomcat in that file as well. Make sure you don't have a conflict with some other service.
I'm running a Tomcat next to XE on Ubuntu 8.04. Since I had to reconfigure the Tomcats default SSL Port (8443 was already used by another web server on that machine), I moved all Tomcat ports from 80XX to 100XX, keeping the EPG on port 8080, and it works fine for me.
-Udo

Similar Messages

  • Find out the name of parameter file while oracle is running

    can any one please tell me how can i find the name of oracle parameter file while oracle is running, i mean is there any parameter that specifies this thing, or is there any data dictionary view
    second thing i want to change the default database i mean istead of starting the default database at startup the oracle should start the database that i specify,
    i would be greatfull if any one could answer my questions

    Ok, so you're running with SPFILE in default location. The file you speak about is used during the database create phase.
    Just having a look at the file:
    c:\oracle\admin\orcl\pfile\init.ora.1142006183316I can say that:
    . The SID is ORCL
    . You used DBCA to create the database
    . DBCA started creating the database: Saturday 11 of February 2006 at 18:33
    This file is used by the DBCA because when you create a database, you must have a parameter file in order to start the instance. This file is easily created as a text file (PFILE) first, then the instance is started. Once the database creation is over, the SPFILE is created from this PFILE. If you check the database create logs (in the %ORACLE_BASE%\admin\ORCL\* directory) you'll see a "CREATE SPFILE FROM PFILE" is ran after the database creation, or before, it depends, and the instance restarted in order for it to use the newly created SPFILE. After that, this file is useless.
    HTH,
    Yoann.

  • Why  /var/adm/messages stop wrritten while syslogd is running

    /var/adm/messages stop written recently. we are running solaris2.6. I noticed this happened after newsyslog rotated the messages file. In newsyslog, there is a line at end: kill -HUP `cat /etc/syslog.pid`. And syslogd is running. When I use logger to test, the test message was written to /var/adm/messages.
    Can anyone give me a clue for this? Any help will be appreciated!
    Thanks!
    Hong

    Could it be you need this Patch ? :
    Patch-ID# 106439-12
    Synopsis: SunOS 5.6: /usr/sbin/syslogd patch

  • "A script is already running" while attempting to run more than one item

    We upgrade recently to ODT 11.2.0.3.20. Since then, attempting to run more than one item from the Solution Explorer (by selecting the items, right-clicking, and selecting "Run") results in a popup error of "Oracle Developer Tools. A script is already running". If many items are selected it results in many error messages and only a random few of the items are actually executed on the server. Also, choosing "Run On" now results in it prompting for the target database for each item selected (rather than once for all items selected like it used to). This all used to work fine in the earlier release we were using. Has anyone else run into this? Any fixes? We used to use multi-select and "Run" or "Run On" to deploy multiple items at once, but this no longer works -- doing one at a time works, but if you have hundreds of items to run, this quickly becomes unusable.
    Thanks for any insight.
    - Josh

    cshay wrote:
    I don't believe that the intention was for you to be able to run a bunch of scripts one after the other. Often there are dependencies between scripts anyway and so you you have to order them. Because we're generally deploying a large set of stored procedures (and not just one-time scripts) the order doesn't really matter -- even if a stored procedure gets created before one it depends on, once all the SPs are on the server, the ones that are "invalid" will compile correctly once you execute them.
    I think a lot of people are creating master scripts that references child scripts using the "@" sql plus syntax.... have you tried that?
    I'll give that a try as a work around. Only issue I have with that solution is every time we add or remove something from the solution, we also have to update the script.
    We are doing a lot of enhancements to our script generation in the coming year. Keep an eye out for a beta to test.
    Like I said, this used to work fine in the older versions of ODT. It seems like the new version is attempting to execute multiple items at once on the same connection simultaneously, thus resulting in the "A script is already running" error. The old version used to be smart enough to execute them one at a time -- so something changed in a more recent version to completely break "Run" and "Run On" when you have more than one item highlighted (even just highlighting 2 items and choosing "Run" runs the first item, but then gives the error for the second item).
    Christian- Josh

  • Time Machine Feature: Don't run while {app} is running

    I'm wondering if there's either a way to achieve this, or if other people think that this would be a worthwhile feature for them as well, and if we could maybe suggest it to Apple for a future update to Time Machine.
    What I'd love to see would be the ability to tell Time Machine to never run whenever an application from a list of applications is running.  I can't even count the number of times I've been working in Logic Pro and suddenly had everything fail, "Audio System Overload" messages everywhere, wasted valuable time hunting for what was causing the issue and then five minutes in realized, "OHHHHH, Time Machine kicked in," and had to go cancel the backup.  I imagine this is also a huge irritation to other peope who use power-hungry applications, and to people who use timing-sensitive applications like video games.  I mean, wouldn't it be nice to be able to say, "Never launch Time Machine while I'm playing World of Warcraft", or whatever?
    (The other feature I used to always long for was a "Never back up when I'm on Wireless," option, but I've since switched to a wired desktop so this isn't as big a deal for me anymore.  It might be nice for others, though.)

    Irfon-Kim Ahmad wrote:
    I'm wondering if there's either a way to achieve this, or if other people think that this would be a worthwhile feature for them as well, and if we could maybe suggest it to Apple for a future update to Time Machine.
    Hi Irfon-Kim,
    As we all know, Apple is always changing things around, so who knows, maybe if enough people ask for the same thing . . . .
    Here's a link which will go directly to Apple; they'll hear what you have to say (whether they adopt your idea is another thing ): http://www.apple.com/feedback/timemachine.html

  • Stopping a while-loop in a sub-vi

    Hello,
    I want to stop a while loop that runs in a sub-vi. It does not work with a local variable, is there a possibility to implement this without using global variables?
    Many thanks !

    One way is to use a notifier.
    See attached - Uses LV 7.1.Message Edited by NeilR on 05-04-2005 08:10 AM
    Attachments:
    stop2.zip ‏14 KB

  • Tomcat error while trying to run the servlet

    I am etting the below error while trying to run a servlet from tomcat server.
    HTTP Status 404 - /servlet/DailyStatusServlet
    type Status report
    message /servlet/DailyStatusServlet
    description The requested resource (/servlet/DailyStatusServlet) is not available.
    Can anyone help me in solving this error.

    rnaaz wrote:
    Can anyone help me in solving this error.Start by making sure you've properly mapped that URL in your deployment descriptor (web.xml file).
    ~

  • Why has my 8x8 desktop app on my Macbook Pro running OS X Yosimite 10.10.1 suddenly stopped working while the app on my iPhone and the online service both work fine?

    Why has my 8x8 desktop app on my Macbook Pro running OS X Yosimite 10.10.1 suddenly stopped working while the app on my iPhone and the online service both work fine? Is this because of some recent software update by Apple? 8x8 support acknowledges issues with no current work-arounds? The 8x8 desktop app worked until early December, then quit. I've deleted and re-downloaded the app, but no difference.

    The solution is :
    1. Delete iPhone configuration utility. Just drop it to the trash
    2. Run
    sudo rm -rf /private/var/db/receipts/com.apple.pkg.iPhoneConfigurationUtility.*
    rm -rf ~/Library/Preferences/com.apple.iPhoneConfigurationUtility.plist*
    3. Delete the whole folder: /System/Library/Extensions/AppleUSBEthernetHost.kext
    4. Reinstall iTunes (just over the previous one)
    5. Restart
    incase of any issues, visit this thread: https://discussions.apple.com/thread/3725328?start=15&tstart=0

  • Oracle Apps Forms errors out with FRM-40735 while running from Oracle D2K

    Hi
    Will anybody please provide me a solution on Oracle Apps Forms which errors out with FRM-40735 while running from Oracle D2K
    Regards
    Nakul Venkataraman

    Hello,
    certain trigger in your form is throwing an exception and its not being catched by the exception part for your block. check the code of your trigger and pur exception handling into your trigger code

  • Stopped server while running full synchronization of SQL MA

    Hi Everyone,
    I am currently facing an issue in the Sync server where the Full Sync is showing "Stopped server" while running Full Synchronization of SQL MA and this is not happending regularly as it is showing the error message 3 times if it runs 10 times in
    a week and rest 7 times its running fine.
    What could be the reason why this is occuring?
    Your response will be highly appreciated
    Thanks,
    Aman

    Hi Nosh,
    My first profiler is FI & FS then i am running FS in which i am facing this issue of stopped server and second thing is that the above thing is running absolutly fine with ILM but in FIM its shwoing this error and this error is not permanent as 
    it is failing two times then third time it is running perfectly.
    Please suggest
    Thanks,
    Aman

  • Since the last update of Firefox I've a real problem. While Firefox is running or in use my Laptop total freezes. The resource tool stops and nothing works. I have to power off my laptop to get by this.

    Since the last update of Firefox I’ve a real problem. While Firefox is running or in use my Laptop total freezes. I was working a Word document and my laptop stops cold. The resource tool stops and nothing works. I have to power off my laptop to get around this. This has occurs numerous time and started after the last update to Firefox. I did install Skpe recently. My configuration is as follows:
    Forfox 10.0.2
    User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
    Windows 7 version 6.1 build 7600
    Processor p6100 64-bit
    Please help me it is very annoying

    uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
    ... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
    so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert

  • Oracle VM run as different users

    I wanted to make use of my son's nice relatively new computer running windows 7 (64 bit) with the help of Oracle VirtualBox running an Ubuntu Server with LAMP and Tomcat within. Using my own account on this host box, I deployed Virtual Box and the guest Os and it was fine, I was able to access it from my own older box on the same home local network.
    However if the VirtualBox is started as logged in as another user, namely from under my son's account, almost everything is fine, however the guest operating system can not access the network and starts without an IP address. While booting, it stops for 2 times 61

    A side note: my son's account name (Dénes) contains an accented letter, mine (although in reality I am Iván) does not not (I dropped the accent in the account name).
    An early version of Open Office (or was it its predecessor, Star Office?) choked if the user account name contained an accented letter. I do not think however the problem stems from this in the case here.
    I thought to try Microsoft's virtual machine too. It is bundled with XP mode but the Virtual PC is told to be applicable alone. I downloaded and run it. It first checked the host OS (including its being genuine) and then told something like it was not valid for this PC.
    The host OS is genuine Windows 7 Professional 64 bit (v6.1 SP1) in Hungarian language.
    Edited by: BIJ001 on 2012.07.13. 23:03
    Edited by: BIJ001 on 2012.07.13. 23:24

  • HOW I WAS ABLE TO GET ORACLE/LINUX RUNNING

    Just like some (or should I say most) of you, it took me pains
    (one week at that) to get 8i EE running on Linux.
    Here is how I was able to get it up and running:
    Environment:
    * RedHat 6.0
    * Linux kernel 2.2.12
    * Blackdown JRE (not JDK) 1.1.6v5
    * Mem: 128MB
    Create the linux account 'oracle' and make the account a member
    of the 'dba' group. The 8i docs contradicts itself saying that
    'oracle' should be a member of the 'oinstall' group in one place,
    but later on says that 'oracle' should be a member of the 'dba'
    group in other places. (In the 8.0.5 installation, 'oracle' is a
    member of the 'dba' group, so just follow this tradition).
    I have 2 linux machines. Because the machine where I am
    installing 8i has several other purposes, I ran X on another
    machine and have the OUI display on that other machine, but the
    OUI ran on the machine where I installed 8i.
    From the host running X, I set "xhost +182.212.1.32" (this is
    the IP address of the host where I am installing 8i), telnetted
    to the host where 8i will be installed, logged in as 'oracle',
    did a 'su', mounted the CDROM, exited from root (thereby going
    back to the oracle account), did a "DISPLAY=182.212.1.200:0.0;
    export DISPLAY", "cd /mnt/cdrom", and then did ran the installer
    "./runInstaller".
    If you did not make 'oracle' a member of 'dba', OUI will say "You
    are not a member of the 'dba' group.... blah ...." and will ask
    you the linux group for OSDBA and OSOPER.
    If you DID make 'oracle' a member of the 'dba' group, you will
    not get this prompt at all, and you will be asked to specify the
    linux group that will be responsible for installing/upgrading
    oracle. Specify the group 'oinstall' in this prompt. Basically,
    this prompt will 'chgrp oinstall' the directory
    '$ORACLE_BASE/oraInventory'.
    Cotinue with the installation. You will be prompted to run a
    script under the /tmp/oracle/oraInstroot.sh directory as root.
    Continuing, I specifed a custom install. After almost completing
    the installation, you will be prompted to run the 'root.sh' under
    $ORACLE_HOME as root. Note that this script is not executable, so
    either "chmod 744 root.sh;./root.sh" or "sh ./root.sh".
    At this point, db config assistant will run, but gave me an
    exception, something like "JNLSException: No character sets
    found." This error was not fatal as it did allowed me to
    continue. (Note that I tried setting ORA_NLS33 and NLS_LANG, but
    I still had this exception. However, I have not tried downloading
    i18n-1.1.6-v5-glibc-x86.tar.bz2 from blackdown. But I do not know
    if that will help.). I did not continue with dbassist but exited,
    and exited OUI. The reason was that, after telling dbassist to
    save to scripts, it cannot even save the scripts!!
    Now run dbassist again ("cd $ORACLE_HOME/bin; ./dbassit"). You
    will again get the message "JNSLException: No characters found".
    I specified an OLTP database. Later on, you will be asked if you
    want to use shared server processes (MTS) or dedicated server
    processes. At this point, specify dedicated server processes.
    (Note: this is important. More on this later).
    The SYSTEM datafile need not be initially 175MB. I had mine set
    to 75MB.
    When prompted if you want to create the db now or save to
    scripts, specify save to scripts, and exit dbassist.
    Now "cd $ORACLE_HOME/install". The main script (which is
    sqlSID.sh --- replace SID with the value of ORACLE_SID), will
    simply run other scripts.
    Instead of running the main script, run each of the scripts
    (that the main scripts was supposed to call) manually in the
    order specified by the main scripts. This will help you later on
    point out the specific script which may have problems.
    The first script will start the instance and create the
    database.
    Run that first script.
    Now here lies the importance of specifying "dedicated server
    processes" instead of "shared server processes". If you specified
    "dedicated server processes", the db should now be created, and
    the script will exit without errors. If you specified "shared
    server processes (MTS)", the instance will be mounted but you
    will get the message "ORA-01012: not logged on". The db will
    therefore not be created. I believe the following quote from the
    docs (not included with the linux 8i EE CD, but included
    witht he nt 8i EE CD) says it all:
    =================================================================
    ===========
    Restricted Operations of the Multi-Threaded Server
    Certain administrative activities cannot be performed while
    connected to a
    dispatcher process, including shutting down or starting an
    instance and
    media recovery. An error message is issued if you attempt to
    perform these
    activities while connected to a dispatcher process.
    These activities are typically performed when connected with
    administrator
    privileges. When you want to connect with administrator
    privileges in a
    system configured with multi-threaded servers, you must state in
    your connect
    string that you want to use a dedicated server process
    (SRVR=DEDICATED) instead of a dispatcher process.
    Additional Information:
    See your Oracle operating-system-specific
    documentation or the Net8
    Administrator's Guide for the proper connect
    string syntax.
    =================================================================
    =========
    From the above, you should be able to create a db using "shared
    server processes (MTS)" from scratch (instead of creating a db
    using "dedicated server process" and then later on changing to
    MTS), by modifying your tnsnames.ora file. However, I have not
    done this.
    Now run the remaining scripts that the main script was supposed
    to call. The only other problem I had with the scripts was the
    last script (the one with SIDjava.sh). I had a problem with the
    redo logs, and I got an "end of communication error" in the
    middle of the execution of the last script. I have to run this
    last script twice to make sure it worked.
    I believe the reason for the problem with the last script was
    related to what I found out later on, that all the rollback
    segments were OFFLINE (except that rbs in SYSTEM)!!!
    So probably it is best that, after running the first script, take
    the rollback segments online, before continuing with the other
    scripts.
    After running the scripts and the database created, I then
    applied te 8.1.5.0.1 patch, shutting down the database first.
    (Run svrmgrl, connect internal, shutdown;)
    However, after applying the patch, and starting the database
    again, I still get 8.1.5.0.0 and not 8.1.5.0.1 when loggin
    in using sqlplus or svrmgrl. Maybe the patch should be applied
    first BEFORE creating the db???
    Okay, now I have it running for 3 days now. However, I get this
    error in my alert files:
    OER 536879337 in Load Indicator : Error Code = 570716328 !
    ... when the instance is mounted, and
    Load Indicator not supported by OS
    .... several times.
    I have not been able to solve these remaining issues.
    John Salvo
    null

    This should get you started. I can point you to many places, but
    http://en.wikipedia.org/wiki/Verizon_FiOS
    Pasive Optical Network. Most  customers really don't need to know all the nuts and bolts.
    http://en.wikipedia.org/wiki/BPON
    GOOD LINK Anti-Phish. I never viewed this list. Cool.
    http://www.dslreports.com/faq/16637
    Optical Network Terminal (ONT) is a type of NID used with fiber-to-the-premises applications.
    Various models used.I had one of the first ONT 610X, I now have 612. I also believe they use Motorola ONTs?
    http://en.wikipedia.org/wiki/Optical_Network_Terminal#Optical_network_terminals

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi,
    I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
    Please help me.
    Thanks,
    Sunjyoti
    Code :
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    class try2{
    public static void main(String args[]) {
    try {
              System.out.println("hi");
    // Load the properties file to get the connection information
    Properties prop = new Properties();
    prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
    // Create a OracleDataSource instance
    OracleDataSource ods = new OracleDataSource();
    System.out.println("prop is "+prop);
    configureDataSource(ods, prop);
    Connection conn=null;
    // Create a connection object
    conn = ods.getConnection();
         System.out.println("Connection is"+conn);
    // Sets the auto-commit property for the connection to be false.
    conn.setAutoCommit(false);
    } catch (SQLException sqlEx){ // Handle SQL Errors
    System.out.println("In exception "+sqlEx);
    } catch(Exception excep) { // Handle other errors
    System.out.println(" Exception "+ excep.toString());
    private static void configureDataSource(OracleDataSource ods, Properties prop) {
    // Database Host Name
    ods.setServerName(prop.getProperty("HostName"));
    // Set the database SID
    ods.setDatabaseName(prop.getProperty("SID"));
    // Set database port
    ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
    // Set the driver type
    ods.setDriverType ("thin");
    // Sets the user name
    ods.setUser(prop.getProperty("UserName"));
    // Sets the password
    ods.setPassword(prop.getProperty("Password"));
    Connection properties :
    # Your Database Connection details
    HostName = 10.20.3.19
    SID = EDIREAD
    Port = 1521
    UserName = dbuser
    Password = dbuser
    Error I'm getting is
    error while trying to connect with odbc datasource
    [root@iflexpau2217 EDIReader]# java try2
    hi
    prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
    In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Also I tried to connect with weblogic JDBC driver
    Code is here:
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    //import com.entrust.toolkit.util.ByteArray;
    public class trial{
         public static void main(String args[]) throws IOException{
              System.out.println("hi");
              Connection p_conn = null;
              PreparedStatement xml_insert = null;
              try {
         // Load the JDBC driver
                   System.out.println("hi2");
         // String driverName = "oracle.jdbc.driver.OracleDriver";
    String driverName = "weblogic.jdbc.oracle.OracleDriver";
         System.out.println("hi2");
         Class.forName(driverName);
         // Create a connection to the database
         String serverName = "10.20.3.19";
         String portNumber = "1521";
         String sid = "EDIREAD";
         //String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String url = "jdbc:bea:oracle://10.20.3.19:1521";
         String username = "dbuser";
         String password = "dbuser";
    System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
         p_conn = DriverManager.getConnection(url, username, password);
         System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
              xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
              //InputStream in=null;
              File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
              BufferedReader input =null;
              input=new BufferedReader(new FileReader(l_file));
              String line = null;
              StringBuffer trial=new StringBuffer();
              while (( line = input.readLine()) != null){
                   trial.append(line);
                   trial.append(System.getProperty("line.separator"));
              //InputStream is = new BufferedInputStream(new FileInputStream(l_file));
              System.out.println(trial.toString());
              //Blob b ;
              //byte[] bytes=trial.toString().getBytes();
              //System.out.println("Size-->"+bytes.length);
              xml_insert.setString(1,new String("SpecailChar"));
              //xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
              xml_insert.setString(3,"SpecailChar");
              xml_insert.executeUpdate();
              p_conn.commit();
              } catch (ClassNotFoundException e) {
                   System.out.println("ClassNotFoundException:"+e.getMessage());
              // Could not find the database driver
              } catch (SQLException e) {
                   System.out.println("SQEXCEPTIN:"+e.getMessage());
              // Could not connect to the database
              }catch (FileNotFoundException e) {
                   System.out.println("filenot found:"+e.getMessage());
              // Could not connect to the database
    Error I'm getting is
    error while trying with jdbc:
    SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refused

    Is the Windows firewall active? Have you enabled the port on the firewall, if it is?

  • Error While trying to run a servlet

    I am getting the below error while trying to run a servlet using tomcat.In this admin is a directory where I have a html file called admin.html which calls the servlet AdminServlet & replaces the url by /servlet/AdminServlet.
    HTTP Status 404 - /SPOT/admin/servlet/AdminServlet
    type Status report
    message /SPOT/admin/servlet/AdminServlet
    description The requested resource (/SPOT/admin/servlet/AdminServlet) is not available.
    For more details I am also copying the code from the admin.html file below.
    <script language=JavaScript>
    document.location.replace('../servlet/AdminServlet');
    </script>

    JavaScript != javareplace or redirect ??

Maybe you are looking for