OJVM w/1.4.1 and IllegalAccessError

I am getting a java.lang.IllegalAccessException with OJVM and 1.4.1 that does not occur with the Sun JVM. The code is fairly straightforward; it is using javax.xml.transform, which is standard JDK fare now, and it simply doesn't work with the OJVM.
The code I am attempting to run works fine with 1.3.1 OJVM or Sun JVM, or with 1.4.1 Sun JVM, but not OJVM. I need to use OJVM b/c it is so much faster! Please help!
This is very similar to a package-scope issue I've seen with OJVM back in May, which I thought was fixed, but now not so sure.
javax.xml.transform.TransformerException: Failed calling setMethod method
     at org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:876)
     at org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:919)
     at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1109)
     at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:375)
     at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:311)
     at org.apache.xalan.processor.ProcessorOutputElem.startElement(ProcessorOutputElem.java:236)
     at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:656)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
     at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
     at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
     at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
     at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
     at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:934)
     at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
     at com.mosol.Formula.download.utils.AppletGenerator.doProcess(AppletGenerator.java:560)
     at com.mosol.Formula.download.utils.AppletGenerator.doProcess(AppletGenerator.java:583)
     at com.mosol.Formula.download.utils.AppletGenerator.getJspParams(AppletGenerator.java:109)
     at com.mosol.Formula.download.utils.AppletGenerator.generateJavaPluginJsp(AppletGenerator.java:248)
     at com.mosol.Formula.download.servlets.DownloadServlet.initServlet(DownloadServlet.java:55)
     at com.mosol.Formula.download.servlets.DownloadServlet.init(DownloadServlet.java:45)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3340)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
     at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:350)
     at org.apache.catalina.core.StandardService.start(StandardService.java:498)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
     at com.mosol.Formula.Server.WebServer.startTomcat(WebServer.java:193)
     at com.mosol.Formula.Server.WebServer.run(WebServer.java:113)
Caused by: java.lang.IllegalAccessException: Class java.lang.reflect.Method can not access a member of class org.apache.xalan.processor.ProcessorOutputElem with modifiers "public"
     at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
     at java.lang.reflect.Method.invoke(Method.java:317)
     at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1100)
     ... 40 more
java.lang.IllegalAccessException: Class java.lang.reflect.Method can not access a member of class org.apache.xalan.processor.ProcessorOutputElem with modifiers "public"
     at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
     at java.lang.reflect.Method.invoke(Method.java:317)
     at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1100)
     at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:375)
     at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:311)
     at org.apache.xalan.processor.ProcessorOutputElem.startElement(ProcessorOutputElem.java:236)
     at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:656)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
     at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
     at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
     at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
     at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
     at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:934)
     at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
     at com.mosol.Formula.download.utils.AppletGenerator.doProcess(AppletGenerator.java:560)
     at com.mosol.Formula.download.utils.AppletGenerator.doProcess(AppletGenerator.java:583)
     at com.mosol.Formula.download.utils.AppletGenerator.getJspParams(AppletGenerator.java:109)
     at com.mosol.Formula.download.utils.AppletGenerator.generateJavaPluginJsp(AppletGenerator.java:248)
     at com.mosol.Formula.download.servlets.DownloadServlet.initServlet(DownloadServlet.java:55)
     at com.mosol.Formula.download.servlets.DownloadServlet.init(DownloadServlet.java:45)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3340)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
     at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:350)
     at org.apache.catalina.core.StandardService.start(StandardService.java:498)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
     at com.mosol.Formula.Server.WebServer.startTomcat(WebServer.java:193)
     at com.mosol.Formula.Server.WebServer.run(WebServer.java:113)
java.lang.IllegalAccessException: Class java.lang.reflect.Method can not access a member of class org.apache.xalan.processor.ProcessorOutputElem with modifiers "public"
     at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
     at java.lang.reflect.Method.invoke(Method.java:317)
     at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1100)
     at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:375)
     at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:311)
     at org.apache.xalan.processor.ProcessorOutputElem.startElement(ProcessorOutputElem.java:236)
     at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:656)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
     at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
     at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
     at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
     at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
     at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:934)
     at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
     at com.mosol.Formula.download.utils.AppletGenerator.doProcess(AppletGenerator.java:560)
     at com.mosol.Formula.download.utils.AppletGenerator.doProcess(AppletGenerator.java:583)
     at com.mosol.Formula.download.utils.AppletGenerator.getJspParams(AppletGenerator.java:109)
     at com.mosol.Formula.download.utils.AppletGenerator.generateJavaPluginJsp(AppletGenerator.java:248)
     at com.mosol.Formula.download.servlets.DownloadServlet.initServlet(DownloadServlet.java:55)
     at com.mosol.Formula.download.servlets.DownloadServlet.init(DownloadServlet.java:45)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3340)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
     at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:350)
     at org.apache.catalina.core.StandardService.start(StandardService.java:498)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
     at com.mosol.Formula.Server.WebServer.startTomcat(WebServer.java:193)
     at com.mosol.Formula.Server.WebServer.run(WebServer.java:113)

