Configuration of tomcat v5

hey, im trying to configure tomcat with apache ant, jbuilder, jmeter,. it'll run on a single machine. can somebody tell me the step by step configuration, please... i really need this so i can finally finish my college. so please please help me... i tried to do it myself. i installed 4 intances of tomcat with jbuilder, unfortunately it does not work =( . thanks a lot.

Originally posted by: scott.anderson.genuitec.com
Jeff,
Thanks for the recommending MyEclipse. However, the URL was mildly
misstated. The correct one is http://www.myeclipseide.com.
--Scott
"Jeff Duska" <[email protected]> wrote in message
news:c6k01d$a78$[email protected]..
> John:
>
> When I had any problems with the Sysdeo Eclipse Tomcat plugin, it was
> because I was running the JRE and not JDK. This because Tomcat plugin
> needs access to the tools.jar. What you might try is to use the -vm
> opition and force Eclipse to use the JDK.
>
> I'd also suggest looking at the MyEclipseIDE, http://www.myeclipse.com.
>
> HTH,
>
> Jeff
>
> John MacIntyre wrote:
> > Hi,
> >
> > I am very new to Java, Eclipse, and Tomcat. And I'm having alot of
problems
> > with configuration.
> >
> > Java - j2sdk1.4.2_04
> > Tomcat - v5.0.19
> > Eclipse - v2.1.3
> > Sysdeo Eclipse Tomcat Launcher plugin - v2.2.1
> >
> > The plug in has an option for the Tomcat version in Preferences > Tomcat
>
> > Tomcat Version. Which to me implies it will work with Tomcat 5.
> >
> > When I try to start Tomcat from the plug in, I get a series of errors
> > with the following being the most suggestive (imho).
> > java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader
> >
> > So I installed "devloader.zip" into "TOMCAT_HOME/server/classes". The
> > readme for devloader.zip says it is only for Tomcat version 4. I decide
to
> > try it anyway; Tomcat starts successfully, but when I go to start the
> > servlet ... I get this:
> > ---------------------------------------
> > Exception occurred during launch
> > Reason:
> > Failed to connect to remote VM. Connection refused.
> > ---------------------------------------
> >
> > So ... can I run this with Tomcat 5? Should I uninstall Tomcat 5
(again)
> > and install v4 this time? Am I missing something completely obvious
that's
> > well documented and makes me look like a complete fool? ;-)
> >
> > Thanks in advance,
> > John
> >
> >
> >

