Newbie problems, Tomcat 4.1 not seeing package

Hello,
New to the whole jsp development scene and I seem to be tripping up on the first hurdle. Any one with a few minutes and some patience to point me in the right direction would be greatly rewarded in the afterlife : )
I have created 2 class files and compiled them in their package folder "shopengine".
My directory structure for my TomCat 4.1 website is shown here:
C:\Tomcat 4.1\webapps\ROOT\aardvark\WEB-INF\classes\com\shopengine
where aardvark is my main site folder that contains all my jsp and html content.
As per convention, I have put to denote that they are contained in a folder called shopengine, within a folder called com.
I then created a simple jsp page named testpage.jsp in NetBeans 3.5.1, (see code below) and I built and compiled the page with no errors showing.
When I open the page in my browser with TomCat running I get a message indicating that my package don't exist. - see below.
There must be something I am not doing here that is completely missing me as everything seems to be correct.
I have mounted the filesystem in NetBeans, but I have not turned it into a web module, is that what is wrong?
<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%@ page import="java.sql.*, java.util.*, com.shopengine.*" errorPage="errorpage.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<p>This is a test page to see if the classes importing from package</p>
</body>
</html>
Tomacat error as shown below:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
C:\Tomcat 4.1\work\Standalone\localhost\_\aardvark\testpage_jsp.java:9: package com.shopengine does not exist
import com.shopengine.book;
^
1 error
-----------------------------------------------------------------------------------------------------------------------------

Don't put the aardvark directory under ROOT; put it directly under TOMCAT_HOME/webapps.
The URL to invoke your app will be:
http://localhost:8080/aardvark/YourJSP.jsp
Don't forget to restart Tomcat after you've moved everything.