JMF 2.1.1b normally works with Java 1.4.x without any problems.
However, the plug ins don't use the classpath. You should copy the jmf files to the jre_xxxx\lib\ext path of your java runtime environment. If you have installed more than one JRE, you should copy these files to every path you'll find.

Similar Messages

  • Versioning and IllegalAccessError (Struts)

    Hello,
    On December 27th, George Cutrell had a post that went essentially unanswered
    regarding an IllegalAccessError being thrown during initialization of the
    Struts servlet only when Versioning is turned on. I have had the same issue.
    Has anyone had any success in solving this (or a similar) problem? Or does
    anyone have an explanation as to how the versioning setting would cause such
    an issue?
    The changes I made to the registry to turn on versioning that trigger the
    error are:
    SOFTWARE\iPlanet\Application
    Server\6.0\CCS0\SYSTEM_JAVA\Versioning\Disable=0
    SOFTWARE\iPlanet\Application
    Server\6.0\CCS0\SYSTEM_JAVA\Versioning\GX_ALL_VERSIONABLE=1
    This is the exception that occurs as the servlet attempts to load:
    java.lang.IllegalAccessError: org/apache/struts/action/AddDataSourceRule
    at org.apache.struts.action.ActionServlet.initDigester(Compiled Code)
    at org.apache.struts.action.ActionServlet.initMapping(Compiled Code)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at
    com.netscape.server.servlet.servletrunner.ServletRepository.loadServlet(Unkn
    own Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRepository.createInstance(U
    nknown Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.createServletInfo(Un
    known Source)
    at
    com.netscape.server.servlet.servletrunner.AppInfo.preLoadServlets(Compiled
    Code)
    at
    com.netscape.server.servlet.servletrunner.AppInfo.resetServlets(Compiled
    Code)
    at com.netscape.server.servlet.servletrunner.AppInfo.<init>(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletModule.getAppInfo(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletModule.getPlatformServletCo
    ntext(Unknown Source)
    Thanks,
    Jeremy

    Hi.
    <i>Note that table layouts aren't part of the API and are subject to change without notice.</i>
    To check whether the KM's "folder versioning" is activated, try the following code:
    ICollection coll; // collection to check
    IVersionController vc = (IVersionController)coll.as(IVersionController.class);
    if (vc != null) {
      System.out.println("enhanced versioning: " + vc.isEnabled());
    (see also http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/km/com/sapportals/wcm/repository/IVersionController.html).
    Hope this helps,
    Julian

  • How to install ojvm??

    I installed Oracle 9i JDeveloper Version 9.0.3 and when I ran it, a message appeared saying that ojvm client is not installed and that JDeveloper will be slower. I already followed the instructions on the manual. I ran InstallOJVM.bat c:\jdk and I also configured jdev.conf (SetJavaHome c:\jdk, SetJavaVM ojvm), but JDeveloper is still asking for it. I can use JDeveloper, but it's slows the system down. Please help.

    Hi There;
    Just set setJavaVM to hotspot insteat of ojvmit will work.
    I had the same error, know it's gone
    good luck
    Zine

  • Profiler/CodeCoach not available.

    The profiler and code coach options are disabled on my run menu. I have installed OJVM, but I am using JDK1.4.1 and this seems to be the cause.
    The applications I am working on use JDK1.4.1 features so I can't compile them with 1.3...
    Is there anything I can do to get profiling working?

    OJVM is 1.3 certified and runs on Windows. While it is not a supported configuration, when I install OJVM into j2sk1.4, I can run the profilers against a project running against 1.4.

  • How do I implement RSS seach in Jdeveloper

    Does RSS already have nested search capability?

    Hi David,
    Some things concern me about the java command you show in your post:
    1. On Windows, JDeveloper should be starting javaw, not java. In your post, you show a java command. Is it really java or is it javaw?
    2. JDeveloper should be specifying which JVM to use. In your post, you show a java command where there is no JVM specified (there is no -ojvm or -hotspot). Check your project settings - on the Libraries panel, what J2SE (JDK) are you using? on the Runner panel, what Virtual Machine is selected?
    Other than that, the command you show in your post (the command that JDev launches when you try to debug your local project) contains (mostly) the correct command options for local debugging with a JVM which supports JPDA debugging (for example, classic or hotspot).
    Let me explain the command options:
    java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=1552-Xdebug Enables debugging.
    -Xnoagent Disables old debugging agent (also called sun.tools.debug).
    -Djava.compiler=NONE Disables the JIT compiler.
    -Xrunjdwp Loads the JPDA JDWP library.
    :transport=dt_socket Use sockets for communicating with the debugger.
    ,server=y Listen for a debugger to attach.
    ,address=1552 Use port 1552.
    JDev will use the above command options when you do local debugging with a JVM other than OJVM. (Note that -Xnoagent and -Djava.compiler=NONE are not required for HotSpot, but are accepted and ignored.)
    The command that you show is not trying to connect to anything.
    When JDev does remote debugging, it does not start the java process at all.
    I think there is some other reason why your program does not start up. What other messages are displayed in the Log Window? Do you see messages like "Debugger attempting to connect to local process." or "Debugger connected to local process." or "Debugger unable to connect to local process."?
    -Liz

  • How do I disable remote debugging in JDeveloper??

    I am having a problem disabling the remote debugging feature inside JDeveloper 9i. I currently have a workspace in which I has set up a remotely debuggable project and another "normal" project which contains the client application that accesses my remote application. When I start the remote application, I am able to attach the remote debugger inside JDeveloper and it works just fine. However, when I attempt to debug my local project, it starts with the following JVM parameters :
    java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=1552
    and fails to start since it cannot attach to a remote process. I have double-checked the project settings and the remote debugging checkbox is NOT select for the local project. I have even resorted to restarting JDeveloper, but that failed to resolve the problem.
    Does anybody have any suggestions as to how to fix this problem?

    Hi David,
    Some things concern me about the java command you show in your post:
    1. On Windows, JDeveloper should be starting javaw, not java. In your post, you show a java command. Is it really java or is it javaw?
    2. JDeveloper should be specifying which JVM to use. In your post, you show a java command where there is no JVM specified (there is no -ojvm or -hotspot). Check your project settings - on the Libraries panel, what J2SE (JDK) are you using? on the Runner panel, what Virtual Machine is selected?
    Other than that, the command you show in your post (the command that JDev launches when you try to debug your local project) contains (mostly) the correct command options for local debugging with a JVM which supports JPDA debugging (for example, classic or hotspot).
    Let me explain the command options:
    java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=1552-Xdebug Enables debugging.
    -Xnoagent Disables old debugging agent (also called sun.tools.debug).
    -Djava.compiler=NONE Disables the JIT compiler.
    -Xrunjdwp Loads the JPDA JDWP library.
    :transport=dt_socket Use sockets for communicating with the debugger.
    ,server=y Listen for a debugger to attach.
    ,address=1552 Use port 1552.
    JDev will use the above command options when you do local debugging with a JVM other than OJVM. (Note that -Xnoagent and -Djava.compiler=NONE are not required for HotSpot, but are accepted and ignored.)
    The command that you show is not trying to connect to anything.
    When JDev does remote debugging, it does not start the java process at all.
    I think there is some other reason why your program does not start up. What other messages are displayed in the Log Window? Do you see messages like "Debugger attempting to connect to local process." or "Debugger connected to local process." or "Debugger unable to connect to local process."?
    -Liz

  • What is OJVM and why do I need it?

    When I reinstalled JDeveloper it asked if I wanted to use OJVM. Thinking it to be improtant I hit ok. Cna anyone explain what it is?

    Ivan, there is a full description and example in the on line help of code coach and profiling...basically JDev helps and "suggests" ways of writing better code; and gives you an insight into how your code performs.
    Regards
    Grant

  • What is the difference between ojvm and client versions?

    Changing the java vm from client to ojvm result in the following error:
    Errormessage:
    java.lang.UnsatisfiedLinkError: no UniqueC in java.library.path
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm FAILS
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm      RUNS OK.
    Project Settings -&gt; Configurations -&gt; Development -&gt;Paths -&gt;Additional Classpath:
    C:\jars\xerces.jar;C:\jars\UniqueC.dll;C:\jars\log4j-1.2.8.jar
    What is the difference between ojvm and client versions? How can I make ojvm to find UniqueC.dll?
    Various version info:
    Output from program:
    java version:1.4.2_01
    java home:C:\programfiler\JAVA\2sdk1.4.2_01\jre
    java vm version:9.0.3.738 cdov
    Taken from JDeveloper Help About:
    Oracle IDE     9.0.3.10.35
    UML Modelers Version     9.0.3.9.4
    Business Components Version     9.0.3.10.7
    java.version     1.3.1_02
    java.vm.name     OJVM Client VM
    java.vm.version     9.0.3.738 o

    However, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.

  • IllegalAccessError and JSP

    Hi,
              We are having problems with the JSP compiler: it's happens that,
              when we have an inner class (a class embded into a jsp)
              implementing an interface of an external package
              (correctly included in the classpath), it returns an
              IllegalAccessError. It only happens when the class implements
              an external interface, and we have not found that problem
              with other JSP Compilers (p.ex. jakarta-tomcat).
              We haven't found any configuration option in the documentation
              to resolve that problem an we would like to know if it is a
              security convention, a bug or something configurable.
              We are using:
              - Weblogic Server Version: 4.5.1 - 9602001-01,
              - JDK version: Solaris JDK 1.2.1_04,
              - OS version: SunOS Release 5.7 Generic_106541-09
              - Full Thread dump:
              Thu Jun 29 14:20:28 GMT+01:00 2000:<E> <ServletContext-General> Servlet
              failed with Exception
              java.lang.IllegalAccessError:
              jsp_servlet/_madrid/_teatro/_buscateatro/_resultado_95_obra$1$SalasParaTeatr
              oWriter
              at
              jsp_servlet._madrid._teatro._buscateatro._resultado_95_obra._jspService(Comp
              iled Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :105)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :123)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:742)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:686)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              Manager.java:247)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              Please, contact us in [email protected]
              Thank you,
              Carlos.
              Carlos Narciso Moreno González.
              Estudio de Ingeniería Telemática CESAT.
              Almirante Francisco Moreno, 5, Planta Baja.
              Ciudad Universitaria. 28040 Madrid. Spain.
              Tel : +34-91-4590001
              Fax : +34-91-4597555
              E-mail : [email protected]
              

    Hi
    I'm not sure if you are using the right syntax for <jsp:include..>
    Here is the link to a quick start tutorial:
    http://java.sun.com/products/jsp/docs.html
    Keep me posted on your progress.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems inc
    http://www.sun.com/developers/support

  • OJVM and Verbose Memory Messages

    Could someone give some feedback on what the verbose messages coming out of OJVM are? I'm running Java 5 compatible ojvm with -verbose:gc on. I'm getting the following messages concerning garbage collection that I need help interpreting.
    GC Nrm S SB 15360K/43568K ( 15) BB 1132K/10040K ( 1) Time 0.1412 : 5.2697
    GC Gen S SB 3401K/43568K ( 15) BB 1024K/10040K ( 1) Time 0.1035 : 5.3732
    Specifically, what does "Nrm S SB", "Gen S SB", and the consecutive "BB" mean?
    Any help would be appreciated.
    Erik

    GC Nrm S SB 15360K/43568K ( 15) BB 1132K/10040K ( 1) Time 0.1412 : 5.2697
    GC Gen S SB 3401K/43568K ( 15) BB 1024K/10040K ( 1) Time 0.1035 : 5.3732
    Nrm -- normal (full) garbage collection
    Gen -- generational garbage collection, using collect younger objects and less objects than an full garbage collection cycle
    S -- the current garbage collection cycle was caused by a request to allocate a small block, if the request would have been cause by a big block, you would have seen a B
    SB -- small blocks
    BB -- big blocks
    (15) and (1) -- those are some internal allocation related boost factor, this is pretty internal to the way the algorithm works.
    SB #1 / #2 -- first number is the amount of memory freed and the second is the amount of memory currently allocated.

  • IllegalAccessError on UCP and ojdbc10g_201

    Hi Guys,
    I'm getting this error when I run using command line. However when I run in eclipse, I don't get the same error.
    I'm using the -Djava.ext.dirs option for the command line on java 1.5 release 12.
    Exception in thread "main" java.lang.IllegalAccessError: class oracle.jdbc.driver.$Proxy1 cannot access its superinterface oracle.jdbc.driver.ScrollRsetStatement
    at java.lang.reflect.Proxy.defineClass0(Native Method)
    at java.lang.reflect.Proxy.getProxyClass(Proxy.java:504)
    at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
    at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.createPreparedStatementProxy(PreparedStatementProxyFactory.java:66)
    at oracle.ucp.jdbc.proxy.ConnectionProxyFactory.proxyInvokeAfterTargetInvoke(ConnectionProxyFactory.java:145)
    at oracle.ucp.jdbc.proxy.JDBCConnectionProxyFactory.invoke(JDBCConnectionProxyFactory.java:266)
    at $Proxy0.prepareStatement(Unknown Source)
    Any ideas?
    Thanks!
    Edited by: user4784123 on Sep 15, 2010 12:33 AM

    I'm getting this error when I run using command line.What command line?
    Exception in thread "main" java.lang.IllegalAccessError: class oracle.jdbc.driver.$Proxy1 cannot access its superinterface oracle.jdbc.driver.ScrollRsetStatementSomething is wrong with your classpath.

  • Bug on native code of OJVM java.util.zip.CRC32.updateBytes(CRC32.java)

    I want to unzip OpenOffice 1.0 files inside the OJVM but it fails into the native method java.util.zip.CRC32.updateBytes(CRC32.java).
    The first execution of the code runs OK, but the second not.
    After a long wait it shutdown the connection and the oracle trace file shows an stack trace like this:
    *** 2003-04-18 11:31:31.926
    *** SESSION ID:(17.97) 2003-04-18 11:31:31.926
    java.lang.IllegalArgumentException
    at java.util.zip.CRC32.updateBytes(CRC32.java)
    at java.util.zip.CRC32.update(CRC32.java)
    at java.util.zip.ZipInputStream.read(ZipInputStream.java)
    at oracle.xml.parser.v2.XMLByteReader.fillByteBuffer(XMLByteReader.java:354)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:142)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:448)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2012)
    at oracle.xml.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:1800)
    at oracle.xml.parser.v2.NonValidatingParser.parseMisc(NonValidatingParser.java:305)
    at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:274)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:254)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:225)
    at com.prism.cms.frontend.EditPropertiesActions.processUpload(EditPropertiesActions.java:1901)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x6d3a74a0, PC: [0x40263600, eomake_reference_to_eobjec
    t()+80]
    Registers:
    %eax: 0x54a54000 %ebx: 0x40429c20 %ecx: 0x54a546bf
    %edx: 0x6d3a7478 %edi: 0x402b27d0 %esi: 0x45c718ac
    %esp: 0xbfffbf20 %ebp: 0xbfffbf48 %eip: 0x40263600
    %efl: 0x00010206
    The code of the java method is:
    public static void processUpload(String id_page, String longname,
    String filename, String filetype,
    String s00)
    throws SQLException {
    Integer p_id = new Integer(id_page);
    String toSource;
    XMLDocument doc = null;
    DOMParser theParser = null;
    InputStream XSLStream = null;
    BufferedWriter out = null;
    #sql { select path||name||'.html' into :toSource from pages where id_page=:p_id };
    if ("Cancel".equalsIgnoreCase(s00)) {
    Jxtp.redirecUrl("/dbprism/ldoc/live/edit.html?p_source="+toSource);
    return;
    if ("no-file".equals(filename) && "no-contenttpye".equals(filetype)) {
    Jxtp.redirecUrl("/dbprism/ldoc/live/edit.html?p_source="+toSource);
    return;
    if ("xml".equalsIgnoreCase(filetype))
    #sql { call CMSj.moveFromUpload(:filename,:p_id) };
    else if ("sxw".equalsIgnoreCase(filetype)) {
    XSLProcessor processor = new XSLProcessor();
    XSLStylesheet theXSLStylesheet = null;
    BLOB locator = null;
    // open sxw file, it will be in zip format with a file named content.xml
    // then convert content.xml to document-v10.dtd with an stylesheet
    #sql { select blob_content into :locator from wpg_document where name = :filename for update };
    ZipInputStream zin = new ZipInputStream(locator.binaryStreamValue());
    ZipEntry entry;
    try {
    while((entry=zin.getNextEntry())!=null)
    if ("content.xml".equalsIgnoreCase(entry.getName())) {
    Integer newVersion;
    CLOB dstDoc;
    CMSDocURLStreamHandlerFactory.enableCMSDocURLs();
    try {
    URL inUrl = new URL("cms:/stylesheets/sxw2document-v10.xsl");
    XSLStream = inUrl.openStream();
    // Create the Stylesheet from the stream
    theXSLStylesheet = processor.newXSLStylesheet(XSLStream);
    // Stores the document processing it with the given stylesheet
    theParser = new DOMParser();
    theParser.setValidationMode(theParser.NONVALIDATING);
    theParser.setBaseURL(new URL("cms:/dtd/"));
    theParser.parse(zin);
    doc = theParser.getDocument();
    #sql { SELECT NVL(MAX(version),0)+1 INTO :newVersion FROM content
    WHERE cn_id_page = :p_id };
    #sql { INSERT INTO content( cn_id_page, version, owner, status, source_file,
    file_size, content, created, modified, created_by,
    modified_by)
    VALUES ( :p_id, :newVersion, sys_context('cms_context','user_id'),
    'Uploaded', :filename, 0 , EMPTY_CLOB(), SYSDATE, SYSDATE,
    sys_context('cms_context','user_id'),
    sys_context('cms_context','user_id')) };
    #sql { SELECT content INTO :dstDoc FROM content
    WHERE cn_id_page = :p_id AND version = :newVersion for update };
    #sql { call DBMS_LOB.trim(:inout dstDoc,0) };
    out = new BufferedWriter(dstDoc.getCharacterOutputStream(),dstDoc.getChunkSize());
    processor.processXSL(theXSLStylesheet, doc, new PrintWriter(out));
    #sql { delete from wpg_document where name=:filename };
    } catch (SAXParseException spe) {
    throw new SQLException("processUpload SAXParseException: "+xmlError(spe));
    } catch (SAXException se) {
    throw new SQLException("processUpload SAXException: "+se.getLocalizedMessage());
    } catch (XSLException xsle) {
    throw new SQLException("processUpload XSLException: "+xsle.getLocalizedMessage());
    } finally {
    if (XSLStream!=null)
    XSLStream.close();
    if (theParser!=null)
    theParser = null;
    if (out!=null) {
    out.flush();
    out.close();
    zin.close();
    } catch (IOException ioe) {
    throw new SQLException("processUpload IOException: "+ioe.getLocalizedMessage());
    } finally {
    if (XSLStream!=null)
    XSLStream = null;
    if (out!=null)
    out = null;
    if (zin!=null)
    zin = null;
    Jxtp.redirecUrl("/dbprism/ldoc/live/edit.html?p_source="+toSource);
    Basically it takes the content from a BLOB column of the wpg_document table, unzip it using java.util.zip package, look for the file content.xml and parse it using Oracle XML toolkit.
    Using an open source utility which replace java.util.package (http://jazzlib.sourceforge.net/) it works perfect because is a pure java application.
    Best regards, Marcelo.
    PD: I am using Oracle 9.2.0.2 on Linux.

    The cause of errors was a dying Westen Digital drive, specially the 48G partition reserved only for $ORACLE_BASE (/dev/sdb3 mounted on /opt/oracle).
    A simple quick scan of unmounted partition (badblocks -v /dev/sdb3) reported more than thousand new bad blocks (compared to the last scan six months ago). Although I strongly believe, specially in the case of WDC drives, that the best utility to "repair" bad blocks is the one that opens a window and prints the message: "Go to the nearest shop and buy a new drive", I was very curious to prove my suspicion just on this drive. After zero-filling the partition with dd, then formatting it (mke2fs -cc) and mounting again, the 11g installation and database creation (on the same partition) successfully completed, performing fast and smoothly. To make sure it was not a casual event, I repeated the installation once again with full success. The database itself is working fine (by now). Well, the whole procedure took me more than four hours, but I'm pretty satisfied. I learned once again - stay away from Western Digital. As Oracle cannot rely on dying drive, my friend is going tomorrow to spend a 150+ euro on two 250G Seagate Barracudas and replace both WDC drives, even though the first drive seems to be healthy.
    In general there is no difference between loading correct data from good disk into bad memory and loading the incorrect data from dying disk into good memory. In both cases the pattern is damaged. For everyone who runs into the problem similar to this, and the cause cannot be easily determined, the rule of thumb must be:
    1. test memory and, if it shows any error, check sockets and test memory modules individually
    2. check disks for bad blocks regardless of the result of memory testing
    Therefore I consider your answer being generally correct.
    Regards
    NJ

  • Java.lang.IllegalAccessError while running hello page in JDEVELOPER 10G

    Hi
    i am getting this error while running hello page.
    PLease help me diagnosis...
    D:\DevSuiteHome_1\jdevuser\jdevbin\jdk\bin\javaw.exe -jar D:\DevSuiteHome_1\jdevuser\jdevbin\j2ee\home\admin.jar ormi://10.184.155.72:23891 oc4jadmin **** -updateConfig
    11/11/24 20:09:58 java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
    11/11/24 20:09:58      at oracle.xml.jaxp.JXDocumentBuilderFactory.newDocumentBuilder(JXDocumentBuilderFactory.java:79)
    11/11/24 20:09:58      at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:36)
    11/11/24 20:09:58      at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:208)
    11/11/24 20:09:58      at com.evermind.xml.XMLConfig.init(XMLConfig.java:165)
    11/11/24 20:09:58      at com.evermind.xml.XMLConfig.init(XMLConfig.java:113)
    11/11/24 20:09:58      at com.evermind.xml.XMLConfig.update(XMLConfig.java:477)
    11/11/24 20:09:58      at com.evermind.server.XMLApplicationServerConfig.update(XMLApplicationServerConfig.java:1581)
    11/11/24 20:09:58      at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:81)
    11/11/24 20:09:58      at java.lang.Thread.run(Thread.java:595)
    Thanks & Regards

    Hi,
    I have checked the appl version and downloaded it correctly from metalink note. :(
    but, still it doesnt work properly. :( :(

  • Help needed w/ JDeveloper and Raptor not working for me in 10.4

    Well, I've been successfully running the previous version of JDeveloper, 10.1.2.0.0 (Build 1811) for a few months on my OS X, Tiger (10.4) laptop. I recently tried to get Project Raptor running. I'm using Apple's version of Java from Software Update, J2SE 5.0 Release 3 which is the most up-to-date version I can find anywhere.
    My problem is this. I can do most anything fine, but as soon as I try to Debug an PL/SQL function in either Raptor, or the JDeveloper 10.1.3 build I get an error "Unsupported feature Vendor Code 17023" when I click OK in the Debug PL/SQL dialog box.
    Thing is that this works just fine in JDeveloper 10.1.2.0.0 (Build 1811). The thing that is interesting is the 10.1.2 JDeveloper uses the Java 1.4.2 where Raptor and JDeveoper 10.1.3 use the Java 1.5, I'm guessing it's a problem in Apple's Java 1.5 but can anyone else verify this or offer help to how I can make it work?
    tks

    I fail to get the error message you describe. What I get is:
    ===========================
    Connecting to the database test10.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '10.0.1.103', '52221' )
    Debugger accepted connection from database on port 52221.
    Processing 59 classes that have already been prepared...
    Finished processing prepared classes.
    ===========================
    Is this ok ?
    In the console log I got:
    sh ./raptorOracle Raptor 1.0
    Copyright (c) 2005 Oracle Corporation. All Rights Reserved.
    Working directory is /Users/ronr/Desktop/raptor/jdev/bin
    Initializing.. oracle.dbtools.raptor.explorer.jdev.ConnectionDialogAddin@1972bf
    Assert: Unknown Node:8: USER
    Assert: Unknown Node:8: SHARED QUERIES
    Assert: Unknown Node:8: TABLE EDITORS
    Assert: Unknown Node:8: VIEWS
    Assert: Unknown Node:8: MVIEWS
    Assert: Unknown Node:8: SYNONYM
    Assert: Unknown Node:8: SEQ
    Assert: Unknown Node:8: Recycle Bin
    Assert: Unknown Node:8: DB Link
    Assert: Unknown Node:8: MVIEW LOG
    Assert: Unknown Node:8: PLSQL
    Assert: Unknown Node:8: TRigger
    Assert: Unknown Node:8: INDEX
    Assert: SQLView initedException in thread "JPDA Event Processor" java.lang.IllegalAccessError: tried to access class com.sun.tools.jdi.VirtualMachineImpl from class com.sun.tools.jdi.OracleReferenceTypeImpl
    at com.sun.tools.jdi.OracleReferenceTypeImpl.<init>(OracleReferenceTypeImpl.java:60)
    at com.sun.tools.jdi.OracleReferenceTypeImpl.convert(OracleReferenceTypeImpl.java:203)
    at com.sun.jdi.OracleExtension.convert(OracleExtension.java:38)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.getOracleReferenceType(DebugJDI.java:559)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClass(DebugJDI.java:626)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClassForReferenceType(DebugJDI.java:549)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.run(DebugJDI.java:2651)
    at java.lang.Thread.run(Thread.java:613)
    Assert: Finding Context Menu for:FUNCTION_FOLDER
    Exception in thread "JPDA Event Processor" java.lang.IllegalAccessError: tried to access class com.sun.tools.jdi.VirtualMachineImpl from class com.sun.tools.jdi.OracleReferenceTypeImpl
    at com.sun.tools.jdi.OracleReferenceTypeImpl.<init>(OracleReferenceTypeImpl.java:60)
    at com.sun.tools.jdi.OracleReferenceTypeImpl.convert(OracleReferenceTypeImpl.java:203)
    at com.sun.jdi.OracleExtension.convert(OracleExtension.java:38)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.getOracleReferenceType(DebugJDI.java:559)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClass(DebugJDI.java:626)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClassForReferenceType(DebugJDI.java:549)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.run(DebugJDI.java:2651)
    at java.lang.Thread.run(Thread.java:613)
    Exception in thread "JPDA Event Processor" java.lang.IllegalAccessError: tried to access class com.sun.tools.jdi.VirtualMachineImpl from class com.sun.tools.jdi.OracleReferenceTypeImpl
    at com.sun.tools.jdi.OracleReferenceTypeImpl.<init>(OracleReferenceTypeImpl.java:60)
    at com.sun.tools.jdi.OracleReferenceTypeImpl.convert(OracleReferenceTypeImpl.java:203)
    at com.sun.jdi.OracleExtension.convert(OracleExtension.java:38)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.getOracleReferenceType(DebugJDI.java:559)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClass(DebugJDI.java:626)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClassForReferenceType(DebugJDI.java:549)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.run(DebugJDI.java:2651)
    at java.lang.Thread.run(Thread.java:613)
    Exception in thread "JPDA Event Processor" java.lang.IllegalAccessError: tried to access class com.sun.tools.jdi.VirtualMachineImpl from class com.sun.tools.jdi.OracleReferenceTypeImpl
    at com.sun.tools.jdi.OracleReferenceTypeImpl.<init>(OracleReferenceTypeImpl.java:60)
    at com.sun.tools.jdi.OracleReferenceTypeImpl.convert(OracleReferenceTypeImpl.java:203)
    at com.sun.jdi.OracleExtension.convert(OracleExtension.java:38)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.getOracleReferenceType(DebugJDI.java:559)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClass(DebugJDI.java:626)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.addClassForReferenceType(DebugJDI.java:549)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.run(DebugJDI.java:2651)
    at java.lang.Thread.run(Thread.java:613)
    In jdev/bin/raptor.conf I had to set:
    SetSkipJ2SDKCheck true
    I use:
    /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
    Ronald.

  • BUG OJVM does not work with tag files

    Hello,
    A.
    1. Create tag file
    2. Create JSP that uses tag file <x:xy />
    3. Deploy to OC4J 10.1.3.2.
    4. Start OC4J.
    4. Access JSP - OK.
    B.
    1. Create tag file
    2. Create JSP that uses tag file <x:xy />
    3. Deploy to OC4J 10.1.3.2.
    4. Start OC4J with OJVM.
    4. Access JSP - OK.
    C.
    1. Create tag file
    2. Create JSP that uses tag file <x:xy> </x:xy>
    3. Deploy to OC4J 10.1.3.2.
    4. Start OC4J with OJVM.
    4. Error - the JSP cannot be displayed. No message.

    user519938,
    Am I missing something?
    B and C look identical to me.
    A and D also look identical to me.
    By the way, can you not count above 4?
    Good Luck,
    Avi.

Maybe you are looking for

  • If conditions in a query

    Hi All If any one has used if conditions (Boolean operators) in a query designer please assist me. Following is my requirement I have a char-A which is EQ 'AB', based on this i should calculate the formula as in IF CHAR-A = 'AB'.   KEYFIGURE4 = (KEYF

  • No driver for Airport Exteme WLAN card working in Windows Vista (32bit)

    Hello, Fairly recently I had an Airport Extreme card installed into my Mac Pro. Of course everything works on the Mac side and the card appears with the following info: Wireless Card Type: AirPort Extreme (0x14E4, 0x8E) Wireless Card Locale: USA Wire

  • New Mac user here.....

    I actually have 2 questions. First I installed Growl for e-mail notifications. I later deleted the file using app zapper. I thought this deleted all files associates with the application but I still see preferences for Growl Mail in the mail app. any

  • Newbe Q: Where do I find B2B Document Editor documentation?

    Hello. A Newbe Question. I find myself in need of modifying a HL7 ADT A01 Spec file in such a way that PV1 Visit Number field is greater then the 20 characters the spec allows (which is strange since the components of that field are all larger then t

  • Good Receipt against Scheduling Agreement

    Hi, I have created Scheduling Agreement and maintained delivery Schedule. No while making Good Receipt against scheduling agreement, system give message that no item exist. I have given date in delivery schedule for e.g 27.06.2008 and I am entering g