Tomcat 4.0.4 and Win2k Installation

I've installed Tomcat 4.0 on different systems and have never had a problem before, but I seem to be having a problem when trying to install it on my Windows 2000 Server machine.
I installed the J2RE 1.4.0 and then Tomcat 4.0.4 and also set the appropriate Environment Variables (CATALINA_HOME and JAVA_HOME).
The installation, at first, appeared to work just fine. I could start up the server and pull up the sample sites without any problems... except for any JSP page. When I try to open a JSP page (even the sample JSPs that come with the installation) I get the following error:
============================================
exception
javax.servlet.ServletException: sun/tools/javac/Main
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
root cause
java.lang.NoClassDefFoundError: sun/tools/javac/Main
     at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
     at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
============================================
After being very confused for a day, I have uninstalled and re-installed several times and have recently noticed that there IS a problem with the installation. Near the beginning of the install, in the log window that it displays during installation, I see a line that says:
============================================
Copy to: C:\apache\Apache Tomcat 4.0\common\lib
Copy failed
============================================
Has anyone run into this problem? I can't figure out why this is happening. (or even WHAT the problem is exactly!)
There are files that are in the directory that is specified, so it's definitely not a permissions problem.
I haven't seen any other error or warning messages in the log, so I'm assuming this is the problem. (But I suppose it could be something entirely unrelated.)
Any ideas? Anyone? Anyone?

Well, thank you.
(Sometimes I guess you just need someone else to look at the problem.)
I downloaded the RE instead of the SDK. (Clicked on the link in the left column on the download page instead of the right column. DUH!)
I guess I just figured that since Tomcat installed correctly, my java install was fine.
I'll try it over again, but I'm sure it's fine now.
Thanks again!

