Setting up Apache Tomcat - information in Wiki do not work!

Hello there,
I wanted to install Apache Tomcat on my Webserver, but was not able to follow the wiki entry in http://wiki.archlinux.org/index.php/Tomcat_and_Apache.
Installing Tomcat via pacman was not a problem. Then, the first problem came up:
Edit /etc/conf.d/tomcat. Change CATALINA_USER to some user that suites your system (like "nobody")
My default /etc/conf.d/tomcat looks like this:
# Arguments for catalina
#CATALINA_OPTS=
There is no CATALINA_USER entry. Adding one didn't help anything.
modprobe capability gives me
FATAL: Module capability not found.
and trying to start tomcat with /etc/rc.d/tomcat start tells me
:: Starting Tomcat [BUSY] 06/03/2010 14:04:13 31786 jsvc error: Cannot locate Java Home
[FAIL]
Ok. Adding JAVA_HOME to /etc/conf.d/tomcat and setting it to /opt/java (which is my Java home) did even take no effect.
What am I doing wrong, how can I get it to run?
Thanks in Advance,
beachcoder

The package 'openjdk' installs to /usr/lib/jvm/java-6-openjdk
but the package 'jdk' installs to /opt/java
This is a problem, as the wiki is written assuming jdk (rather than openjdk) really, they should install to the same place to avoid confusion (and both openjdk and jdk conflict, so you can't install them both at the same time)
If you're using openjdk, replace $JAVA_HOME in /etc/rc.d/tomcat with /usr/lib/jvm/java-6-openjdk
if you're using jdk, it should be /opt/java
hope that helps
Last edited by SyXbiT (2010-03-10 07:05:30)

Similar Messages

  • Setting the default ALSA Sound Device, wiki methods not working?

    Hi!
    I want to set my default audio device different from the current one, namely different from my default laptop analog output.
    My laptop has two outputs, analog and HDMI, however, IF it is connected I want my default audio output to be my USB Dac.
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: U0x262a0x10e1 [USB Device 0x262a:0x10e1], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: U0x262a0x10e1 [USB Device 0x262a:0x10e1], device 1: USB Audio [USB Audio #1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    alternatively, it is also okay for the default to be set at boot time, as i shutdown my laptop when changing setups.
    i tried the method with an alsa-base.conf file in /etc/modprobe.d/ and also the /etc/asound.conf file.
    with the alsa-base.conf file, I get error msgs when executing even aplay -l, while the asound.conf method gives me:
    speaker-test 1.0.27.2
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 1 channels
    Using 16 octaves of pink noise
    ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
    Playback open error: -19,No such device
    my asound.conf:
    pcm.!default {
    type plug
    slave.pcm {
    @func getenv
    vars [ ALSAPCM ]
    default "hw:0x262a:0x10e1"
    has anybody an idea on how to possibly fix this?
    thanks a lot !

    Thanks for the link you posted.
    Unfortunately, i don't really get the advice posted there...
    I figured out one thing by myself though, in my asound config the name of my DAC was wrong, I missed an 'U' in the front.
    Still, I am not sure why i even have to do any config at all, really. Or maybe my expected behaviour is not the default.
    I think of it like that: always use my laptop output as default, however: IF i plug in another audio device, it's got to have a reason why i plugged it, so change the default to the newly plugged in device.
    Is there a way to do that?
    ps. eg now it got somehow f'd up and i have TWO default devices. no idea how it did that/how that's possible.
    aplay -L:
    null
    Discard all samples (playback) or generate zero samples (capture)
    pulse
    PulseAudio Sound Server
    sysdefault:CARD=PCH
    HDA Intel PCH, CX20590 Analog
    Default Audio Device
    front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Front speakers
    surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
    hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
    hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
    sysdefault:CARD=Audio
    SA9023 USB Audio, USB Audio
    Default Audio Device
    front:CARD=Audio,DEV=0
    SA9023 USB Audio, USB Audio
    Front speakers
    surround40:CARD=Audio,DEV=0
    SA9023 USB Audio, USB Audio
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=Audio,DEV=0
    SA9023 USB Audio, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Audio,DEV=0
    SA9023 USB Audio, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Audio,DEV=0
    SA9023 USB Audio, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Audio,DEV=0
    SA9023 USB Audio, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=Audio,DEV=0
    SA9023 USB Audio, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
    therefore, mpd cannot play, neither can anything else besides apps which let you specify audio devices on the fly...
    Last edited by replax (2013-11-15 23:02:40)

  • HT204053 I have different icloud and iTunes id's and I want to do homesharing for all my devices. I'm trying to set up a new iMac but homesharing is not working. SHould it be the itunes or iCloud id?

    I have different icloud and iTunes id's and I want to do homesharing for all my devices. I'm trying to set up a new iMac but homesharing is not working. Should it be the itunes or iCloud id?

    Welcome to the Apple Community.
    Preferably your iTunes account, but it shouldn't really matter for getting homesharing turned on, as long as it's a valid ID.

  • HT3702 i typed in my billing information, but it did not work. the system let me to ask the itunes spport

    Itune support:
           I typed in my billing information,but it did not work. The system lets me to ask itune suppot.

    We are not iTunes Support here, just fellow users. Go here:
    http://www.apple.com/emea/support/itunes/contact.html
    to report your issue to the iTunes Store.
    Regards.

  • HT1918 I'm trying to find the none option to cancel my CC information as it's not working and i want to update my App .  please help

    I'm trying to find the none option to cancel my CC information as it's not working and i want to update my App . 
    please help

    Unfortunately, AT&T does not allow installation of non-Market apps on any of its Android phones.
    You can find instructions online for using the "adb" developer tool to install non-Market apps, or you can wait for an upcoming beta release of Firefox which will be distributed through the Android Market, probably within the next month.

  • Setting up Apache Tomcat 4.0 for hosting a webpage

    Hi, I am trying to setup an Apache Tomcat 4.0 web server for hosting on my computer through a verizon DSL connection, and a DI-604 router, and a program called no-ip (http://www.no-ip.com) that is supposed to allow you to host a web server from your home computer using dynamic ip addresses I can't seem to get it to work,
    I can reach the server though http://localhost/
    I can reach the server though http://127.0.0.1/
    I can't reach the server though http://leeand00.servehttp.com/
    which is the address IM supposed to access it though on no-ip.
    When I ping leeand00.servehttp.com it returns 100% of the packets, I think it must have something to do with the ports, and I know I can't use port 80 because it's blocked by verizon.
    Thanks in advance,
    Maskkkk

    Like what I java application?
    or a servlet/JSP web application?
    I'm confused....
    Hi,
    localhost and 127.0.0.1 are basically the same. So
    So try creating an application and connecting through
    http://localhost/aplication_name
    If this does not work, then you need to check your
    ur configuration out, and most of this is done in the
    conf/server.xml file
    kev

  • JSP: work with TomCat 5.5.9 and NOT work with TomCat 6.0.16

    Hi all,
    I'm Antony and I have a problem with a .JSP page of my server.
    In my server there are 2 users: "u1" and "u2"; there are 2 TomCat, version 5.5.9 and version 6.0.16. There is Apache WebServer version 2. The 2 TomCat servers have the same configuration files: server.xml and web.xml (in the dir /conf of the main server's root). They not work simultaneously.
    When the user "root" launch the TomCat 5.5.9 all work fine: the server will show correctly the JSP pages of "u1" and the pages of "u2".
    When the user "root" launch the TomCat 6.0.16 the JSP pages of "u1" work fine but the JSP pages of "u2" not work: it seems that there are problems with the path where the server want to search the pages of u2.
    In the server.xml there is this code (for the handle of u2's site):
    <Host name="u2site.com" appBase="/home/u2/public_html/">
      <Alias>www.u2site.com</Alias>
      <Context path="" reloadable="false" docBase="/home/u2/public_html/" debug="0"/>
              <Context path="/manager" debug="0" privileged="true"
                  docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
              </Context>
    </Host>and this code (for the u1's site)
    <Host name="u1site.com" appBase="/home/u1/public_html/">
      <Context path="" reloadable="false" docBase="/home/u1/public_html" debug="1"/>
              <Context path="/manager" debug="0" privileged="true"
                  docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
              </Context>
    </Host>The problems with the JSP pages of u2 are one of the following:
    org.apache.jasper.JasperException: /login2.jsp(4,0) The value for the useBean class attribute com.u2.beans.access.Autenticator is invalid.and this one that appear with the pages that have the inclusion of another JSP page
    /u2page.jsp(3,0) File "/../support/_formatting.jsp" not foundI think that the TomCat know how to find the page that the browser request to Apache WebServer (and that the webserver request to Tomcat by the connector) 'cause for pages that haven't inclusion or call to method in packages all work fine...but the TomCat have problems to locate the pages included or the method located in a JAR (the jars are located in WEB-INF/lib/ of the u2's site).
    How I can resolve this problem with TomCat 6.0.16? I repeat that with TomCat 5.5.9 all work fine...same configuration!
    Any ideas?
    Thank you very much,
    Antony.

    Hi stevejluke, 'cause in the page "/supporto/_formatting.jsp" there are only the definition of some variables it's normal that the output at the browser it's a blank page.
    The problem it's that Tomcat 6.0.16 cannot know how "navigate" the pages beginning from one...it know where is the "x.jsp" page requested directly by Apache WebServer, where is "y.jsp" request directly by Apache, where is "z.jsp" requested directly by Apache but if "x.jsp" request, includes, "y.jsp" Tomcat cannot know where "y.jsp" is located. There is some file where I can "say" this to Tomcat?
    The page "/mostre/elenco_mostre.jsp" includes directly the "/supporto/_formatting.jsp".
    Another thing: in /mostre/elenco_mostre.jsp there is an inclusion directive for /supporto/_formatting.jsp that is so:
    <%@ include file="../supporto/_formatting.jsp"%>you can see that the included file is "../supporto/_formatting.jsp" and NOT "/../supporto/_formatting.jsp"...the "/" at the begin of the path is included by Tomcat!
    In the catalina.out there are this lines, when the page is called:
    Jul 6, 2008 3:15:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /elenco_mostre.jsp(3,0) File "/../supporto/_formatting.jsp" not found
      In catalina.out before server start there are this lines:
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
    Jul 6, 2008 1:43:49 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 358 ms
    Jul 6, 2008 1:43:49 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jul 6, 2008 1:43:49 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    Jul 6, 2008 1:43:52 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/23  config=null
    Jul 6, 2008 1:43:52 AM org.apache.catalina.connector.MapperListener registerEngine
    WARNING: Unknown default host: localhost
    Jul 6, 2008 1:43:52 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2512 msThe file "web.xml" is located in "$Tomcat_home/conf" and it's:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
        http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
      <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
          <param-name>fork</param-name>
          <param-value>false</param-value>
        </init-param>
        <init-param>
          <param-name>xpoweredBy</param-name>
          <param-value>false</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jspx</url-pattern>
      </servlet-mapping>
      <session-config>
        <session-timeout>30</session-timeout>
      </session-config>
      <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
    </web-app>there are not web.xml file in /WEB-INF/ of the web application.
    Maybe the problem it's that Tomcat want the conf file in "Server/Service/Engine/Host/Context" ? I must move the block HOST of the server.xml file in this path?
    Good Sunday and thank you!
    Antony.

  • Set systemwide variable with /etc/launchd.conf does not work in 10.10

    Hi,
    before i upgraded my system, i set in file /etc/launchd.conf some variables. I need this for the Shell, Eclipse and some other tools.
    user@osx10-10:~$ cat /etc/launchd.conf
    setenv M2_HOME /opt/maven
    setenv MAVEN_OPTS "-Xmx2048m -Dmaven.surefire.debug=-Xmx2048m"
    user@osx10-10:~$
    With Mavericks there was no problem, since Yosemite no Variables are set.
    Also when i try to set it manually with launchctl setting xxxxx xxxx, no variable is set.
    Does anyone has a workaround for me?
    Regards
    Joerg

    Alex It should work . by the way your PATH variable should be placed in /etc/paths like this :
    /usr/bin
    /bin
    /usr/sbin
    /sbin
    /usr/local/bin
    /Users/alex/Dev/apache-ant-1.9.2/bin
    Note after each line there is a return key
    As for environment variables open your ~/.bash_profile and place the.
    export ANT_HOME = /Users/alex/Dev/apache-ant-1.9.2
    launchctl setenv ANT_HOME $ANT_HOME
    export ANT_OPTS = -Xmx512M
    launchctl setenv ANT_OPTS $ANT_OPTS
    make sure you save and restart all applications that need to read environment variables. I faced the same problem with intelliJ accessing M2_HOME
    As a side note : consulting the man pages of launchctl(1)
    DEPRECATED AND REMOVED FUNCTIONALITY
         launchctl no longer has an interactive mode, nor does it accept commands from stdin. The
         /etc/launchd.conf file is no longer consulted for subcommands to run during early boot time; this func-
         tionality was removed for security considerations. While it was documented that $HOME/.launchd.conf
         would be consulted prior to setting up a user's session, this functionality was never implemented.
         launchd no longer uses Unix domain sockets for communication, so the LAUNCHD_SOCKET environment vari-
         able is no longer relevant and is not set.
         launchd no longer loads configuration files from the network

  • Setting of "opening web pages from last session"not works when open next time

    In Options, setting to "open windows & tab pages from last time" does not work. I have tries several time but nothing happens. have written to you earlier also , please help

    ''setting to "open windows & tab pages from last time" does not work.''
    That would be very surprising but a change was made to Firefox 4 to always have the choice of going to History ("Alt+S") and choose "Restore previous session".
    With Firefox 5 coming out in a few days (June 21-22) you might try again then, if the solution the developers built in does not work for you. Do you know about pinning tabs ('''app-tabs''') they persist across sessions as a convenience -- if I really want to keep something permanently then I would bookmark such things as a group. Because they can be closed easily.

  • Setting the custom master page through powershell is NOT working

    Hi,
     I am writing the below code to set the  custom master page through powershell.
    But its not working .when i went to site settings-->master page --> in the drodown , the  maste page set is seattle.master ONLY, though my current master page is available in the dropdown.
     Can anyone pls help, whether i am missing in the below :
          Add-PSSnapin Microsoft.SharePoint.Powershell
           $SiteURL = "http://srvr1:22307/sites/SPW5"
        $weburl= $SiteURL
        $Site= Get-SPSite $SiteURL
        $web =  $Site.OpenWeb()
    $web.CustomMasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.MasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.Update()
    Das

    Hi,
    Is it a publishing page? If yes can you try the PowerShell scripts corresponding to the following code snippet?
    var publishingWeb = PublishingWeb.GetPublishingWeb(web);
    publishingWeb.CustomMasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.CustomMasterUrl.SetValue(masterPageUrl, false);
    publishingWeb.MasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.MasterUrl.SetValue(masterPageUrl, false);
    I've noticed sometime (not sure though) that Master page doesn't get updated if the inherit property is not updated first.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Setting default value of Tabular form item is not working

    Hi,
    I have a tabular form and in that I want to set the default value of the username to app_user. So in the default value of the item, I wrote v('app_user') and type Pl/SQL, but that does not seem to work. I tried the static application & page item with :app_user. That threw an error.
    Also, I wanted to populate the date field in one column. Doesn't sysdate work?
    Thanks,
    Sun

    Bob, I did read that. MY problem is that it is still not working. I am wondering if this is because the table is in execute query mode maybe? I am wondering if the default value needs to be added after the tabular data is populated through some other way? Maybe the default value would work only for static non database items?
    ThanksYou're right, I just tested that using the default setup on the column in report attributes and it did not work.
    I think you'll have to update the columns with the default value post query but I'm not sure exactly what you need to do.
    I have a form that has a weight entry column. I tried changing the query to set the default value in the query
    from..
    Select Weight
    From...
    to
    Select 999.99 Weight
    From...That appeared to work, but the 999.99 value was not populated back to the Database since it wasn't entered through the form UI. APEX maintains the entered values internally so it can do its checksumm processing and update modified rows back to the DB. I'm thinking you could update what needs to be updated using Javascript in a Dynamic Action, but I'm afraid I don't know how to do that.
    Excuse my incorrect assumption when first replying.

  • Firefox insists on downloading a zip file with an application. Options is set to ask for download loaction but does not work

    When downloading a ZIP file I get a 'Launch Application' window.
    In Options I have set download to ask for a location and use the download window but this does not work.
    cannot find any way of changing this and there is no option for using an application.
    If I down load in IE I have no problems so it must be FireFox and not a system problem.

    I have found the problem.
    A download manager had been installed for a specific website and it was butting in all the time. Even after removing it with 'Add or remove software' it still had its hooks into the system and it was impossible to download anything as it now would not run.
    Had to do an XP 'System restore' before I could get rid of it.
    The offending program was MD_setup.exe size 3,045KB from the themediadownloader.com

  • Apache Tomcat 5.5.20 could not start

    Hi experts,
    i have the following problem by starting TomCat. I have install BO Enterprise XI 3.0.
    Before getting this problem it was very difficult to start the Server. I had to click at least five Minutes till the server starts.
    Now it is not starting anymore.
    SIA ist working without problem.
    Could you please help?
    Thank you in Advance
    Cheers

    I'm evaluating Crystal reports server 2008 in Windows 2003 R2 server (4Gb Ram). When upgrading Win 2003 to SP2 Tomcat service couldn't start.
    "C:\Archivos de programa\Business Objects\Tomcat55\bin\tomcat5.exe" //RS//BOE120Tomcat -requestreport 8000
    According to
    http://www.forumtopics.com/busobj/viewtopic.php?p=554540&sid=112a146801723064a073894175a24404
    http://commons.apache.org/daemon/procrun.html
    I changed XX:MaxPermSize at HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\BOE120Tomcat\Parameters\Java\Options
    -Djava.library.path=C:\WINDOWS\system32\;C:\Archivos de programa\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\
    -Dcatalina.base=C:\Archivos de programa\Business Objects\Tomcat55\
    -Dcatalina.home=C:\Archivos de programa\Business Objects\Tomcat55\
    -Djava.endorsed.dirs=C:\Archivos de programa\Business Objects\Tomcat55\common\endorsed\
    -Dbobj.enterprise.home=C:\Archivos de programa\Business Objects\BusinessObjects Enterprise 12.0\
    -Xrs
    -XX:MaxPermSize=50m
    -Dbusinessobjects.olap.bin=
    -Dbusinessobjects.olap.stylesheets=C:\Archivos de programa\Business Objects\OLAP Intelligence 12.0\stylesheets\
    -Djava.awt.headless=true
    nothing happened. It seemed --JvmMx was the parameter (jvmMx key?). It was 1024 then I set it to 128
    tomcat service starts successfully again
    Edited by: asaidel on Jun 17, 2009 11:19 PM

  • Setting tomcat cluster with F5 device, not working

    Hi. I have 2 servers each with tomcat 5.0.28 on them, I am trying to set up a cluster but when i do as the instructions say in tomcat clustering references, the server which has the apache on it after i change the server.xml files you can't log onto the browser gives error 503 couldn't connect on port 80.
    I have left the server.xml files the same on each server as i thought it should be fine if 2 tomcats on different servers. Except i changed the mcastAddress to the same on both which is the IP of the main server. Is this right?
    So i am not sure if there is something preventing it from working on the F5 device? I have been at this co. for 3 months and nobody seems to know anything about this so i have to figure it all out myself.
    Please if anyone knows anything or why this might not be working please help!
    Thanks!

    I have WPA-Personal setup on my Linksys WRT54GS router and enter password normally when connecting to home network. It works just like connecting any pc to my home network.
    And it is really fast. Even walked out in the back yard and signal was still strong.
    thanks

  • Tomcat(4.0)..jsp not working..crazy message

    I get this when trying to access a simple jsp thru a url(html works fine):
    A Servlet Exception Has Occurred
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    if (pageContext != null) pageContext.handlePageException(t);
    ^
    1 error, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.loadJSP(Unknown Source)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Unknown Source)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:539)
    Any help would be appreciated. Thanks.

    Thanks for the reply. I have JDK1.4 installed as C:\JDK1.4 and my CLASSPATH is C:\JDK1.4\LIB;C:\JDK1.4\LIB\TOOLS.JAR. The TOMCAT install is vanilla. This is the source from the TOMCAT date example (date$jsp.java) in the WORK dir - it blows at the catch phrase towards the bottom of the source:
    package org.apache.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import org.apache.jasper.runtime.*;
    public class date$jsp extends HttpJspBase {
    // begin [file="/jsp/dates/date.jsp";from=(9,0);to=(9,90)]
    // end
    static {
    public date$jsp( ) {
    private static boolean jspxinited = false;
    public final void jspxinit() throws org.apache.jasper.runtime.JspException {
    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
    throws java.io.IOException, ServletException {
    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    String _value = null;
    try {
    if (_jspx_inited == false) {
    synchronized (this) {
    if (_jspx_inited == false) {
    jspxinit();
    jspxinited = true;
    _jspxFactory = JspFactory.getDefaultFactory();
    response.setContentType("text/html;charset=ISO-8859-1");
    pageContext = _jspxFactory.getPageContext(this, request, response,
                   "", false, 8192, true);
    application = pageContext.getServletContext();
    config = pageContext.getServletConfig();
    out = pageContext.getOut();
    // HTML // begin [file="/jsp/dates/date.jsp";from=(0,0);to=(6,0)]
    out.write("<html>\r\n<!--\r\n Copyright (c) 1999 The Apache Software Foundation. All rights \r\n reserved.\r\n-->\r\n\r\n");
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(6,26);to=(9,0)]
    out.write("\r\n\r\n<body bgcolor=\"white\">\r\n");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(9,0);to=(9,90)]
    dates.JspCalendar clock = null;
    boolean jspxspecialclock = false;
    synchronized (pageContext) {
    clock= (dates.JspCalendar)
    pageContext.getAttribute("clock",PageContext.PAGE_SCOPE);
    if ( clock == null ) {
    jspxspecialclock = true;
    try {
    clock = (dates.JspCalendar) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "dates.JspCalendar");
    } catch (Exception exc) {
    throw new ServletException (" Cannot create bean of class "+"dates.JspCalendar", exc);
    pageContext.setAttribute("clock", clock, PageContext.PAGE_SCOPE);
    if(_jspx_specialclock == true) {
    // end
    // begin [file="/jsp/dates/date.jsp";from=(9,0);to=(9,90)]
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(9,90);to=(13,23)]
    out.write("\r\n\r\n<font size=4>\r\n<ul>\r\n<li>\tDay of month: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(13,23);to=(13,76)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getDayOfMonth())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(13,76);to=(14,15)]
    out.write("\r\n<li>\tYear: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(14,15);to=(14,62)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getYear())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(14,62);to=(15,16)]
    out.write("\r\n<li>\tMonth: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(15,16);to=(15,64)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getMonth())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(15,64);to=(16,15)]
    out.write("\r\n<li>\tTime: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(16,15);to=(16,62)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getTime())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(16,62);to=(17,15)]
    out.write("\r\n<li>\tDate: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(17,15);to=(17,62)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getDate())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(17,62);to=(18,14)]
    out.write("\r\n<li>\tDay: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(18,14);to=(18,60)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getDay())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(18,60);to=(19,22)]
    out.write("\r\n<li>\tDay Of Year: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(19,22);to=(19,74)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getDayOfYear())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(19,74);to=(20,23)]
    out.write("\r\n<li>\tWeek Of Year: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(20,23);to=(20,76)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getWeekOfYear())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(20,76);to=(21,14)]
    out.write("\r\n<li>\tera: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(21,14);to=(21,60)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getEra())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(21,60);to=(22,21)]
    out.write("\r\n<li>\tDST Offset: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(22,21);to=(22,73)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getDSTOffset())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(22,73);to=(23,22)]
    out.write("\r\n<li>\tZone Offset: is ");
    // end
    // begin [file="/jsp/dates/date.jsp";from=(23,22);to=(23,75)]
    out.print(JspRuntimeLibrary.toString((((dates.JspCalendar)pageContext.findAttribute("clock")).getZoneOffset())));
    // end
    // HTML // begin [file="/jsp/dates/date.jsp";from=(23,75);to=(29,0)]
    out.write("\r\n</ul>\r\n</font>\r\n\r\n</body>\r\n</html>\r\n");
    // end
    } catch (Throwable t) {
    if (out != null && out.getBufferSize() != 0)
    out.clearBuffer();
    if (pageContext != null) pageContext.handlePageException(t);
    } finally {
    if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);

Maybe you are looking for

  • Please Help...I am lost!

    Ok, this kinda started recently, lets start from what I believe is the begining. I use Windows XP (which I hate anyways and am stuck with for the time being), and I had a project for a class and thought I could hook my iPod up to the schools eMac and

  • String into un readable format

    Hi all, i have filed of 120 characters, the data in the field is passed to bar code label. and i will print this barcode. Now i will read this bar code using scanner. at that time the data present in the label is displayed in text file, this is reada

  • Configuring SNMP Traps UCS 6.1.3

    Hi, I have some confusion on configuring SNMP and Trap notifications to a network monitoring box we have. When I enter Unified Serviceability and go to SNMP Notification Destination Configuration and try to set up the trap notification, it asks for a

  • Help implementing a simple minimax algorithm

    Okay Im making a minimax algorithm for Tic Tac Toe to try to learn some basics of it but I hit a wall protected int winValue(int indexOne, int indexTwo)     int[][] tempBoard = new int[3][3];     int winValue;     for(int i = 0; i < 3 ; i++)       fo

  • Communicating with internet explorer

    hi, I want my program to communicate with internet explorer, such as making it reload a page, change the address that sort of thing. I don't know how to make my program talk to internet explorer, can anyone help? or point me in the right direction? T