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.

Similar Messages

  • Custom tag - unable to find setter method error

    I see this compileException on IAS but not on BEA app server and iWS.
    JSPProvider.processJSPFile(): jsp=searchContent.jsp, org.apache.jasper.compiler.CompileException
    Unable to find setter method for attribute: input
    The reason is because the custom tag has a setInput() that takes a String parameter while the getInput() returns an InputStream.
    Should both get and set methods have the same type of parameters or is this a due to a bug in the app server ?

    I see this compileException on IAS but not on BEA app
    server and iWS.
    JSPProvider.processJSPFile(): jsp=searchContent.jsp,
    org.apache.jasper.compiler.CompileException
    Unable to find setter method for attribute: input
    The reason is because the custom tag has a setInput()
    that takes a String parameter while the getInput()
    returns an InputStream.
    Should both get and set methods have the same type of
    parameters or is this a due to a bug in the app server
    I was only going off info from the original post. The error specifically states "Unable to find setter method for attribute: input" with a lower case i for the input attribute. You also specifcally stated "The reason is because the custom tag has a setInput()" with a capital I for the setInput method. This would most definitely cause the error you were receiving. That is unless you corrected this between your original post and your followup testing.
    Cliff

  • c:import tag unable to load xml file

    I'm using weblogic 8.1 sp5. This is how my jsp looks like:
              <%@ taglib uri="/WEB-INF/x" prefix="x" %>
              <%@ taglib uri="/WEB-INF/c" prefix="c" %>
              <c:import url="/WEB-INF/ADVLSOG6Request.xml" var="file" />
              I get an error message in the console window that says, "included resources or file "/lwise/WEB-INF/ADVLSOG6Request.xml" not found from requested resources /lwise/pages/ADVRequest.jsp"
              The xml file is under WEB-INF directory. I've even tried putting this file in the same directory as jsp i.e. /lwise/pages/ and changes the c:import tag to <c:import url="ADVLSOG6Request.xml" var="file" /> so that it can locate it but to no avail. I've tried deploying both as war module and exploded directory but still gives me the same error. I'm using JBuilder Enterprise 12 as my IDE - jsp 1.2. Any idea how can I load this class using this tag? or why it cannot see it? Thanks.

    LightWorker wrote:
    I haven't tried to update the firm ware yet, but this is probably my next move.
    The paper says
    “Unable to set attribute” error message will be displayed. Run the CameraValidator.exe utility with the “/ATTRIBUTES” flag to detect which attributes are generating errors and contact your camera vendor for a new and updated version of the camera firmware. 
     I've run the CameraValidator.exe but it couldn't find the camera or the attributes.
    Also check the firmware version

  • Load Library Failures

    I just upgraded to a new box - was previously on IIS6,
    Windows 2000 Server and CF7 - None of my CFX tags are loading -
    CFX_ZIP, Image, etc. I get the Unable to Load Library exception.
    Unfortunately - we rolled to a production server and our testing
    missed these - it's amazing how much things are used when you skip
    right through them!

    By default Windows (and hence Java) will look for your DLL in several places - one being the working directory, I think it also looks under the Java installation directory somewhere (that's probably where your C:\Program Files\ entry is coming from), one being the OS directory (C:\WINDOWS\, or C:\WINNT\ or something), and so on.
    I think you can set the LIBPATH as well? Or was that Win95/97/Me? I forget.
    Anyway, this is all to do with how Windows works - it always looks in all these places before admitting that it doesn't know where a DLL is.
    The exception is if you specify the full path to the DLL (which in Java I think you can do in the loadLibrary call), when I think it looks only in that place. But that's not recommended as you might want to change your mind later without recompiling the code.
    Anyway, normally it will look in all these places, but it will also look in the place you specify with the -D syntax above, and (importantly) it will look there first. So if you set that and place your DLLs there, you won't get the error.
    Dave.

  • Custom tag as performance hits.

              Hi All,
              I want to know if there is a correlation between the number of custom tags used in
              a JSP page and the page's performance.
              Is there a guideline/study which indicates (or otherwise) that increasing the number
              of custom tags decreases the loading (rendering) time of the JSP page. I understand
              that more tags mean more jsp-compilation time but I am interested in runtime performance.
              Thanks,
              Anu
              

    I want to know if there is a correlation between the number of custom tags          used in
              > a JSP page and the page's performance.
              >
              > Is there a guideline/study which indicates (or otherwise) that increasing
              the number
              > of custom tags decreases the loading (rendering) time of the JSP page. I
              understand
              > that more tags mean more jsp-compilation time but I am interested in
              runtime performance.
              Each additional tag adds some runtime overhead. The overhead is primarily
              determined by the quality of the tag implementation. I'd rather have 1000
              well written tags than 1 poorly written one ;-) ... e.g. if you are doing
              JDBC calls from a tag, then you will probably get into trouble in a hurry.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "Anu Agrawal" <[email protected]> wrote in message
              news:3cd821c0$[email protected]..
              >
              

  • Unabale to load library

    I'm moving from cf5 to cfmx7. I moved over a spell check that
    ran fine on cf5. (everything is in one folder) I plopped it in the
    folder and in the cf admin pages I registered it. Now I'm getting
    the error "Unable to load library ". Any ideas about what I need to
    do?
    Thanks,j

    Your Windows XP is more than likely missing mandatory Windows updates that are needed in the latest version of Skype.  To resolve the problem, you can get those updates here:
    http://community.skype.com/t5/Windows-desktop-client/Fatal-error-fail-to-load-library-dxva2-dll/m-p/...

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

  • Connection Pooling and JSP Custom Tag Library - is code (inside) the best way/correc?

    Hi, can anyone advise as to whether my tag library code (based
    on Apache Jakarta Project) will actually achieve connection
    pooling functionality across my entire JSP based application? I
    am slightly concerned that my OracleConnectionCacheImpl object
    may exist multiple times, hence rendering my conection pooling
    attempt useless.
    package com.solved.tag.dbtags.connection;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspTagException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import oracle.jdbc.pool.OracleConnectionCacheImpl;
    * <p>JSP tag connection, used to get a
    * java.sql.Connection object.</p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>connection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.ConnectionTag&lt;/t
    agclass>
    * &lt;bodycontent>JSP&lt;/bodycontent>
    &lt;teiclass>com.solved.tag.dbtags.connection.ConnectionTEI&lt;/t
    eiclass>
    * &lt;info>Opens a connection based on a jndiName.&lt;/info>
    * &lt;attribute>
    * &lt;name>id&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    public class ConnectionTag extends TagSupport {
    static private OracleConnectionCacheImpl cache = null;
    public int doStartTag() throws JspTagException {
    try {
    Connection conn = null;
    if (cache == null) {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup
    ("jdbc/pool/OracleCache");
    cache = (OracleConnectionCacheImpl)ds;
    catch (NamingException ne) {
    throw new JspTagException(ne.toString());
    conn = cache.getConnection();
    pageContext.setAttribute(getId(),conn);
    catch (SQLException e) {
    throw new JspTagException(e.toString());
    return EVAL_BODY_INCLUDE;
    package com.solved.tag.dbtags.connection;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    * <p>JSP tag closeconnection, used to close the
    * specified java.sql.Connection.<p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>closeConnection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
    lt;/tagclass>
    * &lt;bodycontent>empty&lt;/bodycontent>
    * &lt;info>Close the specified connection. The "conn"
    attribute is the name of a
    * connection object in the page context.&lt;/info>
    * &lt;attribute>
    * &lt;name>conn&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    * @see ConnectionTag
    public class CloseConnectionTag extends TagSupport {
    private String _connId = null;
    * The "conn" attribute is the name of a
    * page context object containing a
    * java.sql.Connection.
    * @param connectionId
    * attribute name of the java.sql.Connection to
    close.
    * @see ConnectionTag
    public void setConn(String connectionId) {
    _connId = connectionId;
    public int doStartTag() {
    try {
    Connection conn = (Connection)pageContext.getAttribute
    (_connId);
    conn.close();
    } catch (SQLException e) {
    // failing to close a connection is not fatal
    e.printStackTrace();
    return EVAL_BODY_INCLUDE;
    public void release() {
    _connId = null;
    package com.solved.tag.dbtags.connection;
    import javax.servlet.jsp.tagext.TagData;
    import javax.servlet.jsp.tagext.TagExtraInfo;
    import javax.servlet.jsp.tagext.VariableInfo;
    * TagExtraInfo for the connection tag. This
    * TagExtraInfo specifies that the ConnectionTag
    * assigns a java.sql.Connection object to the
    * "id" attribute at the end tag.
    * @author Matt Shannon
    * @see ConnectionTag
    public class ConnectionTEI extends TagExtraInfo {
    public final VariableInfo[] getVariableInfo(TagData data)
    return new VariableInfo[]
    new VariableInfo(
    data.getAttributeString("id"),
    "java.sql.Connection",
    true,
    VariableInfo.AT_END
    data-sources.xml:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-
    sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    name="jdbc/pool/OracleCache"
    location="jdbc/pool/OracleCache"
    url="jdbc:oracle:thin:@oracle1:1521:pdev"
    >
    <property name="maxLimit" value="15" />
    <property name="cacheScheme" value="2" />
    <property name="user" value="console" />
    <property name="password" value="console" />
    <description>
    This DataSource is using an Oracle-native DataSource Class so as
    to allow Oracle Specific extensions.
    A getConnection() call on this DataSource will return
    oracle.jdbc.driver.OracleConnection.
    The connection returned is a logical connection.
    The caching scheme in place is Fixed Wait. Refer below to
    possible values.
    Dynamic 1
    Fixed Wait 2
    Fixed Return Null 3
    </description>
    </data-source>
    </data-sources>
    many thanks,
    Matt.

    Hi. Show me your pool definition.
    Joe
    Ramamurthy wrote:
    I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
    I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
    When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
    "javax.servlet.jsp.JspException: Failed to write body content
    at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
    After this message, whenever I try to access the same jsp page I am getting the message
    "javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
    river
    at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
    Can you please help me the reason why this problem is happening and how to fix this ?
    This problem doexn't happen consistently. This occurs once in a while.
    I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
    Thanks for your help !!!
    Ram

  • OAAM 11g R2: Unable to load java class for custom configurable action

    Need to configure a Configurable Action to get triggered for a particular action at a given checkpoint.
    Steps Followed:
    1. Created a java class implementing com.bharosa.vcrypt.tracker.dynamicactions.intf.DynamicAction, getParameters() and execute() methods were implemented in that java class.
    2. Added necessary jars from $ORACLE_IDM_HOME\oaam\cli\lib to the build classpath.
    3. Compiled and created a jar with it.
    4. Extracted the oracle.oaam.extensions.war file into a working folder.
    5. Added the Custom Jar created in step 3 into <working folder>/WEB-INF/lib/
    6. Changed the following in MANIFEST.MF in <working folder>/META-INF/:
    Specification-Version:11.1.2.0.1
    Implementation-Version:11.1.2.0.1
    7. Rejar-ed the oracle.oaam.extensions.war from the working folder using following command:
    jar -cvfm oracle.oaam.extensions.war <working folder>\META-INF\MANIFEST.MF -C <working folder>/ .
    8. Stopped the oaam_admin_server1, oaam_offline_server1 and oaam_server_server1.
    9. Deleted the oracle.oaam.extensions deployment from the weblogic.
    10. Deployed the newly created oracle.oaam.extensions as a shared library for oaam_admin_server1 and oaam_server_server1.
    11. Started all managed servers.
    But when I tried to create an action template with the java class I just created, it was throwing following error
    +java.lang.ClassNotFoundException: *+
    Unable to load configurable action class *. Ensure the class is made available in the class path.
    Referred following documents:
    1.      http://docs.oracle.com/cd/E27559_01/admin.1112/e27207/cfgactions.htm
    2.     http://docs.oracle.com/cd/E27559_01/dev.1112/e27206/cfg-action.htm
    3.     http://docs.oracle.com/cd/E27559_01/dev.1112/e27206/extend.htm
    Kindly help me. Thanks in advance.
    Edited by: 917717 on Dec 12, 2012 7:16 PM

    This thread is a bit stale but I thought it might help to clarify one point about custom jar files on UCCX.
    To properly load a custom jar:
    Upload it into the classpath directory in the document repository. 
    Select it under System | Custom Classes Configuration
    Finally you need to restart the CCX Engine and the CCX Administration services.  If you have HA you need to restart them on both servers. 
    Other notes:
    When referencing your class in the CCX Editor, use the fully qualified name of the class.  Lots of other classes use things like Element or Document so you need to be explicit. The editor only knows about the 20 native classes by their object names.  If you create a Document object in the editor you are really creating a com.cisco.doc.Document object.  If you loaded jdom.jar and you wanted a jdom document then you need to create an object of type org.jdom.Document.
    When compiling your custom jar files, be sure to compile for the version of Java that the CCX Engine runs.  In general UCCX 7.X and older use Java 1.4.  UCCX 8.X and higher use Java 1.6.  Several of the core Java classes had significant changes between 1.4 and 1.6. If you ran your code on UCCX 7 or earlier and now it fails in UCCX 8.X or higher, recomplile for Java 1.6 and you classes will likely work again.
    Finally, check for security violations in UCCX 8.X or higher.  Cisco has restricted some of the things you can do.  These URL's have more information:
    http://docwiki.cisco.com/wiki/Engine
    http://docwiki.cisco.com/wiki/Troubleshooting_Tips_for_Unified_CCX_8.0
    -Steven
    Please help us make the communities better.  Rate helpful posts!

  • Unable to load your custom module provider's module-factory-class

    I am having a problem while I deploy my application. it gives me following error:
    Unable to load your custom module provider's module-factory-class com.bea.p13n.descriptor.module.ConfigModuleFactory
    Dont know how to resolve it. the class is in p13n_system.jar file, I have added that jar as a library in deployment but still it shows the same error.
    Added it in classpath as well but same error. (Dont know exactly how to add in class path, i have added just in "Start Server" tab's classpath)
    Any help will be greatly appreciated

    Below link might be helpful.
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=1049509&tstart=0
    Regards,
    Anandraj
    http://weblogic-wonders.com/

  • Unable to create a custom tag

    Hi All
    i am trying to make a custom tag in jsp2.0. I have made the java class which override the doTag method. I have created the tld file and put it in the directly WEB-INF FOLDER.I have written a jsp as well which uses this tag and the uri in the jsp mathces the uri in the tld file. Then it gives me the error message that unable to find the tld file.
    then i made entry in the web.xml as well but now it is giving me an error:
    JSPG0227E: Exception caught while translating /UseCustom.jsp: /UseCustom.jsp(19,1) --> JSPG0009E: Unable to load tag handler class com.hcl.taghandlers
    I am using jstl 1.1 and jsp2.0 and the IBM Rational editor.
    please help as soon as possible.
    thanks in advance!!!!!!!!

    There was a very minute syntax mistake in the web.xml.
    now it is working fine.
    By the thanks to all those who devoted some time to think over it.

  • Custom tag library called multiple times

    Hi ppl ,
    I have a custom tag library which i use to populate some menu components. When i do call my custom tag library though , it is called multiple times, use case is as follows.
    I have menu tabs and menu bars which thanks to Mr.Brenden is working splendidly as so:-
    <af:menuTabs>
    <af:forEach var="menuTab" items="#{bindings.menu.vwUserMenuTabRenderer.rangeSet}">
    <af:commandMenuItem text="#{menuTab.MenuLabel}"
    shortDesc="#{menuTab.MenuHint}"
    rendered="true"
    immediate="true"
    selected="#{sessionScope.selectedMenuId == menuTab.MenuId }"
    onclick="fnSetSelectedValue('#{menuTab.MenuId}')" >
    </af:commandMenuItem>
    </af:forEach>
    </af:menuTabs>
    <af:menuBar>
    <af:forEach var="menuBar" items="#{bindings.menu.vwUserMenuBarRenderer.rangeSet}">
    <af:commandMenuItem onclick="return clickreturnvalue()"
    onmouseover="dropdownmenu(this, event,#{menuBar.MenuId}, '150px')"
    onmouseout="delayhidemenu()"
    text="#{menuBar.MenuLabel}"
    action="#{menuBar.MenuUri}"
    rendered="#{menuBar.ParentId == sessionScope.selectedMenuId}"
    immediate="true" />
    </af:forEach>
    </af:menuBar>
    </afc:cache>
    now all of this code is within a subview , and just directly below the subview tag , i have the call to my custom tag library:-
    <myCustomTagLib:menuCascade />
    only issue now is that assuming i have in all 7 menu bar components, the doStartTag is called 7 times. the relevant code within my custom tag class is as follows :-
    public int doStartTag() throws JspException {
    return (EVAL_BODY_INCLUDE);
    public int doEndTag() throws JspException {
    try {
    declareVariables();
    return EVAL_PAGE;
    }catch (Exception ioe) {
    throw new JspException(ioe.getMessage());
    and within my declareVariables method i do an out of the jscript ( out.print(jscript.toString()); ) which is a simple string generated based on certain conditions...
    now it seems to be working fine on the front end , but when i view the source of the page, i notice that the declaration is called multiple times, and this happens because the doStartTag method is called multiple times, i haven't even nested the call to the custom tag within the menu components , any clue as to whats going wrong ?
    Cheers
    K

    Hi,
    if you add the following print statement
    System.out.println("rendering "+FacesContext.getCurrentInstance().getViewRoot().getViewId());
    Then the output in my case is
    07/04/24 08:14:04 rendering /BrowsePage.jsp
    07/04/24 08:14:05 rendering /otn_logo_small.gif
    The image comes from the file system, which means it is rendered by the JSF lifecycle. If you reference the image with a URL then the lifecycle doesn't render the image but only refrences it.
    To avoid your prepare render code to be executed multiple times, just check for jsp and jspx file extensions, which will guarantee that your code only executes for JSF pages, not for loaded files.
    The reason why this happens is because the JSF filter is set to /faces , which means all files that are loaded through that path
    Frank

  • Custom Tag Library - error in IWS

    My environment: Solaris 2.7, IWS4.1 SP3.
    I currently try to run the Custom Tag Library example from IWS itself in
    server_root/plugins/samples/servlets/taglibs. I follow the instructions to
    config the IWS but fail to run the example. I turn on JSP debugging and
    find the following error messages:
    [12/Oct/2000:13:03:10] info (28609): Service(): uri=/jsps/test-tags.jsp
    cgiScriptName=/jsps/test-tags.jsp token=null cached=false
    [12/Oct/2000:13:03:10] info (28609): Internal Info: loading servlet
    /jsps/test-tags.jsp
    [12/Oct/2000:13:03:10] info (28609): JSP: This is a jsp 1.x file
    [12/Oct/2000:13:03:10] info (28609): JSP: Before JSP1x compiler.compile,
    servletName = /jsps/test-tags.jsp servletPath =
    /u01/devin/docs/jsps/test-tags.jsp & dir = ../ClassCache
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Package name is:
    jsps.jsps
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Class name is:
    test0002dtags_jsp
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Java file name is:
    /opt/netscape/server4/https-devin/config/../ClassCache/_jsps/_jsps/_test_000
    2dtags_jsp.java
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Class file name is:
    /opt/netscape/server4/https-devin/config/../ClassCache/_jsps/_jsps/_test_000
    2dtags_jsp.class
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace:
    Handling Directive: page {language=java}
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Accepted
    org.apache.jasper.compiler.Parser$Directive at /jsps/test-tags.jsp(0,0)
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace:
    Handling Directive: taglib {uri=/jsps/test-tags.jar, prefix=tt}
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Copying
    /jsps/test-tags.jar into
    /opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Adding jar
    /opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
    to my classpath
    [12/Oct/2000:13:03:10] info (28609): Aborting JVM
    [12/Oct/2000:13:03:10] info (28609): Exiting JVM due to: jvm_abort () and
    jvm.exitOnAbort > 0
    [12/Oct/2000:13:03:10] info (28609): JVM exit statistics:
    AttachedThreads/Max=1/1, ActiveThreads/Max=1/1
    [12/Oct/2000:13:03:11] info (28716): Initializing MMapSession Manager to
    hold a maximum of (1000) sessions, each of which can store a maximum of
    (100) values and no value size bigger than (1024) bytes, with a timeout
    value of (1800) seconds
    IWS keeps aborting JVM and one can see from the log that it abort jvm when
    trying to :
    [12/Oct/2000:13:03:10] info (28609): JSP1x Jasper Trace: Adding jar
    /opt/netscape/server4/https-devin/config/../ClassCache//jsps/test-tags.jar
    to my classpath
    [12/Oct/2000:13:03:10] info (28609): Aborting JVM
    I have tried another much simple Custome Tag Library example that only contain a simple tag that do output to page, but still getting the same error.

    I had the same issue with WAS 6.1.0.2. I do not have a solution, but a workaround. I hope the workaround I have works for you too.
    In my case, I have the TLD files deployed in a jar. So, the JSP 2.0 container is supposed to read those TLD files from the jar file. Since that was not happening, I extracted the TLD file from the jar file and placed it under my web project's WEB-INF folder.
    I restarted my server and after that it worked.
    Look at the IBM site to see if they have come up with a patch for WAS 6.0.
    Hope this helps.
    -Javier

  • The server was unable to load the SSL provider library needed to log in

    Hello All,
    When I am trying to login to my default SQL 2008R2 SP2 instance in windows 2003 server via ssms, I am getting the below error
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (.Net SqlClient Data Provider)
    When I looked into the error log and i could see lot of these messages.
    The server was unable to load the SSL provider library needed to log in; the connection has been closed. SSL is used to encrypt either the login sequence or all communications, depending on how the administrator has configured the server. See Books
    Online for information on this error message: 14 Not enough storage is available to complete this operation.
    Force protocol encryption is set to off.
    I am not sure what is the underlying problem. server's total RAM is 4 Gb and max_server_memory is set to 2 GB. CPU utilization is very normal at the time of issue.
    I restarted the SQL service and i am able to connect to the instance, but the issue is repeating and i need to find a permanent fix.
    Thanks

    I could also see the below in error log some time before i get the above alert 
    Error: 701, Severity: 17, State: 123.
    There is insufficient system memory in resource pool 'internal' to run this query
    then after sometime flurry of alerts 
    The server was unable to load the SSL provider library
    needed to log in; the connection has been closed. SSL is used to encrypt either the login sequence or all communications, depending on how the administrator has configured the server. See Books Online for information on this error message: 14 Not enough storage
    is available to complete this operation.
    Thanks

  • Teamspeak3-server: unable to load database plugin library

    After applying the latest package version, I get: "unable to load database plugin library "libts3db_mariadb.so".
    It used to run perfectly fine before. libts3db_mariadb.so is present at /usr/lib/
    I am stuck and don't know what to check next. Please advise.

    It seems the same conclusion is discussed on the AUR already; did you read that?
    https://aur.archlinux.org/packages/teamspeak3-server/

Maybe you are looking for

  • IPod is recognized in Windows XP but not iTunes

    I just had my iPod mini replaced. When i connected it to my computer, it said "New Hardware Found" and recognized the iPod as an iPod. However, when I went into iTunes, it wasn't there, and the iPod Software Updater is up-to-date and says, "no ipod c

  • IPhone 5 does not connect to iPhoto 9.0 after iOS 7.1 update

    I have been using iPhoto 9.0 (version 8.1.2) on my Mac to get the photos and videos from my iPhone 5 since I got the phone.  It stopped working today after I updated the iOS on my iPhone to 7.1.  Now when I connect the iPhone to my Mac, the iPhoto th

  • Red Hat (Enterprise Linux) and Hewlett Packard

    Dear HP, You folks seem to have made a real effort to get your printer drivers out there to all. I applaud you. Enlightened self-interest. It is now 2014. You offer me drivers for my new Color Laserjet printer.  Red Hat offers me drivers for HP print

  • Gateway server not able to authenticate

    Hello SCOMMers :) I have a issue with my SCOM 2012 R2 system that i just can't get my head around. We just purchased a brand new SCOM server that I have migrated our environment to, moved the databases, reporting server and finally i got things up an

  • MRP Purchase requisition not generating to Max stock

    Hello Gurus, We have implemented consumption based planning. Purhcase requisitions are automatically created based on the stock reaching reorder point. MRP type used is VB Lot Size   used is  HB Min lot size       is  1 Max lot size     is   11 Round