Tomcat 4.0.6 does not find bean

hi,
I have just installed jakarta-tomcat-4.0.6.
I am trying to use my beans for database connectivity. I get the following error.
Can anyone please help ??
Thanks.
Aravind.
>>>>>>>>>>>>>>>>>>>>>
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 12 in the jsp file: /loginPageAction.jsp

message Internal Server Error
description The server encountered an internal error
(Internal Server Error) that prevented it from
fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile
class for JSP
An error occurred at line: 12 in the jsp file:
/loginPageAction.jspFirst, you could check your jsp file in 12 line, if there are some other errors.
about the location of beans, the bean class should be put in "yourapplication\web-inf\classes\yourpackage\***bean.class"
try it!
good luck
Yours kent

Similar Messages

  • Tomcat 4.0.4 does not find j2ee 1.4

    hi,
    i'm trying to write a bean, that sends am email using the j2ee 1.4 beta.
    The Server i use ist a tomcat 4.0.4.
    I stored the j2ee.jar file under WEB-INF/lib/ and compiled my bean
    mail.java without error. If i try to access the bean from a jsp
    the server replies with this error
    ------------------ error -------------------------------
    root cause
    java.lang.NoClassDefFoundError: javax/mail/Address
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
    at java.lang.Class.getConstructor0(Class.java:1748)
    at java.lang.Class.newInstance0(Class.java:266)
    at java.lang.Class.newInstance(Class.java:249)
    at java.beans.Beans.instantiate(Beans.java:204)
    at java.beans.Beans.instantiate(Beans.java:48)
    at org.apache.jsp.contact$jsp._jspService(contact$jsp.java:116)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
    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)
    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.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    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.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.warp.WarpRequestHandler.handle(WarpRequestHandler.java:217)
    at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
    at java.lang.Thread.run(Thread.java:536)
    ------------------ error -------------------------------
    unjaring the j2ee.jar shows, that the Adress.class is inside
    the jar file. Also the tomcat server log file shows, that it found
    and registered the j2ee.jar file in the lib directory.
    What is wrong ??
    can somebody help me ?
    I found a similar topic with earlier versions of j2ee, that
    suggested putting it into the general tomcat lib folder, but
    since i'm not the adminstrator of this box i hardly can rely
    on that. (Only if this is the only solution and it works...)
    Jens

    Hi,
    well solution seems to be the following (from tomcat-users@...):
    j2ee.jar conflicts with some libraries from the tomcat-engine itsself.
    So my j2ee.jar 1.4 beta is ignored by the tomcat engine.
    I cannot place it in the general lib path, because i do not administrate the box myself.
    Solution for me is now to use the separate mail API (http://java.sun.com/products/javamail/) and javabeans (http://java.sun.com/products/javabeans/glasgow/).
    Hope that others find this helpfull, too.
    Do i get a refund for my J2EE book in my bookshelf, that i cannot use ?
    grml

  • AIO remote does not find my printer

    I changed Internet providers a few months ago. I have not been able to print from my iPhone or iPad since then. AIO remote does not find my printer at all.

    Hi,
    Both AirPrint and the HP AIO Remote app relies on Multicasting, a such have to be supported and enabled by your router.
    Some routers support a such by default, some require settings changes and some do not support Multicasting which required for a such.
    Please clarify your router brand and model to better understand any possible steps to try.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Does not find partition

    I have 10.7 Lion and all my apps just stopped working (including finder). I tryed to hit the restart button, but it didnt shut down, so I used the Power Button.
    When i started it up again, it goes to Mac OS X Utilities and does not find Macintosh HD. (The partition on my hard drive)
    And i really does not want to reinstall it, because I have iOS apps in XCode that im developing.
    MacBook Pro 13´ 2010 Model (Dont remember what month)
    OS X 10.7 Lion
    Crashed after debugging iOS app on my iPhone

    It just says that my partition is OK . (And its not, because I cant start up my mac)
    But, ill try just wipe out all data and restore it from a Time Machine backup

  • Ipad does not find printer

    I have new Epson printer with airprint possibility. Printer is on wifi and iphone can see it and print files. but ipad does not find printer at all?

    Apple has some troubleshooting tips at the bottom of this page that may help:
    http://support.apple.com/kb/HT4356
    Regards.

  • Iphone and ipad does not find the airprint printer

    After I upgraded my iphone and ipad I lost my airprint function. Ipad and Iphone does not find the airprinter. The printer is a HP Photosmart 5520, and it does work wireless with my Windows PC that is on the same nettwork.

    In our case the Airprint printers could not be found after IOS upgraded to 7.1.2, all was fine before then.  I have scoured the forums and many people have suffered the same problem.  All the solutions given are aimed at a domestic network with just a Wireless router.  They all involve restarting all the devices and rejoining the IOS devices to the wireless network.  Some people have had to do it multiple times before they regained use of the printers.
    In my case none of these work because I am talking about a business network with two wireless access points, several switches and a router.  To prove it is the IPads I have installed Bonjour onto a Windows PC (Bonjour is the technology used by Airprint).  This finds the printers perfectly so it is definitely something that was changed in the version of Bonjour on the IOS 7.1.2 that is causing all the problems.
    I was hoping that Apple would release another upgrade to IOS to fix this problem but it has been several weeks so far and nothing has emerged.
    So something that worked perfectly a few weeks ago is now dead in the water because of an update on the IPads!!!!!!!!

  • Bluetooth on iPhone does not find my iPad

    Bluetooth on my iPhone does not find iPad when both devices are next to each other.

    Envisions99
    I agree.
    still...my opinions on Apple.....
    If you just try to put yourself in their position you will understand better.
    Music Rights, security,every body wants something like this and like that- with all they have to consider and take care to get not sued- it is no wonder thta there are some restrictions.
    And why ? because they are the only one to realy care an respond to questions and claims. Ever tried to get help from Sony and other Bigies ? Its like talking to a wall.Their support is just a not specific call center. Or did somebody read recently that Sony Erricson was called before the judge because their Cellphones are failing after third time repair (true story), their batteries are burning, their music devices dont let you transfer the music you bought(MiniDisc) and so on? Seldom right?!
    If I read news about Apple, I just wonder how many legal challenges Apple has to face.
    Looks like kind of sport in the US, to try to get money out of Apple.
    `Oh, my laptop did not work last night so I could not read the email from my love.
    I realy became so depressed and my heart aches therefore soooo much . I aske Apple to compensate
    for this with ähhh.... 1 million $ ?! `
    cheers,
    ;-)arry

  • My airport utility does not find my airport express device

    My airport utility does not find my airport express device

    In order for the AirPort Utility on your iOS device to find the Express, both need to be connected to the same Wi-Fi network. By default, the Express will broadcast an unsecured wireless network with a network name of something like: Apple Network NNNNNN. Can you iOS device find this network?

  • My iPad 2 does not find my Big Blue Live speaker! What do I do?

    My iPad 2 does not find my Big Blue Live speaker! What do I do?

    Make sure you're using an original apple ipad charger and plugging into a wall outlet to charge, not computer.
    Its possible that the charger is bad and may need replacing.
    Its also possible that the battery has gone bad and it may need replacing.
    Apple does offer battery replacement, you will have to send to them or take it to an apple store.
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
    Before you do that though, I would recommend reading through these links first for some more information on how your battery works, needs to be charged and maintained.
    Apple Batteries - iPad
    http://www.apple.com/batteries/ipad.html
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327

  • My USB Port does not Find my I POD

    My USB port does not find my I POD. I have Installed all th elatest software.

    Welcome to Apple Discussions!
    Does the iPod show Do Not Disconnect? You may want to try resetting your iPod while it is connected...
    http://docs.info.apple.com/article.html?artnum=61705
    See if this link helps too...
    http://docs.info.apple.com/article.html?artnum=61711
    Finally, more details on the issue such as what your computer (if anything) does and what the iPod does.
    btabz

  • My iTunes does not find my IPOD!? What to do??

    I really need my ipod, but ALL the music disappeared..... then I tried to sync, but my Itunes does not find my ipod. What to do??

    If you are unable to restore, then type "unable to restore" into the search bar at the top of this page by Support and read the resulting help article

  • My ipad does not find my micro sim card? Whats wrong?

    my ipad does not find my micro sim card. Whats wrong

    Where did you get the phone? If it was hacked or jailbroken prior to the update, this is pretty typical. If that's the case, it's now a brick.

  • My iMac does not find my wifi printer or my Chromecast.

    My iMac does not find my wifi printer or my Chromecast. I was able to ping the chrome cast and printer and I'm able to connect to these devices with my windows computer, iPhone and iPad. I have OS X 10.9.2. I'm able to print by setting up the printer using the IP address that was assigned by my router instead of letting my iMac do the finding. It seems that the iMac either does not like the info that is receiving or something is blocking the signal (other than the firewall, which is off). Could someone have an idea what the issue might be?

    Hi MikeMart0923,
    If you are having issues adding or connecting to your WiFi printer from your iMac, you may find the following articles helpful (apologies if you have already seen them):
    OS X Mavericks: Set up a printer
    http://support.apple.com/kb/PH14143
    OS X: Connecting a Wi-Fi printer to your Wi-Fi network
    http://support.apple.com/kb/ht3500
    Note: This is assuming you have a simple network configuration, with only a single router/WiFi access point.
    Regards,
    - Brenden

  • I have the latest ipad2 and trying to print a doc. It does not find my printer . My printer is a canon mp990 wifi

    I have the latest ipad2 and trying to print a doc. It does not find my printer . My printer is a canon mp990 wifi. Can anyone tell me what I am doing wrong?

    Hi,
    If you are trying to utilize AirPrint you need an HP compatible printer listed here.
    http://www.apple.com/ipad/features/airprint.html
    Scroll down.
    Carolyn  

  • Remote does not find my Itunes Library

    I have 4 different mac and use Remote on my Ipod Touch to work with Itunes. Remote cannot connect to one of them (does not find the library). Settings (firewall, airport, account, permission, network...) on all my mac are similar but Remote does not work only with the MacBook Pro. Should I blame his airport card ? Or what ?

    I've also version 4.0 on my Ipod and I've checked the port TCP 3689 and UDP 5353 (as asked by Apple support website), they are well opened. I spent too much time on this...I give up Remote.
    Anyway thank you very much for trying to help me.