Similar Messages

  • InDesign Not seeing Packaged Changes

    We're having an intermittent problem with InDesign not seeing changes made from an editors returned package.
    Version:
    InDesign CS3 5.0.4
    InCopy CS3 5.0.4
    . InDesign file is on server
    . Exported InCopy files (.incx) is in a different path on same server
    . "indp" packaged files were returned via email and copied to the server (tried both in location of InDesign file as well as the ".incx" files
    . Proceed through normal workflow for "remote" editor, collaborating via email
    . After double clicking on the returned "indp" file InDesign opens the appropriate InDesign file (if it isn't already opened) but shows no modifications in the Links or Assignments palette. The "Packaged" icon has disappeared from the assignment. Big clue here - the links of the ".incx" files are still pointing to the original, unmodified, files.
    It appears that though the packaged file opens the appropriate InDesign file and tells the file that the package has returned, it does not link it's own unpackaged modified files in with the InDesign file. Is it because the double-clicking (uncompressing) of the indp file is putting the uncompressed package within the users local "Documents" folder?
    I should point out that we are not having this problem consistently.
    Any suggestions?
       ...Ron

    Unchecking the birthdays option definitely knocked something loose - but iTunes still had old stuff listed.
    I had good results with removing everything from the ~/Library/Calendars folder and emptying the trash (with iTunes & iCal) both exited. I started iCal and it was back to the default - as if I had never used it - but then for reasons I'm not totally sure of, everything showed back up. My subscriptions all reappeared and I had calendars of the same name as my subscriptions appear in the regular section. I deleted all those and then quit & restarted iCal. When I started iTunes, everything was perfect - now everything appears normally and everything syncs.
    As always, YMMV.
    Good luck!
    -pmod

  • Having problems with one computer not "seeing" the Airport base station.

    Aloha:
    I have an Airport router hooked up to the internet via Cable. I have a laptop and G4 desktop talking to the the Airport Base Station via their respective Airport cards. This allows me to get to the internet with both of my computers. This system has worked just fine for several years, but recently my desktop computer has started to be unable to connect to my Airport Base Station. At first it was intermittent, but now it has stopped completely. The laptop continues to be able to get to the internet via my Airport base station.
    The desktop is running OS 10.3.9 and the airport card in the desktop passes the hardware test that came with the laptop. But it can no longer see the signal from the ABS.
    What might my problem be?
    Dan

    Hi Clinton:
    I have tried that to no avail. I don't see any
    signal, so I see no networks "in the box below" to
    choose. My airport card does not see a signal, but
    the airport card checks out ok in the hardware test.
    Thanks for replying, Clinton, much appreciated.
    Dan
    Have you tried choosing "other..." and then entering the name of your network?

  • (SOLVED)Problems during installation, can not refresh package database

    I have been using Arch for a year (dual boot) but for some reasons I had to do a reinstall. It worked fine, but I did some things wrong and I had too reinstall (again, befor even entering the system).  This time (and all the other times i've tried today) I can not complete the "select packages" step, it either freezes at "Refreshing package database" or gives me a message that it just can not be done (sorry, I do not have the exact words atm). I have internet and I've been trying a million different mirrors (including the one I used when it worked). What to do, what to do?
    Worth noting is that I had the same problems a year a go, but it solved it self, no idea what I did then.
    I would really appreciate if some one knew what was going on - it is driving me crazy beyond comprehension!
    EDIT: maby this should have been pasted in the installation section?
    EDIT2: Title
    Last edited by elprofundo (2011-12-18 16:15:29)

    I am sorry, it is during the installation and no command is in use (correct me if I'm wrong) - the tty7 is just reading "Synchronizing package database", the last times i've tried it didbn't 't continue for hours, other times it gives me an error message (which I haven't written down, sadly). I'm trying again atm.
    EDIT: The error message I get is just
    "error: failed retrieving file 'core.db' from mirror.optus.net
                 //                                           mirrors.kernel.org : Connection timed out
    Last edited by elprofundo (2011-12-15 21:47:59)

  • Using firefox for internet banking with ING (the netherlands gives a problem that I did not see before.

    When trying to approve the payment (via TAN code) Firefox does not continue to finalize it. Contact with the ING bank confirmed this problem popped up. They advised to use Internet Explorer instead. Indeed with Internet Explorer everything worked OK. ING suspects Firefox not accepting their website as a save site anymore. Can I define ING as a save website to overcome the problems and if yes where do I do this?
    In the ING system as soon as you want to pay the system asks for a Tan code which is provided by SMS. You fill in the TAN code and press the continue button. Normally then the payment is made. Unfortunately this did not work anymore. It worked in the past. Other functionality on the ING sites worked OK!

    i didn't read a lot of your 2nd paragraph, but it seems like the password is the issue, right?
    do a true clean install
    reboot your machine and hold down command+option+r, you should see a spinning globe - if you don't see the globe or anything that reads internet recovery, shut down and try again
    at menu, chose disk utility and once there, find your HD on the left side, select the physical name and erase it as mac journaled
    exit disk utlity
    at menu, choose install OSX
    this time, when it asks for a password just hit continue, it will let you complete without a password
    you should be able to get into your laptop, now figure out what password you'll be able to use with your kb issue

  • Inheritance problem: base class does not see stage instances

    I'm writing a series of Search windows for an application. I create the FLA files on the stage, each has 3 simple buttons: next_btn, prev_btn, and close_btn. Those all have event listeners which call findNext(), findPrev() and closeWin() respectively. Each search window looks for different things, some with a text box and some with a combo, etc.
    So I have a base class com.search that extends Sprite and adds the eventListeners at startup (actually, on addedToStage). Like this:
    function isAddedToStage(evt:Event){
       next_btn.addEventListener("click",findNext);
       prev_btn.addEventListener("click",findPrev);
       close_btn.addEventListener("click",closeWin);
    Then I write the appropriate find functions in each derived class.
    For example, I have
    package com {
         import com.search;
         class searchText extends search {
    In my FLA file, I set the class to com.searchText.
    But when I compile and run the window, I get runtime errors:
    ReferenceError: Error #1065: Variable next_btn is not defined.
    at com::search()
    at com::searchtext()
    If I add the event listeners in the derived class rather than the base, it works fine. But that seems to defeat the purpose of inheritance, plus it infers that I won't be able to derive new classes/swfs from those derived classes.
    So the question is, how does one reference objects created on the stage from a base class of that document's class?

    Found it. After messing around with trying dynamic classes and overriden functions that returned the desired button (that worked, but was ugly.)
    Simply and silly once you know how.
    You have to explicitly reference the stage objects (or any newly declared methods or properties) in the derived class as members of "this" in the base class - so:
    class Search {
    function isAddedToStage(evt:Event){
       this.next_btn.addEventListener("click",this.findNext);
       this.prev_btn.addEventListener("click",this.findPrev);
       this.close_btn.addEventListener("click",closeWin);
    function closeWin(e:Event){
    and then create the buttons on stage in the FLA using the derived class.
    You can also declare the event handling functions in the base class as empty functions and then override them in the derived classes. Or fill in the functions in the base class to throw a runtime error, and then override - that's as close to an abstract class as you can get, I think.

  • Boot-archive problem - failsafe kernel does NOT see disks!

    Is there a way to fix the boot archive in 'normal' mode? I can see the disk in 'normal' mode, but not in 'failsafe'.
    HP585 w/RAID5 SAS disks, 1 logical volume
    Thanks!
    Message was edited by:
    bdeeley

    Thanks. I had actually tried that with the boot mode set at UEFI and it didn't work, but I gave it another try set at legacy and it works fine.
    The documentation for this seems confusing to me, though. Isn't this RAID card considered a mezzanine card? The documentation here says to enable the onboard controller to get a mezzanine card to work:
    http://www.cisco.com/en/US/docs/unified_computing/ucs/c/hw/C200M1/install/RAID.html#wp1016766

  • [solved] NetworkManager does not see the wifi channel 13

    Hello!
    I have a problem that NetworkManager did not see the wifi network, which broadcasts on channel 13. How to install the drivers for the network to be visible?
    Last edited by ghsaehas (2015-01-18 16:57:39)

    Install and configure crda:
    https://www.archlinux.org/packages/core/x86_64/crda/
    http://wireless.kernel.org/en/developer … atory/CRDA

  • ITunes does not see iPod after last updates

    It seems that many people have this same problem, but I do not see any solutions. I recently updated my iTunes to the latest version and did the iPod updaters. Since this, my computer at home and work no longer recognizes my iPod. I keep getting something asking me to restore my iPod, but i have a bunch of pictures on it that I do not have saved anywhere else. Doing a restore will erease everything on my iPod.
    please help.
    Jaryn

    Well, that was annoying.
    I just went through the same grief being reported by many other users here: I updated my iTunes on Windows XP, and it stopped recognizing my iPod. (Plugging in the iPod would actually kick off iTunes, but after coming up, iTunes refused to see the iPod.)
    It's working again, and it did seem to be related to network drives. However, I wasn't very disciplined about trying a single step, seeing if it worked, then proceeding to the next step, so I can't guarantee which specific step(s) below that actually solved the problem.
    But for what it's worth:
    1. I recently (a day or two before updating iTunes) mounted a new network drive, assigned to drive "G:". My iPod has been "F:" since I first installed it.
    2. When iTunes stopped seeing my iPod after updating, I tried resetting the iPod's drive assignment to "H:".
    (Unfortunately, I also tried everything else, including restoring the iPod to factory settings...it's now updating something like 1500 tracks.)
    3. Resetting the iPod's drive letter as suggested in another thread didn't seem to do anything by itself, however I ALSO UNMAPPED THE NEWER DRIVE ASSIGNMENT DESCRIBED IN STEP 1.
    4. Now here's the other stuff I did before trying it again, which may or may not have contributed to the fix:
    - I undocked (it's a laptop)
    - I moved the USB cable from the docking station
    to one of the laptop ports
    - I rebooted
    After doing this, I plugged in the iPod, and ALLELUIA BROTHERS AND SISTERS, it was RECOGNIZED ONCE MORE!
    Give me an AMEN.
    Hope this helps somebody else to get going.

  • Usb not seeing mp3 player? brand new s10!

    brand new s10, all ok  but neither usb port  seeing mp3 player.(sandisk clip) mp3 used on other computers, no problem.

    USB port does not see MP3 player. I looked at "support & downloads". Nothing there about USB's.
    This is crazy, I have never had to download drivers for a NEW computer to make the USB's work. 

  • Can not see running jobs from, package

    I have a problem with processing parallely runing jobs:
    I am creating another immediately runned jobs in a main job. Those two parallel jobs (2 loads from different databases) have to be finished before I run next operation (working out loaded data). Problem is that, after starting those 2 parallel jobs, I can not see them by select from ALL_SCHEDULER_RUNNING_JOBS that is executed immediately after I create those jobs in a package. If I take a look into ALL_SCHEDULER_RUNNING_JOBS from anonymous statement I can see all my running jobs. Let's sum it up:
    1/ Start of main job
    2/ Running 2 immediately created jobs (load data)
    3/ Checking in loop if jobs created in step 2 are still running
    3.1/ Jobs are running (ALL_SCHEDULER_RUNNING_JOBS check) - sleep for a
    while - It never happens - can't see any running jobs from select executed in
    package but can see them in
    anonymous statement
    3.2/ Jobs finished - start processing loaded data
    Can somebody help me with this task?
    Thanks alot!
    Jakub

    Hi,
    There is no reason a job should be visible from an anonymous block but not from inside a job. There are two things that may be happening here.
    - jobs scheduled to run immediately my not start running as soon as they are created/enabled, you may need to wait a bit before they start running (they will appear in all_scheduler_jobs immediately but maybe not all_scheduler_running_jobs immediately)
    - you may be running into privilege issues. Is the user that executes the anonymous block the same as the user that the job is running as (the job's schema) ? If not maybe the job user does not have privileges to see the job (you can grant alter on the job to the user to ensure this).
    Can you see the jobs in the all_scheduler_jobs view from within the job with status RUNNING ? If you can see jobs in all_scheduler_jobs as RUNNING but not in all_scheduler_running_jobs then this is a bug of some sort.
    Thanks,
    Ravi.

  • I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.

    I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.

    Cannot see what files ? Music (synced music should appear in the iPod app), films/TV shows (Videos app), documents ... ?

  • Can not see the menu of New Business Components Package in jdeveloper

    I am just follow the developer guide.
    and when I create the Business Components Package, the guide said that
    ========================================
    In the JDeveloper Navigator, select the OA Project where you want to create your package.
    From the main menu, choose File > New to open the New Object Gallery.
    In the Categories tree, expand the Business Tier node, and select Business Components (BC4J).
    In the Items list, select Business Components Package to open the Business Components Package Wizard. You can also right-click on the OA Project and select New Business Components Package to navigate directly to the Business Components Package Wizard.
    =====================================
    In fact I can not see the menu about Business Components (BC4J) in the File/new/buisness tier/Business Components (BC4J).
    I can only see the File/new/buisness tier/ADF Business Components.
    And can not find the "Business Components Package" under ADF Business Components either.
    I am using the JDev Extension for OA (p5856648_R12_GENERIC.zip) and EBS 12.0.0.
    And I create an OA Workspace and OA Project.
    can anyone help?

    James,
    Use search facility on forum. Chk thread Re: OAF Toolbox Tutorial Help - Search
    --Shiv                                                                                                                                                                                                                                                                       

  • In my Itunes account, I can not see my list of songs in my files, nor can I look for individual songs in the Itunes store. Basically, anywhere there are list, I can not see them. What can I do to fix this problem?

    I am having trouble with my Itunes account on Windows XP . I can not see any list in my music files. The songs are there but I have to click on each song to see what it is. Also, in the itunes store, I can not see any pull down list or use my search bar. This happened when Itunes updated it's look. I can pull it up on my phone and see all of my purchased music. I would really appreciate knowing how to fix this problem. Thank you.
    Traci Lemley

    Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro.  If I want to read on my mac I have to use Kindle or Nook.  Which means any book I've already purchased through iBooks has to be read on my iPad.  Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.

  • When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and th

    When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and they no longer play in the monitor window. I hear the sound track, but do not see any video. Have I changed some setting that controls video playback in the monitor window?

    Randy Ruttger
    Thanks for the follow up.
    Missing in this equation were the version of Premiere Elements that you were using and the computer operating system on which it was running. But...
    The deed is done. But.....Until now and after you went ahead and moved to version 12, we now learn what version of Premiere Elements you were using. We still do not know the computer operating system involved.
    You just said Premiere Elements 10. Premiere Elements 10 is hit by a serious known display issue if the computer uses a NVIDIA GeForce video card/graphics card. In this issue, the only remedy is to roll back the driver version to about May 2013. The description of the problem and how to do the roll back are described in one of the Announcements at the top of this forum. What video card/graphics card does your computer use?
    On another front, Adobe will be releasing a new version of Premiere Elements any day now. No one but Adobe knows the feature set for the new version. That type of information is announced at the moment of release of the new version.
    So the remedy to the problem that you presented in this thread could have been...
    1. Rolling back the NVIDIA GeForce driver version to about May 2013 if possible (Windows 8 or 8.1 64 bit, may not be possible)
    2. Move to another version of Premiere Elements (which you did)
    I offer the above for consideration so that you can review your decisions. We are pleased to learn that Premiere Elements 12/12.1 works for you.
    Please do not hesitate to ask questions and ask for clarifications, but remember that the answers are in the details.
    Best wishes,
    ATR

Maybe you are looking for

  • Data is not getting displayed into a table

    Hi, here i used 2 views Personal info view :--user fill the details in this and clicks go...Then the user entered details should be displayed into a table view... In context of personalinfoView i took a node as "personal" and added the details as att

  • Bootcache.playlist no such file or directory, slow booting 10.7.2

    Hi guys, I have this problem after updating to Lion 10.7.2 : There are many threads addressing a similar problem, but all the fixes mentioned there did not work (deleting bootcache and checking access rights) and also my problem is different, because

  • How to get the properties of application anywhere in the project?

    Hello, Application      |__Component1                |___Component2                              |___Component3 -----> Component4 ( as Popup) this is the actal scenario in my flex application.. Do you know any best way to access the properties on the

  • SIM card not in??

    So I've been having this problem lately where my phone goes hot in my pocket and it drains the battery quickly, also my SD card which holds onto anything you download or take pictures in the phone, it says its not in there, but I checked and the card

  • How can i change webservice name in webdynpro

    i am very new to designing in webdynpro.. i am using one webservice in my views to display all the retrieved files. but, the web service name had changed now. is there only possible way to change all the fields mapping from the begining or else can i