Tag Libraries Unable to load in SOWS 6.1

Hi all,
I've been hitting into a problem lately with the SOWS 6.1, funnily, my JSP page can't seem to find the tag attributes I'm using.
Eg:
<display:table...> //displaytag
<c:if...> //JSTL core
The Error I'm getting is as below:
org.apache.jasper.JasperException: WEB4083: No such tag forEach in the tag library imported with prefix c
org.apache.jasper.JasperException: WEB4083: No such tag forEach in the tag library imported with prefix table[/cold]
JSP is on the same level as the WEB-INF directory
LIB is inside /WEB-INF (/WEB-INF/lib)
My /https-server/config/server.xml has the following:<PROPERTY name="docroot" value="/data/<project-name>"/>
<USERDB id="default"/>
<SEARCH>
<WEBAPP uri="/search" path="/opt/SUNWwbsvr/bin/https/webapps/search" enabled="true"/>
</SEARCH>
<WEBAPP uri="/projectroot" path="/data/<project-name" enabled="true"/>
Things I've done so far:
Failed Resolution 1)
I've tried placing and defining the tablibs inside the web.xml
<taglib>
           <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
          <taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>and also inside the JSP page:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>and also placed the c.tld inside the /WEB-INF folder, the standard.jar and jstl.jar into /WEB-INF/lib
Failed Resolution 2
Since the META-INF directory already contains the TLDs for the JARs, what I did was to remove the declaration from web.xml, and replaced the codes in JSP as follows:
<%@ taglib uri="/WEB-INF/lib/standard.jar" prefix="display" %>
Still, to no avail, the JAR files are in /WEB-INF/lib.
Failed Resolution 3
Go to GOOGLE, tried googling for answers for 3 days, can't get it working.
Previously, I have run struts taglibs on Tomcat/JBOSS, spring/displaytag taglibs on WebLogic 8.1.2. But this time my new office's seutp has me stumbling to get taglibs to run on the SOWS 6.1
Would appreciate any feedback :)
thanks and regards,
Michael

Alright, I did it the unorthodox way.
I found out that the JSP is unable to read the WEB-INF directory some some apparent reason and thus is unable to look up the TLD file. Tried loading the ResponseOverrideFilter for displaytag and I saw the Log4J logs being generated, so for sure the JARs are being loaded and working fine.
I placed the TLDs into the same directory as the JSPs and viola! My taglibs are all working.
It's not much of a solution, but at least for the moment I can get my work done and generate my tables for export on the JSPs.
I'm still puzzled to why it's inability to pick up the TLDs although it's already existing in the JAR(s), and WEB-INF and now I've to spoil it totally by placing a copy in the JSP directory.
It was trying to look for /projectroot/WEB-INF/c.tld whereby my WEB-INF is on the same level as projectroot.
Just did a <%@ taglib uri="c.tld" prefix="c" %>
<%@ taglib uri="displaytag-11.tld" prefix="display" %>And now the tags are fine.
I'm still looking for an explanation and guides to why this is happening to my SOWS. I've no idea who was the bright spark that earlier configured the system this way.
All I can look forward to is to rearchitect the design and redo this application to v2 on Hibernate 3 and JSF/AJAX.
regards,
Michael

