Tomcat 5.0 install

I'm trying to start Tomcat 5.0, but I get the following:
[mrickert@xxxxxxxxxxxxxxxx bin]$ ls
bootstrap.jar
catalina.50.bat
catalina.50.sh
catalina.bat
catalina.sh
catalina.xml
commons-daemon.jar
commons-launcher.jar
commons-logging-api.jar
cpappend.bat
digest.bat
digest.sh
jmx.jar
jsvc.tar.gz
LauncherBootstrap.class
launcher.properties
service.bat
setclasspath.bat
setclasspath.sh
shutdown.bat
shutdown.sh
shutdown-using-launcher.bat
shutdown-using-launcher.sh
startup.bat
startup.sh
startup-using-launcher.bat
startup-using-launcher.sh
tomcat5.exe
tomcat5w.exe
tool-wrapper.bat
tool-wrapper.sh
tool-wrapper-using-launcher.bat
tool-wrapper-using-launcher.sh
version.bat
version.sh
[mrickert@xxxxxxxxxxxxxxxx bin]$ startup.sh
bash: startup.sh: command not found
[mrickert@xxxxxxxxxxxxxxxx bin]$
this seem weird to anyone?? I don't know why I can't run this script. This may not be the place to ask this question but since it's related to Tomcat and Java I figured I'd try.
Thanks in advance,
MaTT

OK, that worked, but now I get:
The JAVA_HOME environment variable is not defined
This environment variable is needed to run this program
Sorry, this is so simple to most but I'm just completly lost.

