Error Using weblogic.jspc --- java.lang.ExceptionInInitializerError

Hi,
          I am trying to use the weblogic.jspc compiler to pre-compile my jsp
          files so that I can verify that they compile w/o having to visit the
          page. I am using Weblogic 4.5.1. I am encountering the following
          error:
          java.lang.ExceptionInInitializerError
          at java.lang.Throwable.<init>(Compiled Code)
          at java.lang.Error.<init>(Compiled Code)
          at java.lang.LinkageError.<init>(Compiled Code)
          at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
          at java.beans.Beans.instantiate(Compiled Code)
          at weblogic.servlet.jsp.JspLexer.processBeanTag(Compiled Code)
          at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(Compiled Code)
          at weblogic.servlet.jsp.JspLexer.mXML_THING(Compiled Code)
          at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
          at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
          at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
          at weblogic.servlet.jsp.JspParser.doit(Compiled Code)
          at weblogic.servlet.jsp.JspParser.parse(Compiled Code)
          at weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Compiled
          Code)
          at weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Compiled Code)
          at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code)
          at weblogic.jhtmlc.runBody(Compiled Code)
          at weblogic.jspc.runBody(Compiled Code)
          at weblogic.utils.compiler.Tool.run(Compiled Code)
          at weblogic.jspc.main(Compiled Code)
          Have any of you seen this? Can you tell me what I am doing wrong
          (Classpath, etc.)?
          Any and all help would be greatly appreciated.
          The command line I am using is:
          java -verbose -classpath
          $CLASSPATH:/apps/weblogic/license:/apps/weblogic/classes:/apps/weblogic/lib/weblogicaux.jar
          weblogic.jspc -d $HOME/weblogic/myserver/classfiles/examples
          100-Welcome.jsp
          Regards,
          Richard
          

Fixed with a patch CR0737797 and CR062538 for the 6.1 sp3 source line
          Prasanna Yalam

