"raise" and stack trace

Greetings,
When re-raising an exception, the error stack is lost.
I am using Oracle Database 10g Release 10.1.0.4.0 - 64bit Production on Red Hat Enterprise Linux ES release 4 (Nahant Update 1)
Consider the following code:
SQL> declare
  2    L_DUMMY  char(1);
  3  --
  4    procedure P
  5    is
  6    begin
  7      select 'X' into L_DUMMY from DUAL where 1 = 0;
  8    end;
  9  begin
10    P;
11* end;
12  /
declare
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 7
ORA-06512: at line 10When I add an exception handler to above code and use "raise" to re-raise the exception, the stack trace is lost, as shown below:
SQL> declare
  2    L_DUMMY  char(1);
  3  --
  4    procedure P
  5    is
  6    begin
  7      select 'X' into L_DUMMY from DUAL where 1 = 0;
  8    end P;
  9  begin
10    P;
11  exception
12    when others then
13      raise;
14  end;
15  /
declare
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 13Is there some way to keep the stack trace when re-raising an error?
Thanks,
Avi.

What about using raise_application_error used with TRUE as third parameter?
michaels>  declare
   l_dummy   char (1);
   procedure p
   is
   begin
      select 'X' into l_dummy from dual where 1 = 0;
   exception
      when others
      then
         raise_application_error (-20000, sqlerrm (sqlcode), true);
   end p;
begin
   p;
exception
   when others
   then
      raise_application_error (-20000, sqlerrm (sqlcode), true);
end;
Error at line 1
ORA-20000: ORA-20000: ORA-01403: no data found
ORA-06512: at line 11
ORA-01403: no data found
ORA-06512: at line 18
ORA-20000: ORA-01403: no data found
ORA-06512: at line 11
ORA-01403: no data foundEventhough I still see no real use in here ...