Maybe you are looking for

  • Error with GUI download

    Hi, whenever I use GUI_DOWNLOD (cl_gui_frontend_services=>gui_download) I get a popup (title "SapGuI file save options") with the message "The file ... might be overwritten by a download. Do you want to allow this?". I have to confirm and then the do

  • Website pdf won't open with Preview - requires Adobe Reader. How do I force iMac to use Adobe for this particular website?

    I need to access a tax form from my state's tax website. The site will not allow Mac Preview to open any pdfs on the site. I already have the latest version of Adobe Reader downloaded on my iMac which is using Mac OS X 10.6.8  The state's support gui

  • My computer has no sound :( help?

    I really need some help. My computer has no sound at all. Windows media player, youtube, there just doesn't seem to be any sound. (my volume is not on mute) I also checked that my sound driver is installed and updated but still no audio Thanks in adv

  • PerformancePoint Services Filter in Sharepoint 2013

    Hi, In Sharepoint 2010, I could configure all the performancepoint webparts to use the connection of a performancepoint filter, so I didn't have to create a Dashboard object in Dashboard Designer and link the connections there. In Sharepoint 2013 I d

  • Oracle executable permission setting in RAC

    I'm having a peculiar problem and I attribute this problem to the Oracle executable under $ORACLE_HOME/bin being set to oracle:asmadmin. I'm not sure why this is so in both the RAC nodes. All other files & executables have the oracle:oinstall as user