Jsp installation on win 2000 - please help me

Dear All
in the process to setup JSP environment on my window 2000 i gone through the article
"Slapping Together A JSP Development Environment" and done the following steps.
1. I installed the j2sdk1_3_1_01. I installed it to C:\JDK
2. I installed the Apache 1.3.20 and its working fine.
3. I installed the Tomcat3.2.3 to C:\TOMCAT
then I setup the environment variable to run tomcat as below
C:\>SET JAVA_HOME=C:\JDK
C:\>SET TOMCAT_HOME=C:\TOMCAT
C:\>SET PATH=%PATH%;C:\JDK\BIN
then i started tomcat as
C:\TOMCAT\BIN>TOMCAT START
and i see like
Including all jars in C:\TOMCAT\LIB in your CLASSPATH.
Using CLASSPATH:
C:\TOMCAT\CLASSES;C:\TOMCAT\LIB\ANT.JAR;C:\TOMCAT\LIB\JAXP.JAR;C:\TOMCAT\LIB
\SERVLET.JAR;C:\TOMCAT\LIB\PARSER.JAR;C:\TOMCAT\LIB\WEBSER~1.JAR;C:\TOMCAT\L
IB\JASPER.JAR;C:\JDK\LIB\TOOLS.JAR
but i not seen any thing like below and finally Tomcat server not start.
2001-01-30 02:47:19 - ContextManager: Adding context Ctx( /examples )
2001-01-30 02:47:19 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-01-30 02:47:20 - ContextManager: Adding context Ctx( )
2001-01-30 02:47:20 - ContextManager: Adding context Ctx( /test )
2001-01-30 02:47:22 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-01-30 02:47:22 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
please help me to fix this problem.