Similar Messages

  • Problem using weblogic.jspc with wls6.1

              I've got this error using weblogic.jspc on jsp that works fine with the compiler
              of 5.1, is this a bug?
              java.lang.NullPointerException
              at weblogic.management.Admin.getServer(Admin.java:1252)
              at weblogic.servlet.internal.dd.ServletEntityResolver.initServerMBean(ServletEntityResolver.java:69)
              at weblogic.servlet.internal.dd.ServletEntityResolver.resolveEntity(ServletEntityResolver.java:94)
              at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:749)
              at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
              at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
              at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2215)
              at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(Compiled
              Code)
              at weblogic.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(Compiled
              Code)
              at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled
              Code)
              at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
              at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:175)
              at weblogic.servlet.internal.dd.DescriptorLoader.parse(DescriptorLoader.java:311)
              at weblogic.servlet.internal.dd.DescriptorLoader.initializeWebXml(DescriptorLoader.java:327)
              at weblogic.servlet.internal.dd.DescriptorLoader.initialize(DescriptorLoader.java:242)
              at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:176)
              at weblogic.servlet.internal.dd.DescriptorLoader.loadDescriptor(DescriptorLoader.java:396)
              at weblogic.jspc.runBodyInternal(Compiled Code)
              at weblogic.jspc.runBody(jspc.java:169)
              at weblogic.utils.compiler.Tool.run(Tool.java:79)
              at weblogic.jspc.main(Compiled Code)
              --------------- nested within: ------------------
              weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
              [java.lang.NullPointerException]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Error.java:50)
              at weblogic.utils.NestedError.<init>(NestedError.java:24)
              

    Please post your full description. I can't see what you're replying to (must
              be too old).
              Alex
              "Gregory Chazalon" <[email protected]> wrote in message
              news:3c7383a8$[email protected]..
              > I've got te same problem (NullPointerException at the same line code in
              the same class). The most disturbing is that the weblogic.jspc works fine
              with wl6.1 SP2 but fails with wl6.1 SP1.
              >
              > Do you have a solution ? Can I download a CRXXXX.jar that fixes it ?
              >
              > I will appreciate any help.
              >
              

  • Java.lang.ExceptionInInitializerError - while using a third party tool

    Hi All,
    I am trying to include truezip into my application. but I get the following stack trace.
    When I tried using the truezip in a standalone java class it orked but I am unable to make it work with appserver.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.ExceptionInInitializerError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.If I refresh the jsp page it shows the foloowing error
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
    root cause
    java.lang.NoClassDefFoundError
         de.schlichtherle.io.File.init(File.java:818)
         de.schlichtherle.io.File.(File.java:471)
         de.schlichtherle.io.File.(File.java:452)
         org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    --------------------------------------------------------------------------------Can anyone help me on this please
    Thanks,
    R.Ramesh.

    Hi Balusc,
    here is the full stack trace
    java.lang.ExceptionInInitializerError
         at de.schlichtherle.io.File.init(File.java:830)
         at de.schlichtherle.io.File.<init>(File.java:479)
         at de.schlichtherle.io.File.<init>(File.java:458)
         at org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission shutdownHooks)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.Runtime.addShutdownHook(Runtime.java:188)
         at de.schlichtherle.io.ArchiveControllers.<clinit>(ArchiveControllers.java:67)
         ... 41 moreafter which if I refresh my jsp page I get the foloowing stack trace as in my next post

  • Java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)

    We are in the process of migrating from Weblogic 6.1 SP2 to SP5. We have an applet
    that
    subscribes to a JMS Topic. The applet is throwing the following exception with
    SP5:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access
    denied
    (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at weblogic.kernel.Kernel.initAllowThrottleProp(Kernel.java:79)
    at weblogic.kernel.Kernel.<clinit>(Kernel.java:54)
    at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Unknown Source)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at com.fedex.efm.frontend.model.JMSMessageProcessor.<init>(JMSMessageProcessor.java:266)
    at com.fedex.efm.frontend.view.EFMAbstractApplet.startMessageProcessor(EFMAbstractApplet.java:81)
    at com.fedex.efm.frontend.view.EFMAbstractApplet.start(EFMAbstractApplet.java:187)
    at com.fedex.efm.frontend.view.EFMApplet.start(EFMApplet.java:430)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any ideas as to what I am missing?
    Thanks,
    Ram

    Prasad,
    It's one thing not to have to modify the security policy on the server,
    but on a client and applets have even bigger restrictions this might
    very well be the only way since the default applet restrictions would
    not allow a lot of permissions granted by default for normal Java
    applications.
    Dejan
    Prasad Peddada wrote:
    Deyan D. Bektchiev wrote:
    Ram,
    You are missing a permission grant in your policy file and the
    SecurityManager doesn't allow the code to read that property.
    You have either configured a different security manager or have the
    wrong file in use.
    For applets this file might be in the user's home directory and named
    .java.policy
    you need to have the following line somethere in it:
    grant {
    permission java.util.PropertyPermission "*", "read,write";
    Which will allow any applet to read and write any JVM property.
    Look at Java permissions is you need more info:
    http://java.sun.com/j2se/1.3/docs/guide/security/permissions.html
    --dejan
    Ram Gopal wrote:
    We are in the process of migrating from Weblogic 6.1 SP2 to SP5. We
    have an applet
    that
    subscribes to a JMS Topic. The applet is throwing the following
    exception with
    SP5:
    java.lang.ExceptionInInitializerError:
    java.security.AccessControlException: access
    denied
    (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling
    read) at java.security.AccessControlContext.checkPermission(Unknown
    Source) at java.security.AccessController.checkPermission(Unknown
    Source) at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at
    java.lang.System.getProperty(Unknown Source) at
    weblogic.kernel.Kernel.initAllowThrottleProp(Kernel.java:79) at
    weblogic.kernel.Kernel.<clinit>(Kernel.java:54) at
    weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
    at java.lang.Class.newInstance0(Native Method) at
    java.lang.Class.newInstance(Unknown Source) at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at
    javax.naming.InitialContext.init(Unknown Source) at
    javax.naming.InitialContext.<init>(Unknown Source) at
    com.fedex.efm.frontend.model.JMSMessageProcessor.<init>(JMSMessageProcessor.java:266)
    at
    com.fedex.efm.frontend.view.EFMAbstractApplet.startMessageProcessor(EFMAbstractApplet.java:81)
    at
    com.fedex.efm.frontend.view.EFMAbstractApplet.start(EFMAbstractApplet.java:187)
    at com.fedex.efm.frontend.view.EFMApplet.start(EFMApplet.java:430)
    at sun.applet.AppletPanel.run(Unknown Source) at
    java.lang.Thread.run(Unknown Source)
    Any ideas as to what I am missing?
    Thanks,
    Ram
    This is a WLS bug. You shouldn't have to modify security policy.
    Please approach support for a fix.
    Cheers,
    -- Prasad

  • Idlj error - java.lang.ExceptionInInitializerError:

    I got the following error while using idlj with an IDL file as argument (no option). Anyone has any idea?
    Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.NullPointerException
    at com.sun.tools.corba.se.idl.Util.getDefaultMessage(Util.java:231)
    at com.sun.tools.corba.se.idl.Util.getMessage(Util.java:191)
    at com.sun.tools.corba.se.idl.Token.<clinit>(Token.java:267)
    at com.sun.tools.corba.se.idl.Parser.parse(Parser.java:123)
    at com.sun.tools.corba.se.idl.Compile.parse(Compile.java:258)
    at com.sun.tools.corba.se.idl.toJavaPortable.Compile.start(Compile.java:152)
    at com.sun.tools.corba.se.idl.toJavaPortable.Compile.main(Compile.java:133)

    I've encountered the same problem when the target directory does not prexist. Do you have enclosing modules in your IDL? You may try pre-creating these directories.

  • Problem using JFreechart. What is java.lang.ExceptionInInitializerError?

    Hi
    I am using the JFreechart APIs to make a graph.I have been able to create a CategoryDataSet. But when i try to create a chart using the createBarChart function, I get the following errors:
    Exception in thread "main" java.lang.ExceptionInInitializerError
            at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:823)
            at StackedBarChartTest.createChart(StackedBarChartTest.java:96)
            at StackedBarChartTest.<init>(StackedBarChartTest.java:35)
            at StackedBarChartTest.main(StackedBarChartTest.java:161)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name org.jfree.chart.plot.LocalizationBundle, locale en_US
            at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1508)
            at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1262)
            at java.util.ResourceBundle.getBundle(ResourceBundle.java:717)
            at org.jfree.chart.plot.CategoryPlot.<clinit>(CategoryPlot.java:278)
            ... 4 moreThis is how I am trying to create the chart
    JFreeChart chart = ChartFactory.createBarChart("Bar Chart Demo", "Category", "Value", dataset, PlotOrientation.VERTICAL, true, true, false                   );

    What is java.lang.ExceptionInInitializerError?{color:0000ff}http://java.sun.com/javase/6/docs/api/java/lang/ExceptionInInitializerError.html{color}
    db

  • Error loading servlet: 'EbuController' java.lang.NoClassDefFoundError after redeploy EAR in weblogic 6.1

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

  • Java.lang.ExceptionInInitializerError while deploying

    Hi,
    I have an ear file.I ran java weblogic.appc -verbose edm_app-ear.ear on it.It ran successfully.But when I deploy this ear file in weblogic 8.1,I get the following exception:
    java.lang.ExceptionInInitializerError.
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:822)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
    pServletContext.java:3154)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
    :654)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java
    :483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
    e.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    Can anybody help me in solving this problem??
    Thanks in advance..
    -Sameer Gijare

    Hi,
    I got a error messege: java.lang.OutOfMemoryError. I try to increase the memory for my application by using the following command:
    java -Xms512m -Xmx512m d:\Users\All_Users\Maxd\MaxdLoad\maxdLoad_1_8_0.jar
    It apparantely does not work. Could you tell me the right format for this. BTW, I don't know java.
    Thanks.
    Jack

  • Urgent Help:java.lang.ExceptionInInitializerError in JasperReports

    the following is the java code:
    Map params = new HashMap();
    params.put("order_type", "This is Test Print");
    JRXmlDataSource ds = new JRXmlDataSource(outXML, "/Order");
    InputStream is =Class.forName(                    "com.w3c.dom.Document").getResourceAsStream
    "/TestPrint.jasper");
    net.sf.jasperreports.engine.JasperPrint jp =
                   JasperFillManager.fillReport(is, params, ds);
    JasperExportManager.exportReportToPdf(jp);
    i reckon iam getting this error in the above highlighted code...
    i have all the necessary jars in weblogic's classpath!!
    just a thought...is this because of any mismatch in the jar version?
    on refreshing the page the cause becomes java.lang.NoClassDefFoundError
    ANY POINTERS TO WHY THIS IS HAPPENING???
    java.lang.ExceptionInInitializerError
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
    at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
    at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
    at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
    at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
    at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
    at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
    at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
    at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
    at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
    at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
    at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
    at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
    at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
    ... 38 more
    java.lang.ExceptionInInitializerError
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
    at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
    at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
    at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
    at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
    at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
    at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
    at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
    at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
    at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
    at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
    at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
    at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
    at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
    ... 38 more

    Patrick-
    My best guess is that you did not include some required library in the
    runtime "required libraries" for your project. My first guess is that
    you missed the JDO library jar, since missing that would certainly
    result in an ExceptionInInitializerError when loading your persistent
    classes.
    You might also run the program in the debugger and see if you get a more
    telling stack trace.
    In article <bkuuef$9di$[email protected]>, Patrick Pracht wrote:
    Hello all,
    I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
    Tomcat4.1.
    Everything worked as expected until I have been running the Metadata tool
    and Schematool from within JBuilder for a new class.
    After doing this , when I attempt to run the webapp from within JBuilder,
    the build process stops with the following message displayed in the
    build-panel of JBuilder: java.lang.ExceptionInInitializerError
    Since I have no further indication of what causes the problem (Filename,
    location, Stacktrace, etc.) I really don't know how to proceed. The only
    thing that I can see by looking at the kodo msg panel is, that Kodo did not
    parse all the persistent classes.
    Can anybody tell me how this problem could be tracked down?
    Is there any log-file I could have a look at?
    Thanks in advance for your help.
    regards
    Patrick
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Java.lang.ExceptionInInitializerError

    I am trying to create a link to another system from an existing application developed on Oracle9i JDeveloper 9.0.2.822 using java version 1.3.1_02.
    This uses an API provided by the Vendor of the target system (webMethods 6.1) which uses the entrust libraries.
    I have successfully created a client class which successfully connects to the target system and returns data when run as a standalone class.
    C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\classes;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\client.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entbase.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcertlist.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcms.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entjsse.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entmisc.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entnsext.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp10.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp11.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp12.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp5.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp7.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entroaming.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entserverlogin.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmime.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmimev3.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entssl.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\enttunnel.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entuser.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entxml.jar;C:\oracle9iDev\ora92\jdev\lib\jdev-rt.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmt.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jdomorcl.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jdatum.jar;C:\oracle9iDev\ora92\jdbc\lib\classes12.jar;C:\oracle9iDev\ora92\jdbc\lib\nls_charset12.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsp.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsputil.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\jdev\lib\ojc.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\lib\xmlcomp.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jtester.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\help4-nls.jar;C:\oracle9iDev\ora92\jlib\help4.jar;C:\oracle9iDev\ora92\jlib\share.jar;C:\oracle9iDev\ora92\jlib\jewt4-nls.jar;C:\oracle9iDev\ora92\jlib\jewt4.jar;C:\oracle9iDev\ora92\jlib\oracle_ice5.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmtejb.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jctejb.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jcert.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jnet.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jta.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\j2ee\home\jaxp.jar;C:\oracle9iDev\ora92\j2ee\home\jdbc.jar;C:\oracle9iDev\ora92\j2ee\home\jaas.jar;C:\oracle9iDev\ora92\j2ee\home\jsse.jar;C:\oracle9iDev\ora92\soap\lib\soap.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\javax-ssl-1_2.jar;C:\oracle9iDev\ora92\jlib\jssl-1_2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.webMethods.GetAltoDetails
    Context context = null; context = new Context(); Instance of Context created No of details = 2
    Details[0] CountyText = Merseyside
    Details[1] CountyText = Merseyside Process exited with exit code 0.
    However, when invoke the class from withing the J2EE applicationI get the following error message when it tries to create an instance of the class 'Context':
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\oracle9iDev\ora92\j2ee\home\oc4j.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.evermind.server.OC4JServer -config C:\oracle9iDev\ora92\jdev\system\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Target URL -- http://10.45.4.28:8988/msd/Login/Login.jsp
    Context context = null;
    context = new Context();
    Caught ExceptionInInitializerError
    null
    java.lang.ExceptionInInitializerError: java.lang.SecurityException: Self-Integrity Check FAILED: java.lang.SecurityException: java.security.PrivilegedActionException <<java.util.zip.ZipException: error in opening zip file>>      at com.entrust.toolkit.security.provider.JCEVerifierImpl.checkIntegrity(Unknown Source)      at com.entrust.toolkit.security.provider.Entrust.<init>(Unknown Source)      at com.wm.app.b2b.client.BaseContext.<clinit>(BaseContext.java:109)
         at MSD.OrderProcessingCTL.getAltoDetailsFromWebservice(OrderProcessingCTL.java:1795)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.framework.BaseRouterServlet.invokeControllerMethod(BaseRouterServlet.java:283)
         at com.framework.BaseRouterServlet.doPost(BaseRouterServlet.java:127)
         at com.framework.BaseRouterServlet.doGet(BaseRouterServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Any ideas why this happening?

    I've managed to fix this myself now.
    It turned out to be a classpath issue. The J2EE application cannot find 'com.wm.app.b2b.client.Context' when it tries to create an istance of it.
    I resolved it by putting the client.jar and entrust folder in the the $JAVA_HOME\jre\lib\ext folder instead of ..\WEB-INF\lib.
    The following document is very revealing:
    http://www.oracle.com/technology/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf

  • Soa suite 12c fault policy invokeWS action enqueue action resolveAndrecover: error in fault resolution:java.lang.NullPointerException

    Hi,
    I'm trying to use the new fault actions in Oracle SOA Suite 12c (12.1.3.0) invokeWS and enqueue.
    I've done the following:
    fault-policies.xml
    <faultName name="custom:MyFault" xmlns:custom="http://xmlns.oracle.com/Application1/Dummy/WebServiceB"
               path="SOA\WSDLs\dummybpelprocess_client_ep.wsdl">
        <condition>
            <action ref="default-enqueue"/>
        </condition>
    </faultName>
    <Action id="default-ws">
        <invokeWS uri="http://host:7003/soa-infra/services/default/WebServiceHandler/webservicehandlerbpel_client_ep?WSDL|webservicehandlerbpel_client_ep|WebServiceHandlerBPEL_pt"/>
        <!-- format - <Absolute wsdl path>|service name|port name -->
    </Action>
    <Action id="default-enqueue">
        <!-- enqueue uri="eis/aq/aqjmsuserDataSource"/ -->
        <enqueue uri="jdbc:oracle:thin:@host:1521:orcl#user/userpassword#USERQUEUE" />
        <!-- QueueURI format  - jdbc:oracle:thin:@<host>:<port>:<sid>#<un>/<pw>#queue -->
    </Action>
    Webservice Handler (which is the webservice to be invoked by the faultpolicy) is constructed 1-way pattern, 1 operation, 1 port and using the following schema:
    <?xml version="1.0"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
            targetNamespace="http://xmlns.oracle.com/pcbpel/errorHandling"
            xmlns:tns="http://xmlns.oracle.com/pcbpel/errorHandling"
            elementFormDefault="qualified">
      <element name="RejectedMessage" type="tns:RejectedMessageType"/>
        <complexType name="RejectedMessageType">
            <sequence>
           <!-- base64 encoded strings" -->
              <element name="MessageHeader" type="string"/>
              <element name="MessagePayload" type="string"/>
              <element name="RejectionReason" type="string"/>
            </sequence>
          <attribute name="RejectionId" type="string"/>
        </complexType>
    </schema>
    The scenario is the following:
    Webservice A invokes WebService B
    Webservice B has defined a BusinessFault
    Webservice A has defined faultbindings using the faulpolicies from the previous snippet, for the reference of WebserviceB
    The BusinessFault is thrown by WebServiceB
    The fault policy is not able to neither enque or call the webservce to handle the businessexception
    A NullPointerException is shown in the logs
    The error is also present if enqueue os invokeWS are used in retryFailureAction of a retry action
    The error is only present for enqueue or invokeWS actions (I didn't try fileAction)
    Traditional actions (such as retry, humanintervention, temrinate) are working properly for businessfaults
    The error in logs is the following:
    Message
    resolveAndrecover: error in fault resolution:java.lang.NullPointerException
    Supplemental Detail
    at com.collaxa.cube.engine.fp.BPELRecoverFault.recoverFault(BPELRecoverFault.java:102)
    at oracle.fabric.CubeServiceEngine.recoverFault(CubeServiceEngine.java:2195)
    at oracle.integration.platform.faultpolicy.RecoverFault.recoverAndChain(RecoverFault.java:497)
    at oracle.integration.platform.faultpolicy.RecoverFault.resolveAndRecover(RecoverFault.java:337)
    at oracle.integration.platform.faultpolicy.FaultRecoveryManagerImpl.resolveAndRecover(FaultRecoveryManagerImpl.java:372)
      at oracle.soa.tracking.fabric.service.se.ServiceEngineFaultRecoveryServiceImpl.recoverFault(ServiceEngineFaultRecoveryServiceImpl.java:116)
      at oracle.soa.tracking.fabric.service.se.CubeServiceEngineAuditServiceImpl.recoverFault(CubeServiceEngineAuditServiceImpl.java:502)
    at com.collaxa.cube.engine.ext.common.FaultPolicyHandler.resolveAndRecover(FaultPolicyHandler.java:115)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handleException(InvokeHandler.java:715)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.__callback(InvokeHandler.java:784)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:657)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:143)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.expire(InvokeHandler.java:1371)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:62)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3358)
    at com.collaxa.cube.engine.CubeEngine._expireActivity(CubeEngine.java:1621)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:1557)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:1478)
    at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:115)
    at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:72)
    at com.collaxa.cube.ejb.impl.bpel.BPELActivityManagerBean_8dvvts_ICubeActivityManagerLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
      at com.collaxa.cube.ejb.impl.bpel.BPELActivityManagerBean_8dvvts_ICubeActivityManagerLocalBeanImpl.expireActivity(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:58)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:153)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:132)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90)
    at com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:239)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    I already made sure I had all the artifacts for the AQ queue:
    -database
    -table
    -queue
    -permissions
    Do you have the same problem?
    Are you able to use this new actions?
    Please advise
    Thanks in advance.
    P.S: Related documentation: http://docs.oracle.com/middleware/1213/soasuite/develop-soa/bpel-fault-handling.htm#CHDCIBDF

    Creating a SR to Oracle....

  • Java.lang.ExceptionInInitializerError Issue

    Previous problem fixed: Thank you. How about this attached problem:
    Note: I am able to "refresh" database schema fine, using the same
    properties file. So I know there are no connectivity or config issues.
    Thanks!
    java.lang.ExceptionInInitializerError: javax.jdo.JDOFatalUserException:
    Exception thro\
    wn by getPersistenceManagerFactory(Properties)
    NestedThrowables:
    java.lang.reflect.InvocationTargetException
    at
    javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:274)
    at
    javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:218)
    at bilgidata.JDOFactory.<clinit>(Unknown Source)
    at
    org.apache.jsp.comments_0005flist$jsp._jspService(comments_0005flist$jsp.ja\
    va:135)
    at
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.j\
    ava:202)
    at
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(
    java.lang.reflect.InvocationTargetException:
    java.lang.NoClassDefFoundError: javax/xml\
    /transform/TransformerConfigurationException
    at
    com.solarmetric.modules.tools.compiler.MetaDataParser.parseMetaData(Unknown\
    Source)
    at
    com.solarmetric.kodo.meta.JDOMetaDataParser.parseMetaData(Unknown Source)
    at
    com.solarmetric.modules.tools.compiler.MetaDataParser.parseMetaData(Unknown\
    Source)
    at
    com.solarmetric.modules.tools.compiler.MetaDataParser.parseMetaData(Unknown\
    Source)
    at com.solarmetric.kodo.meta.ClassMetaData.newInstance(Unknown
    Source)
    at com.solarmetric.kodo.meta.ClassMetaData.getInstance(Unknown
    Source)
    at
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.addPersistentT\
    ype(Unknown Source)
    at
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.loadPersistent\
    Types(Unknown Source)
    at
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.setup(Unknown
    Source)

    Fred Lucas wrote:
    Looks like you don't have jaxp.jar in your classpath. Make sure that all
    the jars we ship with are available in your runtime environment.
    -Fred
    Fred Lucas
    SolarMetric Inc.
    202-595-2064 x1122
    http://www.solarmetric.com
    Fred, thanks for your quick response.
    I have double checked:
    javax/xml/transform/TransformerFactoryConfiguratinException.class is in my
    classpath. All javax classes are available under my WEB-INF/classes (had
    to unjar them bcz I was getting package sealed errors otherwise).
    Any ideas?
    Thanks!

  • Java.lang.ExceptionInInitializerError ~~~~ AXIS

    Hi I am trying to call my webservice from a web application my code is below:
    public void useService(){
    try{
    HelloService serv = new HelloServiceLocator(); // error thrown here
    Hello test = serv.getHello();
    String msg = test.greet("Hi");
    System.out.println("Reply FROM WEBSERVICE: " + msg);
    catch(Exception e){
    System.out.println("error");
    e.printStackTrace();
    But when this panel loads I get the following error:
    java.lang.ExceptionInInitializerError
    at org.apache.axis.client.Service.<init>Service.java(109)
    When I run it from netbeans it works fine but on the web appilcation I get the above error. I have cached all the required jars etc, pls if sum 1 could help...

    FIXED! You need to put a file called
    commons-logging.properties in your WEB-INF\classes
    directory *. That file should have one line:
    org.apache.commons.logging.LogFactory=org.apache
    .commons.logging.impl.LogFactoryImplThat fixed my problem, and it may fix yours. Good
    luck!
    * Or somewhere where it will be copied to
    WEB-INF\classes. For example, I'm using the IBM
    Rational Software Development Platform, and what
    works for me is to put commons-logging.properties in
    my JavaSource folder so that it gets copied to
    WEB-INF\classes on build.REALLY, I'M DESPERATED!!!!
    PLEASE! HELP! I'm desperated to create a portlet that accesses to .NET web service!! On Portal server 5.0!!! THE SAME AS YOU!!
    PLEASE HELP ME!!! How do you make it? Proxy classes generated with WSAD 5.1.2 doesn't works correctly! If I try to use JNDI I've got this error!!
    javax.naming.NameNotFoundException: Name comp/env/service not found in context "java:".
    when proxy class executes this code:
    simpleWebServiceSoap = ((org.tempuri.SimpleWebService)ctx.lookup("java:comp/env/service/SimpleWebService")).getSimpleWebServiceSoap();
    BUT IF I TRY TO USE without JNDI, using LOCATOR CLASS, I get the same error that you! How you solve this!! Where Can I obtain this file!!!
    commons-logging.properties.
    And What I have to do? To solve My problem!!
    REALLY, I'M DESPERATED!!!!
    And . Why you don't try to use JNDI?

  • Search Indexing Program failed. java.lang.ExceptionInInitializerError

    I have BusinessObjects Edge SP3 installation. Got error with Search Indexing Program. The error says: "The program failed to run and supplied the following information: java.lang.ExceptionInInitializerError".
    Some points I would like to get clearified in the scheduling event:
    1. What is the user name and password for the program logon.
    2. What should we have in the Working Directory and Classpath under Program Parameters
    I suspect that error happens when these fields are empty.

    James,
    While the upgrade of JDeveloper to 10.1.3.4 will take some time, let me clarify the situation.
    We have SOA suite and Oracle application server installed on a server machine and two client machines (one of which I am using) have Jdev installed on them. When I deploy the BPEL from Jdev running on my colleague's machine it works fine but fails when I try the same from Jdev running on my machine.
    The versions of Jdev are exactly the same on the two machines. And versions of SOA suite, Oracle application server etc are naturally same as it is being deployed on same server. Appreciate your valuable guidance.
    Thanks and Regards,
    Dhiraj.

  • Java.lang.ExceptionInInitializerError,Could not instantiate TransactionMana

    hi all,
    <b>i am using SAP Netweaver Developer studio. have problem using hibernate in a EJB Modul Project. i have create a stateless session bean to writie the bussiness logic using my hibernate mapping classes, but somehow i get the error:</b>
    Details: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method createPerson.
         at src.ejb.HibernateLocalLocalObjectImpl0.createPerson(HibernateLocalLocalObjectImpl0.java:407)
         at com.servlet.TestServlet.doPost(TestServlet.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.lang.ExceptionInInitializerError
         at src.hibernate.HibernateSessionFactory.<clinit>(HibernateSessionFactory.java:29)
         at src.ejb.HibernateBean.createPerson(HibernateBean.java:158)
         at src.ejb.HibernateLocalLocalObjectImpl0.createPerson(HibernateLocalLocalObjectImpl0.java:391)
         ... 17 more
    Caused by: org.hibernate.HibernateException: Could not instantiate TransactionManagerLookup
         at org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:47)
         at org.hibernate.transaction.JTATransactionFactory.configure(JTATransactionFactory.java:48)
         at org.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(TransactionFactoryFactory.java:51)
         at org.hibernate.cfg.SettingsFactory.createTransactionFactory(SettingsFactory.java:401)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:129)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216)
         at src.hibernate.HibernateSessionFactory.<clinit>(HibernateSessionFactory.java:24)
         ... 19 more
    <b>is there  anybody can tell me why i am getting this error? i was sitting in front of the computer for days now, but could find out where i am doing wrong.
    i have tested my hibernate classes without session beans(in a normal java Project, every thing works fine. and i tried to do exactly what they have done in the HibernateExampleEHCache examples, to combine my hibernate with session beans together, but couldn't get the programm running.  </b>

    Are you sure this is the right value for the class name?
    org.hibernate.transaction.SAPWebASTransactionManagerLookup
    <b>No, i am not sure. i just copied it from a example. but i think i will not need it. so i have deleted them now.</b>
    Looks as well like you have implemented a primary index scheme (next value) that is not supported by your DB ?
    See error on DUAL
    <b>I just used sequence for the primary key in my Person.hbm.xml.  even i change it to native, it comes back with the same error too.</b>
    <b>Person.hbm.xml:</b>
    <class name="src.hibernate.Person" table="TMP_PERSON">
    <id name="id" column="PERSONID">
    <generator class="native"/>
    <b>java class:</b>
    public class Person {
         private Long id;
                    getter and setter
    <b>my method in a stateless session bean:</b>
    public Long createPerson(
              String surname,
              String firstname,
              String tel,
              String email) {
              Session session = null;
              Transaction tx = null;
              try {
                   session = HibernateSessionFactory.openSession();
                   tx = session.beginTransaction();
                   Person aPerson = new Person();
                   aPerson.setSurname(surname);
                   aPerson.setFirstname(firstname);
                   aPerson.setTelNr(tel);
                   aPerson.setEmail(email);
                   Long personId = (Long)session.save(aPerson);
                   tx.commit();
                   return personId;
              } catch (HibernateException e) {
                   if (tx != null)
                        tx.rollback();
                   throw new HibernateException(e);
              } finally {
                   HibernateSessionFactory.closeSession(session);

Maybe you are looking for

  • Error in Interface Mapping

    Interface Mapping javax.xml.transform.TransformerException: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:7) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:251) at com.s

  • Sales document is deleted still billing plans are in billing due list

    Hello, Sales document is deleted which have billing plans, But still billing plans are showing in billing due list for billing. Please let me know how to delete the entries in billing due list. Thanks and Regards Vikram.M

  • Adding a new partner function in va01 has to differ in item wise

    Hi all here by adding a new partner function by item level in va01 i hav a z partner table , that has some values , each values differ from item level for eg : item 1 (posnr) 10 , has a new partner called buyers1 posnr 20 has buyers 2 what i am facin

  • Image / flash shifts in html using cs4 in firefox.

    Take a look at http://averillassociates.com/thankyou.html in firefox. I did this using CS4. The other pages were done in CS2 or 3. It did not make the FLASH "Thankyou" Shift. What do i need to do to fix this problem. http://averillassociates.com/abou

  • Does a Signature Field Have a Signature?

    I have a form with 2 signature fields.  I want to make sure that the first Signature Field has a signature in it before the second can be entered.  I think I would use a script in the Pre-Sign event, but I don't know what property to check, or what e