Similar Messages

  • Installing Solaris 9 on an x86 platform with win98 and win2K

    Hi,
    There is a Pentium P4 (2.4 GHz) machine with a 40 GB hard disk...
    This has 1 primary partition and the remaining is the extended dos partition. In effect there are the following logical drives - C, D, E and F. These are FAT32 partitions and have WIN98 and WIN2K (server) installed on them.
    There is a free space of abt 8 GB remaining on which i am trying to install Solaris 9 (via CD). But am just not able to do so.
    During the process, i get to the step saying that my disk is to be partitioned and that i could either choose the DEFAULT LAYOUT or manually partition the disk with the fdisk.
    Default layout indicates that there would be 1 x86 partition (primary, boot) and the remaining would be a solaris partition - implying that all my other data would get formatted out!!!
    When i try to use the fdisk to manually partition the disk, the free space mntd above does not show up!!!
    But this is seen when i use the DOS fdisk - i.e. i could create a logical drive on the extended dos partition...
    Can some one please help me install the Solaris in the free space i have ?? Thanks.

    Hello!
    There is one simple method also..
    Instead of Installation disk of Solaris, insert the Software 1/2 Disk, and try to follow the actuall Suninstall method of installing Solaris. Here you will get the option that how to utilize the free space.
    I myself have installed more 5 OS on a single Hard disk :) this way. Try this method

  • Tomcat 4.1.18 and Firewall e.g. ZoneAlarm

    Can someone tell me if there are any known problems / conflicts between Tomcat 4.1.18 and a firewall such as ZoneAlarm by Zone Lab? My Tomcat installation on Win2000 went smoothly, and it seemed to have started when I ran "startup" from "\ApacheGroup\Tomcat4.1\bin", (and I am using all default configuration under "%TOMCAT_HOME%\conf"), but the browsers (IE5 and Netscape 7) can't access "http://localhost:8080" - it returned "This page cannot be displayed".
    When I try running "shutdown" it threw the folloing Exception :
    Using CATALINA_BASE: d:\ApacheGroup\Tomcat4.1
    Using CATALINA_HOME: d:\ApacheGroup\Tomcat4.1
    Using CATALINA_TMPDIR: d:\ApacheGroup\Tomcat4.1\temp
    Using JAVA_HOME: C:\jdk1.2.2
    Bootstrap: Class loader creation threw exception
    java.lang.IllegalMonitorStateException: current thread not owner
    at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
    StandardClassLoader.java, Compiled Code)
    at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLo
    ader.java, Compiled Code)
    at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
    sLoaderFactory.java, Compiled Code)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled C
    ode)
    Is there another popular firewall I should be using instead of ZoneAlarm?
    Please Help!

    Please dont be offeneded if I am stating the very obvious, but have you made sure that port 8080 is unlocked in the firewall software?
    If you want you can modify the listening port of tomcat from 8080 to 80. Just search through the server.xml file in the conf directory till you fing 8080 and replace it with 80.
    Firewall software usually allows access to port 80.
    J

  • Win2k installer crashing w/ SATA RAID

    I created a slipstream CD of Windows 2000 Pro w/ Service Pack 4 and followed the instructions in the manual to copy the RAID drivers to a floppy.  My disks are installed and configured for a stripped SATA RAID.
    When I run the Win2k installer, all goes fine as I supply the RAID drivers from the disk.  The installer chugs away for a little while until the bar at the bottom displays "Starting Windows".  Then, after it thinks a little while longer, it crashes to a BSOD.  
    I tried this a couple times to be sure it wasn't a fluke, and also tried it with the supplied "XP only" driver disk, just to be sure.  Every time it crashes.  The error reads:
    "PROCESS1_INITIALIZATION_FAILED" and also has the standard useless info about trying it again or asking your sysadmin.

    I also copied the drivers from the Win2k directory on the MSI CD.  However, I am trying to run my two SATA drives in the striped RAID, and the basic Win2K CD (SP1, in my case) would not recognised the RAID, even using the drivers.  It would still just see two separate 80gb HDs.  I read elsewhere on this board that only SP3 or higher will recognise the RAID.
    BTW, I am using the beta 1.43 BIOS, because it was nesessary to resolve the erroneous temperature reading issue.

  • I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but th

    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

    If you are searching the registry, check for the "Senforce" string. It should be at HKLM\Software\Senforce
    Try running the install program for the ZSC with the following command line:
    setup.exe /V"STUNINSTALL=1"
    If you've specified an uninstall password, try this one instead:
    setup.exe /V"STUNINSTALL=1 STUIP=password"" (please note the double quote at the end)
    Let me know if that helped you.
    Daniel
    >>>
    From: Andy_DeWees<[email protected] du>
    To:novell.support.zenworks.endpoint-security-management
    Date: 2/5/2009 12:52 PM
    Subject: I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but the login prompt did not appearfor ESM client or the icon was not in the systray. Everything seems towork, besides at times (a couple times today) it terminates his ethernetcard/connection. I would re-image his computer but he has severalapplications and
    I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
    I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
    I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
    Windows xp sp3
    ESM 3.5.154
    Thanks,
    Andy

  • Home Environmen​t - How to set up Update Retriever (UR) and Thin Installer (TI) in a home environmen​t

    Serenityvalley wrote:
    You need to go to This Page and download just about everything on it -espeically the  System Update Deployment Guide and start reading.  It'll take you a few hours to learn what you need to do and implement it if you are familar with editing system registeries and you have some luck and everything goes well.
    You do NOT need to edit registry, just use Thin Installer instead of System Update on the clients. And there is no need to wade thru the deployment guide if you are setting this up in a home environment for just one or two clients.
    Edit: Note that Thin Installer does not run on Vista SP2 (neither does System Update.)
    Here are the few simple things you have to do:
    1. Download Update Retriever (UR) and Thin Installer (TI) from here.
    2. Install UR on one pc and TI on all clients you want to keep updated. UR installs into the Start -- All Programs -- Thinkvantage folder, TI installs into c:\program files\thininstaller.
    3. To initialize Update Retriever:
    a) specify the download folder, pick a place all clients can access. Create a new folder, TI will be confused if there is other stuff in it.
    b) change the settings to Severity -- Optional (assuming you want to see critical, recommended and optional downloads in the list), License -- Do not display and Status -- Active. After clicking next you enter the machine type, the op system and its language for each client you need to keep updated. Note that unless you change status to active everything will download as "test" and thus not be installed by the Thin Installer.
    4. Run the download, about 1 - 1.5GB for the first type, opsys and language combination  and an additional 0.5 - 1GB for each additional type depending on amount of overlap. You can be selective what you download but if you are an average home user -- just download all the items for your type/opsys/language combination(s) -- Thin Installer is a stripped down version of System Update and will decide what to install on the individual client. This is a one-time download, next time you run Update Retriever it will just download new drivers.
    5. To initialize TI on each client, copy the program from the Program Files directory and paste a shortcut to the desktop. Then rightclick on the shortcut and choose Properties, and in the target field of the shortcut tab after "C:\Program Files\ThinInstaller\ThinInstaller.exe" add the following: -repository your_UR_download_directory.
    6. Run the Thin installer on each client, it will perform exactly as System Update did, down to making the same mistakes that System Update did.
    7. As the date is getting close when Windows Update will start distributing Vista SP2 you may want to consider using Microsoft's SPBlockerTools preventing SP2 installation for up to 12 months.
    8. Debugging Tips
    TI ending with message An error occurred while gathering user information is reported when running under Vista SP2 -- TI will not run in SP2. 
    Getting TI to "see" the database downloaded by UR is the main problem. If TI ends with a message saying corrupt or not found database you probably made a spelling mistake in the directory specified in the -repository parameter. If TI ends with a message saying no applicable packages to install it can mean a number of things:
    a) If you are unused to modifying the parameters in a shortcut you may have added -repository to the second field in the shortcut tab instead of the top field labeled Target, the two fields look very similar or you just made a typo in "-repository".
    b) Open UR again and first choose Modify settings on the left and double check that the directory there is the same directory you specified in -repository. Then choose Manage repository -- Update view and double check that all packages have status Active. If they don't it's not necessary to download again, just select all and hit the modify button to change status from Test to Active.
    c) In C:\Program Files\ThinInstaller\logs there are update logs from TI. Open one using Notepad and in edit menu search for the string
    Message: 'Share name' to use:
    This will tell you in which directory TI is searching for the updates. If it can't find a -repository parameter it uses an empty default databse
    d) If you used System Update regularly up to when it stopped working on April 1 and if you have an older model with not so many new driver updates it may actually happen that there are no new updates for your machine (even though you downloaded a lot.) Go to here and enter all fields except model to see what Lenovo shipped after April 1. (Don't click on driver matrices, staying on the downloads and drivers pages will give you a list in chronological order with the ones after April 1 at the top.)  Also  be aware that the database UR downloads from is at least 2 weeks behind when the drivers first become available on the web. Right now, the only new download in the database  applicable to most notebooks after April 1 is the Access Connections 5.22 driver. To check what release you have installed open Access Connections and go to help.
    I just did a clean install of a Vista64 system on my T500 and after installing the first few drivers manually (including drivers for harddisk and ethernet) let Thin Installer install the remaining 36 items for me. The only item left to fix was the known bug in the Ricoh 4 in 1 card driver SU installation. (For a clean install you need to run TI or SU more than once, it doesn't find all drivers the first time.)
    Message Edited by JaneL on 05-08-2009 10:30 PM
    Message Edited by zilla on 2009-05-28 12:48 PM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

    koolzero wrote:
    When I start TI after I pointed it to my repository I get a message that no packages applicable were found.  I did not download all the updates just a few to test it, will it not work unless all updates are downloaded?
    Did you change status from test to active in UR before downloading? If not you can change the downloaded items in the manage repository menu.
    Assuming the items you did download were not already installed on your client with TI it should work.
    Message Edited by zilla on 2009-05-06 10:23 PM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

  • HT201628 can someone please help .. my ipod is not recognized by itunes in windows XP .. i've uninstalled and re-installe i tunes about 10 times now to no avail ?? thank you .. dave

    can someone please help .. my ipod is not recognized by itunes in windows XP .. i've uninstalled and re-installe i tunes about 10 times now to no avail ?? thank you .. dave

    Start here:
    iOS: Device not recognized in iTunes for Windows

  • HT5037 I still get the message to download the app, but I did, and the installation was allegedly successful.  This even happens after a reboot

    I still get the message to download the app, but I did, and the installation was allegedly successful.  This even happens after a reboot

    I guess that was a bit cryptic.  I'm trying to update iPhoto from system 10.5.6, a PowerPC system, to 10.8.  The app I downloaded is iPhotoLibraryUpgrader.dmg. I open that and I see Iphoto Library Upgrader.pkg.  Igo through the install, which says it completes successfully.  However, when I double-click on the iPhoto icon on the dock, I get the oroginal message that the upgrade must be installed.  I hope this gives enough information to diagnose the problem.  I apologize for the first message's laack of detail.

  • Unable to install Adobe Digital Reader 3.0. Keep receiving error message "migration has stopped working" and then installation fails.

    Every time I try to install Adobe Digital Reader 3.0 I get an error message "migration has stopped working" and the installation fails. Is there a solution to this?

    Trying to install. Installation fails and I am unable to open it to migrate
    epub books to transfer to ereader
    In a message dated 8/31/2014 9:50:51 A.M. Eastern Daylight Time, 
    [email protected] writes:
    Unable  to install Adobe Digital Reader 3.0. Keep receiving error message 
    "migration has stopped working" and then installation fails.
    created by kglad (https://forums.adobe.com/people/kglad)  in 
    Downloading, Installing, Setting Up - View the full  discussion
    (https://forums.adobe.com/message/6688648#6688648)

  • Something happened and your installation of Windows 8.1 couldn't be completed

    I have a brand new Acer with Win 8 installed. I've removed McAfee. Other than that the machine is as delivered.
    Trying to download 8.1 and install it from the store. It sits there for a couple of minutes then says:
    Your Windows 8.1 installation couldn't be completed
    Something happened and the installation of Windows 8.1 can't be completed.
    Now apart from this being really annoying could anyone have come up with a less useful message?
    I have tried it several times. I've run the compatibility util and it passes. I've tried the store without logging in, then tried the store with logging in.
    I've tried it in Firefox, tried it in IE.
    Same result every time.

    OK, so I posted 2 days ago about this issue, and I resolved it yesterday.  I essentially performed a "refresh" under Windows 8, which removed a lot of the updates and applications that could be potential issues.
    I then had to go to the Sony website to re-install the latest drivers, SW and driver patches related to my Vaio Duo (I had already updated the firmware and Bios -- necessary to install Windows 8.1--).  I then had to re-install all Windows 8 updates,
    and magically, the Windows 8.1 update started to download when I clicked on it in the Windows Marketplace.  I do not know what was the source of the problem, but the refresh definitely got rid of it.  It is a long process however as a lot has to
    be reinstalled to bring the refreshed system to its full functionality with the latest manufacturer and Microsoft updates for Windows 8.
    I can't see how a non-technical user could perform all these steps to upgrade a recent tablet to Windows 8.1!
    Good luck!
    Olivier

  • I want to do a clean install of Windows 7 Pro on my computer and my installation of Adobe Design Premium CS3 is not functioning. I cannot start it to get in and deactivate the Creative Suite installation.

    I need help with deactivation.
    I want to do a clean install of Windows 7 Pro on my computer and my installation of Adobe Design Premium CS3 is not functioning. I cannot start it to get in and deactivate the Creative Suite installation.

    if you're using the same computer hardware to reinstall your cs3, you don't need to deactivate first.
    but if there's a significant hardware change you can ask adobe support for an activation count reset. contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • Lr and Ps installation problems.

    i just uninstalled my photoshop cc and lightroom  5 app after i purchased the creative cloud for photography and i am trying to reinstall the apps but i am unable too, can someone help me?

    I had possibly the same error...
    Windows installer looking for the LR 1.3 msi but could not find it (msi is extracted to a temp location on drive). The dialog box appeared asking for it to be manually located. Win Installer refered to an unavailable network resource. Install failed with an error, 1714(?) unable to remove older version.
    I ran a search on C drive and located the extracted msi and directed installer to this location but still would not install.
    Thought that there may be a problem left by a previous LR install so ran MS Windows Installer Clean Up Utility, selecting "Adobe Photoshop Lightroom" only and click remove. (Warning: this can toast the app's install and require a total reinstall--I was luck).
    Ran LR 1.3 installer and upgrade completed fine. Did have to tell LR 1.3 where my image folder on the ext. hard drive was and LR ran a check - catalog vs folder to ensure integrity.
    All fine now.

  • TS1702 ?Some of my applications have been saying I need the latest version of Adoebe Flash Player.  When I try to download it I get the following error message:  'Frame Load interrupted' and the installation stops.  Any suggestions

    Some of my applications have been saying I need the latest version of Adoebe Flash Player.  When I try to download it I get the following error message:  'Frame Load interrupted' and the installation stops.  Any suggestions?

    You can only use apps downloaded from the App store, not via a browser. There is no Flash for any iOS device including the iPod.

  • I can't upgrade my iPhone 4 to iOS 5.1.1 from the iPhone using wifi!! the installation start but before finishing an error occurred and the installation stop! help

    I can't upgrade my iPhone 4 to iOS 5.1.1 from the iPhone using wifi!! the installation start but before finishing an error occurred and the installation stop! help

    I will try, and what happen is that after it is intall and start "Preparing upgrade" the installation stop and a message occure: An error occure download the iOS 5.1.1" thas all.
    But now it is too late because the iOS 6 is now availabel, is it recommendet to donwload iOS 6 on iPhone 4 or not?

  • Tomcat 6.0.9 and jsf 1.2 and jstl 1.2 using *.tag file error

    I using :tomcat 6.0.9 and jsf 1.2 and jstl 1.2
    My web.xml is at version 2.5 and I am using a custom tag (with the .tag extension). I am trying to use the http://java.sun.com/jsf/html library and values from my attribute. I'm new to this so I figure I must just me missing something.
    I am run http://192.168.1.1/test.jsf laster,view:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:212)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
         org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
         org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:190)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.9 logs.
    if go to /WEB-INF/tags/test.tag ,delete line: <h:outputText id="test" value="hello!" />
    run http://192.168.1.1/test.jsf is OK!(no error),So I guess error for "<h:outputText id="test" value="hello!" />" line ,why in test.tag file do can't use the "http://java.sun.com/jsf/html " library,please help me.......
    Here is file WEB-INF/web.xml content:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements. See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License. You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <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_5.xsd"
    version="2.5">
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <!-- Faces Servlet -->
    <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>
    Here is file /test.jsp code:
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <f:view>
    <html>
    <head>
    <title>test</title>
    </head>
    <body>
    <!-- body start -->
    <h:outputText id="myinfo" value="test success" />
    <tags:test/>
    <!-- body end -->
    </body>
    </html>
    </f:view>
    Here is file /WEB-INF/tags/test.tag code:
    <%@tag pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <h:outputText id="test" value="hello!" />
    Thanks for any help.

    Don't know if it's important, but there is no schema avaiable at: http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd
    I found the right one at: http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
    /perty
    Message was edited by:
    perajonsson

Maybe you are looking for