Hi shah_nasir,
Below is the link for everything you need.
The installation is for Tomcat 4.0, it's the same for
your Tomcat 3.2 on win2000.
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html
--Paul.                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • SAP R/3 4.7 INSTALLATION ON WIN-2000 ADVANCED SERVER.

    Hello!
    IS THERE ANYONE WHO CAN HELP ME?????????
    Dear, plz. Give me the steps for sap r/3 installation on win 2000 advanced server.
    I am not having password for sap community market place.
    So, iam not able to get the steps for installation I AM HAVING THE FOLLOWING CD'S
    1) SAP 4.7 GUI
    2) JAVA
    3) SAP KERNEL
    4) ORACLE 9.2.1-  3 CD'S
    5) SAP EXPORT-  7 CD'S
    Plz. Help me in this.plz.mail me on my      ID-  [email protected]
    Thanks & regards,
    Sandeep Chaudhary
    m-09312406060
    0129-3260483,4120483

    how come you have the cds and no access to sapnet? strange....
    basically these are the steps:
    -> install win 2k server
    -> check for all hardware and software requirements (needed for sap installation)
    -> install oracle server 9.2 and the appropriate patchset (being 9.2.0.8 at the time) and the interim patches (opatch)
    -> install sap central instance using sapinst (you will be asked for the different cds such as java, kernel etc.)
    -> install sap database instnace using sapinst (you will be asked for the different cds such as java, kernel etc.)
    -> apply post-installation steps
    but: without the installation guide and the relevant sapnotes it will be difficult to succeed....get access to sapnet asap!
    GreetZ, AH

  • Jsp database access using odbc - please help

    Hi friends,
    I�m trying a very simple database access program in jsp data base access using odbc. Odbc has to be used because thin driver or other drivers may not be available in every system of our college and as you know it's not that easy to make changes to those systems. My problem is so simple. I always get an exception in my program.
    My jsp content is as simple as:
    <%@ page import="java.lang.*,java.sql.*,java.io.*,registerbean" %>
    <jsp:useBean id="db" class="registerbean" scope="session"/>
    <%
    String str="insert into reg values('" + db.getName() + "','" + db.getUname() + "','" + db.getPass() + "'," + db.getAge() + ",'" + db.getSex() + "','" + db.getAdd() + "','" + db.getUgcourse() + "','" + db.getUgqual() + "'," + db.getPer() + ",'" + db.getIadd() + "')";
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:yogaesh","scott","tiger");
    Statement stmt=con.createStatement();
    stmt.executeUpdate(str);
    }catch(Exception e1){out.println(str);};
    %>
    the table reg has the structure:
    Name Null? Type
    CNAME VARCHAR2(20)
    UNAME VARCHAR2(20)
    CPSWD VARCHAR2(20)
    CONFPASS VARCHAR2(20)
    CAGE NUMBER
    CSEX VARCHAR2(5)
    CADD VARCHAR2(100)
    COURSE NUMBER
    CQUAL VARCHAR2(10)
    CPER NUMBER
    IADD VARCHAR2(100)
    The registerbean.java file is as below: (This seems to work fine because I tried printing the values using <%= %> tag and it worked out fine and moreover the query string is intact.)
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class registerbean
    private String name,uname,pass,cpass,age,sex,add,ugcourse,ugqual,per,iadd,otherugqual,ccode;
    public void setName(String a)
    name=a;
    public void setUname(String a)
    uname=a;
    public void setPass(String a)
    pass=a;
    public void setCpass(String a)
    cpass=a;
    public void setAge(String a)
    age=a;
    public void setSex(String a)
    sex=a;
    public void setAdd(String a)
    add=a;
    public void setOtherugqual(String a)
    otherugqual=a;
    public void setCcode(String a)
    ccode=a;
    public void setUgcourse(String a)
    ugcourse=a;
    public void setUgqual(String a)
    ugqual=a;
    public void setPer(String a)
    per=a;
    public void setIadd(String a)
    iadd=a;
    public String getName()
    return(name);
    public String getUname()
    return(uname);
    public String getPass()
    return(pass);
    public String getCpass()
    return(cpass);
    public String getAge()
    return(age);
    public String getCcode()
    return(ccode);
    public String getSex()
    return(sex);
    public String getAdd()
    return(add);
    public String getUgcourse()
    return(ugcourse);
    public String getUgqual()
    return(ugqual);
    public String getPer()
    return(per);
    public String getIadd()
    return(iadd);
    public String getOtherugqual()
    return(otherugqual);
    I initially thought the problem was with str but then str seems to be perfect and I get a string of the form �insert into reg values('c','c','c',98,'Male','c','B.Tech, Applied Artificial Neural Networks','HSC',9898,'h')� which I verified through a javascript debugger. The session scope used is to get values through the db bean from another jsp file. The problem is in the executeUpdate() line of this code. I even tried changing the updation table, but in vain. What could be done to rectify this? Please help me out and please do remember that I have no option but to use odbc.
    Thanks in advance.
    R. Yogaesh.

    I didn't verify the type of exception and i'm now going to do that, but then when the string is as perfect as needed, what is the need for a prepared statement? What is the basic difference between the two? And basically what is the problem with this piece of code which creates an exception? Please reply as soon as possible.
    Thankyou very much.
    R. Yogaesh.

  • How to Pass values from XML to JSP??? Urgent Please Help me

    Hi guys,
    I am new to XML, I want to pass values from XML to JSP. I have a xml file with attributes, I should send this values to a JSP file. How is it??? Please Help guys.... its very urgent. Please send me how to do it with an example or atleast any urls related that....
    Looking for ur favourable reply.
    Thanks in advance,
    Sridhar

    in a servlet :
    parse your xml file (see how at the end of the post) and
    put the values you want in the request attributes
    request.setAttribute("value1", value1);
    ...redirect to the jsp
    in the JSP:
    get the wanted attributes:
    String value1=(String)request.getAttribute("value1");To learn how to parse a xml file, pay a look at this page, it explains how to read the XML document to build an object representation, and then how to navigate through this object to get the data
    http://labe.felk.cvut.cz/~xfaigl/mep/xml/java-xml.htm

  • Severe Error when running sample jsp on Tomcat.. Please Help me!!

    I am trying to run a sample jsp that is provided in netbeans(5.5) on the bundled tomcat server (5.5.17) and i get the following error:
    SEVERE: Error initializing endpoint
    java.net.SocketException: Invalid argument: listen failed
    at java.net.PlainSocketImpl.socketListen(Native Method)
    at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:374)
    at java.net.ServerSocket.bind(ServerSocket.java:320)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:141)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
    at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
    I've been trying to figure out why i get this error for a few days now, could someone please help me..
    thanks :)

    What machine are you trying to run it under? Is it a machine with a firewall or strict network settings?

  • J2ME Polish 2.0.4 Installation Problem...please help !!

    Hello,
    I recently downloaded j2mepolish-2.0.4.jar on my Windows XP machine , and from commandline started the installation by typing the command :
    java -jar j2mepolish-2.0.4.jar However during the installation i get an error . I took a screenshot of the error window. You can see that at :
    [http://docs.google.com/View?docid=dck2kwq6_14f7ztxvgk|http://docs.google.com/View?docid=dck2kwq6_14f7ztxvgk]
    At the command line the errors are as follows :
    validated: path C:\Program_Files\J2ME-Polish is writable.
    java.lang.NullPointerException
            at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Sour
    ce)
            at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
            at java.io.ObjectInputStream.<init>(Unknown Source)
            at com.izforge.izpack.installer.Unpacker.run(Unpacker.java:109)
            at java.lang.Thread.run(Unknown Source)I have JDK 1.5.0,WTK2.5.2 ,apache-ant-1.7.1, Netbeans 6.0 installed.During installation of j2mepolish,wtk.home is set to C:\WTK2.5.2,nokia.home is C:\Nokia and netbeans.home is C:\Program Files\NetBeans 6.0. still im getting this error during installation .
    Any ideas for resolving this would be really appreciated.
    Please help.
    Thank You :)
    Edited by: sc0tta on Aug 29, 2008 11:07 AM

    My JDK version is 1.6.0_03, and the jre i was using was 1.5.0 . The problem was fixed after i upgraded my jre to 1.6.0_07 :)
    So, it looks like both jdk and jre have to be the same major version (1.6.0 in my case) for the installation to be successful.
    Edited by: sc0tta on Aug 29, 2008 2:47 PM

  • Itunes Installation Problems!! Please help!!!

    I recently bought an Ipod Nano, but it is not registering on my Itunes. I have tried to dowload Itunes 7 but everytime I do, it says there is an error with "Stopping Services." I have no idea what this means, or how to correct it. Can anybody please help me?

    Version 7.0.2.16
    okay. with that message on earlier versions (itunes 7.0.0.70 and 7.0.1.8), some folks had some success with pgfpdwife's technique in the following post:
    pgfpdwife: Re: Could not open key HKEYLOCALMACHINE\Software\Classic\Quicktime.Quicktime\
    note carefully that the technique involves a registry edit. be sure to make a backup of any keys you edit. if you're unfamiliar with your registry or registry editing, head to your XP help and support, do a search on registry, and read through the articles that come up.
    There are also some instructions on how to back up registry keys in the following document:
    Error 1406 or 1402 appears when you install iTunes or QuickTime for Windows
    is that of any help with your 7.0.2.16 version of this?

  • My Mac book is restarting frequently after installing few updates.It has started to bother me that why the system asked me to restart 4 times after the installation was done . PLease HELP

    Hi please help ,
    Certain updates were been installed  and then a restart was done to install the updates successfully in my MAc Book PRO .After restarting the sytem,  the system displayed a message for a restart  and it happened three times.Every time i Login in back , the message displayed on the  screen says " Your computer was restarted beacuse of a problem". I'm new to Mac and therefore could not understand the problem. It would be much appreciated if some one can answer or explain this activity to me .

    Take it to your local Apple Store or AASP, it's covered by a 1 year hardware warranty. If you have AppleCare then give them a call but I'm pretty sure they will advise the same. If you have not purchased AppleCare yet please do, this will extend the warranty to 3 years however it MUST be purchased within the first  year of ownership. Let it go 366 days and you are out of luck. AppleCare will also include telephone support too.
    Good luck.

  • After installation trouble with lightroom **please help me**

    When i installed lightroom (3.6 and 4) i keep getting this error message that says " unexpected error opening catalog" i can't use or open lightroom< it doesn't give me specific details as to why it's not working. I've tried to update my computer with the services packs that it says in the requirements section when you download and i keep getting an error that won't allow it to update. I've tired using microsoft fix it and system update readniness tool to help update. My laptop is a windows 7 home premium. please help me on to fix this problem

    Have you used it before?  It sounds like it's open a default - and corrupt - catalog.
    You can create a new one and start from scratch by holding down control as you start it.

  • Aceesing a particular jsp as the default page - Please help ASAP

    Hi,
              I want to access a particular jsp of mine as the default jsp.
              Say my jsp is located relative to the default web app root in this
              manner
              /security/jsp/mainMenu.jsp
              and currently I have to do -
              http://localhost:7001/security/jsp/mainMenu.jsp
              I want to be able to acces it either by
              http://localhost:7001/mainMenu.jsp
              or by
              http://localhost:7001/index.html
              or simply typing
              http://localhost:7001/
              as the url.
              What do I need to do in the web.xml file to be able to do this. If
              somebody could please let me know.
              Thanks,
              Sandeep
              

    ATIF_IQBAL wrote:
    Please suggest ASAP!!!
    Please don't flag your question as urgent, even if it is for you. Claiming urgency is very likely to be counter-productive: most forum regulars will simply ignore such messages as rude and selfish attempts to elicit immediate and special attention.
    Besides, unless a pack of rabid ninja spider monkeys is about to chase you over the edge of a cliff if you don't get an answer in fifteen seconds, your problem probably isn't as urgent as you think. :)
    * Post a subject line that describes the problem: Experts in your subject may skim right past subject lines like "Urgent" and "Need help ASAP". Use keywords about the technologies instead.
    -- From the [Java Forums FAQ|http://developers.sun.com/resources/forumsFAQ.html#Getting]

  • Bean in JSP is NOT WORKING. Please help

    Hi,
              Anyone who got java-beans working with WL JSP? I could not get even the
              hello bean to work. I am getting a error message saying somthing like
              "foo.bar.HelloBean.class is not a bean" .
              Is there any perticular reason for the abuse of not including java bean
              example in JSP examples?
              I will greatly appreciate any help in this direction.
              Thank you in advance
              -Harit
              

    If I had to guess based on the error message I would say you have incorrectly
              defined the class file.
              Remove the .class from the definition within the JSP.
              For instance,
              <jsp:useBean
              id="myHelloBean"
              scope="session"
              class="foo.bar.HelloBean">
              </jsp:useBean>
              Not class="foo.bar.HelloBean.class"
              Hope this helps.
              Harit Nanavati wrote:
              > Hi,
              > Anyone who got java-beans working with WL JSP? I could not get even the
              > hello bean to work. I am getting a error message saying somthing like
              > "foo.bar.HelloBean.class is not a bean" .
              > Is there any perticular reason for the abuse of not including java bean
              > example in JSP examples?
              > I will greatly appreciate any help in this direction.
              > Thank you in advance
              > -Harit
              

  • JSP/Servlet form processing problem - please help

    I'm using the apache.commons.fileupload library to process a form that will ultimately insert an image into an Oracle database. At the moment, I'm not even at the database stage although I have code to do it. I'm just trying to validate that all the form fields are filled out. A JSP page posts a form to a Servlet which then checks that each field contains something. If the field is null/empty, then I use a RequestDispatcher object to forward back to the JSP with the form on it.
    Here is the problem... If I intentionally leave the form empty then the Servlet does indeed send the user back to the JSP. However, if I then complete all fields in the form after being returned to the JSP and submit the form, I am forwarded back to the JSP rather than executing the next statement in the Servlet. It's as though once I have filled out the form the null entries are being retained and the new entries are being ignored.
    Can anyone help? Perhaps I am not understanding the request/response model properly as I am used to PHP programming?

    Can you double check? Suppose you just go to the JSP. Fill in all the fields as you did before. Submit the form. Does it go to the next statement in the servlet?

  • JSP with URLConnection or HttpsURLConnection, please help!

    Thanks in advance for looking at this post :)
    I have to develop an application. This application consists of a JSP form that collects credit card information. The form using a java bean to validate user input.
    Once the input has been validated I need to connect to a URL and transmit this collected data and receive a response from the remote server. My questions are:
    1. My plan of action is to write the java code required to connect to the URL and transmit the data within that java bean itself. Is this an acceptable way to handle it? OR should I make a separate bean for this, OR should I embed the code directly into the JSP?
    2. My server is set up with a secure certificate. I need to connect to URL using the https protocol. Do I use URLConnection or HttpsURLConnection? I already wrote the code using URLConnection, and I can connect and receive a response from the server. However the test I ran is just a system check (still connecting to https://). I am concerned about the security of data being transmitted via a URL Connection (obviously need to make sure this is encrypted going out as well as coming in since it will contain credit card info).
    I appreciate the response, I need to get this figured out asap.
    Thanks!

    By the way thanks for your input - sorry for the delay with the dukes... I got URLConnection working and from what I can tell all is good. Now posting to set a timeout feature on URLConnection:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=386270

  • Major installation problem: can someone please help?

    I bought a hp officejet 4215 all-in-one. I had isues from day one. In the end, the paper would never feed through properly, I always had to feed it manually. So finally they send me a replacement printer and I can't install it. Well actaully it doesn't install the main component. I get the following error message: The hard disk became full while installing the file "hp aio print"
    1008:23,-34 The disk is full. However, I've got 21 gigs of free space.
    I've spent over an hour on the phone with support. We've uninstalled and reinstalled, we've trashed all kinds of files and folders from the library directory and it just will not install this file, without which, the scan and copy features will not work. They tell me it's an issue with my hard drive but if so, why did it work okay with the original printer? The problem with the original printer was that it wouldn't feed paper properly. The fax, scan and copy features worked just fine. They say I need to contact Apple and have something done with the Twain data source manager, whatever that is. Does anyone have any ideas or suggestions?
    iMac G3   Mac OS X (10.3.9)  

    Okay guys, I figured it out myself. The installer was trying to install some components on my OS 9 partition when I got the disk full message. I freed up some HD space on the OS 9 partition and it installed just fine. Now why couldn't hp figure that out?

  • Oracle 9iAS Installation Issues, Win 2000

    Hi Folks,
    I'm trying to Install 9IAS on a WIN2000 PE.
    I already have Oracle NT Personal Edition (download nt817personal), up and running.
    My Question is do I need to use Oracle nt817ee (Enterprise Edition)
    Any suggestions ?
    Thanks

    I agree with your 5 P's, but Oracle is killing themselves by not improving the installation issues. Oracle is in a fight to the death with Microsoft, and there are a lot of people who give up on Oracle products because the learning curve is too steep just to be able to login as Scott. I have a lot of experience with Windows and Oracle, and have installed the RDBMS on probably 50 separate machines in the last several years, yet I still cringe when I double click setup.exe since I never know if universal installer is going to abort. I'm not a Unix or Linux guru, and I tried and tried to get Oracle RDBMS 8i to install on several flavors of Red Hat, but I gave up. DB2 and Interbase both installed without the hassles. Take a look at the Linux forum on Technet, and look at the effort that some people are doing to try to get it to work. It should not be this hard. I would like to use Linux/Oracle on some of our servers, but frankly it is too hard currently. You shouldn't need a metal link account to install software on a clean install of Windows, or be a guru at writing device drivers for Linux to install Oracle on that platform.

Maybe you are looking for

  • IMac 24' unexpectedly goes to sleep mode

    iMac 24' unexpectedly goes to sleep mode. CPU fan works on 3500rpm, CPU temperature 38'C.

  • Use of DIAdem IRIG106 plugin with PCM data

    I have a large Chapter 10 file (1.5GB) that I am opening with the IRIG106 plugin (version 1.1.0.5773) in DIAdem 2012.  Due to the file size I am actually "registering" the file, which displays the correct channel names and attributes in the Data Port

  • Windows 7 file location conventions and security

    Would someone be able to direct me to a source of information about coding programs to work "The Windows 7 Way"? I'm looking for information about file locations, security settings, etc. I know that user data should go somewhere in the %userprofile%

  • Report Painter objects

    Hello Friends Any Idea where to Get Report Painter Objects in SAP system, Thanks

  • Disabling NAC HA from service perfigo

    Hi, The primary CAM is no longer reachable by Web Console. An error appears while booting. The problem has occured after high availability activation. The error message is:- Starting perfigo: Starting High-Availability services: 2009/07/22_15:08:12 C