Generic Exception Handeling
I need the executed SQL and variables with my error. I got this far:
<code>
PROCEDURE error_mail IS
pMessage VARCHAR2(2000);
pSender VARCHAR2(80) := '[email protected]';
pRecipient VARCHAR2(80) := '[email protected]';
pSubject VARCHAR2(80) := 'Error Package : LGX_P_ANIM';
mailhost CONSTANT VARCHAR2(30) := 'mail.home.co.za';
crlf CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
mesg VARCHAR2(1000);
mail_conn utl_smtp.connection;
l_str VARCHAR2(255);
BEGIN
select substr(sql_text,1,255) into l_str from sys.V_$SQL where rownum = 1
order by FIRST_LOAD_TIME asc;
mail_conn := utl_smtp.open_connection(mailhost, 25);
pMessage := 'Prror Mail SAYS :' || chr(13) || 'LOCAL_TRANSACTION_ID:' ||
DBMS_TRANSACTION.LOCAL_TRANSACTION_ID || chr(13) || 'FORMAT_CALL_STACK:' ||
DBMS_UTILITY.FORMAT_CALL_STACK || chr(13) || 'FORMAT_ERROR_BACKTRACE:' ||
DBMS_UTILITY.FORMAT_ERROR_BACKTRACE || chr(13) || 'FORMAT_ERROR_STACK:' ||
DBMS_UTILITY.FORMAT_ERROR_STACK || chr(13) || 'GET_CPU_TIME:' ||
DBMS_UTILITY.GET_CPU_TIME || chr(13) || 'GET_TIME:' || DBMS_UTILITY.GET_TIME || chr(13);
pMessage := l_str || chr(13) || '------------------------------------------------' || chr(13) || pMessage ;
mesg := 'Date: ' ||
TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss') || crlf ||
'From: <'|| pSender ||'>' || crlf ||
'Subject: '|| pSubject || crlf ||
'To: '||pRecipient || crlf || '' || crlf || pMessage;
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, pSender);
utl_smtp.rcpt(mail_conn, pRecipient);
utl_smtp.data(mail_conn, mesg);
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN OTHERS THEN
NULL;
END error_mail;
</code>
Te reason i do it this way is to have a generic exception handler. It is important to get the variables. I need the culprit ID. The DB consists of 17 000 000 animal records and even more settings for each animal. We get about 100 - 200 single row sub-query errors each day, because the data gets messed up by the secretaries. I need to get the animal ID with the error report that way i can fix the error in seconds instead of running multiple Queries to find the issue. The other problem is the DB is very Busy running large debug queries is not really possible. The solution thus far gives me some answers but I got 100 emails yesterday and they were all the same. How do i get everything from the current session.
CURRENT CODE:
PROCEDURE error_mail IS
pMessage VARCHAR2(2000);
pSender VARCHAR2(80) := '[email protected]';
pRecipient VARCHAR2(80) := '[email protected]';
pSubject VARCHAR2(80) := 'Error Package : LGX_P_ANIM';
mailhost CONSTANT VARCHAR2(30) := 'mail.home.co.za';
crlf CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
mesg VARCHAR2(2000);
mail_conn utl_smtp.connection;
l_str VARCHAR2(1000);
l_id VARCHAR2(100);
BEGIN
--select username|| '-' ||sql_text into l_str from v$session, v$sql where audsid = l_Sid and v$session.sql_address = v$sql.address;
select substr(sql_text,1,999),sql_id into l_str,l_id from v$sql where address = (SELECT prev_sql_addr FROM v$session WHERE audsid = userenv('SESSIONID')) and rownum = 1;
l_id := l_id || '-' || logix.transpose('select name || ''-'' || value_string from v$sql_bind_capture where sql_id = ''' || l_id || '''',';');
mail_conn := utl_smtp.open_connection(mailhost, 25);
pMessage := 'Prror Mail SAYS :' || chr(13) ||
'LOCAL_TRANSACTION_ID:' || l_id || chr(13) ||
'SESSIONID:' || userenv('SESSIONID') || chr(13) ||
'FORMAT_CALL_STACK:' || DBMS_UTILITY.FORMAT_CALL_STACK || chr(13) ||
'FORMAT_ERROR_BACKTRACE:' || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE || chr(13) ||
'FORMAT_ERROR_STACK:' || DBMS_UTILITY.FORMAT_ERROR_STACK || chr(13) ||
'GET_CPU_TIME:' || DBMS_UTILITY.GET_CPU_TIME || chr(13) ||
'GET_TIME:' || DBMS_UTILITY.GET_TIME || chr(13);
pMessage := l_str || chr(13) || '--------------------------------------------------' || chr(13) || pMessage ;
mesg := 'Date: ' ||
TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss') || crlf ||
'From: <'|| pSender ||'>' || crlf ||
'Subject: '|| pSubject || crlf ||
'To: '||pRecipient || crlf || '' || crlf || pMessage;
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, pSender);
utl_smtp.rcpt(mail_conn, pRecipient);
utl_smtp.data(mail_conn, mesg);
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN OTHERS THEN
NULL;
END error_mail;
CURRENT OUTPUT
SELECT PAR_ID FROM IRISDATA30.PERIOD P WHERE ANI_ID = :B2 AND RELATION_TYPE = 'O' AND NVL(PERIOD_END_DTM,:B1 ) = (SELECT MAX(NVL(PERIOD_END_DTM,:B1 )) FROM IRISDATA30.PERIOD WHERE TO_CHAR(PERIOD_BEGIN_DTM,'DD-MON-YYYY') <= :B1 AND RELATION_TYPE = 'O' AND ANI_ID = P.ANI_ID)
Prror Mail SAYS :
LOCAL_TRANSACTION_ID:1jy7g0zrzqmpm-':B2-548721521';':B1-08/23/11 10:40:14';':B1-';':B1-08/23/11 10:40:14'
SESSIONID:18089990
FORMAT_CALL_STACK:----- PL/SQL Call Stack -----
object line object
handle number name
c000000232174828 24 package body INTERGIS.LGX_P_ANIM
c000000232174828 264 package body INTERGIS.LGX_P_ANIM
c000000232174828 377 package body INTERGIS.LGX_P_ANIM
c000000232174828 186 package body INTERGIS.LGX_P_ANIM
c00000022661c510 1 anonymous block
FORMAT_ERROR_BACKTRACE:ORA-06512: at "INTERGIS.LGX_P_ANIM", line 246
FORMAT_ERROR_STACK:ORA-01422: exact fetch returns more than requested number of rows
GET_CPU_TIME:35754
GET_TIME:22400142Edited by: user12991926 on Aug 24, 2011 9:03 AM
Edited by: user12991926 on Aug 24, 2011 9:04 AM
Similar Messages
-
Generic Exception in java mapping
hi all,
i'm using xerces api inorder to validate the outbound xml with its corresponding xsd using java mapping . when mapping is executed , i get "Generic Exception". it does'nt leave any trace other than the word "Generic Exception". i use same jdk version used by XI.kindly help me regarding this issue.
Thanks and Regards
kausikhello kausik,
i have the same problem in java mapping by validating incoming xml files.
could you solve the problem?
can you tell me how to solve the problem?
you can write me an email with the solution ([email protected])? or post it here?
thanks a lot
ciao alex -
Throwing generic exception in XI
Hi friends
I was trying to incorporate one of the blog by champion blogger Michal, which deals with Throwing Generic Exception.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6398. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Is there any way around for avoiding ABAP mapping (hard part) and implementing some java code in place of that?
In second step instead of going for ABAP mapping I tried to raise an exception by using exception classes as explained in https://www.sdn.sap.com/pub/wlg/3069. [original link is broken] [original link is broken] [original link is broken] [original link is broken] but by that way Error in SOAP header (in SXMB_MONI) displayed Runtime Exception rather than showing user defined/desired messagehi,
just like explained in my blog - you can only do it in ABAP
to have it in error header segment of XI message
>>>>but by that way Error in SOAP header (in SXMB_MONI) displayed Runtime Exception rather than showing user defined/desired message
just like Alex mentioned in his blog - that's why I wrote mine
Regards,
michal -
JBO-26000: A Generic exception occurred during loading Customizations
Hi All,
i created a application with oracle adf when deploy it in oc4j it works properly but in JBoss I have following exception:
19:17:50,515 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
oracle.jbo.JboException: JBO-26000: A Generic exception occurred during loading Customizations.
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:918)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:579)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:374)
at oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:339)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:133)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
## Detail 0 ##
java.lang.NullPointerException
at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadSessions(JUApplicationDefImpl.java:265)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadContainees(JUApplicationDefImpl.java:573)
at oracle.jbo.mom.ContainerDefImpl.loadFromXMLFile(ContainerDefImpl.java:354)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadFromXMLFile(JUApplicationDefImpl.java:350)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.createAndLoadFromXML(JUApplicationDefImpl.java:531)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:886)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:579)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:374)
at oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:339)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:133)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
i will be grateful if you help me in this caseHi,
MDS requires Fusion Middleware and for this reason - other than personalization for user session - is not expected to work for servers where there is no FMW suport. Not sure this is your issue too, but this is what caused the thread in 2010 to fail
Frank -
Execute Immediate - Exception handelling
Hi Guys,
I have the following code that loops through and populates the execute immediate statement with local variables from the cursor.
The only problem is when the statement fails and goes to the exception, I want the local variable to be cleared. This is causing me problems becuase it is populating incorrect data where it fails.
LOOP
BEGIN
EXECUTE IMMEDIATE 'SELECT MAX(REC_EXTRACT_DATE) FROM '
|| rg_e_date.source_name
INTO lv_extract_date;
EXECUTE IMMEDIATE 'SELECT count(*) FROM '
|| rg_e_date.source_name
|| '
where rec_current_flag = ''Y'''
INTO lv_num_of_records;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
Any help would be apprechiated.
Cheersuser8652755 wrote:
Hi Guys,
I have the following code that loops through and populates the execute immediate statement with local variables from the cursor.
The only problem is when the statement fails and goes to the exception, I want the local variable to be cleared. This is causing me problems becuase it is populating incorrect data where it fails.
LOOP
BEGIN
EXECUTE IMMEDIATE 'SELECT MAX(REC_EXTRACT_DATE) FROM '
|| rg_e_date.source_name
INTO lv_extract_date;
EXECUTE IMMEDIATE 'SELECT count(*) FROM '
|| rg_e_date.source_name
|| '
where rec_current_flag = ''Y'''
INTO lv_num_of_records;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
Any help would be apprechiated.
CheersWhy does the statement fail?
I'm guessing you don't know because you have a generic exception catch there (that's bad).
Also, if you aren't aware, this is a 'bad' method of programming in Oracle (i'm assuming you are storing SQL in database tables, or some other such fashion). It won't be good for performance if you need this application to be quick and scalable. Just a word of caution. -
JBO-26000: a generic exception error message
Hi,
I followed every step of the single table DBServlet tutorial, and the recommended deployment procedure as per the guide.
I'm getting the following error when I run the DBServlet1 from Java Web Server 2.0
"JBO-26000: a generic exception occured during loading customisations".
The Servlet first loads successfully with a login screen. When I click on connect, I get the error.
Regards
Nathan
nullThank you laura, but i see the following messages on the console of the running resin proc.:
Loading from CLASSPATH pedido_PedModule.properties
*******pedido_PedModule - Session timeout is:300
Loading from CLASSPATH inven_InvModule.properties
Loading from CLASSPATH factura_FacModule.properties
Loading from CLASSPATH clientes_ApModCliente.propertiesnote that i said that my appmodule gets instaciated (i have a print in the constructor of my appmodule), the problem arises after:
Error Message: JBO-26000: A Generic exception occurred during loading Customizations.
Note that I've deployed this application Ok to the Apache Tomcat engine...
Can you tell me what was the Framework trying to load, Please?
Thank you
null -
Generic Exception handler in java
We have developed a client java application with our own exception hierarchy derived from java.lang.exception. We raise our own exception in case of error scenarios. But there is one additional thing which we want to do:
1. When ever any exception is raised in our exception we want to do some generic exception handling (like kicking of some module which collects the log files and send it to the administrator.
2. We want the above activity to happen also when any runtime exception is raised. We are not catching any runtime exception and we have no handle for this.
How should we go about this. Can we write a very low-level generic exception handler?
We do not want to have done at every catch block we have in our code. I mean we want to have some hook at a very generic place.
Let me know if some body can be help me on this.As far as I know, for exceptions that are caught, you must make a call to a generic handler in the catch block, or you may rethrow the exception as a RuntimeException, and let it propagate.
For RuntimeExceptions and Errors in threads that you create, the easiest way to solve this is to subclass ThreadGroup, override uncaughtException with the appropriate code, and create all your threads in this group. For a thread like main, have the first thing in the thread be the creation of a new thread in the new group, then pass control to that thread. For fixed threads, like the event queue, someone had a suggestion already. Note that uncaughtException is only called just before the thread ends, so an exception that shouldn't end the thread should be handled seperately. -
Exception handeling at different layer!
Hello All,
My apps design has the following layer: JSF(front-end) -> Business Delegates (POJO) -> EJB3 (Session Facade) -> POJO (DAO) -> Hibernate --> DB. Now i am little confused for exception handeling. I have following approaches in mind.
1- Propogate my exceptions from Hibernate all the way to business delegates and handel all of them there. I am not sure this will be a good approach. But it will allow my to have one place to handel all exception.
2- Handel exception at differnet levels. DB related expceptions IN Daos, Logic and EJB related exceptions in Bussiness Delegates.
Please suggest me better of these or purpose a new suggestion.
Thanksgenerally when something blows in a DAO, you want your application to know about it. Otherwise you can get into a situation like this:
1) business logic calls DAO
2) DAO throws and handles its own exception
3) business logic goes on to work on data in an unknown state
That doesn't work. At 3) you want to catch the exception, log it and possibly roll back an entire transaction, effectively ending the business logic and possibly going on to some error handling routine, like showing an error page. -
Error:A Generic exception occurred during loading Customizations
Hi All,
I need to extend two standared VO's which are connected by Viewlink. i have extended first VO sucessfully ,and it is showing Good,but when i extend second VO iam getting error as below:
the two VO's are query based .
i have no idea for what reason the error was showing. can anyone share your views if faced similar error.
oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.pos.changeorder.server.ViewOrderAM'.
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:279)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:735)
## Detail 0 ##
JBO-30003: The application pool (edevdb7.cos.agilent.comOTSTX1561oracle.apps.pos.changeorder.server.ViewOrderAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.PersistenceException, msg=JBO-26000: A Generic exception occurred during loading Customizations.
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:735)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.PersistenceException, msg=JBO-26000: A Generic exception occurred during loading Customizations.
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:735)
## Detail 0 ##
oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during loading Customizations.
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2488)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1993)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:526)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:587)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:449)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:382)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:364)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:398)
at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:411)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:735)
## Detail 0 ##
java.lang.IndexOutOfBoundsException: Index: 150, Size: 150
at java.lang.Throwable.<init>(Throwable.java:67)
at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
at com.sun.java.util.collections.ArrayList.set(ArrayList.java:322)
at oracle.jbo.server.ViewDefImpl.resolveDefInternal(ViewDefImpl.java:2623)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2466)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1993)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:526)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:587)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:449)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:382)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:364)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:398)
at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:411)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:735)
Thanks..
GKThank you laura, but i see the following messages on the console of the running resin proc.:
Loading from CLASSPATH pedido_PedModule.properties
*******pedido_PedModule - Session timeout is:300
Loading from CLASSPATH inven_InvModule.properties
Loading from CLASSPATH factura_FacModule.properties
Loading from CLASSPATH clientes_ApModCliente.propertiesnote that i said that my appmodule gets instaciated (i have a print in the constructor of my appmodule), the problem arises after:
Error Message: JBO-26000: A Generic exception occurred during loading Customizations.
Note that I've deployed this application Ok to the Apache Tomcat engine...
Can you tell me what was the Framework trying to load, Please?
Thank you
null -
Hi, im getting the following eror when creating an application module: Any ideas? - the views, links, etc. in the data model as well as the .xml look fine.
oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during
loading Customizations.
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2196)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1767)
at
oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509)
at
oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java
:453)
at
oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:312
at
oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:268
at
oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
at
oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369)
at
oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.j
ava:2681)
at
oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefIm
pl.java:357)
at
oracle.jbo.server.ApplicationModuleImpl.createApplicationModuleImpl(ApplicationM
oduleImpl.java:2829)
at
oracle.jbo.server.ApplicationModuleImpl.createApplicationModule(ApplicationModul
eImpl.java:813)
at enatis.gen.ContextNode.createSmHandle(ContextNode.java:85).....
## Detail 0 ##
java.lang.IndexOutOfBoundsException: Index: 79, Size: 76
at
com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
at com.sun.java.util.collections.ArrayList.set(ArrayList.java:322)
at
oracle.jbo.server.ViewDefImpl.resolveDefInternal(ViewDefImpl.java:2321)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2176)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1767)at
oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509)
at
oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java
:453)
at
oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:312
) at
oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:268
at
oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
at
oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369)
at
oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.j
ava:2681)
at
oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefIm
pl.java:357)
at
oracle.jbo.server.ApplicationModuleImpl.createApplicationModuleImpl(ApplicationM
oduleImpl.java:2829)
at
oracle.jbo.server.ApplicationModuleImpl.createApplicationModule(ApplicationModul
eImpl.java:813)
at
enatis.gen.ContextNode.createSmHandle(ContextNode.java:85)............
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResour
cePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)Hi,
I can reproduce this.
Create a project containing BC4J.
Create EO's for Emp and Dept.
Create default views and their Impl and RowImpl.
Create a Emp1View extending EmpView but joining in DeptEo.
Set the join sql.
create a third EmpView - Emp3View and extend Emp2View adding in another Emp joined in on the first Emp.MGR.
Create a client to create the appmodule.
Run - this works fine.
Create a VL between dept and Emp - 1 to *.
Run - Exception. -
JDBC Recv: Generic Exception: - java.lang.ArrayIndexOutOfBoundsException
Dear SDNers,
I'm facing a strange issue in my PI Quality server when inserting data using recv JDBC adapter. The error description which I get in the channel is given below:-
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: ERROR occured parsing request:com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> java.lang.ArrayIndexOutOfBoundsException.
Now, I have tried out this message in a different PI server, to the same destination DB and it worked fine. Hence I'm very sure that this is not a mapping bug which is causing incomplete or wrong payload structures going in to the JDBC adapter.
I request the xperts to please suggest on this issue..
Thanks a lot
VarunIt seems the latest JDBC Driver for MS-SQL does not support batch mode for multiple tables. Removed the batch mode option and works as a charm..
Regards
Varun -
Generic Exception Handler/Listener
All,
I have a web application and I want to create a generic exception handler/listener which will listen to all the exception(checked and runtime) which are thrown by web application.
Any idea how can I do this?
Regards.797836 wrote:
Hi,
I want to build a generic exception handler which can be reused in any java j2ee applications. Unlikely. Probably impossible.
I have java application which is communicating with other 3rd party applications like webservices, webmethods , etc from where we are getting an errorcode which will be used in our java application to do a lookup to get the respestive error message from the resource bundle. Please clarify in such case how I can go with a generic exception handler which will be build separately and will be integrated with Java applications to handle the exceptions and errors.An excellent example of why a universal exception handler wouldn't work.
At some point a call tree looks like A->B->C, where C (or beyond) that is where your communications problem occurs. The impact of that depends on the application.
For example if a user types in a url (at A) and the server (C) fails to resolve it then that is a user problem.
However if nightly batch process expects to download an update file every night from one location and it can't connect then that is an operations error (or notification/alert.) -
Generic exception (BOMGR0110)
Post Author: sominya
CA Forum: WebIntelligence Reporting
When I open a password protected .rep document in WEBI 6.5.1 ,the prompt for entering the password appears but once I enter the correct password ,I am taken to an error page showing the error "Generic exception (BOMGR0110)".
Though when I refresh the web page the report appears. Refreshing the webpage might be accepted as a temporary solution , but I wouldlike to get rid of the error page.
Can somebody help?Runtime exception when processing target-field mapping /PEXR2002//PEXR2002/*var_IDocBackUp
check mapping logic for the above node
Is var_IDocBackUp defined as a global variable...if yes then check out the procedure here:
/people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
Edited by: abhishek salvi on May 15, 2009 10:13 AM -
Beware the dangers of generic Exceptions
http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-generics.html?
What do you think about that article?
I thought that it wasn't quite accurate. The author fails to address GUIs.
// some button was clicked or menu item was selected
public void actionPerformed(ActionEvent evt) {
try {
// try to open file here
// try to save file here
// could run out of memory (Error) or
// IOException
// or any other number of exceptions / errors that can't
// be fixed by the user
} catch (Throwable t) {
Window w = SwingUtilities.windowForComponent(this);
JOptionPane.showMessageDialog(w, "" + t, "ERROR", JOptionPane.ERROR_MESSAGE);
}most people agree that catching Exception and
Throwable is usually a bad bad thing,Could you point me to statistically significant survey
where this conclusion was reached?no.. admit i should've prefixed it with something like "in my experience" - is that what you mean?
What does this assertion mean anyway? That randomly
putting try-catch(Throwable) into a program would be
bad thing. I guess that's true. That most appearances
of this construct in a random sample of programs were
in inappropriate places? Hard to say unless you've
done the sampling. That the appearance of this
construct in code written by engineers that I
supervise is usually a bad thing? No way.maybe its down to what kind of things you are dealing with, but taking these forums as a good (informal) example i often see bits of code that are wrapped with "catch(Exception e)" in a way that is almost certainly done just to get round the checked exception compilation errors. Its this that I'd still maintain is acknowledged as a bad bad thing - which is compatible with there being legitimate times when catching a general Exception is the right thing to do*
asjf
*saying that though, its v. rare i come across this - but i'm writing gui/application level code -
Im trying to get a solution done on generic runtime exception handling.
What kind of possibilities do i have to have a generic solution done in JSF, without forcing my
Managed Beans to handle runtime exceptions.
As JSF has different phases and each phase would be forced to catch those runtime exceptions,
it seems to be difficult to me...
The idea would be like:
try{
doRender()/doAction()/doValidate() etc ...
}catch(Exception e){
// do something and put a message to FacesContext
Edited by: nailuenlue on Dec 4, 2008 11:23 AMYeah! I know the difference between chacked ans uncheked exceptions, and how sprign work with exceptions. This is the reason for my comments and suggestions.
I think you don`t understand me, and because hope is not enough I try to explain me (maybe help others):
1.- <error-page> not only work with http errors headers as 404, you can specify a java exception including Exception
2.- In a Servlet you can do wath you need as: send an email or a mobile message to Admin staff, redirect, forward, log or wathever you need. (I think is more than only show an error message).
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/yourServlet</location>
</error-page>By the other hand I can tell you that JSF implement MVC, then JSF need a front controller (the C of MVC), you canf find it into web.xml descriptor, something like this:
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping> Yeah! the controller is a servlet. you can try to extend this class and overwrite some methods.
Maybe you are looking for
-
I'm running Firefox 7.0.1 on Windows 7 I upgraded AVG to 2012.0.1831 Now when I open a new tab it opens to the AVG secure search page This is not a problem but it irritates me How do I get a new tab to open to a blank page?
-
How do I add a hyperlink in keynote
Same question. How do I add a hyperlink to a keynote slide?
-
Multiple values for one variable?
I've created my first set of variables (using Form Properties>Variables), tweeked some XML sourcecode and they're working . What I'm now trying to figure out is how to have one variable that has 2 values that pop up in 2 different text fields. Simpl
-
Problems with synchronize contacts
Hi all, I have a 6288. Works fine, no problems at all. I synchronize my phone with outlook and after that, add new photos to my contacts in phone with resolution 320X240. And after this, I cannot synchronize my phone (anymore) with Outlook. My phone
-
Re : Hw to create a table and insert records using procedures
Hi.. I tried to run a procedure to create tables but is givin an error message "insufficient previlages" and when i tried to run it using a anonymous block i can create the tables..so can any one help me to resolve this issue. Thanks in advance. balv