Tomcat setup trouble.

Hello.
I downloaded a pre-configured version of tomcat and have set my class paths etc but I can't connect via a browser. The page loads to localhost but it is just white and blank.
This is what I get on after calling catalina run from a command prompt:
C:\>paths
C:\>set PATH="C:\Program Files\Java\jdk1.5.0_10\bin";C:\WINDOWS\system32;C:\WIND
OWS;C:\WINDOWS\System32\Wbem
C:\>set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_10
C:\>set CLASSPATH=.;C:\apache-tomcat-5.5.17\common\lib\servlet-api.jar;C:\apache
-tomcat-5.5.17\common\lib\jsp-api.jar;C:\Servlets+JSP;..;..\..
C:\>cd C:\apache-tomcat-5.5.17\bin
C:\apache-tomcat-5.5.17\bin>catalina run
Using CATALINA_BASE: C:\apache-tomcat-5.5.17
Using CATALINA_HOME: C:\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\apache-tomcat-5.5.17\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_10
01-Feb-2007 23:38:39 org.apache.catalina.core.AprLifecycleListener lifecycleEven
t
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\Java
\jdk1.5.0_10\bin;.;C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk1.5.
0_10\bin";C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
01-Feb-2007 23:38:39 org.apache.coyote.http11.Http11BaseProtocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
nt.java:297)
at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.j
ava:138)
at org.apache.catalina.connector.Connector.initialize(Connector.java:101
6)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:791)
at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
01-Feb-2007 23:38:39 org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindExcept
ion: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.initialize(Connector.java:101
8)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:791)
at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
01-Feb-2007 23:38:39 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 937 ms
01-Feb-2007 23:38:39 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
01-Feb-2007 23:38:39 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
01-Feb-2007 23:38:39 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
01-Feb-2007 23:38:41 org.apache.coyote.http11.Http11BaseProtocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
nt.java:297)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpo
int.java:312)
at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.
java:150)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75)
at org.apache.catalina.connector.Connector.start(Connector.java:1089)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
59)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
01-Feb-2007 23:38:41 org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start fail
ed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.start(Connector.java:1096)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
59)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
01-Feb-2007 23:38:41 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1672 ms
but it seems to hang and does not return to the prompt which I would imgaine is wrong.
I used a bat file to set my paths which is below:
set PATH="C:\Program Files\Java\jdk1.5.0_10\bin";%PATH%
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_10
set CLASSPATH=.;C:\apache-tomcat-5.5.17\common\lib\servlet-api.jar;C:\apache-tomcat-5.5.17\common\lib\jsp-api.jar;C:\Servlets+JSP;..;..\..
can anyone spot what I may be doing wrong? or give me advice on what I could try to change? as you can see there is an error although it still says it will stat at the bottom.
Thanks and regards
Mike

Hi, I changed the port back to default and it worked. I got to the Tomcat index page and viewed some JSP examples. All was going well...
Then I clicked to view an example and the page would not load firefox says waiting for local host. I shutdown Tomcat and re-started it and it let me view an example, then the same thing happened. I can not get it to work properly, after it starts it works fine for 30 seconds and then won't load the examples.
Any ideas what could be the problem?
BTW I dont have IIS installed on this machine.
Thanks
Mike