Similar Messages

  • Problem in configuring Apache Tomcat Server

    Hi, I am facing problem in configuring Apache Tomcat server. I have downloaded its version 4.1.18 from the Internet. After unzipping and installing it, I have enabled the Root Context, enabled the Invoker Servlet, haven't changed the port to 80 from default 8080, have turned on the Servlet Reloading, have set the Java_Home variable in autoexec.bat, and have changed the DOS memory setting to 4096.
    Also, the concerned lines in my autoexec.bat file look like this:
    path c:\windows;c:\windows\command;c:\jdk1.2;c:\jsdk2.0;
    c:\JavaWebServer2.0;c:\jakarta-tomcat-4.1.18
    set java_home=c:\jdk1.2
    set tomcat_home-c:\jakarta-tomcat-4.1.18
    set classpath=.;c:\ServDevel;.;c:\jakarta-tomcat-4.1.18\common\lib\servlet.jar;.;c:\jsdk2.0\lib\servlet.jar;.;
    Still, after having done all this, when I start the server using startup.bat (which happens without any problems) and type in http://localhost:8080/ on the browser to test the server, nothing happens. It doesn't show me the Tomcat Welcome screen. I get an error page saying "This page is not available". Why? Where am I going wrong?
    Sushant

    1) Try http://127.0.0.1:8080
    2) set tomcat_home-c:\jakarta-tomcat-4.1.18
    Is the minus-sign after tomcat_home also in the autoexec.bat?
    Replace it with an equals-sign
    3) When you run startup.bat, is a new command window opened and are the following three lines displayed at the end? It should stay open, otherwise something is wrong (unless running as a service).
    INFO: Initializing Coyote HTTP/1.1 on port 8080
    Starting service Tomcat-Standalone
    Apache Tomcat/4.1.18

  • Jsf configuration on tomcat

    How do i configure tomcat to have my own jsf web application as the default startup application when i enter http://localhost:8080 ?
    Pleae help anyone

    You need to configure the context path of your application to be /. I don't use Tomcat but perhaps this will be enough to get you going.

  • Configuring apache & tomcat on seperate machines

    I need help to setup tomcat 3.2.1. and apache 1.3.20 on separate machines (Windows 95 & Windows NT)!! I am able to run them fine on one machine but am baffled with putting them on two separate machines.
    I would be most gratefull if anyone can provide me with the steps of configuration and show me examples with regards to the Apache httpd.conf & Tomcat mod_jk.conf files.
    Thanks

    Not sure how to solve your two machine setup, but as for the mapped network drive, mapped drives are profile specific. When you log into the machine all settings, mappings, desktop, etc. are restores. When you log off, all those things are gone.
    Apache on the other hand does not have it's own "profile", and is running as a service so it doesn't "know" of any mapped drives from it's point of view. Local drives are fine, the OS can see those at all levels.
    Correct me if I'm wrong anyone, but you could have Apache and Tomcat running on seperate machines as their own web service. And when ever you need to make a JSP/servlet call, just reference the Tomcat machine.
    Tomcat is currenly setup for port 8080, but I'm sure you can set it up to work off port 80 and have it "look" like a normal web server. The Apache server would just handle your static HTML pages.

  • Database configuration in Tomcat

    Can anyone tell me how to configure the database connection(SQL Server) in Tomcat? I got a "Can't create connection pool" error and not familiar with the setup issue. I would appreciate it if anyone can help me on this. J

    The standard Tomcat documentation is here:
    That should guide you through most of it.
    Tomcat 5: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    Tomcat 5.5 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html(remove any spaces that the forum might helpfully add in the above)
    What have you done so far?
    Can we see the full error message and part of the stack trace?
    Any messages in the log file?
    What driver are you using?
    What connection string?
    Do you have a SQL Server JDBC driver?
    Is the driver in your [TOMCAT]/common/lib directory?
    Cheers,
    evnafets

  • Problem in configuration of Tomcat

    Hi
    I downlaoded Tomcat 5.5.17 and unzip it in to the folder of
    c:\tomcat
    Then I set the JAVA_HOME varaible to c:\java\jdk.
    Then in context.xml I set it to true.
    Then in web.xml I remove the comment lines(invoker and mapping)
    Then I change my port from 8080 to 80.
    Then I start the server by using startup command.No Problem starts well.
    Then I chech with the follwing
    http://localhost:80
    But I have the following error.
    HTTP Status 404 - /
    type Status report
    message /
    description The requested resource (/) is not available.
    Apache Tomcat/5.5.17
    will anybody please help me to know what is my error and the way to solve.
    Thank you so much

    On 2012.02.08 1:19, Marco Cavallo wrote:
    > Hi eclipsians! :d i'm an italian boy and I'm just interesting in
    > programming java with eclipse! i've a problem with the configuration of
    > eclipse with tomcat....in that section of the forum can I post my
    > "problem"?
    >
    > thank you :d
    That forum would be the Eclipse web tools forum.

  • Configuration of Tomcat

    HI!
              I have to configure Tomcat.
              I need Tomcat compile not jsp pages (with different extension) like if
              they were jsp pages.
              any hint?
              Thanks in advance!
              

    http://jakarta.apache.org/tomcat/index.html
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              Tangosol: How Weblogic applications are customized
              "Luigi" <[email protected]> wrote in message
              news:[email protected]..
              > HI!
              >
              > I have to configure Tomcat.
              >
              > I need Tomcat compile not jsp pages (with different extension) like if
              > they were jsp pages.
              >
              > any hint?
              >
              >
              > Thanks in advance!
              

  • How WML and JSP can be configured in Tomcat 4.0 just as HTML and JSP

    hello all of my friends!
    Currently i am working on wap development but i cant find any thing to run my application, i am using Tomcat 4.0 can u plx help me and tell me how can i run Wml in tomcat( what configurations are required?) the application will work just as html-------JSP-Webserver.......ThankYou.

    You can work just like you did with html, but replace your content with wml-tags. I usually check for the accept-header in the http-reqest, to separate wap-users from web-useres:
    if(request.getHeader("accept").indexOf("text/vnd.wap.wml")>=0){
       response.setContentType("text/vnd.wap.wml");
    <xml version=1.0 DOCTYPE .........>
    <wml>
       <card ..>
    </wml>Also, your webserver must support this mimetype. Tomcat 4 has that, but to be sure, check in server.xml, it holds a long list of mime-associations.
    good luck

  • Configuration with Tomcat, Firewall and WLS 5.1

    Hi all,
              I have been reading the cluster documentation for WLS 5.1, but I can't
              find any information about a cofiguration which looks like (Top of list
              is the 'front'):
              Router
              (Some kind of load balancer)
              Cluster of Apache and Tomcat servers
              Firewall
              Cluster of WLS 5.1 servers
              Database
              To me it looks like all the configurations in the documentation use WLS
              to handle dynamic content (Servlets/Jsp).
              We will use Tomcat as Servlet/Jsp runner, and or not interested in using
              WLS for such things...
              WLS will be used as an EJB container, and we aren't using any statefull
              beans.
              So I have a few questions regarding the configuration above:
              1. Do we need to run the proxy plug-in in the web layer?
              2. Can we have a firewall between the web layer and the WLS cluster?
              3. How should the JSP pages choose a WLS server? Should we write some
              kind of proxy plug-in for Tomcat?
              Best regards
              /Kaj
              ~~~~~~~~~ ~~~~ ~~~ ~~ ~ ~ ~ ~
              [email protected]
              +46 70 4200148
              

    Router          > (Some kind of load balancer)
              > Cluster of Apache and Tomcat servers
              > Firewall
              > Cluster of WLS 5.1 servers
              > Database
              I've seen:
              Router
              Firewall
              (Some kind of load balancer)
              Group of Apache proxies
              Cluster of WLS 5.1 servers
              Database
              > To me it looks like all the configurations in the documentation use WLS
              > to handle dynamic content (Servlets/Jsp).
              > We will use Tomcat as Servlet/Jsp runner, and or not interested in using
              > WLS for such things...
              > WLS will be used as an EJB container, and we aren't using any statefull
              > beans.
              That's possible. I'd suggest anything but Tomcat though ... it's slow as
              mud. Check out Caucho Resin.
              > 1. Do we need to run the proxy plug-in in the web layer?
              No. The proxy is for proxying Http requests. Instead you will be looking
              up EJBs and getting cluster-aware stubs from Weblogic.
              > 2. Can we have a firewall between the web layer and the WLS cluster?
              Yes. But that means that there will be some way for systems other than your
              JSP/Servlet servers from accessing your EJBs. (Remember, if your
              JSP/Servlet servers have a way to poke through the firewall, then
              theoretically so does everyone else.)
              Instead, consider a simple port forwarding system. Close everything but 80
              and 443 and forward those to your load balancers and then on to your
              Apaches. To have redundancy on your firewalls, reverse the order of load
              balancer and firewall.
              > 3. How should the JSP pages choose a WLS server? Should we write some
              > kind of proxy plug-in for Tomcat?
              I believe that is the job of the cluster-aware EJB home stub.
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "Kaj Bjurman" <[email protected]> wrote in message
              news:[email protected]...
              > Hi all,
              >
              

  • Ssl configuration in tomcat

    hi everyone... i hope anyone can help me in this problem
    i 've installed Apache Tomcat 4.1.12LE
    and j2sdk1.4.1 .Yesterday i tried configuring SSL in tomcat for my login page.
    so i followed the steps provided in the documentation. the documentation said choose
    JSSE an installed extension by copying all three JAR files (jcert.jar, jnet.jar, and
    jsse.jar) into your JAVA_HOME\jre\lib\ext directory but i could only find the jsse.jar
    file so i copyied jsse.jar file to JAVA_HOME\jre\lib\ext after that i did the keytool
    configuration from C:\j2sdk1.4.1 during keytool process i created my own password.
    after that i removed the comments in the server.xml like shown below,
    and added the keystore password with my own..password
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0" scheme="https" secure="true"
    useURIValidationHack="false">
    <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS" keystorePass="mypassword" />
    i restarted tomcat and typed https://localhost:8443/ and it displayed The page cannot
    be displayed.. so my question is where did i go wrong and what should i do next...

    <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS" keystorePass="mypassword" />
    You did not specify the keystore file location.

  • How to set up port configurations under Tomcat

    Hi Friends,
    I want to run 3 different jsp/servlets applications on a single Tomcat instance installed on my system.I want all of them to listen to different ports say for eg. 3000,3005 and 3010.So can someone pls tell me what changes I need to make in the Tomcat's server.xml.
    Thanks

    I THINK you can to do this by defining multiple <connector> properties.
    I THINK it is possible to have multiple <connector>'s as long as they are all on different ports.
    Post back if you are able to do this, I would be interested to see if it can be done.

  • Right way to configure Tomcat JDBC resource for MaxDB

    Hi,
    i need to configure one tomcat server with a pool of connections for a MaxDB instance with follow database parameters:
    MAXUSERTASKS=150
    SESSION_TIMEOUT=60
    i do this configuration on tomcat:
    <Resource name="jdbc/myApp"
                    auth="Container"
                    type="javax.sql.DataSource"
                    username="DBUSER"
                    password="secret"
                    driverClassName="com.sap.dbtech.jdbc.DriverSapDB"
                    url="jdbc:sapdb://dbserver/DBNAME"
                    maxActive="150"
                    maxIdle="75"
                    validationQuery="SELECT NOW() FROM DBA.DUAL"/>
    is this the right way? there is a way to check if the pool is working at database side? at java side i checked that the javax.sql.DataSource.loginTimeout is Unavailable, then what is the better way to avoid errors like:
    2008-06-02 13:54:36  2165 WNG 11824 COMMUNIC Releasing  T187 command timeout
    i think that this problem occurs because the SESSION_TIMEOUT is 60, and the loginTimeout is Unavailable at javax.sql.DataSource then the DBCP of tomcat dont know when need to revalidate the session.
    thanks for any help.
    Clóvis

    Hi Clovis,
    to be honest, I'm no Tomcat expert at all. All I can do is read the documentation.
    The error message you posted was about an timeout due to a too long idle session.
    From the changes in your connection pool setup I cannot see any parameter that would influence this.
    Instead - as already written - you may either want to change the session timeout in general, for the user or (by adding some connection parameters) for the sessions.
    Concerning the question on wether it's better to have many connections or just a few - well this depends on what the java tasks do with the sessions.
    The connection pool is used for saving resources on the database side and the time necessary to logon and create a session.
    So whenever any of the java tasks needs a db connections it should "just get one" from the pool.
    When you have "high load" (by the way what exactly does that mean? High CPU usage on the J2EE server? Huge transaction volume? Many parallel transactions?) this does not change.
    Anyhow you have to be aware of the fact that the database can only process as many SQL requests in parallel as there are user kernel threads (UKTs) and each of the UKTs need to be able to run on a seperate CPU core. Therefore if it's necessary to have real parallel SQL activity many connections may not be the best idea.
    On the other hand this requirement is seldom necessary - most often sessions can wait a bit until they get the reply from the database and synchronize on each other later on. At least that's how we do it with NetWeaver.
    KR Lars

  • How to configure SSL in tomcat and transfer data through HTTPS.

    Hi all,
    I hav an urgent requirement for transfering data through HTTPS.But hav no idea how to achieve that,using SSL.
    For that i have to configure tomcat.What and all i hav to do
    download and which and all files i hav to alter for configuring the tomcat.
    seeking for ur help,
    thank you

    Multi-posted.
    http://forum.java.sun.com/thread.jspa?threadID=591116&messageID=3079266#3079266
    http://forum.java.sun.com/thread.jspa?threadID=591062&messageID=3078566#3078566
    http://forum.java.sun.com/thread.jspa?threadID=590987&messageID=3077736#3077736

  • Configure SSL for Tomcat 6x with clientAuth="true"

    Hi,
    I have configured my tomcat server with SSL. The certificate I am using is created by keytool.
    Its working fine when clientAuth="false".
    But now I want to check client certificate too. So I changed clientAuth="true" and provided a client certificate too.
    Now this is not working.
    Please some body help me solve it.
    Thnx in advnc.

    Try a forum/mailinglist devoted to Tomcat. There's one at its own homepage.
    This is just the JSP/JSTL forum.

  • Configure SSL for Tomcat 6x

    Hi,
    I have configured my tomcat server with SSL. The certificate I am using is created by keytool.
    Its working fine when clientAuth="false".
    But now I want to check client certificate too. So I changed clientAuth="true" and provided a client certificate too.
    Now this is not working.
    Please some body help me solve it.
    Thnx in advnc.

    Try a forum/mailinglist devoted to Tomcat. There's one at its own homepage.
    This is just the JSP/JSTL forum.

Maybe you are looking for

  • RSAR2318 : IDoc type for source system T90CLNT090 is not available

    Hi all, I am working on BI + ECC 6.0. Have created a ODS object using RSA1OLD. While activating the ODS, am getting this error: 1. Error: R7I028 Object could not be activated 2. Error: RSAR238 IDoc type for source system T90CLNT090 is not available E

  • IMac to iPad?

    file://localhost/Volumes/GENTLE_VINYASA/ Can I load a DVD to my iMac24 and then, somehow, get it onto my iPad2?

  • How do i run a vi on a remote computer in a network

    on one computer(using Labview 6i)i have a vi that acquires data from "lab-pc+" board.now i want to run this vi on another computer(using labview 6i) in the network,but this computer does not have the "lab-pc+" board.how do i do this thanks shri

  • I can't send email after OS 5 upgrade. I use att / yahoo

    I upgraded to OS 5. Emails will not go through when I try to send them. I've tried uninstalling and reinstalling. I've triple checked passwords. Any Ideas. I'm using my att email account serviced by yahoo.

  • Extended Content type problem

    Extended Content type problem I want to extend the content type 'ExtendDocument' from 'Document'. So I use 'Oracle Internet File System Manager' to create a new Class Object named 'EXTENDDOCUMENT', which is extend from 'DOCUMENT', and add a attribute