Getting error while compiling frmcmp_batch batch file
HI
I am getting error while running frmcmp_batch commant
to create .fmx file
following is command that i am using
$ frmcmp_batch module=$AU_TOP/forms/US/DEMxxEOR.fmb userid=APPS/apps output_file=$PO/forms/US/DEMxxEOR.fmx module_type=form batch=no compile_all=specialfollowing is error that i am getting
Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application >>Testing options
PL/SQL Version 10.1.0.5.0 (Production)
Oracle Procedure Builder V10.1.2.3.0 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.5.0 Production
FRM-18108: Failed to load the following objects.
Source Module:APPSTAND>> Source Object: STANDARD_PC_AND_VA
Source Module:APPSTAND>>Source Object: STANDARD_TOOLBAR
Source Module:APPSTAND>>Source Object: STANDARD_CALENDAR
Compiling package specification APP_CUSTOM...>> No compilation errors.
Compiling package specification APP_CUSTOM...>> No compilation errors.
Compiling package body APP_CUSTOM...
Compilation error on package body APP_CUSTOM:
PL/SQL ERROR 302 at line 22, column 19
component 'DISABLED' must be declared
PL/SQL ERROR 0 at line 22, column 5
Statement ignored
PL/SQL ERROR 201 at line 40, column 5
identifier 'APP_WINDOW.CLOSE_FIRST_WINDOW' must be declared
PL/SQL ERROR 0 at line 40, column 5
Statement ignored
Compilation errors have occurred.
Form not created
Hi;
I am getting error while running frmcmp_batch commant
to create .fmx file
following is command that i am using
$ frmcmp_batch module=$AU_TOP/forms/US/DEMxxEOR.fmb userid=APPS/apps output_file=$PO/forms/US/DEMxxEOR.fmx module_type=form batch=no compile_all=special
Please try wiht below syntax
frmcmp_batch userid=apps/apps module=/u01/VIS/apps/apps_st/appl/au/12.0.0/forms/US/INVTTMTX.fmb output_file=/u01/VIS/apps/apps_st/appl/au/12.0.0/forms/US/INVTTMTX.fmx module_type=form batch=no compile_all=yes
Regard
Helios
Similar Messages
-
Error while compiling VO java files
I am getting following error while compiling VO java class in my instance
Exception in thread "main" java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags)
at JvClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
at JvClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)
at JvClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)
at JvClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
at JvDefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
Please advise me to get rid of this one.
-- Manoj
Edited by: 856261 on May 4, 2011 12:55 AMI created custom VO and files in my local JDev and it is working properly.
I wanna migrate it to actual instance.So my question is is it mandatory to compile custom java file in application server or i can use same which i used in my local machine(windows)?
-- Manoj -
Getting error while creating a text file
Hi,
I have one macro which will write all the file names from a particular folder into a text file. However when I run it, I am getting the following error message and only last file of the identified folder is getting added in my text file.
Run Time Error '55'
File Already Open
To reproduce the scenario please add one commandbutton in your excel shhet and add the following code:
Private Sub CommandButton1_Click()
Dim p As String, x As Variant
p = "C:/*.docx"
x = GetFileList(p)
Select Case IsArray(x)
Case True 'files found
MsgBox UBound(x)
For i = LBound(x) To UBound(x)
Open "C:\temp.txt" For Output As 1
Write #1, "File Name " & x(i)
Next i
Close #1
Case False
MsgBox "No matching files"
End Select
End Sub
Function GetFileList(FileSpec As String) As Variant
Dim FileArray() As Variant
Dim FileCount As Integer
Dim FileName As String
On Error GoTo NoFilesFound
FileCount = 0
FileName = Dir(FileSpec)
If FileName = "" Then GoTo NoFilesFound
' Loop until no more matching files are found
Do While FileName <> ""
FileCount = FileCount + 1
ReDim Preserve FileArray(1 To FileCount)
FileArray(FileCount) = FileName
FileName = Dir()
Loop
GetFileList = FileArray
Exit Function
' Error handler
NoFilesFound:
GetFileList = False
End Function
'End Function
For example if I have 3 docx file(1,2,3-name of the files) in my C drive, the o/p that I want in my .txt file will be as follows.
File Name 1.docx
File Name 2.docx
File Name 3.docx
Thanks!!For i = LBound(x) To UBound(x)
Open "C:\temp.txt" For Output As 1
You call the Open method inside the FOR loop.
BTW, a collection is much more easier.
Andreas.
Private Sub CommandButton1_Click()
Dim Files As New Collection
Dim File
Dim ff As Integer
File = Dir("C:\*.docx")
Do While File <> ""
Files.Add File
File = Dir
Loop
If Files.Count = 0 Then
MsgBox "No matching files"
Exit Sub
Else
MsgBox Files.Count & " files"
End If
ff = FreeFile
Open "C:\temp.txt" For Output As #ff
For Each File In Files
Print #ff, File
Next
Close #ff
End Sub -
Hi,
I am using windows 7 professional(service pack 1) 64 bit operating system.
After installing the odi 12c (enterprise edition) by executing the odi_121200.jar file I am getting the following error while trying to run the ua.bat file.
[2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [UPGAST-00056] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] error initializing upgrade plug-in for ODI.ODI1
[2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Cause: An unexpected error occurred initializing an upgrade plug-in.
[2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Action: Contact Oracle Support Services. See the secondary error message for additional details.
[2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] [[
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at oracle.ias.update.plugin.Plugin.instantiatePlugin(Plugin.java:248)
at oracle.ias.update.plugin.Plugin.<init>(Plugin.java:229)
at oracle.ias.update.plugin.Plugin.getPlugin(Plugin.java:180)
at oracle.ias.update.plan.PlanStep.getPlugin(PlanStep.java:335)
at oracle.ias.update.plan.PlanString.<init>(PlanString.java:66)
at oracle.ias.update.plan.PlanCustom.<init>(PlanCustom.java:74)
at oracle.ias.update.plan.PlanStep.<init>(PlanStep.java:189)
at oracle.ias.update.plan.PlanComponent.<init>(PlanComponent.java:203)
at oracle.ias.update.plan.Template.load(Template.java:161)
at oracle.ias.update.plan.Template.loadAllTemplates(Template.java:102)
at oracle.ias.update.UpgradeDriver.loadConfiguration(UpgradeDriver.java:838)
at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:257)
at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:175)
Caused by: java.util.MissingResourceException: Can't find oracle.ias.update.plugin.odi.bundle.ODIResourceBundle bundle
at java.util.logging.Logger.setupResourceInfo(Logger.java:1518)
at java.util.logging.Logger.<init>(Logger.java:265)
at java.util.logging.Logger.<init>(Logger.java:260)
at oracle.ias.update.UpgradeLogger.<init>(UpgradeLogger.java:60)
at oracle.ias.update.UpgradeLogger.getLogger(UpgradeLogger.java:93)
at oracle.ias.update.LoggingManager.create(LoggingManager.java:249)
at oracle.ias.update.plugin.UpgradePlugin.createPluginLogger(UpgradePlugin.java:195)
at oracle.ias.update.plugin.UpgradePlugin.<init>(UpgradePlugin.java:181)
at oracle.ias.update.plugin.odi.ODIPlugin.<init>(ODIPlugin.java:136)
... 17 more
[2013-10-24T16:49:07.869+05:30] [Framework] [ERROR] [UPGAST-00259] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] The getInitialValue method for plug-in ODI.ODI1 will not be called due to a previous error.
[2013-10-24T16:49:07.869+05:30] [Framework] [ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Cause: An error occurred when loading or initializing the plug-in which prevents the getInitialValue method from executing.
[2013-10-24T16:49:07.869+05:30] [Framework] [ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Action: Review the log file for additional details.
[2013-10-24T16:49:07.870+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] UPGAST-00251: An error occured reading Upgrade Descriptor file ODI\INSTALLATION\odi12cInstallation_1\odi\plugins\upgrade\odi.xml
[2013-10-24T16:49:07.870+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] The file does not conform to the expected syntax.
[2013-10-24T16:49:07.870+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] See the secondary message for additional information. Contact Oracle Support.
[2013-10-24T16:49:07.871+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] UPGAST-00259: The getInitialValue method for plug-in ODI.ODI1 will not be called due to a previous error.
[2013-10-24T16:49:07.871+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] [[
oracle.ias.update.exception.UpgradeException: UPGAST-00259: The getInitialValue method for plug-in ODI.ODI1 will not be called due to a previous error.
at oracle.ias.update.plugin.Plugin.getInitialValue(Plugin.java:317)
at oracle.ias.update.plan.PlanString.<init>(PlanString.java:67)
at oracle.ias.update.plan.PlanCustom.<init>(PlanCustom.java:74)
at oracle.ias.update.plan.PlanStep.<init>(PlanStep.java:189)
at oracle.ias.update.plan.PlanComponent.<init>(PlanComponent.java:203)
at oracle.ias.update.plan.Template.load(Template.java:161)
at oracle.ias.update.plan.Template.loadAllTemplates(Template.java:102)
at oracle.ias.update.UpgradeDriver.loadConfiguration(UpgradeDriver.java:838)
at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:257)
at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:175)
Thanks and Regards
Sunilok - I think I've got it figured. Appears to be a known issue. You need to apply patch p17073913_121200.
I downloaded that and applied to my Linux version - then re-ran the UA. This time the GUI started and so now I'm going through the upgrade steps.
The patch is generic, so should work for your windows environment too. Good luck. -
Java.io.filepermission error while executing a batch file from java prog
Hi,
i want run a java program which executes a batch file, both are in a jar file. while am trying this using webstart it shows error:access denied java.io.filepermission <<ALL FILES>>execute. why this happens how to rectify this.
By
VinodClearly, it would be a security vulnerability to be able to do such a thing from the web w/o user granting trust to the application.
Java Web Start applications run in the Java SE secure sandbox unless they have been granted all-permissions by the user:
1.) sign all jar files.
2.) add <security><all-permissions/></security> to the jnlp file.
The user would then be prompted to grant trust to the applications.
/Andy -
Getting error while compiling The Dukes Bank Application
Hi,
I am trying to complies The Dukes Bank Application with reference to http://docs.jboss.org/jbossas/getting_started/v4/html/dukesbank.html guide.
I am getting the following error:
D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank>ant -f jboss-build.xml c
pile
Buildfile: jboss-build.xml
prepare:
compile:
[javac] Compiling 5 source files to D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-sr
examples\bank\build
BUILD FAILED
D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank\jboss-build.xml:44: D:\T
hnical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank\${jboss.server}\lib not found.
Total time: 0 seconds
D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank>
Its not able to find ${jboss.server}\lib.
What is the solution for this compiling problem. Please help me.
Thanks in Advance.Hi,
This could also be a reason :
If you have any private proc defined in package body, make sure you define it at the top before using in other proc inside package body. -
Getting error while testing a outbound file in oracle B2B11g
Hi,
I am trying to configuare a outbound scenario in oracle B2B 11g.
I have created .ecs file and .xsd file and created a document type also and i am using generic file 1.0 as a lintening channel protocol and trying to read the input xml document from a perticular path.
I had setup partner and agreement also. everything is working fine and also file is succesfully polling from the source folder but i am getting error in B2B as :
B2B-50083
Error Description Machine Info: (infva0325) Description: Document protocol identification error.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Document protocol identification error.
Can anyone guide me how to resolve this error?
I had tried everything but of no use.
Please do reply me with your suggestions.Hi Anuj,
Please find below xml data which will be saved as .txt file for outbound processing. Let me know if there are any changes i have to do. Please let me know if you need any further information. Listening channel is reading the file but in agreement level it is failing.
<?xml version="1.0" encoding="UTF-8"?><Transaction-DESADV XDataVersion="1.0" Standard="EDIFACT" Version="D93A" CreatedBy="ECXEngine_837" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CreatedDate="2011-12-14T12:59:40" GUID="{2d323135-3336-3630-3232-313938393033}" xmlns="urn:oracle:integration:b2b:099C29D4C4ED419194917C20ADF8ABC3">
<Internal-Properties>
<Data-Structure Name="Interchange">
<Property Name="InterchangeSenderID">senderID</Property>
<Property Name="InterchangeSenderQual">senderQuali</Property>
<Property Name="InterchangeReceiverID">RecieverID</Property>
<Property Name="InterchangeReceiverQual">RecieverQuali</Property>
<Property Name="RepeatingSeparator"/>
<Property Name="InterchangeApplicationRef">DESADV</Property>
<Data-Structure Name="Transaction">
<Property Name="TransactionID">DESADV</Property>
<Property Name="TransactionControllingAgency"/>
<Property Name="TransactionMessageVersionNumber">D</Property>
<Property Name="TransactionMessageReleaseNumber">93A</Property>
<Property Name="TransactionAssociationAssignedCode"/>
</Data-Structure>
</Data-Structure>
</Internal-Properties>
<Segment-UNH>
<Element-0062>#ControlNumber#</Element-0062>
<Composite-S009>
<Element-0065>DESADV</Element-0065>
<Element-0052>D</Element-0052>
<Element-0054>93A</Element-0054>
<Element-0051>UN</Element-0051>
<Element-0057>EDIT30</Element-0057>
</Composite-S009>
</Segment-UNH>
<Segment-BGM>
<Composite-C002>
<Element-1001>351</Element-1001>
</Composite-C002>
<Element-1004>3364382</Element-1004>
</Segment-BGM>
<Segment-DTM>
<Composite-C507>
<Element-2005>137</Element-2005>
<Element-2380>20111214</Element-2380>
<Element-2379>102</Element-2379>
</Composite-C507>
</Segment-DTM>
<Loop-Group_2>
<Segment-NAD>
<Element-3035>SH</Element-3035>
<Composite-C082>
<Element-3039>7393142020009</Element-3039>
<Element-1131 xsi:nil="true"/>
<Element-3055>9</Element-3055>
</Composite-C082>
</Segment-NAD>
</Loop-Group_2>
<Loop-Group_2>
<Segment-NAD>
<Element-3035>CN</Element-3035>
<Composite-C082>
<Element-3039>7350056030012</Element-3039>
<Element-1131 xsi:nil="true"/>
<Element-3055>9</Element-3055>
</Composite-C082>
</Segment-NAD>
</Loop-Group_2>
<Loop-Group_10>
<Segment-CPS>
<Element-7164>1</Element-7164>
</Segment-CPS>
<Loop-Group_15>
<Segment-LIN>
<Element-1082>1</Element-1082>
<Element-1229 xsi:nil="true"/>
</Segment-LIN>
<Segment-PIA>
<Element-4347>5</Element-4347>
<Composite-C212_1>
<Element-7140>210587</Element-7140>
<Element-7143>BP</Element-7143>
</Composite-C212_1>
</Segment-PIA>
<Segment-QTY>
<Composite-C186>
<Element-6063>12</Element-6063>
<Element-6060>3</Element-6060>
</Composite-C186>
</Segment-QTY>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>PK</Element-1153>
<Element-1154>1</Element-1154>
</Composite-C506>
</Segment-RFF>
</Loop-Group_16>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>VN</Element-1153>
<Element-1154>6152310</Element-1154>
</Composite-C506>
</Segment-RFF>
<Segment-DTM>
<Composite-C507>
<Element-2005>171</Element-2005>
<Element-2380>20111214</Element-2380>
<Element-2379>102</Element-2379>
</Composite-C507>
</Segment-DTM>
</Loop-Group_16>
<Loop-Group_23>
<Segment-QVA>
<Composite-C279>
<Element-6064>0</Element-6064>
<Element-6063_1>83</Element-6063_1>
</Composite-C279>
<Element-4221>CP</Element-4221>
</Segment-QVA>
</Loop-Group_23>
</Loop-Group_15>
<Loop-Group_15>
<Segment-LIN>
<Element-1082>2</Element-1082>
<Element-1229 xsi:nil="true"/>
</Segment-LIN>
<Segment-PIA>
<Element-4347>5</Element-4347>
<Composite-C212_1>
<Element-7140>210510</Element-7140>
<Element-7143>BP</Element-7143>
</Composite-C212_1>
</Segment-PIA>
<Segment-QTY>
<Composite-C186>
<Element-6063>12</Element-6063>
<Element-6060>3</Element-6060>
</Composite-C186>
</Segment-QTY>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>PK</Element-1153>
<Element-1154>1</Element-1154>
</Composite-C506>
</Segment-RFF>
</Loop-Group_16>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>VN</Element-1153>
<Element-1154>6152310</Element-1154>
</Composite-C506>
</Segment-RFF>
<Segment-DTM>
<Composite-C507>
<Element-2005>171</Element-2005>
<Element-2380>20111214</Element-2380>
<Element-2379>102</Element-2379>
</Composite-C507>
</Segment-DTM>
</Loop-Group_16>
<Loop-Group_23>
<Segment-QVA>
<Composite-C279>
<Element-6064>0</Element-6064>
<Element-6063_1>83</Element-6063_1>
</Composite-C279>
<Element-4221>CP</Element-4221>
</Segment-QVA>
</Loop-Group_23>
</Loop-Group_15>
<Loop-Group_15>
<Segment-LIN>
<Element-1082>3</Element-1082>
<Element-1229 xsi:nil="true"/>
</Segment-LIN>
<Segment-PIA>
<Element-4347>5</Element-4347>
<Composite-C212_1>
<Element-7140>081349</Element-7140>
<Element-7143>BP</Element-7143>
</Composite-C212_1>
</Segment-PIA>
<Segment-QTY>
<Composite-C186>
<Element-6063>12</Element-6063>
<Element-6060>1</Element-6060>
</Composite-C186>
</Segment-QTY>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>PK</Element-1153>
<Element-1154>2</Element-1154>
</Composite-C506>
</Segment-RFF>
</Loop-Group_16>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>VN</Element-1153>
<Element-1154>6152310</Element-1154>
</Composite-C506>
</Segment-RFF>
<Segment-DTM>
<Composite-C507>
<Element-2005>171</Element-2005>
<Element-2380>20111214</Element-2380>
<Element-2379>102</Element-2379>
</Composite-C507>
</Segment-DTM>
</Loop-Group_16>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>NB</Element-1153>
<Element-1154>JF074</Element-1154>
</Composite-C506>
</Segment-RFF>
<Segment-DTM>
<Composite-C507>
<Element-2005>21E</Element-2005>
<Element-2380>20160905</Element-2380>
<Element-2379>102</Element-2379>
</Composite-C507>
</Segment-DTM>
</Loop-Group_16>
<Loop-Group_23>
<Segment-QVA>
<Composite-C279>
<Element-6064>0</Element-6064>
<Element-6063_1>83</Element-6063_1>
</Composite-C279>
<Element-4221>CP</Element-4221>
</Segment-QVA>
</Loop-Group_23>
</Loop-Group_15>
<Loop-Group_15>
<Segment-LIN>
<Element-1082>4</Element-1082>
<Element-1229 xsi:nil="true"/>
</Segment-LIN>
<Segment-PIA>
<Element-4347>5</Element-4347>
<Composite-C212_1>
<Element-7140>051596</Element-7140>
<Element-7143>BP</Element-7143>
</Composite-C212_1>
</Segment-PIA>
<Segment-QTY>
<Composite-C186>
<Element-6063>12</Element-6063>
<Element-6060>1</Element-6060>
</Composite-C186>
</Segment-QTY>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>PK</Element-1153>
<Element-1154>2</Element-1154>
</Composite-C506>
</Segment-RFF>
</Loop-Group_16>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>VN</Element-1153>
<Element-1154>6152310</Element-1154>
</Composite-C506>
</Segment-RFF>
<Segment-DTM>
<Composite-C507>
<Element-2005>171</Element-2005>
<Element-2380>20111214</Element-2380>
<Element-2379>102</Element-2379>
</Composite-C507>
</Segment-DTM>
</Loop-Group_16>
<Loop-Group_16>
<Segment-RFF>
<Composite-C506>
<Element-1153>NB</Element-1153>
<Element-1154>116812505</Element-1154>
</Composite-C506>
</Segment-RFF>
<Segment-DTM>
<Composite-C507>
<Element-2005>21E</Element-2005>
<Element-2380>20150131</Element-2380>
<Element-2379>102</Element-2379>
</Composite-C507>
</Segment-DTM>
</Loop-Group_16>
<Loop-Group_23>
<Segment-QVA>
<Composite-C279>
<Element-6064>0</Element-6064>
<Element-6063_1>83</Element-6063_1>
</Composite-C279>
<Element-4221>CP</Element-4221>
</Segment-QVA>
</Loop-Group_23>
</Loop-Group_15>
</Loop-Group_10>
<Segment-CNT>
<Composite-C270>
<Element-6069>2</Element-6069>
<Element-6066>4</Element-6066>
</Composite-C270>
</Segment-CNT>
<Segment-UNT>
<Element-0074>#SegmentCount#</Element-0074>
<Element-0062>#ControlNumber#</Element-0062>
</Segment-UNT>
</Transaction-DESADV> -
Getting error while installing the .p12 file in keychain access
Hi i am trying to install the certificate.p12 file in Keychain Access's Login section on my mac mini. For each .p12 file it showing "This certificate was signed by an unknown authority". But when i tried to install the same .p12 file on other machine, its got install and showing "This is a valid certificate" Before installing this .p12 file, i was able to install the .p12 file. But to install the new .p12 file, i had deleted all the .p12 files and provisioning profiles. After that i was not able to install any .p12 file on my machine. Can anybody help me on this?
Hi Gopi,
Are you trying to add the hosts to your OEM 12c, and then choosing "Deploy Agent"?
Please check this error message about the image file..
The image file C:\oracle\core\12.1.0.2.0\jdk\bin\java.exe is valid, but is for a
machine type other than the current machine.
"Validating OMS_HOST & EM_UPLOAD_PORT failed."
If the agents are deployed earlier from another OEM12c server, please undeploy them and then try.
Thanks,
Rajiv. -
Error while compiling and building file [java] ERROR: ejbc couldn't invoke
*[java] [EJBCompiler] : Compliance Checker said bean was compliant*
*[java] ERROR: Error from ejbc: Access is denied*
*[java] java.io.IOException: Access is denied*
*[java] at java.io.WinNTFileSystem.createFileExclusively(Ljava.lang.Stri*
ng;)Z(Native Method)
*[java] at java.io.File.checkAndCreate(File.java:1314)*
*[java] at java.io.File.createTempFile(File.java:1402)*
*[java] at java.io.File.createTempFile(File.java:1439)*
*[java] at weblogic.utils.compiler.CompilerInvoker.execCompiler(Compiler*
Invoker.java:227)
*[java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp*
ilerInvoker.java:428)
*[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok*
er.java:328)
*[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok*
er.java:336)
*[java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:27*
*0)*
*[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:4*
*76)*
*[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:3*
*97)*
*[java] at weblogic.ejbc20.runBody(ejbc20.java:517)*
*[java] at weblogic.utils.compiler.Tool.run(Tool.java:192)*
*[java] at weblogic.utils.compiler.Tool.run(Tool.java:147)*
*[java] at weblogic.ejbc.main(ejbc.java:29)*
*[java] ERROR: ejbc couldn't invoke compiler*
BUILD FAILEDYshemi,
You do not have to explicitly point the server to a compiler. Its already in
the IDE classpath. Can you provide more information on the steps you
followed.
You had stated that you had created a new workshop domain. Is this the
domain in which your are creating the new application ?
You can choose the server when you create the application or by editing the
application properties.
Can you verify this ?
Can you test the built in sample to check if it works fine ?
What is the operating system that you are working on ?
Can you try by creating a new empty application, and an ejb project and let
me know the results ?
Regards,
Raj Alagumalai
WebLogic Workshop Support
"yshemu" <[email protected]> wrote in message
news:3f4eabaf$[email protected]..
>
Hi Guys,
I have created a workshop domain with the configuration wizard.
I am trying to build a simple EJB - stateless session, has one method
that returns a string.
when I try to build I get the following :
"ERROR: ERROR: Error from ejbc: Compiler failed executable.exec
ERROR: ERROR: ejbc couldn't invoke compiler
BUILD FAILED
ERROR: ERROR: Error from ejbc: Compiler failed executable.exec
ERROR: ERROR: ejbc couldn't invoke compiler
Application Build had errors."
It seems like Workshop can't find the compiler.
I added "c:\bea81\jdk141_03\bin" to the application properties under
"server classpath additions" and still get the same error.
Does anyone know how I can point workshop to the compiler ?
Thanks
yshemi -
Error while compiling QuoteRenderer.java file
Currently I am working on Quotes customizations. As part of customizations, I need to modify the seeded java file (i.e., $JAVA_TOP/oracle/apps/qot/util/QuoteRenderer.java)
Since i have only class files, I have decompiled the class file using JAD and modified the code and placed in the same path and tried to compile. Then I am getting the below errors: [I am getting the same errors even if i placed the decompiled file without any modifications]. Can you help in resolving this issue.
Errors:
oracle/apps/qot/util/QuoteRenderer.java:16: package javax.servlet.jsp does not exist
import javax.servlet.jsp.JspWriter;
^
oracle/apps/qot/util/QuoteRenderer.java:17: package javax.servlet.jsp does not exist
import javax.servlet.jsp.PageContext;
^
oracle/apps/qot/util/QuoteRenderer.java:127: cannot find symbol
symbol : class PageContext
location: class oracle.apps.qot.util.QuoteRenderer
public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
^
oracle/apps/qot/util/QuoteRenderer.java:664: cannot find symbol
symbol : class PageContext
location: class oracle.apps.qot.util.QuoteRenderer
public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
^
oracle/apps/qot/util/QuoteRenderer.java:775: cannot find symbol
symbol : class PageContext
location: class oracle.apps.qot.util.QuoteRenderer
public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
^
oracle/apps/qot/util/QuoteRenderer.java:838: cannot find symbol
symbol : class PageContext
location: class oracle.apps.qot.util.QuoteRenderer
private static void partialLoadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
^
oracle/apps/qot/util/QuoteRenderer.java:916: cannot find symbol
symbol : class PageContext
location: class oracle.apps.qot.util.QuoteRenderer
public static void loadExpandList(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext)
^
oracle/apps/qot/util/QuoteRenderer.java:975: cannot find symbol
symbol : class PageContext
location: class oracle.apps.qot.util.QuoteRenderer
public static void renderQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
^
oracle/apps/qot/util/QuoteRenderer.java:1652: cannot find symbol
symbol : class PageContext
location: class oracle.apps.qot.util.QuoteRenderer
public static void renderQuoteLineSmry(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
^
oracle/apps/qot/util/QuoteRenderer.java:386: reference to QuoteException is ambiguous, both method QuoteException(java.lang.String,java.lang.Object[]) in oracle.apps.qot.core.QuoteException and method QuoteException(java.lang.String,java.lang.String) in oracle.apps.qot.core.QuoteException match
throw new QuoteException(s2, null);
^
oracle/apps/qot/util/QuoteRenderer.java:982: cannot find symbol
symbol : class JspWriter
location: class oracle.apps.qot.util.QuoteRenderer
JspWriter jspwriter = pagecontext.getOut();
^
oracle/apps/qot/util/QuoteRenderer.java:1659: cannot find symbol
symbol : class JspWriter
location: class oracle.apps.qot.util.QuoteRenderer
JspWriter jspwriter = pagecontext.getOut();
^
Note: oracle/apps/qot/util/QuoteRenderer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.Hi,
You need to add librabry for j2ee-1.4.jar in your classpath this can be found under JSP Runtime library in your jdevhome\jdevbin folder.
~Ankul -
Getting error while running the XML file using XML Publisher Desktop
Hi all,
We have successfully loaded the XML file using XML Publisher Desktop. But when we preview the same using PDF format we are getting the following error.
Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
FOProcessor setLocale: en-us
java.lang.NullPointerException
at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
at RTF2PDF.runRTFto(RTF2PDF.java:626)
at RTF2PDF.runXDO(RTF2PDF.java:460)
at RTF2PDF.main(RTF2PDF.java:251)
Thanks in Advance.
Sudeep.This is BI related. You will get a quicker answer from the BI Publisher forum
BI Publisher -
I am getting error while converting the xml file to pdf
Hi all,
I am getting the error
"Runtime exception when processing target-field mapping /ns0:MT_payment_rec/payment_rec/companycode; root message: Exception:[ExceptionConverter: java.io.IOException: The document has no pages.] in class com.sap.xi.tf._MM_Payment_Advice_ method calculate[a, com.sap.aii.mappingtool.tf7.rt.Context@2e0d7679]"
I followed below blog for converting xml to pdf
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1940
in this blog they mentioned source & target path, but I read the values directly Through sender communication channel with out giving the source and target path in udf(calling the java code from imported archive, and excuted for converting xml to pdf file),
but i am getting above error,
Is there any possibility to return the converted pdf values to target field through udf
Pls help me.Hi
Can u tell us what is the function of the UDF in your case ?
Apart from Converting the given input xml to pdf output, I dont see there is any other functionality within the UDF .. and the XMLTOPDF Class requires the two inputs to be passed when it is instantiated in the code
and now if you don't pass those parameters, it's going to throw an IO exception
Regards
Krishna -
Error While Compiling Seeded Java Files
Error(12,8): class oracle.apps.gl.jahe.server.FndFlexValidationQualifierEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
Error(10,8): class oracle.apps.gl.jahe.server.GlAheDetailRangeEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
Error(12,8): class oracle.apps.gl.jahe.server.GlLookupEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
Have copied one of the java code that failed? any Suggestions?
package oracle.apps.gl.jahe.server;
import oracle.apps.fnd.framework.server.OAEntityImpl;
import oracle.jbo.server.EntityDefImpl;
import oracle.jbo.server.AttributeDefImpl;
import oracle.jbo.domain.Number;
import oracle.jbo.domain.Date;
import oracle.jbo.Key;
// --- File generated by Oracle Business Components for Java.
public class FndFlexValidationQualifierEOImpl extends OAEntityImpl
protected static final int FLEXVALUESETID = 0;
protected static final int IDFLEXAPPLICATIONID = 1;
protected static final int IDFLEXCODE = 2;
protected static final int SEGMENTATTRIBUTETYPE = 3;
protected static final int VALUEATTRIBUTETYPE = 4;
protected static final int ASSIGNMENTDATE = 5;
private static oracle.apps.fnd.framework.server.OAEntityDefImpl mDefinitionObject;
* This is the default constructor (do not remove)
public FndFlexValidationQualifierEOImpl()
* Retrieves the definition object for this instance class.
public static synchronized EntityDefImpl getDefinitionObject()
if (mDefinitionObject == null)
mDefinitionObject = (oracle.apps.fnd.framework.server.OAEntityDefImpl)EntityDefImpl.findDefObject("oracle.apps.gl.jahe.server.FndFlexValidationQualifierEO");
return mDefinitionObject;
* Gets the attribute value for FlexValueSetId, using the alias name FlexValueSetId
public Number getFlexValueSetId()
return (Number)getAttributeInternal(FLEXVALUESETID);
* Sets <code>value</code> as the attribute value for FlexValueSetId
public void setFlexValueSetId(Number value)
setAttributeInternal(FLEXVALUESETID, value);
* Gets the attribute value for IdFlexApplicationId, using the alias name IdFlexApplicationId
public Number getIdFlexApplicationId()
return (Number)getAttributeInternal(IDFLEXAPPLICATIONID);
* Sets <code>value</code> as the attribute value for IdFlexApplicationId
public void setIdFlexApplicationId(Number value)
setAttributeInternal(IDFLEXAPPLICATIONID, value);
* Gets the attribute value for IdFlexCode, using the alias name IdFlexCode
public String getIdFlexCode()
return (String)getAttributeInternal(IDFLEXCODE);
* Sets <code>value</code> as the attribute value for IdFlexCode
public void setIdFlexCode(String value)
setAttributeInternal(IDFLEXCODE, value);
* Gets the attribute value for SegmentAttributeType, using the alias name SegmentAttributeType
public String getSegmentAttributeType()
return (String)getAttributeInternal(SEGMENTATTRIBUTETYPE);
* Sets <code>value</code> as the attribute value for SegmentAttributeType
public void setSegmentAttributeType(String value)
setAttributeInternal(SEGMENTATTRIBUTETYPE, value);
* Gets the attribute value for ValueAttributeType, using the alias name ValueAttributeType
public String getValueAttributeType()
return (String)getAttributeInternal(VALUEATTRIBUTETYPE);
* Sets <code>value</code> as the attribute value for ValueAttributeType
public void setValueAttributeType(String value)
setAttributeInternal(VALUEATTRIBUTETYPE, value);
* Gets the attribute value for AssignmentDate, using the alias name AssignmentDate
public Date getAssignmentDate()
return (Date)getAttributeInternal(ASSIGNMENTDATE);
* Sets <code>value</code> as the attribute value for AssignmentDate
public void setAssignmentDate(Date value)
setAttributeInternal(ASSIGNMENTDATE, value);
// Generated method. Do not modify.
protected Object getAttrInvokeAccessor(int index, AttributeDefImpl attrDef) throws Exception
switch (index)
case FLEXVALUESETID:
return getFlexValueSetId();
case IDFLEXAPPLICATIONID:
return getIdFlexApplicationId();
case IDFLEXCODE:
return getIdFlexCode();
case SEGMENTATTRIBUTETYPE:
return getSegmentAttributeType();
case VALUEATTRIBUTETYPE:
return getValueAttributeType();
case ASSIGNMENTDATE:
return getAssignmentDate();
default:
return super.getAttrInvokeAccessor(index, attrDef);
// Generated method. Do not modify.
protected void setAttrInvokeAccessor(int index, Object value, AttributeDefImpl attrDef) throws Exception
switch (index)
case FLEXVALUESETID:
setFlexValueSetId((Number)value);
return;
case IDFLEXAPPLICATIONID:
setIdFlexApplicationId((Number)value);
return;
case IDFLEXCODE:
setIdFlexCode((String)value);
return;
case SEGMENTATTRIBUTETYPE:
setSegmentAttributeType((String)value);
return;
case VALUEATTRIBUTETYPE:
setValueAttributeType((String)value);
return;
case ASSIGNMENTDATE:
setAssignmentDate((Date)value);
return;
default:
super.setAttrInvokeAccessor(index, value, attrDef);
return;
* Creates a Key object based on given key constituents
public static Key createPrimaryKey(Number flexValueSetId, Number idFlexApplicationId, String idFlexCode, String segmentAttributeType, String valueAttributeType)
return new Key(new Object[] {flexValueSetId, idFlexApplicationId, idFlexCode, segmentAttributeType, valueAttributeType});
}Common error, you need to add LASTUPDATELOGIN definitino to your EO...
protected static final int FLEXVALUESETID = 0;
protected static final int IDFLEXAPPLICATIONID = 1;
protected static final int IDFLEXCODE = 2;
protected static final int SEGMENTATTRIBUTETYPE = 3;
protected static final int VALUEATTRIBUTETYPE = 4;
protected static final int ASSIGNMENTDATE = 5;
protected static final int LASTUPDATELOGIN = 6;
public Number getLastUpdateLogin()
return (Number)getAttributeInternal(LASTUPDATELOGIN);
public void setLastUpdateLogin(Number value)
setAttributeInternal(LASTUPDATELOGIN, value);
To protected Object getAttrInvokeAccessor...
case LASTUPDATELOGIN:
return getLastUpdateLogin();
To protected void setAttrInvokeAccessor ...
case LASTUPDATELOGIN:
setLastUpdateLogin((Number)value);
return;
This should resolve your problem.
Edited by: sreese on May 15, 2009 4:32 PM -
Getting error while uploading the PAR file into SAPEP
I have created one .PAR file in SAPEP6.0 SP2 and i deployed it is working fine but if i deploy the same PAR file into SAPEP6.0 SP13 it is generating error
Deployment failed - exception caught: Application upload failed: ConnectorService.par - more detail at: C:\usr\sap\E13\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\ConnectorService.par.log
and in log file it is generating as
Application upload failed: ConnectorService.par
com.sapportals.portal.prt.runtime.PortalException: [ApplicationRepositoryService.putArchive] archive: ConnectorService.par
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:328)
at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:813)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Caused by: com.sapportals.portal.pcd.pl.PlRuntimeException: unexpected SQLException
Cannot assign a zero-length byte array to host variable 18.
at com.sapportals.portal.pcd.pl.PlFactory.handleUnexpectedSQLError(PlFactory.java:2490)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:652)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildOnPersistence(XfsContext.java:1360)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildAndNotify(XfsContext.java:1118)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChild(XfsContext.java:1076)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createSubcontext(XfsContext.java:846)
at com.sapportals.portal.pcd.gl.xfs.BasicContext.createBasicSubcontext(BasicContext.java:185)
at com.sapportals.portal.pcd.gl.PcdPersContext.createSubcontext(PcdPersContext.java:188)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterCreateSubcontext(PcdFilterContext.java:244)
at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:133)
at com.sapportals.portal.pcd.gl.PcdGlContext.createSubcontext(PcdGlContext.java:500)
at com.sapportals.portal.pcd.gl.PcdGlContext.bind(PcdGlContext.java:425)
at com.sapportals.portal.pcd.gl.PcdProxyContext.bind(PcdProxyContext.java:426)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebindInt(PcdProxyContext.java:446)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:460)
at com.sapportals.portal.pcd.gl.PcdGlContext.rebind(PcdGlContext.java:1317)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:501)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:663)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:668)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.updateObject(ApplicationRepositoryService.java:717)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.storeApplication(ApplicationRepositoryService.java:389)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:306)
... 34 more
Caused by: com.sap.sql.log.OpenSQLException: Cannot assign a zero-length byte array to host variable 18.
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
at com.sap.sql.jdbc.common.dispatch.BlobHostVariable.setBinaryStream(BlobHostVariable.java:143)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setBinaryStream(CommonPreparedStatement.java:776)
at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.setBinaryStream(PreparedStatementWrapper.java:401)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.storeAttribute(AttributeHeadersTable.java:431)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.insert(AttributeHeadersTable.java:248)
at com.sapportals.portal.pcd.pl.PlObject.save(PlObject.java:541)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:616)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:640)Hi,
The problem might be caused by the version inconsistency of your J2EE and Portal Platform.
Please check the version of your J2EE and Portal.
Best Regards,
Assaf -
Getting error while compiling this pl/sql code
Hi,
I am trying to execute the below block of pl/sql code and i encountering an error. i tried all possible combination of paranthesis and quotes. still giving error. can someone please help?
IF inserting THEN
pk_imdb_audit.p_ins_characteristic_a_t
(in_'||rpad(column_name,35,' ')||'=> pk_imdb_audit.v_action_inserting,'
WHEN max_col = column_id THEN
in_'||rpad(column_name,35,' ')||'=> '||lower(in_col_value)||');'
ELSE
' in_'||rpad(column_name,35,' ')||'=> '||lower(in_col_value)||','
END text,
table_name,
column_id,
2 disp_ord
error snapshot:-
ORA-06550: line 14, column 14:
PLS-00103: Encountered the symbol "||rpad(column_name,35," when expecting one of the following:
. ( ) , * @ % & | = - + < / > at in is mod remainder not
range rem => .. <an exponent (**)> <> or != or ~= >= <= <>
and or like LIKE2_ LIKE4_ LIKEC_ as between from using ||
multiset member SUBMULTISET_
The symbol "( was inserted before "||rpad(column_name,35," to continue.
ORA-06550: line 15, column 13:
PLS-00103: Encountered the symbol "WHEN" when expecting one of thHi,
here is a 'parseable' version of your query, but there is numerous ways to improve what you want to do (not sure even if the query is giving you what you're expecting from it):
SELECT text
FROM (SELECT (CASE
WHEN min_col = max_col THEN 'CREATE OR REPLACE TRIGGER '
|| SUBSTR(column_name,
1,
4
|| 'aud
AFTER INSERT
OR UPDATE
OF '
|| column_name
|| ',
OR DELETE ON imdb.'
|| table_name
|| '
FOR EACH ROW'
ELSE(CASE
WHEN min_col = column_id THEN 'CREATE OR REPLACE TRIGGER '
|| SUBSTR(column_name,
1,
4
|| 'aud
AFTER INSERT
OR UPDATE
OF '
|| column_name
|| ','
ELSE(CASE
WHEN max_col = column_id THEN ' '
|| column_name
|| '
OR DELETE ON imdb.'
|| table_name
|| '
FOR EACH ROW'
ELSE(CASE
WHEN column_id IS NULL THEN 'CREATE OR REPLACE TRIGGER '
|| SUBSTR
(column_name,
1,
4
|| 'aud
AFTER INSERT
OR UPDATE
OR DELETE ON imdb.'
|| table_name
ELSE ' '
|| column_name
|| ','
END
END
END
END
) text,
table_name1 table_name,
column_id,
1 disp_ord
FROM (SELECT LOWER(REPLACE(column_name,
'O_',
)) column_name, /*changing O to O_*/
LOWER(REPLACE(t.table_name,
'_A_',
)) table_name,
LOWER(t.table_name) table_name1,
c.column_id,
MIN(column_id) OVER(PARTITION BY c.table_name) min_col,
MAX(column_id) OVER(PARTITION BY c.table_name) max_col
FROM all_tab_columns c,
(SELECT object_name table_name
FROM all_objects
WHERE TRUNC(created) = TRUNC(SYSDATE)
AND object_name = 'CHARACTERISTIC_A_T') t
--AND object_name LIKE 'IMDB/_A/_%' ESCAPE '/') t /*commented this line for testing*/
WHERE c.table_name(+) = t.table_name
AND SUBSTR(column_name(+),
1,
2
) = 'O_'))
/*changed the substring condition to match new changes*/
UNION ALL
SELECT (CASE
WHEN min_col = column_id THEN 'DECLARE
BEGIN
IF inserting THEN
pk_imdb_audit.p_ins_characteristic_a_t
(in_'
|| RPAD(column_name,
35,
|| '=> pk_imdb_audit.v_action_inserting,'
ELSE(CASE
WHEN max_col = column_id THEN 'in_'
|| RPAD(column_name,
35,
|| '=> '
|| LOWER(in_col_value)
|| ');'
ELSE ' in_'
|| RPAD(column_name,
35,
|| '=> '
|| LOWER(in_col_value)
|| ','
END
END
) text /*,
table_name,
column_id,
2 disp_ord*/
FROM (SELECT table_name,
column_name,
column_id,
min_col,
max_col,
in_col_value,
trg_header,
'in_'
|| RPAD(column_name,
35,
|| '=> '
|| LOWER(in_col_value)
|| ',' in_col
FROM (SELECT LOWER(c.column_name) column_name,
LOWER(c.table_name) table_name,
c.column_id,
(CASE
WHEN SUBSTR(column_name,
1,
2
) = 'N_' THEN
/*changed the substring condition to match the new change*/
':NEW.'
|| REPLACE
(column_name,
'N_',
'N_'
/*changed the condition to match new requirement*/
WHEN SUBSTR(column_name,
1,
2
) = 'O_' THEN
/*changed the substring condition to match the new change*/
'NULL'
ELSE ':NEW.'
|| REPLACE(column_name,
'_A_',
END
) in_col_value,
LOWER(SUBSTR(column_name,
1,
3
)) trg_header,
MIN(column_id) OVER(PARTITION BY c.table_name) min_col,
MAX(column_id) OVER(PARTITION BY c.table_name) max_col
FROM all_tab_columns c
WHERE c.table_name IN(
SELECT object_name
FROM all_objects
WHERE TRUNC(created) = TRUNC(SYSDATE)
AND object_name = 'CHARACTERISTIC_A_T')
ORDER BY c.table_name,
c.column_id))
Maybe you are looking for
-
Password for wireless network not remembered
I am stuck with the following situation. I have a wireless network overhere, which is a 802.1X-type network which consists of a huge number of different base stations connected together, which requires me to login and has TTLS (PAP) type identity con
-
Help with iBook G3 12" Logicboard problem
Hello. I have a strange problem with an iBook G3 12" 600 MHz, maybe you can help me. this is the story A friend gave me what he called a "dead ibook" The first thing I noticed is that when I connect the AC adapter, the plug light (orange) turns on fo
-
Photoshop psd has ghosted effect on background printed in Illustrator
Photoshop psd that has multiple layers over a transparent background. When I place the file in illustrator CS6 over a colored background it shows transparent on the computer but when I print you can see the transparent area of the file is a ligher co
-
How to set partial trigger of the component which is in different Page Fragements
I want to set the partial trigger of a ADF control which is in different page fragment. Would you please help me regarding this.
-
X-Windows fails after Every Major Upgrade: About to give up Archlinux
I have resigned myself to this behavior. I need to get Nvidia cuda toolkit working and after a major upgrade that effects X-windows I lose X. Usually my fix is to reinstall nvidia drivers and cuda, sometimes successfully from aur but usually not. W