Similar Messages

  • Unable to Load struts-html-el Tags

    Hello, I downloaded the struts-html-el-1.2.8.tld and dropped it in my Elipse workspace under the WebContent/WEB-INF/tld directory where other struts-html.tld, struts-logic.tld, etc. are.
    In my JSP, I have
    <%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html-el"%>where http://struts.apache.org/tags-html-el is what is given in the struts-html-el-1.2.8.tld.
    Then, I used <html-el:form ...> <html-el:checkbox ...> <html-el:hidden ...> in my JSP. But, I got runtime error: "Unable to load tag handler class org.apache.strutsel.taglib.html.ELFormTag"
    What should I do?

    Where do I find the JAR for the html-el? I could not find it from the Struts framework download.
    What is the URL for tht JAR? Thanks in advance.

  • "Newbie Unable to load class for custom tag"

    I have recently written a custom tag but I have been unable to implement it in a JSP because the server is unable to load the .class file. Below I have supplied the files that contribute to make up the custom tag, aswell as the JSP file used to implement it.
    genericDBConnect.java
    stored in C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF\classes\jsp\tags\dbase
    package jsp.tags.dbase;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class genericDBConnect extends BodyTagSupport
    private String odbcDriver;
    private String dataSource;
    public void setOdbcDriver(String driver)
    odbcDriver = driver;
    public void setDataSource(String source)
    dataSource = source;
    public int doStartTag() throws JspException
    return EVAL_BODY_INCLUDE;
    public int doEndTag() throws JspException
    try{
    pageContext.getOut().print("This is the value of odbcDriver = " + odbcDriver + "and dataSource = " + dataSource);
         catch(Exception ioException)
         System.err.println("Exception thrown in genericDBConnect.doEndTag():");
         System.err.println(ioException);
         throw new JspException(ioException);
    return EVAL_PAGE;
    WEB.XML
    Stored in: C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF
    <!DOCTYPE web-app PUBLIC
         "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
         "http://java.sun.com/dtd/web-app_2_2.dtd">
    <web-app>
         <display-name>Generic database Connector</display-name>
         <description>
         Connecting to a database using dataSource and OdbcDriver
              Attributes as well as sending a query to the database;
         </description>
         <taglib>
              <taglib-uri>/genericdbconnecttags.tld</taglib-uri>
              <taglib-location>/WEB-INF/genericdbconnecttags.tld</taglib-location>
         </taglib>
    </web-app>     
    genericdbconnecttags.tld
    C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
         "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
         <tlib-version>1.0</tlib-version>
         <jsp-version>1.2</jsp-version>
         <short-name>genericDBConnect</short-name>
         <tag>
              <name>dbconnect</name>
              <tag-class>jsp.tags.dbase.genericDBConnect</tag-class>          
              <attribute>
                   <name>dataSource</name>
                   <required>true</required>
                   <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
                   <name>odbcDriver</name>
                   <required>true</required>
                   <rtexprvalue>true</rtexprvalue>
         </attribute>
         </tag>
    </taglib>
    DBTester.jsp
    Stored in:C:\jakarta-tomcat-3.2.3\webapps\exper
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Generic dataBase Connection</title>
    </head>
    <body>
    <%@ taglib uri="/genericdbconnecttags.tld" prefix="database" %>
    <database:dbconnect odbcDriver="sun.my.tag.lib" dataSource="hello">
    this is the the begining of the end of life as we know it
    </database:dbconnect>
    </body>
    </html>
    And this is the error I get:
    Error: 500
    Location: /exper/DBtester.jsp
    Internal Servlet Error:
    org.apache.jasper.compiler.CompileException: C:\jakarta-tomcat-3.2.3\webapps\exper\DBtester.jsp(8,0) Unable to load class null
         at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:129)
         at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759)
         at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138)
         at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909)
         at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
         at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
         at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
         at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    Please if you can help I will be very grateful

    I was searching about this problem and I found here.
    I'm using WSAD 4.0.3 and I'm making my first custom tag.
    Here is my files:
    ======================= CLASS ======================
    package sas.ric.tags.teste;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspWriter;
    import javax.servlet.jsp.PageContext;
    import java.io.IOException;
    public class ClTagHello extends TagSupport {
    public int doStartTag() {
         try {
              JspWriter out = pageContext.getOut();
              out.println("HELLO!");
         } catch (IOException ioe) {
              System.out.println("Erro in ClTagHello: " + ioe);
    return (SKIP_BODY);
    ================= TLD ==========================
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
         <tlib-version>1.0</tlib-version>
         <jsp-version>1.2</jsp-version>
         <short-name>ric</short-name>
         <uri></uri>
         <info>Exemple</info>
         <tag>
              <name>hello</name>
              <tag-class>sas.ric.tags.teste.ClTagHello</tag-class>
              <body-content>empty</body-content>
         </tag>
    </taglib>
    ======================== JSP =====================
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <META name="GENERATOR" content="IBM WebSphere Studio">
    <META http-equiv="Content-Style-Type" content="text/css">
    </HEAD>
    <%@ taglib uri="WEB-INF/app-tlds/tag-hello.tld" prefix="ric" %>
    <BODY>
    <ric:hello />
    </BODY>
    </HTML>
    ==========================================================
    Please, help me.
    Occur this error "JSPG0058E: Unable to load class null"
    Thank's

  • Custom Tag - Unable to Load Library

    I'm working on a project that needs to access custom tags. .
    We are using CFMX Version 6,1,0,63958 Edition Enterprise Operating
    system Windows 2003 OS version 5.2
    The Web application relies on 4 custom tags written in C++. I
    can get the first tag to work. The other tags work on my developer
    edition (CFMX 7), but I cannot
    get them to work on Version 6.1. I get the error "Unable to
    Load Library". These other custom tags each call an external DLL
    from within side them and I
    believe that this is what's causing the problem. I've tried
    researching this problem for months, checking the forums, Google,
    etc. but nothing has worked.
    I have a deadline coming up soon, so any help or advice to
    get me in the right direction
    to solve this problem would be greatly appreciated. I don't
    know what to do and I need a solution!
    Thanks

    That worked. It was looking for the dll in CFusionMX\Lib
    instead of in the CFX\custom tags folder.

  • Error: "The document information panel was unable to load"

    Hello,
    I have created a custom document content type that uses a specified word template for a sharepoint document library for contracts and offers, and added a few custom columns in the document library as well. The word template launches succesfully when creating a new item in the document library, but the problem arises when I add custom columns to the word template content type. When the document loads in Word, I get the following error: "The Document Information Panel was unable to load. The document will continue to open. For more information, contact your system administrator." And in details:
    "Document Information Panel cannot create a new, blank form.
    Document Information Panel cannot open the form. To fix this problem, contact your system administrator.
    Form template: http://servername/sitename/proppanel.xsn
    The following DataObject either cannot be created or cannot be initialized: list_033AA217-8906-447E-A604-A300F51D4030
    Document Information Panel cannot add the following object to the DataObjects collection: list_033AA217-8906-447E-A604-A300F51D4030
    list_033AA217-8906-447E-A604-A300F51D4030 could not be added to the DataObjects collection.
    The following item already exists in the collection: list_033AA217-8906-447E-A604-A300F51D4030"
    Interestingly enough, I have two web applications running on the same server that I have tried to implement this on, and on the other it works flawlessly, meaning that the Document Information Panel launches successfully and I can edit the columns associated with that content type and store the values in a document library. I have also tried to save the DIP template from the working web application and use it as the default DIP template on the other application, but that doesn't work either.
    I have also tried to browse through all options and configurations in the application settings in CA and SSP, but to no avail. Any suggestions about what might be causing this problem or how to fix it would be greatly appreciated.
    - Sebastian Eriksson

    Hi All,
    I have the same problem with my DIP in already two of my document libraries. Please see below:
    Document Information Panel cannot create a new, blank form.
    Document Information Panel cannot open the form. To fix this problem, contact your system administrator.
    Form template: http://servername/sitename/proppanel.xsn
    The following DataObject either cannot be created or cannot be initialized: list_295E77CD-1C08-4DDC-A188-F86107F9BF60
    Document Information Panel cannot add the following object to the DataObjects collection: list_295E77CD-1C08-4DDC-A188-F86107F9BF60
    list_295E77CD-1C08-4DDC-A188-F86107F9BF60 could not be added to the DataObjects collection.
    The following item already exists in the collection: list_295E77CD-1C08-4DDC-A188-F86107F9BF60
    I have made the same thing that Kirikou has suggested and I was able to recreate the broken library. The problem is that Kirikou's way has failed on my Share Point staging installation:
    [COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))]
       Microsoft.SharePoint.Library.SPRequestInternalClass.RenderViewAsHtml(String bstrUrl, String bstrListName, String bstrViewID, String bstrViewXml, String bstrQualifier, ISPDataCallback pDataCallback, Boolean& pbSharedList) +0
       Microsoft.SharePoint.Library.SPRequest.RenderViewAsHtml(String bstrUrl, String bstrListName, String bstrViewID, String bstrViewXml, String bstrQualifier, ISPDataCallback pDataCallback, Boolean& pbSharedList) +125
    [SPException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))]
       Microsoft.SharePoint.Library.SPRequest.RenderViewAsHtml(String bstrUrl, String bstrListName, String bstrViewID, String bstrViewXml, String bstrQualifier, ISPDataCallback pDataCallback, Boolean& pbSharedList) +166
       Microsoft.SharePoint.WebPartPages.ListViewWebPart.RenderView() +4239
       Microsoft.SharePoint.WebPartPages.ListViewWebPart.EnsureData(Int32 token) +658
       Microsoft.SharePoint.WebPartPages.SharePointDataProvider.Execute() +254
       Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateV2ConnectionsAndSharePointDataFetch() +139
       Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateConnections() +85
       System.Web.UI.WebControls.WebParts.WebPartManager.OnPageLoadComplete(Object sender, EventArgs e) +52
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnLoadComplete(EventArgs e) +2063076
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1875
    I will be very appreciated if somebody knows what is the reason for this problem.
    Best regards,
    Yordan Nikolov

  • Unable to load DLL 'OraOps10.dll with a twist

    Hi,
    So, I have been struggling with an issue for the last couple of weeks that is sending my mad. I receive the following error when attempting to make a connection to a database with my web app:
    Error message:
    "Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: (0x8007007E)"
    I am using
    Windows 2008 32bit
    Oracle Client 11g
    .net v2
    IIS7
    My apps called CMA, slimier to a more well known app NCSuite
    My connection to the database seems to working doing a simple test with a .udl file.
    I have attempted the following:
    Full re-installing the Oracle drivers following online instruction to clear reg and assembly, several times
    Setting permissions on the folder to beyond what they should be
    Setting permissions on any folder that refers to oracle
    Tried installing ODP.NET just on the off chance it might help
    Had a good mess to see if it was something to do with the 64bit issue, but obviously not as Im 32bit
    Unfortunately earlier version of the Oracle client are not compatible
    One thing that confuses me is why my app would refer to OraOps10.dll rather than the OraOps11w.dll thats being used. Only Oracle 11g has ever been installed on this machine as its a fresh build. The application itself does not directly refer to the OraOps10.dll.
    Any thoughts?
    Regards

    Hi,
    I'm a bit confused by your statement "+Tried installing ODP.NET just on the off chance it might help+". You can only get that error if you're using ODP.NET in the first place. A UDL file would test an oledb connection, so it's good just to make sure the client libraries are there and tnsnames configured correctly, but otherwise a bit irrelevant to this error.
    Anyway, that error occurs when ODP either cant find it's dependencies.. either the right OraOps or client dlls, or finds them but finds the wrong ones. OraOps11 (without the 'w') gets loaded when your application loads the 1.x ODP.NET provider. The provider for .net 2.x and higher loads oraops11w.dll.
    The usual cause of this error is from apps including Oracle.DataAccess.dll in the app bin directory, rather than letting it get picked up from the GAC.
    I'd start by
    1) searching your machine for all Oracle.DataAccess.dll, and rename any outside the Oracle home and/or GAC.
    2) if that doesnt do it, use a tool like Process Explorer (http://sysinternals.com) to find out where Oracle.DataAccess.dll is being loaded from, and what version. You need to have a matching OraOps that is the same version as Oracle.DataAccess.dll they actually need to be a matched pair (check the date of the dlls), but its the mismatched version that causes the error.
    3) if neither of the above help, use Process Monitor to watch the dll's loaded 'live' to see if there is some sort of permissions issue, but the well known permissions issue that you've probably found information about was specific to 9.2 and 10.2 client, and is not an issue with 11g. That is to say, the OUI sets permissions properly in 11g, but it's still possible an IIS admin may have cranked permissions down too tight.
    Additionally,
    1) What version of ODP was your app compiled with?
    2) What version of .NET framework?
    3) What version of 11g client do you have installed, and what did you install it from? ie, 11107.0 full client? or 11107.20 odac bundle?
    4) The ODP forum is located here: ODP.NET
    Hope it helps,
    Greg

  • Unable to load mySql Driver in Java class invoked using bpelx:exec

    Hi ,
    I am trying to connect to mysql database in my java class.when i run this class in Jdeveloper it loads the driver without any problem.I can chk the log in the Jdev messages area.Now I am invoking this class from the BPEL process through <bpelx activity.But when i run my BPEL process it throws runtime exception "classNotFoundException:unable to load com.mysql.jdbc.Driver".I have set the project properties ->libraries to the class path of the mysql jar file as well.
    Now if i try to connect with the Oracle driver then it is working fine.
    I know this is a classpath issue.Can anyone tell me if there are some other settings to make it work fine.
    the java code :
    System.out.println("in getConnection method");
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    System.out.println("loaded Driver :");
    String url="jdbc:mysql://ntlv014:3306/wx";
    _jdbcConnection = DriverManager.getConnection(url,"development","ber1nger");
    System.out.println("Got Connection :"+_jdbcConnection.isClosed());                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I think you have 2 options..
    either put the jar for the mysql in the classpath on the server...or try something like this :
    http://forum.java.sun.com/thread.jspa?forumID=17&threadID=633158
    try to put the jar of the mysql into the suitecase of the bpel.
    never seen this coming around...so..it's just a wild guess.
    ORABPEL-11622 Could not create/access the TopLink Session
    spendem got the same situation...the puts the libraries in the applib-dir
    Message was edited by:
    Eric Elzinga (IT-Eye)

  • Unable to load XDB library

    Hi, i have just created a new database but i keep getting the following error
    ORA-00600: internal error code, arguments: [unable to load XDB library],
    initializing SGA: sga_pass1Dynamic link error: Could not load module /u03/app/or
    acle/product/10.2.0.5/lib32/libxdb.so.
    The module has an invalid magic number.
    None of the other databases that have been running on the machine give out this error.
    I am running oracle 10.2 on aix
    I have read it may be something to do with it being 64 bit libraries. Even though none of the other DB's gave out any errors I have changed the setting in the user profile removing any mention of lib32 so they now read
    PATH=$ORACLE_HOME/bin:$ORACLE_HOME/lib:$ORACLE_HOME/lib
    LIBPATH=$ORACLE_HOME/lib
    export LIBPATH
    Ive shutdown the box, restarted the databases but the error occurs
    Any ideas?
    Many thanks

    Please check metalink doc ID 1292089.1
    It seems you have started the database with worng LIB settings, there are some steps provided to resolve this in the document
    On AIX there is special step for it and that should resolve your issue.
    Regards,
    Virendra
    Edited by: Virendra.K1.Yadav on Oct 2, 2012 1:53 PM

  • Unable to load DB2 library

    Hi,
    We are trying to install an application server on Windows in a UNIX SAP
    (abap+java) system with SAPinst.Our Central instance is in DB2/AIX
    platform and we want to install an windows application server.
    An error occured while processing start dialog instance task. Following
    error entry is displayed in dev_w0.
    "calling db_connect ...
    C  Registering callback for dynamic profile parameters
    C  *** ERROR => unable to load DB2 library 'E:\usr\sap\EBD\D01
    \exe/db6_clidriver\bin\db2app.dll'. Reason: A dynamic link library
    (DLL) initialization routine failed."
    [dbdb6.c      9714]
    C  *** ERROR in DB6Connect[dbdb6.c, 1412] CON = 0 (BEGIN)
    C  &+     DbSlConnectDB6: Unable to load DB2 libraries. Connect failed.
    Our Database instance version is DB2 9.1 with fp5 and application
    server db2 client version is also DB2 9.1 with fp5.
    Could you help us ?
    Best regards
    Gokhan Diren

    > C  Registering callback for dynamic profile parameters
    > C  *** ERROR => unable to load DB2 library 'E:\usr\sap\EBD\D01\exe/db6_clidriver\bin\db2app.dll'.
    Is that library there?
    Markus

  • Unable to load the necessary SQL connectivity library

    I am installing an older (non-Microsoft) program (32bit) that manages mail online and it requires an access to SQL Server to create database to complete installation. I am installing it on Windows Server 2003 standard. This program
    I am installing recommends SQL Server 2000. We are now running SQL Server 2005 on a separate server. For connectivity, I installed SQL server 2005 tools (full install) on the same 2003 server as the program so that this program could manage to locate
    SQL server 2005 and connect to it in order to create necessary tables and complete the installation. I already manually created the database for this program on SQL Server 2005. I created ODBC SQL Server connection string (User DSN). However, during
    installation, I am getting the following error message:
    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000 client tools and not 2005? Are there major differences between libraries versions? Should there be something else configured? What am I missing? Thanks in advance.

    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000
    client tools and not 2005?
    Tools are tools, not a connectivity library and by the error message the right connectivity library is missing. Ask the software vendor which one is required or look it up on the other machine, where the application works.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Unable to load taghandler on 10g(10.1.2.)

    Hello forum,
    I have one jstl tag to generate input fields, I have it in web-inf/tags and tld in web-inf/tld.
    On my develper machine I use tomcat 5.0.28 all working fine. I moved it to ora server, and i will get this error
    Unable to load taghandler class: http://cz.envinet/jsp/validAbleInput
    for sure that tld file is in claaspath I copy it to web-inf/lib.
    I use jakarta-taglibs-standard-1.0.6 standrat.jar and jstl.jar.
    My tld file
    <?xml version="1.0" encoding="UTF-8" ?>
    <taglib 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-jsptaglibrary_2_0.xsd"
    version="2.0">
    <description>valid able input</description>
    <display-name>validAbleInpu</display-name>
    <tlib-version>1.1</tlib-version>
    <short-name>validAbleInput</short-name>
    <uri>http://cz.envinet/jsp/validAbleInput</uri>
    <tag-file>
    <name>validAbleInput</name>
    <path>/WEB-INF/tags/validAbleInput.tag</path>
    </tag-file>
    Im new in jstl so I tried find some good information about it, but still dont get a lot of info to solve why it doesnt work on ora server.
    Anyone can help?
    Petr, CZ
    Im reading JSP documet for 10.1.2 server I did some changes in tld file and add taglib to web.xml
    <taglib>
    <taglib-uri>/validAbleInput</taglib-uri>
    <taglib-location>/WEB-INF/tags/validAbleInput.tag</taglib-location>
    </taglib>
    I cannot find that how to use tag file, all use class file,
    anyon eknow if 10.1.2 server can use tag jsp file?
    and maybe is solution that I cannot use tag in validAbleInput.tag writing in jsp but I need use java class file tag.
    Edited by: ppo on 9.4.2010 8:46
    Edited by: ppo on 9.4.2010 8:54

    I rewrite it to class tag I succesfuly loaded and show to the page, but I canot assignr parametrs to the tag i can use only
    example tag atibute name
    this work
    ... name="Jan".... ----? it will show -----> jan
    ...name="${bean.getName()}" ----> show ----> ${bean.getName()}
    ...name="<%=bean.getName()%>" ----> show ----> <%=bean.getName()%>
    anybody can help to understand
    My tld
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <!-- a tab library descriptor -->
    <taglib xmlns="http://java.sun.com/JSP/TagLibraryDescriptor">
    <description>valid able input</description>
    <display-name>validAbleInpu</display-name>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>example</short-name>
    <short-name>validAbleInput</short-name>
    <uri>/validAbleInput</uri>
    <tag>
    <name>validAbleInput</name>
    <tag-class>cz.envinet.jsp.tags.ValidAbleInputTag</tag-class>
    <attribute>
    <name>name</name>
    <required>true</required>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <name>value</name>
    <required>true</required>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <name>isError</name>
    <required>true</required>
    <type>java.lang.Boolean</type>
    </attribute>
    <attribute>
    <name>errorMsg</name>
    <required>true</required>
    <type>java.lang.String</type>
    </attribute>
    <attribute>
    <name>isDateInput</name>
    <required>false</required>
    <type>java.lang.Boolean</type>
    </attribute>
    <attribute>
    <name>reqValue</name>
    <required>true</required>
    <type>java.lang.String</type>
    </attribute>
    </tag>
    </taglib>
    web.xml definition
    <taglib>
    <taglib-uri>/validAbleInput</taglib-uri>
    <taglib-location>/WEB-INF/tlds/validAbleInput.tld</taglib-location>
    </taglib>
    Petr, CZ
    Edited by: ppo on 9.4.2010 11:16

  • 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.

  • Getting JNLP error: "exception: Unable to load resource:-"

    I've posted this question in Stackoverflow... but didn't get any answer...
    Hi Guys,
    I'm brand new to JNLP.
    I've been trying to fix this for straight 2 days... I have no clue...
    I've a dynamic web project in eclipse. And I wanted to append an Applet in html. It works fine, if I append it without using jnlp. But if I use jnlp, its throws exception...
    Please help me....
    Here is my package structure:
    DaaS
    DaaS\WebContent
    \WebContent\AppletToJS.html
    \WebContent\appletToJS.jnlp
    \WebContent\FirstApplet.jar
    "FirstApplet.jar" contains the Applet class - AppletToJS.java
    Here is my `jnlp` file:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp href="appletToJS.jnlp">
    <information>
    <title>Dynamic Tree Demo</title>
    <vendor>Dynamic Team</vendor>
    </information>
    <resources>
    <!-- Application Resources -->
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="FirstApplet.jar" main="true" />
    </resources>
    <applet-desc
    name="Applet To JS"
    main-class="acid.AppletToJS"
    width="300"
    height="300">
    </applet-desc>
    <update check="background"/>
    </jnlp>
    Here is my `html` file:
    <html lang="en-US">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <body>
    <script src="http://www.java.com/js/deployJava.js"></script>
    <script>
    var attributes = { code:"acid.AppletToJS",  width:100, height:100} ;
    var parameters = {jnlp_href: "appletToJS.jnlp"} ;
    deployJava.runApplet(attributes, parameters, "1.6");
    </script>
    <!-- <applet codebase="./jars" archive="FirstApplet.jar" Code="acid.appletToJS.class" width=200 Height=100></applet> -->
    <p id="summary"/>
    </body>
    </html>
    while I run my html page I got following error:
    <code>
    exception: Unable to load resource: http://localhost:8080/jars/FirstApplet.jar.
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:8080/jars/FirstApplet.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by:
    java.io.FileNotFoundException: http://localhost:8080/jars/FirstApplet.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost:8080/jars/FirstApplet.jar
    </code>
    **http://localhost:8080/jars/FirstApplet.jar**
    - I really don't understand where the hell "/jars" coming from???
    - My project name is "DaaS" and my jar, html page and jnlp page are in same directory. And I'm running my html page on tomcat-7 server.
    Edited by: user1202074 on Feb 7, 2012 4:24 PM
    Edited by: user1202074 on Feb 7, 2012 4:24 PM

    It must be coming from the commented-out <applet> tag somehow.
    You aren't specifying an 'id' element. See the Deploy Java Toolkit documentation.

  • JSP Unable to load class

    I am using the core servlets book and Tomcat 3.2.4 to learn JSP. The first example will not work because of the follwing exception:
    org.apache.jasper.compiler.CompileException: E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp\SimpleExample.jsp(14,7) Unable to load class E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag
    I have the following files in the following paths:
    ExampleTag.java is in the path E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag and the code is as follows:
    package tags;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    /** Very simple JSP tag that just inserts a string
    * ("Custom tag example...") into the output.
    * The actual name of the tag is not defined here;
    * that is given by the Tag Library Descriptor (TLD)
    * file that is referenced by the taglib directive
    * in the JSP file.
    * <P>
    * Taken from Core Servlets and JavaServer Pages
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.coreservlets.com/.
    * &copy; 2000 Marty Hall; may be freely used or adapted.
    public class ExampleTag extends TagSupport {
    public int doStartTag() {
    try {
    JspWriter out = pageContext.getOut();
    out.print("Custom tag example " +
    "(tags.ExampleTag)");
    } catch(IOException ioe) {
    System.out.println("Error in ExampleTag: " + ioe);
    return(SKIP_BODY);
    This is an excert from the Tag Library Descriptor file named csajsp-taglib.tld (the entire file is too long to include). This is in path :E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <!-- a tag library descriptor -->
    <taglib>
    <!-- after this the default space is
    "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd"
    -->
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>csajsp</shortname>
    <!-- ** CHANGED FROM "urn" TO "uri" IN TOMCAT 3.1 ** -->
    <uri></uri>
    <info>
    A tag library from Core Servlets and JavaServer Pages,
    http://www.coreservlets.com/.
    </info>
    <!--
    <tag>
    The name (after prefix) tag will have in JSP code
    <name>example</name>
    The actual class implementing tag. In
    Tomcat 3.1 beta, it MUST be in a package.
    <tagclass>tags.ExampleTag</tagclass>
    Descriptive information about tag.
    <info>Simplest example: inserts one line of output</info>
    One of three values describing what goes between
    start and end tag.
    empty: no body
    JSP: body that is evaluated by container normally,
    then possibly processed by tag
    tagdependent: body is only processed by tag;
    JSP in body is not evaluated.
    ** NOTE: TOMCAT 3.1 FINAL DOES NOT SUPPORT BODYCONTENT **
    ** THE BETA SUPPORTED IT, AND IT IS PART OF SPEC, BUT... **
    <bodycontent>empty</bodycontent>
    </tag>
    -->
    <tag>
    <name>example</name>
    <tagclass>E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag</tagclass>
    <info>Simplest example: inserts one line of output</info>
    <!-- TOMCAT 3.1 DOES NOT SUPPORT BODYCONTENT
    <bodycontent>empty</bodycontent> -->
    </tag>
    and the .jsp file is SimpleExample.jsp and is located in the path E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp\SimpleExample.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!--
    Illustration of very simple JSP custom tag.
    Taken from Core Servlets and JavaServer Pages
    from Prentice Hall and Sun Microsystems Press,
    http://www.coreservlets.com/.
    &copy; 2000 Marty Hall; may be freely used or adapted.
    -->
    <HTML>
    <HEAD>
    <%@ taglib uri="csajsp-taglib.tld" prefix="csajsp" %>
    <TITLE><csajsp:example /></TITLE>
    <LINK REL=STYLESHEET
    HREF="JSP-Styles.css"
    TYPE="text/css">
    </HEAD>
    <BODY>
    <H1><csajsp:example /></H1>
    <csajsp:example />
    </BODY>
    </HTML>
    I have tried putting the ExampleTag.java file and the folder that it is in, 'tags', in about every path I can think of and I get the same error. I also tried removing the entire path from the .tld file and just calling for tags.ExampleTag. Still no luck.
    I am using win98.
    Any assistance will be greatly appreciated.
    Thanks,
    Scott

    I compiled the .java and put the .class file in the following path:
    E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags
    I am getting the error: org.apache.jasper.compiler.CompileException: E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\jsp\SimpleExample.jsp(14,7)
    Unable to load class E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag
    Here is another look at the .java file that I compiled:
    package tags;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    /** Very simple JSP tag that just inserts a string
    * ("Custom tag example...") into the output.
    * The actual name of the tag is not defined here;
    * that is given by the Tag Library Descriptor (TLD)
    * file that is referenced by the taglib directive
    * in the JSP file.
    * <P>
    * Taken from Core Servlets and JavaServer Pages
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.coreservlets.com/.
    * � 2000 Marty Hall; may be freely used or adapted.
    public class ExampleTag extends TagSupport {
    public int doStartTag() {
    try {
    JspWriter out = pageContext.getOut();
    out.print("Custom tag example " +
    "(tags.ExampleTag)");
    } catch(IOException ioe) {
    System.out.println("Error in ExampleTag: " + ioe);
    return(SKIP_BODY);
    Any idea why I am still getting an error?

  • Unable to load the XML Report

    Hi,
    I am using TestStand 3.1. Someone before me has developped a lot of things in our application : specific steps, specific process model, ... . Now this person is not here anymore and I have a test report display problem.
    After an execution, the execution window cannot display the test report and displays the following message :
    "Unable to load the XML Report.
    At line 285 End tag 'NOBR' does not match the start tag 'BR'."
    Also with Internet Explorer, the test report cannot be displayed (and he locates the error at lign 287) .
    Needless to say that I am a poor guy in XML code that's why I am asking you some help.
    But, I opened the .xml with a text editor and that is the part of the code which causes the problem :
    284 </Prop>
    285 <BLOCKQUOTE>
    286 <H5><NOBR>Begin Sequence: MainSequence
    287 <BR>(X:\DATA_Utilisateur\Florian DENEVE\04_GENERIC\GenericTestMainSeq\GenericTestMainSeq.seq)<BR></BR></H5>
    288 <table BORDERCOLOR=#000000 FRAME=BOX RULES=ALL WIDTH=70%><TBODY>
    (please, be careful with the lines numbers, because i don't think that IE and TestStand have the same numbering)
    I don't know if it's a problem of basic TestStand or if it's due to the new process model and modifications realized by my previous colleague.
    Any ideas ?
    Thanks in advance for your help.

    Ok, here they are.
    There is a file called Addons.cfg.sources but I had to rename it to get it to attach
    Attachments:
    Addons.cfg.sources.txt ‏1 KB
    Addons.cfg ‏53 KB
    ResultProcessing.cfg ‏189 KB

Maybe you are looking for

  • PO texts from vendor master

    Hi, when I create a PO using a vendor, after filling field Purchasing Org., Purch. Group and Company code, system copies a text but I don't know from where. In PO down the header texts I can read "Text adopted from Vendor Master (Purch.org.-spec.test

  • Works in FF & Safari, but not IE

    I'm using a drop down menu on the 'Services' link of this page: Heidi Maguire It works fine in Safari and Firefox, but goes haywire or is absent in IE 6 and 7. I've just used the spry menu widget in CS3 and altered the behaviours to make it show/hide

  • Excise shown is zero

    hi all, during excise capturing.excise shown is zero(aed and bed shown zero). tax procedure TAXINJ. REGARDS SUMIT BISLA

  • DBMS_JAVA Permissions & Host Procedure Errors

    I have a package which calls a procedure "Host" (all source below) to execute a command. Everything was working fine, except I was't able to see the DBMS_output results. So, I tried to get the DBMS_Java.Set_output to working by playing with the dbms_

  • Doubt in DBMS_JOB

    Hello Friends, I have a doubt in creating job schedule. I created a stored proecedure for a particular process and i would like to execute that sp every 5 secs. i created a job scheduler and submitted that but could not able to run that. Can anyone t