StackOverFlow error from JVM

When I tried to read from a sorted text file and insert words of the file into a BinarySearchTreeMap, I get a StackOverFlow error from java virtual machine in Windows. The sorted text file is 144kb. Apparently, all my classmates have this problem even though their code are correct. The program works fine for smaller text file, however I need to test with a large text file, so I can compare the run time complexities of different algorithms. Anybody knows a way to fix this?

You can set the stack size using the -Xss parameter.
Type
java -X
for a list of extended parameters.
Try
java -Xss64k <rest of your parameters >
java -Xss128k <rest of your parameters >
java -Xss172k <rest of your parameters >
etc, until it works.
regards,
Owen

Similar Messages

  • StackOverFlow error while using TaskFlow

    Hi,
    Iam pretty new to adf jdev...
    1. I have created the fusionWeb apllication
    2. i have created two jspx pages in viewcontroller project
    page1: GoTo_Test.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view locale="#{applCorePrefs.locale}">
    <af:document id="d1">
    <af:form id="f1">
    <af:commandButton text="Enter Your Name" id="cb1" action="go"
    partialSubmit="true" blocking="true"
    useWindow="true"
    windowHeight="#{requestContext.agent.agentName == 'ie' ? 500 : 300}"
    windowWidth="#{requestContext.agent.agentName == 'ie' ? 550 : 550}"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    page2: Test.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view locale="#{applCorePrefs.locale}">
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="Name" id="it1"/>
    <af:commandButton text="Submit" id="cb1" action="close"
    partialSubmit="true" blocking="true"
    immediate="true"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    3. i have created two task Flows
    Taskflow1: OuterTF.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="OuterTF">
    <default-activity id="__37">Goto_Test</default-activity>
    <view id="Goto_Test">
    <page>/Goto_Test.jspx</page>
    </view>
    <task-flow-call id="Test_chrome">
    <task-flow-reference>
    <document>/WEB-INF/Test_chrome.xml</document>
    <id>Test_chrome</id>
    </task-flow-reference>
    </task-flow-call>
    <control-flow-rule id="__31">
    <from-activity-id id="__32">Goto_Test</from-activity-id>
    <control-flow-case id="__34">
    <from-action id="__36">go</from-action>
    <from-outcome id="__35">go</from-outcome>
    <to-activity-id id="__33">Test_chrome</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </task-flow-definition>
    </adfc-config>
    TaskFlow2: Test_chrome.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="Test_chrome">
    <default-activity id="__1">Test</default-activity>
    <view id="Test">
    <page>/Test.jspx</page>
    </view>
    <task-flow-return id="close">
    <display-name id="__19">close</display-name>
    <outcome id="__18">
    <name>close</name>
    </outcome>
    </task-flow-return>
    <control-flow-rule id="__20">
    <from-activity-id id="__21">Test</from-activity-id>
    <control-flow-case id="__23">
    <from-action id="__25">close</from-action>
    <from-outcome id="__24">close</from-outcome>
    <to-activity-id id="__22">close</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </task-flow-definition>
    </adfc-config>
    when i run the GoTo_Test.jspx, then getting page with button, but "StackOverFlow error" is getting when the button is clicked
    Please help me out
    Edited by: user13177987 on Nov 19, 2010 3:37 AM

    user13177987 wrote:
    page1: GoTo_Test.jspx
    <f:view locale="#{applCorePrefs.locale}">
    page2: Test.jspx
    <f:view locale="#{applCorePrefs.locale}">The problem is the locale attribute value for the f:view. It runs fine once removed. Don't know what is the applCorePrefs bean and how it was added to the pages...

  • StackOverFlow error in ALSB

    We have one proxy service which picks emails from a mailbox.Then its publishes the message to a jms queue.We have another proxy service which picks the message from the JMS queue and using a java callout we parse the plain text message to XML.It was working fine until we deploy it in PROD.But when we deploy the jar in prod,it was working for fine for two days.After two days,we were getting the following error message
    ####<Feb 8, 2010 3:57:00 PM CST> <Error> <ALSB Kernel> <AUSPC1SOAESB005> <Server6> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-2F5F1C38748CD40072AA> <> <1265666220900> <BEA-382016> <Failed to instantiate router for service ProxyService ISPCase/ProxyServices/Case/ProxyAEHCaseCreation: java.lang.StackOverflowError
    java.lang.StackOverflowError
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:164)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
    >
    If we restart all the manged servers in PROD,it works only for two or three days and after that we get the same StackOverFlow.We thought that the Java callout might be the culprit and we replaced the java callout with an xquery.But after deploying prod,we get the same StackOverFlow.But we are not able to reproduce the same issue in non prod.How can we avoid the StackOverFlow error?Is it because of the Javacallout or Xquery?Please suggest.

    We have one proxy service which picks emails from a mailbox.Then its publishes the message to a jms queue.We have another proxy service which picks the message from the JMS queue and using a java callout we parse the plain text message to XML.It was working fine until we deploy it in PROD.But when we deploy the jar in prod,it was working for fine for two days.After two days,we were getting the following error message
    ####<Feb 8, 2010 3:57:00 PM CST> <Error> <ALSB Kernel> <AUSPC1SOAESB005> <Server6> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-2F5F1C38748CD40072AA> <> <1265666220900> <BEA-382016> <Failed to instantiate router for service ProxyService ISPCase/ProxyServices/Case/ProxyAEHCaseCreation: java.lang.StackOverflowError
    java.lang.StackOverflowError
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:164)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
    >
    If we restart all the manged servers in PROD,it works only for two or three days and after that we get the same StackOverFlow.We thought that the Java callout might be the culprit and we replaced the java callout with an xquery.But after deploying prod,we get the same StackOverFlow.But we are not able to reproduce the same issue in non prod.How can we avoid the StackOverFlow error?Is it because of the Javacallout or Xquery?Please suggest.

  • How to trap (interrupt) signal from JVM

    How to capture (interrupt) signal from JVM in case of JVM termination due to Error/RuntimeException in shell script (Unix/Linux OS). Is it possible?
    I am executing an java class from shell script. In cetain condition it throws RuntinmeException.
    I want to capture the signal from terminating JVM in case of the RuntimeException.
    How to acheive this ? Can any one solve this problem ?

    Hi
    Using the POSIX signal java program , We can trap the JVM signals.
    Addition info
    Use sun.misc.SignalHandler - interface
    and MEthod sun.misc.Signal.handle( new sun.misc.Signal(signalName), this );

  • Error from reports from ZAM(Graph or PDF) - File does not begin with '%PDF-'.

    I just noticed today that any Graph or PDF report I try to view I get the
    following error - Error from reports from ZAM - File does not begin with
    '%PDF-'. I tried to just save the file and then open it, but get the same
    error. I can open other pdf files I have downloaded from other sites ok.
    Anyone have any idea? I haven't done anything to that server that I am
    aware of in quite a while.
    Thanks
    Bill

    I took a closer look at the files it downloaded, opened them with notepad,
    haer is what it says:
    XSL Transform or subsequent processing failedThe document has no pages.
    "Bill" <[email protected]> wrote in message
    news:2bBtk.2164$[email protected]..
    >I just noticed today that any Graph or PDF report I try to view I get the
    >following error - Error from reports from ZAM - File does not begin with
    >'%PDF-'. I tried to just save the file and then open it, but get the same
    >error. I can open other pdf files I have downloaded from other sites ok.
    >Anyone have any idea? I haven't done anything to that server that I am
    >aware of in quite a while.
    >
    > Thanks
    >
    > Bill
    >

  • As soon as I login with iChat, I get an error from MobileMe!

    Hey, I've had this issue for a while, and my work around for it was just not using iChat. However, I want to use iChat now so I need a proper resolution. Now I have mobile me with my [email protected] address, and I have my iChat account with [email protected] (created before my MM subscription).
    When I log into iChat for the first time, within minutes I get an error from MobileMe saying "You've entered an incorrect password for MobileMe, please try again"... I didn't do anything though.
    If I go to MobileMe in System Preferences, it says: "Your password has changed. Enter your new password.
    If you have not changed (or reset) your password contact MobileMe support."
    If I enter my password in and get that fixed, the next time I start up iChat it says: "Your login ID or password is incorrect"... soo I'm confused.
    The password for my @me and @mac addresses are different, is it possible they are sharing the same keychain? I do have the check box ticked to remember the password.
    Any idea's?

    Hi,
    I would not repair at this time.
    In the list of password you should find the one for iChat Or possibly several for iChat if you have different Account/Screen Names list by their Account names.
    Double click on the one that is causing you issue.
    In the new window that pops up put a tick in the Password Box. You will probably have to confirm with your Admin Password to Allow Once.
    Does this show the right password ?
    If not change the Password.
    If it does then click the Access Tab and see if iChat is Allowed (Or Allow All is being used)
    Either change to Allow All or add iChat to the List.
    7:45 PM Saturday; April 3, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • How to get actual error from Crystal Report

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
    Xception E NSF NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    Xception E NSF NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
    at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
    at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
    at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
    at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    Same as
    crystal report unexpected error in Web service (IIS)
    Closing this thread.
    Ludek

  • The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

    got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Raj

    Hi
     first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS.

  • Smartform Printing : Error in spool C call: Error from TemSe

    Hi! everybody,
    I am stating my problem as follows : I have to print a bar-code sticker of size 10 X 7 cms. I have worked on bar-codes before this also. This time the output from a smartform is to be given to a ZEBRA TLP 2844 printer. I initially encountered problems in printing. The data does not fit on to the page.
    After a lot of searching I found that ZEBRA was a partner of SAP and that a special device type needs to be created for output from a ZEBRA printer. I did this two times. Each time my steps were as described under.
    To create the device type I did the following :
    1. I finally found the driver from the ZEBRA website from http://www.zebra.com/id/products/global/en/utilities/sap_device_types.UtilityFile.File.tmp/Zebra_SAP_Device_Types.zip From this I uploaded the driver for 203 DPI zebra printer with IBM code 850 font file name "YZB200.PRI" into the transaction SA38.
    2. Then I created a new device ZEB10 in SPAD after assigning my format to the device.
    Thereafter, I tried to print my sticker. During this procedure, on selection of the new device type, the fonts automatically changed to ARIAL in the print preview. When I give the print command (Spool request : Print immed = X, Delete after output = X & New spool request = X) it gives an error message Error in spool C call: Error from TemSe.
    Since the output had not been issued, I opened the spool request to view its TemSe characteristics. Here I found
    Spool Attributes
    Output Device    ZEB10
    Format           ZTT               Format
    Doc. Category    SMART
    Recipient
    Department
    Deleted On       19.01.2011
    Authorization
    Output Attributes
    No. of Copies   1
    Priority              5
    SAP Cover Page Do not print SAP cover page
    OS Cover Sheet  Print as set at printer
    Requested           0
    Processed           0   With Problem                             0
                            With Error (Not Printed)                 0
    Storage Mode Print
    TemSe Attributes
    Object name           SPOOL0000013836
    Data type             ????????????
    Character set         0 -
    > Character set of dev type = 1162
    Number of parts       0
    Record format
    Size in bytes         0
    Storage location
    On seeing SP01
          Spool no.              Type                 Date        Time   Status   Pages               Title
           13836      Smartforms(OTF) 11.01.2011  07:32       +          0      SMART LP01 USERID
    I hope this data helps you help me. Please ask for more data if you wish. Also, I have searched vastly for this error on the net  have already come across the link http://help.sap.com/saphelp_45b/helpdata/en/d9/4a8f9c51ea11d189570000e829fbbd/frameset.htm but to no use. On the SDN, I have not found a similar thread and that is why I decided to post this problem here, hoping to find a solution. Kindly help.
    Regards,
    Manas

    Hi Manas,
    I am facing the same issue for one of my clients.
    Can you please share the solution with me if you have come out with it.
    Regards,
    Nirmal.K

  • How to remove error from propagation and verify replication is ok?

    Have a one-way schema level streams setup and the target DB is 3-node RAC (named PDAMLPR1). I run a large insert at source DB (35million rows). After committing on source, I made a failure test on the target DB by shutting down the entire database. The streams seems stopped as the heartbeat table sequence (it inserts a row each min) on target is still reflecting last night. We get the error in the dba_propagation:
    ORA-02068: following severe error from PDAMLPR1
    ORA-01033: ORACLE initialization or shutdown in progress
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 1087
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 7639
    ORA-06512: at "SYS.DBMS_AQADM", line 631
    ORA-06512: at line 1
    08-FEB-10
    while capture, propagation, and apply are all in enabled status. I restarted capture and propagation at source DB. But still see the error message above. My questions are:
    1. How to delete the error from dba_propagation?
    2. How to verify the streams is still running fine?
    In normal test, during such large insert, the heartbeat table added a row in an hour. Very slow.
    thanks for advice.

    Well, if I can give you my point of view: I think that 35 millions LCR is totally unreasonnable. Did you really post a huge insert of 35 millions then committed that single utterly huge transaction? Don't be surprised it's going to work very very hard for a while!
    With a default setup, Oracle recommends to commit every 1000 LCR (row change).
    There are ways to tune Streams for large transaction but I have not done so personnaly. Look on Metalink, you will find information about that (mostly documents id 335516.1, 365648.1 and 730036.1).
    One more thing: you mentionned about a failure test. Your target database is RAC. Did you read about queue ownership? queue_to_queue propagation? You might have an issue related to that.
    How did you setup your environment? Did you give enough streams_pool_size? You can watch V$STREAMS_POOL_ADVICE to check what Oracle think is good for your workload.
    If you want to skip the transaction, you can remove the table rule or use the IGNORETRANSACTION apply parameter.
    Hope it helps
    Regards,

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

  • Need Help in expdp for resolving ORA-39127: unexpected error from call

    Hi All,
    My Environment is -------> Oracle 11g Database Release 1 On Windows 2003 Server SP2
    Requirement is ------------> Data Pump Jobs to be completed without any error message.
    I am tryring to take export data pump of a schema
    Command Used --> expdp schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
    Export Log Show this details its completed with 2 error messages
    Export: Release 11.1.0.6.0 - Production on Saturday, 23 April, 2011 13:31:10
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the OLAP option
    FLASHBACK automatically enabled to preserve database integrity.
    Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 192 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',0,1,'11.01.00.06.00',newblock)
    ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5980Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',1,1,'11.01.00.06.00',newblock)
    ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5980
    . . exported "SCOTT"."DEPT" 5.945 KB 4 rows
    . . exported "SCOTT"."EMP" 8.585 KB 14 rows
    . . exported "SCOTT"."SALGRADE" 5.875 KB 5 rows
    . . exported "SCOTT"."ACCTYPE_GL_MAS" 0 KB 0 rows
    . . exported "SCOTT"."BONUS" 0 KB 0 rows
    Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
    D:\APP\ADMINISTRATOR\ADMIN\SIPDB\DPDUMP\SCORR.DMP
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 13:40:08
    Please help me to resolve this issue.
    Thank you,
    Shan

    Hi Shan,
    I am getting very similar to yours
    "ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found."
    error message while creating OLAP Analytic Workspace with AWM.
    I am creating workspace for the first time, actually following some tutorial to get some knowledge about OLAP)
    I see you managed to solve you problem.
    I wonder how I can get this MOS DOC 852794.1 - is it possible to get it without going to Metalink?
    Thanks in advance for any help.
    Regards,
    SC

  • Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol

    We are encountering the following error while navigating the dashboards/ reports through OBIEE: "Error 500--Internal Server Error From RFC 2068 Hyperion Transfer Protocol"
    While navigating from one dashboard page to another this error is encountered or we get kicked out of the session and need to log back in.
    Any one experienced the same before?

    Thanks Srini.
    They issue we are facing is not post-installation specific. The environment functions fine but when we navigate dashboard pages, then this error pops up. It is intermittent and applicable to certain dashboards and reports. Not sure if you have ever encountered the dashboard/ report design causing this?
    Ganesh

  • Transport error from dev to quality

    HI,
    I am getting following error from Dev system to Quality while transporting the request please suggest me the solution.
    Start of the after-import method RS_RSFO_AFTER_IMPORT for object type(s) RSFO (Activation Mode
    Start of the after-import method RS_ISTD_AFTER_IMPORT for object type(s) ISTD (Activation Mode
    Start of the after-import method RS_ISCS_AFTER_IMPORT for object type(s) ISCS (Activation Mode
    Start of the after-import method RS_ISMP_AFTER_IMPORT for object type(s) ISMP (Activation Mode
    Start of the after-import method RS_ISTS_AFTER_IMPORT for object type(s) ISTS (Activation Mode
    Start of the after-import method RS_ISTS_AFTER_IMPORT for object type(s) ISTS (Delete Mode)
    Start of the after-import method RS_ISMP_AFTER_IMPORT for object type(s) ISMP (Delete Mode)
    Start of the after-import method RS_ISCS_AFTER_IMPORT for object type(s) ISCS (Delete Mode)
    Start of the after-import method RS_ISTD_AFTER_IMPORT for object type(s) ISTD (Delete Mode)
    Start of the after-import method RS_RSFO_AFTER_IMPORT for object type(s) RSFO (Delete Mode)
    Errors occurred during post-handling RS_AFTER_IMPORT for ISCS L
    The errors affect the following components:
        BW-WHM (Warehouse Management)
    Post-import methods of change/transport request  completed
          Start of subsequent processing ... 20100409231713
          End of subsequent processing... 20100409231716
    Thanks,
    kranti

    Start of the after-import method RS_ODSO_AFTER_IMPORT for object type(s) ODSO (Activation
    InfoObject ZCHKNUM is not available in version A
    InfoObject ZCHKNUM is not available in version A
    InfoObject ZCHKNUM is not available in version A
    InfoObject ZCHKNUM is not available in version A
    InfoObject ZCHKDATE is not available in version A
    Inconsistencies found while checking DataStore object ZTCM_D02
    Start of the after-import method RS_ODSO_AFTER_IMPORT for object type(s) ODSO (Delete Mode
    Errors occurred during post-handling RS_AFTER_IMPORT for ODSO L
    The errors affect the following components:
       BW-WHM (Warehouse Management)
    Post-import methods of change/transport request D21K918324 completed
         Start of subsequent processing ... 20091112090953
         End of subsequent processing... 20091112090954
    can u please post complete error message that ur getting
    in the above one the DSO is sent to quality but without infoobjects in Quality
    so the tranport got failed

  • "****Error from PSA****" error message when loading InfoCube

    Hi all,
    I am getting the following error message when loading transaction data to an InfoCube.
    ***Error from PSA***
    This is not MD or Hierarchies (like previous messages in the forum)
    Please advise.
    Thanks,
    Miki

    Hi Miki,
    Before just loading data into the infocube. Catchup PSA table and see the data into it.
    Then u may find the solution.
    But as ronald said this shouldnot be the complete error statement.
    bye.

Maybe you are looking for