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

Similar Messages

  • Need help with Printer Setup conventions

    I can't get my Brother printer to print from one computer--but it prints okay from the other computer on my network. I need to know the conventions for the Printer Setup Utility.
    There's a checkbox by every printer on the list. What does it mean when the checkbox is grayed out?
    Some printer names appear in bold. What does that mean?
    Thanx.

    Thank you for your reply. I appreciate your help in this and just want to understand what you're saying.
    As I say, the printer is displayed in the print dialog box but the checkbox is grayed out. I'm assuming that when you say "...it can't find/see them now," you mean the print dialogue can't see them (the drivers). Your last sentence confuses me. You say, "Do you maybe have Printer Sharing enabled & they aren't actually directly connected? If so you have to reboot after turning it off." A little confusion about your antecedents here. What isn't actually connected? The printer? So I have to reboot after turning it off, "it" I suppose is the printer, is that right? I will try that. So turn printer off, reboot, turn printer on. Right?
    I will describe my problem. l thought that if I understood why the checkbox was grayed out I might see what my problem was. If you want me to start another topic I can do that.
    Problem: I have a network with 2 computers and the Brother
    multifunction fax/printer. I'm using an Apple airport hub. The printer
    and one computer (Mac tower) are connected to the airport base via
    ethernet. The 2nd computer (Apple laptop) is on the wireless network.
    Until recently i could print from both computers. Now I can't print from
    the tower. But I can still print from the laptop.
    When I try to print from the tower I get an error message that says, "Cannot print from current printer." I have rebooted, reinstalled printer drivers, checked cables, deleted printer from printer list and re-added printer all to no avail. But as I say, I can still print from the laptop which is using Airport. So the printer prints, the hub connects to the printer okay (ethernet) and I know the tower connects to the hub (I can ping the printer okay from the tower.)
    I am conversing to Brother support via email and their first suggestions I have already tried. Perhaps there's some problem in the network, but I can't figure it out. Worse yet, now when I go to the Network preferences I get an error message which says, "Your network settings have been changed by another application." THIS ERROR MESSAGE WON'T GO AWAY! I can click 'okay' but it reappears. I have to force quit the System Preferences to get out. If you can help with any of these problems I surely appreciate it.

  • I need help with my setup Please !!! 2800+ athlon xp

    hi all .......... great forum here.....!!!
    I am having probs with my new setup and I am at a wits end of what to do so i'll explain my problem.
    I have just bought a AMD athlon 2800+ cpu for my mobo (KT3 ultra 6830e v.1.0)
    and I am unable to run the chip at correct speed??
    The bios wont boot the computer if I try to set the fsb for cpu at 166 ?? Am I correct in thinking that a 2800+ Athlon needs to be run at 166fsb to get the 333fsb setting?
    I am currently running it at 133fsb and it is registering it as a AMD 2200+ chip ???
    I am quite new to playing about with my bios but at the moment it is set at defaults on everything because i had to reset the cmos jumper about 8 times last night after trying different settings, in the end i gave up and thought i'd ask u guys for help???? Please !!!
    I spoke to the shop i bought the chip from and we got talking about that when i set the fsb for chip to 166 it changed the ram settings to host clock + 66 (host clock was set at 100mhz) thus trying to make my 2100 ram(266) run at 2700(333) specs ?
    Is this the problem why my computer wont boot when it is set to 166 fsb cuz it is asking the ram to be 333ddr when it isn't???
    Is my problem going to be solved if i purchase some 2700 ram ?? if so i'll be quite happy, or is my board just not capable of running this 2800+ cpu on it???
    i read up b4 i bought the cpu and i thought i was able to run this chip maybe i read wrong? any help would be greatly appreciated , oh i also flashed my bios to the most recent msi update which was 5.7 i think (AMI bios) and the flash was succesfull (LOL) very worrying!!!!
    anyway hope i have explained my problem well enough as i myself am very confused!!!!
    Thanks in advance
    Dave

    i have just had a look around the net and it looks like there are two versions of the 2600+ available one with 133/266fsb support and the other with 333fsb ???
    Do u know that if i take my 2800+ back to the shop and change it for a 2600+ cpu if i should just get a normal one(133/266fsb) or get the 333fsb version???
    as that link u posted for the mobo supported cpus only lists the 2600+ as being a 133/266fsb chip ???
    I will get some 333ddr ram as well just incase i need this to allow the 2600+ to run correctly
    Also (sorry to be a pain) but can you explain to me how to change the multipliers correctly to get full power from the chip ?? as i read that a 2600+ comes out at 1.91ghz standard , but i was reading a review where the user was told by AMD that it will run higher by changing fsb or multipliers (or both?) ???
    Do u have to set the fsb to 133 and then change the multiplier to a value to up the speed or just keep changing the fsb alone and leave the multipliers alone ????
    Hope you can help me......
    Thanks once again for your replys..
    Dave

  • Need help with tomcat 5.5 and using java classes

    hey there,
    i am trying to set up tomcat 5.5 on my computer at home and have sucessfully done so. i have been trying to use Java classes inside my JSP files however tomcat thows an internal servlet error as follows:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 144 in the jsp file: /order.jsp
    Generated servlet error:
    ProductList cannot be resolved to a type
    An error occurred at line: 144 in the jsp file: /order.jsp
    Generated servlet error:
    ProductList cannot be resolved to a type
    An error occurred at line: 144 in the jsp file: /order.jsp
    Generated servlet error:
    Product cannot be resolved to a type
    i have the classes located as the setup tutorial recommends (root/WEB-INF/classes/) and still nothing works. i would appreciate any help anyone can give.
    thanks,

    Which tutorial are you following?
    As of java1.4, all classes must be in packages for them to work in Tomcat. This means your beans and servlets too.
    Put your beans in a package, and then recompile them, and put them in the right place.
    eg
    package com.mypackage
    public class MyClass ...
    once compiled would go into WEB-INF/classes/com/mypackage/MyClass.class
    Are you using Product and ProductList classes in scriptlet code?
    Have you imported them with a page directive
    <%@ page import="com.mypackage.Product, com.mypackage.ProductList" %> ?

  • Need help with configuring setup cost as variable based on quantity

    Hello,
    I am brand new to PP and my client has inquiry as to how they can make the setup costs variable based on the production quantity. They already have the machine and labor working correctly, so I compared the formulas for machine and labor time with that of the formula for setup time and they are not the same (in fact, setup time does not have any formula). Do I simply need to create a formula for this or are there multiple other steps? If anyone can give instruction on how to set this up it would be of great help.
    Thanks,
    MH

    Check in the Work Center, tab Costing where Setup Time should have a formula using operation quantity / base quantity as ratio.
    Setup time should be included as parameter in the standard value key.
    The formula in the Capacity Tab would have only effect on the capacity evaluation, but no costs impact.
    Edited by: Dario on Feb 2, 2011 7:04 PM

  • Need help with TOMCAT on IIS on Win NT

    Hi all,
    I now that this is not the right place to ask this Qs , but i thought there r many people who might have workd on thi s...
    I have just migratted from JWS to TOMCAT . I 've installed Tomcat with IIS on my NT machine . I've completed all the insructions given in the manual.
    The default path of tomcat is webapps\examples.
    i wannt to run a web application at IIS . Where sud i keep my jsp files so that tomcat sud automatically take them ??

    Plz don't mind, but I'm really getting confused after reading all this....
    Let's start from scrath:-
    1. I installed the dll in dir c:\tomcat\bin\win32\i386.
    2. Made necessary changes in registry.
    3. added a virual dir to IIs (jakarta) which will point to the dll .
    4. added dll as a filter to IIs.
    5. I can see the examples page & run all those examples.
    6. The default path to the tomcat "Doc Base" is c:\tomcat\webapps\examples( I havn't made any changes to that Doc base")
    7. I have a site called isg which has path like :-
    c:\tomcat\webapps\examples\jsp\isg.
    and which is marked as a virtual dir to IIS.
    8. I want only jsp pages to be served by Tomcat, so i appende that line of code in "uriworkermap" properties file.
    9.Logically when isg is accesesd thru IIS, i'm able to browse html pages, but when i try to go to a jsp page, i get error " HTTP Error 405 , 405 Method Not Allowed "
    10. When i checked "isapi.log" , it says " [jk_isapi_plugin.c (452)]: HttpFilterProc [isg/query1.jsp] is not a servlet url
    [jk_isapi_plugin.c (461)]: HttpFilterProc check if [isg/query1.jsp] is points to the web-inf directory " .
    Can u help me out here ??

  • IPAD 2 - need help with the setup

    I am attempting to start up my new IPAD2 by syncing with my Apple Computer.  When I connect, the IPAD2 device shows in Iphoto and not in ITunes which I believe I need to startup... any help?

    Try launching iTunes on your computer and see if the activation process begins.
    After you activate, open iPhoto and select Preferences, then under General select - Connecting Camera Opens - No Application.
    Message was edited by: Demo

  • Need Help with Timeline Setup, Text won't show up in SWF

    I am creating a site for one of my company's restaurants, and I have all of my pages created in flash. I have not done any Actionscript on any of the pages yet. I thought that I would just be able to create each page and take the swf files and import them into a main index page on the timeline and code from there. However, when I imported my .swf files to the library of the main flash file, none of my text showed up at all. I have added the fonts to my library and I tried breaking apart the text, but nothing has worked.
    Also, I don't know how exactly to set up the timeline to link all of my pages, and I have looked in other forums and have seen people reference the online help, but I do not know where to find that!
    I am a mess right now, the site needs to be up by Friday!! PLEASE HELP!

    So I have created all new movie clips in my index.fla file by copying all of my files from another file and pasting them into the movie clip  timeline. I have placed all of my new movie clips in different layers on the index timeline, and have created keyframes 10 frames apart. I have my actions layer with frame labels for each page every ten frames (i.e. tbLabel is at frame 1 in my actions layer and the movie clip is on a different layer at frame one, restaurantLabel is at frame 10 in my actions layer and the movie clip for that page is on a different layer at frame ten, all the way up to frame 120). I haven't put any actionscript in my movieclips except for stop(); at the end of each file. My current actionscript, placed in frame 1 for my first page when the viewer goes to the site is as follows:
    thunderBayBtn.addEventListener(MouseEvent.CLICK, goIndex);
    restaurantBtn.addEventListener(MouseEvent.CLICK, goRestaurant);
    birchBtn.addEventListener(MouseEvent.CLICK, goBirch);
    menuBtn.addEventListener(MouseEvent.CLICK, goMenu);
    eventBtn.addEventListener(MouseEvent.CLICK, goEventLand);
    davEventBtn.addEventListener(MouseEvent.CLICK, goDavEvent);
    rockEventBtn.addEventListener(MouseEvent.CLICK, goRockEvent);
    pewEventBtn.addEventListener(MouseEvent.CLICK, goPewEvent);
    pewEventBtn.addEventListener(MouseEvent.CLICK, goPewEvent);
    giftBtn.addEventListener(MouseEvent.CLICK, goGiftCert);
    downloadBtn.addEventListener(MouseEvent.CLICK, goDownload);
    contestBtn.addEventListener(MouseEvent.CLICK, goContestLand);
    davContestBtn.addEventListener(MouseEvent.CLICK, goDavContest);
    rockPewContestBtn.addEventListener(MouseEvent.CLICK, goRockPewContest);
    function goIndex(event:MouseEvent):void
                gotoAndPlay(1);
    function goRestaurant(event:MouseEvent):void
                gotoAndPlay(10);
    function goBirch(event:MouseEvent):void
                gotoAndPlay(20);
    function goMenu(event:MouseEvent):void
                gotoAndPlay(30);
    function goEventLand(event:MouseEvent):void
                gotoAndPlay(40);
    function goDavEvent(event:MouseEvent):void
                gotoAndPlay(50);
    function goRockEvent(event:MouseEvent):void
                gotoAndPlay(50);
    function goPewEvent(event:MouseEvent):void
                gotoAndPlay(50);
    function goGiftCert(event:MouseEvent):void
                gotoAndPlay(90);
    function goDownload(event:MouseEvent):void
                gotoAndPlay(100);
    function goContestLand(event:MouseEvent):void
                gotoAndPlay(110);
    function goDavContest(event:MouseEvent):void
                gotoAndPlay(120);
    function goRockPewContest(event:MouseEvent):void
                gotoAndPlay(120);
    However, when I go to test the movie, I get "1120 access" errors even though the buttons are named in the properties pane, however, I cannot view that in the file that conatins all of my movie clips because they are movie clips.
    Also, When I go to view the movie with all of my movie clips, all of them play one on top of the other, none of them stop, and the buttons do not work.
    I'm having a hard time figuring out what actionscript I need to use and where!

  • Need help with Tomcat and JSP

    Hi
    I'm a complete beginner with JSP, I have experience with Java, Dreamweaver and HTML, but I'm having alot difficulty understanding JSP.
    I tried doing out some of the tutorial examples but they don't seem to come out right on the browser.
    For Example the Code for Date
    <HTML>
    <BODY>
    <%
    // This is a scriptlet. Notice that the "date"
    // variable we declare here is available in the
    // embedded expression later on.
    System.out.println( "Evaluating date now" );
    java.util.Date date = new java.util.Date();
    %>
    Hello! The time is now <%= date %>
    </BODY>
    </HTML>
    Comes out as
    <% // This is a scriptlet. Notice that the "date" // variable we declare here is available in the // embedded expression later on. System.out.println( "Evaluating date now" ); java.util.Date date = new java.util.Date(); %> Hello! The time is now <%= date %>
    I know this probably really sounds like a stupid question but what could be the problem?

    Those it have to saved on the desktop, or in the Tomcat webapps folder or what?It has to be in a web application under tomcat. The easiest one to get up and running with basic jsp is the webapps/ROOT directory which is where the main index page is.
    [url http://www.coreservlets.com/Apache-Tomcat-Tutorial/]This one is a good basic guide to installing/getting it running.
    Also the tomcat documentation itself is reasonable good. Of specific relevance to you would be [url http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html]Application developers guide which explains the basic layout/structure of a web application.

  • Need help with Tomcat installation

    Hi,
    I am trying to install Tomcat version 5 on Windows 98 machine. I set the environment variables by opening system configuration utility (i.e., running msconfig) -AutoExec.bat then NEW and I typed the path to CANTALINA_HOME . But, still I am getting error saying that CANTALINA_HOME environmnet variable is not properly. Can anybody please help me???

    Don't post a question multiple times or to multiple forums:
    http://forum.java.sun.com/thread.jsp?thread=522025&forum=45&message=2497215
    http://forum.java.sun.com/thread.jsp?thread=522024&forum=33&message=2497199
    http://forum.java.sun.com/thread.jsp?thread=522022&forum=33&message=2497195
    http://forum.java.sun.com/thread.jsp?thread=522004&forum=33&message=2497045
    I made a suggestion at the last thread in this list. Did you try it?

  • Need help with calendar setup with Bluehost IMAP account

    I set up Mail on Mac Mini with Bluehost IMAP account using advanced settings.  Calendar will not work.  Says no secure server.  Advanced settings doesnt have as many fields to enter as Mac Mail.  Tried adding the correct port and SSL.  Have talked to Apple senior level and Bluehost. Any help here?
    OS is 10.9.3
    thx

    Do a search on your hard drive for *.pst Once your get the results view the properties of the one with the current date. Althought you might not have go over the 2gb limit (because Outlook would probably won't open!) I would still check if you're not near the limit. If so, do some cleaning to lower the size of your pst file.
    Also try to see if there's not a common pattern for items that fail to sync. (i.e.: missing email address, duplicate names, etc..)

  • Beginner needing help with servlet setup

    im trying to setup a simple servlet but it seems that my html page will not invoke the java servlet. perhaps it is due to the location of the servlet class, is there a special directory to store the servlet in? or will storing it in the same dir as the html page suffice? Im using j2ee application server here is the html code im using:
    <FORM ACTION="UploadTest" ENCTYPE="multipart/form-data" METHOD=POST>
    What is your Name? <INPUT TYPE=TEXT NAME=submitter> <BR>
    Which file would you like to upload? <INPUT TYPE=FILE NAME=file> <BR>
    <INPUT TYPE=SUBMIT>
    </FORM>
    the directory im working in is:
    C:\Sun\AppServer\domains\domain1\docroot\upload
    which contains the html and the .java servlet
    the servlet is named UploadTest.java
    any advice would be appreciated

    ur class file should be in
    WEB-INF\classes folder
    then u should map this class with the urlpattern in the web.xml file
    u can invoke the servlet only with url pattern ur giving in the web.xml
    i think u get me
    regards
    shanu

  • Need help with correct setup for SuiteLink - Get ACE error message 7078

    When I enable SuiteLink via:
    ace_set_mode( g_ah, ACE_MODE_ENABLE_SUITELINK, TRUE );
    ace_set_file( g_ah, ACE_DIR_SUITELINK, "D:
    PW
    201108
    SuiteLink" );
    ace_set_file( g_ah, ACE_DIR_NAME_PARSING_FILES, (char*)"D:
    PW
    201108
    ncoalink");
    Right after
    ace_open( g_ah );
    I get the following ACE error: 7078
    where the description is: an incompatible version of the name parsing library required to run was found.
    1) I'm not entirely sure where ACE_DIR_NAME_PARSING_FILES should be pointing to. We don't use NCOA but the documention says both SuiteLink and NCOALink use the same parsing files. 
    Inside NCOALink\ there is parsing.dct with a datestamp of 1/13/2009 which seems old.
    I am running ACE800cRev5, just downloaded the July 2011 directories.  ace32.dll version 8.4.5.0
    Thanks!

    Michael,
    A regular ACE job with Suitlink enabled would also use the same parsing files located in ncoalink\.  The parsing.dct included with my ACE 8.00c.05 is also dated 1/13/2009.
    I have little expertise with ACE RAPID, but I would guess that ACE_DIR_NAME_PARSING_FILES should also be set ncoalink\
    Regards,
    Brandon

  • Need help with easy setup - shot in progressive scan 29.98

    i decided to shot this evening in progress scan on my sony vx2100.... i have two clients that are asking for progressive scan... i've had no luck capturing the video.... not sure of the setup settings
    thanks

    you right... i learned last night it is 29.98 but i also got this response from my fcp users group.
    If I understand your problem correctly, you can get the footage into FCP, but it looks like ****.
    That's what happens when you use "progressive" mode on a VX2100 or a PD150. It's not really a true progressive image, and was never intended for professional production use. (I have no idea what it was intended for, frankly, other than a selling point -- i.e., to claim it does "progressive" when it actually doesn't.)
    which isn't good news if it's true...
    any thoughts

  • Installing Elements 11 on Mac. Need help with install error "Setup wants to make changes."

    Installing Elements 11 on Mac 10.8.2. Need help with install error:  Setup wants to make changes. Type your password to allow this."  After entering Adobe password, nothing happens.  Locked from further installation.  Any ideas?  Adobe phone support could not help.

    Just before letting changes (installation in this case) be made on the system, Mac OS prompts for password & this has to be the Mac system password. This password prompt is the system's own native prompt & would accept the system password only. Please make sure it is the right system password (all/admin rights) and the installaion should run.

Maybe you are looking for

  • I need a 4 button app... like this... ( Click )

    Here is what i posted on skype to a coder so its kinda brief... So im running a Quiz soon... ( lol ) I need some code for App OR Website Ok it needs to have 4 buttons 1 saying A 1 saying B 1 saying C 1 saying D. When they press that button on another

  • F-47 for assets procurement before closing year

    Dear Friends, Please advise, is it possible to do asset transaction for the new year before closing or carrying out the year end activities. our situation is FY Jan to Dec. We have not carried our year end activitites yet for year 2009, but now we ne

  • How to rename a particular node in an xml

    Hi All, I have a table called xmltable and I have inserted the below row in to the table, INSERT INTO XMLTABLE VALUES (4,'<?xml version="1.0"?> <Node_1 empID="202" empName="Pro1" oper="Update"> <Node_2 empID="20" empName="Pro2" oper="Update"> <Node_3

  • Neuer PC fürs Schneiden, VFX

    Hallo, ich brauche einen neuen PC für meine Videos, denn mein PC ist sehr langsam und stoppt doch zu oft beim schneiden. Was soll er können? Mein Pc soll solide und schnell sein. Er soll Programme wie Adobe Premiere, After Effects, Blender und Davinc

  • How to import mpeg files downloaded from a Google Drive?

    I recently downloaded 18 large clips of a recital which were in .mpeg format. iMovie refused to import any of them. Is there a way to do it and make a movie out of them? The combined files total almost 2 GB. Thanks.