Similar Messages

  • [svn:bz-trunk] 15533: Back out some local changes to tomcat-users. xml and tomcat-users.xml. install I inadvertently checked in when upgrading ActiveMQ on BlazeDS/trunk .

    Revision: 15533
    Revision: 15533
    Author:   [email protected]
    Date:     2010-04-17 04:20:11 -0700 (Sat, 17 Apr 2010)
    Log Message:
    Back out some local changes to tomcat-users.xml and tomcat-users.xml.install I inadvertently checked in when upgrading ActiveMQ on BlazeDS/trunk.
    Modified Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/tomcat-users.xml
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/tomcat-users.xml.install

    i will not read all that!!!! Format it! Lots of useless information commented.
    java.net.SocketException: java.net.ConnectException: Connection timed out: connect
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
    Tells me you have a connection error on Mysql. Quick search show me this:
    <Resource name="jdbc/passport" auth="Container"
    type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://258.1.54.134:3306/xmnext_passport"
    username="dda" password="zhoussda" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    Can you connect to the server using thos setting with a mysql client in the server?

  • Deploying servlet on Tomcat using "ant install" not working. Please help.

    Hello. Normally I can find answers by using search, but I can't today for some reason. So please bare with me if this has been mentioned before. I will try to provide as much info as possible so that helping me isn't too much a chore. Thank you.
    I have downloaded and installed the JWSDP 1.3. and Tomcat is running. I am also using Ant 1.5.4 (previous installation - not one included with JWSDP) and modeled my build.xml file after the template provided here:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt.
    When I run ant on my respository, everything builds fine. But when I run Ant with the install target, I get the following error:
    BUILD FAILED
    file:C:/owl/build.xml:366: java.io.IOException: Server returned HTTP response co
    de: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fowl&war=file%3A%2F
    %2FC%3A%5Cowl%2Fbuild
    Here is line 366 build.xml:
    localWar="file://${build.home}"/>
    ...which is included in this block for the target "install":
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    When I point my brower to the url located in the error verbose, I get the following:
    FAIL - Encountered exception java.lang.NullPointerException
    I am trying to get my environment set up correctly before I start spending time developing servlets, but I am getting tempted to just develop to servlets and "manually" installing/deploying them either by copying and pasting or by using the Tomcat manager. I would really like to do everything from Ant though if possible. Please help.

    I don't think this is at all correct:
    localWar="file://${build.home}"/>You've got to create a real WAR file - a JAR file with WEB-INF and all its minions inside it:
    http://access1.sun.com/techarticles/simple.WAR.html
    That's the file you need to refer to there. You can manage that with Ant too, of course.
    Here's what my Ant build.xml looks like for Web apps (there's a build-web.properties file that follows):
    build-web.xml
    <project name="Tomcat Build Tasks" default="clean" basedir=".">
        <target name="init-props">
            <tstamp>
                <format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" />
            </tstamp>
            <filterset id="ant.filters">
                <filter token="DATE" value="${TODAY}" />
                <filter token="TIME" value="${TSTAMP}" />
            </filterset>
            <!-- Load in all the settings in the properties file -->
            <property file="build.properties" />
            <!-- Load in all Tomcat settings in the properties file -->
            <property file="build-web.properties" />
        </target>
        <target name="prepare" depends="init-props">
            <mkdir dir="${war.classes}"/>
            <mkdir dir="${war.lib}"/>       
            <mkdir dir="${manifest}" />
        </target>
        <target name="clean" depends="init-props" description="clean up temporary files">
            <delete file="${project}.war" />   
            <delete dir="${war.root}"/>
            <delete dir="${manifest}" />
        </target>
        <target name="set-tomcat-classpath" depends="prepare">
            <path id="tomcat.class.path">                  
                <fileset dir="${tomcat.home}/bin">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/shared/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/common/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/server/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${ant.home}/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
            </path>              
        </target>
        <target name="create" depends="set-tomcat-classpath" description="create the war file">
            <!-- All files at root level -->       
            <!-- Temporarily put the JSPs at root until you figure this out -->
            <copy todir="${war.root}">
                <fileset dir="${src.jsp}"/>
            </copy>
    <!--
            <copy todir="${war.root}">
                <fileset dir="${src.html}" includes="*.html"/>
            </copy>
    -->
            <copy todir="${war.root}/css">
                <fileset dir="${src.css}"/>
            </copy>
            <copy todir="${war.root}/images">
                <fileset dir="${src.images}"/>
            </copy>
            <copy todir="${war.root}/js">
                <fileset dir="${src.js}"/>
            </copy>
            <!-- All files at the WEB-INF level and below -->       
            <copy todir="${war.web}">
                <fileset dir="${src.etc}" includes="web.xml"/>
            </copy>
            <!-- All files in the CLASSPATH lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${src.lib}" includes="**/*.jar" excludes="**/*-tests.jar, **/junit.jar"/>
            </copy>
            <!-- Put the dispatcher XML in WEB-INF/config -->
            <copy todir="${war.web}/config">
                <fileset dir="${src.etc}" includes="${project}-config.xml"/>
            </copy>
            <!-- Put XSL stylesheets in WEB-INF/xsl -->
            <copy todir="${war.web}/xsl">
                <fileset dir="${src.xsl}" includes="**/*.xsl"/>
            </copy>
            <!-- Put the project JAR file in WEB-INF/lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${deploy}" includes="**/${project}.jar"/>
            </copy>
            <!-- Create the manifest -->
            <buildnumber />
            <manifest file="${manifest}/manifest.mf">
                <attribute name="Implementation-Title"      value="${project}" />
                <attribute name="Built-By"                  value="${user.name}"/>
                <attribute name="Build-Date"                value="${TODAY}" />
                <attribute name="Major-Version"             value="${major}" />
                <attribute name="Minor-Version"             value="${minor}" />
                <attribute name="Build-Number"              value="${build.number}" />
            </manifest>
            <!-- Create the WAR file -->
            <jar jarfile="${project}.war"
                 manifest="${manifest}/manifest.mf">
                <fileset dir="${war.root}"/>
                <metainf dir="${src.etc}" includes="context.xml"/>
            </jar>
        </target>
        <target name="create-tomcat-admin-tasks" depends="set-tomcat-classpath">
    <!--
            <pathconvert targetos="windows" refid="tomcat.class.path" property="converted.class.path" />
            <echo message="CLASSPATH: ${converted.class.path}" />
    -->       
            <taskdef name="install"     classname="org.apache.catalina.ant.InstallTask"     classpath="tomcat.class.path"/>
            <taskdef name="remove"      classname="org.apache.catalina.ant.RemoveTask"      classpath="tomcat.class.path"/>       
            <taskdef name="reload"      classname="org.apache.catalina.ant.ReloadTask"      classpath="tomcat.class.path"/>
            <taskdef name="deploy"      classname="org.apache.catalina.ant.DeployTask"      classpath="tomcat.class.path"/>       
            <taskdef name="undeploy"    classname="org.apache.catalina.ant.UndeployTask"    classpath="tomcat.class.path"/>       
            <taskdef name="start"       classname="org.apache.catalina.ant.StartTask"       classpath="tomcat.class.path"/>       
            <taskdef name="stop"        classname="org.apache.catalina.ant.StopTask"        classpath="tomcat.class.path"/>       
            <taskdef name="list"        classname="org.apache.catalina.ant.ListTask"        classpath="tomcat.class.path"/>       
            <taskdef name="resources"   classname="org.apache.catalina.ant.ResourcesTask"   classpath="tomcat.class.path"/>       
            <taskdef name="roles"       classname="org.apache.catalina.ant.RolesTask"       classpath="tomcat.class.path"/>
        </target>
        <target name="install" depends="create-tomcat-admin-tasks" description="install the war file on Tomcat">
            <install    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="remove" depends="create-tomcat-admin-tasks" description="remove the war file on Tomcat">
            <remove     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="reload" depends="create-tomcat-admin-tasks" description="reload the war file on Tomcat">
            <reload     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="deploy" depends="create-tomcat-admin-tasks" description="deploy the war file on Tomcat">
            <deploy    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="undeploy" depends="create-tomcat-admin-tasks" description="undeploy the war file on Tomcat">
            <undeploy   url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="start" depends="create-tomcat-admin-tasks" description="start an application on Tomcat">
            <start      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"/>
        </target>
        <target name="stop" depends="create-tomcat-admin-tasks" description="stop an application on Tomcat">
            <stop       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="list" depends="create-tomcat-admin-tasks" description="list all applications running on Tomcat">
            <list       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="resources" depends="create-tomcat-admin-tasks" description="list all resources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="data-sources" depends="create-tomcat-admin-tasks" description="list all data sources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        type="javax.sql.DataSource"/>
        </target>
        <target name="roles" depends="create-tomcat-admin-tasks" description="list all user roles on Tomcat">
            <roles      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
    </project>
    build.properties
    # Properties file for setting up an Ant build.xml
    # Project specific items that change each time
    project=api-prototype
    major=1
    minor=0
    version=${major}.${minor}
    jar.name=${project}
    versiondate=${TODAY}
    # Directory structure (these should never change)
    bin=bin
    deploy=deploy
    doc=doc
    manifest=META-INF
    xml=xml
    # Everything under src should come out of a repository
    src=src
    src.bin=${src}/bin
    src.config=${src}/config
    src.data=${src}/data
    src.dtd=${src}/dtd
    src.java=${src}/java
    src.lib=${src}/lib
    src.profile=${src}/profile
    src.properties=${src}/properties
    src.schema=${src}/schema
    src.sql=${src}/sql
    src.templates=${src}/templates
    src.testdata=${src}/testdata
    src.xml=${src}/xml
    src.xsl=${src}/xsl
    # These are created and deleted by Ant each time
    javadocs=javadocs
    reports=reports
    output=output
    output.classes=${output}/classes
    output.lib=${output}/lib
    # Required for proper use of XDoclet
    xdoclet.home = C:/Tools/xdoclet-1.2b3
    build-web.properties
    war.root=war-root
    war.pages=${war.root}/pages
    war.web=${war.root}/WEB-INF
    war.classes=${war.web}/classes
    war.css=${war.web}/css
    war.js=${war.web}/js
    war.lib=${war.web}/lib
    war.tld=${war.web}/tld
    # Properties needed by Tomcat tasks
    ant.home =
    tomcat.home         =
    tomcat.manager.url  = http://localhost:8080/manager
    tomcat.username     =
    tomcat.password     = MOD

  • Tomcat dead after install of SP 1

    Hello,
    I installed webaccess on my server (SLES 11 SP3).
    During the install script I noticed some trouble with tomcat and right,
    after install tomcat reports "dead"
    rcnovell-tomcat6 start brings the message
    "lock file found but no process running for pid xxx, continuing .... done"
    But a status afterwards states "dead" again.
    I found this thread [1].
    Following the discussion I checked catalina.out and there is no entry
    with "Deploying Groupwise webaccess version 14.0.1"
    This thread ends how so often in open state :-((
    On same machine is out calendar publishing host, may be, it´s also affected.
    Where can I search?
    Gotthard
    [1]
    https://forums.novell.com/showthread...-to-Web-Access
    Gotthard Anger
    Anwenderbetreuung Netzwerkadministration
    Landeskirchenamt der EKM
    [email protected]
    http://forums.novell.com/member.php?u=35038

    Originally Posted by gotthardanger
    Am 31.08.2014 18:58, schrieb Gotthard Anger:
    > Hello,
    >
    > I installed webaccess on my server (SLES 11 SP3).
    EDIT:
    a) I updated webaccess from 14.0.0 to 14.0.1
    b) system is OES 11 SP2
    Go
    Gotthard Anger
    Anwenderbetreuung Netzwerkadministration
    Landeskirchenamt der EKM
    [email protected]
    http://forums.novell.com/member.php?u=35038
    Did you see this TID: http://www.novell.com/support/kb/doc.php?id=7015536
    Thomas

  • Tomcat as service : install path with spaces

    I'm trying to install tomcat as service
    but when I choose an install path with spaces
    I mean smthing like "c:\program files\tomcat"
    it doesn't work
    I tried to modify the wrapper.properties file
    with "" but it doesn't work
    I even set the parameter wrapper.cmd_line with
    a command line that works when launched for CMD
    but the service doesn't start
    any idea????

    I found it ! (hope it helps)
    wrapper.properties that works with spaces in the name
    of the java directory and the tomcat directory
    # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $
    # $Revision: 1.2.2.1 $
    # $Date: 2000/10/16 01:59:22 $
    # jk_service.properties - a bootstrup file for the Tomcat NT service.
    # This file provides jk_nt_service with the needed information to
    # start tomcat at a different process.
    # As a general note, the characters $( and ) are used internally to define
    # macros. Do not use them!!!
    # Whenever you see a set of lines such as:
    # x=value
    # y=$(x)\something
    # the final value for y will be value\something
    # Normaly all you will need to modify is the first two properties, i.e.
    # wrapper.tomcat_home and wrapper.java_home. Most of the configuration
    # is derived from these two.
    # wrapper.tomcat_home should point to the location where you
    # installed tomcat. This is where you have your conf, webapps and lib
    # directories.
    wrapper.tomcat_home=C:\Program Files\tomcat-3.2.1
    # wrapper.java_home should point to your Java installation. Normally
    # you should have a bin and lib directories beneath it.
    wrapper.java_home=C:\Program Files\JavaSoft\JRE\1.3
    #------ ADVANCED MODE ------------------------------------------------
    # Make sure that you read the how-to before making too many changes.
    # Defining where the service is going to put the standard
    # output of Tomcat. This is where System.out.println and
    # System.err.println goes to.
    wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
    wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
    # Additions to the path. put here directories where you store DLLs for
    # native methods etc.
    wrapper.ld_path=d:\
    wrapper.ld_path=c:\
    # Defining the classpath. All the rows that belongs to the class_path
    # property are concatenated to create the classpath for Tomcat.
    # If you have additional locations that you would like to add to the
    # claspath you should add a new wrapper.class_path=<location> line.
    wrapper.class_path="$(wrapper.tomcat_home)\classes"
    wrapper.class_path="$(wrapper.tomcat_home)\lib\jaxp.jar"
    wrapper.class_path="$(wrapper.tomcat_home)\lib\parser.jar"
    wrapper.class_path="$(wrapper.tomcat_home)\lib\webserver.jar"
    wrapper.class_path="$(wrapper.tomcat_home)\lib\servlet.jar"
    wrapper.class_path="$(wrapper.tomcat_home)\lib\jasper.jar"
    # This is where Javac is located in JDK1.2.x
    wrapper.class_path="$(wrapper.java_home)\lib\tools.jar"
    # and a tribute to JDK1.1.x
    wrapper.class_path="$(wrapper.java_home)\lib\classes.zip"
    # This is the Java interpreter used for running Tomcat
    wrapper.javabin=$(wrapper.java_home)\bin\java.exe
    # This is Tomcat's startup class (the class that contains Tomcat's
    # starting point.
    wrapper.startup_class=org.apache.tomcat.startup.Tomcat
    # This is the location where tomcat's server.xml configuration file
    # is located.
    wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
    # The NT service uses AJP12/AJP13 to shutdown Tomcat. The
    # wrapper.shutdown_port tells the service the identity of the port that
    # is used by AJP12/AJP13.
    wrapper.shutdown_port=8007
    # Can either be ajp12 or ajp13 depending on your configuration.
    # Default value is ajp12
    wrapper.shutdown_protocol=ajp12
    # This is the command line that is used to start Tomcat. You can add extra
    # parameters to it but you can not remove anything.
    wrapper.cmd_line="$(wrapper.javabin)" -classpath $(wrapper.class_path) $(wrapper.startup_class) -config "$(wrapper.server_xml)" -home "$(wrapper.tomcat_home)"

  • Tomcat ERROR when installing BIPublisher

    Hi,
    During installation and trying to login to the "Oracle BI Publisher Enterprise", i tried to log in using the user/password: admin/admin but it shows this error:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: com/phaos/crypto/CipherException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    root cause
    javax.servlet.ServletException: com/phaos/crypto/CipherException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
         org.apache.jsp.login_jsp._jspService(login_jsp.java:499)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    root cause
    java.lang.NoClassDefFoundError: com/phaos/crypto/CipherException
         oracle.apps.xdo.servlet.security.SecurityHandler.getHandler(SecurityHandler.java:66)
         org.apache.jsp.login_jsp._jspService(login_jsp.java:190)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
    Why can't i log in?

    OP doesn't have to do anything other than follow the instructions in the installation guide.
    Ensure Tomact is correctly installed - you see that on the welcome page (and have an appropriate version of Java)
    Add in the manager/admin password/role as needed
    Deploy the XMLPwhatever WAR file, either with Tomcat running or not, works either way
    Copy the font files, also specified in the installation guide
    Etc.
    It works just like it says, no need to move other jar files around or go find missing jar files. If you have do that, you messed up the installation in one place/step or another. Start over.

  • Udate Tomcat Version and install it as a service

    Hi,
    I want to update in my Essbase Installation (Database: 6.5.3, Deployment Service 7.1.00, Tomcat 4.1.30) only the Tomcat Server to Version 4.1.37 and install it as a service.
    Is there a Installation Guide how to do this? I tried different things but it doesn't work!
    Thanks Marcus

    Here is a script we use. Note: The ARBORPATH must be set to the Essbase dlls in the eds subdirectory structure. This may be a problem if you have Essbase 6.5.3 server running on the same machine. There are some versions of Tomcat that allow you to set environment variables for use by the service; I believe Tomcat 5.5.23 is a good version for that. Tomcat 5.5.26 has a bug that truncates request streams at 8K and should not be used (https://issues.apache.org/bugzilla/show_bug.cgi?id=44494)
    Script below:
    @REM Modified by Tim Tow, Applied OLAP, Inc. on 9.12.2005 to support running EDS within Tomcat with CSS.
    @REM This script will install Tomcat to support both the EDS and the ActiveOLAP servlets
    @REM running as a windows service. Note: the service that is installed is set to 'Automatic'
    @REM startup, the that startup doesn't take effect until you reboot. You may start the service
    @REM manually until you reboot.
    @REM change these parameters to fit your needs
    @SET SERVICE_NAME="Essbase Deployment Services"
    @SET HYPERION_HOME=C:\Hyperion
    @SET EDS_VERSION=7.1.3
    @SET EDS_HOME=%HYPERION_HOME%\eds\%EDS_VERSION%
    @SET EDS_LIB=%EDS_HOME%\lib
    @SET HYPERION_COMMON=%HYPERION_HOME%\common
    @SET JAVA_HOME=%HYPERION_COMMON%\JDK\Sun\1.4.2
    @SET CATALINA_HOME=%HYPERION_COMMON%\appServers\Tomcat\4.1.30
    @SET CATALINA_BASE=%EDS_HOME%\deployments\Tomcat\4.1.30
    @SET CATALINA_JARS=%CATALINA_HOME%\bin\bootstrap.jar;%CATALINA_HOME%\common\lib\servlet.jar
    @SET EDS_JARS=%EDS_HOME%\lib\ess_japi.jar;%EDS_HOME%\lib\ess_es_server.jar
    @SET J2EE_JARS=%EDS_HOME%\external\j2ee\activation.jar;%EDS_HOME%\external\j2ee\mail.jar
    @SET SQL_JARS=%EDS_HOME%\external\mysql-connector-java-3.0.8-stable-bin.jar
    @SET CSS_JARS=%EDS_HOME%\external\css\css-2_7_0.jar;%EDS_HOME%\external\css\jdom.jar;%EDS_HOME%\external\css\log4j-1.2.7.jar
    @SET MAXL_JARS=%EDS_HOME%\external\jmaxl.jar
    @SET START_MEMORY=64m
    @SET MAX_MEMORY=512m
    @REM don't change these
    @SET ARBORPATH=%EDS_HOME%\essbase
    @SET PATH=%ARBORPATH%\bin;%EDS_HOME%\bin;%EDS_HOME%;%JAVA_HOME%;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin\server;
    @SET TOMCAT_JVM="%JAVA_HOME%\jre\bin\client\jvm.dll"
    @SET TOMCAT_CLASSPATH=%CATALINA_JARS%;%EDS_JARS%;%J2EE_JARS%;%SQL_JARS%;%CSS_JARS%;%MAXL_JARS%
    @SET TOMCAT_ENDORSED=%CATALINA_HOME%\common\endorsed
    @SET TOMCAT_LOG=%CATALINA_HOME%\logs\stdout.log
    @SET TOMCAT_ERR_LOG=%CATALINA_HOME%\logs\stdout.log
    @ECHO.
    @ECHO Installing the %SERVICE_NAME% service...
    @ECHO.
    %CATALINA_HOME%\bin\tomcat.exe -install %SERVICE_NAME% %TOMCAT_JVM% -server -Xms%START_MEMORY% -Xmx%MAX_MEMORY% -Djava.class.path=%TOMCAT_CLASSPATH% -Djava.endorsed.dirs=%TOMCAT_ENDORSED% -Dcatalina.home=%CATALINA_HOME% -Dcatalina.base=%CATALINA_BASE% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %TOMCAT_LOG% -err %TOMCAT_ERR_LOG% -path %PATH%
    @ECHO.
    @ECHO.
    @ECHO This machine must have the ARBORPATH environment variable set to "%ARBORPATH%" for the service to function properly.
    @ECHO.
    @ECHO.
    @pause
    Tim Tow
    Applied OLAP, Inc

  • Can Apache Tomcat detect newly installed jdk/jre

    Hi
    I was using jdk1.4 and I uninstalled it and installed jdk1.5 but now Tomcat doesn't start, what do I need to change to make Tomcat detect the newly installed java or do I have to re-install Tomcat?

    I'm sure you need to change either some config
    parameter or your java_home variable.I've already changed the JAVA_HOME variable to the new java path

  • Webacc and apache/tomcat source code install

    hi all:
    im try GW2012+SLES11SP1,install webacc,im want custom install apache2.x and tomcat 6.x,im installed it,but how install webacc?install tip install apache's rpm and tomcat 's rpm,pls help me ,thanks.

    SeamanMei,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Install Tomcat on Vista, but wrong path

    Hi
    I am new to Tomcat 6, I installed jdk 5 on Vista, but the jre is 6.
    I set the JAVA_HOME : C:\Java\jdk5\bin (I changed the install folder name to be jdk5)
    PATH: C:\Java\jdk15\bin
    CLASSPATH: C:\Java\jdk15\bin
    CATALINA_HOME: C:\Tomcat
    When I run C:\Tomcat\bin\startup.bat, it said JAVA_HOME environment variable is not defined correctly. JAVA_HOME should point to JDK but not JRE.
    But the path did point to jdk as I install jre5 on C:\Java\jre5.
    Any idea?

    techissue2008 wrote:
    Hi
    I am new to Tomcat 6, I installed jdk 5 on Vista, but the jre is 6.Huh?
    I set the JAVA_HOME : C:\Java\jdk5\bin (I changed the install folder name to be jdk5)Wrong. Should be c:/Java/jdk5
    PATH: C:\Java\jdk15\binIf you can open a command shell, type "java -version" and get back something sensible, then this is correct.
    CLASSPATH: C:\Java\jdk15\binWrong. Delete this. Not needed or wanted.
    CATALINA_HOME: C:\TomcatIs that where you installed Tomcat?
    When I run C:\Tomcat\bin\startup.bat, it said JAVA_HOME environment variable is not defined correctly. JAVA_HOME should point to JDK but not JRE.
    But the path did point to jdk as I install jre5 on C:\Java\jre5.
    Any idea?Yes, your environment is screwed up. See if those fixes make it better.
    %

  • Can't start Tomcat after installing it

    In my laptop, I installed Tomcat and it installed fine, but, when I try to start Tomcat, it doesn't do anything.

    I get the following error message when I do Catalina run under tomcat's bin directory:
    C:\jakarta-tomcat-5.0.12>catalina run
    'catalina' is not recognized as an internal or external command,
    operable program or batch file.
    C:\jakarta-tomcat-5.0.12>cd bin
    C:\jakarta-tomcat-5.0.12\bin>catalina run
    Using CATALINA_BASE: C:\jakarta-tomcat-5.0.12
    Using CATALINA_HOME: C:\jakarta-tomcat-5.0.12\
    Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.12\temp
    Using JAVA_HOME: C:\j2sdk1.4.1_02
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    C:\jakarta-tomcat-5.0.12\bin>

  • How to  install PDK 6.0  within Tomcat ?

    I am a beginner.I read this in an article
    "Java developers who don't have immediate access to a full SAP Enterprise Portal (EP) implementation can also use the PDK to deploy and test their iViews"
    If this is true
    My question is : After downloading the PDK 6.0 (.epa)
    How do I install it within Tomcat?
    I installed it by dropping it in Tomcat's webapp dir,
    but it complained that it was not a .war file.
    I plan to use Eclipse to develop Java Iviews.
    I do not have access to EP or WAS
    Another developer wrote
    "To install PDK you should have EP installed in your WAS".
    Which of these comments is true?

    Hi Babbi,
    the EPA file is a Business package for a EP 6.0 portal.
    You use the import functionality to do that.
    Tomcat was used as a PDK WebServer for EP 5.0. It is not working with EP 6.0.
    If you want to have access to a WAS or EP (which runs on WAS) take a look to the Preview version here on SDN.
    It is free available and works for at least 90 days after installation. You should take a look to the requirements first before you download the whole package.... 
    Regards,
    Kai Unewisse

  • Netware 6.0 SP5 Apache/Tomcat

    I am setting up a New install Netware 6.0 server and have netware all patched up with sp5, & BM 3.7 patched up. This server will not be located in my office so I wanted to try to get the web app side up to date. I want to use Imanager to remotely check the health etc... I know this is an older version of Netware but this is a temporary replacement server and we should only be using this server for a year or 18 months max and we will no longer have a need for it. I say all that to ask how to upgrade Apache & Tomcat so I manager will work. I have EDIR 8.7.3 and the Novell JVM is at 1.4.2.04. The additional requirements for Imanager 2.01 are Tomcat 3.3, Tomcat 4 and Apache 1.3. Currently the server has Tomcat 3.3 installed and Apache 1.03. I can find a TID (10071533) on upgrading Tomcat 3.3 to Tomcat 4 on Netware 6.0 but cannot find the install file "Tomcat4.04b2", or any other variant. So do I need to get a newer version or what? I also need to update the Apache and cannot seem to find the correct files for that either. Any help would be greatly appreciated.

    On 05/03/2009 14:56, jpeteet wrote:
    > So there is nothing "special" I need to do for it to work on Novell
    > other than download it and do its setup? Thank you.
    Certainly with Apache it's a case of extracting the NLMs from the
    archive and then copying over the old ones.
    Personally I
    * download the update
    * extract to a directory on my local machine
    * rename the configuration files in the local copy to prevent actual
    configuration files on server being overwritten
    * make a copy of sys:\apache or sys:\apache2 (depending on which I'm
    updating)
    * copy the local copy over to the server, overwriting existing files
    (remember we've just renamed the config files)
    * restart Apache
    Hope this helps.
    Simon
    Do you work with Novell technologies within an academic environment?
    Your campus may benefit from joining the Novell Technology Transfer
    Partners (TTP) organisation. See www.novell.com/ttp for more info.

  • Jsp stops before jbo:DataScroller on Tomcat 4.1.18

    We are currently installing a web app for one of our customers and are having a few problems. Any help would be greatly appreciated. The app has been developed with JDeveloper 9.0.3 and I am attempting to get the war file we have deployed to work with Apache Tomcat version 4.1.18 and Java 2 SDK, SE v1.4.0_01
    The root of the problem I am having at the moment is that none of the jsp's with jbo:DataTable / jbo:DataScroller's on them are working on the Tomcat. They are working perfectly fine on the OC4J embedded server and I have used the same war file on a machine with Apache Tomcat v4.0.4 and the same version of Java 2 SDK and it works fine.
    When I request one of these jsp's what I get back is the contents of the page up to the DataScroller and at this point it appears to stop rendering. When I view source when the task bar says 'Done', the html stops abruptly just at the point it should have started dealing with the DataScroller ! No errors are displayed, just an empty space where the DataTable should be.
    In the Tomcat logs I have found the following jboException :
    Only one of the two parameters target or targetParam should be defined. I think this applies to the DataScroller but it doesn't make any sense to me !
    What does anyone think ? I uninstalled Tomcat 4.0.4 and Java 2 SDK from the machine I am working with and started again from scratch with Tomcat 4.1 so that Tomcat can be installed as an NT Service.
    I keep messing around with this but don't seem to be getting anywhere. The problem is as well, that one of my colleagues is installing this tomorrow ! Everything had been tested and was working fine until our customer requested today that they would like to run Tomcat as a service (which is a perfectly reasonable request in my opinion) so this is the point at which I started trying to get it running with version 4.1 (as a service).
    Tomcat 4.0.4 and 4.1.18 support the same standards of Servlets and JSP's as far as I am aware ? Could it be something to do with tag libraries ?
    Please can someone help, as my colleague will be with the customer again in about 7 hours !
    Thanks in advance for any help
    Regards,
    Joe Mellors

    By the way, the full call stack for the error I quoted is :
    StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Only one of the two parameters target or targetParam should be defined.
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:536)
    ----- Root Cause -----
    javax.servlet.ServletException: Only one of the two parameters target or targetParam should be defined.
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:530)
         at org.apache.jsp.dt_jsp._jspService(dt_jsp.java:161)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)

  • Eclipse and Tomcat questions

    Hi everyone,
    Lastnight I setup Eclipse to work with Tomcat, which works very good, but there are something I don't understand.
    1. My files are put in my workspace in (C:\Documents and Settings\...etc)
    How does Tomcat (which is installed in C:\Tomcat) know that it should get the files from my workspace directory?
    Because in the C:\Tomcat directory I can't find any .XML file that refers to my workspace directory.
    2. How I developed my servlets till now, I had some other free editor, I needed to compile my servlets then restart Tomcat and then test it.
    With Eclipse + Tomcat plugin, all I need to do save the servlet and apparently the source code is compiled automatically. All I need to do is refresh the servlet in my browsers (very handy and easy to develop like this). But my question is, does Eclipse compile the servlet automatically after saving? And why doesn't tomcat have to be restarted?
    Just a few questions to understand it a bit better, I'm really happy with this setup as it makes everything a lot easier.
    Regards,
    Steven.

    I believe you will need to become familiar with and install:
    http://www.eclipse.org/webtools/
    HTH
    Darins
    "raul" <[email protected]> wrote in message
    news:b894c367f9750f367a2e8336f8fe93b1$[email protected]..
    > Hi, I downloaded the latest version of eclipse 3.1 and I've installed
    > apache tomcat in mi PC.
    > Eclipse has a plugin : org.eclipse.tomcat_4.1.30.1
    > My problem is that I don't know how to use the tomcat server with eclipse.
    > I readed some tutorials and they say that I have to configure using menu
    > Window > Preferences and then I will see the tomcat option. But that
    > option doesn't appears or I couldn't see it.
    > Another tutorial say that I have to activate a plugin in the following
    > menu location: Window > Customize Perspective > Commands and select the
    > checkbox for tomcat , but that option doesn't appears either.
    > What can I do, I want to use eclipse and tomcat together...
    > Can someone help me with this questions?
    >
    > Thanks so much.
    > Raul Torres
    >
    >
    >

Maybe you are looking for