JSP Unable to Load Class (posted in Java Programming for 5 Dukes)

I hope this isn't a violation of forum etiquette, but I posted my question in Java Programming at http://forum.java.sun.com/thread.jsp?forum=31&thread=203255
I realize now that it may have been wiser to post it here, but I have some replies already and it makes more sense just to inlcude the link.
Can anyone assist with the question at http://forum.java.sun.com/thread.jsp?forum=31&thread=203255
It's worth 5 dukes.

Try changing <tagclass>E:\Tomcat324\jakarta-tomcat-3.2.4\webapps\examples\WEB-INF\classes\tags.ExampleTag</tagclass> to <tagclass>tags.ExampleTag</tagclass>
because <tagclass> tag is for the class name and not the location of class file
And make sure your ExampleTag.class file is in
\WEB-INF\classes\tag\ExampleTag.class
B!

Similar Messages

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

  • Failed to load servlet Class: MyServletIgnoring: unable to load class:java.

    Hi,
    I am using WebLogic Server 10.0, i deployed my application in that.
    It is giving the below error:
    Failed to load servlet Class: MyServletIgnoring: unable to load class:java.lang.
    ClassNotFoundException: Class bytes found but defineClass()failed for: 'MyServle
    If it is the wrong place(forums category), please do ignore.
    Plz help me out..........

    Probably not the right forum. But you have the honour of being the first person to ask a specific WebLogic Server question here.
    The BEA dev-2-dev site still seems to be active. Try here hunting for a category here: http://forums.bea.com/index.jspa
    -steve-

  • Compiler Error: Unable to load class

    Hi,
    I'm having trouble getting my first custom tag to work. Details of the setup follow:
    ============= Tag Handler =============
    package whichtorrent.tags;
    import java.io.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class ScoreBarTag extends TagSupport {
    private String
    info_hash,
    width,
    height,
    barWidth,
    padding,
    fontSize,
    showText,
    showBar,
    showPlug,
    showVoteLink,
    goodColour,
    badColour,
    endsColour;
    public void setInfo_hash(String info_hash)
    this.info_hash = info_hash;
    public void setWidth(String width)
    this.width = width;
    public void setHeight(String height)
    this.height = height;
    public void setBarWidth(String barWidth)
    this.barWidth = barWidth;
    public void setPadding(String padding)
    this.padding = padding;
    public void setFontSize(String fontSize)
    this.fontSize = fontSize;
    public void setShowText(String showText)
    this.showText = showText;
    public void setShowBar(String showBar)
    this.showBar = showBar;
    public void setShowPlug(String showPlug)
    this.showPlug = showPlug;
    public void setShowVoteLink(String showVoteLink)
    this.showVoteLink = showVoteLink;
    public void setGoodColour(String goodColour)
    this.goodColour = goodColour;
    public void setBadColour(String badColour)
    this.badColour = badColour;
    public void setEndsColour(String endsColour)
    this.endsColour = endsColour;
    public int doStartTag() throws JspException {
    try {
    pageContext.getOut().print("This is my first tag!");
    } catch (IOException ioe) {
    throw new JspException("Error: IOException while writing to client"
    + ioe.getMessage());
    return SKIP_BODY;
    public int doEndTag() throws JspException {
    return EVAL_PAGE;
    ============== Library Descriptor ==============
    <?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>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>wt</shortname>
    <uri>www.whichtorrent.info</uri>
    <info>WhichTorrent Tags (http://www.whichtorrent.info)</info>
    <tag>
    <name>scoreBar</name>
    <tagclass>whichtorrent.tags.ScoreBarTag</tagclass>
    <bodycontent>empty</bodycontent>
    <info>Graphically display score for a given torrent.</info>
    <attribute>
    <name>info_hash</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>width</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>height</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>barWidth</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>padding</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>fontSize</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>showText</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>showBar</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>showPlug</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>showVoteLink</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>goodColour</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>badColour</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
    <name>endsColour</name>
    <required>true</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    ============== Test Page ===============
    <%@ taglib uri="/WEB-INF/jsp/whichtorrentTaglib.tld"
    prefix="wt" %>
    <HTML>
    <HEAD>
    <TITLE>Tag Test</TITLE>
    </HEAD>
    <BODY bgcolor="#ffffcc">
    <B>wt:scoreBar prints</B>:
    <wt:scoreBar info_hash="" width="" height="" barWidth="" padding="" fontSize="" showText="" showBar="" showPlug="" showVoteLink="" goodColour="" badColour="" endsColour=""/>
    </BODY>
    </HTML>
    ====================================
    The compiler gets quite far, beyond checking that all the set methods are there, but then i get the message:
    org.apache.jasper.compiler.CompileException: /whichtorrent/tagTest.jsp(12,0) Unable to load class whichtorrent.tags.ScoreBarTag
    My directory structure is:
    /WEB-INF/whichtorrent/tags/ScoreBarTag.class
    /WEB-INF/jsp/whichtorrentTaglib.tld
    /whichtorrent/tagTest.jsp
    Any help would be very much aprreciated.
    Regards
    ~felix

    they are.. sorry i made a mistake in my original post. My class file is in..
    /WEB-INF/classes/whichtorrent/tags/
    Thanks for the prompt reply
    ~felix

  • Eclipse Plugin Creation - "Plug-in name was unable to load class " error

    Hi everybody and happy new year to you all,
    i got a little problem again. I have written the first lines of code of my plugin and wanted to test it (run as Eclipse Application). I got the following error-msg, when clickin either on the menu item or toolbar button:
    "Could not create action delegate for id: org.eclipse.tui.inpulse.actions.InpulseStart
    Reason:
    Plug-in org.eclipse.tui.inpulse was unable to load class org.eclipse.tui.inpulse.InpulseStart."
    My project has the following properties (of which i read they are important):
    Source folder: org.eclipse.tui.inpulse/src
    Output folder: org.eclipse.tui.inpulse/bin
    Dependencies: org.eclipse.ui, org.eclipse.core.runtime
    Extensions: org.eclipse.ui.actionSets
    ExtensionsPoints: none
    The following is my plugin xml:
    <plugin>
       <requires>
              <import plugin="org.eclipse.core.resources"/>
            <import plugin="org.eclipse.ui"/>
        </requires>
        <runtime>
              <library name="Inpulse.jar"/>
        </runtime>
        <extension
              id="org.eclipse.tui.inpulse.InpulseActionSet"
              name="org.eclipse.tui.inpulse.InpulseActionSet"
              point="org.eclipse.ui.actionSets">
            <actionSet
                id="org.eclipse.tui.inpulse.InpulseActionSet"
                label="Inpulse"
                  visible="true"
             description="The action set for the Eclipse Hello World example">
             <menu id="org.eclipse.tui.inpulse.InpulseMenu" label="Inpulse">
                   <separator name="samples"/>
             </menu>
             <action id="org.eclipse.tui.inpulse.actions.InpulseStart"
                   menubarPath="org.eclipse.tui.inpulse.InpulseMenu/samples"
                   toolbarPath="Normal"               
                   label="Inpulse"
                   tooltip="Start pattern search."
                   class="org.eclipse.tui.inpulse.InpulseStart"/>
            </actionSet>
       </extension>
    </plugin>The javafile "InpulseStart.java" is in the "org.eclipse.tui.inpulse" package and has the first line "package org.eclipse.tui.inpulse;". The class "InpulseStart" implements "IWorkbenchWindowActionDelegate".
    So the following members are implemented:
    public void run(IAction proxyAction){...};
    public void selectionChanged(IAction proxyAction, ISelection selection){...};
    public void dispose(){...};
    //and some additional ones ;-)I really dont know what i do wrong. If you have an idea, what i just miss out or do wrong, id be glad if you helped me out!
    Cya

    Aye, you are right, i should/could have posted this somewhere else. I just hoped, that i can get a good answer here, cause ppl helped me out very nice before.
    Im sorry if i offended users of this forum...
    The "advice" is recognized and i will post somewhere else in case i have a eclipse specific problem.

  • Unable to load class from JSTL

    Hello. I am using JSTL 1.06 from Jakarta with Tomcat 4.1 on a MacOS X 10.3.9 server. I have a jsp that contains the following:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <jsp:useBean id="validate" class="mypackage.ValidationBean" scope="request">
            <jsp:setProperty name="validate" property="*" />
    </jsp:useBean>
    <c:if test="${validate.valid == false}">
    The input is not valid.
    </c:if>In case it matters, my web.xml file starts out like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">I have placed jstl.jar and standard.jar in my webapp's WEB-INF/lib directory. However, when I try to load the page, I get this error message:
    org.apache.jasper.JasperException: /myjsp.jsp(60,0) Unable to load class if
    I know that many people have asked similar questions, but in each case, the response was to put jstl.jar and standard.jar in WEB-INF/lib and make sure that you're using the proper URI for the taglib, and I think I have done those things correctly. Any help would be greatly appreciated!

    Thanks for your response! In answer to your questions:
    The JRE is 1.4.2_09. I can't use 1.5 (5.0) without upgrading the OS.
    I haven't tried it on a PC. I might be able to, but it would take me some time to set everything up.
    What follows is taken from Tomcat/logs/localhost_log.2006-10-24.txt. If there is another log file I should be looking in, please let me know. Here is the full stack trace from the log:
    2006-10-24 16:58:40 Could not load TagLibraryValidator class org.apache.taglibs.standard.tlv.JstlCoreTLV: EXCEPTION: org.apache.taglibs.standard.tlv.JstlCoreTLV
    2006-10-24 16:58:40 Could not load TagExtraInfo class org.apache.taglibs.standard.tei.ImportTEI: org.apache.taglibs.standard.tei.ImportTEI
    2006-10-24 16:58:40 Could not load TagExtraInfo class org.apache.taglibs.standard.tei.ForEachTEI: org.apache.taglibs.standard.tei.ForEachTEI
    2006-10-24 16:58:40 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /myjsp.jsp(59,0) Unable to load class if
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:219)
    at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:712)
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:804)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
    at java.lang.Thread.run(Thread.java:552)

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

  • JSTL : unable to load class

    Hi,
    I know this is one of the jstl + tomcat problem again, but I need some help here. I think I've got everything right, but it seems Tomcat can't load the relevant class.
    I was try run this free source code, but got this error:
    org.apache.jasper.JasperException: /index.jsp(13,0) Unable to load class box
    I'm using Tomcat 4.1.27-LE-JDK1.4
    This is in my JSP file:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="tldc" uri="/tldc" %>
    the standard tld works fine, but I think the user-created tld is causing the problem.
    This is my file structure:
    webapps/jstl-blog/WEB-INF/tlds/tldc.tld
    My web.xml file is:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.3.dtd">
    <web-app>
    <display-name>WebLog</display-name>
    <description>
    JSTL WebLog
    </description>
    <taglib>
    <taglib-uri>/tldc</taglib-uri>
    <taglib-location>/WEB-INF/tlds/tldc.tld</taglib-location>
    </taglib>     
    </web-app>

    This is in my JSP file:
    <%@ taglib prefix="c"
    uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="tldc" uri="/tldc" %>
    Try this instead:
    <%@ taglib prefix="tldc" uri="/WEB-INF/tlds/tldc.tld" %>
    Patrek

  • Wrapped: Unable to load class "com.cache.DBCacheStore"

    Hi,
    I was trying out a sample application for using DBCacheStore and getting the following error...
    (Wrapped: Unable to load class "com.cache.DBCacheStore" using sun.misc.Launc
    her$AppClassLoader@13f5d07
    <class-scheme>
    <class-name>com.cache.DBCacheStore</class-name>
    </class-scheme>) java.lang.ClassNotFoundException: com.cache.DBCacheStore
    I have the CLASSPATH set to the location of DBCacheStore.class file both in cache-server.cmd and in my application startup JVM params. But still i am not able to resolve this issue. However i am still able to hit the database and get the values for the first call and on sub-sequent call, i am able to retrive the value from cache. I also encounter the below error, after i have retrieved the values from cache...
    2010-11-10 15:08:31.553/29.671 Oracle Coherence GE 3.6.0.0 <Error> (thread=Distr
    ibutedCache, member=1): Terminating PartitionedCache due to unhandled exception:
    java.lang.UnsupportedOperationException
    2010-11-10 15:08:31.553/29.671 Oracle Coherence GE 3.6.0.0 <Error> (thread=Distr
    ibutedCache, member=1):
    java.lang.UnsupportedOperationException
    at java.util.Collections$UnmodifiableMap.put(Collections.java:1285)
    As the exception occurs, the cluster gets restarted and when i re-run the application, it again goes for a DB hit instead of cache hit.
    Note : I have the cache-server.cmd running in one the console window.
    Following is my cache-config.xml file content...
    <?xml version="1.0" encoding="UTF-8" ?>
    <cache-config>
         <caching-scheme-mapping>
              <!--
                   Caches with names that start with 'Virtual' will be created
                   as distributed-db-backed.
              -->
              <cache-mapping>
                   <cache-name>Virtual*</cache-name>
                   <scheme-name>distributed-db-backed</scheme-name>
              </cache-mapping>
         </caching-scheme-mapping>
         <caching-schemes>
              <!--
                   DB Backed Distributed caching scheme.
              -->
              <distributed-scheme>
                   <scheme-name>distributed-db-backed</scheme-name>
                   <service-name>DistributedCache</service-name>
                   <backing-map-scheme>
                        <read-write-backing-map-scheme>
                             <internal-cache-scheme>
                                  <class-scheme>
                                       <class-name>
                                            com.tangosol.util.ObservableHashMap
                                       </class-name>
                                  </class-scheme>
                             </internal-cache-scheme>
                             <cachestore-scheme>
                                  <class-scheme>
                                       <class-name>
                                            com.cache.DBCacheStore
                                       </class-name>
                                       <init-params>
                                            <init-param>
                                                 <param-type>
                                                      java.lang.String
                                                 </param-type>
                                                 <param-value>
                                                      EMP_ADDR_VIEW
                                                 </param-value>
                                            </init-param>
                                       </init-params>
                                  </class-scheme>
                             </cachestore-scheme>
                             <read-only>false</read-only>
                             <!--
                                  To make this a write-through cache just change the value below to 0 (zero)
                             -->
                             <write-delay-seconds>0</write-delay-seconds>
                        </read-write-backing-map-scheme>
                   </backing-map-scheme>
                   <listener />
                   <autostart>true</autostart>
              </distributed-scheme>
         </caching-schemes>
    </cache-config>
    Thanks
    Karthik
    Edited by: user1073902 on Nov 10, 2010 4:25 AM

    Hello Noah,
         I have listed the contents of log file ( for both cache-server.cmd and the client application ).
    cache-server.cmd Log File
    =========================
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
    2010-11-11 09:51:49.634/0.236 Oracle Coherence 3.6.0.0 <Info> (thread=main, memb
    er=n/a): Loaded operational configuration from "jar:file:/E:/coherence/lib/coher
    ence.jar!/tangosol-coherence.xml"
    2010-11-11 09:51:49.634/0.236 Oracle Coherence 3.6.0.0 <Info> (thread=main, memb
    er=n/a): Loaded operational overrides from "jar:file:/E:/coherence/lib/coherence
    .jar!/tangosol-coherence-override-dev.xml"
    2010-11-11 09:51:49.634/0.236 Oracle Coherence 3.6.0.0 <D5> (thread=main, member
    =n/a): Optional configuration override "/tangosol-coherence-override.xml" is not
    specified
    2010-11-11 09:51:49.649/0.251 Oracle Coherence 3.6.0.0 <D5> (thread=main, member
    =n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    2010-11-11 09:51:49.649/0.251 Oracle Coherence 3.6.0.0 <D6> (thread=main, member
    =n/a): Loaded edition data from "jar:file:/E:/coherence/lib/coherence.jar!/coher
    ence-grid.xml"
    Oracle Coherence Version 3.6.0.0 Build 17229
    Grid Edition: Development mode
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    2010-11-11 09:51:49.885/0.487 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, m
    ember=n/a): Loaded cache configuration from "file:/E:/bea/user_projects/workspac
    es/workSpaceStudio/coh/cache-config.xml"
    2010-11-11 09:51:50.231/0.833 Oracle Coherence GE 3.6.0.0 <D4> (thread=main, mem
    ber=n/a): TCMP bound to /10.144.32.78:8088 using SystemSocketProvider
    2010-11-11 09:51:53.786/4.388 Oracle Coherence GE 3.6.0.0 <Info> (thread=Cluster
    , member=n/a): Created a new cluster "mycluster" with Member(Id=1, Timestamp=201
    0-11-11 09:51:50.231, Address=10.144.32.78:8088, MachineId=47694, Location=site:
    XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:4472, Role=CoherenceServer, Edit
    ion=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) UID=0x0A90204E000
    0012C392B0817BA4E1F98
    2010-11-11 09:51:53.786/4.388 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, m
    ember=n/a): Started cluster Name=mycluster
    Group{Address=224.0.0.1, Port=5455, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2010-11-11 09:51:50.231, Address=10.144.32.7
    8:8088, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,p
    rocess:4472, Role=CoherenceServer)
    OldestMember=Member(Id=1, Timestamp=2010-11-11 09:51:50.231, Address=10.144.32
    .78:8088, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026
    ,process:4472, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2010-11-11 09:51:50.231, Address=10.144.32.78:8088, M
    achineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:44
    72, Role=CoherenceServer)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[]}
    IpMonitor{AddressListSize=0}
    2010-11-11 09:51:53.833/4.435 Oracle Coherence GE 3.6.0.0 <D5> (thread=Invocatio
    n:Management, member=1): Service Management joined the cluster with senior servi
    ce member 1
    2010-11-11 09:51:54.085/4.687 Oracle Coherence GE 3.6.0.0 <D5> (thread=Distribut
    edCache, member=1): Service DistributedCache joined the cluster with senior serv
    ice member 1
    2010-11-11 09:51:54.101/4.703 Oracle Coherence GE 3.6.0.0 <D6> (thread=Distribut
    edCache, member=1): Service DistributedCache: sending PartitionConfig ConfigSync
    to all
    2010-11-11 09:51:54.116/4.718 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, m
    ember=1):
    Services
    ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Vers
    ion=3.6, OldestMemberId=1}
    InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1,
    OldestMemberId=1}
    PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=
    enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartit
    ions=0}
    Started DefaultCacheServer...
    2010-11-11 09:55:41.209/231.811 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster
    , member=1): Member(Id=2, Timestamp=2010-11-11 09:55:41.216, Address=10.144.32.7
    8:8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,p
    rocess:5304, Role=XyzCacheDatabaseCache) joined Cluster with senior member 1
    2010-11-11 09:55:41.209/231.811 Oracle Coherence GE 3.6.0.0 <D6> (thread=Cluster
    , member=1): TcpRing connecting to Member(Id=2, Timestamp=2010-11-11 09:55:41.21
    6, Address=10.144.32.78:8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,ma
    chine:hdchshocms2026,process:5304, Role=XyzCacheDatabaseCache)
    2010-11-11 09:55:41.209/231.811 Oracle Coherence GE 3.6.0.0 <D6> (thread=Cluster
    , member=1): TcpRing connected to Member(Id=2, Timestamp=2010-11-11 09:55:41.216
    , Address=10.144.32.78:8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,mac
    hine:hdchshocms2026,process:5304, Role=XyzCacheDatabaseCache)
    2010-11-11 09:55:41.287/231.889 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster
    , member=1): Member 2 joined Service Management with senior member 1
    2010-11-11 09:55:41.553/232.155 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster
    , member=1): Member 2 joined Service DistributedCache with senior member 1
    2010-11-11 09:55:41.553/232.155 Oracle Coherence GE 3.6.0.0 <Error> (thread=Dist
    ributedCache, member=1): BackingMapManager com.tangosol.net.DefaultConfigurableC
    acheFactory$Manager: failed to instantiate a cache: VirtualCache
    2010-11-11 09:55:41.553/232.155 Oracle Coherence GE 3.6.0.0 <Error> (thread=Dist
    ributedCache, member=1):
    (Wrapped: Unable to load class "com.cache.DBCacheStore" using sun.misc.Launc
    her$AppClassLoader@13f5d07
    <class-scheme>
    <class-name>com.cache.DBCacheStore</class-name>
    <init-params>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value>EMP_ADDR_VIEW</param-value>
    </init-param>
    </init-params>
    </class-scheme>) java.lang.ClassNotFoundException: com.cache.DBCacheStore
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
    at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2487)
    at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateAny(Defau
    ltConfigurableCacheFactory.java:3256)
    at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateCacheStor
    e(DefaultConfigurableCacheFactory.java:3106)
    at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateReadWrite
    BackingMap(DefaultConfigurableCacheFactory.java:1674)
    at com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(
    DefaultConfigurableCacheFactory.java:1429)
    at com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateB
    ackingMap(DefaultConfigurableCacheFactory.java:3904)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache$Storage.instantiateResourceMap(Partition
    edCache.CDB:21)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache$Storage.setCacheName(PartitionedCache.CD
    B:25)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache$ServiceConfig$ConfigListener.entryInsert
    ed(PartitionedCache.CDB:17)
    at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
    at com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
    at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.jav
    a:556)
    at com.tangosol.util.ObservableHashMap.dispatchEvent(ObservableHashMap.j
    ava:229)
    at com.tangosol.util.ObservableHashMap$Entry.onAdd(ObservableHashMap.jav
    a:270)
    at com.tangosol.util.SafeHashMap.put(SafeHashMap.java:244)
    at com.tangosol.coherence.component.util.ServiceConfig$Map.put(ServiceCo
    nfig.CDB:43)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache$StorageIdRequest.onReceived(PartitionedC
    ache.CDB:45)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.G
    rid.onMessage(Grid.CDB:11)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.G
    rid.onNotify(Grid.CDB:33)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.PartitionedService.onNotify(PartitionedService.CDB:3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: com.cache.DBCacheStore
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper
    .java:3011)
    at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2421)
    ... 22 more
    2010-11-11 09:55:41.631/232.233 Oracle Coherence GE 3.6.0.0 <D5> (thread=Distrib
    utedCache, member=1): 3> Transferring primary PartitionSet{0, 1, 2, 3, 4, 5, 6,
    7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
    28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
    48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
    68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
    88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 1
    06, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 1
    22, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 1
    38, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 1
    54, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 1
    70, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 1
    86, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 2
    02, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 2
    18, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 2
    34, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 2
    50, 251, 252, 253, 254, 255, 256} to member 2 requesting 128
    2010-11-11 09:55:41.741/232.343 Oracle Coherence GE 3.6.0.0 <D4> (thread=Distrib
    utedCache, member=1): 1> Transferring 129 out of 129 partitions to a node-safe b
    ackup 1 at member 2 (under 129)
    2010-11-11 09:55:41.757/232.359 Oracle Coherence GE 3.6.0.0 <D5> (thread=Distrib
    utedCache, member=1): Transferring 0KB of backup[1] for PartitionSet{128, 129, 1
    30, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 1
    46, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 1
    62, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 1
    78, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 1
    94, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 2
    10, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 2
    26, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 2
    42, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256} to mem
    ber 2
    2010-11-11 09:55:42.070/232.672 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster
    , member=1): TcpRing disconnected from Member(Id=2, Timestamp=2010-11-11 09:55:4
    1.216, Address=10.144.32.78:8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.I
    N,machine:hdchshocms2026,process:5304, Role=XyzCacheDatabaseCache) due to a peer
    departure; removing the member.
    2010-11-11 09:55:42.070/232.672 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster
    , member=1): Member 2 left service Management with senior member 1
    2010-11-11 09:55:42.070/232.672 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster
    , member=1): Member 2 left service DistributedCache with senior member 1
    2010-11-11 09:55:42.070/232.672 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster
    , member=1): Member(Id=2, Timestamp=2010-11-11 09:55:42.07, Address=10.144.32.78
    :8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,pr
    ocess:5304, Role=XyzCacheDatabaseCache) left Cluster with senior member 1
    2010-11-11 09:55:42.101/232.703 Oracle Coherence GE 3.6.0.0 <Error> (thread=Dist
    ributedCache, member=1): Terminating PartitionedCache due to unhandled exception
    : java.lang.UnsupportedOperationException
    2010-11-11 09:55:42.101/232.703 Oracle Coherence GE 3.6.0.0 <Error> (thread=Dist
    ributedCache, member=1):
    java.lang.UnsupportedOperationException
    at java.util.Collections$UnmodifiableMap.put(Collections.java:1285)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache$Storage.putPrimaryResource(PartitionedCa
    che.CDB:44)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache$Storage.moveResourcesToPrimary(Partition
    edCache.CDB:50)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache$Storage.movePartition(PartitionedCache.C
    DB:9)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache.movePartition(PartitionedCache.CDB:14)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.PartitionedService.assignPrimaryPartition(PartitionedService.CDB:38)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.PartitionedService.restoreOrphans(PartitionedService.CDB:42)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.PartitionedService.onOwnershipRequest(PartitionedService.CDB:13)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.PartitionedService$OwnershipRequest.onReceived(PartitionedService.CDB:5)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.G
    rid.onMessage(Grid.CDB:11)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.G
    rid.onNotify(Grid.CDB:33)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.PartitionedService.onNotify(PartitionedService.CDB:3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.g
    rid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:619)
    2010-11-11 09:55:42.101/232.703 Oracle Coherence GE 3.6.0.0 <D5> (thread=Distrib
    utedCache, member=1): Service DistributedCache left the cluster
    2010-11-11 09:55:45.012/235.614 Oracle Coherence GE 3.6.0.0 <Info> (thread=main,
    member=1): Restarting Service: DistributedCache
    2010-11-11 09:55:45.012/235.614 Oracle Coherence GE 3.6.0.0 <D5> (thread=Distrib
    utedCache, member=1): Service DistributedCache joined the cluster with senior se
    rvice member 1
    2010-11-11 09:55:45.012/235.614 Oracle Coherence GE 3.6.0.0 <D6> (thread=Distrib
    utedCache, member=1): Service DistributedCache: sending PartitionConfig ConfigSy
    nc to all
    Client Application Log
    ======================
    2010-11-11 09:59:07.380/0.251 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/E:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2010-11-11 09:59:07.380/0.251 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/E:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2010-11-11 09:59:07.380/0.251 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2010-11-11 09:59:07.380/0.251 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    2010-11-11 09:59:07.395/0.266 Oracle Coherence 3.6.0.0 <D6> (thread=main, member=n/a): Loaded edition data from "jar:file:/E:/coherence/lib/coherence.jar!/coherence-grid.xml"
    Oracle Coherence Version 3.6.0.0 Build 17229
    Grid Edition: Development mode
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    2010-11-11 09:59:07.896/0.767 Oracle Coherence GE 3.6.0.0 <D4> (thread=main, member=n/a): TCMP bound to /10.144.32.78:8090 using SystemSocketProvider
    2010-11-11 09:59:09.164/2.035 Oracle Coherence GE 3.6.0.0 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2010-11-11 09:59:09.164, Address=10.144.32.78:8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:2404, Role=XyzCacheDatabaseCache, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) joined cluster "mycluster" with senior Member(Id=1, Timestamp=2010-11-11 09:58:30.832, Address=10.144.32.78:8088, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:4772, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2)
    2010-11-11 09:59:09.180/2.051 Oracle Coherence GE 3.6.0.0 <D6> (thread=Cluster, member=n/a): TcpRing connecting to Member(Id=1, Timestamp=2010-11-11 09:58:30.832, Address=10.144.32.78:8088, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:4772, Role=CoherenceServer)
    2010-11-11 09:59:09.180/2.051 Oracle Coherence GE 3.6.0.0 <D6> (thread=Cluster, member=n/a): TcpRing connected to Member(Id=1, Timestamp=2010-11-11 09:58:30.832, Address=10.144.32.78:8088, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:4772, Role=CoherenceServer)
    2010-11-11 09:59:09.180/2.051 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Cluster with senior member 1
    2010-11-11 09:59:09.180/2.051 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Management with senior member 1
    2010-11-11 09:59:09.180/2.051 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service DistributedCache with senior member 1
    2010-11-11 09:59:09.180/2.051 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=n/a): Started cluster Name=mycluster
    Group{Address=224.0.0.1, Port=5455, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=2, Timestamp=2010-11-11 09:59:09.164, Address=10.144.32.78:8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:2404, Role=XyzCacheDatabaseCache)
    OldestMember=Member(Id=1, Timestamp=2010-11-11 09:58:30.832, Address=10.144.32.78:8088, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:4772, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=2, BitSetCount=2
    Member(Id=1, Timestamp=2010-11-11 09:58:30.832, Address=10.144.32.78:8088, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:4772, Role=CoherenceServer)
    Member(Id=2, Timestamp=2010-11-11 09:59:09.164, Address=10.144.32.78:8090, MachineId=47694, Location=site:XyzT.CORP.Xyz.IN,machine:hdchshocms2026,process:2404, Role=XyzCacheDatabaseCache)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[1]}
    IpMonitor{AddressListSize=0}
    2010-11-11 09:59:09.227/2.098 Oracle Coherence GE 3.6.0.0 <D5> (thread=Invocation:Management, member=2): Service Management joined the cluster with senior service member 1
    2010-11-11 09:59:09.289/2.160 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=2): Loaded cache configuration from "file:/E:/bea/user_projects/workspaces/workSpaceStudio/coh/cache-config.xml"
    2010-11-11 09:59:09.461/2.332 Oracle Coherence GE 3.6.0.0 <D5> (thread=DistributedCache, member=2): Service DistributedCache joined the cluster with senior service member 1
    DB Hit
    DBCacheStore(String) called...
    2010-11-11 09:59:09.524/2.395 Oracle Coherence GE 3.6.0.0 <D4> (thread=DistributedCache, member=2): Asking member 1 for 128 primary partitions
    load() called...
    Emp Id:1, Emp Name:Employee, Emp Addr:Address
    Cache Hit
    Emp Id:1, Emp Name:Employee, Emp Addr:Address
    Client Java Program
    ===================
    package com.cache;
    import com.tangosol.net.CacheFactory;
    import com.tangosol.net.NamedCache;
    public class DatabaseCache {
         public DatabaseCache() { }
         private NamedCache cache;
         public void createCache() {
              CacheFactory.ensureCluster();
              cache = CacheFactory.getCache("VirtualCache");
         public void retrieveEntry() {
              System.out.println("DB Hit");
              System.out.println(cache.get("1"));
              System.out.println("Cache Hit");
              System.out.println(cache.get("1"));
         public static void main(String[] args) {
              DatabaseCache databaseCache = new DatabaseCache();
              databaseCache.createCache();
              databaseCache.retrieveEntry();
    DBCacheStore Java Program
    =========================
    Note : I am querying an ORACLE VIEW
    package com.cache;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    import com.tangosol.net.cache.CacheStore;
    import com.tangosol.util.Base;
    public class DBCacheStore extends Base implements CacheStore {
         private String tableName = null;
         public DBCacheStore() {
              System.out.println("DBCacheStore() called...");
         public DBCacheStore(String tableName) {
              System.out.println("DBCacheStore(String) called...");
              this.tableName = tableName;
         private Connection getConnection() throws Exception {
              Class.forName("oracle.jdbc.driver.OracleDriver");
              String url = "jdbc:oracle:thin:@localhost:1521:xe";
              Connection connection = DriverManager.getConnection(url,"system","manager");
              return connection;
         public void erase(Object arg0) {
              System.out.println("erase() called...");
         public void eraseAll(Collection arg0) {
              System.out.println("eraseAll() called...");
         public void store(Object key, Object value) {
              System.out.println("store() called...");
         public void storeAll(Map arg0) {
              System.out.println("storeAll() called...");          
         public Object load(Object obj) {
              System.out.println("load() called...");
              Employee employee = null;
              Connection con = null;
              PreparedStatement pStmt = null;
              ResultSet rSet = null;
              try {
                   con = getConnection();
                   pStmt = con.prepareStatement("select emp_id, emp_name, address from " + tableName + " where emp_id = ?");
                   pStmt.setInt(1, Integer.parseInt((String)obj));
                   rSet = pStmt.executeQuery();
                   if(rSet.next()) {
                        employee = new Employee();
                        employee.setEmpId(rSet.getInt("emp_id"));
                        employee.setEmpName(rSet.getString("emp_name"));
                        employee.setEmpAddr(rSet.getString("address"));
              } catch(Exception e) {
                   e.printStackTrace();
              } finally {
                   try {
                        if(rSet != null)
                             rSet.close();
                        if(pStmt != null)
                             pStmt.close();
                        if(con != null)
                             con.close();
                   } catch(Exception e) {
                        e.printStackTrace();
              return employee;
         public Map loadAll(Collection arg0) {
              System.out.println("loadAll() called...");
              Connection con = null;
              PreparedStatement pStmt = null;
              ResultSet rSet = null;          
              Employee employee = null;
              Map empMap = new HashMap();
              try {
                   con = getConnection();
                   pStmt = con.prepareStatement("select emp_id, emp_name, address from " + tableName);
                   rSet = pStmt.executeQuery();
                   while(rSet.next()) {
                        employee = new Employee();
                        employee.setEmpId(rSet.getInt("emp_id"));
                        employee.setEmpName(rSet.getString("emp_name"));
                        employee.setEmpAddr(rSet.getString("address"));
                        empMap.put(employee.getEmpId(), employee);
              } catch(Exception e) {
                   e.printStackTrace();
              } finally {
                   try {
                        if(rSet != null)
                             rSet.close();
                        if(pStmt != null)
                             pStmt.close();
                        if(con != null)
                             con.close();
                   } catch(Exception e) {
                        e.printStackTrace();
              return empMap;
         public Iterator keys() {
              Connection con = null;
              PreparedStatement pStmt = null;
              ResultSet rSet = null;          
              List returnList = null;
              try {
                   con = getConnection();
                   pStmt = con.prepareStatement("select emp_id from emp_addr_view");
                   rSet = pStmt.executeQuery();
                   returnList = new LinkedList();
                   while(rSet.next()) {
                        returnList.add(rSet.getString("empId"));
              } catch(Exception e) {
                   e.printStackTrace();
              } finally {
                   try {
                        if(rSet != null)
                             rSet.close();
                        if(pStmt != null)
                             pStmt.close();
                        if(con != null)
                             con.close();
                   } catch(Exception e) {
                        e.printStackTrace();
              return returnList.iterator();
    cache-server.cmd added lines
    ============================
    set CLASSPATH=%CLASSPATH%;E:\bea\user_projects\workspaces\workSpaceStudio\coh\bin;E:\bea\wlserver_10.0\server\lib\ojdbc14.jar;
    Note : E:\bea\user_projects\workspaces\workSpaceStudio\coh\bin in the above line contains compiled class files starting from "com" folder.
    "%java_exec%" -server -showversion "%java_opts%" -cp E:\bea\user_projects\workspaces\workSpaceStudio\coh\bin -Dtangosol.coherence.log.level=9 -Dtangosol.coherence.cluster=mycluster -Dtangosol.coherence.clusteraddress=224.0.0.1 -Dtangosol.coherence.clusterport=5455 -Dtangosol.coherence.cacheconfig=E:\bea\user_projects\workspaces\workSpaceStudio\coh\cache-config.xml -cp "%coherence_home%\lib\coherence.jar" com.tangosol.net.DefaultCacheServer %1
    JVM arguments for running Client Program : DatabaseCache.java
    =======================================
    -Dtangosol.coherence.cacheconfig=E:\bea\user_projects\workspaces\workSpaceStudio\coh\cache-config.xml
    -Dtangosol.coherence.cluster=mycluster
    -Dtangosol.coherence.clusteraddress=224.0.0.1
    -Dtangosol.coherence.clusterport=5455
    ==================================================================================================
    Please do let me know if you require further information.
    Thanks
    Karthik

  • Overriding eventdistributionpattern-pof throwing unable to load class error

    Hi,
    We were trying to override the "coherence-eventdistributionpattern-pof-config.xml" with our own event distribution pof due to conflicintg type-id's. We changed type-id's for few of the classes. We changed the type-id for the following classes and left others as such.
    com.oracle.coherence.patterns.eventdistribution.EventDistributor$Identifier
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntry
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntryInsertedEvent
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntryUpdatedEvent
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntryRemovedEvent
    When i start the coherence server, i get error in loading class "com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder" for which we did not change the typ-id at all.
    Coherence version 3.7.10
    Error Trace:
    (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=2): PartitionedCache caught an unhandled exception (com.tangosol.util.WrapperException: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load class for user type (Config=test/coherence/grid/obj-pof-config.xml, Type-Id=13402, Class-Name=com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder)) (Wrapped) com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder) while exiting.
    <Error> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=2): ClusterService.doServiceLeft: Unknown Service PartitionedCache{Name=DistributedCacheForSequenceGenerators, State=(SERVICE_STOPPED), Not initialized}
    (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=2): Service DistributedCacheForSequenceGenerators left the cluster
    <Error> (thread=main, member=2): Error while starting service "DistributedCacheForSequenceGenerators": (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load class for user type (Config=test/coherence/grid/obj-pof-config.xml, Type-Id=13402, Class-Name=com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder)) (Wrapped) java.lang.ClassNotFoundException: com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder
            at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
    Thanks,

    File's permissions?

  • Unable to load performance pack, using Java I/O.

    Hi there,
    I am trying to start weblogic 6.0 from jBuilder. It does start, and
    working. But, I got the one problem about loading performance pack. The
    message is the following. Any comment?
    Thank you
    ----------------------------------------->Starting WebLogic Server ....
    <Jun 27, 2001 1:35:13 PM EDT> <Notice> <Management> <Loading configuration
    file C:\bea\wlserver6.0sp1\config\mydomain\config.xml ...>
    log file:
    C:\bea\wlserver6.0sp1\config\mydomain\config\config\mydomain\logs\weblogic.l
    og
    <Jun 27, 2001 1:35:14 PM EDT> <Info> <Logging> <Only log messages of
    severity "Error" or worse will be displayed in this window. This can be
    changed at Admin Console> mydomain> Servers> myserver> Logging> General>
    Stdout severity threshold>
    <Jun 27, 2001 1:35:46 PM EDT> <Notice> <WebLogicServer> <ListenThread
    listening on port 7001>
    <Jun 27, 2001 1:35:46 PM EDT> <Notice> <WebLogicServer> <WebLogic Server
    started>
    <Jun 27, 2001 1:35:46 PM EDT> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no wlntio in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.NTSocketMuxer.<init>(NTSocketMuxer.java:173)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:126)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >

    Thank you
    But, it does not work. It does the same. Here is the message.
    ------------------------------------------------------------>C:\bea\jdk130\bin\javaw -classpath
    "S:\Java\classes;C:\jdk1.3\jre\lib\rt.jar;S:\Java\lib\activation.jar;S:\Java
    \lib\classes12.zip;S:\Java\lib\cos.jar;S:\Java\lib\dx3.0.jar;S:\Java\lib\dx3
    .0-res.jar;S:\Java\lib\fscontext.jar;S:\Java\lib\j2ee.jar;S:\Java\lib\java40
    .jar;S:\Java\lib\jgl3.1.0.jar;S:\Java\lib\jsdk21.jar;S:\Java\lib\junit.jar;S
    :\Java\lib\mail.jar;S:\Java\lib\msclasses.zip;S:\Java\lib\rootriver.report.j
    ar;S:\Java\lib\servlet.jar;S:\Java\lib\ServletExecDebugger.jar;S:\Java\lib\s
    truts.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;C:\bea\wlserver6.0sp1\lib\x
    mlx.jar;C:\bea\wlserver6.0sp1\bin;C:\junit3.5\junit.jar;C:\jakarta-struts-1.
    0-b1\lib\struts.jar;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBu
    ilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuil
    der4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBu
    ilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar" -ms64m -mx64m -
    classpath
    "C:\bea\wlserver6.0sp1;C:\bea\wlserver6.0sp1\bin;C:\bea\wlserver6.0sp1\lib\w
    eblogic_sp.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;S:\Java\classes;S:\Jav
    a\lib\classes12.zip;C:\jakarta-struts-1.0-b1\lib\struts.jar;S:\Java\lib\dx3.
    0.jar;S:\Java\lib\rootriver.report.jar;S:\Java\lib;S:\Java\lib\struts.jar;"
    "-Dweblogic.RootDirectory=C:\bea\wlserver6.0sp1"
    "-Dweblogic.Domain=mydomain" "-Dweblogic.Name=myserver" "-Dbea.home=c:\bea"
    "-Djava.security.policy==c:\bea\wlserver6.0sp1\lib\weblogic.policy"
    "-Dweblogic.management.password=password" weblogic.Server -hotspot
    Starting WebLogic Server ....
    <Jun 27, 2001 4:00:39 PM EDT> <Notice> <Management> <Loading configuration
    file C:\bea\wlserver6.0sp1\config\mydomain\config.xml ...>
    log file:
    C:\bea\wlserver6.0sp1\config\mydomain\config\config\mydomain\logs\weblogic.l
    og
    <Jun 27, 2001 4:00:50 PM EDT> <Info> <Logging> <Only log messages of
    severity "Error" or worse will be displayed in this window. This can be
    changed at Admin Console> mydomain> Servers> myserver> Logging> General>
    Stdout severity threshold>
    <Jun 27, 2001 4:02:32 PM EDT> <Notice> <WebLogicServer> <WebLogic Server
    started>
    <Jun 27, 2001 4:02:32 PM EDT> <Notice> <WebLogicServer> <ListenThread
    listening on port 7001>
    <Jun 27, 2001 4:02:32 PM EDT> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no wlntio in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.NTSocketMuxer.<init>(NTSocketMuxer.java:173)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:126)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >

  • Unable to load performance pack, using Java I/O on WL60, sp2

    Dear friends,
    I am seeking help from you. When we start WL60 SP2 on Sun Soloris 5.6, we got
    the following exception:
    <Jul 31, 2001 5:39:53 PM EDT> <Error> <Performance Pack> <Unable to load performance
    pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: getFdLimit
    at weblogic.socket.PosixSocketMuxer.getFdLimit(Native Method)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:104)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >
    Hoever, the server itself started, and our applications runs ok
    (at least so far). But this exception appears every time on some user accounts.
    I was wondering what causes this exception. Some user accounts in the same machine
    don't have this problem.
    I also wondering if it will cause performance problem when the traffic is high.
    We already applied the patches.
    Any hits and suggestions are welcome.
    Thanks in advance.
    -Ju

    Dear Deyan,
    Thanks for your help. We do have $WEBLOGIC_HOME/lib/solaris in LD_LIBRARY_PATH,
    which is set when running ". setEnv.sh" before startWebLogic.sh.
    We failed on one patch: 105210-27, for some reason.
    The strange thing is: in the same machine, all WL60 instances running under user
    accounts (under /users/developers/) have no such error. But it happens under some
    account, like accounts under /export/home/, etc. /user/developers is mounted on
    another physical machine.
    -Ju
    "Deyan D. Bektchiev" <[email protected]> wrote:
    >
    You should have the $WEBLOGIC_HOME/lib/solaris directory in your LD_LIBRARY_PATH
    so that
    the server can load the performance pack (which is a shared library called
    libmuxer.so).
    If it is present then do a ldd libmuzer.so and you will see if any libraries
    that it
    depends on are missing.
    Also make sure you have all of the requered patches for 2.6 installed.
    --dejan
    Ju Rao wrote:
    Dear friends,
    I am seeking help from you. When we start WL60 SP2 on Sun Soloris 5.6,we got
    the following exception:
    <Jul 31, 2001 5:39:53 PM EDT> <Error> <Performance Pack> <Unable toload performance
    pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: getFdLimit
    at weblogic.socket.PosixSocketMuxer.getFdLimit(Native Method)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:104)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:224)
    >
    Hoever, the server itself started, and our applications runs ok
    (at least so far). But this exception appears every time on some useraccounts.
    I was wondering what causes this exception. Some user accounts in thesame machine
    don't have this problem.
    I also wondering if it will cause performance problem when the trafficis high.
    We already applied the patches.
    Any hits and suggestions are welcome.
    Thanks in advance.
    -JuContent-Description: Card for Deyan D. Bektchiev
    begin:vcard
    n:Bektchiev;Deyan
    tel;home:1-650-363-6055
    tel;work:1-650-289-1046
    x-mozilla-html:TRUE
    url:http://www.appl.net/
    org:Application Networks
    adr:;;444 Ramona St;Palo Alto;CA;94301;USA
    version:2.1
    email;internet:[email protected]
    fn:Deyan D. Bektchiev
    end:vcard

  • Warning WLW 000000 Unable to load class ProcessControl

    Hi, I see this warning message in my log file "Unable to load class ProcessControl" when I try to invoke a web service. I am in WLP816. What did I miss? Any help will be appreciated. Thanks
    ####<Mar 20, 2011 2:35:44 PM EST> <Info> <HTTP> <> <ExecuteThread: '2' for queue:
    'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=23999191,name=webService,context-path=/MyWebService)] *.jws: init>
    ####<Mar 20, 2011 2:35:45 PM EST> <Warning> <WLW> <> <ExecuteThread: '2' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Unable to load class ProcessControl>
    ####<Mar 20, 2011 2:35:51 PM EST> <Warning> <WLW> <> <ExecuteThread: '2' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Unable to load class com.bea.control.ServiceBrokerControl>
    ####<Mar 20, 2011 2:35:51 PM EST> <Warning> <WLW> <> <ExecuteThread: '2' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Unable to load class com.bea.wli.bpm.proxy.JpdProxyGen>

    Did you managed to get the solution to the above error. Can you please let me know the solution if you have get it right? You can post back to my id [email protected]
    Thanks,
    SK
    Edited by: shivaG on Nov 3, 2008 4:25 AM

  • Wfjvlsnr : Unable to load class

    Error:
    Thu Sep 04 12:21:19 CST 2003 Executing MYDEMO/000001 com.sinotrans.wf.TestDemo
    Unable to load class com.sinotrans.wf.TestDemo
    java.lang.ClassNotFoundException: com.sinotrans.wf.TestDemo
    Thu Sep 04 12:21:19 CST 2003 Enqueuing MYDEMO/000001 com.sinotrans.wf.TestDemo null
    `U }{ com.sinotrans.wf.TestDemo: java.lang.ClassNotFoundException: com.sinotrans.wf.TestDemo
    But:
    set WF_CLASSPATH=D:\Oracle\jlib\mywfdemo.jar(com.sinotrans.wf.TestDemo.class);......

    I do myself:
    %JAVA_HOME%\bin\java -server -classpath "%WF_CLASSPATH%" oracle.apps.fnd.wf.WFFALsnr dbconnStr

  • Unable to load washington post, invalid url

    unable to load Washington Post website. Get invalid URL message

    This one? http://www.washingtonpost.com/
    That's valid as can be seen from the image I've uploaded for you.

Maybe you are looking for

  • Module pool in table control

    Hi I have created table control.in that editable row can add the new value also created.after adding new value in will auto incremented based on sales numer in heighest number + 1 like that u can add. after increment update the table in data base. ca

  • Can't add "os.name" and "os.bit.length" properties

    J2ee engine can't start, errors occur. jvm_bootstrap.out         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)         at sun.reflect.NativeMethodAccessorIm

  • 3D tryout: Do I need to UNinstall Acrobat Pro V7.x.x first?

    I tried to install the Acrobat 3D tryout but it didn't work. I already have Acrobat Pro V7.0.5 on my machine. When I run the 3D installer I get this message: " Setup has detected that you already have a more functional product installed. Setup will n

  • IBookAuthor supports importing PDF and indesign files?

    Hi  everyone! There is any possibities to import a PDF or Indesign application in the iBookAuthor to re-edit and we add interactivity widget. Also we can get the Actual view as per the source. Thanks, Muzammil

  • Screen Capture Program Run Off of a Flash Drive

    I am looking for a screen capture program that I would either be able to run off of a flashdrive, or something that I can easily move from computer to computer whenever I need it. I do high end video work for a University and I am constantly being as