Tag Extra Info Classes not recongnized on 8.1

          I am trying to migrate a web application from 6.1 to 8.1 and am running into an
          issue
          with custom tag libraries. These tags have TEI classes associated with them that
          are
          used to define fields in the JSP page where the tags are used. These fields are
          then
          referenced in the JSP. The JSP compiles fine in 6.1 but in 8.1 the compiler
          reports that
          it is unable to recognize the symbol for the various fields defined in the TEI
          and the
          JSP therefore fails to compile.
          Has anyone else run into this problem? Any workarounds or ideas about what needs
          to be
          done to make it work?
          Thanks in advance for your help.
          Regards,
          David Roytenberg
          

There's already a patch available i believe.. (i cant find the CR rightnow)
          but im sure WebLogic support will help you out.
          "David Roytenberg" <[email protected]> wrote in message
          news:[email protected]...
          >
          > I requested the patch. To your knowledge does it exist or
          > is BEA still working on it?
          >
          > Regards,
          >
          > David
          >
          > "Nagesh Susarla" <[email protected]> wrote:
          > >Ahhh.... This is a bug in 8.1. Unfortunately AT_END attributes are not
          > >being declared in the generated java file. Please contact
          [email protected]
          > >and ask for a patch for this issue.
          > >--
          > >Nagesh
          > >
          > >"David Roytenberg" <[email protected]> wrote in message
          > >news:[email protected]...
          > >>
          > >> HI Nagesh,
          > >>
          > >> Thanks for your reply. Here is the info you requested:
          > >>
          > >> The TEI class looks like this:
          > >>
          > >> import javax.servlet.jsp.tagext.*;
          > >>
          > >> public class LoginTEI extends TagExtraInfo
          > >> {
          > >>
          > >> public LoginTEI()
          > >> {
          > >> }
          > >>
          > >> public VariableInfo[] getVariableInfo(TagData tagdata)
          > >> {
          > >> VariableInfo variableinfo = new
          > >VariableInfo(tagdata.getAttributeString
          > >>
          > >> ("id"), "com.actuate.reportcast.tags.common.LoginTag",
          > >true,
          > >VariableInfo.AT_BEGIN);
          > >> VariableInfo variableinfo1 = new VariableInfo
          > >> ("userMap", "com.actuate.reportcast.utils.UserMap",
          > >true, VariableInfo.AT_END);
          > >> VariableInfo variableinfo2 = new VariableInfo
          > >> ("errorLogin",
          > >"com.actuate.reportcast.dstruct.ErrorObject",
          > >> true,
          > >> VariableInfo.AT_END);
          > >> VariableInfo avariableinfo[] = {
          > >> variableinfo, variableinfo1, variableinfo2
          > >> };
          > >> return avariableinfo;
          > >> }
          > >> }
          > >>
          > >> Here is an excerpt from the JSP that won't compile. Note that
          > >> the reference to errorLogin generates an error from the JSP Compiler.
          > >>
          > >> ...
          > >> // Retrieve any available parameters from the url.
          > >> String sAuthID = null;
          > >> String sDesignation = null;
          > >> String sLoginID = paramBean.getParameter("userID");
          > >> String sPassword = paramBean.getParameter("password");
          > >>
          > >> // --Start Portlet support
          > >> String sPrefix = paramBean.getParameter("pfx");
          > >> if ( sPrefix != null )
          > >> {
          > >> HttpSession httpsession = request.getSession();
          > >> sLoginID =
          (String)(httpsession.getAttribute(sPrefix+"userID"));
          > >> sPassword =
          > >(String)(httpsession.getAttribute(sPrefix+"password"));
          > >> }
          > >> // --End Portlet support
          > >>
          > >> String sVolume = paramBean.getParameter("volume");
          > >> String sServer = paramBean.getParameter("server");
          > >> String sServerURL = paramBean.getParameter("serverURL");
          > >> String sSystemName = paramBean.getParameter("systemName");
          > >> String sDaemonURL = paramBean.getParameter("daemonURL");
          > >> boolean bForceLogin = (new
          > >Boolean(paramBean.getNonNullParameter("forceLogin"))).booleanValue();
          > >> String sUserHomeFolder = null;
          > >> UserMap userMapObj = null;
          > >> // HANDLE LOCALES IN THIS BLOCK HERE
          > >> LocaleManager lm = LocaleManager.instance();
          > >> TimeZoneManager tzm = TimeZoneManager.instance();
          > >>
          > >> if (sLoginID != null)
          > >> {
          > >> bForceLogin = true;
          > >> }
          > >>
          > >> %>
          > >> <login:login id="login" userID="<%= sLoginID %>" password="<%=
          > >sPassword %>"
          > >> server="<%= sServer %>" force="<%= bForceLogin %>"/>
          > >>
          > >> <%
          > >>
          > >> if (errorLogin != null)
          > >> {
          > >> //redirect the browser back to the login page
          > >> String sErrorCode = errorLogin.getErrorCode();
          > >> response.sendRedirect(StaticFuncs.resolveURL(request,
          > >"/login.jsp") +
          > >> paramBean.createQueryString() + "&errorMessage=" +
          > >StaticFuncs.encode(errorLogin.getMessage())
          > >> + "&errorcode=" + sErrorCode);
          > >> return;
          > >> }
          > >> ....
          > >>
          > >>
          > >> The compiler's response to the snippet of code above is
          > >>
          > >>
          > >> [java]
          >
          >/export/home/roytenbd01/build/CR/actuate/acweb/war/WEB-INF/classes/jsp_serv
          l
          > >et/__authenticate.java:272:
          > >> cannot resolve symbol
          > >> [java] symbol : variable errorLogin
          > >> [java] location: class jsp_servlet.__authenticate
          > >> [java] if (errorLogin != null) //[ /authenticate.jsp; Line:
          > >99]
          > >> [java] ^
          > >> [java]
          >
          >/export/home/roytenbd01/build/CR/actuate/acweb/war/WEB-INF/classes/jsp_serv
          l
          > >et/__authenticate.java:275:
          > >> cannot resolve symbol
          > >> [java] symbol : variable errorLogin
          > >> [java] location: class jsp_servlet.__authenticate
          > >> [java] String sErrorCode = errorLogin.getErrorCode();
          > >//[
          > >/authenticate.jsp;
          > >> Line: 102]
          > >> [java] ^
          > >> [java]
          >
          >/export/home/roytenbd01/build/CR/actuate/acweb/war/WEB-INF/classes/jsp_serv
          l
          > >et/__authenticate.java:276:
          > >> cannot resolve symbol
          > >> [java] symbol : variable errorLogin
          > >> [java] location: class jsp_servlet.__authenticate
          > >> [java]
          response.sendRedirect(StaticFuncs.resolveURL(request,
          > >"/login.jsp")
          > >> + paramBean.createQueryString() + "&errorMessage=" +
          > >StaticFuncs.encode(errorLogin.getMessage())
          > >> + "&errorcode=" + sErrorCode); //[ /authenticate.jsp; Line: 103]
          > >> [java]
          > >>
          > >>
          > >> Any ideas?????????????
          > >>
          > >> Regards,
          > >>
          > >> David Roytenberg
          > >>
          > >>
          > >> Nagesh Susarla <[email protected]> wrote:
          > >> >David Roytenberg wrote:
          > >> >
          > >> >> I am trying to migrate a web application from 6.1 to 8.1 and am
          > >running
          > >> >into an
          > >> >> issue
          > >> >> with custom tag libraries. These tags have TEI classes associated
          > >> >with them that
          > >> >> are
          > >> >> used to define fields in the JSP page where the tags are used.
          > >These
          > >> >fields are
          > >> >> then
          > >> >> referenced in the JSP. The JSP compiles fine in 6.1 but in 8.1
          > >the
          > >> >compiler
          > >> >> reports that
          > >> >> it is unable to recognize the symbol for the various fields defined
          > >> >in the TEI
          > >> >> and the
          > >> >> JSP therefore fails to compile.
          > >> >>
          > >> >> Has anyone else run into this problem? Any workarounds or ideas
          > >about
          > >> >what needs
          > >> >> to be
          > >> >> done to make it work?
          > >> >>
          > >> >> Thanks in advance for your help.
          > >> >>
          > >> >> Regards,
          > >> >>
          > >> >> David Roytenberg
          > >> >
          > >> >Can you post the fields/symbols in question.
          > >> >
          > >>
          > >
          > >
          >
          