Similar Messages

  • 10g RAC setup trouble in Windows 2003 env.

    Hello, guys,
    I had trouble in setup 10g RAC in Windows 2003 env.
    Environment is following.
    * Two PC which have two LAN cards which one is connected public network, other is connected internal network.
    And Two PC have SCSI card connected shared disk. Share disk is setup logical drive, not assigned drive letter.
    * PC's OS is Windows2003 Enterprise Server. OS is installed clean, not contain previous oracle.
    Due to install manual, At first setup CRS, second setup 10g. So I setup CRS at firast. During CRS setup, I input two PC's public name and private name in installing node window and proceed setup, setup program install program into two PC at the same time. But setup failed in last service configuration window, and CRS service can't start.
    I checked error message in log file, error is about registry... I can't find cause.
    Do you know how to setup CRS into two PC?

    I could resolve this trouble.
    Cause is that shared disk settig is affected. Another side PC can't mapped drive letter, so I assigned drive letter manually, and reboot both PC.
    After that, OracleCRService, OracleCSService, OracleEVMService could run.
    Thanks

  • UC 520 initial setup trouble

    Hi -
    I've got a UC 520 and am having trouble accessing the device to configure the initial setup.
    I can connect using the console port, but I can't access the device thru CCA.
    I do not get an IP address using DHCP when connected.
    I can no ping the default port(s) 10.1.1.1 or 192.168.10.1 when using a static IP address on the same subnet.
    I followed the steps on uc500.com to update the sfotware to 8.0.1 and to using the factory-default configuration.
    I still can not access the device using CCA. The device also does not give out IP addresses to an IP phone when connected.
    ANY tips/suggestions would be GREATLY appreciated.
    Thanks in advance!

    Press F2 while in CCA to view console logs while CCA does it's voodoo.
    In my experience enabling telnet helps ALOT, because in the logs CCA is constantly trying to telnet, but can't if it's disabled and falls back to HTTP.
    line vty 0 4
    transport input all
    Also make sure your interfaces are not shutdown. Assuming vlan 10 is your UC520 switch vlan:
    conf t
    int fa 0/1/0 - 8
    no shut
    int vlan 10
    no shut

  • Exchange Activesync Setup Trouble

    We are attempting to use the iPhone Configuration Utility to setup our new iPads and iPhones. I am running into problems getting Exchang Activesync to configure properly. I can manually setup each iPad to work correctly, but when attempting to use a profile (prompting users to enter their account information when the profile installs) the profile adds their email address incorrectly.
    After entering all of the Exchange information and installing the profile on an iPad, the Exchange account incorrectly adds a "mail." to the server address. So for instance if our Exchange server is "mail.servername.xx" and email should be "[email protected]"  the profile is being installed with their email address as:
    "[email protected]"  As a result the configuration of their account fails. I should add that our user names are not the same as our email account; is this confusing the utility/
    How do I get the configuration profile to stop adding the "mail." to the email address?

    For anyone having trouble setting up exchange email on your HTC Droid DNA i think my own started working now with this simple steps:
    Email address: Your email
    Server Address: mail.com
    Domain: Blank
    Username: Your complete email address
    Password: Your password
    Try it.

  • Head First book & Tomcat setup

    I am currently reading Head First Servlets & JSP. In the first chapter it gives you a sample servlet to run(Ch1Servlet.java). It tells you to setup a directory OUTSIDE of /tomcat.
    /Project1
    /Project1/src
    /Project1/classes
    /Project1/etc
    On my computer it is setup as C:/Java/Project1
    Then it tells you to compile it from the command line like this:
    javac -classpath /your path/tomcat/common/lib/servlet-api.jar -d classes src/Ch1Servlet.java
    Here is what I used
    javac -classpath /Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/servlet-api.jar -d classes src/Ch1Servlet.java
    This causes an error
    javac usage invalid: Files/Apache
    I am guessing this is because there are spaces in the classpath name. I copied the servlet-api.jar to the C:/Java folder and it compiled successfully. Without having to copy files to other folders how can I get around this error?
    Once you get it compiled it tells you to add the class files to the WEB-INF/classes directory and add the web.xml to the WEB-INF/etc directory. The book didn't explain where this directory is. I only imagined it being on its own in the Tomcat5.5 directory but it wasn't there. I looked under webapps and there is not a WEB-INF directory. What is the book trying to tell me?
    It also tells me once Tomcat is started to type in http://localhost:8080/ch1/Serv1. Under the web.xml file the mapping url is set to /Serv1 but the other description in servlet mapping is Chapter 1 Servlet. I don't see where the ch1 directory is. Can anyone help me with this?
    My system OS: Windows XP
    It also didn't explain why you would setup a directory outside of tomcat and then have to deploy your compiled classes back into tomcat. I am fairly new to Java and brand new to JSP. This part of the book seems to assume I know all this. Can anyone put me in the right direction?

    I am currently reading Head First Servlets & JSP. In
    the first chapter it gives you a sample servlet to
    run(Ch1Servlet.java). It tells you to setup a
    directory OUTSIDE of /tomcat.
    /Project1
    /Project1/src
    /Project1/classes
    /Project1/etc
    On my computer it is setup as C:/Java/Project1
    Then it tells you to compile it from the command line
    like this:
    javac -classpath /your
    path/tomcat/common/lib/servlet-api.jar -d classes
    src/Ch1Servlet.java
    Here is what I used
    javac -classpath /Program Files/Apache Software
    Foundation/Tomcat 5.5/common/lib/servlet-api.jar -d
    classes src/Ch1Servlet.java
    This causes an error
    javac usage invalid: Files/Apache
    I am guessing this is because there are spaces in the
    classpath name. I copied the servlet-api.jar to the
    C:/Java folder and it compiled successfully. Without
    having to copy files to other folders how can I get
    around this error?
    Add double quotes around your class path (e.g. javac -classpath "c: /Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/servlet-api.jar ")
    Foundation/Tomcat 5.5/common/lib/servlet-api.jar -d
    classes src/Ch1Servlet.java
    Once you get it compiled it tells you to add the
    class files to the WEB-INF/classes directory and add
    the web.xml to the WEB-INF/etc directory. The book
    didn't explain where this directory is. I only
    imagined it being on its own in the Tomcat5.5
    directory but it wasn't there. I looked under webapps
    and there is not a WEB-INF directory. What is the
    book trying to tell me?
    You want to create a directory called ch1 under tomcat's webapps directory.
    Under the ch1 directory create a WEB-INF directory. And under WEB-INF create a
    classes directory.
    It also tells me once Tomcat is started to type in
    http://localhost:8080/ch1/Serv1. Under the web.xml
    file the mapping url is set to /Serv1 but the other
    description in servlet mapping is Chapter 1 Servlet.
    I don't see where the ch1 directory is. Can anyone
    help me with this?
    The url-pattern in the web.xml is what is used to access your servlet.
    Chapter1 Servlet is just a way to map from the servlet-class to the url-pattern.
    If you read further in the book all this will be explained.
    My system OS: Windows XP
    It also didn't explain why you would setup a
    directory outside of tomcat and then have to deploy
    your compiled classes back into tomcat. I am fairly
    new to Java and brand new to JSP. This part of the
    book seems to assume I know all this. Can anyone put
    me in the right direction?You want your source to be outside of tomcat. Once you have compiled everything,
    you then deploy to your container. Hope this helps

  • Basic home network setup troubles: Airport, ethernet, and cable modem

    Hi,
    Having only just subscribed to a cable broadband service we're experiencing some troubles setting up a mixed-mode home network and I'm wondering whether we've got some of the very basics messed-up.
    What we have is:
    1. Recent version (white) ibook, with airport, running 10.4.7;
    2. Old G4 PowerPC (450MHz I think) running 10.4.7 ... airport card available;
    3. Old powerbook (?Lombard) running 10.2.8 ... no airport;
    4. A PC running Windows XP (not that important to have this in the network though) with no wireless;
    5. A 3com SuperStack 1100 switch;
    6. A cable modem;
    7. A Linksys BEFSX41 Etherfast Cable/DSL Router ... 4 ethernet switch ports;
    8. An airport express base station;
    9. An HP laser printer connected into the ethernet LAN.
    We'd like to keep both our wireless and ethernet networks running with all computers able to access one another, print to the laser printer, and access the broadband (fixed IP address) account. We're not (yet) conderned with hosting websites from our home computers.
    I'm unsure of how we should configure this system. Do I connect the airport base station to the switch (which is what we presently have) or into the router? Do I connect each of the hardwired PCs (and the printer) into the switch
    and then the switch to the router via single conenction?
    If we use DHCP to access the router have I got the potential for the router and the airport base station to interfere with one another?
    Any advice would be greatly appreciated. I've pulled a few TCP/IP setup-for-idiots books from our local library but this specific situation doesn't seem to be well covered.
    Cheers
    Dougal

    You probably have a few options here that will work. Considering the number of wired devices, I would suggest the following:
    Cable modem > (Ethernet cable) > [Internet port] BEFSX41 [LAN_1] > (Ethernet cable) > SuperStack switch > (Ethernet cable) > [Ethernet port] AirPort Express Base Station (AX) > (wireless) > wireless clients, AND
    SuperStack switch > (Ethernet cable) > wired clients
    Then setup the AX as a bridge, as follows:
    To set up the AirPort Express Base Station (AX) as a bridge, using the AirPort Admin Utility, connect your computer directly (using an Ethernet cable) to the Ethernet port of the AX, and then, make these settings:
    Network tab
    - Distribute IP addresses (unchecked)
    - Apply the new setting.
    - Wait at least 5 minutes.

  • Need Help with Tomcat setup

    I downloaded tomcat 4.1 and extracted it to my harddrive, but when i try to start up the tomcat server i get the following error.
    C:\Program Files\apache-tomcat-4.1.34\bin>startup
    JAVA_HOME\bin\java.exe is missing
    The JAVA_HOME environment variable may not be defined correctly
    This environment variable is needed to run this program
    NB: JAVA_HOME should point to a JDK not a JRE
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_09;
    The system cannot find the file -Dsun.io.useCanonCaches=false.
    C:\Program Files\apache-tomcat-4.1.34\bin>
    What do I need to do to fix this?
    ClassPath: C:\Program Files\Java\jdk1.5.0_09\bin
    JAVA_HOME: C:\Program Files\Java\jdk1.5.0_09;
    Any ideas are greatly appreciated.

    Your JAVA_HOME variable does seem to be pointing to the right place.
    It shouldn't have that semicolon on the end of it though. Maybe get rid of that?
    The other question I would have about it is that there is a space in the variable, which might confuse matters.
    Maybe try using the "shortname" for Program Files.
    You can do a "dir /x c:\P*" to find out what it is.
    Try setting the JAVA_HOME to c:\progra~1\java\jdk1.5.0_09
    Also note that Tomcat4 is a couple of versions old now.
    I would recommend Tomcat5.5 with Java1.5
    Hope this helps,
    evnafets

  • Blackberry Bold 9900 email setup trouble

    When i access the setup app and then select email accounts i receive instructions to "activate your enterprise account and enter details provided by your system administrator". From looking at information on the internet it seems i should be getting another option: "Internet Mail Account" but that option doesn't appear. I have just recently bought this phone and i have never set up an enterprise account. Now i can't access my emails through my phone. Any ideas?
    Solved!
    Go to Solution.

    Before getting too deep in that, please call your carrier and confirm that you have the blackberry internet service added to your account.  Without this service you will not be able to setup personal email on that phone.  Not sure what add on they mention, but you have to have BIS added to your account in order to setup email.  Even while on a wifi connection.
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

  • Xserve setup trouble

    I'm trying to set up an Xserve at a high school in my town. Someone from a local college came to help, but he had never set up an Xserve before and we got stuck. We have already gone through the set up process (creating the account, attaching it to the internet and downloading the updates). Now we need to create accounts for all the students. I'm not exactly sure how to do this. The guy from the college tried doing it via the user options in system preferences, but it didn't work and didn't seem right. We then opened up the workgroup manager (thinking that it would allow us to do it). We weren't able to edit anything - then I noticed the lock symbol in the corner. However when we tried to unlock it, the admin password didn't work. What password should we be using? Are we even using the right application to set up networked accounts? I tried looking at the documentation, but it just confused me. We were left at a bad place - I'm not sure what part of the documentation we are at. Any advice?
    Thanks!

    I set up a Xserve, with workgroup access, last year. When I went to create user accounts, I discovered that I had to set the Open Directory usage to Open Directory Master, even though Apple's documentation made it sound as if this was unnecessary. Once you have your Xserve set to be an Open Directory Master, you will need to configure WorkGroup Manager in order to set up access for your users.
    There are at least three essential Mac OS X Server Guides that you will want to have handy. They are
    File Services Admin Guide
    Open Directory Admin
    User Management
    I would actually recommend downloading all the server guides you can find on http://www.apple.com/server/documentation/. Try doing a search for any you don't find on that page. I also used the Getting Started booklet that came with the Xserve to help me activate Open Directory, but be aware that it only gives very basic help.
    I had to read through several of the guides in order to figure out what to do. I would walk you through the steps, but it would take wa-a-a-y too long and you may not want the same setup I am using.
    A couple of tips that are not obvious from the documentation:
    1. You server must be connected to the network in order to set it up as an Open Directory Master.
    2. WorkGroup Manager opens with the default Admin directory. You will need to switch directories in order to set up a workgroup for user access. To switch directories, click on the small globe icon just below the tool bar. You should be given some choices in a drop-down menu. You probably want the local directory, which should be /LDAPv3/127.0.0.1.
    Once you are in the correct directory, you should be able to unlock it using your administrator password.
    Xserves ship with a default admin password, but if you have changed that, the change should apply to WorkGroup Manager as well. That having been said, I had my Xserve hiccup and lose my admin password. When I reset it, I could not get WorkGroup Manager to recognize any password at all. I ended up having to completely reinstall OS X Server and then had to set the whole thing back up again. Fortunately, I had documented my setup as I went along - something I strongly recommend you do
    I hope this helps. The real key is to read, read, read. Good luck.
    -Phoenix

  • Tomcat Setup Problems

    I am setting up Tomcat in an attempt to complete the Java Server Pages Fundamentals tutorial. I am new to JSP so please bear with me. I have followed the directions for installing Tomcat and referenced posted topics in the forum archives with no success. These are the exceptions that are repeatedly thrown:
    Catalina.start: LifecycleException:  null.open:  java.net.BindException: Address already in use: JVM
    _Bind:8080
    LifecycleException:  null.open:  java.net.BindException: Address already in use: JVM_Bind:8080
            at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1130)
            at org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
            at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
            at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
            at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    ----- Root Cause -----
    java.net.BindException: Address already in use: JVM_Bind:8080
            at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:950)
            at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1128)
            at org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
            at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
            at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
            at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)I have tried changing the port and I get the same response. My OS is XP Pro and I'm using JDK 1.4.
    I greatly appreciate any input. Thanks!

    I was having this same problem Rob!! I discovered that Tomcat will place (at least it did on my Win2k, WinXP systems) an "Apache Tomcat" service in my services manager, and set it to run on 'automatic'. This means, every time I was booting up, Tomcat was already starting. And because it is then a 'windows service' so to speak, you cannot turn it off using Tomcat's 'shutdown' shortcuts! Naturally, when I tried to start Tomcat using the established shortcuts it wouldn't work because it was already running (unbeknownst to me).
    So, if you have this same issue:
    -in a comman line, type "services.msc" to bring up the services console window
    -fine the "Apache Tomcat" service entry, right-click on it, and select 'properties'
    -in the properties dialog you can stop the service
    -once stopped, change the 'startup type' to 'manual'
    Now you can use Tomcat's start and stop services as you wish.

  • [SOLVED] Audio setup troubles with usb headphones and built-in sound

    Hello,
    I Just started using Arch about a month ago after going through many Debian and Ubuntu variants.  After all my frustrations with apt pinning to get working 10bit video playback, only to have everything else uninstalled by crappy dependency checking, I am extremely happy with how easy it was in Arch.
    Now I am having difficulties perfecting my audio setup.  Almost everything else is set up to satisfactory levels but I have yet to bring the sound to the same standard.  With just ALSA my built in audio works, but defaults to the unused hdmi on my nvidia graphics.  I have managed to get it to switch at some point but with ALSA alone I could never get my usb headset to work at all.
    By using pulseaudio as well I was able to get simutaneous playback, which is ideal, but had choppiness and other issues with just the usb headset.  I followed some instructions found on the arch wiki and other places on the net for choppiness in both ALSA and pulse and tried the fixes listed in various combinations.  I ended up with outcomes such as pulse not starting, no sound at all, creepy ticking in usb and perfect sound on speakers, and my current situation of perfect sound on speaker and acceptable but tinny sound on usb which degrades over time requiring restart.
    Is anyone able to give any advice or point me to any guides I may have overlooked?
    Setting up sound from scratch is something I have never done before coming to Arch, so I don't know what commands are useful for audio specifically, but learning is one of the reasons I decided on Arch. As for commands I do know, lspci and lsusb, relevant entries are as follows:
    spricc ~ $ lspci | grep Audio
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    01:00.1 Audio device: NVIDIA Corporation GF104 High Definition Audio Controller (rev a1)
    Bus 004 Device 003: ID 1532:000e Razer USA, Ltd
    USB device is a Razer Megalodon headset, NVIDIA Audio is of no interest to me, unless it is not what i think it is.
    Thanks to anyone who takes the time to read this.
    Last edited by spricc (2012-03-23 15:21:11)

    I managed to find a solution.
    https://wiki.archlinux.org/index.php/Pu … oppy_sound
    Following this exactly didnt work before, but setting the sample rate to 192000 instead seems to have done the trick

  • Tomcat Setup

    I am trying to set up Tomcat in XP Window. One of the thing it asked me to do is going to C:\config.sys to add
    Shell=C:\command.com /e:1024 /p. I could NOT find this file in my PC. I think it is for Win95/98
    Any body has idea what it is?
    Please HELP

    I am trying to set up Tomcat in XP Window. One of the
    thing it asked me to do is going to C:\config.sys to
    add
    Shell=C:\command.com /e:1024 /p. I could NOT find
    nd this file in my PC. I think it is for Win95/98
    Any body has idea what it is?
    Please HELPHey even i have the same box and TOMCAT didnt ask me to do any thing like that ...
    i suggest that u did better get an executable installer which will do this all automatically do all this for u ..
    other solution would be get tomcat zipped download that they distribute ... then u will just have to set a CATALINA_HOME var to the dir where u have kept the extracted dir structure .. and thenn ...
    well go on download and then read the readme file provided with the package..
    its easy believe me ...

  • Jakarta Tomcat Setup

    Hi all,
    I am installing a Jakarta Tomcat v 3.2.1 webserver on my home system. I know how to set the JAVA_HOME environmental variable here at work, because in Windows 2000, you can click on System, Advanced + environmental variables to set it. But at home I have windows 98 (2nd ed) and that option is not available to me. Does anyone know an alternate way to set JAVA_HOME , in DOS or something?
    Thanks in advance.
    B-mitre

    Add the lines
    SET TOMCAT_HOME=<path-to-tomcat-installation-dir>
    SET JAVA_HOME=<path-to-jdk-installation-dir>
    to both startup.bat and shutdown.bat in the tomcat\bin directory. Since you are using win98, you'll get 'out of environment space'-messages -- the solution to that is told in the readme file.

  • WRT150N v1.1 setup trouble

    when the setup wizard detects the router, it says "Router Not Supported"....i'm using the disc that came in the box, and alreay checked to make sure it's for the right model
    internet still works through it though

    Can anyone help me with installing WRT54GS - my internet provider is Bellsouth (AT & T). Every time I go to connect the wireless router to my computer I can no longer get on the internet from my stand alone computer - we now have a laptop and we are trying to be able to assess the internet on the laptop and our stand alone computer. Help!!!

  • Omission in Tomcat setup instructions?

    There seems to be an omission in the instructions for setting up Joseki on Tomcat. Link here
    In the JBoss section there is mention of ojdbc6.jar, that has to be copied someplace. I had to copy same file to a Tomcat "lib" folder either in the tomcat installation folder, or in the tomcat instance folder. In retrospect I see why this is so, but I think it would be appropriate with a hint on the step-by-step instructions.
    br,
    Morten

    Hi Morten,
    Thanks very much for pointing this out! The document has been fixed. It will take a while for the new version to be published though.
    Cheers,
    Zhe Wu

Maybe you are looking for

  • Event Receiver to create a List based on a custom template and on lookup field

    Hi I would like to have an Event Receiver who is firing by addItem in a list calls Seminarliste and is creating each time a new list based on three columns for add.Lists("Title of the list", "Description of the list", "Custom List Template") I have a

  • Reversal of settlement-CJ8G

    Hi Gurus, Please suggest me on this case. 1. There was two project code example--Project A and B . 2. The AUC value in project A is 100. 3.Final asset has created in project A but not yet settled 4.AUC amount Rs 50  transferd to Project B  AUC via CJ

  • Mic Problems (Off and On)

    Hey Everyone! I was just wondering if you guys could help me with something, i've tired everything. Okay, so, I like to record videos on my MacBook (via Facebook, iMovie and Photobooth), but the problem is now when i record a movie there's no sound w

  • Multiple Teams

    Hi there, this might be asked several times but here we go: we are a company that neither facilates own iOS development knowledge nor hardware. If we have multiple external app development companies: Following this link https://developer.apple.com/li

  • Formating issue

    I have a database.  I used the update wizard to return the information in the database so I can update it.  That works great except for one item.   I would like to format the size of some of the data fields when they are displayed.   All of the data