Need help Import problem..

My code works under websphere but I can't get it to work on Tomcat.
Any help would be greatly appreciated.
Here's my import called from a JSP :
<%@ page import= "com.northgrum.lans.Sessctl_Row" %>
<%@ page import= "com.northgrum.lans.AuthServ" %>
<%@ page import = "java.io.*, java.sql.*"%>
directory where the class are located.:
test/WEB-INF/classes/com/northgrum/lans:
org.apache.jasper.JasperException: Unable to compile class for JSP
/jakarta/jakarta-tomcat-4.0.4/work/Standalone/localhost/examples/jsp/MLtest/SAPA_0005fHome$jsp.java:3: Class com.northgrum.lans.Sessctl_Row not found in import.
import com.northgrum.lans.Sessctl_Row;
^
/jakarta/jakarta-tomcat-4.0.4/work/Standalone/localhost/examples/jsp/MLtest/SAPA_0005fHome$jsp.java:4: Class com.northgrum.lans.AuthServ not found in import.
import com.northgrum.lans.AuthServ;
^
2 errors
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
     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)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
     at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
     at java.lang.Thread.run(Unknown Source)

The only times I see this is when the classes are not in the right place. What you describe should be the right place, but I am guessing that something more complex is happening...
Are you using an IDE to run the Server? Are you sure that you have exactly one instance of Tomcat installed on your computer? Do you have a context.xml or <Context ...> element in the server.xml that tells the server to look somplace else for files?
My suggestions would be to shut down tomcat, go to <TOMCAT_HOME>/webapps, make a new .jsp (by text editor, not IDE) that does the include and some simple output. Use the command line to start Tomcat (so you can be sure of how it is starting) and see what happens.
Make sure you read your log files. It could be that if you have a problem with either the context or web.xml that your context is not starting properly... hopefully that would be logged.

