Getting Error when running sql from concurrent program in R12
Hi All,
I created concurrent program and attached EXECUTABLE which executable method as SQL plus .
Using this program I am running one SQL file in R12 when I am running I am getting below error .
Same king of program I have define in 11i and running it is running can anyone please help me if I need to do any set ups or security thing to resave this problem.
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_identifier>] | /
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_identifier>] | /
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 3162719.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Regrds,
Sridhar.
user12000862 wrote:
Hi all,
Thanks a lot giving replay below simple code I have put in my SQL file for testing Eventhough it is giving error .
Table which i am using in Apps schema only.
declare
BEGIN
insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
commit;
END;
/Try this instead
WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
WHENEVER OSERROR EXIT FAILURE ROLLBACK;
insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
commit;
exit;HTH
Srini
Similar Messages
-
Getting error when running cmexport from ciscoworks campus manager
When executing cmexport by the command cmexport ut -u cwsiver -p VER143r -host -f /tmp/file.xml
the following error mssg is displayed
Be sure that the ANI Server is processing requests and then use the cmexport command
the DE run good via GUI.
PLATFORM : SUNSOLARIS 2.8
JAVA 1.3.1
Pls give me a solution.
pls email me at [email protected]
thanks
George TitusI found out today the problem was merely a permissions issue. Unfortunately, I don't have root access to the Unix box. The structure of the message "Be sure that the ANI Server is processing requests and then use the cmexport command" didn't appear to be a permissions related problem. I got with the Unix admin, ran the cmexport command and found out it was...
-
Error when run page from jdev10.1.3.3
Hi,
Im getting the following error when running pages from jdev 10.1.3.3. I have loaded all the frequired files from the server(.class and .xml).please help..
Thanks.
## Detail 0 ##
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at oracle.apps.fnd.framework.webui.OAPageContextImpl.putSessionValue(Unknown Source)
at oracle.apps.pos.supplier.webui.ByrAddCntctCO.processRequest(ByrAddCntctCO.java:97)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)The OA Framework forum is available at the following URL:
OA Framework
Regards,
Didier. -
Getting Error when run the custom page in Jdeveloper 10.1.3
Hi Experts,
i am getting error when i run the custom page in jdeveloper10.1.3.does anybody known the solution replay back ASAP.
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 39:
PLS-00103: Encountered the symbol "?" when expecting one of the following:
( ) - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
table continue avg count current exists max min prior sql
stddev sum variance execute multiset the both leading
trailing forall merge year month day hour minute second
timezone_hour timezone_minute timezone_region timezone_abbr
time timestamp interval date
<a string literal with character set specification>
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:75)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
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:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.sql.SQLException: ORA-06550: line 1, column 39:
PLS-00103: Encountered the symbol "?" when expecting one of the following:
( ) - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
table continue avg count current exists max min prior sql
stddev sum variance execute multiset the both leading
trailing forall merge year month day hour minute second
timezone_hour timezone_minute timezone_region timezone_abbr
time timestamp interval date
<a string literal with character set specification>
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
at oracle.sql.TRANSDUMP.getTransitions(TRANSDUMP.java:59)
at oracle.sql.TIMEZONETAB.updateTable(TIMEZONETAB.java:456)
at oracle.sql.TIMESTAMPLTZ.getZoneOffset(TIMESTAMPLTZ.java:1842)
at oracle.sql.TIMESTAMPLTZ.TimeZoneAdjust(TIMESTAMPLTZ.java:1715)
at oracle.sql.TIMESTAMP.TimeZoneConvert(TIMESTAMP.java:677)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.apps.fnd.util.OracleTimezone.convertTimezone9i(OracleTimezone.java:317)
at oracle.apps.fnd.util.OracleTimezone.convertTimezone(OracleTimezone.java:264)
at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:75)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
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:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
java.sql.SQLException: ORA-06550: line 1, column 39:
PLS-00103: Encountered the symbol "?" when expecting one of the following:
( ) - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
table continue avg count current exists max min prior sql
stddev sum variance execute multiset the both leading
trailing forall merge year month day hour minute second
timezone_hour timezone_minute timezone_region timezone_abbr
time timestamp interval date
<a string literal with character set specification>
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
at oracle.sql.TRANSDUMP.getTransitions(TRANSDUMP.java:59)
at oracle.sql.TIMEZONETAB.updateTable(TIMEZONETAB.java:456)
at oracle.sql.TIMESTAMPLTZ.getZoneOffset(TIMESTAMPLTZ.java:1842)
at oracle.sql.TIMESTAMPLTZ.TimeZoneAdjust(TIMESTAMPLTZ.java:1715)
at oracle.sql.TIMESTAMP.TimeZoneConvert(TIMESTAMP.java:677)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.apps.fnd.util.OracleTimezone.convertTimezone9i(OracleTimezone.java:317)
at oracle.apps.fnd.util.OracleTimezone.convertTimezone(OracleTimezone.java:264)
at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:75)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
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:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Thanks
ManjunathHi anil,
please find the error details. based on the error details if i want to change anything in the code please mention it as per your instructions i will change the code.
Error Details
Logout
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OARawTextBean
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2850)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1838)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
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:610)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
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:595)
## Detail 0 ##
java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OARawTextBean
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.findIndexedChild(OAPageLayoutBean.java:1392)
at oracle.apps.per.common.webui.PerTransactionTopCOImpl.renderGlobalContext(PerTransactionTopCOImpl.java:884)
at oracle.apps.per.common.webui.PerTransactionTopCOImpl.init(PerTransactionTopCOImpl.java:197)
at oracle.apps.per.common.webui.PerTransactionTopCOImpl.processRequest(PerTransactionTopCOImpl.java:279)
at oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl.processRequest(PerOAControllerImpl.java:530)
at oracle.apps.per.wpm.objectives.webui.ObjectivesPageCO.processRequest(ObjectivesPageCO.java:69)
at oracle.apps.per.wpm.objectives.webui.EmpFinObjectivesPageCO.processRequest(EmpFinObjectivesPageCO.java:53)
at db.oracle.apps.per.wpm.objectives.webui.DBEmpFinObjectivesPageCO.processFormRequest(DBEmpFinObjectivesPageCO.java:31)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2846)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1838)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
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:610)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
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:595)
java.lang.ClassCastException: oracle.apps.fnd.framework.webui.beans.OARawTextBean
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.findIndexedChild(OAPageLayoutBean.java:1392)
at oracle.apps.per.common.webui.PerTransactionTopCOImpl.renderGlobalContext(PerTransactionTopCOImpl.java:884)
at oracle.apps.per.common.webui.PerTransactionTopCOImpl.init(PerTransactionTopCOImpl.java:197)
at oracle.apps.per.common.webui.PerTransactionTopCOImpl.processRequest(PerTransactionTopCOImpl.java:279)
at oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl.processRequest(PerOAControllerImpl.java:530)
at oracle.apps.per.wpm.objectives.webui.ObjectivesPageCO.processRequest(ObjectivesPageCO.java:69)
at oracle.apps.per.wpm.objectives.webui.EmpFinObjectivesPageCO.processRequest(EmpFinObjectivesPageCO.java:53)
at db.oracle.apps.per.wpm.objectives.webui.DBEmpFinObjectivesPageCO.processFormRequest(DBEmpFinObjectivesPageCO.java:31)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2846)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1838)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
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:610)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
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:595)
Logout
Copyright (c) 2006, Oracle. All rights reserved. -
Getting error when running process flows in oem
Hi all,
I'm trying to run a process flow in oem (using oem_exec_template.sql script), but it keeps failing with error "nms-1013: sqlplus does not exist". I tried running a map too and it failed with same message.
Any idea anyone?
Thanks!
YanetHi,
Looks like you have an obvious code error, invalid cast operation in your code. Do you get this error when running in local emulator.
You can try the following article on how to debug published cloud service, assuming you have VS ultimate.
https://msdn.microsoft.com/en-us/library/azure/ff683671.aspx
Regards,
Nithin Rathnakar -
Getting error when running PRC: Transaction Import
Hi Folks
Am getting an error when running PRC: Transaction Import to transfer time entries from OTL to Projects.
Has anybody encountered this before?
"MSG-20002: ORA-20002: pre_import:ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "APPS.PA_TRX_IMPORT", line 7549"
If yes, please let me know the resolution.
Kind Regards
Srini.Pl see if MOS Doc 117395.1 (Transaction Import Interface Troubleshooting Guide) can help
HTH
Srini -
Loading script "script path-name" failed (0xC0000006) error when running scripts from DFS
We have this issue where any number of random scripts that execute at startup will produce the following error when run from DFS:
The status code for this error equates to STATUS_IN_PAGE_ERROR - The instruction at 0x%p referenced memory at 0x%p. The required data was not placed into memory because of an I/O error status of 0x%x.
This does not always happen each time and the script can be random. If we move the script(s) to a non DFS, we do not see this. I believe the issue is being caused by a minute disconnect to the DFS for whatever script is attempting to execute at that
moment. This happens across a few (consistent) offices on different computers.
Any ideas?Hi,
According to your description, my understanding is that you run scripts in a shared folder which is added to a DFS Namespace, then the error prompt. However, you can run the scripts when you directly access the shared folder.
What scripts did you run? Is there any error message in the Event Log? If so, please provide us the detailed error message for our further research.
Best Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
I get errors When running the example programs SampleMetadataDiscoverer10g
I installed database is 10g release 2 on Windows XP,and AWM version is 102010A.
When running the example programs SampleMetadataDiscoverer10g.java to get the OLAP metadata,I get the following errors:
oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-37158: CLOB 或可变数组输入参数错误: (情形 6)
ORA-06512: 在 "SYS.GENSERVERINTERFACE", line 46
ORA-06512: 在 line 1
at oracle.express.idl.ExpressConnectionModule.ServerInterfaceStub.connect(ServerInterfaceStub.java:694)
at oracle.express.olapi.data.full.ExpressDataProvider.connect(ExpressDataProvider.java:436)
at oracle.express.olapi.data.full.ExpressDataProvider.initialize(ExpressDataProvider.java:282)
at oracle.olapi.examples.chapter4.MyConnection10g.connectToDB(MyConnection10g.java:126)
at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.initialize(SampleMetadataDiscoverer10g.java:57)
at oracle.olapi.examples.BaseExample.execute(BaseExample.java:32)
at oracle.olapi.examples.BaseExample.execute(BaseExample.java:46)
at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.main(SampleMetadataDiscoverer10g.java:44)
Closing JDBC connection.
Closed the connection.
please..can someone give me some advice? thanks!I got the same error while doing "dp.initialize()"
I fixed this error by chang the the "olap_api.jar class12.jar" to "o4j.jar".
But i can't explain that.
Can anyone tell me why?
By the way , the "olap_api.jar class12.jar" are copy from the %ORACLE_HOME%\10.2.0\db_1\olap\api\lib . -
Connection error when running sql*plus from within a Makefile
As part of our build process the commands to install/update our database schema are executed from a Makefile (along with all the other build/test commands). We've been running our build under several system configurations, but have hit a hitch with one specific one. So far this has worked with Windows XP (cygwin) against a Express Edition DB and Red Hat ES 5 against Oracle 11g.
I am now trying to get the build running on a Ubuntu 8.04 workstation with the Oracle Express Edition installed. From the command line I can execute a simple command line such:
echo "SELECT 5 as foo from dual"|sqlplus user/password
Now if I put the same command in a Makefile, I receive the following error message:
ERROR:
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux Error: 22: Invalid argument
Additional information: 1
Additional information: 32769
This error seems to pop up a lot when a client is not properly configured (atleast the googling I've done has said as much), but my client is clearly working as I can connect outside of the Makefile. Is there possible some info that gets lost when make executes the process? Any ideas of what I could do to fix this?see 115753.1 note on metalink , it clearly explains why you are encountering this .
-
Getting errors when trying to execute CRUD programs
Hi All
I am trying to execute one of the CRUD programs for creating , updatying or deleting data in MDM server and a m getting a few errors .Could anybody advise.
Created on Jun 6, 2007
package com.sap.nw.mdm.rig;
import com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram;
import com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram;
import com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram;
import com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram;
import com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram;
import com.sap.nw.mdm.rig.programs.data.search.SearchProgram;
import com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram;
import com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram;
import com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram;
import com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram;
import com.sap.mdm.data.RegionProperties;
import com.sap.nw.mdm.rig.repository.Repository;
import com.sap.nw.mdm.rig.server.Server;
This class is the starting point to execute all sample programs.
To see a description of the various programs you can execute, please have a look at the
documentation for the following classes. There are static variables in each of these
classes that point to the various programs that can be executed with a description of
what the program does.
<ul>
<li>{@link com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.SearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram}
</ul>
@author Richard LeBlanc
public class Application {
private Application() {
Starts the application and executes a program
@param args - not required
static public void main(String[] args) {
System.out.println("876876");
Application app = new Application();
System.out.println("11111");
Program program = null;
System.out.println("22222");
Simply uncomment the line that contains the program you wish to execute and run this class.
Blob Programs
// program = BLOBDataProgram.RETRIEVE_AND_WRITE_IMAGE_TO_FILE;
// program = BLOBDataProgram.RETRIEVE_AND_WRITE_PDF_TO_FILE;
Checkout/Checkin Data Programs
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_CHECK_IN;
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_ROLLBACK;
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_CHECK_IN;
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_ROLLBACK;
Create Read Update Delete (CRUD) Data Programs
// program = CRUDDataProgram.CRUD_HIERARCHY_TABLE;
program = CRUDDataProgram.CRUD_MAIN_TABLE;
// program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_FLAT_AND_HIERARCHY_LOOKUP_FIELDS;
// program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_QUALIFIED_LOOKUP_FIELD;
// program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_TAXONOMY_LOOKUP_FIELD;
// program = CRUDDataProgram.CRUD_TAXONOMY_TABLE_WITH_ATTRIBUTES;
System.out.println("333333");
Bulk Create Read Update Delete (CRUD) data programs
(many records at once)
// program = BulkCRUDDataProgram.BULK_CRUD_MAIN_TABLE;
KeyMapping Programs
// program = KeyMappingProgram.RETRIEVE;
Search Programs
// program = SearchProgram.DRILL_DOWN_SEARCH;
// program = SearchProgram.KEYWORD;
// program = SearchProgram.MASK;
// program = SearchProgram.NAMED_SEARCH;
// program = SearchProgram.QUALIFIER;
Attribute Search Programs
// program = AttributeSearchProgram.COUPLED_NUMERIC;
// program = AttributeSearchProgram.NUMERIC;
// program = AttributeSearchProgram.TEXT;
Field Search Programs
// program = FieldSearchProgram.BOOLEAN;
// program = FieldSearchProgram.CURRENCY;
// program = FieldSearchProgram.LITERAL_DATE;
// program = FieldSearchProgram.LOOKUP;
// program = FieldSearchProgram.TEXT;
Syndication Programs
// program = SyndicationProgram.SYNDICATE_PORT;
Workflow Programs
// program = WorkflowProgram.EXECUTE;
//TODO enter MDS name
String mdsName = "172.18.139.200"; //the name of the Master Data Server
String repositoryName = "GDS_1"; //make sure this is the name you use when unarchiving
//the repository otherwise change it to reflect the name
//of your repository
String regionName = "English [US]";
String userName = "Admin"; //there is an admin user with no password in the provided repository
String password = ""; //there is an admin user with no password in the provided repository
System.out.println("67r86587");
app.start(mdsName, repositoryName, regionName, userName, password, program);
Establishes a connection to the given server and logs in to the given repository
with the given logon information and executes the given program
private void start(String serverName, String repositoryName, String regionName,
String user, String password, Program program) {
//Create an instance of the MDS
Server server = Server.getInstance(serverName);
System.out.println("444444");
//Get the list of running repositories from the server
Repository[] repositories = server.getRepositories();
System.out.println("5555");
Repository repository = null;
//Go through the list of repositories and see if any match the
//given repository name
for(int i=0, j=repositories.length; i<j; i++){
System.out.println("666666bbye");
if(repositories<i>.getIdentifier().getName().equals(repositoryName)) {
System.out.println(" hello" +repositoryName);
repository = repositories<i>;
System.out.println(" hi" + repository);
//Get the list of regions for the repository
RegionProperties[] regions = repository.getRegions();
RegionProperties region = null;
//Go through the list of regions and see if any match the given
//repository name
for(int i=0, j=regions.length; i<j; i++){
System.out.println(" hello");
if(regions<i>.getName().equals(regionName)) {
region = regions<i>;
System.out.println(" 99999" +region);
//Login to the repository as you would using the Data Manager
//This creates a user and repository session that are available using
//repository.getSession()
repository.login(region, user, password);
//execute the program from the list above
program.execute(repository);
System.out.println(" finally");
//destroy the session (destroys the repository and user sessions)
repository.getSession().destroy();
//close the connection to the MDS
repository.getServer().closeConnection();
I am getting the following errors:
Exception in thread "main" java.lang.IllegalArgumentException: Table with Code 'Products' does not exist in the repository 'GDS_1'
at com.sap.mdm.internal.schema.RepositorySchemaImpl.getTableSchema(RepositorySchemaImpl.java:136)
at com.sap.nw.mdm.rig.programs.data.crud.CRUDMainTableRecordProgram.execute(CRUDMainTableRecordProgram.java:33)
at com.sap.nw.mdm.rig.Application.start(Application.java:211)
at com.sap.nw.mdm.rig.Application.main(Application.java:157)Hi Stephen,
I assume that a super admin user does not get these error messages, right? If so, this behaviour might come due to missing permissions on PCD objects for the user rubinmd. Please apply note 792370 which explains how to set end user permission on the pcd folder com.sap.ip.collaboration/Rooms
Kind regards,
Roland -
Winsock error when running SQL Server Stored Proc
I have a SQL Server stored procedure that is trying to read emails from an IMAP server (I am using mail.dll from www.limilabs.com).
The SP works fine on my local computer/db, and the code also runs fine when run from a console application on my remote server. When I try to run it from SQL Server however I get this error message:
Msg 6522, Level 16, State 1, Procedure GetEmails, Line 0A .NET Framework error occurred during execution of user-defined routine or aggregate "GetEmails": Limilabs.Client.ServerException: The requested name is valid, but no data of the requested type was found ---> System.Net.Sockets.SocketException: The requested name is valid, but no data of the requested type was foundSystem.Net.Sockets.SocketException: at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostAddresses(String hostNameOrAddress) at System.Net.Sockets.Socket.Connect(String host, Int32 port) at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)Limilabs.Client.ServerException: at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL) at StoredProcedures.GetEmails()
I suspect it is something to do with permissions (??) but it is beyond my knowledge of SQL Server. Anyone have some pointers? I am using the IP for the IMAP server, I have switched off the firewall.
ThanksReading emails in a stored procedure? Hm...
Unless you are impersonating the actual user in your CLR procedure, the access will be under the service account for SQL Server. If this is Local Servic or similar and may not have the permission or configuration to access whatever System.Net.Dns.InternalGetHostByName
is trying to access.
Try running SQL Server under a domain account to see what happens.
Erland Sommarskog, SQL Server MVP, [email protected] -
ODI 11g error when running scenario from startscen
Hi,
I'm getting the following error when trying to run the scenario using a standalone agent:
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 6, in ?
ImportError: no module named re
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2375)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1616)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1581)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
Everything runs fine from the Designer. I can execute the scenarion using the agent from Designer no problem.
Any idea on this error? Sounds like a path error, but I've checked everything.
Thanks in advance.
NickI believe i have the answer.
When are you are triggering via ODI Designer its going and reading from this folder path Oracle_ODI1\oracledi.sdk\lib
Now there is another Folder called Lib which has the re.py causing which enables Designer to run the re module perfectly.
When the same scenarios is being called via startscen it reads the Oracle_ODI1\oracledi\agent\lib and here there is Jython.jar is there but Lib which contains the re.py is missing.
Temporary Solution - Copy the Lib from Oracle_ODI1\oracledi.sdk\lib to Oracle_ODI1\oracledi\agent\lib and call your startscen again .It should work.
The reason i am calling this a temporary solution is that we would need to modify the odiparams accordingly to read from the right path namely(Lib) and i dont have much time to look at it now. i will look into it later.
You can try if this works and if you want you can check with metalink if there is proper solution or reach Oracle Support for more appropriate solution or any other experts who have experinced the same can update the solution. -
Errors when running db_stat from command line
Hi,
I'm trying to use db_stat at the command line to generate statistics.
However, I keep getting errors. I cannot use the db->stat call
because this is to be done at a customer site using their existing binary.
Note that the call to db_stat -m fails, while the call to db_stat -d <dbname>
prints an error/warning then appears to succeed.
Most likely, there is some usage subtlety that I have missed.
Any suggestions about what I have done wrong?
I am using BDB 4.6.21 on Windows. Databases are created inside a
db environment.
Here is a transcript:
C:\Program Files\SonicWallES\PluginDefault\collab\data>dir __*
Volume in drive C has no label.
Volume Serial Number is 7084-88E3
Directory of C:\Program Files\SonicWallES\PluginDefault\collab\data
08/07/2008 07:11 PM 24,576 __db.001
08/07/2008 07:11 PM 65,536 __db.002
08/07/2008 07:11 PM 270,336 __db.003
08/07/2008 07:11 PM 499,712 __db.004
4 File(s) 860,160 bytes
0 Dir(s) 2,177,224,704 bytes free
C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -m
db_stat.exe: __db.001: unable to find environment
db_stat.exe: DB_ENV->open: No such file or directory
C:\Program Files\SonicWallES\PluginDefault\collab\data>dir ..
Volume in drive C has no label.
Volume Serial Number is 7084-88E3
Directory of C:\Program Files\SonicWallES\PluginDefault\collab
08/18/2008 12:44 PM <DIR> .
08/18/2008 12:44 PM <DIR> ..
08/07/2008 10:09 PM 2,646,016 c_thumbprint.db
09/05/2008 03:08 PM <DIR> data
07/16/2008 06:43 PM <DIR> dbs
08/07/2008 10:09 PM 42,131,456 e_thumbprint.db
08/07/2008 10:09 PM 10,485,760 f_thumbprint.db
08/07/2008 10:09 PM 5,226,496 g_thumbprint.db
08/07/2008 10:09 PM 41,869,312 h_thumbprint.db
08/07/2008 10:09 PM 41,926,656 i_thumbprint.db
08/09/2008 02:47 AM <DIR> old_data
08/07/2008 10:09 PM 10,633,216 p_thumbprint.db
08/14/2008 05:26 PM 1,749 redirect.xml
09/08/2008 04:12 PM <DIR> sn_data
08/07/2008 10:09 PM 78,725,120 t_thumbprint.db
08/07/2008 10:10 PM 42,074,112 v_thumbprint.db
08/07/2008 10:50 PM 335,790,080 x_thumbprint.db
11 File(s) 611,509,973 bytes
6 Dir(s) 2,177,224,704 bytes free
C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -d ..\x_thumbprint.db
db_stat.exe: __db.001: unable to find environment
Mon Sep 08 16:17:01 2008 Local time
61561 Hash magic number
9 Hash version number
Little-endian Byte order
Flags
8192 Underlying database page size
0 Specified fill factor
4882732 Number of keys in the database
4882732 Number of data items in the database
24548 Number of hash buckets
35M Number of bytes free on bucket pages (82% ff)
0 Number of overflow pages
0 Number of bytes free in overflow pages (0% ff)
8220 Number of bucket overflow pages
32M Number of bytes free in bucket overflow pages (51% ff)
0 Number of duplicate pages
0 Number of bytes free in duplicate pages (0% ff)
1 Number of pages on the free listIf I'm reading your code correctly, you're starting a Korn shell session, then executing your C shell script as if you were at at the session window's prompt. If that is correct, you haven't caused your standard out (stdout) to hit ENTER yet. I'm not an expert, but I hope this works for you.
Your code:
Process Child = runtime.exec("/usr/bin/ksh"); // execute command
BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
outCommand.write("/home/mypath/tesh.csh");
outCommand.flush();I think you need to enter one extra line before the flush():
Process Child = runtime.exec("/usr/bin/ksh"); // execute command
BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
outCommand.write("/home/mypath/tesh.csh");
outCommand.newLine(); // hit ENTER
outCommand.flush();P.S. If you're running this script and your Java program from the same UNIX machine, you could just execute the shell script inside the runtime.exec() call. -
Internal server error when running report from form
i am getting the following error when I run a report from a form using 9i:
java.lang.NumberFormatException: mgb_5
this is my code:
DECLARE
repid REPORT_OBJECT;
vc_rep VARCHAR2(20);
vc_URL VARCHAR2(100);
vc_rep_job VARCHAR2(10);
BEGIN
repid := find_report_object('rep2');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'C:\uni\mdt\cw1\rep2.rdf');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'htmlcss');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER,'rep_mgb');
vc_rep := RUN_REPORT_OBJECT(repid);
vc_rep_job := substr(vc_rep,instr(vc_rep,'_')+1);
vc_URL := '/reports/rwservlet/getjobid' ||vc_rep_job||'?server='||get_report_object_property (repid,report_server);
web.show_document(vc_url, '_blank');
END;Michael,
print out "vc_rep_job" to a message or alert to see if this contains a valid number. If this shows as a valid number try to manually type the access URL into a browser URL field. If this shows then you have a hidden character within your URL.
The PLSQL code looks okay.
Frank -
Table Maintainance Generated but getting error when running SM30
Hi Experts,
I am modifying existing ZTable with around 31 fields and Maintainance was not allowed before also no Table maintainance was there. Now i have changed the attributes to allow maintainance and tried creating Table Maintainance generator.
The TMG get created sucessfully but get error message when running SM30 for the Ztable with Run time error saying Coversion Error .
Error Analysis says :
Program SAPLZNMSLG attempted to display the fields of screen 0005 and error occured during the coversion of this data.
Can any one let me know what happened? Expecting replies at the earliest.
Thanks
SmitaHi,
In Text I/O Template Tab each field name will be there with Column- Name, Type and Text Or I/O Field
Go to Text OR I/O Field (Fields Wherever u have negative value).
Name Type Text Or I/O Field
vbak-menge I/O _.___.___.___,____V
Just add existing blank field ending with V.
Regards,
Nandha
Maybe you are looking for
-
UIX- How to populate values from one view to the other- JDev10.1.2
Hi, I have an enquiries table shown in a uix page. Once a user selects a particular enquiry, some of the details should be passed on to the Student Master table which is on a seperate UIX page. Could some one tell me how to achieve this.
-
Lvrt.dll crash LV2010SP1
Problem Event Name: APPCRASH Application Name: Test.exe Application Version: 1.0.0.0 Application Timestamp: 4d2fa0d5 Fault Module Name: lvrt.dll Fault Module Version: 10.0.1.4002 Fault Module Timestamp: 4d2fb3a1 E
-
Safari 5.6 crashes on 10.5.8
Unable to open new windows. If I try to go to a page in history, Safari crashes. Problem report: Process: Safari [202] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.6 (5
-
I have a app open on my macBook Pro and the top bar is above the top menu bar and I cannot grab it to drag it down. How can I get to it? It looks like a windows app so it does not have the red, yellow or green buttons.
-
Hi, Please correct me if I am wrong ! we build our interfaces on SWCV's. It's fine .......if we see for example for SAP R/3 we have SWCV's like this SAP R/3 3.0F, 3.1G, 3.1H, 3.1I, 4.0A, 4.0B, 4.5A, 4.5B, 4.6A, 4.6B, 4.6C. Basically these components