In Oracle 10 g error when using COLLECT
I get the error when you use collect in 10gSQL > ed
A written file afiedt.buf
1. SELECT deptno
2, COLLECT (ename) AS PGE
3 FROM emp
GROUP 4 BY
5 * deptno
SQL > /.
COLLECT (ename) AS PGE
*
ERROR on line 2:
ORA-00932: inconsistent data types: expected NUMBER obtained -
Please give me the solution.
you use the old version of SQL * more. If you use the later version, it will give you correct the result.
Published by: ūnōrum on March 14, 2010 04:25
Tags: Database
Similar Questions
-
dbms_crypto - avoid error when using different key in lower environment
Hello Experts,
We use Oracle 11.2.0.2. We intend to implement dbms_crypto to encrypt some columns. Clone us the production data at the lower environment (DEV, QC).
The lowest environments, we do not want to obtain the sensitive data from production and do not plan to use the same key. Instead of getting an error when using different keys, is it possible to get a different set of results.
In other words, we want the implementation will be same in environments but use a different key in lower environment and obtain different results (or garbage).
Any suggestions would be greatly appreciated.
The test of this logic, I get following error when using the different keys to decrypt. It works fine if I use the same key.
Error on line 1
ORA-28817: PL/SQL function has returned an error.
ORA-06512: at "SYS." DBMS_CRYPTO_FFI', line 67
ORA-06512: at "SYS." DBMS_CRYPTO", line 44
ORA-06512: at line 19
Thank you.DECLARE l_credit_card_no VARCHAR2(19) := '1234 5678 9012 3456'; l_ccn_raw RAW(128) := UTL_RAW.cast_to_raw(l_credit_card_no); l_key RAW(128) := UTL_RAW.cast_to_raw('abcdefgh'); l2_key RAW(128) := UTL_RAW.cast_to_raw('12345678'); l_encrypted_raw RAW(2048); l_decrypted_raw RAW(2048); BEGIN DBMS_OUTPUT.put_line('Original : ' || l_credit_card_no); l_encrypted_raw := DBMS_CRYPTO.encrypt(src => l_ccn_raw, typ => DBMS_CRYPTO.des_cbc_pkcs5, key => l_key); DBMS_OUTPUT.put_line('Encrypted : ' || RAWTOHEX(UTL_RAW.cast_to_raw(l_encrypted_raw))); l_decrypted_raw := DBMS_CRYPTO.decrypt(src => l_encrypted_raw, typ => DBMS_CRYPTO.des_cbc_pkcs5, key => l2_key); --**Using different key to decrypt DBMS_OUTPUT.put_line('Decrypted : ' || UTL_RAW.cast_to_varchar2(l_decrypted_raw)); END;
In general, you can't get different results in different environments, no.
Of course, you could write your routine to decrypt so that it intercepts it and returns a random string of RAW.
However, this is not normally the way people go on hiding sensitive data in environments below. It would be much more common to use a tool that is designed for this tool. For example, Oracle has a Pack of masking of data for Enterprise Manager that allows to replace sensitive data with false, but realistic data as part of the updating of the environments below. There are also data from third-party tools like masqueur datamasking.
Justin
-
Receive the 25 (Null) error when using Flightsimulator FSX
Receive the 25 (Null) error when using Flightsimulator FSX
Hello
Try to open the it to start - all programs - Games - Games Explorer, and then clicking the icon FSX.
A disk error of 25 means that the program cannot read your disk reading. Either the disc is scratch, dirty or defective. If you need another drive, or you can try it on another computer. The message of Visual elements of Vista is not serious. Vista will automatically your screen to a basic compatible mode when the application is launched. However, it seems that your game is a failure due to the disk error and not the Vista display problem. Try to clean the disc and see if that helps.
Last resort, it seems you'd have to do a complete uninstall and reinstall FSX.
Cheers!
-
Get the error when using the UTL_SMTP function in Oracle 11 g
Hello
I get the error when executing a trigger e-mail code in oracle 11 g:
I have following trigger on the temporary table:
CREATE OR REPLACE TRIGGER temp_temp_message AFTER
INSERT OR UPDATE ON temp_message FOR EACH LINE
declare
Conn UTL_SMTP . CONNECTION ;
msg VARCHAR2 (2000);
Start
Conn := UTL_SMTP . open_connection ( host => '10.250.1.149', port=>25 );
UTL_SMTP . HELO ( conn, '10.250.1.149');
UTL_SMTP . mail ( conn, '[email protected]');
UTL_SMTP . RCPT () conn ' [email protected]');
msg := "Hello, this is test mail." ;
UTL_SMTP .data( conn, msg);
UTL_SMTP . quit smoking ( conn );
exception when others then
dbms_output.put_line (sqlerrm);
raise_application_error (-20000,
"Failed to send because of the following error messages: ' " || sqlerrm);
end;
Insert in temp_message values ()1
);
When I insert the record in the table there are given the following error.
ORA-20000: failed to send messages because of the following error: ORA-24247: access denied by access control (ACL) of network list
ORA-06512: at the 'APPS '. TEMP_TEMP_MESSAGE', line 14
ORA-04088: error during execution of trigger ' APPS. TEMP_TEMP_MESSAGE'
But if I run the next plsql through sqlplus send mail successfully:
declare
Conn UTL_SMTP . CONNECTION ;
MSG VARCHAR2 (2000);
Start
Conn := UTL_SMTP . open_connection ( host => '10.250.1.149', port=>25 );
UTL_SMTP . HELO ( conn, '10.250.1.149');
UTL_SMTP . mail ( conn, '[email protected]');
UTL_SMTP . RCPT () conn ' [email protected]');
msg := "Hello, this is test mail." ;
UTL_SMTP .data( conn, msg);
UTL_SMTP . quit smoking ( conn );
exception when others then
dbms_output.put_line (sqlerrm);
raise_application_error (-20000,
"Failed to send because of the following error messages: ' " || sqlerrm);
end;
Thanks in advance.
Yoann
To resolve ORA-24247 you must:
(1) create an acl (if it is not already created)
(2) add the user privileges using the resources of the network
(3) to use the ACL to a specific address
This might be useful
How to fix an ORA-24247: access denied by access control (ACL) of network list | DB tips
-
WCF error when using the API of VSM
VSM 9.1.4
Oracle 10g R2
I am attemtping to use the "MessageSendMessage" command in the VSM API to send back the client permissions and I get the following error message when running it from the VSM server.
ERROR: The operation 'ContractUnlinkCIAsync' cannot be loaded because it has a parameter or type System.ServiceModel.Channels.Message or a type that has the MessageContractAttribute and other parameters of different types of return. When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method should not use other types of settings.
It's an odd error because I do not use the "ContractUnlinkCI" command which tells me that there is a problem with the generation of the class file.
I ran the following command to generate my config file and the class in the directory "C:\Program Files (x 86) \Microsoft 4.0 Tools":
Svcutil t:code /MessageContract. [URL ServiceManager.svc] / out: ISMAPI.cs /config:ISMAPI.config
The class files and generated config ok. Then I copied the game config to the Web site's web.config file:
< system.serviceModel >
< links >
< basicHttpBinding >
< connection name = "BasicHttpBinding_IServiceManager" / >
< / basicHttpBinding >
< / links >
< customer >
< endpoint address = "[ServiceManager.svc URL]" binding = "basicHttpBinding" bindingConfiguration = contract "BasicHttpBinding_IServiceManager" = "IServiceManager" name = "BasicHttpBinding_IServiceManager" / >
< / customer >
< system.serviceModel >
I put the ISMAPI.cs file in the App_Code to my site folder:
My code works fine when I run locally and include the correct querystring values, but it returns the error above, when I run the code from the VSM server. The query string I used: default.aspx? ajaxfunction = 2 & tasknumber = 425134 & agent = 2370 & recvofficer = 2370
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
using System.Runtime.Serialization;
using System.ServiceModel;partial class _Default: System.Web.UI.Page
{
Protected Sub Page_Load (object sender, EventArgs e)
{
Response.Expires = - 1;
Response.ContentType = "text/plain";
If (Request.QueryString ["ajaxfunction"]! = null)
{
Try
{
Int16 intFunction = Int16.Parse (Request.QueryString ["ajaxfunction"]. (ToString());
Switch (intFunction)
{
case 1:
If (Request.QueryString ["tasknumber"]! = null)
{
Int64 intTaskNumber = Int64.Parse (Request.QueryString ["tasknumber"]. (ToString());
Response.Write (getTaskApprovalComments (intTaskNumber.ToString ()));
}
break;
case 2:
If (Request.QueryString ["tasknumber"]! = null & & Request.QueryString ["officer"]! = null & & Request.QueryString ["recvofficer"]! = null)
{
MessageRequest load = new MessageRequest();
inStruct.sLoginUserID = System.Configuration.ConfigurationManager.AppSettings ["apiLogin"];
inStruct.sLoginPassword = System.Configuration.ConfigurationManager.AppSettings ["apiPassword"];
inStruct.sDatabase = System.Configuration.ConfigurationManager.AppSettings ["apiDatabase"];
inStruct.eEntityType = CRTEntityForEmail.Task;
inStruct.nEntityRef = Int32.Parse (Request.QueryString ["tasknumber"]);
inStruct.ePriority = MailPriority.Normal;
inStruct.eMMAMessageType = MessageMMAType.Approval;
inStruct.nMessageType = 130;
inStruct.lRecipientRef = ' ~ ' + Request.QueryString ["recvofficer"];
inStruct.eRecipientType = MessageRecipientType.Person;
inStruct.bEmail = true;
MessageResponse outStruct = new MessageResponse();
SMC ServiceManagerClient = new ServiceManagerClient();
outStruct = SCM. MessageSendMessage (inStruct);
Response.Write (outStruct.sMessage);
}
break;
by default:
Response.Write ("ERROR: invalid function!");
break;
}
}
catch (System.Exception Exception)
{
Response.Write ("ERROR:" + exception.) (Message);
}
}
Response.End ();
}I hope one of the other directors VSM has met this problem and knows a solution. I tried Googling this issue but with my knowledge of WCF, I don't know what I'm looking at. I also tried commenting on the problem area in the ISMAPI.cs file but it gives me an other errors so I obviously don't know what I'm doing.
Thank you.
If locally it works fine I guess you should compare the versions of .net framework assigned to your web applications (application pool), and all the parameters specified in the web.config file.
-
Hello
I just moved a set of applications on a new server running Oracle 12 c and APEX 4.2.6.00.03, applications where initially on Oracle 10 G database with APEX 3.2.
When you access via IE 11 users receive the error message after, when it appears that the only way to clear it is to close IE and reopen the application.
There is an application that uses a database to MYSQL link, but the error when you use applications that do not use the link, so I'm not sure how to solve the problem.
The error does not appear when you access applications through Chrome, but not all users have installed chrome.
Thank you
Ronnie
Well Ronnie,
This thread suppose to have a problem like yours and resolved. Please try on your side:
After the footer I use: dbms_session.close_database_link ('mysql_databaselink_name');
Please Urgent help on ora_sqlcode :-28500
It will be useful.
Thank you
Sunil Bhatia
-
Hello
I get a strange error when I try to use a plugin.
On page 5 of the Wizard after you press on create a new element on a region, it gives me the following error:
ORA-06502 pl sql numeric or value error character string too small buffer
I guess that's the page where the wizard is supposed to show me the attributes of plugins, because if I continue the wizard I have all of the attributes listed in the plugin either.
Anyone knows what is the cause?
Here is the error:
http://test.Kolonist.dk/SQL_ERROR.jpgHello
Yes, this is a known issue that will be fixed in our 4.0.2 group of hotfixes.
Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Oracle Thin Client error when inserting
Cold Fusion 8 fully patched on Windows Server 2008 fully patched
8.1.7.1 Oracle Linux as DB with network (encryption) Option
Oracle Client 10.2.0.3 Thin Client (tried with the ojdbc14 and ojdbc12 classes)
SELECT, DELETE, UPDATE instructions all work fine.
When an INSERT statement is sent to the DB, it is processed (the insert is done and committed!) but we receive a database error message 'Typlange grosser als Hochstwert', which translates as about type length is greater than the limit.
Multiple threads show this as a problem when the return of the db is too large, but it is certainly not the case (a simple insertion of a line of small).
The SQL that is executed to the DB includes a suffix of "ROWID of RETURN", which is not part of our SQL and is apparently added by CF or thin client. We do not handle the return value (we tried but that didn't help either).
Due to the fact that the INSERT is actually made and committed, we assume that the problem must be at the end of the customer and not in the database.
This is a blocking problem and seems to be limited to 8 CF with the customer.
CF 8 with an ODBC to the same DB connection works OK.
Be very happy for any help we want to go to production with this environment.
See you soon
Thomas
I am able to use the Oracle 10.2 OCI or JDBC 'fat client' driver do updates and deletions to my 8.1.7 database. Only a few changes are needed with the already installed Oracle client. You must update the java.library.path Coldfusion8\runtime\bin\jvm.config to include the dll from the Oracle client directory. For me it was:
Java.Library.Path=...,E:/Oraclient_10_2
You must restart coldfusion for all java configuration updates.
You must also change the JDBC URL of JDBC: thin:... to jdbc:oracle:oci:...You can still use the Oracle client where he works, using the OCI driver only if necessary. You could test your SQL with two drivers to see if you notice a significant difference in performance. Use what works the best.
-
Error when using tag pt:standard.choose
Hello
I get the error while using ALUI Adaptive 6.5 tags. The details are given below. Can anyone help?
The code I use is
< pt:standard.choose >
< pt:standard.when pt:test = "stringToACLGroup('user=13009;'). isMember ($currentUser) ">"
< div class = "ali-portlet-controlone" >Adit< / div >
< pt:logic.value pt: value = "$currentUser" / >
< pt:logic.value pt: value = 'verification Tags' / >
< /pt:standard.when >
< /pt:standard.choose >
Also, I checked for the $currentUser variable and it showed nothing so I put the variable as
< pt:logic.variable = "currentUser" pt pt:key: value = "13009" / >
I also checked by giving the id of group by stringToACLGroup('group=301;') but same result.
The stack trace is:
<!-error display tag when in the standard library. Index of string out of reach:-19: com.plumtree.openfoundation.util.XPIndexOutOfBoundsException: String index out of range:-19
at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:403)
at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:350)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:165)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3495)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs (unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run (ExecuteThread.java:173
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:-19
at java.lang.String.substring(String.java:1938)
at com.plumtree.taglib.standard.WhenTag.DisplayTag(WhenTag.java:72)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3495)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs (unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Published by: user590322 on October 29, 2009 12:22 AMI think you're confused currentUser with a normal vairable. currentUser is a component of the stringToACLGroup hard-coded.
In addition,
The value of the pt:test attribute is case-sensitive.http://download.Oracle.com/docs/CD/E13158_01/AluI/WCI/docs103/DevGuide/apidocs/tagdocs/standard/when.html
so try currentuser instead of currentUser?
-
Errors when using plsql clob document to e-mail notification
Bq. salvation
I'm having a problem to send a document of clob plsql in a notification e-mail. Basically the procedure of retrieves a few rows of data from the database and formats it as HTML before converted to clob. The email is generated fine when only a couple of lines are generated. However, the lines increase when workflow errors. We use the oracle ERP
"" "" Message - error
An error occurred in the subscription at the following events: event subscription
Event error ID: WFE_DISPATCH_GEN_ERR
Error event message: 3835: error '-20002 - ORA-20002: 2018: impossible to generate the XML notification. Caused by: 2020: error getting to content of the notification. Caused by: ORA-06502: PL/SQL: digital or value error: character string buffer too small
Wf_Notification.NTF_Table (8 H)
BATCH_INFO. Batch information (209112, text/html)
Wf_Notification.GetAttrClob (263883, BATCH_INFO, text/html)
Wf_Notification.oldGetAttrClob (263883, BATCH_INFO, text/html)
WF_NOTIFICATION. GetFullBody (nest = & gt; 263883, disptype = & gt; text/html)
WF_MAIL. GetLOBMessage3 ('encountered during execution of the function Generate' nest = & gt; 263883, WF_XML.) Generate ' event 'oracle.apps.wf.notification.send '.
Battery error event:
WF_MAIL. GetLOBMessage3 (263883, WFMAIL, 2020: error getting notification content.) Caused by: ORA-06502: PL/SQL: digital or value error: character string buffer too small
Wf_Notification.NTF_Table (8 H)
BATCH_INFO. Batch information (209112, text/html)
Wf_Notification.GetAttrClob (263883, BATCH_INFO, text/html)
Wf_Notification.oldGetAttrClob (263883, BATCH_INFO, text/html)
WF_NOTIFICATION. GetFullBody (nest = & gt; 263883, disptype = & gt; text/html)
WF_MAIL. GetLOBMessage3 (nest = & gt; 263883, r_ntf_pref = & gt;) MAILHTML), step - & gt; Getting body of text/html)
WF_XML. GenerateDoc (oracle.apps.wf.notification.send, 263883)
WF_XML. Generate (oracle.apps.wf.notification.send, 263883)
WF_XML. Generate (oracle.apps.wf.notification.send, 263883)
Wf_Event.setMessage (oracle.apps.wf.notification.send, 263883, WF_XML.) Generate)
Wf_Event.dispatch_internal)
The procedure is
Bq. / *------Procedure: BATCH_INFO------goal: program displays the batch level information. ------* /--------Batch_info PROCEDURE (------document_id IN VARCHAR2,------display_type IN VARCHAR2,------document IN OUT NOCOPY CLOB,------document_type IN OUT NOCOPY VARCHAR2------)------IS------table_width VARCHAR2 (8): = 100% "; ------I PLS_INTEGER; ------j PLS_INTEGER; ------l_cells wf_notification.tdtype; ------l_result VARCHAR2 (32767). ------l_je_batch_name VARCHAR2 (100); ------l_period_name VARCHAR2 (15); ------l_control_total NUMBER; ------l_running_total_dr NUMBER; ------l_running_total_cr NUMBER; ------long l_document; ------cdoc clob. ------amount NUMBER; ------charbuff VARCHAR2 (32767). ------charbuff_size NUMBER; ------SLIDER c_get_je (batch_id in NUMBER)------IS------SELECT (SELECT description------OF gl_lookups------WHERE lookup_type = 'BATCH_STATUS'------AND lookup_code = batch_status) batch_status,-je_source,-(SELECT user_je_category_name------OF gl_je_categories------WHERE je_category_name = je_category) je_category,------period_name, batch_name, HostHeaderName,------header_running_total_dr_num flow,------header_running_total_cr_num credit------OF apps.gl_je_batches_headers_v------WHERE je_batch_id = batch_id; ------START--------display_type = wf_notification.doc_text IF-THEN-document: = NULL; ------OR------/ * = second table start = * /-j: = 0; \\ i := 0; \\ j := 1; -/ * Header * /--------l_cells (j): = 'S: "| "State of the lot; \\ j : = j + 1 ; ------l_cells (j): = 'S: "| "Paper Source." \\ j : = j + 1 ; ------l_cells (j): = 'S: "| "Journal category. \\ j : = j + 1 ; ------l_cells (j): = 'S: "| 'Period '. \\ j : = j + 1 ; ------l_cells (j): = 'S: "| "Name of the journal"; \\ j : = j + 1 ; ------l_cells (j): = 'S: "| "Name of the newspaper." \\ j : = j + 1 ; ------l_cells (j): = 'S: "| "Paper flow." \\ j : = j + 1 ; ------l_cells (j): = 'S: "| "Journal of appropriations; \\ j : = j + 1 ; \\ i := 0; ------/ * Body * /--------SELECT NAME, default_period_name, control_total,-running_total_dr, running_total_cr-IN l_je_batch_name, l_period_name, l_control_total,------l_running_total_dr, l_running_total_cr------OF gl.gl_je_batches------WHERE je_batch_id = TO_NUMBER (document_id); ------FOR histr IN c_get_je (TO_NUMBER (document_id))-LOOP-l_cells (j): = 'S: "| histr.batch_status; \\ j : = j + 1 ; ------l_cells (j): = 'S: "| histr.je_source; \\ j : = j + 1 ; ------l_cells (j): = 'S: "| histr.je_category; \\ j : = j + 1 ; ------l_cells (j): = 'S: "| histr.period_name; \\ j : = j + 1 ; ------l_cells (j): = 'S: "| histr.batch_name; \\ j : = j + 1 ; ------l_cells (j): = 'S: "| histr.header_name; \\ j : = j + 1 ; ------l_cells (j): =------'S: "------| NVL (TO_CHAR (histr.debit,-"L999G999G999G999G999G999G999D99"),-'&' |) ("nbsp;"------); \\ j : = j + 1 ; ------l_cells (j): =------'S: "------| NVL (TO_CHAR (histr.credit,-"L999G999G999G999G999G999G999D99"------), \ '&' |) ("nbsp;"------); \\ j : = j + 1 ; \\ i : = i + 1 ; ------END LOOP; ------table_width: = 100% "; -wf_notification.ntf_table (l_cells, 8, 'HL', l_result); -/ * Write data to the clob type * / temporary clob \\--creer------dbms_lob.createTemporary (cdoc, false, dbms_lob.call); ------charbuff_size: = length (l_result); ------ write html data to temporary clob------(cdoc, charbuff_size, l_result); dbms_lob.writeappend- write temporary clob document--------amount: = dbms_lob.getlength (cdoc); ------dbms_lob.copy (document, cdoc, amount, 1, 1); ------END IF; ------document_type: = "text/html"; ------EXCEPTION-others-THEN-wf_core. CONTEXT ('BATCH_INFO', 'Batch information', document_id, display_type); ------LIFT; ------END batch_info;
Can someone guide me please
Thank you
The following stack trace the "ORA-06502: PL/SQL: digital error or value: character string buffer too small" error suggests that it is generated by calling Wf_Notification.NTF_Table. Given the way you described the problem, I guess the HTML code generated by that call to the l_cells data is greater than the length of your l_result variable (32767).
Have you checked the length of the data generated by this call to one record and then divided by the number 32767 to work the maximum number of lines you can support this appeal?
If it is simply that you have too much data for WF_Notification.NTF_Table produce the table within the limit of 32767, you try to generate the HTML code into small pieces and add them to the CLOB gradually. For example, if 10 records work, then generate the HTML code of 10 records, cut the result and add it to the clob. Then do the next 10 records (without the header this time) and cut the
and
tags and add that to the clob. When you are finished, add the closing tag in the clob and return it.I have not done this with a clob to return, but I did it with shorter strings to generate an HTML table with the standard look and feel but with headers in different places that could be done by default.
theFurryOne
-
Tecra 8100 system error when using Bank B
Hello
I get Bluscreens and system errors when you use Bank B. When you use Module1 in the Bank, everything is ok. When the same module as Bank A Bank (Bank A + B) b, I get errors.
So, what would it be? What I have to 'turn on' the use of BANK B anywhere or not it looks like its defekt?
Thanks for any help
Hello
Well, you must replace the motherboard if the memory bank has a defect. In this case, the only good way to connect with the service partner. They might give you detailed information.
Good bye
-
unknown error when using vi express daq devices
Hi there I have unknown error when you try to use express DAQ of VI. I downloaded and installed device drivers OR who needed to generate EXE since then this problem was occurring what should I do I've done everything that has been mentioned in the following thread
(http://forums.ni.com/ni/board/message?board.id=170&message.id=336246&query.id=2154746#M336246), but no use, I'm not able to understand the problem can someone help me.
Hi david thank you for everything my problem is solved by formatting the c drive that was the only solution... Thanks anyway bye...
-
How can I use ExternalInterface.addCallback("IsStatic",IsStatic) when using javascript server access (html) of server B (swf)? coz it showing error?
Server A
192.168.0.10/xxx/example.html
===========
< object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
ID = "MGSInsurances1" width = "960" height = "600".
codebase =" http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" > "
"" < param name = "movie" value = " http://192.168.0.22/MGS/flex/MGSInsurances1.swf" / >
< param name = "quality" value = "high" / >
< param name = "bgcolor" value = "#869ca 7" / >
< param name = "allowScriptAccess" value = "always" / >
"" < embed src = " http://192.168.0.22/MGS/flex/MGSInsurances1.swf" quality = "high" bgcolor = "# ca 869, 7.
width = "960" height = "600" name = "MGSInsurances1" align = "middle".
play = "true".
Loop = "false".
quality = "high".
allowScriptAccess = "always".
Type = "application/x-shockwave-flash".
pluginspage =" http://www.adobe.com/go/getflashplayer_fr" > "
< / embed >
< / object >
< script language = "javascript" >
window. MGSInsurances1 = document.getElementById('MGSInsurances1');
< /script >
Server B
192.168.0.22/mgs/Flex/MGSInsurances1.swf
==================
Security.allowDomain("*");
If (ExternalInterface.available)
{
ExternalInterface.addCallback("IsStatic",IsStatic) ("onchange", onchange);
ExternalInterface.addCallback("IsStatic",IsStatic) ("datachange", datachange);
}
but javascript Error shows "Unknown name", how can I solve this problem? urgent! Anyone know this?I solved it! because I did not restart my server again! Again not error! Sorry to annoy everyone.
-
Error when using AIR Mobile applicaton 2.7
Hello
I'm creating an application for mobile, but when I'm changing the AIR of 2.6 to 2.7 version. He shows me the error when compiling the application.
Unexpected end of the process.
invalid application descriptor: unknown namespace: http://ns.Adobe.com/air/application/2.7
Details of the launch command: "C:\Program Files (x 86) \Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\bin\adl.exe"-runtime ' C:\Program Files (x 86) \Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\runtimes\air\win "- profile mobileDevice screensize - 600 x 986:600 x 1024 - XscreenDPI 168 - XversionPlatform AND D:\WSFlexPremium4.5\VCCheckMobile\bin-debug\VCCheckMobile-app.xml D:\WSFlexPremium4.5\VCCheckMobile\bin-debugI tried all the help that is available but not managed to solve the problem.
Help, please
Hello
Problem solved, it comes with the adl.exe file.
-
Error when using SQL Developer to IMPORT access data in Oracle
Hello
I use SQL Develoepr to export the Access mdb file to Oracle. When I try to use the tools -? Migration-> Microsssfot-> export access
I get an error message to attach the Access database file, the error indicates
"Error #40179 - XMLExporter - Methiod 'AddFromFile' of object ' _References failed." Export failed.
What could be the reason for this error please notify.
Thank youDon't know if it is related to your question, but you need a JDK 1.6 (Java SDK). What do you get in Help - about - Version?
K.
Maybe you are looking for
-
Qosmio G50: Vista Ultimate loads slowly
It takes Vista Ultimate on my Qosmio 3 min 10 seconds to load (until the desktop). I think that its too long, is it posible to load faster? Only the programs that came with the charge of the laptop, I have nothing else has not installed.
-
I can't find my model of the Satellite L670-175 number
How can I find my Satellite L670-175, I can't find manual or auto find model number.I need drivers or the standard but nothing I can find. What I've done wrong? Thank you
-
Impossible to install the XP - KB932823
Had to do a repair of my Windows XP Home Edition OS. He wasn't a total reinstallation. When I went to reinstall IE - 8, it would not install, and I received a message that I must first download the KB932823 shift. When I was directed to the Web page
-
VOB file Burns but not his (OEM NERO)
Hello I have SONY handycam & it generates an output of VOB files. It cannot burn in movie maker, therefore using NERO oem. Now in NERO I can burn the files on dvd but no sound is the final product. Is it because of some problem that is XP or NERO. I
-
How to hide the command-line on the scrreen Vista Boot start?
Equipped with Windows Vista. Some had work done on my PC, and they ran a Vista repair to the problems. Now when the computer starts, a few command lines appear on the screen until it dark. Prefer not to see. In the old days, I would simply move th