Urgent: Publisher scheduling error while FTP
Hi team,
i m trying to ftp a file on one of the windows server via Publisher.But i get this error.
oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.StringIndexOutOfBoundsException
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1621)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1088)
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1431)
... 3 more
Can you please help me out with this?
Edited by: Bhupendra Gupta on Aug 25, 2009 5:36 AM
You might want to try this forum for Publisher: BI Publisher
And for "Urgent" questions you should be raising an SR with Oracle.
Similar Messages
-
BI Publisher scheduler error ,plz help me how to fix these kind of errors
BI publisher scheduler error while we schedule the report in BIP.
Guide me what need to be done .... many of reports are running and failed everyday.
Help me regarding the issue..
Thanks,
RamTake a look at this thread if you haven't already: Re: Schedule problems
Based on the error message, it appears to be an issue with privileges. Make sure the user specified in the error message has the privilege to access the report.
Also I believe usernames are case sensitive, so check that out as well.. -
Error while FTP ing BI Publisher Report
The following Error is occured while FTPing a BI publisher report. The scheduling was running fine for the lase 1 year .But this error is occuring in production schedule of the ftp for the last 2 days.When I do the FTP by 'Run Immediately' manually it works fine.
oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:4621] Document file to deliver not found : /u01b/obiee/OracleBI/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xdo/cache/xmlp7057786.tmp
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1131)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)Duplicate post.
Error is occured while FTPing a BI publisher report
Error is occured while FTPing a BI publisher report
"BI Publisher" is the appropriate forum for such questions.
Thanks,
Hussein -
Hi Experts,
i scheduled some of my BIP reports integrated with siebel. I Notice that if i schedule a report to genreate a 1.5k+ records i always received this kind of error :
oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.data.DataException: Requested data type does not match with existing data type
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:983)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:418)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: oracle.apps.xdo.servlet.data.DataException: Requested data type does not match with existing data type
at oracle.apps.xdo.servlet.data.server.DefaultDataSet.getString(DefaultDataSet.java:178)
at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:173)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:413)
at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:362)
at oracle.apps.xdo.servlet.CoreProcessor.generateScheduledDocument(CoreProcessor.java:114)
at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:357)
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:977)
... 3 more
Do you have any idea what can be the solution to solve this issue?check this link BI Publisher Scheduling Problem
-
Urgent...Error while running a jsp report in Jdeveloper
Hi,
I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
Error details:
Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
Reports Error Page
Wed Oct 17 20:03:22 IST 2007
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
at MyReport.jspService(MyReport.jsp:4)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Could anyone help me out in resolving this issue.
Thanks
Siva...Hi,
I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
Thanks
Siva... -
Urgent:-REP-50152: Error while sending mail
hi
i am using reports10g. i have called a report from a form and destype=mail.
i have already mention the smtp server name in conf. file but still receiving this error
REP-50152: Error while sending mail - Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [email protected]
thanksYour smtp server forbids relaying, which is very common. Often a smtp server is configured to send only mails within the same domain without authentication. Otherwise, you need a username and password for the smtp server. I'm not sure if you can configure Reports to send mail through an authenticated server.
-
Hi,
I am trying to schedule a report to run in BI Publisher and it fails with the following error:
Message oracle.apps.xdo.servlet.scheduler.ProcessingException: javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:959)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:404)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:40)
at oracle.apps.xdo.servlet.data.DataException.<init>(DataException.java:44)
at oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.callDataEngine(SQLBoundValue11.java:741)
at oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.processData(SQLBoundValue11.java:501)
at oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.getXML(SQLBoundValue11.java:865)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:408)
at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:420)
at oracle.apps.xdo.servlet.CoreProcessor.generateScheduledDocument(CoreProcessor.java:115)
at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:337)
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:953)
... 3 more
Any help would be appreciated.
Thanks.
VinnieEven I got the similar error.
How to resolve it?
oracle.apps.xdo.servlet.scheduler.ProcessingException: javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:945)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:404)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: javax.naming.NamingException: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Unknown Source)
at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:40)
at oracle.apps.xdo.servlet.data.DataException.<init>(DataException.java:44)
at oracle.apps.xdo.servlet.data.bind.ConcatenateBoundValue.process(ConcatenateBoundValue.java:139)
at oracle.apps.xdo.servlet.data.bind.ConcatenateBoundValue.getXML(ConcatenateBoundValue.java:183)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:408)
at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:400)
at oracle.apps.xdo.servlet.CoreProcessor.generateScheduledDocument(CoreProcessor.java:114)
at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:358)
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:939) -
URGENT!! Error While Running Tutorial Test Page.
Hi,
We have been facing an issue while setting up the JDeveloper and running the test page.
ERROR IS:
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1142)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
at OA.jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:3931)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:786)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
at OA.jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = fnd; (Could not lookup message because there is no database connection)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:3931)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:786)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
at OA.jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
=============================================================
=============================================================
The msgs that are coming up in the embedded oc4j log is:
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\JDEV\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\JDEV\jdevbin\j2ee\home\oc4j.jar;C:\JDEV\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\JDEV\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\JDEV\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Dhttp.proxyHost=proxy.mtn.co.za -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=196.13.231.*|webmail.mtn.co.za|autodiscover.mtn.co.za|10.204.5.2|10.204.5.1|*.thecomputerpeople.co.za|virtual.thecomputerpeople.co.za|oms.thecomputerpeople.co.za|*.rentamobile.co.za|*.rentatomtom.co.za|*.mobilesolutions.co.za|*.yelloworld.co.za|*.yellostg.co.za|*.yellodev.co.za|10.217.200.91|eprowebserver.mtn.co.za|10.217.205.64|*.mtn.com|196.11.240.*|196.13.230.*|*.mtnactive.co.za|*.yellomtn.com|*.yellomtn.co.za|*.mtn.co.za -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\JDEV\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 1484 ms.
Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
Tutalii: C:\JDEV\jdevbin\jdev\appslibrt\iasjoc.zip archive
ICX DIAGNOSTIC: FND_TOP = C:\JDEV\jdevhome\jdev\dbc_files\
ICX DIAGNOSTIC: application_id = 601
ICX DIAGNOSTIC: responsibility_id = 24742
ICX DIAGNOSTIC: security_group_id = 0
ICX DIAGNOSTIC: mEncryptedSessionID = VOJ1vU0LWyvpCvPMgp0CPqNg:S
ICX DIAGNOSTIC: mSessionID = 1874125765
ICX DIAGNOSTIC: mTransactionID = 1962477773
==========================================================
==========================================================
We have setup the same JDEV patch on 2 machines having the same DBC files and the same application logins as well as the same responsibility keys.
But it is working fine on one machine and we are able to run the test page as well as any custom page that we are developing.
but on one machine we are unable to run even the test page.
Both are also on the same network.
We are struck as we are unable to do any work.
Could anyone please suggest any solution to this.
I have gone through the numerous posts regarding this kind of error, but have not been yet able to resolve.
ThanksAs per error message, the problem is with the Database connection.
Check again if your using wright dbc file, you can check it through connection string given in the dbc file
and also try connecting the database through sql developer.
--prasanna -
Urgent please -- got error while doing a simple update -- Thanks:)
Hi guys,
I have a procedure that updates a table, when I run the update manually from sqlplus it works and when I run the procedure by it self from sqlplus it also works the problem comes when I call that procedure from another procedure that I have I get the following error:
ERROR at line 1:
ORA-20998: Transaction Failed
ORA-06512: at "HSO.QMS$ERRORS", line 128
ORA-06512: at "HSO.QMS_TRANSACTION_MGT", line 900
ORA-06512: at "IAIGC.CG$AUS_CSH_LEDGER_HEADER", line 115
ORA-04088: error during execution of trigger 'IAIGC.CG$AUS_CSH_LEDGER_HEADER'
ORA-06512: at "IAIGC.CSH_GL_PKG", line 7634
ORA-06512: at "IAIGC.CSH_GL_PKG", line 266
ORA-06512: at line 1
This procedure was working fine until I took an export of my production dB and import it in my test database to test a fix in a diff procedure, here is my code
================================================
BEGIN
-- Get the Last day in the period
v_date := last_day(to_date(p_period,'RRRRMM'));
-- delete the trail revaluation etries from the detail
delete from csh_v_ledger_detail
where leh_period = p_period
and leh_own_id = p_own_id
and leh_jv_type in ('PR','RV');
-- delete the trial revaluation etries from the header
/*delete from csh_v_ledger_HEADER
where period = p_period
and own_id = p_own_id
and jv_type in ('PR','RV');
-- adjust difference between debit and credit in jvs
-- update balances
FOR ret_rec IN c_gen_mon_bal(v_date) LOOP
-- initialize balances for each account
v_bal_base := 0;
v_bal_fc := 0;
v_end_bal_fc := 0;
v_end_bal_base := 0;
v_trn_dr_fc := 0;
v_trn_cr_fc := 0;
v_trn_dr_base := 0;
v_trn_cr_base := 0;
v_ins := 0;
-- Get Beginning Balances for the period from the
-- csh_balances table
BEGIN
select round(amount_base,ret_rec.own_dec)
,round(amount_fc,ret_rec.bal_dec)
into v_bal_base
,v_bal_fc
from csh_balances
where gla_id = ret_rec.gla_id
and period = p_period
and own_id = p_own_id;
v_ins := 0;
EXCEPTION
WHEN NO_DATA_FOUND THEN v_bal_fc := 0;
v_bal_base := 0;
v_ins := 1;
END;
-- Get the sum of all debit and credit transaction
-- from the transactions table for the current month
select sum(round(entered_dr,ret_rec.bal_dec))
,sum(round(entered_cr,ret_rec.bal_dec))
,sum(round(accounted_dr,ret_rec.own_dec))
,sum(round(accounted_cr,ret_Rec.own_dec))
into v_trn_dr_fc
,v_trn_cr_fc
,v_trn_dr_base
,v_trn_cr_base
from csh_v_ledger_detail
where gla_id = ret_rec.gla_id
and to_char(leh_value_date,'RRRRMM') = p_period
and leh_own_id = p_own_id
and leh_closed_flag = 'N';
-- Add Balances for the month to all the transactions
v_end_bal_fc := nvl(v_bal_fc,0) - nvl(v_trn_dr_fc,0) + nvl(v_trn_cr_fc,0);
v_end_bal_base := nvl(v_bal_base,0) - nvl(v_trn_dr_base,0) + nvl(v_trn_cr_base,0);
-- Get the exchange rate for the month
v_rate := csh_acc_pkg.csh_get_rate(p_own_id,ret_rec.cur_id,v_date,'ACC');
if v_ins = 1 then
insert into csh_balances(
OWN_ID
,GLA_ID
,MONTH_END
,AMOUNT_BASE
,AMOUNT_FC
,CONVERSION_RATE
,PERIOD_STATUS
,PERIOD)
values(
p_own_id
,ret_rec.gla_id
,v_date
,v_end_bal_base
,v_end_bal_fc
,v_rate
,'C'
,p_period);
else
update csh_balances
set amount_fc = v_end_bal_fc,
amount_base = v_end_bal_base,
period_status = 'C',
conversion_rate = v_rate
where gla_id = ret_rec.gla_id
and period = p_period
and own_id = p_own_id;
end if;
END LOOP;
/* update csh_v_ledger_header
set closed_flag = 'Y'
where own_id = p_own_id
and period = p_period
and closed_flag = 'N'; */
csh_gl_pkg.csh_upd_leh_close(p_own_id,p_period);
END;
================================================There is a messages.sql script available at the hst\scripts folder of your headstart installation. When you run this script the error stack will be written to the output, this might give you the information why the procedure fails.
-
Urgent Help Needed : Error While deploying the composite to soa server
Hi ,
I an facing an issue in the deployment of the composite:
The error says that:
[12:50:56 PM] Error deploying archive sca_Project8_rev1.0.jar to partition "default" on server soa_server1 [http://ocmappsvr.outrigger.lan:8001]
[12:50:56 PM] HTTP error code returned [500]
[12:50:56 PM] Error message from server:
There was an error deploying the composite on soa_server1: Deployment Failed: Error occurred during deployment of component: BPELProcess1 to service engine: implementation.bpel, for composite: Project8: ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "BPELProcess1" of composite "default/Project8!1.0*soa_16d80d3c-15dd-43c7-93e9-34a1e2398035"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
[12:50:56 PM] Check server log for more details.
[12:50:56 PM] Error deploying archive sca_Project8_rev1.0.jar to partition "default" on server soa_server1 [http://ocmappsvr.outrigger.lan:8001]
[12:50:56 PM] #### Deployment incomplete. ####
[12:50:56 PM] Error deploying archive file:/C:/JDeveloper/mywork/Application10/Project8/deploy/sca_Project8_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
I have noticed the following behaviour in the soa server:
1.When i try to deploy a composite without any bpel ,it gets deployed without any error
2.composite with bpel specification 2.0 gets deployed without any error
3.composite with bpel specification 1.1 doen not get deployed . throws the above mentioned classpath error
4. In the composite with bpel specification 1.1 when i replace the namespace "http://schemas.xmlsoap.org/ws/2003/03/business-process/"(comes with the BPEL 1.1 spec) with "http://docs.oasis-open.org/wsbpel/2.0/process/executable" (comes with BPEL 2.0 spec) ,it gets deployed without any error.
I really dont understand why this is happening.
This is coming up in the production environment so i can not uninstall the soa server or create a new domain.
Kindly help.
Regards,
RakshithaHi ,
Additional to the Above error details my BPEL code looks like this:
<process name="BPELProcess1"
targetNamespace="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:client="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<partnerLinks>
<partnerLink name="bpelprocess1_client" partnerLinkType="client:BPELProcess1" myRole="BPELProcess1Provider" partnerRole="BPELProcess1Requester"/>
</partnerLinks>
<variables>
<variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
<variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
</variables>
<sequence name="main">
<receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:BPELProcess1" operation="process" variable="inputVariable" createInstance="yes"/>
<invoke name="callbackClient" partnerLink="bpelprocess1_client" portType="client:BPELProcess1Callback" operation="processResponse" inputVariable="outputVariable"/>
</sequence>
</process>
Kindly help if anyone has faced this Issue before.
Regards,
Rakshitha -
Very urgent help needed- Error while passing XML document to Oracle stored
Hi !
I have been struggling a lot to call Oracle 9i stored procedure passing Stringbuilder object type from ASP.NET
I am using Visual Studio 2008 Professional, OS: Windows XP and Oracle: 9.2.0.1.0
Following is the procedure:
CREATE or REPLACE PROCEDURE loadCompanyInfo (clobxml IN clob) IS
-- Declare a CLOB variable
ciXML clob;
BEGIN
-- Store the Purchase Order XML in the CLOB variable
ciXML := clobxml;
-- Insert the Purchase Order XML into an XMLType column
INSERT INTO companyinfotbl (companyinfo) VALUES (XMLTYPE(ciXML));
commit;
--Handle the exceptions
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20101, 'Exception occurred in loadCompanyInfo procedure :'||SQLERRM);
END loadCompanyInfo ;
And following is the ASP.net code:
StringBuilder b = new StringBuilder();
b.Append("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");
b.Append("<item>");
b.Append("<price>500</price>");
b.Append("<description>some item</description>");
b.Append("<quantity>5</quantity>");
b.Append("</item>");
//Here you'll have the Xml as a string
string myXmlString1 = b.ToString();
//string result;
using (OracleConnection objConn = new OracleConnection("Data Source=testdb; User ID=testuser; Password=pwd1"))
OracleCommand objCmd = new OracleCommand();
objCmd.Connection = objConn;
objCmd.CommandText = "loadCompanyInfo";
objCmd.CommandType = CommandType.StoredProcedure;
//OracleParameter pmyXmlString1 = new OracleParameter("pmyXmlString1", new OracleString(myXmlString1));
objCmd.Parameters.Add("myXmlString1", OracleType.clob);
objCmd.Parameters.Add(myXmlString1).Direction = ParameterDirection.Input;
//objCmd.Parameters.Add("result", OracleType.VarChar).Direction = ParameterDirection.Output;
try
objConn.Open();
objCmd.ExecuteNonQuery();
catch (Exception ex)
Label1.Text = "Exception: {0}" + ex.ToString();
objConn.Close();
When I am trying to execute it, I am getting the following error:
Exception: {0}System.Data.OracleClient.OracleException: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'LOADCOMPANYINFO' ORA-06550: line 1, column 7: PL/SQL: Statement ignored at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc) at System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals) at System.Data.OracleClient.OracleCommand.ExecuteNonQueryInternal(Boolean needRowid, OciRowidDescriptor& rowidDescriptor) at System.Data.OracleClient.OracleCommand.ExecuteNonQuery() at Default.Button1Click(Object sender, EventArgs e)
I understand from this that the .net type is not the correct one, but I am not sure how to correct it. I could not find any proper example in any documentation that I came across. Most of the examples give information on how to read but not how to insert XML into Oracle table by calling Stored Procedure.
Can you please help me to solve this problem? I hope that you can help solve this.
Also, can you please give me an example of passing XML document XMLdocument to Oracle Stored procedure.
In both the cases, if you can provide the working code then it would be of great help.
Thanks,Hi ,
Additional to the Above error details my BPEL code looks like this:
<process name="BPELProcess1"
targetNamespace="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:client="http://xmlns.oracle.com/Application10/Project10/BPELProcess1"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<partnerLinks>
<partnerLink name="bpelprocess1_client" partnerLinkType="client:BPELProcess1" myRole="BPELProcess1Provider" partnerRole="BPELProcess1Requester"/>
</partnerLinks>
<variables>
<variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
<variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
</variables>
<sequence name="main">
<receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:BPELProcess1" operation="process" variable="inputVariable" createInstance="yes"/>
<invoke name="callbackClient" partnerLink="bpelprocess1_client" portType="client:BPELProcess1Callback" operation="processResponse" inputVariable="outputVariable"/>
</sequence>
</process>
Kindly help if anyone has faced this Issue before.
Regards,
Rakshitha -
Urgent help needed : Error while creating r-tree index
Hi All:
When i try to create an rtree index on a multipolygon layer am getting the following error . Am using the following statement:
CREATE INDEX SYSTEM.TEST_IDX ON SYSTEM.TEST("GEOMETRY) INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_INDX_DIMS=2')
java.sql.SQLException: ORA-29855: error occurred in the execution of ODCIINDEXCR
EATE routine
ORA-00600: internal error code, arguments: [kope2upic954], [], [], [], [], [], [
Best Regards
Debasish SahuHi,
There is something wrong with the data as you loaded it.
Can you try to validate the geometries?
Thanks,
d -
Urgent Please..Error while configuring SSL protocol
Hi,
I am facing problems when I am trying to configure my WLS 6.0(on
Win 2000) for SSL protocol.I have used the CSR generator to generate
CSR & I have got a trial SSL id from VeriSign.I have now got the
following files:
hercules-key.der(private key generated by CSR generator)
cert.pem (digital certificate from VeriSign)
When I configured the server console with
Server Key file name =./config/mydomain/hercules-key.der
Server Certificate file name=./config/mydomain/cert.pem
Server Certificate chain file name=./config/mydomain/cert.pem
& restarted the server with the following command:
startWeblogic -Dweblogic.management.pkpassword=<the pwd I gave>
I am getting the following error:
<Mar 19, 2001 11:20:11 AM PST> <Alert> <WebLogicServer> <Security
configuration
problem with certificate file ./hercules-key.der, java.io.EOFException>
java.io.EOFException
at weblogic.security.Utils.inputByte(Utils.java:133)
at weblogic.security.ASN1.ASN1Header.inputTag(ASN1Header.java:125)
at weblogic.security.ASN1.ASN1Header.input(ASN1Header.java:119)
at weblogic.security.RSAPrivateKey.input(RSAPrivateKey.java:119)
at weblogic.security.RSAPrivateKey.<init>(RSAPrivateKey.java:91)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:393)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:297)
at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:939)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:403)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Please tell me where I went wrong.Do I need to make any more changes
in the console.
Thanks in advance.. SitaThe Server Certificate File Name should point to the cert that establishes
the server's identity.
The Server Certificate Chain File Name should contain as its first member
the cert used to sign the server's cert, the second member should contain a
cert used to sign the first cert in the file, etc. until the last cert in
the chain which should be self-signed. The Server Certificate Chain File
Name is required to have at least one cert in it (and if there is only one
it must be self-signed, ie a root CA cert and it must be the cert that was
used to sign the server's certificate).
If you got the trial cert from Verisign their email to you should have told
you how to obtain a root CA from them to use.
"Sita Mulomudi" <[email protected]> wrote in message
news:[email protected]...
>
Hi,
I am facing problems when I am trying to configure my WLS 6.0(on
Win 2000) for SSL protocol.I have used the CSR generator to generate
CSR & I have got a trial SSL id from VeriSign.I have now got the
following files:
hercules-key.der(private key generated by CSR generator)
cert.pem (digital certificate from VeriSign)
When I configured the server console with
Server Key file name =./config/mydomain/hercules-key.der
Server Certificate file name=./config/mydomain/cert.pem
Server Certificate chain file name=./config/mydomain/cert.pem
& restarted the server with the following command:
startWeblogic -Dweblogic.management.pkpassword=<the pwd I gave>
I am getting the following error:
<Mar 19, 2001 11:20:11 AM PST> <Alert> <WebLogicServer> <Security
configuration
problem with certificate file ./hercules-key.der, java.io.EOFException>
java.io.EOFException
at weblogic.security.Utils.inputByte(Utils.java:133)
at weblogic.security.ASN1.ASN1Header.inputTag(ASN1Header.java:125)
at weblogic.security.ASN1.ASN1Header.input(ASN1Header.java:119)
at weblogic.security.RSAPrivateKey.input(RSAPrivateKey.java:119)
at weblogic.security.RSAPrivateKey.<init>(RSAPrivateKey.java:91)
atweblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:393)
atweblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:297)
atweblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:939)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:403)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Please tell me where I went wrong.Do I need to make any more changes
in the console.
Thanks in advance.. Sita -
Urgent!!Error While replicating Datasources!!
Hi BW experts!
Could any help me how to resolve the the datasource replications error if it exceed length the field name & data length of the field..??
<b>Error: Fieldlength too long for PSA fields
Error Field QUEST_RATINGFACTOR ( Position 24 ): Field name is longer than 16 characters</b>
Thnx in advanceHi,
Are you working on SRM as source, if the name length is more than 16 characters it is not required....you can reduce the characters in the backend SRM and again reload.
For invalid character you can go to RSMO and get into details tab to find out the actual invalid character. Sometimes small cap and capital can reasult in this issue.
Thanks
Abhi -
Error while delivering a failed message ATG
Once i select the allowMessageDelays to false i get my message in the error queue but if i select it as true then the message gets saved in the dms_limbo tables and we get the following error infinite times.I have given the maximum attempt as 3 but in log i can see every time it says the attempt as 1 .
I want the allowMessageDelays as true and data to be saved in error queue.
/atg/dynamo/messaging/MessagingManager /com//merch/listener/MenuItemFullListener: state: MsgId=ID:980000; #=1; Max#=3
/atg/dynamo/messaging/MessagingManager /com//merch/listener/MenuItemFullListener: Attempt #2 (IDC); Limbo message ID:980000
/atg/dynamo/messaging/MessagingManager /com//merch/listener/MenuItemFullListener: delay java.lang.String from port DEFAULT
/atg/dynamo/messaging/MessagingManager limbo : poll->initiating
/atg/dynamo/messaging/MessagingManager limbo : poll->found 1 msg(s)
/atg/dynamo/messaging/MessagingManager /com//merch/listener/MenuItemFullListener: state: MsgId=ID:980000; #=1; Max#=3
/atg/dynamo/messaging/MessagingManager /com//merch/listener/MenuItemFullListener: Attempt #2 (ML); Deliver message ID:980000
/atg/dynamo/service/Scheduler Error while handling scheduled job MSG-LIMBO-POLL java.lang.NullPointerException
Please please Help..!!Thanks David for your reply,
I purposely gave an error to check if any entry is made in the dms_queue_entry table when there is an error while listening from a topic.
As per my understanding ..
when a topic sends a data to a listener and there is some error while reading it, topic will try to redeliver the data as many times as specified(<max-attempts>3</max-attempts>). If we specify the delay(<delay>60000</delay>) then the topic will try to send the data to the listener first time and if fails will store the data in the limbo tables and then will again try to redeliver the data after the specifed time.
Now what is happening is, it try to deliver the data first time and it fails, it store the data in the limbo tables . Now after 1 minute(60000 millisec) it will try to redeliver the data(2nd attempt) to the listener from the msgLimbo tables. but we are getting a null pointer exception as it is unable to poll data from the limbo tables and it throws a null pointer exception.
Correct me if i am wrong..!!
Maybe you are looking for
-
After software update polish language is missing [...
Hi, Yesterday i had problem with my nokia. It shutted down suddenly, then when i restarted it i saw white screen and phone shoutted down. I've used NSU to update my software, it fixed my problem but now i lost polish menu. my product code is : 054882
-
Substitution of FI fields on call transactions for clearing.
Dear collegues, I need help to configure a substitution for tx. FBWD-returned/paid Bills of exchange were the baseline date of the clearing account for the bill liability at the bank (that has the due date as required) and has to be substituted with
-
VHS (C) settings in Elements 11
Hello I have recently download a VHS (C) tape onto my PC with the free software that came with the hardware. The tape is saved as .mpg. There is a qualitative difference in the VHS tape when played via a VCR connected to my TV and the .mpg file when
-
My Ipad Screen is Stuck with Apple Logo
Help, Whilst using my ipad the screen froze so I tried to switch it off, it wouldn't switch off so I tried to reset with holding both buttons for 20 seconds it goes off but just reappears and stays stuck when I restart the logo is still there and can
-
When I fist got the Lumia this week, contacts transferred easily from my N8 via Bluetooth. However since then I can't connect the phones via Bluetooth. N8 thinks it's paired, but Lumia says the N8 is not supported. Equally I can't just send content (