JSP, JavaBeans and iPlanet 4.1-  Unable to load JavaBean

I get the following error when trying to access a JavaBean from a JSP page. I have tried just about everything including using the <@page import /> in the JSP page.
I can get it to run perfectly in Tomcat 3.2 but it must run in iPlanet 4.1. I think the solution should be fairly simple I just can't find it.
Any help would be greatly appreciated.
Thanks.
The exception is as follows (thrown on running the generatePage.jsp linked from index.jsp).
[29/Nov/2001:16:50:23] info ( 1364): Internal Info: loading servlet /TechCom/generatePage.jsp
[29/Nov/2001:16:50:23] info ( 1364): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to load class JspPageLoader
     at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:183)
     at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:97)
     at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java:728)
     at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java:190)
     at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:159)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:141)
     at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:214)
     at com.netscape.server.http.servlet.NSServletEntity.(NSServletEntity.java:104)
     at com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java:607)
     at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:357)
[29/Nov/2001:16:50:23] warning ( 1364): Unable to locate class: D:\Netscape\Server4\docs\TechCom (java.lang.ClassNotFoundException: D:\Netscape\Server4\docs\TechCom)
[29/Nov/2001:16:50:23] warning ( 1364): Internal error: Failed to load servlet (servlet=/TechCom/generatePage.jsp)

To solve this problem you have to:
include <@page import /> tags importing the JavaBean to be used.
In the classpath of iPlanet include the directory in which your JavaBeans are placed.
Also in the classpath of iPlanet include the root directory of you web site containing the JSP's. this should then solve the problem.

