Template Cloning Error
Hi,
I have imported OVM_OL5U7_X86_64_PVM_10GB.tgz templte using OVM 3.0.2 manager.
I am trying to create a guest domain (VM) using this template.
After import is completed, I am trying to clone template to create guest image.
clone type: simple clone
target clone type: virtual machine
provided name and selected target server pool.
But it fails with error "OVMAPI_9016E Cannot perform operation. The Domain Type for VirtualMachine: {1}, is null."
So, I tried to edit template details, selected domain type as Xen PVM --> Finish.
Now, this fails with error "OVM_OL5U7_X86_64_PVM_10GB.tgz is locked"
Can someone tell me, How do I proceed?
Thanks
887506 wrote:
Now, this fails with error "OVM_OL5U7_X86_64_PVM_10GB.tgz is locked"If the Template is locked, you cannot clone/edit it. Check the Jobs tab for the import job, perhaps it didn't finish correctly?
Similar Messages
-
"Template import error: No VM configure file found" on brand new setup
Previously, I posted Console does not launch OVM 3.1.1, Win7x32 Firefox15/IE8 - Empty .jnlp file which was about VM Console not launching. Since this is a new installation, and it seemed to be a unique problem, I scratched the whole installation and started again from scratch. Everything, including the NFS file server, was re-installed from scratch CD OS installation.
The process is pretty straightforward once you're used to it, and in less than three hours I was ready again to import my first template (a template I had imported before). But now, I submit the the request, and almost immediately the process aborts. (You can see in the information below, that 1 second passes between the Import request (06:32:36) and the failure.)
Thing is, it takes about three minutes, even locally on the web server, to get an index of that large file (tar tzf), and at completion, the vm config file is listed.
Am I misreading the error? My web searches for enlightenment found only one good hit on this error, and in that case it appeared to be an "out of space" issue. In this case, though, I'm importing a 5GB tarfile into a 390GB, otherwise-empty file system, so I don't think that is the issue. The failure in ovs-agent.log is below. What other information may I provide to get to the bottom of this? (Thanks for any guidance/help, of course!)
[2012-10-31 06:31:40 3341] DEBUG (monitor:36) Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:40 3341] INFO (notification:67) Notification sent: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:40 3338] INFO (notification:193) Sending notification: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:48 4914] DEBUG (service:77) discover_cluster: ()
[2012-10-31 06:31:48 4914] DEBUG (service:85) discover_cluster: call completed.
[2012-10-31 06:32:03 4926] DEBUG (service:77) storage_plugin_mount: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, {'status': '', 'uuid': 'fc3564eb-ce8b-489c-96bc-df6de2cc8a11', 'ss_uuid': '0004fb00000900003cf41964f3476788', 'size': '330279518208', 'free_sz': '330075340800', 'state': 2, 'access_grp_names': [], 'access_path': 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', 'name': 'nfs:/mnt/ps_big/repo/repo'}, '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55', None, True, [])
[2012-10-31 06:32:03 4926] INFO (storageplugin:108) storage_plugin_mount(oracle.generic.NFSPlugin.GenericNFSPlugin)
[2012-10-31 06:32:03 4926] DEBUG (NFSPlugin:353) cmd = ['mount', '-t', 'nfs', 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55']
[2012-10-31 06:32:03 4926] DEBUG (service:85) storage_plugin_mount: call completed.
[2012-10-31 06:32:03 4931] DEBUG (service:77) add_repository: ('filesrv.ps.***.com:/mnt/ps_big/repo/repo', '0004fb0000030000659e0ce6f2ecfb55')
[2012-10-31 06:32:03 4931] DEBUG (service:85) add_repository: call completed.
[2012-10-31 06:32:36 4972] DEBUG (linux:847) async call function: import_template
[2012-10-31 06:32:36 4975] DEBUG (service:77) import_template: ('0004fb0000030000659e0ce6f2ecfb55', '0004fb0000140000fdc18a572a244015', ['http://aspire/pstop/OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz'])
[2012-10-31 06:32:37 4975] INFO (notification:74) async_proc_prog: notification {ASYNC_PROC} progress PID 4975 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 0L, 'CURRENT_BYTES': 613L, 'OPERATION': 'download'}
[2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} progress PID 4975
[2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} progress PID 4975
[2012-10-31 06:32:37 4975] ERROR (service:96) catch_error: Template import error: No VM configure file found.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/hypervisor/xenxm.py", line 1041, in import_template
raise RuntimeError('Template import error: %s' % err)
RuntimeError: Template import error: No VM configure file found.
[2012-10-31 06:32:37 4975] DEBUG (linux:879) ovs_async_proc: pid 4975 status 1 output Template import error: No VM configure file found.
[2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} exit PID 4975
[2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} exit PID 4975
[2012-10-31 06:32:39 4987] DEBUG (service:77) storage_plugin_listFileSystems: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, True)
[2012-10-31 06:32:39 4987] INFO (storageplugin:108) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)
[2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:142) ENTER: listFileSysytems()
[2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:257) EXIT : listFileSysytems()
[2012-10-31 06:32:39 4987] DEBUG (service:85) storage_plugin_listFileSystems: call completed.
[2012-10-31 06:32:39 5005] DEBUG (service:77) discover_pool_filesystem: ()
[2012-10-31 06:32:39 5005] DEBUG (service:85) discover_pool_filesystem: call completed.How did you get the template to where you staged it?
I'd say the template is corrupt or you only have a partial template.
I did notice the call to the template is based on the short name of the host. Can you confirm the VM manager can access the http path via short name? -
Items in template contain errors, only correct items are transferred
Hi guys,
When we create SC with items from the old SC the message appears: "Items in template contain errors, only correct items are transferred". I checked SC, there are no error messages. I found that field SOURCE_REL_IND in the table BBP_PDIGP is initial. Can it be the reason of this error message?Hello
I think the old items from the old SC will be validated, and therefore you got this error message.
I would suggest to uncheck the 'Validate Product Data' (In Additional
Functions in product catalog tab) for the external catalog in the
following path:
spro -> SAP IMG -> Enterprise Buyer -> Master Data ->
Define Catalogs. Select the catalog, and then 'Goto -> Details'
Hope this helps,
Daniel -
Url-template-config Error Deploying app in WLS9.1
I am trying to deploy my application in WLS9.1 and using jdk1.5.0_08. I am getting url-template-config error. There is this file "url-template-config.xml"at
\weblogic91\server\lib\consoleapp\webapp\WEB-INF which is where this error arises and inside that file the schema definition is:
<url-template-config
xmlns="http://www.bea.com/servers/weblogic/url-template-config/8.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/servers/weblogic/url-template-config/8.0 url-template-config.xsd">
Why is weblogic 9.1 using a 8.0 defined template and is this the main problem? Please do help me out.
-ThanksHi
Did you get solution for url-template-config issue with weblogic 9.1 . Iam also getting the same error
15:23:22,531 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR URLTemplateDescriptor:152
- Exception while loading URL templates, /WEB-INF/url-template-config.xml
Throwable: javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismat
ch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
Stack Trace:
javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected
"" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
at org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTemplates(URLTemplatesFactory.java:131)
at org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor.load(URLTemplateDescriptor.java:133)
at org.apache.beehive.netui.pageflow.PageFlowContextListener.performInitializations(PageFlowContextListener.java:102)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.init(PageFlowActionServlet.java:120)
at com.bea.console.internal.ConsoleActionServlet.init(ConsoleActionServlet.java:185)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at weblogic.servlet.AsyncInitServlet.initDelegate(AsyncInitServlet.java:94)
at weblogic.servlet.internal.WebAppServletContext$AsyncInitRequest.run(WebAppServletContext.java:1641)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Please let me knwo
Thanks
Binu -
CDS-11010 Error: (Template expansion error) Undeclared token
SQ_STARTVALUE_LABEL in C:\orant\CGENS72\TPL_RR\rep_seq.tpl
According to the realease notes this bug should of been fixed.
It appears to be lingering. Has anyone else been having this
issue with release 4 of 6i?
It seems to occur only when I generate sequences from the server
model. I'm using the Designer server generator 7.2.52.1.0I got the same error
I am using
Oracle 8i Release 8.1.7 On Windows 2000
Desginer 6i Release 4.2 on Windows NT 4 with SP6
Regards
Salim -
The message: "Items in template contain errors, only correct items..
Hi guys,
When we create SC with items from the old SC the message appears: "Items in template contain errors, only correct items are transferred". I checked SC, there are no error messages. I found that field SOURCE_REL_IND in the table BBP_PDIGP is initial. Can it be the reason of this error message?Hello,
Please make sure that catalog item/customization is properly maintained including OCI field
NEW_ITEM-EXT_PRODUCT_ID. Make sure that these items exist.
Could you kindly UN-CHECK the 'Validate Product Data' (In Additional
Functions in product catalog tab) for the external catalog in the
following path
[Transaction spro -> SAP IMG -> Enterprise Buyer -> Master Data ->
Define Catalogs. Select the catalog, and then 'Goto -> Details'] and
check whether the error message is coming up ?
Kind regards,
Gaurav -
Hi hussein,
I am cloning our db tier but I got this error:
Why it can not create a temp file?
How can I manually create it?
The log information will be written to
/u02/oradev/devdb/9.2.0/appsutil/log/DEV_oel5/adcrdb_DEV.txt
Creating the control file for DEV_oel5 database ...
SQL*Plus: Release 9.2.0.6.0 - Production on Wed Feb 23 04:37:03 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506668 bytes
Fixed Size 452204 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
Control file created.
Database altered.
alter tablespace TEMP add tempfile '/u02/oradev/devdata/temp1TEMP.dbf' REUSE
ERROR at line 1:
ORA-01119: error in creating database file '/u02/oradev/devdata/temp1TEMP.dbf'
ORA-17610: file '/u02/oradev/devdata/temp1TEMP.dbf' does not exist and no size
specified
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Database altered.
Database closed.
Database dismounted.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506668 bytes
Fixed Size 452204 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
Database mounted.
PL/SQL procedure successfully completed.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506668 bytes
Fixed Size 452204 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
Control file created.
Database altered.
alter tablespace TEMP add tempfile '/u02/oradev/devdata/temp1TEMP.dbf' REUSE
ERROR at line 1:
ORA-01119: error in creating database file '/u02/oradev/devdata/temp1TEMP.dbf'
ORA-17610: file '/u02/oradev/devdata/temp1TEMP.dbf' does not exist and no size
specified
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Database altered.
PL/SQL procedure successfully completed.Please help....
ThanksThe log above where it stuck is at:
SCRIPT RETURNED:
Timed out( 300000 ): Interrupted Exception
Generate Tns Names
Logfile: /u01/appldev/devappl/admin/OAPROD_oracletrng5/log/02230552/NetServiceHandler.log
Classpath : /u01/appldev/devcomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u01/appldev/devcomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u01/appldev/devcomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u01/appldev/devcomn/java/appsborg2.zip:/u01/appldev/devcomn/java
Updating s_tnsmode to 'generateTNS'
UpdateContext exited with status: 0
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
Uploading file system Context file and its templates to the database
Context file :
/u01/appldev/devappl/admin/OAPROD_oracletrng5.xml
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL=''
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : oel5
sDbDomain : global.local
sDbPort : 1521
sDbSid : OAPROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oel5.global.local:1521:OAPROD
Connection obtained
-------------------ADX Database Utility Finished--------------- -
Hi Folks,
I was trying to save basic search template master page "seattle.master" after making change to the template.
I have added just "CompanyName" folder and update the line below in seattle.master.
Change is this : <SharePoint:CssRegistration Name="Themable/CompanyName/corev15.css" runat="server"/>
When I save it, and refresh page on browser, it shows "Something went wrong" error.
ULS says the following error : "UserAgent not Available, file operation may not be optimized"
Pls let us know if there is a solution.
Any help Much appreciated !
Thanks,
Sal
Hi Salman,
Thanks for posting this issue,
Just remove this below given tag and check out. It might be happened that your control is conflicting with others.
Also, browse the below mentioned URL for more details
http://social.msdn.microsoft.com/Forums/office/en-US/b32d1968-81f1-42cd-8f45-798406896335/how-apply-custom-master-page-to-performance-point-dashboard-useragent-not-available-file?forum=sharepointcustomization
I hope this is helpful to you. If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Images in RTF template giving errors
Hi,
I am using "XML Publisher Template Builder for Word" ver 5.6 Build 45.
My requirement says that i need to put all data values in a Rectangular BOX. I made the template and tested the same by using Priview option of Template Buider, and it looks Good.
Now as soon as i am trying to upload the same template it gives me NPE, i am pasting the same here....
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.xdo.XDOException.getMessage(XDOException.java:128)
at java.lang.Throwable.getLocalizedMessage(Throwable.java:266)
at java.lang.Throwable.toString(Throwable.java:343)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
Now after this when i closed the instance and reopen it, i found the template is already added even after that exception.
Now i when i am trying to run report it is compliting with error and in log life, error is shown as below...
[9/21/06 2:45:46 PM] [UNEXPECTED] [186597:RT3517534] java.sql.SQLException: No c
orresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.
FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LA
NGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_C
ODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DA
TE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE US
E_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APP
LICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APP
LICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND
L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE=
B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
As there is no row returing in this query i thing there are some prasing issues with RTF templated with images as the same report works fine without images.
Please tell me if you have any pointer how to resove the issue.Hi Tim,
We have logged SR 5803815.992, and uploaded the RTF template and a sample XML data file.
We are currently on 11.5.10 CU2 and 11i.XDO.H
Please let us know if you need any other information.
Thanks -
EBS 12.1.3 VM Template import error
This error is reproduced on an Oracle VM 3.1.1 platform (VM Manager plus one VM Server). Not patched.
Downloaded Oracle E-Business Suite Release 12.1.3 Vision Demo Database Tier Install X86 (64 bit) (part 1 of 8) till (part 8 of 8) from eDelivery web site
Extracted and concatenated all tgz files to OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz
Moved the tgz file to /var/www/html so it becomes available through Apache HTTP.
See the steps below
unzip /tmp/V25323-01.zip
unzip /tmp/V25324-01.zip
unzip /tmp/V25325-01.zip
unzip /tmp/V25326-01.zip
unzip /tmp/V25327-01.zip
unzip /tmp/V25328-01.zip
unzip /tmp/V25329-01.zip
unzip /tmp/V25330-01.zip
cat OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.0 OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.1 OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.2 OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.3 OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.4 OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.5 OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.6 OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.7 > OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz
mv OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz /var/www/html
Open VM Manager 3.1.1
Select the Storage Repository of some 450 GB size
Select VM Template
Click on the Import icon
Enter
Server: OVMserver.domain.com
VM Template: http://VM_Manager_IPaddress/OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz
The import process kicks off fine and starts downloading. Goes on for about 10 minutes and suddlenly stops with the following error message:
curl#18 - "transfer closed with 9775718875 bytes remaining to read"
" on server "44:45:4c:4c:5a:00:10:37:80:33:b6:c0:4f:38:33:4a" associated with object "cfgFile_0004fb0000140000f11a6a059c7c9768"
I tried few times and I consistently got the exact same error message.
Worth mentioned that I did manage to import the EBS Apps VM Template OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM.tgz without any issues. might be because it was smaller size tgz file (8.9GB instead of 30.4 GB)
It looks as though there is a import size limit thereshold or something or maybe the file is corrupted. Don't know
Any help would be much appreciated.
Edited by: user11982744 on Sep 3, 2012 2:20 PMIt looks as though there is a import size limit thereshold or something or maybe the file is corrupted. Don't knowI do not think there is a size limit.
Have you tried to download the file again using a different browser (or using a download manager)?
Can you extract the tgz file with no issues?
If you still have the same issue, then I would suggest you log a SR.
Thanks,
Hussein -
Template Builder error(unable to load data)
Hi All.
When I try to load xml data into my document the template builder throws up the follwoing error
The macro cannot be found or has been disabled because of you macro security settings
This message can appear if:
The macro was deleted from the template.
The template was not loaded or referenced in the Templates and Add-ins command.
The macro was turned off by the macro security settings of your system.
If the macro security settings are not allowing the macro to run, you should confirm the origin of the macro to be sure it can be trusted (contact the developer or the source for the macro). You can temporarily lower your macro security level to Medium, close the file, and then re-open it and enable each of the macros that you want to run. If you do change your macro security settings, be sure to raise them again after you accept the macro or trust the template the macro is stored in (usually requires copying the template to the same folder as other trusted templates).
If the macro is not accessible because the template is not loaded, click Tools | Templates and Add-ins and browse to the template and click either Attach or Add. If the macro is not in the template, you may need to copy the macro from one template to another. Click the Organizer button at the bottom of the Templates and Add-ins dialog to start the Organizer utility.
More information about this error message online. The macro setting in my document was set to medium.
Tool-->>macro-->>security under security level tab it is medium.
I followed all the steps mentioned in Tim's blog..but it didn't help any..
http://blogs.oracle.com/xmlpublisher/2009/04/template_builder_woes_1.html
Under tools-->>templates and addins---->>TemplateBuilder.dot was checked already
MS word ver 2003
BI Pub Desktop ver 10.1.3.3 aslo tried the new version 10.1.3.4
Thanks in adance..Never mind..!
Re-installed Microsoft Office and everything is back and working fine. -
Data template datatrigger error
Hi I have a data template that I'm currently getting an datatrigger error with when trying to generate the xml data. I believe I have my dataTrigger coded correctly and am unsure how to resolve this problem. Below is the data template code, plsql code and the actual error. Can somebody please tell me how to fix this error?
Please help!
<?xml version="1.0"?>
<dataTemplate name="XXKNC_WIPDJCR" description="WIP Critical Ratio Report" dataSourceRef="TEST" version="1.0">
<parameters>
<parameter name="S_DEPT" dataType="character"/>
<parameter name="E_DEPT" dataType="character"/>
<parameter name="P_QTY_IN_QUEUE" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="MAIN_Q1">
<![CDATA[
select distinct cr.Dept_Name, cr.Dept_Description,
case
when cr.denominator = 0 then 0
else round(cr.numerator/cr.denominator,2)
end critical_ratio,
cr.Sched_Op_Start_Date, cr.Sched_Op_Completion_Date,
to_char(cr.MPS_SCHEDULED_COMPLETION_DATE,'MM/DD/RRRR') as JOB_COMP_DATE,
cr.Job_Name, cr.Lot_Number, cr.PART# as ITEM,
substr(cr.Item_Description,1,50) as Item_Description, cr.Op_Seq as OPER,
substr(cr.OP_Description,1,30) as OP_Description, cr.Quantity_Scheduled, cr.Quantity_In_Queue, cr.QUANTITY_COMPLETED
from
select distinct a.Dept_Name, a.Dept_Description, a.Job_Name, a.wip_entity_id, a.MPS_SCHEDULED_COMPLETION_DATE, round(xxknc_critical_ratio_num(a.wip_entity_id),4) as numerator,
den.denominator, to_char(a.Sched_Op_Start_Date,'MM/DD/RRRR') as Sched_Op_Start_Date,
to_char(a.Sched_Op_Completion_Date,'MM/DD/RRRR') as Sched_Op_Completion_Date,
a.PART#, a.Item_Description, a.LOT_NUMBER, a.Quantity_Scheduled, a.Quantity_In_Queue,
a.QUANTITY_COMPLETED, a.Op_Seq, a.OP_Description,
xxknc.xxknc_qty_in_queue.CF_RowNumFormula as CF_RowNumFormula
from
select distinct BD.DEPARTMENT_CODE Dept_Name, BD.DESCRIPTION Dept_Description,
WE.WIP_ENTITY_NAME Job_Name, dj.lot_number, dj.MPS_SCHEDULED_COMPLETION_DATE,
WO.FIRST_UNIT_START_DATE as Sched_Op_Start_Date,
WO.LAST_UNIT_COMPLETION_DATE as Sched_Op_Completion_Date, i.inventory_item AS PART#,
i.DESCRIPTION Item_Description, WO.OPERATION_SEQ_NUM Op_Seq, WO.DESCRIPTION OP_Description,
WO.SCHEDULED_QUANTITY Quantity_Scheduled, WO.QUANTITY_IN_QUEUE Quantity_In_Queue,
WO.QUANTITY_COMPLETED, wor.usage_rate_or_amount, wor.applied_resource_units, wo.wip_entity_id
from apps.WIP_OPERATIONS wo, BOM_DEPARTMENTS BD, wip_operation_resources wor
,WIP_DISCRETE_JOBS DJ, WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND BD.ORGANIZATION_ID = 82
AND BD.DEPARTMENT_ID = WO.DEPARTMENT_ID
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('HR')
and basis_type in (2)
and activity_id in (4,1000)
UNION
select distinct BD.DEPARTMENT_CODE Dept_Name, BD.DESCRIPTION Dept_Description,
WE.WIP_ENTITY_NAME Job_Name, dj.lot_number, dj.MPS_SCHEDULED_COMPLETION_DATE,
WO.FIRST_UNIT_START_DATE as Sched_Op_Start_Date,
WO.LAST_UNIT_COMPLETION_DATE as Sched_Op_Completion_Date,
i.inventory_item AS PART#, i.DESCRIPTION Item_Description, WO.OPERATION_SEQ_NUM Op_Seq,
WO.DESCRIPTION OP_Description, WO.SCHEDULED_QUANTITY Quantity_Scheduled,
WO.QUANTITY_IN_QUEUE Quantity_In_Queue, WO.QUANTITY_COMPLETED,
(wor.usage_rate_or_amount * WO.QUANTITY_COMPLETED) as usage_rate_or_amount,
wor.applied_resource_units, wo.wip_entity_id
from apps.WIP_OPERATIONS wo, BOM_DEPARTMENTS BD, wip_operation_resources wor ,WIP_DISCRETE_JOBS DJ, WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND BD.ORGANIZATION_ID = 82
AND BD.DEPARTMENT_ID = WO.DEPARTMENT_ID
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('HR')
and basis_type in (1)
and activity_id in (1)
UNION
select distinct BD.DEPARTMENT_CODE Dept_Name, BD.DESCRIPTION Dept_Description,
WE.WIP_ENTITY_NAME Job_Name, dj.lot_number, dj.MPS_SCHEDULED_COMPLETION_DATE,
WO.FIRST_UNIT_START_DATE as Sched_Op_Start_Date,
WO.LAST_UNIT_COMPLETION_DATE as Sched_Op_Completion_Date,
i.inventory_item AS PART#, i.DESCRIPTION Item_Description, WO.OPERATION_SEQ_NUM Op_Seq,
WO.DESCRIPTION OP_Description, WO.SCHEDULED_QUANTITY Quantity_Scheduled,
WO.QUANTITY_IN_QUEUE Quantity_In_Queue, WO.QUANTITY_COMPLETED,
(wor.usage_rate_or_amount * 24) as usage_rate_or_amount,
wor.applied_resource_units, wo.wip_entity_id
from apps.WIP_OPERATIONS wo,
BOM_DEPARTMENTS BD, wip_operation_resources wor, WIP_DISCRETE_JOBS DJ, WIP_ENTITIES WE
,invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND BD.ORGANIZATION_ID = 82
AND BD.DEPARTMENT_ID = WO.DEPARTMENT_ID
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('DAY')
and basis_type in (2)
and activity_id in (4,1000)
UNION
select distinct BD.DEPARTMENT_CODE Dept_Name, BD.DESCRIPTION Dept_Description,
WE.WIP_ENTITY_NAME Job_Name, dj.lot_number, dj.MPS_SCHEDULED_COMPLETION_DATE,
WO.FIRST_UNIT_START_DATE as Sched_Op_Start_Date,
WO.LAST_UNIT_COMPLETION_DATE as Sched_Op_Completion_Date,
i.inventory_item AS PART#, i.DESCRIPTION Item_Description, WO.OPERATION_SEQ_NUM Op_Seq,
WO.DESCRIPTION OP_Description, WO.SCHEDULED_QUANTITY Quantity_Scheduled,
WO.QUANTITY_IN_QUEUE Quantity_In_Queue, WO.QUANTITY_COMPLETED,
((wor.usage_rate_or_amount * 24) * WO.QUANTITY_COMPLETED) as usage_rate_or_amount,
wor.applied_resource_units, wo.wip_entity_id
from apps.WIP_OPERATIONS wo, BOM_DEPARTMENTS BD, wip_operation_resources wor
,WIP_DISCRETE_JOBS DJ, WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND BD.ORGANIZATION_ID = 82
AND BD.DEPARTMENT_ID = WO.DEPARTMENT_ID
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('DAY')
and basis_type in (1)
and activity_id in (1)
UNION
select distinct BD.DEPARTMENT_CODE Dept_Name, BD.DESCRIPTION Dept_Description, WE.WIP_ENTITY_NAME Job_Name, dj.lot_number, dj.MPS_SCHEDULED_COMPLETION_DATE,
WO.FIRST_UNIT_START_DATE as Sched_Op_Start_Date,
WO.LAST_UNIT_COMPLETION_DATE as Sched_Op_Completion_Date,
i.inventory_item AS PART#, i.DESCRIPTION Item_Description, WO.OPERATION_SEQ_NUM Op_Seq,
WO.DESCRIPTION OP_Description, WO.SCHEDULED_QUANTITY Quantity_Scheduled,
WO.QUANTITY_IN_QUEUE Quantity_In_Queue, WO.QUANTITY_COMPLETED,
NULL AS usage_rate_or_amount, NULL AS applied_resource_units, wo.wip_entity_id
from apps.WIP_OPERATIONS wo, BOM_DEPARTMENTS BD, WIP_DISCRETE_JOBS DJ,
WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND BD.ORGANIZATION_ID = 82
AND BD.DEPARTMENT_ID = WO.DEPARTMENT_ID
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
and wo.operation_seq_num between 1 and 10
and wo.quantity_in_queue > 0
and wo.operation_seq_num NOT IN (select distinct operation_seq_num from wip_operation_resources
where wip_entity_id = wo.wip_entity_id
and operation_seq_num between 1 and 10)
order by 1
) a,
( -- this inline view gets the denominator value
select b.Job_Name, b.WIP_ENTITY_ID, xxknc_critical_ratio_den (b.wip_entity_id) as denominator
from
select a.Job_Name, a.WIP_ENTITY_ID,
sum(a.usage_rate_or_amount) as usage_rate_or_amount
from
select distinct WE.WIP_ENTITY_ID, WE.WIP_ENTITY_NAME Job_Name, wor.usage_rate_or_amount, WO.LAST_UNIT_COMPLETION_DATE
from apps.WIP_OPERATIONS wo, wip_operation_resources wor, WIP_DISCRETE_JOBS DJ
,WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('HR')
and basis_type in (2)
and activity_id in (4,1000)
UNION
select distinct WE.WIP_ENTITY_ID, WE.WIP_ENTITY_NAME Job_Name,
(wor.usage_rate_or_amount * WO.QUANTITY_COMPLETED) as usage_rate_or_amount, WO.LAST_UNIT_COMPLETION_DATE
from apps.WIP_OPERATIONS wo, wip_operation_resources wor, WIP_DISCRETE_JOBS DJ
,WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('HR')
and basis_type in (1)
and activity_id in (1)
UNION
select distinct WE.WIP_ENTITY_ID, WE.WIP_ENTITY_NAME Job_Name,
(wor.usage_rate_or_amount * 24) as usage_rate_or_amount, WO.LAST_UNIT_COMPLETION_DATE
from apps.WIP_OPERATIONS wo, wip_operation_resources wor, WIP_DISCRETE_JOBS DJ
,WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('DAY')
and basis_type in (2)
and activity_id in (4,1000)
UNION
select distinct WE.WIP_ENTITY_ID, WE.WIP_ENTITY_NAME Job_Name,
((wor.usage_rate_or_amount * 24) * WO.QUANTITY_COMPLETED) as usage_rate_or_amount, WO.LAST_UNIT_COMPLETION_DATE
from apps.WIP_OPERATIONS wo, wip_operation_resources wor, WIP_DISCRETE_JOBS DJ
,WIP_ENTITIES WE, invfg_items i
where WO.ORGANIZATION_ID = 82
and DJ.ORGANIZATION_ID = 82
AND WE.ORGANIZATION_ID = 82
AND i.ORGANIZATION_ID = 82
AND i.inventory_item_id = WE.PRIMARY_ITEM_ID
AND WO.WIP_ENTITY_ID = WE.WIP_ENTITY_ID
AND WE.ENTITY_TYPE = 1
and dj.status_type = 3
AND wo.wip_entity_id = dj.wip_entity_id
AND wor.wip_entity_id = wo.wip_entity_id
AND wor.operation_seq_num = wo.operation_seq_num
AND wor.uom_code IN ('DAY')
and basis_type in (1)
and activity_id in (1)
order by 1
) a
group by a.WIP_ENTITY_ID, a.Job_Name
) b
order by 1
) den
where a.wip_entity_id = den.wip_entity_id
ORDER BY a.Job_Name
) cr
where upper(cr.Dept_Name) between nvl(upper(:S_DEPT), upper(cr.Dept_Name)) and nvl(upper(:E_DEPT),upper(cr.Dept_Name))
and &pwhereclause
order by 1,3,6,8
]]>
</sqlStatement>
</dataQuery>
<dataTrigger name="beforeReport" source="xxknc_qty_in_queue.BeforeReportTrigger(:P_QTY_IN_QUEUE)" />
<dataStructure>
<group name="G_DEPT_NAME" source="MAIN_Q1">
<element name="Dept_Name" value="DEPT_NAME" />
<element name="DEPT_DESCRIPTION" value="DEPT_DESCRIPTION" />
<element name="LOT_NUMBER" value="LOT_NUMBER" />
<element name="QUANTITY_SCHEDULED" value="QUANTITY_SCHEDULED" />
<element name="CRITICAL_RATIO" value="CRITICAL_RATIO" />
<element name="SCHED_OP_START_DATE" value="SCHED_OP_START_DATE" />
<element name="SCHED_OP_COMPLETION_DATE" value="SCHED_OP_COMPLETION_DATE" />
<element name="JOB_COMP_DATE" value="JOB_COMP_DATE" />
<element name="JOB_NAME" value="JOB_NAME" />
<element name="ITEM" value="ITEM" />
<element name="ITEM_DESCRIPTION" value="ITEM_DESCRIPTION" />
<element name="OPER" value="OPER" />
<element name="OPER_DESCRIPTION" value="OPER_DESCRIPTION" />
<element name="QUANTITY_IN_QUEUE" value="QUANTITY_IN_QUEUE" />
<element name="QUANTITY_COMPLETED" value="QUANTITY_COMPLETED" />
<element name="CF_ROWNUMFORMULA" value="CF_ROWNUMFORMULA" />
<element name="S_DEPT" value="S_DEPT" />
<element name="E_DEPT" value="E_DEPT" />
<element name="P_QTY_IN_QUEUE" value="P_QTY_IN_QUEUE" />
</group>
</dataStructure>
</dataTemplate>
create or replace package xxknc_qty_in_queue is
P_QTY_IN_QUEUE varchar2(100);
pwhereclause varchar2(1000);
function BeforeReportTrigger(p_qty_in_queue IN varchar2) return boolean;
function CF_RowNumFormula return number;
end xxknc_qty_in_queue;
create or replace package body xxknc_qty_in_queue as
function BeforeReportTrigger(p_qty_in_queue IN varchar2) return boolean
is
begin
pwhereclause := 'x';
if(upper(P_QTY_IN_QUEUE) = 'YES') then
pwhereclause := 'cr.Quantity_In_Queue > 0';
elsif (upper(P_QTY_IN_QUEUE) = 'NO') then
pwhereclause := 'cr.Quantity_In_Queue = 0';
else
pwhereclause := '1=1';
end if;
return (TRUE);
end BeforeReportTrigger;
function CF_RowNumFormula return Number
is
vCount number;
begin
vCount := 0;
vCount:=apps.XXKNC_SHIP_OUTLOOK_REPORT;
if (mod(vCount,2) = 0) then
return 1;
else
return 0;
end if;
end CF_RowNumFormula;
end xxknc_qty_in_queue;
Custom Application: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XXKNC_WIPDJCR_DEF module: XXKNC_WIP_XML_Data_Template
Current system time is 20-JUL-2009 08:24:12
XDO Data Engine Version No: 5.6.3
Resp: 20420
Org ID : 81
Request ID: 3370019
All Parameters: S_DEPT=ADMIN:E_DEPT=INSP:P_QTY_IN_QUEUE=YES:CP_QTY_IN_QUEUE=YES
Data Template Code: XXKNC_WIPDJCR_DEF
Data Template Application Short Name: CUSTOM
Debug Flag: N
{E_DEPT=INSP, S_DEPT=ADMIN, CP_QTY_IN_QUEUE=YES, P_QTY_IN_QUEUE=YES}
Calling XDO Data Engine...
[072009_082414567][][ERROR] Variable 'pwhereclause' is missing....
[072009_082414616][][EXCEPTION] java.sql.SQLException: ORA-06550: line 2, column 18:
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> avg
count current exists max min prior sql stddev sum variance
execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
<an alternatively-quoted string literal with character set specification>
<an alternatively-quoted S
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2191)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2064)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2989)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:736)
at oracle.apps.xdo.dataengine.DataTemplateParser.getRemoteValue(DataTemplateParser.java:1756)
at oracle.apps.xdo.dataengine.DataTemplateParser.getSubstituteObject(DataTemplateParser.java:1583)
at oracle.apps.xdo.dataengine.DataTemplateParser.replaceSubstituteVariables(DataTemplateParser.java:1404)
at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:440)
at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:429)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:300)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:266)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
--SQLException
java.sql.SQLException: ORA-00920: invalid relational operator
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:850)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2599)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:515)
at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:429)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:300)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:266)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 20-JUL-2009 08:24:14
---------------------------------------------------------------------------Misra, I noticed that I misspelled my pwhereclaus parameter so I went back and corrected it. When I executed the data template I got a new error. Can you tell me what this error means or how to fix this?
Custom Application: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XXKNC_WIPDJCR_DEF module: XXKNC_WIP_XML_Data_Template
Current system time is 20-JUL-2009 11:40:07
XDO Data Engine Version No: 5.6.3
Resp: 20420
Org ID : 81
Request ID: 3370253
All Parameters: S_DEPT=ADMIN:E_DEPT=BIO:P_QTY_IN_QUEUE=YES:CP_QTY_IN_QUEUE=YES
Data Template Code: XXKNC_WIPDJCR_DEF
Data Template Application Short Name: CUSTOM
Debug Flag: N
{E_DEPT=BIO, S_DEPT=ADMIN, CP_QTY_IN_QUEUE=YES, P_QTY_IN_QUEUE=YES}
Calling XDO Data Engine...
java.lang.NullPointerException
at oracle.apps.xdo.dataengine.DataTemplateParser.getObjectVlaue(DataTemplateParser.java:1695)
at oracle.apps.xdo.dataengine.DataTemplateParser.replaceSubstituteVariables(DataTemplateParser.java:1414)
at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:440)
at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:429)
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:300)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:266)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 20-JUL-2009 11:40:09
--------------------------------------------------------------------------- -
Custom Purchase Order template causes Error while generating PDF
The standard XSLFO works, my custom one errors:
History of the world:
1) I downloaded the XML Publisher thing for Word, installed it no problems
2) Downloaded the XML data definition for the Standard Purchase Order from XML Publisher Administrator
3) Created a blank word document and created the purchase order layout from scratch using the XML Publisher plug-in
4) Previewed it as a PDF in word - it looked fine (well, it was a start)
5) Exported the XSLFO
6) In XML Publisher created a new template and uploaded the XSLFO
7) Assigned the new template to the document in Purchasing
All good... the new template is defintately the one being used by the PO Output for Communication program. The problem of course is that it throws a useless error message :) - namely:
PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
java.lang.Exception: Error while generating PDF :null
java.lang.Exception: Error while generating PDF :null
at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2011)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:421)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
When I run POXPOPDF in Debug I get:
getArchiveOn(): APPROVE
After calling genDocThu May 18 12:50:05 EST 2006
Adding the blob to vector
java.lang.NullPointerException
java.lang.NullPointerException
at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:304)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
I know no one can magically fix this for me (I wish!) but does anyone have any suggestions on what to do next? I have no conditional formatting or any other more complex functionality, just a really boring PO layout with a logo.
Any suggestions welcome, in the meantime I will keep trawling through Metalink in search of a clue ;)
Thanks
JoHi Jo,
The first version for which the Template Builder was released is 5.0
Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
Hope that helps,
Klaus -
Custom SharePoint 2013 workflow activities in site template throw error on site creation
Hi all,
I have created a number of custom activities for SharePoint 2013 Workflows and I am using them on an Office 365 environment. The custom activities are packaged as a sandbox solution and deployed on my Office 365 site. Everything works as expected.
I have now created a site with all the functionality I need, including some Site and List workflows - all of them containing my custom activities. I saved the site as a template - including content - and the process was completed successfully.
My problem is that when I try to create a site based on that template, I get the following error:
Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_66b9230b_823e_4783_82b8_daf481237847' from scope '/spo/d42a4487-9465-4347-9f2c-a2718e92fc02/74d0f9e7-fb35-493d-86fb-ab7aa27da7e0/c2e1bf45-cf67-4e13-9755-421cf92395f8'
was not found. HTTP headers received from the server - ActivityId: 0997496a-5a15-4b83-82eb-727881eefa67. NodeId: . Scope: . Client ActivityId : c82f6e9c-9f8f-808b-7679-f2c0f92a339d. ---> System.Net.WebException: The remote server returned an error
After a number of trials and errors, I am certain that this relates to my custom activities. i have already tested all of the following scenarios:
Delete the workflow with the custom actions: Site is created successfully.
Create a new workflow with no custom actions and save the site as a template:
Site is created successfully.
Save the site template including a workflow with my custom activities, but not including content:
Site is created successfully, but my workflow is not there.
Create a new custom workflow activities sandbox with one custom activity that just writes something to the history list - just to make sure that this is not related to any specific solution. Save the site as a template:
Site creation throws the same error.
Packaged my workflow (with my custom activities) as a wsp from SharePoint Designer and deployed it as a custom solution. Activated the feature in the target site. The workflow gets created and executing finally. Saved the site as template: Site
creation throws the same error.
Same as above, but without activating the feature in the target site: Site created successfully, workflow works fine after I activate the feature in the new site.
My custom activities feature is always enabled in the site I save as template - in all of the above scenarios.
I have tested all of the above scenarios both on SharePoint 2013 on-premise and Office 365. There is
a forum post regarding some inconsistencies in the wsp file, but unfortunately this is not my case. Am I doing something wrong? Are custom 2013 workflow activities not supported in site templates - which would not actually make any sense, as it would "break"
the fundamental concept of re-usability.
Any ideas/feedback/guidance?
Thanx in advanceHi,
I am facing the same issue. Kindly help me out if any of them have solved similar issue.
Your help would be appreciated.
manikantan -
Web template report error in portal
Hi,
I got this error message when trying to open reports from portal in production.
How can I resolve this issue.
General exception in deploy transformation for object "WEB_TEMPLATE"
I don't get the same error in Quality and Development environments.
thanksHi Gurus,
does anybody has any idea how I can resolve this issue.
I couldn't find any problem with the web template.
thanks
Maybe you are looking for
-
How to open Camera Raw in Bridge, it comes up with the following error
How to open Camera Raw in Bridge, it comes up with the following error Bridge parent application is not Active Bridge requires that a qualifing product has been lanched at least once to enable this feature. It opens in Photoshop CS6 & Elements 10
-
Can't save a PDF data using Reader
I have downloaded a PDF form from a website but I can't save the entered data. Help please
-
Accounting doc not getting created
Dear All, While releasing the billing doc to accounting i am getting the following message- 'Field text is a required field for g/l account xxx 89000'. xxx is the company code. Also when i go for the explanation of this it says- 'The value for field
-
Removing characters from string after a certain point
Im very new to java programming, so if this is a realy stupid question, please forgive me I want to remove all the characters in my string that are after a certain character, such as a backslash. eg: if i have string called "myString" and it contains
-
Best Spec for Graphic Designer
I am about to purchase a Mac Pro and have read for hours on the best setup for myself. So, thought I'd throw the question to anyone on here with valid and decent advice. I am a graphic designer for print and I don't do any rendering or video work. I