Similar Messages

  • Exception Handling and Stack Traces in JDK 1.1.8

    Hi,
    I'm presently maintain and upgrading a Web-Objects 4.5 application that uses the JDK 1.18. There are two constantly recurring exceptions that keep getting thrown, exceptions for which there are no stack traces. These are exceptions thrown by methods that do not presently have throws or try/catch code associated with them.
    My questions are:
    1) Why are there no stack traces available? Is it because the exception handling code is not there, or could there be another reason?
    2) Will the inclusion of exception-handling code ALWAYS lead to stack traces and messages becoming available (if I put a e.printStackTrace() in my catch(Excetion e) clause), or will there be situations where it will not be available?
    3) What is the best way for me to handle these types of exceptions in order to gain the most information possible about their root causes and possible solutions?
    Thanks for your help.

    I have never seen a case where there was no stack trace.
    I have seen cases where the stack trace does not provide line numbers. I have also seen cases where it is less than useful as it terminates on a native call (which is to be expected.)
    However, if you don't call printStackTrace() then you don't get it. And if you catch an exception an throw a different one you also loose information. So you might want to check those possibilities.

  • WebLogic Server crash and Stack Trace Log

    Hello? ^-^
    Current system details:
    SEQUENT Dynix/ptx v 4.4.7
    Classic VM (1.2.1, green threads)
    WebLogic 5.1
    Apache 1.3.20
    Current System crashes down too often and web service can not be available.
    Heres a stack trace of the process when it has locked up.
    The entire stack trace log file is...
    http://members.tripod.lycos.co.kr/bach1685/dump.txt
    Could it be possible to think this is the problem between JVM and OS library?
    If this is a problem of OS, I think that Just changing OS could solve the problem.
    How would I go about trying to figure out just where the problem is?
    Thanks for readming my broken English...^^

    Make sure you have a supported platform -
    http://www.weblogic.com/platforms/index.html
    For JDK 1.2.1 - pay attention to what the platform page says about setting JVMARGS.
    Mike
    Kim, Jihun <[email protected]> wrote:
    Hello? ^-^
    Current system details:
    SEQUENT Dynix/ptx v 4.4.7
    Classic VM (1.2.1, green threads)
    WebLogic 5.1
    Apache 1.3.20
    Current System crashes down too often and web service can not be available.
    Heres a stack trace of the process when it has locked up.
    The entire stack trace log file is...
    http://members.tripod.lycos.co.kr/bach1685/dump.txt
    Could it be possible to think this is the problem between JVM and OS
    library?
    If this is a problem of OS, I think that Just changing OS could solve
    the problem.
    How would I go about trying to figure out just where the problem is?
    Thanks for readming my broken English...^^

  • WLST, how do I suppress unwanted stack traces and make WLST less verbose?

    Hi everyone,
    I've just started out with WLST but have ended up somewhat confused. My script works as intended but is very verbose.
    Suppose I want to log in:
    try:
         connect(user, "wrong_password", url)
    except WLSTException, err:
         print str(err)
         print "Run with option \"-h\" for help"The password is wrong so I get something like this printed out by me:
    {noformat}
    Error occured while performing connect : User: wm714, failed to be authenticated. Use dumpStack() to view the full stacktrace
    {noformat}
    But I also get a totally unwanted Java stack trace (before my message):
    {noformat}This Exception occurred at Fri May 21 15:49:01 CEST 2010.
    javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: wm714, failed to be authenticated.]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:677)
    {noformat}
    I don't want to confuse the user with all that! I found this:
    http://objectmix.com/weblogic/529822-wlst-exception-handling-unwanted-stack-trace.html
    Which discusses WLS.commandExceptionHandler.setSilent(1) I'm running on WLS 10.3.0.0 and can execute that statement but it has no effect. I didn't even know about the WLS-object and I can find no documentation on commandExceptionHandler.
    On the matter of verbosity, is there any way to get rid of stuff like:
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    For more help, use help(domainRuntime)I avoid using the "interactive" commands like cd and use stuff like getMBean("domainRuntime:/ServerRuntimes/" + appServer.getName()
    + "/JMSRuntime/" + appServer.getName() + ".jms/JMSServers") but I still get the clutter printed out.
    Thanks!

    Workaround:
    wlstOut = tempfile.mktemp(suffix="_wlst.txt")
    redirect(wlstOut, "false")
    ... do useful stuff
    stopRedirect()
    os.remove(wlstOut)I would have preffered to turn off the messages (yes I could try /dev/null) but this will do. A funny thing is that the stack trace I wrote about doesn't appear in the log file. Somehow "redirect" must have a nice side effect.
    /Roger

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • N unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    some one can help me please
    i have no idea what i must to do.
    an unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    The Exception Handler gave all the info that you need. No need to print the whole stack trace.
    The exception handler says
    Exception Details: java.lang.IllegalArgumentException
    TABLE1.NAME
    Look in the session bean (assuming that is where your underlying rowset is). Look in the _init() method for statements similar to the following:
    personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
    personRowSet.setTableName("PERSON");
    What do you have?

  • Custom exceptions and carrying forward stack trace

    Hi, I have a question on exception handling.
    I have written an application which has several custom exceptions. When an exception occurs, sometimes I throw it and then when its caught, wrapping it in another exception like so:
    } catch (Exception e){
    throw new CollectionFailedException(this.getName() + " could not get collection", e);
    This works fine, but when I output the stacktrace, it only goes as far as the new exception, making things more difficult to debug. Is there any way of incrementing the stack trace using the first exception?
    Many thanks for any help offered!
    Marc

    Marc, this is expected behaviour. When you throw a new exception, the stacktrace starts off at the new one. A really nice explanation and sample code for creating new Exceptions and extending the Exception class is located at:
    http://www.javaworld.com/javaworld/jw-09-2001/jw-0914-exceptions.html
    Good luck, fstream

  • Config stack trace,insufficient privilledge and DB instance unavailbl error

    I am installing oracle 11.1.0.6 on windows xp professional[not the home edition].
    It installed successfully, but want to configure the EM Console manually. It shows the following 3 errors;
    Jan 16, 2011 3:35:31 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: orcl Host: don_h Node: null OH: D:\app\doN_H agentHome: null isCentral: false
    Jan 16, 2011 3:35:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jan 16, 2011 3:35:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: D:\app\doN_H, and user:
    Jan 16, 2011 3:35:36 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: ORA-01031: insufficient privileges
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01031: insufficient privileges
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
    at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:364)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:106)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:148)
    at oracle.sysman.emcp.DatabaseChecks.isASMDb(DatabaseChecks.java:720)
    at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:1982)
    at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2725)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Jan 16, 2011 3:35:36 PM oracle.sysman.emcp.DatabaseChecks isASMDb
    CONFIG: Database instance unavailable.
    oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
    at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:136)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:129)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:148)
    at oracle.sysman.emcp.DatabaseChecks.isASMDb(DatabaseChecks.java:720)
    at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:1982)
    at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2725)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Jan 16, 2011 3:35:36 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jan 16, 2011 3:35:43 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    Jan 16, 2011 3:35:53 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jan 16, 2011 3:35:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: D:\app\doN_H, and user: SYS
    Jan 16, 2011 3:35:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: Waiting for service 'OracleDBConsoleorcl' to fully start
    Jan 16, 2011 3:45:48 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleorcl' to fully start
    Jan 16, 2011 3:45:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at D:\app\doN_H\cfgtoollogs\emca\orcl\emca_2011_01_16_15_35_22.log for more details.
    Jan 16, 2011 3:45:58 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
    at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:869)
    at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:250)
    at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:213)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:235)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Ur advice on how to solve this prob is highly needed pls

    I am installing oracle 11.1.0.6 on windows xp professional[not the home edition].
    NO Oracle version is ever supported on any HOME edition of Windows.
    when all else fails Read The Fine Manual
    http://www.oracle.com/pls/db111/portal.portal_db?selected=11&frame=#microsoft_windows_installation_guides
    Tens of THOUSANDS of folks have successfully install Oracle on Windows by RTFM, Installation Guide

  • General Stack Trace and Exception Question

    I hope this is the correct forum to post to ... well here goes...
    The Big Picture:
    I�m using the org.xml.sax package (along with their subsequent �helper� and �ext� packages) to parse huge XML files.
    Some references:
    DefaultHandler -> org.xml.sax.DefaultHandler (Default base class for SAX2 event handlers)
    CustomHandler -> mypackage.CustomHandler (which extends the above DefaultHandler)
    SAXException -> org.xml.sax.SAXException (thrown by many methods defined in the DefaultHandler)
    The story:
    I�ve made a class which extends the DefaultHandler class; (CustomHandler). The DefaultHandler class has a bunch of methods declared in it that I overwrite, which all claim to throw these SAXExceptions. My overwritten methods defined in CustomHandler had also been written to throw those SAXExceptions.
    My Overwritten Methods: (you�ll see why the �throw� part is commented a little later)
    //Methods in SAX DocumentHandler
        public void startDocument(){//throws SAXException{
        public void endDocument(){//throws SAXException{
        public void startElement(String uri, String localName, String qName, Attributes attrs){//throws SAXException{
        public void endElement(String uri, String localName, String qName){//throws SAXException{
        public void characters(char buf[], int offset, int len){//throws SAXException{
    The Code Executes like This:
    try{
         File xmlFile = new File(getFileName());
         CustomHandler myHandler = new CustomHandler();
         saxParser.parse(xmlFile, myHandler); //<- Important Line
         myHandler.reportSomeXmlInfoAboutTheFile(); //<- Ignore this command
    }catch(ParserConfigurationException pce){
                pce.printStackTrace();       
    }catch(SAXException sax){
                sax.printStackTrace();
    }catch(IOException ioe){
                ioe.printStackTrace();
    }Sample Stack Trace: (The ArrayIndexOutOfBoundsException was set up to be thrown for the sake of discussion)
    java.lang.ArrayIndexOutOfBoundsException: 5
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:281)
    at saxparserexercise.DriverClass.exercise(DriverClass.java:58) //<- Last (un Native to ME � not java) execution stack point
    at saxparserexercise.Main.<init>(Main.java:38)
    at saxparserexercise.Main.main(Main.java:59)
    The Problem:
    Its about my stack traces� they all map through the above noted �Important Line� instead of through my overwritten methods in CustomHandler (where I cause the ArrayIndexOutOfBoundsException) So, therefore I thought I�d try commenting out those �throws SAXException� parts in the method declarations of my CustomHandler class� Diddn�t change a thing. Thus my question is�
    The Question:
    What changes or modifications can I make such that the Stack Trace I receive will map to exactly where the problem occurs in my code� does that make sense?

    I suspect it may be because your version of Catalina was compiled without debugger support. From what I remember this strips line numbers from generated class files.
    You'll need to download either a debug-enabled version of Catalina, or pull down the source and rebuild the system.
    Unless I'm barking up the wrong tree.
    J

  • Errors;Insufficient priviledges, Config:DB instance, and Config:Stack trace

    I am installing oracle 11.1.0.6 on windows xp professional[not the home edition].
    It installed successfully, but want to configure the EM Console manually. It shows the following 3 errors;
    Jan 16, 2011 3:35:31 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: orcl Host: don_h Node: null OH: D:\app\doN_H agentHome: null isCentral: false
    Jan 16, 2011 3:35:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jan 16, 2011 3:35:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: D:\app\doN_H, and user:
    Jan 16, 2011 3:35:36 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: ORA-01031: insufficient privileges
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01031: insufficient privileges
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
         at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:364)
         at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:106)
         at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:148)
         at oracle.sysman.emcp.DatabaseChecks.isASMDb(DatabaseChecks.java:720)
         at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:1982)
         at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2725)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Jan 16, 2011 3:35:36 PM oracle.sysman.emcp.DatabaseChecks isASMDb
    CONFIG: Database instance unavailable.
    oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
         at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:136)
         at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:129)
         at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:148)
         at oracle.sysman.emcp.DatabaseChecks.isASMDb(DatabaseChecks.java:720)
         at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:1982)
         at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2725)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Jan 16, 2011 3:35:36 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jan 16, 2011 3:35:43 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    Jan 16, 2011 3:35:53 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jan 16, 2011 3:35:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: D:\app\doN_H, and user: SYS
    Jan 16, 2011 3:35:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: Waiting for service 'OracleDBConsoleorcl' to fully start
    Jan 16, 2011 3:45:48 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleorcl' to fully start
    Jan 16, 2011 3:45:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at D:\app\doN_H\cfgtoollogs\emca\orcl\emca_2011_01_16_15_35_22.log for more details.
    Jan 16, 2011 3:45:58 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:869)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:250)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:213)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:235)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Ur advice on how to solve this prob is highly needed pls

    Pl see you duplicate post here - Error trying to configure enterprise console
    Pl post the requested information in that thread.
    HTH
    Srini

  • Axis2 and Internal Server Error, No Stack Trace

    I have deployed the Axis2.war file to an OC4J instance through the administration console.
    However, when I attempt to go to:
    http://localhost:7777/axis2/axis2-web/index.jsp
    and click on validate or any of the links I get an "Internal server error" with no stack trace.
    I have created a shared-library where I have placed the following JARs:
    axis.jar
    jaxrpc.jar
    wsdl4j-1.5.1.jar
    saaj.jar
    commons-discovery-0.2.jar
    commons-logging-1.0.4.jar
    and I have imported the library into orion-application.xml for axis.
    Any help on this matter would be appreciated.

    Here is the error in the application.log file, It can't find the include directory because that is located in the axis2/axis2-web directory.
    Any ideas on how to fix this?
    08/07/23 16:35:28.880 axis2: JspServlet: unable to dispatch to requested page: Exception:java.io.FileNotFoundException: /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/applications/axis2/axis2/include/httpbase.jsp (No such file or directory)
    08/07/23 16:35:30.85 axis2: Servlet error
    java.lang.IllegalArgumentException: Resource /include/header.inc not found
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.include(EvermindPageContext.java:440)
         at axis22d_web._index._jspService(_index.java:54)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    08/07/23 16:36:04.89 axis2: Servlet error
    oracle.classloader.util.AnnotatedLinkageError: Class org/apache/commons/logging/Log violates loader constraints
         Invalid class: org.apache.commons.logging.Log
         Loader: axis2.web.axis2:0.0.0
         Code-Source: /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/applications/axis2/axis2/WEB-INF/lib/commons-logging-1.1.1.jar
         Configuration: WEB-INF/lib/ directory in /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/applications/axis2/axis2/WEB-INF/lib
         Dependent class: axis22d_web._HappyAxis
         Loader: axis2.web.axis2.jsp13533900:0.0.0
         Code-Source: /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages/
         Configuration: *.jsp in /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages
         at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java:1462) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:167) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.SearchPolicy.loadClass (SearchPolicy.java:645) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.PolicyClassLoader.askParentForClass (PolicyClassLoader.java:1289) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.SearchPolicy$AskParent.getClass (SearchPolicy.java:68) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1674) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@19175605]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
         at java.lang.Class.forName0 (Native method) [unknown, by unknown]
         at java.lang.Class.forName (Class.java:164) [jre bootstrap, by jre.bootstrap:1.5.0_06]
         at axis22d_web._HappyAxis.classExists (_HappyAxis.java:59) [app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages/ (from *.jsp in /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages), by axis2.web.axis2.jsp13533900:0.0.0]
         at axis22d_web._HappyAxis.probeClass (_HappyAxis.java:102) [app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages/ (from *.jsp in /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages), by axis2.web.axis2.jsp13533900:0.0.0]
         at axis22d_web._HappyAxis.needClass (_HappyAxis.java:186) [app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages/ (from *.jsp in /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages), by axis2.web.axis2.jsp13533900:0.0.0]
         at axis22d_web._HappyAxis._jspService (_HappyAxis.java:415) [app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages/ (from *.jsp in /app/oracle/product/10.1.3/soasuite/j2ee/odi_soa/application-deployments/axis2/axis2/persistence/_pages), by axis2.web.axis2.jsp13533900:0.0.0]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service (OrionHttpJspPage.java:59) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.jsp.runtimev2.JspPageTable.service (JspPageTable.java:462) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.jsp.runtimev2.JspServlet.internalService (JspServlet.java:594) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.jsp.runtimev2.JspServlet.service (JspServlet.java:518) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by api:1.4.0]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:713) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:370) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:871) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:453) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:302) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:190) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket (ServerSocketAcceptHandler.java:239) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700 (ServerSocketAcceptHandler.java:34) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [app/oracle/product/10.1.3/soasuite/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /app/oracle/product/10.1.3/soasuite/j2ee/home/oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]

  • Stack traces and Errors - Portal

    Hello,
    I would like to know what information does the stack trace contain? Is this information, sensitive, can it lead to security threat?
    Errors presented on the portal screen, e.g. 500 Internal Server Error can that lead to security threat?
    If yes, What kind of error message can be presented and how can that be configured in portal?
    Thank you in advance.
    Best regards,
    Dharmi

    Hi,
    it's not a problem to change default error pages (see this [wiki|http://wiki.sdn.sap.com/wiki/display/EP/CustomizingErrorMessagesinPortal]). So you can minimize the risk of leaking sensitive information pretty easily. The users will get less scared  of error messages as well
    Cheers

  • Images Browser Dialog gets OutOfMemoryError no stack trace available

    Hello all.
    I am writing a dialog to list the image by showing their thumbnail, which like the style of ACDSee or CoffeeCup Free Viewer Plus.
    For this, I build 3 objects(thumbCanvas,thumbPanel,testingfrm). thumbCanvas - displays the thumbnail with aspect ratio as original image
    thumbPanel - contains thumbCanvas and image file name
    testingfrm - put the thumbPanel of the list of images row by row
    When I run testingfrm by listing 11 images, the following error is given out.
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    I would be appreciated if anyone can suggest the methodology and hints to do that or state what is the problem of my coding and methodology. Thanks.
    The code of 3 objects are as following:
    //thumbCanvas.java
    import java.awt.*;
    import java.io.*;
    public class thumbCanvas extends Canvas {
    public int new_h=0, new_w=0;
    private double thumb_h, thumb_w;
    private double img_h, img_w;
    private double ratio_h, ratio_w, ratio_thumb;
    private String imgFileName;
    private Image thumbImg;
    /** Creates new thumbCanvas */
    public thumbCanvas(int w, int h) {
    thumb_h = h;
    thumb_w = w;
    public thumbCanvas(String f, int w, int h) {
    imgFileName = f;
    thumb_h = h;
    thumb_w = w;
    setFile(imgFileName);
    public void setThumbSize(int w, int h) {
    thumb_h = h;
    thumb_w = w;
    repaint();
    public void setImage(Image i) {
    MediaTracker tracker = new MediaTracker(this);
    thumbImg = i;
    tracker.addImage(thumbImg,1);
    try {
    tracker.waitForAll();
    } catch (java.lang.InterruptedException e) {}
    if (tracker.checkAll()) {
    img_h = thumbImg.getHeight(this);
    img_w = thumbImg.getWidth(this);
    if (img_h > thumb_h || img_w > thumb_w) {
    ratio_h = thumb_h/img_h;
    ratio_w = thumb_w/img_w;
    ratio_thumb = java.lang.Math.min(ratio_h,ratio_w);
    } else {
    ratio_thumb = 1;
    new_h = (int)(img_h*ratio_thumb);
    new_w = (int)(img_w*ratio_thumb);
    setSize(new_w, new_h);
    repaint();
    public void setFile(String f) {
    Image img = Toolkit.getDefaultToolkit().getImage(f);
    setImage(img);
    public void paint(Graphics gr) {
    if ( thumbImg != null ) {
    gr.drawImage(thumbImg, 0, 0, new_w, new_h, this);
    //thumbPanel.java
    import javax.swing.*;
    import java.io.*;
    public class thumbPanel extends JPanel {
    /** Creates new form thumbPanel */
    public thumbPanel(String f, int w, int h) {
    int thumb_w, thumb_h, thumb_x;
    int label_w, label_h;
    initComponents();
    thumb_w = (int)(w*0.9);
    thumb_h = (int)(h*0.7);
    label_w = (int)(w*0.9);
    label_h = (int)(h*0.2);
    tc = new thumbCanvas(f, thumb_w, thumb_h);
    thumb_x = (int)((w - tc.new_w)/2);
    tc.setLocation(thumb_x,5);
    add(tc);
    thumbLabel = new JLabel("hihi");
    add(thumbLabel);
    thumbLabel.setBounds(thumb_x,thumb_h+1,label_w,label_h);
    setSize(w,h);
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {//GEN-BEGIN:initComponents
    setLayout(null);
    setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED));
    }//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables
    private JLabel thumbLabel;
    thumbCanvas tc;
    //testingfrm.java
    public class testingfrm extends javax.swing.JDialog {
    /** Creates new form testingfrm */
    public testingfrm(java.awt.Frame parent, boolean modal) {
    super(parent, modal);
    initComponents();
    int i;
    int row,col;
    for (i=1;i<=11;i++) {
    row = (int)((i-1)/3);
    col = ((i-1)%3)+1;
    tp = new thumbPanel("D:\\ACN\\MultiMed\\Oracle\\images\\ts\\add0000" + i + ".jpg",120,120);
    tp.setLocation(col*120,row*120);
    getContentPane().add(tp);
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {//GEN-BEGIN:initComponents
    getContentPane().setLayout(null);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    closeDialog(evt);
    pack();
    }//GEN-END:initComponents
    /** Closes the dialog */
    private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog
    setVisible(false);
    dispose();
    System.exit(0);
    }//GEN-LAST:event_closeDialog
    * @param args the command line arguments
    public static void main(String args[]) {
    new testingfrm(new javax.swing.JFrame(), true).show();
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables
    thumbPanel tp;
    Sorry for putting the code here. However, I hope it can be helpful for solving my problem. Thanks again.

    Thanks. The problem is already solved.
    It is because I load too much full size images. When I load the resized images generated by Image.getScaledInstance(int,int,int). It seems much better.
    Thanks again your suggestion.

  • Unwanted stack trace in weblogic.log for thrown JSP Exceptions

    We are throwing a JSP exception within a custom tag when data validation
              errors occur; the errorPage for the JSP page is then invoked to show the
              appropriate errors. However, in the weblogic.log, a stack trace is shown
              indicating the exception (example below). We do not want this stack track
              shown unless there is a real "error" in our system vs. invoking the
              errorPage to show "application" errors. Is there any way to supress this,
              as we are not explicitly causing this to happen. It appears to be a
              weblogic feature. This causes us problems in finding true system errors
              that might be occurring due to these non-problems showing up in the
              weblogic.log.
              Thanks for the help.
              John Bauer
              Wed Dec 20 15:34:49 EST 2000:<E> <ServletContext-General> exception raised
              on '/test/test.jsp'
              javax.servlet.ServletException: runtime failure in custom tag 'testtag'
              at jsp_servlet._test._test._jspService(_test.java:89)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :124)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:
              60)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:
              07)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              Manager
              java:251)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:369)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
              Code)
              

    The design of the data entry pages is such that the error page is the same
              page as the data entry page, and a validation JSP tag validates the data and
              if it finds a problem, it will set some variables and throw a JSP exception
              to redisplay the page. Unfortunately, we are forced to live with this
              design. Are you aware of any mechanism to suppress the automatic logging of
              thrown JSP exceptions in the weblogic log?
              Thanks,
              JDB
              Cameron Purdy <[email protected]> wrote in message
              news:[email protected]...
              > Exception handling for custom tags is very poorly handled right now. For
              > one thing, WL hides the actual exception.
              >
              > However, the way that you are doing this seems very odd. The error page
              is
              > for server errors, not user typos.
              >
              > Peace,
              >
              > --
              > Cameron Purdy
              > Tangosol, Inc.
              > http://www.tangosol.com
              > +1.617.623.5782
              > WebLogic Consulting Available
              >
              >
              > "John Bauer" <[email protected]> wrote in message
              > news:[email protected]...
              > > We are throwing a JSP exception within a custom tag when data validation
              > > errors occur; the errorPage for the JSP page is then invoked to show the
              > > appropriate errors. However, in the weblogic.log, a stack trace is
              shown
              > > indicating the exception (example below). We do not want this stack
              track
              > > shown unless there is a real "error" in our system vs. invoking the
              > > errorPage to show "application" errors. Is there any way to supress
              this,
              > > as we are not explicitly causing this to happen. It appears to be a
              > > weblogic feature. This causes us problems in finding true system errors
              > > that might be occurring due to these non-problems showing up in the
              > > weblogic.log.
              > >
              > > Thanks for the help.
              > > John Bauer
              > >
              > > Wed Dec 20 15:34:49 EST 2000:<E> <ServletContext-General> exception
              raised
              > > on '/test/test.jsp'
              > > javax.servlet.ServletException: runtime failure in custom tag 'testtag'
              > > at jsp_servlet._test._test._jspService(_test.java:89)
              > > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > > at
              > >
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              > > :124)
              > > at
              > >
              >
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              > > l.java:
              > > 60)
              > > at
              > >
              >
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              > > l.java:
              > > 07)
              > > at
              > >
              >
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              > > Manager
              > > java:251)
              > > at
              > >
              >
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:369)
              > > at
              > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
              Compiled
              > > Code)
              > >
              > >
              >
              >
              

  • How to get the complete Stack-Trace ?

    Hi,
    I'm getting the following error on the screen.
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO OTA.OTA_QUESTIONS(QUESTION_ID,TEXT,ALLOW_HTML_FLAG,OBJECT_VERSION_NUMBER,BUSINESS_GROUP_ID,START_DATE_ACTIVE) VALUES (:1,:2,:3,:4,:5,:6)".
    I want to get the complete stack-trace. I turned on the screen log, but still not getting the error-stack. Can anyone lemme know, how to get the complete error-stack ? This error is raised from a seeded page.
    Thanks,
    Guna.

    This is a developer raised exception and not a standard expection(depends on a profile), that is why you cannot see the error stack.You have to put system.out.println, to debug.You get such errors when there is some fundamental mistake and not framework exception.
    As the error says look into the query and see all bind variables are setting properly.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Error messages after i have logged on

    everytime i log on and try  to add more credit or a pack i get a message saying sorry there is a problem getting your credit details and pack details this has been going on for months

  • Trouble with loading photos from a disc can you help?

    I keep getting about half the photos with the message unrecognized format.

  • Indesign crashes when updating incopy content

    I'm having a lot of bother with (Mac) Indesign CS6 crashing when updating Incopy content. The problem first appeared after upgrading from CS4 to CS6 on OSX 10.6.8. I've since upgraded to Mountain Lion (10.8.2) and the problem still persists (with ful

  • Invisible and Visible

    I want my user to select one of three radio buttons and have a drop down list appear as a result. For each selection there is a separate drop down list. Each drop down is invisible; selection of radio button determines which drop down becomes visible

  • Is there an App for netflix for a Macbrook Pro?

    Hi, help. Is there an app for netflix for a Mackbrook Pro? Thanks