Similar Messages

  • I need help importing navigation bars and rollover buttons from fireworks?

    I need help importing navigation bars and rollover buttons from fireworks, drop down menus and rollover states won't work!
    Thanks

    In my experience, the code created by graphics apps is less than satisfactory. And image based menus are very awkward for several reasons. 
    #1 If you decide to change your menu later, you must go back to your graphics app and re-craft the whole thing.  After 2-3 times of this, it gets old in a hurry.
    #2 Image based menus cannot be "seen" by search engines, screen readers and language translators.
    #3 CSS styled text menus are better for your site's visibility, accessibility and they are a snap to edit in Dreamweaver.
    That said, if you're still married to image based menus, use Fireworks to create images only. Use Dreamweaver's Image Rollover Behaviors to create your rollover scripts.
    Nancy O.

  • Need help importing a project

    I got a virus on my mac so i took all stuff off my computer and put it on an external hard drive including an imovie project. I wiped my computer and imported all of my stuff including this imovie project. I downloaded Yosemite and the new imovie software and now when i try to import this imovie project it doesnt work and will not import it says its not compatible. This imovie project says its format is an imovie project, i just need to import it into imovie again so i can work on it, thanks.

    Hello there, if you're still looking for help you might not be in the right forum.  This fourm is all about Azure SQL Database.

  • Need Help Skype Problems

    Please HelpMy skype wont work anymore, it says that it wont work when I try to call someone and I need help thanks. (P.S I have reinstalled Skype with no luck)

    lalo-116 wrote:
    it works thx so much u are a lifesaver
    You are very welcome.
    For others:
    1. There is no need to uninstall first. It's wasted time and a wasted step that is NOT required.
    2. It is important to inform people that if they delete their Skype folder, that they will be deleting ALL their Skype history:
    For others:
    You do not need to uninstall, or delete anything, if you have this issue, simply install over, what you have, with this:
    At the moment the quickest method to fix this is to install the beta version from here: http://skype.com/go/getskype-beta
    Note: If you still have issues after doing the above, it's best to post back and get more instructions than to delete ALL your history.
    About Me You can also use a IP Camera as your camera for Skype video Example Instructions

  • NEED Help Importing new Activities.

    Hi All,
    I am working on a project where I have been asked to add two new activities to all the 841 WBS codes belonging to the project. That means I have to add around 1600 new activities. So instead of going through the tedious task of adding those manually, I was wondering if there was an easier way like importing from Excel or anything else to do this. I need to finish this within this week, so I need help urgently.
    Please Help

    You can absolutely add new activities in via Excel import however how much easier this ultimately is depends on the structure of your project (ActIds, Codes, Relationships, etc) and the underlying data to be added.
    In a large project I have some exposure to Excel is used frequently to make activity level additions/changes, but the schedulers spent a decent amount of time early in the project re-naming activity ID's for grouping purposes (I believe specifically to help with excel imports).
    If your additions to each WBS follow any sort of consistent pattern then it may be quicker to use Excel. Even if it ends up not saving much time initially, at the very least you will have a process down for the next time you need to make major changes to your schedule.

  • I Need Help Importing my Contacts Onto my New (old) Palm phone.

    I need to import my contacts onto my Palm Centro. As of now, they are in a .csv file. When I select import from the Palm Desktop file menu and browse for my contact file, it shows the file grayed out. Even if I instruct the program to allow all file types, it doesn't work. I've read that the Centro needs a .aba file- but I can't find a converter that works. 
    I'm on a Mac but it has OSX and Windows 7, so I can use any program/service that you guys can suggest. Even if you don't know a program that can do what I need, I also want to know definitively what file format my Palm Centro wants these contacts. 
    I know this is an old phone, but there must be a way to do this (and avoid typing in 400+ contacts). 
    Thanks very much in advance! 
    Post relates to: Centro (Sprint)

    Have you tried this program?
    http://www.schaik.com/download/palmaba.html
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Need Help importing data using PHP to convert it into a single HTML line

    Hi, My names Chance
    I'm a 2nd year web design student and have been assigned a project by my teacher for a charity website
    i found a tutorial of exactly what i need to do but im stuck on creating a script to import  and convert php data
    to a single html line
    heres the link to the the script, if you scroll down to the bottom
    where it says
    RSS or XML Data Source
    "The scrolling text can be imported from any source: RSS, XML or any other format.
    For example, if you want to import data using PHP to convert it into a single HTML line to be displayed by the ticker, create a php script to import and convert the data, and include it directly in the DIV tag as follow"
    this is what i need help doing
    http://www.mioplanet.com/rsc/newsticker_javascript.htm
    i already have the php code that i want to import
    i just need to know how to import and convert my php script so im able
    to make the the javascript from the link i provided to work
    thank you so much for your time
    if you have any question or answer please email me
    [email protected]
    thanks again hope to here from you soon

    Hi
    The instructions are there on the page you provided a link to!
    What is it you do not understand?
    PZ
    www.pziecina.com

  • Need help. importing pictures to timeline with various length.

    Need help cant find old toturial
    I am trying to make a template for a picture movie where i have everything ready so i just need to add 250 pictures and then it will automaticly shift the pictures to the beat of the music. I once saw a toturial how to do this but cant find it. it was something with manually setting markers at the music beat and then just add all the pictures. but i must have missed something pls help..
    Bo

    Its called automate to sequence with unnumbered markers.
    http://tv.adobe.com/watch/learn-premiere-pro-cs5/gs04-making-a-rough-cut-in-adobe-premiere -pro/
    http://help.adobe.com/en_US/premierepro/cs/using/WS1c9bc5c2e465a58a91cf0b1038518aef7-7d1ba .html

  • NEED HELP APP PROBLEM PLWASE READ

    Ok so basically when I go to a free app I try to re install it says to confirm or verify and when I click on it it takes me to my credit card and when I type in the right info and I have money in my account it declined me and then tells me to try again later after I've tried like 10 times its really frustrating and confusing and I need help please reply on what im supposed to do please it even does this for when I try to update apps aswell

    I have created an apple id with a credit card.  When I download a free app, I am asked for my apple id password. I am not asked for a credit card.  There is a setting for login out of your apple id.  Perhaps you should log out. So things get reset.
    you can create an apple id without a credit card.
    Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method - Apple Suppor…
    Robert

  • Help needed re import problem

    Hi,
    I've mistakenly imported a batch of files from my Nikon as NEFs, rather than DNGs. Unfortunately I captioned and keyworded them before realising my mistake. To avoid re-captioning and keywording I'd prefer to change them to DNGs rather than delete all and re-import.
    I've tried going to the import dialogue to copy them as DNGs, but it won't allow me to do it. Any suggestions gratefully recieved.
    Regards,
    Paul Thompson.

    Just select them and click Library-> Convert to DNG in the menus.

  • Need Help with Problem Batch Rotating Images in iPhoto 8!

    Hello, recently I have been having a lot of problems with pic files becoming unusable once I batch rotate them in iPhoto 8, so now I want to rotate the pictures 180º before I import them into iPhoto. Is there a free program out there that can help me do this without losing any picture quality. I REALLY don't want to have to individually open up over 2000 photos in Preview and individually rotate them that way.
    Does this same batch rotating problem occur in Aperture 1.5.6?
    TIA for ANY and ALL help!!!

    You can create an Automator workflow application to batch rotate a folder of photos 180 degrees. You need to download and install GraphicConverter first. You can use it in the demo mode by first opening it before you drop your folder of photos onto the application .
    When you install GC select the option to install the GC Automator workflows. Open Automator and put in the following elements: 1 - Get Finder Items; 2 - Rotate. You can select to use Quicktime or the internal algorithm. Save it as an application.
    This all must be done outside of iPhoto and then import into iPhoto.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.
    Message was edited by: Old Toad

  • Need help importing files into Dreamweaver CS5.5

    Greetings,
    Currently I have website that is hosted on GoDaddy.com http://www.4thdist.org/home.php  . This site was created by another person that is not available to help with my problem. I am attempting to modify or edit this website using Dreamweaver CS5.5 and having difficulties loading the files into Dreamweaver.
    First, using Filezilla I downloaded all the files and folders to my PC. At this point, I am stuck and cannot figure out how to upload or open the files and really need some advice. I read the Adobe help section on "importing" and it describes a .ste file. I searched the download folder and cannot find any file (*.ste)
    I am hoping to salvage the site and not have to reinvent the wheel and start over. Any advice would be extrmely helpful........Gary

    Thanks for the quick reply.
    Your comments raised some new questions. Let me update all on where I am. First, I am able to connect to GoDaddy server via the the local and remote views in the bottom right corner of DW. I see the file folder structure on GoDaddy. I can also see the file structure on my local hardrive that I copied using filezilla. Although, using the server connection I notice that I can download the files using this connection now. Should I delete what I did via filezilla and start over using the romote server connection? One more problem. I have content for two (2) websites on the remote server. http://www.vfwstatepoolleague.org/ This is in addition to the listed in my original post. Although, it appears the other website content is in a seperate folder. I assume that I will need to separtate this content somehow. At least link to it when I begin to start to create a .ste file for each site.
    I started to read the article "Creating your first website"in your post and should be very helpful. I did run into a little road block.
    I created (2) site names and linked to the appropriate folder on my hard drive. Although, I do not have: "check_cs5" folder on my local or remote folder. What does that mean? Should I create one?

  • I need help importing Videos in Encore CS3 (running on a Mac)

    I want to make a DVD with Encore CS3 (running on a Mac).
    I've never used Encore before.
    I want to import movie files as Assets.
    The only files I've had any luck importing are .mov files (exported by Quicktime Pro).
    The movies I want to import are .AVI and .MP4 files.
    When I import .AVI files I receive an error message saying;
    'The Software that's used to decode the media is not available on this system. Installing the correct decoders for the files you are working with may help to correct the problem.'
    When I import .MP4 files I don't get any error massages but encore recognizes each file as an audio file (Type: Audio File).
    When I drag the .MP4 files into the timeline and view them in the monitor I receive sound but not picture.
    It seems to me like I'm missing an important codec but I don't have a clue what to do.
    Please reply ASAP I need to make a DVD for my Dad.

    Encore likes to work with DVD-compliant files, like DV-AVI, MPG2 (transcoded to DVD specs), PCM-WAV files and the like. MOV files are usually handled pretty well too, as you have seen.
    Your AVIs are probably DivX encoded, or similar, and you'll need to install the DivX CODEC (free for the PC, but have no clue about the MAC). Those are also heavily compressed files, and when you transcode before burning the DVD, they'll be re-compressed more. The quality might suffice, but they will not look good.
    I do not know file format conversion programs for the MAC, but there are a ton of freeware, shareware and full-commercial ones available. DigitalMediaConverter (for PC) is ~US$40 and works well with a lot of different files in different schemes, both Audio & Video. You still need the proper CODECs on your machine to decode and then the proper CODECs to encode during the conversion. It might take some Googling, but you should be able to find both the file conversion programs and the necessary CODECs on the Web.
    On PC, I use a little freeware program, G-Spot, to tell me all the details of any problem file. It might be available for MAC, but I do not know. It won't convert, or fix your files, or your system, but will tell you almost anything you'll need to know, especially the CODEC used and if your system has that one installed.
    Good luck, and sorry that I know nothing of the software available for the MAC.
    Hunt

  • Need help importing iTunes songs!

    When I try to import from iTunes, Garage band says: 'Open iTunes to populate this list', or 'Loading iTunes music' but it never loads tracks. Ive uninstalled GarageBand already, didnt fix the problem (I also have the updated version of both apps). This feature used to work but it doesn't any more. Any help on how to solve this issue would be greatly appreciated!

    It looks like the Media Browser can't find the iTunes Library, and that it is probably a problem with iTunes and not with Garageband.
    Do you have the latest Version 10.4.1 of iTunes installed? If not, I would recommend to update to the newest iTunes Version.
    And check, if other Applications (like iMovie, iDVD, iPhoto, iWorks) can see iTunes in the Media Browser.
    If not, then make sure that the settings in the iTunes Preferences -> Advanced are pointing to the correct location of your Library.
    By default the Library should be located in your Music Folder
        /Users/your user name/Music/iTunes/iTunes Music
    If the Library location settings should be wrong, then correct the settings, and restart both iTunes and Garageband.
    If your iTunes  Library is on an external disk, the media Browser mignt not find it.Then just - in iTunes - reveal the song in the Finder, by ctrl-clicking it, and drag it from the Finder into your Garageband window.
    If your iTunes Library is on an internal disk and still the Media Browser can't see it, then check the permissions of the Library and run a disk check with disk utility and repair the disk, if need be.

Maybe you are looking for

  • How to restrict a user typing a custom value in the dDocAccount field.

    I have dDocAccount field drop down pre-populated with 2 values - Dept1, Dept2. However, user can able to type any other values (say Dept3) in the account text box and checkin a doc from WCC UI. How to restrict user from entering custom values? As an

  • My ipod classic will not play podcasts

    I have a 160GB iPOD classic and have been syncing successfully music, podcasts, photos and videos for many years. Originally formatted on my PC, for the last year I have only been syncing on my MAC but I haven't re-formatted the iPOD and it didn't se

  • Creation of DSN for Text driver in Linux

    Hi, I have created the DSN for Microsoft Text driver in windows and i have used this DSN in my java program. I am having database of text files. These text file data is delimited by comma. I want to create DSN for Text driver in Linux for use of my j

  • Performance of a report

    In my report I've written this select query   if not itab1[] is initial.     select objnr               kstar               ebeln               wtgbtr               wogbtr               from covp               into  table itab2               for all

  • When is the next update expected for Engage?

    Post Author: DHAG CA Forum: Xcelsius and Live Office Based on my own experience and from reading this board, there clearly seems to be a need for a service pack/bug fix release. Can someone kindly let us know when (roughly) we might expect such a rel