Similar Messages

  • Labview 8.5 and dotNet 2.0 : Unable to load assemblies ...

    Hi,
    We are trying to upgrade a labview application written with 8.0/8.2 version to Labview 8.5.
    Our application creates dotNet 2.0 objects and call dotNet methods.
    Our program works fine in Labview 8.0/8.2   but with Labview 8.5 the Vi's are "Brocken". There is an error
    on the constructor node. When we try to re-create the dotNet constructor, Labview is unable to load our dotNet 2.0 assembly.
    We have mave the same test with microsoft dotnet standard assemblies ( system.windows.forms ), and it works fine !
    Do you have some informations about this kind of errors ???
    Thank you for help

    Hello Eler,
    I'm the AE from the french support who tested your class.
    I tested your big class with different version of LabVIEW and with all the versions, I had the error.
    I tested with LV8.5.1 french, LV 8.2.1 french and english, LV8.2 french and english,LV7.1 fench.
    For me with LV 8.2.0 english version your class doesn't work.
    I attached screen shots for all tests.
    Regards  
    VéroniqueD
    NI France
    Attachments:
    error assembly.zip ‏382 KB

  • Unable to load file ..jsp

    Hi
    When Iam forwarding a jsp page to other jsp page after
    some condition meets using jsp forward than some times
    when i access it it gives
    "Unable to load as it is not a top level class"
    for file while is forwarded
    for example:--
    <jsp:forward page="Login.jsp">
    <jsp:param name="user" value="<%=user%>"/>
    </jsp:forward>
    it gives login.jsp not a top level class
    unable to load
    note :---- all files in one directory
    suggestion required

    actually it depends on your JSP engine. I'm not sure but I've a doubt that once you have flushed some response , you may get an error in forwarding ( in some of the jsp engines, but I think in tomcat it's fine).
    you could try by using "buffer" property in such a way that no response is flushed before you forward the JSP page.

  • HT1551 we had power outage last week and now when I try to access Apple TV the screen states unable to load contents try agin later, any suggestions?

    We had power outage and now I am unable to load apple TV .  The screen states unable to load contents try agin later.  Any suggestions?

    Hi there,
    Do you have icloud account? You need firstly turn off find my iphone (by go to icloud.com -->sign in --> go to "Find my iphone" and erase your iphone in it). And then you restore your iphone with DFU mode.
    When you erase your Find my iphone and if you can not restore, your iphone has a problem with hardware.
    Some infos can help you.
    Kind regards,

  • Unable to load data / NullReferenceException only on certain tables when deployed

    I have a LightSwitch app that works fine when being debugged locally. But it has a strange issue when deployed as a Cloud Service to Azure. I have two Silverlight grid controls on the page which display a red x and give the error, "Unable to load data.
    Please check your network connection and try loading again."
    Several other queries are running on this page and correctly pull data from other tables in the database. The queries that run correctly are tied to label or text box controls.
    The queries that fail, return an HTTP Status code 500 (Internal error). If I try and pass the query to a constructor as an IVisualCollection,
    and I wrap the call in a Try block,
    the Inner Exception is "Object reference not set to an instance of an object." So, a Null Reference Exception. Checking for null before the constructor call and popping up a message box if the query was null as a means of debugging yielded nothing. I
    create these helpers all over. Only two are causing an issue and only when deployed. In addition, running the query in the Management Portal also completes fine.
    Try
    'Check for nulls
    If (Me.qQuoteByFirm Is Nothing) Then
    Me.ShowMessageBox("qQuoteByFirm", "Error", MessageBoxOption.Ok)
    End If
    If (Me.qQuoteByFirm.Screen Is Nothing) Then
    Me.ShowMessageBox("Screen", "Error", MessageBoxOption.Ok)
    End If
    If (New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote") Is Nothing) Then
    Me.ShowMessageBox("Modal", "Error", MessageBoxOption.Ok)
    End If
    'Create helper
    Me.HelperAddQuote = New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote")
    Catch ex As Exception
    Dim err As String = ""
    For Each item In ex.Data
    err = err & item.ToString()
    Next
    err = err & ex.InnerException.ToString() & vbCrLf & _
    ex.Message.ToString() & vbCrLf & _
    ex.StackTrace
    Me.ShowMessageBox(err, "Error", MessageBoxOption.Ok)
    End Try
    'Constructor
    Public Sub New(ByVal visualCollection As IVisualCollection, _
    ByVal dialogName As String, _
    Optional entityName As String = "")
    _collection = visualCollection
    _dialogName = dialogName
    _entityName = If(entityName <> "", entityName, _collection.Details.GetModel.ElementType.Name)
    _screen = _collection.Screen
    End Sub
    The actual construction of the queries does not seem to matter. I've tried several variations along with requesting the entire table. Same result. However, this only occurs on two specific tables. Grid controls displaying other tables on other screens work
    properly.
    Here's the weird part. If I comment out the call to the constructor, I can gain access to the gird control and add data to it even through the red box remains. If I refresh the grid control, the data disappears as if it wasn't saved or isn't there. But inspecting
    the table in SQL Azure Management Portal shows that the data was properly populated in the table.
    The app and the database are clearly connected and able to communicate fine. So why when reading from these two tables (but not writing to) are my grid controls throwing exceptions? Why does this only happen when deployed? What other techniques can I use to
    get more information?

    I am not very familiar with Lightswtich. But 500 is a server side error. Do you manually code the server side, or does Lightswitch automatically generates the server side code? If you manually coded, then please try to catch exceptions in
    your server side code. If the code is automatically generated, you may want to consult a Lightswitch forum on how to troubleshooting such issues. What's more, when you refresh the grid, what code are invoked? Try to check that piece of code and see if there're
    any problems, such as you reload the grid with empty data.

  • Itunes unable to load data class information from Sync Services

    Hi
    I have an I Phone 4 , after upgradation to IOS 7.0.1 i tried to connect my phone to itunes, i showed that i need to upgrade my Itunes to version 11. I did the same even after both upgrading the phone and Itunes. Itunes is unable to detect my phone and continuously shows :Itunes unable to load data class information from Sync Services.
    After this i upgraded my phone to IOS 7.0.2 still the problem persist. I have logged in as an administrator also , have uninstaaled itunes and have again installed it. Have even tried to change prferences and have reset the sync history, still Itunes is unable to detect my phone and sync it and comes up again and again with the same message :
    Itunes unable to load data class information from Sync Services. I have a windows 7 PC.

    Doublechecking. In the course of your troubleshooting to date, have you worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • "Unable to load network list" on new sim card overseas on unlocked iphone 4

    I recently bought an Iphone4 (unlocked) from australia. While traveling overseas I inserted a new sim and got the message "unable to load network list", and could not activate my new sim card. Could not find the answer on the discussion board here but got in touch with my provider back in oz who helped me.
    Solution: You need your laptop with Itunes on it. Turn the phone off, then connect to your laptop with Itunes already running and then turn the phone on. When you click on your phone icon in Itunes it will say "Congratulation, your iphone is unlocked". You can then eject your phone and your new sim is activated.
    Hope this helps

    Sorry not sure why your new sim card isn't supported...not sure if it helps but I had my laptop connected to wifi at the time also, but I don't think it should matter. Its worth a try connecting to internet with ITunes on, connect your phone and then turn it on and see what happens.

  • ITunes was unable to load data class

    I just bought my first iPhone today and when I get home and connect it to my computer iTunes opens up but it takes forever to load (thought it froze) then after 5mins it finally loads and says "iTunes was unable to load data class information from Sync Services", I've restarted multiple times have tried different usb ports, then I connected my brothers 8gb iPod nano and it works just fine.. Im using the latest iTunes out (8.0.2)

    You have not mentioned if you tried removing and reinstalling iTunes.
    This article will give you the steps for removing iTunes.
    http://support.apple.com/kb/HT1925
    Download and install iTunes again and see if you get the same error.

  • ITunes was unable to load data class.. iPhone3g

    I just bought my first iPhone today and when I get home and connect it to my computer iTunes opens up but it takes forever to load (thought it froze) then after 5mins it finally loads and says "iTunes was unable to load data class information from Sync Services", I've restarted multiple times have tried different usb ports, then I connected my brothers 8gb iPod nano and it works just fine.. Im using the latest iTunes out (8.0.2)

    John L316 wrote:
    Does anyone know what is causing this
    see if this support article helps:
    iTunes 10.2: "iTunes was unable to load data class information from Sync Services" alert after installing Xcode 4.

  • SharePoint Online : Unable to load type Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException required for deserialization.

    From today's morning , We are having Issue on Our Online SharePoint Site.
    Each WebPart is not loading and displaying this Line
    Unable to load type Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException required for deserialization.
    Please write in quick response to fix it at
    [email protected]

    Hi,
    According to your post, my understanding is that SharePoint Online Site was unable to load web part and got the “Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException” error.
    Per my knowledge, the SPUpgradeCompatibilityException occurs during upgrade when the front-end Web server attempts to connect to an incompatible database.
    Please check whether the database is compatible.
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Unable to load mapping - Integration Repository

    Hi,
         I created a Message Mapping and saved it, then when I close it and try to open it again I can't see it and this message appears:
    "Unable to load mapping"
    Any ideas why? I'm on XI 3.0 SP17

    Hi,
    Problems may be because of some java patches.
    Is this error is repeatable/reproducable in the different namespace/SWCV. Check this
    Have a look into this -
    Unable to load mapping
    hope this helps
    Regards,
    moorthy

  • Powerbook G4 unable to load from Airport Extreme...

    Hello: I have been wanting to go wireless at home and finally purchased a new Airport Extreme base station at the newly opened Apple store in San Luis Obispo. The unit is connected to Earthlink DSL and is working when connected to the LAN ports. However, my 12 inch Powerbook indicates it is receiving the signal, but fails to load internet pages. The light is green on the Airport Extreme and dashboard reads, just unable to load any internet pages. I know that the 12 inch Powerbook works on wireless because it has been flawless. Is it possible that Earthlink DSL doesn't work with Airport Extreme since it is not the new base station or the G4 Powerbook? Could it be the older G4 PowerMac that the Airport Extreme is connected?
    Triple Thanks,
    PowerMac G4, Powerbook G4   Mac OS X (10.4.10)  

    Hello OpticalArtisan. Welcome to the Apple Discussions!
    Is your current network configuration, with the 802.11n AirPort Extreme Base Station (AEBSn), something like the following...
    DSL modem > (Ethernet cable) > [WAN port] AEBSn > (wireless) > wireless devices?
    If so, can you get Internet access with any of your Macs connected to any of the AEBSn's LAN ports?

  • ITunes says iTunes was unable to load data sync services.

    I am unable to sync my new iPhone 5 to iTunes.  When I plug it in an error pops up and says iTunes was unable to load data sync services.

    Hey tbestsr,
    Welcome to the Apple Support Communities. I found an article based on the alert that you cannot load the data sync service. In this article it will give troubleshooting steps to help resolve it.
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/ts2690
    Regards,
    -Norm G.

  • Mac- 'unable to load metafile'

    trying to download/install flash player on our mac* and it keeps giving 'unable to load metafile' error; tried uninstalling flash/re-installing and no luck. Found a helpful-looking topic on here with links to solutions, but the links no longer work.
    thanks in advance for your help!
    Graphic Ink Art Dept
    *our Mac- OS X 10.9.5

    Try the offline installer:
    http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg

  • JSP JavaBeans and Database

    i am wondering whats the "correct" or best way to connect to a DB using JavaBeans and using this in JSP pages?
    i read abt creating a SQL "Helper" class that has some functions like connect etc... but i am thinking its a bit confusing...
    if i have a function
        public static Statement Connect() {
            try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                con = DriverManager.getConnection("jdbc:odbc:auction","","");
                stmt = con.createStatement();
            } catch (SQLException e) {
                System.out.println("ERROR: SQLException occured!\n" + e.getMessage());
            } catch (Exception e) {
                System.out.println("ERROR: An Exception occured!\n" + e.getMessage());
           return stmt;
        }then i use it
    Statement stmt = SqlHelper.connect();when i want to close the connection how do i do it? is it a must to close connections anyway?
    or shld i do it the easy way, having the code
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:auction","","");
    stmt = con.createStatement();on all JSP pages?
    Thank you

    BalusC wrote:Do it in the data layer. Write DAO classes and SQL helper classes. Then let the business layer, the Servlet, interact with the data layer and let the presentation layer, the JSP, display the results.
    And don't return a Statement, but a Connection. And yes, closing a Connection is a must, otherwise you're leaking resources which will cause your web application to crash due to a memory shortage.ya thats what i am trying to do... but how do i? like this? except i return a connection instead? and also, i shld return it by reference? mmm... in java isit like return &con?
    package AuctionSystem;
    import java.sql.*;
    public class SqlHelper {
        private static Connection con;
        private static Statement stmt;
        public SqlHelper() {
            Connection con = null;
            Statement stmt = null;
        public static void Connect() {
            try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                con = DriverManager.getConnection("jdbc:odbc:auction","","");
                stmt = con.createStatement();
            } catch (SQLException e) {
                System.out.println("ERROR: SQLException occured!\n" + e.getMessage());
            } catch (Exception e) {
                System.out.println("ERROR: An Exception occured!\n" + e.getMessage());
        public static Connection getCon() {
            return con;
        public static Statement getStmt() {
            return stmt;
        public static void Close() {
            con.close();
            stmt.close();
        public static String FormatString(String string) {
            return "'" + string + "'";
    }Edited by: iceangel89 on May 27, 2008 3:50 AM

Maybe you are looking for

  • A Non english  music store in Itnues

    Hello, I don't know how, but somehome my Itunes is taking me to a non english music store. How can I change it? Tanks Pentium   Windows XP Pro  

  • Error in loading adobe page- Give some remedy

    hi friends i have been browsing adobe pages when i went to "software development kit" ( http://www.adobe.com/devnet/sdks.html ) it  gives an error message and i couldn't view that page. Could you give@ me some suggestions??

  • Tabular form: too many columns

    What can I do with too many columns in a tabular form? I tried modifying the report template behind and put </tr><tr> inside column template, but I'm unable to find current's loop column number. This would work if after every 3rd column in a report I

  • Fmle drops connection every 60 seconds

    Anyone have an idea why fmle 2.1 on windows would be sending a stream and every 60 seconds log Unexpected error encountered in encoding process Encoding stopped Session stopped stream unpublish succes network closed status then immediately republish

  • Where to enter sold to party in BAPI_SALESORDER_CREATEFROMDAT2

    Hi all, I have a doubt relating to BAPI_SALESORDER_CREATEFROMDAT2 for sales order creation.When am executing this bapi it gives me error to enter the ship to party and sold to party field.I am not getting where to enter the sold to party & ship to pa