Similar Messages

  • In iPhoto 09 Info does not show tags on aperture, time, iso etc. Other tags like place, pixels are shown. There is no little arrow on this info menu to go to full info box. How come ?

    in iPhoto 09 Info does not show tags on aperture, time, iso etc. Other tags like place, pixels are shown. There is no little arrow on this info menu to go to full info box. How come ?

    It does. Photos Menu -> Show Extended Photo Information.
    Then note the disclosure arrows as indictaed in this thread:
    https://discussions.apple.com/message/16512794#16512794
    Regards
    TD

  • PDF properties (meta tags) can't be changed (error 0x80040154 - class not registered)

    Hello,
    Changing PDF properties (meta tags: author, title, comment, theme etc) in  Adobe Reader as well as in Windows Explorer are disabled rsp does not funtion.
    1. In Adobe Reader "File properties", the overwriting rsp insertion of text is disabled in grey.
    2. In Windows  Explorer, following message window appears: "Properties change: Due to an unexpected error, properties can't be changed - Error  0x80040154: class not registered"
    (Sorry for the bad translation, but I am running the German version)
    Is there a technical explanation and  solution for this problem? In other PDF programms, the change of meta data does work fine.
    =====================
    Windows 7 64-bit, Acrobat Reader X 10.1.1. (Standard PDF Viewer)
    =====================
    Many thanks & best regards
    adiflis

    @MadEyes: I found out you had to set a site address in wordpress the hard way, i set it for a dns host and I couldn't get into the wp-admin page or load any sort of image or css.
    At the moment i have a server root directory with a wordpress folder on it. Eg:
        (/srv/http)/wp/
    and a  test index file in the root. Eg:
        (/srv/http)/index.html
    The index file doesn't show up publicly, but it will on the local network.
    I set the apache port back to 61669 and tested with canyouseeme.org. I got (i will email you the ip addy):
        Success: I can see your service on X.X.X.X on port (61669)       >EDIT: If I close apache, then it fails. Start it back up, it succeeds.
        Your ISP is not blocking port 61669
    I also nmap'd myself and got this:
        Host is up (0.025s latency).
        Not shown: 996 closed ports
        PORT     STATE    SERVICE
        23/tcp   open     telnet
        5989/tcp open     wbem-https
        6881/tcp filtered bittorrent-tracker
        8080/tcp open     http-proxy
    A port forward is definitely set up, so i dont know how much I can trust this (I did make 6881, but them program isn't open).
    Any of this any help?
    >EDIT: Excerpt from Webmin: "System hostname    localhost.localdomain" this doesn't seem right.
    Localhost:
    #<ip-address>   <hostname.domain.org>   <hostname>
    127.0.0.1       localhost.localdomain   localhost  ablanck
    #::1            ablanck.localdomain     localhost
    Last edited by lucytheboydog (2011-02-07 04:34:24)

  • Class Not Found Info

    I just find out that in Java if you have a String constant of greater than 64K, you can compile the class containing this constant, however, when you attempts to run that class you will either have a Class Not Found or Class Format exception. My solution is to break the 64K constant into 2 constant, each 32K.

    When do you have a string greater than 64K???

  • Taglib: class not found in jar-file

    I've got the following problem:
    I whant to deploy a taglib to tomcat 5.0.25.
    If I point to the jsp which uses the taglib I got the following error:
    org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/C:/Programme/Apache Software Foundation/Tomcat 5.0/webapps/taglibtest/WEB-INF/lib/gsa_prod3_db_taglib.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
    If I copy the taglib.tld out of the jar-file into WEB-INF and do the mapping in web.xml, I get this error:
    org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
    root cause
    java.lang.ClassNotFoundException: ch.gsa.prodass3.taglib.TagAddAttributeTEI
    It seems like none of the files in the jar-file could be loaded.
    Has anybody an idea?
    Help would be very appreceated!
    Greetings, Jonas

    1 - double check the class is in the jar file, in that path, and is spelt correctly
    2 - restart Tomcat
    3 - check the contents of the tld file - particularly the extra-info tag and class name for it.

  • Class Not Found Error - oracle/.../AddressingExtensionRegistry

    Scenario....
    1) Install WebCenter into JDeveloper Studio Edition Version 11.1.1.2.0 thru Update Manager
    2) Restart JDeveloper
    3) Run integrated weblogic server and following errors appear in log
    +<Jan 28, 2010 6:06:11 PM PST> <Error> <HTTP> <BEA-101216> <Servlet: "WSRPPortletManagementService" failed to preload on startup in Web application: "portletapp".+
    java.lang.NoClassDefFoundError: oracle/j2ee/ws/wsdl/extensions/addressing/AddressingExtensionRegistry
    +     at oracle.j2ee.ws.server.WSDLPresenterBase.<init>(WSDLPresenterBase.java:83)+
    +     at oracle.j2ee.ws.server.JAXRPCPortableWSDLPresenter.<init>(JAXRPCPortableWSDLPresenter.java:71)+
    +     at oracle.j2ee.ws.server.JAXRPCServlet.init(JAXRPCServlet.java:217)+
    +     at javax.servlet.GenericServlet.init(GenericServlet.java:241)+
    +     at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)+
    +     Truncated. see log file for complete stacktrace+
    Caused By: java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    +     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)+
    +     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)+
    +     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)+
    +     Truncated. see log file for complete stacktrace+
    +>+
    +<Jan 28, 2010 6:06:11 PM PST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'wsrp-samples [Version=11.1.1.2.0]'.+
    +weblogic.application.ModuleException: [HTTP:101216]Servlet: "WSRPPortletManagementService" failed to preload on startup in Web application: "portletapp".+
    java.lang.NoClassDefFoundError: oracle/j2ee/ws/wsdl/extensions/addressing/AddressingExtensionRegistry
    +     at oracle.j2ee.ws.server.WSDLPresenterBase.<init>(WSDLPresenterBase.java:83)+
    4) The cause of this would seem to be that the WL server is loading an older version of 'orawsdl.jar' from JDeveloper's "modules" folder rather than the newer version in "common_modules" folder. Each folder has a different version of 'orawsdl.jar' and the class is not even present in the older version.
    5) In Weblogic console this error manifests itself as a failure to deploy/activate the two EARs "wsrp-samples" and "wsrp-tools"
    6) The only other info that might be relevant is that I installed the SOA extensions at the same time as the WebCenter extensions - I have no idea if one interfered with the other.
    Any help or cpoments welcome

    Learning_man,
    Obviously you need to learn how to ask a question.
    There is nothing in your post other than 'It doesn't work. Why? Help"
    without any specific example. Also you still fail to include a 4 digit version!!!
    It is also the third or the fourth time you asked this very same question.
    Can you learn how to ask a question please? And stop repeating the question when you don't get a response?
    And no, the extra characters are not the problem.
    An incorrect CLASSPATH probably is.
    Sybrand Bakker
    Senior Oracle DBA

  • Extra db is not updated

    on the frontpage i see that neverball 1.1.0 and quanta 3.2.0 are added to extra
    unfortunately when i did
    pacman -Suy
    it will not update them
    and when i say explicitely
    [root@Asteraceae damir]# pacman -Suy
    :: Synchronizing package databases...
    current.db.tar.gz [####################################] 100% | 38K
    extra.db.tar.gz [####################################] 100% | 112K
    unstable.db.tar.gz [####################################] 100% | 1K
    contrasutra.db.tar.gz [####################################] 100% | 5K
    deepfreeze.db.tar.gz [####################################] 100% | 0K
    hapy.db.tar.gz [####################################] 100% | 0K
    kritoke.db.tar.gz [####################################] 100% | 1K
    whatah.db.tar.gz [####################################] 100% | 1K
    xentac.db.tar.gz [####################################] 100% | 0K
    dp.db.tar.gz [####################################] 100% | 5K
    bfinch.db.tar.gz [####################################] 100% | 3K
    roberto.db.tar.gz [####################################] 100% | 0K
    twm.db.tar.gz [####################################] 100% | 2K
    staging.db.tar.gz [####################################] 100% | 11K
    :: tse3-0.2.7-2: local version is newer
    :: Above packages will be skipped. To manually upgrade use 'pacman -S <pkg>'
    [root@Asteraceae damir]# pacman -S quanta
    error: unresolvable dependencies:
    quanta: requires kdelibs=3.1.5 but it is not in the sync db
    [root@Asteraceae damir]# pacman -Ss quanta
    extra/quanta 3.1.5-1
    A web development tool for the K Desktop Environment.
    [root@Asteraceae damir]#
    this looks to me, as if "extra"-db is not up-to-date with the files
    what's wrong?

    Xentac wrote:
    It wasn't that, it was that someone else didn't fully update their packages and it was stopping farphel from updating his.
    Tagging is something that you do with cvs to mark a certain revision as being the one you want.  We use it in the arch repositories.
    ok, thanx for the info ... never uploaded something to cvs, only downloaded

  • Class not found in applet using 2 jar files

    I have an applet which has been working for years as a stand alone or connecting directly to a derby database on my home server. I have just changed it to connect to MySQL on my ISP server via AJAX and PHP.
    I am now getting a class not found error in my browser, probably because I'm stuffing up the class path.
    The HTML I am using to call the applet is:
    <applet code="AMJApp.class"
    codebase="http://www.interactived.com/JMTalpha"
    archive="AMJ014.jar,plugin.jar"
    width="500"height="500"
    MAYSCRIPT style="border-width:0;"
    name="jsap" id="jsap"></applet>The AMJ014.jar contains the applet and supporting class files.
    The error message is strange to me because it refers to a class I noticed on another web page but which has nothing to do with my applet. Anyway, the message in full is:
    load: class NervousText.class not found.
    java.lang.ClassNotFoundException: NervousText.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: NervousText.class
    java.lang.UnsupportedClassVersionError: AMJApp : Unsupported major.minor version 51.0
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.UnsupportedClassVersionError: AMJApp : Unsupported major.minor version 51.0

    Thanks again.
    The page code is:
    <html>
    <head>
      <title>Applet to JavaScript to PHP</title>
    </head>
    <body>
    <script type="text/javascript">
    function updateWebPage(myArg)
    document.getElementById("txt1").innerHTML=myArg;
    if (myArg=="")
      document.getElementById("cbxItem").innerHTML="";
      return;
    if (window.XMLHttpRequest)
      {// code for IE7+, Firefox, Chrome, Opera, Safari
      xmlhttp=new XMLHttpRequest();
    else
      {// code for IE6, IE5
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    xmlhttp.onreadystatechange=function()
      if (xmlhttp.readyState==4 && xmlhttp.status==200)
        document.getElementById("cbxItem").innerHTML=xmlhttp.responseText;
    xmlhttp.open("GET","putitem.php?id="+myArg,true);
    xmlhttp.send();
    </script>
    <form>
    <table border=1 align='center' cellpadding=0 cellspacing=0 >
    <tr><td style='text-align:center; background-color:#C0C0C0'>Compiled Java Applet</td></tr>
    <tr><td><applet code="AMJApp.class" codebase="http://www.interactived.com/JMTalpha" archive="AMJ014.jar" width="500"height="500" MAYSCRIPT style="border-width:0;" name="jsap" id="jsap"></applet> </td></tr>
    <tr><td style='text-align:center; background-color:#C0C0C0'>HTML Textbox filled by JavaScript</td></tr>
    <tr><td><textarea style='width:500px; height:50px' name='txt1' id='txt1'>Query goes here</textarea></td></tr>
    <tr><td style='text-align:center; background-color:#C0C0C0'>HTML diagnostic messages rendered by PHP script</td></tr>
    <tr><td><div id="cbxItem">PHP info will populate this space</div></td></tr>
    </table>
    </form>
    </body>
    </html>The URL of the problem page is:
    http://www.interactived.com/JMTalpha/AMJTest.htm
    The code in the page is based on the following test page, which works:
    http://www.interactived.com/test5Applet.htm
    And the Applet, before I made any changes can be seen at this address:
    http://www.interactived.com/jartest0906.htm
    Thanks again for you interest.
    Edited by: 886473 on 21-Sep-2011 00:47

  • How can I forward a email without the extra info auto generated by Thunderbird ?

    When I foward a emai, Thunderbird auto-generates lots of extra information that is not need to be seen by the person I am forwardind to the message.
    How can I configure Thunderbird forward to clean all the extra info auto generated by Thunderbird ?
    Best regards
    HC

    ''Airmail [[#answer-708174|said]]''
    <blockquote>
    From the menu bar select View-Headers and set it to Normal instead of All.
    The mail system generates all this info and not Thunderbird FYI.
    </blockquote>
    SOLVED ! :)
    Thank you very much for your help :)
    HC

  • Error in beanshell - class not found in namespace

    We use beanshell to evaluate business rule validations on our application. Below is the calling method...
    private Object callBeanShell(final Object parameters, final String expression)
    throws EvalError {
    if (LogConstants.FINE_ENABLED) {
    logger.log(Level.FINE, "Expression: " + expression);
    beanShell.set("params", parameters);
    Object result = null;
    try {
    result = beanShell.eval(expression);
    } catch (Throwable ex) {
    getErrorHandler().fatalError("Expression: " + expression, ex);
    if (LogConstants.INFO_ENABLED) {
    logger.log(Level.INFO, "Expression: " + expression);
    logger.log(Level.INFO, "Result : " + (result == null ? "null" : result.toString()));
    return result;
    This has been working fine on the application for years, but we've suddenly started getting a problem with evaluations which are called from a SessionBean (via some reflection).
    Every time we try and call a certain set of expressions they fail on a 'class xxx not found in namespace'. This happens both when the expression contains code like:
    com.chubb.euz.SomeClass sc = new com.chubb.euz.SomeClass(); etc...
    or
    import com.chubb.euz.SomeClass; SomeClass sc = new SomeClass(); etc...
    The strange thing is that when I remote debug it & look at the bsh Interpreter what I see is that it's NameSpace object has a table called ImportedClasses on it which before the eval() call contains just bsh.Interpreter and bsh.EvalError but after the eval() it then contains all of the classes I pull in as imports in the expression passed to it, yet it still manages to throw this damn 'class not found in namespace' error!
    It still works whenever else it's called in the app (and this is only happening in our DEV environment). All I can think of now is that it's possibly something to do with the Thread that the beanshell is running on at this time, but that's just a guess as I know bugger all about Threads... I only think this because I can get the thing to work by stopping the processor which was built to run Events (EJB) generated in the app; resetting the Event's Task (regular class) to run again; then restarting the processor (not an option if this goes into PROD with the release!!!)
    Unfortunately, re-factoring the validations we need to run at this point is not really an option, as this is all coming at the tail end of a new release & the amount of code changes & subsequent regression testing required would kill us.
    This is on weblogic 8.1 - with the beanshell jar just embedded in the main application ear (I ran it with bsh.20b4.jar instead of the 1.3 version we were using but that has no effect).
    Any ideas would be more than gratefully appreciated as this is doing my head in!!!

    Hi,
    Thanks for the reply.
    I am trying to reverse SAP tables. Initially the Reversal process stuck at Set MetaData step. I stopped the session and restarted it then Set MetaData completed successfully but Set FlexFields give the error.
    Any idea?
    Regards,
    Arsalan.

  • Class Not Found Exception - applet won't run anywhere outside of IDE

    I have an applet that runs perfectly in the netbeans IDE, but won't run from command prompt (I'm using windows) or from a browser. I've been banging my head against the wall for a few days on this one. Here's the HTML I'm using:
    <applet width="400" height="525" code="musicapplet.class" archive="crypticgraffiti.jar">
    <param name="bgcolor" value="ffffff"> <param name="fontcolor" value="000000">
    </param> </param> Your browser is not Java enabled. </applet>
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    When I attempt to run from command prompt, I get:
    "Error: Could not find or load main class crypticgraffiti.MusicApplet"
    When I attempt to load via html:
    "basic: load: class musicapplet.class not found.
    load: class musicapplet.class not found.
    java.lang.ClassNotFoundException: musicapplet.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: musicapplet.class
    security: Accessing keys and certificate in Mozilla user profile: null"
    I have tried every possible variation for the 'code' element of the applet tag (package.mainclass.class, mainclass, mainclass.class, etc). I have also tried compiling with JDK 1.6 and this didn't change anything. I've tried clearing out the cache of temporary files using the java control panel settings, and have verified that my browser can run other applets using JRE 6 and 7.
    I've tried some different ways of distributing the applet, also: putting all the class files in the folder with the html file, putting the classes in a source folder in the same folder as the html file, and finally putting a jar in the same folder as the html file (which really seems the simplest).
    Any help at all would be most appreciated! This applet is a very cool and original music creating app that draws heavily on the JFugue API. It's a shame that I can't get it online for people to play with!

    Cryptic Graffiti wrote:
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    Please note that class names are case sensitive so "MusicApplet" is not same as "Musicapplet" or "musicapplet". Your applet tag should have fully qualified class name (without quotes) and should look like this:
    <applet width=400 height=525 code=musicapplet.MusicApplet archive="crypticgraffiti.jar">
    </applet>
    The JAR should be in the same directory as your HTML file. While launching from command line, you can also check if your JAR file is getting included in classpath.
    Thanks,
    Nitin

  • Class Not found Exception for invoking BPEL process through the Java code

    Hi.
    The JDeveloper IDE raise the Exception From the invoking the BPEL process through the java code .Class Not Found Exception (Locator,ID.......).What is process of importing these classes from API.

    In your code (.bpel file) import the library using the bpelx:exec tag. For example the adding the following entry in your .bpel file imports the com.oracle.bpel.client.util library.
    <bpelx:exec import="com.oracle.bpel.client.util.*"/>

  • "class not found error" and applets ...

    To run an applet inside an html page using the embedded oc4j i have to copy the library containing the applet to the same directory as the html page. Otherwise i get a class not found error....Is there a better way of doing this?
    thanks in advance for any advise
    owen

    Hi,
    you should be able to reference the JAR file from teh HTML tag. If not then this sounds like a bug that should be filed
    Frank

  • Class not found error afer loading classes to oracle

    hi i have loaded quite a few jars into oralce 11g databse
    created a java stored function
    and executed it
    some times it works... and hits the java front end environment... we are hitting a servlet.. and recording some output statements .. in the function
    but sometimes it throws class not found error
    any idea why its working sometimes and not some othr times?
    Also when i load the jars.. the classes are loaded but when i see the name of the classes using
    select * from user_objects where object_type like 'J%'
    then i see some additional characters prefixxed the class names ... is that causing the problem?
    something like this
    /1a248e6f_GetMethod
    Edited by: learning_man on Mar 11, 2010 1:27 PM

    Learning_man,
    Obviously you need to learn how to ask a question.
    There is nothing in your post other than 'It doesn't work. Why? Help"
    without any specific example. Also you still fail to include a 4 digit version!!!
    It is also the third or the fourth time you asked this very same question.
    Can you learn how to ask a question please? And stop repeating the question when you don't get a response?
    And no, the extra characters are not the problem.
    An incorrect CLASSPATH probably is.
    Sybrand Bakker
    Senior Oracle DBA

  • Class not found error for applet.

    This is probally a really simple mistake but I've tried everything and can't find it.
    My applet works fine with applet viewer - I'm running it from JBuilder. But when I open my html file in the browser it gives me a 'Class not found' error. I've tried running other applets (my own and demos on this site) and they work fine.This is the applet tag code:
    <applet code = "Rotary.class" width = "650" height = "580" align = "top">
    <!-- coordinates of sectors -->
    <param name = "sector0" value ="234,215,244,207,154,43,125,63">
    </applet>
    The class file is in the same directory as the HTML file. Do I need to specify the codebase? I tried that too - giving it the full pathname of the class.
    In the Java console it said that it couldn't find "C:Project\Rotary\javax\swing\japplet"
    I don't think it could have anything to do with the fact that I'm using swing because the other applets I used used swing.
    Please help - I'm really running out of ideas here!

    You have a similar problem like I had.
    You seem to have a too old JAVA environment for the browser - I had a too new environment.
    For all who are experiencing the same problem!
    Problem:
    You're compiling your applets with a quiet modern compiler (i.e. Netbeans Version 3.5.1)
    You are able to compile your applets without any problems but if you try your applets in "real life", the browsers can't interpret your applets [class not found]. (I tested Internet Explorer 6.0 and Netscape Navigator 4.7)
    So you need a plugin for the new JAVA environment because the JAVA environment of the browser is older than that which the applet needs.
    Well, you have the choice to demand to every user of your applet to download the new Java Runtime Environment, but then don't wonder why nobody visits your site!
    But, don't worry: I figuered out another solution, that Netbeans (www.netbeans.org) allows to compile in different JAVA versions.
    Solution:
    What you have to do is:
    - Install a previous version of JDK (i.e. JDK 1.3 - I would suggest, lower versions don't work with Netbeans 3.5.1 and JDK 1.3 is enough for IE 6.0 and NN 4.7, which I tested)
    - Go into the "bin"-directory of Netbeans (i.e. c:/netbeans3.5.1/bin)
    - Open the file "ide.cfg" (with notepad or any other texteditor)
    - You see a line like: jdkhome "C:\java\j2sdk1.4.2" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
    - Change the path to your other JDK you wish, like: jdkhome "C:\java\jdk1.3" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
    - That's it, you can compile your applets in a previous version of JAVA so that "older" browser user don't have to install a plugin for the new JAVA environment.
    Have fun!
    If you have any questions I would be pleased to help you.
    If this tip helped you already I would be pleased if you would send me a quick email with your experience.
    My email: [email protected]

Maybe you are looking for

  • ISE 1.2 - Posture Detail Assessment - enforcement audit mode report not show status for non-compliant

    ISE 1.2 - Posture Detail Assessment - enforcement audit mode report not show status for non-compliant. - For old version 1.1.4 it can be reported for non-compliant, How can I generate report for this?  Thanks Kosin Usuwanthim

  • When mouse hits upple left corner of screen, windows disappear

    The upper lefthand corner on my Macbook Pro is hot. When the mouse pointer hits the corner, the active windows on my screen collapse off the desktop. When I hit the same corner again, the windows reappear. Is there a setting in System Preferences whi

  • Configure BI JDBC system for VC

    Hello, I am new at VC and try to configure a BI JDBC system (BW 3.5) for VC. I have downloaded https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424 (How to Configure a BI JDBC System for Visual

  • Need Christi skin buttons in French

    Hello, I'm using RH7 to provide webhelp documentation both in English and in French. I've created a webhelp layout using the Christi skin. My problem is that I do not know where to find French buttons for Contents and Search buttons (Index is ok). Co

  • Bridge CC 2014 (Traditional Chinese version), Report

    Top right corner of the window "依檔案類型" "依類型" 排序 (Sort by Filename, Sort by Type) Translation is wrong! Proposal: "依檔案名稱"(Sort by Filename)