Unable to generate .jpf file
Hi,
I have installed the weblogic platform 10.3.2, and created the new Portal Web Project now added the facet's required for PageFlow. But when I create the PageFlow it does not generate any JPF file. And if we hit the portal page it give the below error:
<May 26, 2010 6:25:42 PM IST> <Error> <org.apache.beehive.netui.pageflow.FlowControllerFactory> <BEA-000000> <Struts module /testPageFl not found for testPageFl.TestPageFlController; cannot create page flow.>
<May 26, 2010 6:26:07 PM IST> <Error> <netuix> <BEA-423406> <An exception [Could not retrieve PageFlow for uri [/testPageFl/TestPageFlController.jpf] for portlet [portletInstance_1].] was thrown while rendering the content at [testPageFl/TestPageFlController.jpf].>
<May 26, 2010 6:26:07 PM IST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /testPageFl/TestPageFlController.jpf.>
<May 26, 2010 6:26:07 PM IST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.
com.bea.netuix.nf.UIControlException: com.bea.netuix.nf.UIControlException: Could not retrieve PageFlow for uri [testPageFl/TestPageFlController.jpf] for portlet [portletInstance_1].
at com.bea.netuix.servlets.controls.content.PageFlowContent.checkPreRenderExceptions(PageFlowContent.java:130)
at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:343)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
Truncated. see log file for complete stacktrace
Caused By: com.bea.netuix.nf.UIControlException: Could not retrieve PageFlow for uri [testPageFl/TestPageFlController.jpf] for portlet [portletInstance_1].
at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:314)
at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
Truncated. see log file for complete stacktrace
>
Any help will be great for me.
Subhasis,
The $TUXDIR/locale/ language_name directory must exist for Tuxedo to be able to find message catalogs.
The NLS:4 message notes that TUXDIR=/opt1/oracle/tu, but TUXDIR in the UBBCONFIG file is /opt1/oracle/tuxedo11gR1, so it is likely that there is an incorrect setting of TUXDIR in the environment.
language_name is equal to the value of $LC_ALL, if set, or the value of $LC_MESSAGES, if set, or the value of $LANG, if set, or "C" if none of these environment variables is set. As MBriz has suggested, you should either make $TUXDIR/locale/en_US.UTF-8 a symbolic link to $TUXDIR/locale/C or you should set an appropriate language-related environment variable to "C".
Regards,
Ed
Similar Messages
-
Adogjf Unable to generate jar files under JAVA_TOP error while patching
Hi,
I'm upgrading my version of Java from 1.3.1_19 to 1.5.0_17. I downloaded the jdk-1_5_0_17-linux-i586.bin file and unpackaged it to /u0/<SID>/<SID>db/10.2.0. It unpackaged it to a new directory jdk1.5.0_17 (/u0/<SID>/<SID>db/10.2.0/jdk1.5.0_17), whereas the old version is in a directory jdk (/u0/<SID>/<SID>db/10.2.0/jdk).
Having done that I had to run an interoperability patch (4372996). Upon running this patch I received an error at the end:
adogjf() Unable to generate jar files under JAVA_TOP
There were no other errors.
I think the problem has to do with where my new java version is located but I'm not sure. I'm thinking that it's still looking under the old JAVA_TOP (/u0/<SID>/<SID>db/10.2.0/jdk) when I want it to look under the new JAVA_TOP (/u0/<SID>/<SID>db/10.2.0/jdk1.5.0_17). So, should I move the contents from the new directory (jdk1.5.0_17) to the old directory (jdk) or is there a way to 'point' it to the new JAVA_TOP.
Please let me know if I'm totally off base and there's another solution. We're currently on EBS 11.5.10.2, DB 10.2.0.4 and RHEL 4 Update 5.
Thanks,
Lia.Here you go. Hope this helps you to help me :-). Thanks.
+
** Generating the product JAR files...
STRT_TASK: [Generate JAR files] [] [Fri Mar 27 2009 09:20:32]
STRT_TASK: [Generate JAR files under JAVA_TOP] [] [Fri Mar 27 2009 09:20:32]
Signing product JAR files in JAVA_TOP -
/u0/mary/marycomn/java
using entity Customer and certificate 1.
Calling /u0/mary/marycomn/util/jre/1.1.8/bin/jre ...
Successfully created javaVersionFile.
Generating product JAR files in JAVA_TOP -
/u0/mary/marycomn/java with command:
adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @/u0/mary/maryappl/admin/mary/out/genjars.cmd
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/u0/mary/maryappl/ad/11.5.0/java/adjri.zip:/u0/mary/marycomn/util/jre/1.1.8/lib/rt.jar:/u0/mary/marycomn/util/jre/1.1.8/lib/i18n.jar:/u0/mary/marycomn/util/jre/1.1.8/lib/tools.jar:/u0/mary/marycomn/java/appsborg.zip:/u0/mary/marycomn/java/apps.zip:/u0/mary/maryora/8.0.6/forms60/java:/u0/mary/marycomn/java"
Calling /u0/mary/marycomn/util/jre/1.1.8/bin/jre ...
The JDK version is 1.1.8
Validating the files/directories specified for -areas option
Validating the files/directories specified for -outputSpec option
Validating the directory specified for -lstDir option
About to Analyze the input areas : Fri Mar 27 2009 09:20:36
WARNING: Will not load stale resource unit META-INF/services/javax.xml.parsers
WARNING: Will not load stale resource unit META-INF/services/javax.xml.transform
Done Analyzing the input areas : Fri Mar 27 2009 09:20:43
About to Analyze/Generate jar files : Fri Mar 27 2009 09:20:43
About to Analyze fndnetcharts.jar : Fri Mar 27 2009 09:20:43
Up-to-date : fndnetcharts.jar
Done Analyzing fndnetcharts.jar : Fri Mar 27 2009 09:20:44
About to Analyze fndtdg.jar : Fri Mar 27 2009 09:20:44
Up-to-date : fndtdg.jar
Done Analyzing fndtdg.jar : Fri Mar 27 2009 09:20:44
About to Analyze fndjgl.jar : Fri Mar 27 2009 09:20:44
Up-to-date : fndjgl.jar
Done Analyzing fndjgl.jar : Fri Mar 27 2009 09:20:45
About to Analyze fndjle.jar : Fri Mar 27 2009 09:20:45
Up-to-date : fndjle.jar
Done Analyzing fndjle.jar : Fri Mar 27 2009 09:20:47
About to Analyze fndlrucache.jar : Fri Mar 27 2009 09:20:47
Up-to-date : fndlrucache.jar
Done Analyzing fndlrucache.jar : Fri Mar 27 2009 09:20:47
About to Analyze fndgantt.jar : Fri Mar 27 2009 09:20:47
Up-to-date : fndgantt.jar
Done Analyzing fndgantt.jar : Fri Mar 27 2009 09:20:47
About to Analyze fndpromise.jar : Fri Mar 27 2009 09:20:47
Up-to-date : fndpromise.jar
Done Analyzing fndpromise.jar : Fri Mar 27 2009 09:20:48
About to Analyze fndforms.jar : Fri Mar 27 2009 09:20:48
About to Generate fndforms.jar : Fri Mar 27 2009 09:20:49
Done Generating fndforms.jar : Fri Mar 27 2009 09:20:50
About to Sign fndforms.jar : Fri Mar 27 2009 09:20:50
ERROR: Javakey subcommand exited with status 1
Javakey standard output:
Adding entry: META-INF/MANIFEST.MF
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java Key Generation
Version 11.5.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Javakey error output:
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Successfully created javaVersionFile.
Customer not found in database.
java key error:
adjava -ms128m -mx256m sun.security.provider.Main -gs /u0/mary/marycomn/java/oracle/apps/fnd/jar/fndforms.jar.tmp /u0/mary/marycomn/java/oracle/apps/fnd/jar/fndforms.jar.uns
The above Java program failed with error code 1.
Done Analyzing/Generating jar files : Fri Mar 27 2009 09:20:51
AD Run Java Command is complete.
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java
Version 11.5.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Failed to generate product JAR files in JAVA_TOP -
/u0/mary/marycomn/java.
adogjf() Unable to generate jar files under JAVA_TOP
AutoPatch error:
Failed to generate the product JAR files
You should check the file
/u0/mary/maryappl/admin/mary/log/4372996.log
for errors.
+ -
Not able to generate .jpf file
Hi,
I have installed the weblogic platform 10.3.2, and created the new Portal Web Project now added the facet's required for PageFlow. But when I create the PageFlow it does not generate any JPF file. And if we hit the portal page it give the below error:
<May 26, 2010 6:25:42 PM IST> <Error> <org.apache.beehive.netui.pageflow.FlowControllerFactory> <BEA-000000> <Struts module /testPageFl not found for testPageFl.TestPageFlController; cannot create page flow.>
<May 26, 2010 6:26:07 PM IST> <Error> <netuix> <BEA-423406> <An exception [Could not retrieve PageFlow for uri [/testPageFl/TestPageFlController.jpf] for portlet [portletInstance_1].] was thrown while rendering the content at [testPageFl/TestPageFlController.jpf].>
<May 26, 2010 6:26:07 PM IST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /testPageFl/TestPageFlController.jpf.>
<May 26, 2010 6:26:07 PM IST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.
com.bea.netuix.nf.UIControlException: com.bea.netuix.nf.UIControlException: Could not retrieve PageFlow for uri [testPageFl/TestPageFlController.jpf] for portlet [portletInstance_1].
at com.bea.netuix.servlets.controls.content.PageFlowContent.checkPreRenderExceptions(PageFlowContent.java:130)
at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:343)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
Truncated. see log file for complete stacktrace
Caused By: com.bea.netuix.nf.UIControlException: Could not retrieve PageFlow for uri [testPageFl/TestPageFlController.jpf] for portlet [portletInstance_1].
at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:314)
at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
Truncated. see log file for complete stacktraceHi
I did not find any way to attach the file in the response, but I have included the facets by selecting "Weblogic Portal Beehive Web Project Facets" inthe configuration drop down while creating the web project. After selecting it start showing the Page Flow option in the new list which means you can create a new PageFlow.
And I read in the forum"http://forums.oracle.com/forums/thread.jspa?messageID=4281693"
where it says you can create it.
If you can suggest what should i do to get it enable, it will be great . -
PI unable to generate XLSX file
Hello Experts,
I have one scenario where I have to generate ".XLSX" file and I have followed the below post by Aashish Sinha.
Convert incoming XML to Excel or Excel XML – Part 1 - XSLT Way
The output file is generated with ".xlsx" however while we are trying open the file,it is saying that the file is corrupt.If we change the extension manually to ".xls" then it opens,though it gives a warning. We need to generate a proper ".XLSX" file which could be opened without any warning.
Can any one advise if there is any way to have that? Appreciate your help!!
Note:I tried the JAVA mapping and got same problem.
Regards,
ArijitHi Arijit
The link I have provided has the code . Only you need to use them inside a java mapping.
You can find thousands of blog on Java mapping in SAP PI.
This is simple format of java mapping
import com.sap.aii.mapping.api.AbstractTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
import com.sap.aii.mapping.api.TransformationInput;
import com.sap.aii.mapping.api.TransformationOutput;
public class JavaMapForHemant extends AbstractTransformation {
public void transform(TransformationInput arg0, TransformationOutput arg1)
throws StreamTransformationException {
try {
} catch (Exception e) {
e.printStackTrace();
} // end of transform
You need to write your code inside the transform method. -
D:\dzbat\bin>genpdf
D:\dzbat\bin>javadoc -doclet com.sun.tools.doclets.mif.MIFDoclet -docletpath d:\
mifdoclet1.2\lib\mifdoclet.jar -J-Xmx20M -batch dzbatcher -print pdf -d d:\lsmap
isericsson\docs -sourcepath d:\lsmapisericsson com.mahindrabt.lsm
Loading source files for package com.mahindrabt.lsm...
Constructing Javadoc information...
MIF Doclet version 1.2 beta 2 (build date: 09 Aug 2002)
I installed mifdoclet1.2 and DZbatcher and tried to generate PDF file with the following batch file
javadoc -doclet com.sun.tools.doclets.mif.MIFDoclet -docletpath d:\mifdoclet1.2\lib\mifdoclet.jar -J-Xmx20M -batch dzbatcher -print pdf -d d:\lsmapisericsson\docs -sourcepath d:\lsmapisericsson com.mahindrabt.lsm
It gives the following output and does not genrate the PDF file and does not give any error. Is there any problem with my batch file? Please help me out from this.
Generating d:\lsmapisericsson\docs\mif\overview.mif...
Using default stylemap file...
Template Used: d:\lsmapisericsson\docs\mif\template.mif
Using default batchmap file...
Building tree for all the packages and classes...
Generating d:\lsmapisericsson\docs\fm\package-list...
Generating d:\lsmapisericsson\docs\mif\com.mahindrabt.lsm.mif...
Generating default overview page...
Generating d:\lsmapisericsson\docs\mif\almanac.mif...
Generating d:\lsmapisericsson\docs\mif\api.book.mif...
Generating d:\lsmapisericsson\docs\mif\mif-to-fm.batch...
Executing: dzbatcher -makername framemaker d:\lsmapisericsson\docs\mif\mif-to-fm
.batch...
Regards
TusharI see no problem with your batch file, and the messages
proceed properly. To troubleshoot this further, I suggest
you read the email (currently adjacent) titled:
"Error using MIF doclet to create PDFs".
It describes several different approaches, including
generating PS and using Distiller to generate PDF,
or trying dzbatcher with -v option to echo each
command to see where it stops.
Please let us know your results, as this seems to be
a common problem.
-Doug Kramer
Javadoc team -
Unable to generate PDF file from reports
Hi,
After running the report when I tried to generate the output to pdf file, I see the number of pages being generated again, I dont see any file being created although it prompts for the file name. Any suggestions
Thanks in AdvanceI dont see any output pdf file being generated, I have seen in all the folders and when I click the Generate to File option, it prompts me for the file name and the path for the file and then the report runs again on the screen instead of generating the file.
Thanks in Advance -
Hi,
I have written the stored procedure for starting sql trace on a given session for say n number of seconds.
create or replace procedure start_trace
v_sid in number,
v_serial# in number,
seconds in number)
IS
v_user varchar2 (32);
duration number;
dump_dest varchar2 (200);
db_name varchar2 (32);
no_session_found exception;
stmt varchar2(100);
stmt1 varchar2(100);
BEGIN
begin
select username into v_user
from v$session
where sid= v_sid and
serial# = v_serial#;
exception
when NO_DATA_FOUND then
raise no_session_found;
end;
dbms_output.put_line('Tracing Started for User: '|| v_user);
dbms_output.put_line('Tracing Start Time: '|| TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
dbms_system.set_sql_trace_in_session(v_sid,v_serial#,true);
if seconds is null then
duration := 60;
else
duration := seconds;
end if;
dbms_lock.sleep(duration);
dbms_system.set_sql_trace_in_session(v_sid,v_serial#,false);
dbms_output.put_line ('Tracing Stop Time: '|| TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
select value into dump_dest
from v$parameter
where name = 'user_dump_dest';
dbms_output.put_line('Trace Directory: ' || dump_dest);
exception
when no_session_found then
dbms_output.put_line('No session found for sid and serial# specified');
END start_trace;
The above procedure compiles successfully and when I call it from sql prompt it gives me the message that the pl/sql procedure was completed successfully and all put_line statements are displayed.
Real problem comes when I check udump for the trace file. I can not find it there. It seems all the statements in the procedure are executed successfully except dbms_system.set_sql_trace_in_session(v_sid,v_serial#,true) and dbms_system.set_sql_trace_in_session(v_sid,v_serial#,false) for some strange reasons.
Any help will be appreciated.
Thanks.Thanks for the reply.
I do not get any error message. The following is the output:
SQL> exec start_trace(118,6243,30);
Tracing Started for User: SVCWRK
Tracing Start Time: 09-26-2011 16:28:29
Tracing Stop Time: 09-26-2011 16:28:59
Trace Directory: /orasoft/app/oracle/admin/testsvcb/udump
PL/SQL procedure successfully completed.
But the trace file is not generated.
I am using Oracle 10.2.0.4.0.
Will try using DBMS_MONITOR.
Thanks again. -
hii this is manab......
sir/mam i have face the following error in 29 february 2012 for my overall company report .But i can easily get the
report of another department on 29feb 2012....but when i try generate the overall report of my comapany then i find the errors
REP-1401: 'cf_mc_prod_lyrformula': Fatal PL/SQL error occurred.
ORA-01839: date not valid for month specified
The following is the logfile.........
...........................................................................................log file................................................................................................................
HPCL Custom Application: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
HPCCMDS module: HPC Modified CMD Report
+---------------------------------------------------------------------------+
Current system time is 04-SEP-2013 11:37:20
+---------------------------------------------------------------------------+
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
P_MILL='NPM'
P_TRANSACTION_DATE='2012/02/29 00:00:00'
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.US7ASCII
REP-1401: 'cf_mc_prod_lyrformula': Fatal PL/SQL error occurred.
ORA-01839: date not valid for month specified
Report Builder: Release 6.0.8.24.0 - Production on Wed Sep 4 11:37:20 2013
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 11426643.
Review your concurrent request log and/or report output file for more detailed information.
+---------------------------------------------------------------------------+
Executing request completion options...
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed
Current system time is 04-SEP-2013 11:59:23
+---------------------------------------------------------------------------+
kindly give me solution .....i have e-business suite 11i
internet explorer latest version...Hi,
Please confirm whether this is a custom or standard report.
If this is a custom report, then probably the respective issue has not been handled by exception handling.
Also please refer note:
How to check if version 11.5.10.2 is certified to Handle Leap Years (Doc ID 549937.1)
Thanks &
Best Regards, -
Unable to generate WSDL file in quality server in SOAMANAGER
Hi Experts,
I have developed a webservice in DEV and generated the wsdl file in soamanager and it works fine. Now when i transport it to QAS webservice gets transported ( SE80 i can see it ) and in soamanager when i go to generate the wsdl file for QAS server it is not allowing me to do it. In soamanager when you click on 'Open WSDL document for selected binding' nothing happens. In the same screen it says ''Services: 0 / Endpoints: 0 '' .
In SICF i see the webservice name however below that i dont see any nodes extending but in DEV i see the client name and once again the webservice name in the below nodes. It appears as below in DEV
/default_host/sap/bc/srt/rfc/sap/zfi_customer_balance_sms/555/zfi_customer_balance_sms/
But in QAS it appears as below
/default_host/sap/bc/srt/rfc/sap/zfi_customer_balance_sms
I have also transported the SICF entry to QAS ie right click on the webservice, click on Obj Directory entry and put it in a TP and transport. Even then the nodes dont appear in QAS.
I am doubting wheather some services need to be activated in SICF. I just need to generate the wsdl file in QAS and later in PRD.
Any help on this will be greatly appriciated.
Thanks
GovindHi Govind,
To get the web service working in DEV you configured an endpoint for it using SOAMANAGER right?
You need to do the same endpoint configuration again in QAS & PRD once you transport it there. When you transport the web service between the environments the endpoint configuration in SOAMANAGER isn't transported as well. You need to repeat the configuration exercise each time you transport the web service.
If you are transporting lots of web services then there is functionality to do mass configuration of these web services.
Regards, Trevor -
Hi Gurus,
I am generating one sample xml file in one of the designated location on the server. The xmldir directory is provided with all the necessary privileges. But when I am executing the pl/sql script for generating the xml file, it is throwing 'ORA-29285: file write error'.
Any permissions do I need to set,while googling I found there are certain permissions need to be set. But I've given full access on the directories. Please let me know what exactly is missing.
Thanks for your help in advance.
Regards
NagendraI am generating one sample xml file in one of the designated location on the server.How?
The xmldir directory is provided with all the necessary privileges.Which?
But when I am executing the pl/sql script for generating the xml file, it is throwing 'ORA-29285: file write error'.Show please
In my case the following is work
select * from v$version
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
conn sys@ora as sysdba
create or replace directory T as 'c:\tmp\t';
grant read, write on directory T to SCOTT;
conn scott@ora
declare
v_filename varchar2(30);
f_xml_file utl_file.file_type;
v_record_data varchar2(4000) := null;
v_empno varchar2(50) := null;
v_ename varchar2(50) := null;
v_job varchar2(50) := null;
cursor cur is
select empno, ename, job from emp;
begin
v_FILENAME := 'to_xml_file.xml';
f_XML_FILE := UTL_FILE.fopen('T', v_FILENAME, 'W');
v_RECORD_DATA := '<?xml version="1.0" encoding="UTF-8"?>';
UTL_FILE.put_line(f_XML_FILE, v_RECORD_DATA);
UTL_FILE.put_line(f_XML_FILE, '<DATA>');
open cur;
loop
fetch cur into v_empno, v_ename, v_job;
EXIT WHEN cur%NOTFOUND;
UTL_FILE.put_line(f_XML_FILE, ' <DETAILS>');
utl_file.put_line(f_xml_file, ' <EMPNOTAG>' || v_empno || '</EMPNOTAG>');
utl_file.put_line(f_xml_file,
' <ENAMETAG>' || v_ename || '</ENAMETAG>');
utl_file.put_line(f_xml_file,
' <JOBATAG>' || v_job || '</JOBATAG>');
UTL_FILE.put_line(f_XML_FILE, ' </DETAILS>');
end loop;
close cur;
UTL_FILE.put_line(f_XML_FILE, '</DATA>');
UTL_FILE.FCLOSE(f_XML_FILE);
EXCEPTION
WHEN UTL_FILE.INTERNAL_ERROR THEN
raise_application_error(-20500,
'Cannot open file :' || v_FILENAME ||
', internal error; code:' || sqlcode ||
',message:' || sqlerrm);
WHEN UTL_FILE.INVALID_OPERATION THEN
raise_application_error(-20501,
'Cannot open file :' || v_FILENAME ||
', invalid operation; code:' || sqlcode ||
',message:' || sqlerrm);
WHEN UTL_FILE.INVALID_PATH THEN
raise_application_error(-20502,
'Cannot open file :' || v_FILENAME ||
', invalid path; code:' || sqlcode ||
',message:' || sqlerrm);
WHEN UTL_FILE.WRITE_ERROR THEN
raise_application_error(-20503,
'Cannot write to file :' || v_FILENAME ||
', write error; code:' || sqlcode ||
',message:' || sqlerrm);
end;in C:\tmp\t exsist to_xml_file.xml with
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<DETAILS>
<EMPNOTAG>9999</EMPNOTAG>
<ENAMETAG>Tim</ENAMETAG>
<JOBATAG></JOBATAG>
</DETAILS>
<DETAILS>
<EMPNOTAG>7369</EMPNOTAG>
<ENAMETAG>SMITH</ENAMETAG>
<JOBATAG>CLERK</JOBATAG>
... -
EhP1 - Unable to create XML file in Solman
Hi all,
I need some assistance
I am trying to upgrade our XI system to EhP1 - SP04. I use Maintenance Optimizer in our Solution Manager (SAP EHP 1 for SAP Solution Manager 7.0) to select the necessary files for my upgrade. The XI system has been set up in SMSY an given a Logical Component. Also, added to the Solution Landscape. I use the SAPehpi-installer to upgrade XI.
However, when I get to section three, I am supposed to provide the SMSDXML.xml file. This file is not created by our Solution Manager for some reason. The file, as I understand it, is supposed to be generated automatically during Maintenance Optimizer. But when I check the EPS and EPS/in folder of our solman, the file is not to be found. I have also checked the parameter DIR_EPS_ROOT in RZ11. It is correct. The authorization has been set to full on group Everyone, just to check if that could be the problem, but with no luck.
When I use transaction /n/tmwflow/mopz_stack i am able to view the XML file (I assume that it is the correct file), but any attempt to copy the text displayed, and to save it as an XML-file has not resulted in any success.
The only thing I have to go on, is a warning displayed in Maintenance Optimizer, stating: "Warning - No SLM configured in system - <SID>. Every document etc, Iu2019ve read sais that one can use Software Lifecycle Manager as an alternative to Download Basket. I havenu2019t seen SLM listed as a prereq, so I donu2019t believe that this could be the reason why the XML-file is not generated.
Is there some setup/configuration Iu2019ve missed?
Any help will be much appreciated!
Best Regards,
Stian
Notes checked:
1134872 FAQ for stack Delta Files
1022704 Upgrade phase EHP_INCLUSION and SPSTACK_REQUEST
1277035 Solution Manager: EHP4 product data missingI downloaded the SPSTab.xml from SMP, but it didnt work. It gave an error: "The selected configuration file ("C:EHP1SPSTab.xml") is not usable. Reason: "Stackfile not found""
I have used the dockument in the link you provided as a basis for my upgrade. So I still need this to work in order to upgrade my XI Netweaver 7.0 to Enhancement Package 1...
In the document you provided:
Section 3 SAP Solution Manager
3.1 Support Package Level of SAP Solution Manager (Check - Mine is EHP1)
3.2 System Landscape (SMSY) of SAP Solution Manager (Check - as stated above in opening post)
3.3 SAP Solution Manager Maintenance Optimizer (Check)
3.4 SAP Solution Manager Troubleshooting: (Check)
3.4.4 No Stack Configuration File is generated: This is the core of my problem... I have read the notes listed, and run the IMG activity under Maintenance Optimizer, as per note 1134872. I get an warning stating "SAP ChaRM auto-configuration warnings" This could be the source of the problem, but in the thread Re: Message no. IMG_FASTCONF028 in Charm SolManiac says that it is nothing to worry about.
So to summarise:
I an still unable to generate XML file in Solman, and I am uable to get the XML downloaded from SMP to work with SAPehpi.
BR
Stian
(EDIT: I am however not shure if the settings under SMSY etc are 100% correct, but in my mind, that should prevent Maintenance Optimizer from generating the XML file)
Edited by: Stian Eiken on Jul 13, 2009 1:18 PM -
Generating Postscript file using (psl132.prt) and Text file in one go
Actually my requirement is to have soft copy , postscript files in a single shot for character mode report because the report fetches data from the table then deletes the data.
- I am able to generate softcopy, and postscript files same using distribution file for Bitmap report as shown below :-
[RWRUN REPORT=C:\Report\R_TEST.RDF userid = test / test @ test DISTRIBUTE=YES DESTINATION=C:\Report\bRep.dst ERRFILE=C:\Report\Final\report.err
The brep.dst file for bitmap report is as follows:-
DEST1: DESNAME=C:\Report\tpdf.pdf DESTYPE=File DESFORMAT=PDF COPIES=1 LEVEL=Report
DEST2: DESNAME=C:\Report\test.prn DESTYPE=File DESFORMAT=BITMAP COPIES=1 LEVEL=Report
But in case of Char mode report i am able to generate text file but i am unable to generate postscript file for using printer definition file. The commands used are as follows :-
RWRUN REPORT=C:\Report\R_TEST.RDF userid = test / test @ test DISTRIBUTE=YES MODE=CHARACTER DESTINATION=C:\Reports\cRep.dst ERRFILE=C:\Report\Final\report.err
The crep.dst file for char report is as follows :-
DEST1: DESNAME=C:\Report\tpdf.text DESTYPE=File DESFORMAT=ASCII COPIES=1 LEVEL=Report
DEST2: DESNAME=C:\Report\test.prn DESTYPE=File DESFORMAT=prt132.prn COPIES=1 LEVEL=Report (This option does not work is there any work around to make it work) ]
I am getting an error. it there any work around for this or there is any other solution.
Is there any other way i convert my text file to postscript file or viceversa...thanksHi,
Peter Gjelstrup wrote:
Next thing is how to use it:
declare
k_file constant varchar2(30) := 'YourFile.xls'
begin
create_file(k_file);
-- Call other procedures
close_file;
end;
Don't forget: these procedures are all part of the gen_xl_xml package.
To call them from outside the package, you have to prefix each procedure name with the package name, like this:
declare
k_file constant varchar2(30) := 'YourFile.xls'
begin
gen_xl_xml.create_file(k_file);
-- Call other procedures
gen_xl_xml.close_file;
end; -
Unable to generate trace in Oracle11gR2
Hi
We are using AIX 5.3 OS and Database version 11.2.0.2
i am unable to generate trace file
ThanksHi
we are trying to generate trace from Application (Concurrent Program) and followed doc id -How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1].
and at database level i changed parameter value to sql_trace = true and bounced DB still it is not generating file
Below query showing location for tace
SELECT 'Request id: '||request_id ,
'Trace id: '||oracle_Process_id,
'Trace Flag: '||req.enable_trace,
'Trace Name:
'||dest.value||'/'||lower(dbnm.value)||'_ora_'||oracle_process_id||'.trc',
'Prog. Name: '||prog.user_concurrent_program_name,
'File Name: '||execname.execution_file_name|| execname.subroutine_name ,
'Status : '||decode(phase_code,'R','Running')
||'-'||decode(status_code,'R','Normal'),
'SID Serial: '||ses.sid||','|| ses.serial#,
'Module : '||ses.module
from fnd_concurrent_requests req, v$session ses, v$process proc,
v$parameter dest, v$parameter dbnm, fnd_concurrent_programs_vl prog,
fnd_executables execname
where req.request_id = &request
and req.oracle_process_id=proc.spid(+)
and proc.addr = ses.paddr(+)
and dest.name='user_dump_dest'
and dbnm.name='db_name'
and req.concurrent_program_id = prog.concurrent_program_id
and req.program_application_id = prog.application_id
--- and prog.application_id = execname.application_id
and prog.executable_application_id = execname.application_id
and prog.executable_id=execname.executable_id;
i tried to search location from above query but unfortunately i didn't find trace file.
Thanks -
Unable to generate users.xml file
Hi All,
I have installed OCS 10.1.2.0.0.and applied the cumulative patchset and now on OCS 10.1.2.3.0
Now i am trying to migrate users and their mail box from exchange 5.5 running on Windows NT 4 server.
I have installed the esmigration tool on a machine running Windows XP SP2, Outlook 2003 client installed. I ran the tool and successfully created the system profile. Once done when i try extract users which should generate a users.xml file, i get an error saying "Unable to generate users.xml" file. When i look at the log file i can see the error which says invalid domain which is not true. The domain name is right and i have repeated the process more than 10 times, but still keep getting the same error. I tried using IMPA to IMAP as well as with MBOX , but still the same error. Has anyone seen such a behavior ?
So i tried to choose plan B. As i do not have too many users i decided to export the users mail box as a pst file and then import it. This is not a problem, but what i do not know is that what do i need to do to enable coexistence mode on exchange, meaning when an email arrives, it first goes to exchange and then forwards a copy to OCS.Please note on my research i have found some notes on how to do this on exchange 2000 on a windows 2000 server with AD, but i couldn't find anything for Exchange 5.5 on NT4.
Any assistance on this would be very helpful.
Regards,
DipakHi Dipak,
If you do the migration from the Windows 2000 machine with outlook 2000 installed, and connected to Exchange 5.5 via an admin profile, then you will not see this issue.
In case, it is not possible for you to move to new machine where above said environment exists, then you can request for a patch of migration tool that has fix for this issue. Please send an email to [email protected] or [email protected], for the fixed version.
For your co-existence query: Please make use of alternate-recipient setup that exists on exchange 5.5 user properties. So, the emails will be routed to both exchange, and ocs server mailboxes of that user.
If you have any further queries please send an email to [email protected]
Thanks,
Venkat -
Unable to generate SQL trace file on a 10.2.0.1.0 database
Hello,
I am unable to generate SQL trace files on a 10.2.0.1.0 database (OS is Win2003 server 64 bits).
First I tried the way I used to do it on older databases (8i and 9i) :
execute dbms_system.set_sql_trace_in_session(sid, serial#, true);
I got no error, but no file was created in the user dump dest directory.
Then I've been searching and I've tried other things :
- I changed the user_dump_dest parameter
- I changed the tracefiles_public parameter value to "true", by modifying the init.ora file
- I tried another package :
exec dbms_monitor.session_trace_enable(139)
Nothing worked, I can't create any trace file...
Does anyone have an idea about this issue ?
thank you for you help !
AntoineHello,
thank you all for replying.
I have 2 instances on this machine, and I've just realized that with the other one I have no problem to generate sql trace files as usual.
But why the hell is it impossible on the first instance ? What difference between the 2 instances can explain this ?
This is pretty weird...
Otherwise I am experiencing serious performance problems on the instance where I can't creat trace files, there must be something wrong with it, but I can't figure it out
regards,
Antoine
Maybe you are looking for
-
My iPhone 4 IOS 6.1.3 is locked with a passcode of which I did not setup on my phone. How do I eliminate the passcode so I can use my phone?
-
Hello, We need to close all of our existing open orders (about 1000 sales orders). Can it be done using DTW? Thanks Revital
-
Error Code -36 When Copying iTunes Music folder to an External Drive
_*"The finder cannot complete the operation because some data in "NAME.mp3" could not be read or written. (Error code -36)_"* This is the error message I get when trying to copy my iTunes music folder to an external drive. I am following Apple's know
-
AirClick USB and Airport Express?
I was wondering.... It would be nice to change iTunes tracks in the living room instead of going to the office and doing it If i connect an AirClick USB reciever in the AE USB port, can i control the speakers which are also connected to AE. Basiclly
-
Time Machine ERASES EARLY SAVES WITHOUT PERMISSION
If the backup storage is nearly full, Time Machine will clear space for a new backup by DELETING THE OLDEST FILES. It only tells you after the fact that it's done so, thus I never had the opportunity to prevent erasure of the very first set of files