Two selectionOneMany boxes, Value not valid option problem
HI
I have two selectionOneMany components on a page. Its just like the case in which a selectionOneMany for a country when changed updates the second selectionOneMany for its cities.
In my code I have defered the valuechangelistener for the first component to be executed in update_model phase (as the code has to update some text fields) . Onchange citySelect will fetch the new values corresponding to the county.
Now when I change my country listbox I get a validation error
Validation Error "citySelect": Value is not a valid option.
I think that the possible reason might be that I am trying to bind a new City to the component. Because the component would look in the selectitem collection for my binded value and when it wont find it, it will throw a validation error. But then what can be a workaround to implement such a case?
FWIW, I recently posted a question which I think is essentially the same problem you are having.
See: http://forum.java.sun.com/thread.jspa?threadID=740887&tstart=0
So far no replies.
ken
Similar Messages
-
Compare two text box values????
Hello All,
I do have one logic, but not sure where to write it so want your guys help for the same.
The logic is:-
if (&P13_NEW_PASSWORD. == &P13_CONFIRM_NEW_PASSWORD.) then
insert into tbuser (password) values (&P13_NEW_PASSWORD.);
else
dbms_output.line_('Both the text boxes should be same!!')
P13_NEW_PASSWORD and P13_CONFIRM_NEW_PASSWORD are two text boxes, where in above statment I'm comparing two text box values, if yes than insert that values into the DB tables otherwise displaying else messges.
so can anybody tell me where should i write the above logic to make it work perfect..!!!
thanks
regards,
KumarKumar,
I'm glad you asked! Here's a great blog post on a custom auth scheme that hashes passwords:
http://djmein.blogspot.com/2007/07/custom-authentication-authorisation.html
I would suggest a few changes to the "get_hash" function. First, the DBMS_OBFUSCATION_TOOLKIT has been deprecated in favor of DBMS_CRYPTO:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm
http://www.psoug.org/reference/dbms_crypto.html
DBMS_CRYPTO offers Message Authentication Code (MAC) functions which are keyed hashes. If you use a non-keyed function such as MD5 (which is VERY well known), someone can easily generate a table of all possible passwords within reason and their matching hash, which essentially allows them to get the passwords. MAC functions take in the data (password in this case) and a key. You can probably just use a big random string for your key. Now someone would need to the key as well to generate a hash table. In short, just use DBMS_CRYPTO.MAC where Duncan used DBMS_OBFUSCATION_TOOLKIT.md5.
Tyler -
Default value type - validation option form based on stored procedure
Please could somebody explain and provide an example of what the option :-
default value type - in the validation options for a field in the editor for a form based on a stored procedure ?
Thanks in anticipation.<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitry Nonkin([email protected]):
Absolutely, you can use SQL query to return the value like in the example above:
Default Value = select 5 from dual
Default Value Type = 'SQL query returns number'
or
Thanks,
Dmitry<HR></BLOCKQUOTE>
Hi,
and what about:
Default Value = select max(salary) from emp_salaries
Default Value Type = 'SQL query returns number'
Will it work? We go some troubles with this.
Thanx
Marcin -
Hello,
can anybody say what's wrong in my code? If I press the button or press F1 I got a Not Valid ID exception.
Thanks!
import javax.swing.JPanel;
import javax.swing.JFrame;
import java.awt.FlowLayout;
import java.net.URL;
import javax.swing.JButton;
import javax.help.*;
public class helpTester extends JFrame {
private JPanel jContentPane = null;
private JButton jButton = null;
public HelpBroker mainHelpBroker = null;
private HelpSet hs = null;
private JButton getJButton() {
if (jButton == null) {
jButton = new JButton();
jButton.setText("Help");
return jButton;
private HelpBroker getHelpBroker() {
mainHelpBroker.setCurrentID("test");
return mainHelpBroker;
public static void main(String[] args) {
new helpTester().setVisible(true);
public helpTester() {
super();
initialize();
private void initialize() {
this.setSize(300, 200);
this.setContentPane(getJContentPane());
this.setTitle("JFrame");
String helpHS = "helpset.hs";
ClassLoader cl = helpTester.class.getClassLoader();
try {
URL hsURL = HelpSet.findHelpSet(cl, helpHS);
hs = new HelpSet(null, hsURL);
System.out.println("Here: "+hs.toString());
} catch (Exception ee) {
System.out.println( "HelpSet " + ee.getMessage());
System.out.println("HelpSet "+ helpHS +" not found");
return;
mainHelpBroker = hs.createHelpBroker();
mainHelpBroker.enableHelpKey(rootPane, "Index", hs);
mainHelpBroker.enableHelpOnButton(jButton, "test", null);
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(new FlowLayout());
jContentPane.add(getJButton(), null);
return jContentPane;
}You won't be able to change your rescue email address until you can answer your questions, you will need to contact iTunes Support / Apple in your country to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset you can then use the steps half-way down this page to update your rescue email address for potential future use : http://support.apple.com/kb/HT5312 -
Value of two combo box is not persistent on change of a third combo box
Hi All:
I have flex page in which i have 3 combo boxes. I would be
selecting first 2 combo box and when i select the third combo box ,
i would get the value of previous two combo selection and display
data accordingly.
My problme here is when i do a change in 3rd combo box the
values of other combo boxed are defaulted to "Select..." without
maintaining my previous selection.
I am stuck in this for a while. I would really appreciate if
you can help me out in this.
Thanks
Kanthere's a typo. fix it or remove it:
var a:Number;
var b:Number;
function First(evt:Event):void{
a = evt.target.value;
trace(a);
compareF();
cbFirst.addEventListener(Event.CHANGE, First);
function Second(evt:Event):void{
b = evt.target.value;
trace(b);
compareF()
cbSecond.addEventListener(Event.CHANGE, Second);
function compareF(){
If (a > b){
trace("a is greater")
else
trace(b is greater); -
Check Box values not reflecting in the pageflow instace variable
Hello BEA Experts,
I am binding a checkBox group to an instance variable of a Pageflow , it seems that the array inside the pageflow is null no matter what can you please let me know why.
Is it possible to bind the checkbox group tag to an array in Pageflow or is there anything wrong with the way I am using the checkbox group with in a data- repeater table.
Here are the code snippets..
JSP:
<netui-data:repeaterItem>
<tr class="tablebody">
<td>
<netui:checkBoxGroup dataSource="{pageFlow.nodeIds}">
<netui:checkBoxOption value="{container.item.nodeId}"> 
</netui:checkBoxOption>
</netui:checkBoxGroup>
Contoller:
Has a private instance varible named nodeIds with getter and setter methods..
Please let me know why the checked values are not reflecting in the pageFlow attribute.Hi Bob
I didn't understand fully what you are trying here. Could you please clarify?
I assume that you have a Array of NodeId objects.
Lets say:
Public NodeId[] nodeids = new NodeIds[10];
and you want a checkBoxGroup mapped to NodeId[]
and have as many checkBoxOption as number of elements in array with value as NodeId(i).nodeId
Is this assumption correct?
If the above is correct then the code snippet you have pasted is wrong in the sense that checkBoxGroup datasource is the array but the Option value is the main repeater item's nodeId which is wrong.
The container.item would not access anything within the pageflow variable.
I will post a sample in the next one
Vimala- -
NULL value not validated for a Required field
Hi,
I have added a MessageLovInput item to the expense header page (/oracle/apps/ap/oie/entry/header/webui/GeneralInformationPG), and have made the Required Value to True. But I do not get any error when I navigate to the next page without populating the field. If I enter in incorrect information, it validates it against the LOV, but not for null values.
Any pointers to make the field validate NULL values?
Thanks,
AshishYeah.. I can see the Required field indicator (*) next to the field. I have tried with all the values (uiOnly, ValidatorOnly, Yes etc.), but it does not validate NULL values.
I'll try to handle this in the controller, but would prefer if this can be done by personalization.
Ashish -
How to add the value of the two text boxes in the 3rd text box in ssrs table?
Hi ,
in my ssrs table i encountered a situation where i need to computing for the two text box values and i have to show that value in page header.
for example i have to add the textbox9 value and textbox12 value then i have to show that value in the page header.
Please help me with this requirement.
Thanks in advance,
NaveenHi NaveenMSBI,
According to your description, you want to sum the value of two textboxes, then display it in a page header textbox.
Just PrajapatiNeta said, an expression in a page header or footer can refer to only one report item. So we can create a hidden textbox named textbox20 with the expression below in the report body:
=reportitems!textbox9.Value + reportitems!textbox12.Value
Then use the expression below in a page header textbox:
=reportitems!textbox20.Value
Besides, please note that in a page header or page footer section, only text boxes on the current page are available as a member of the ReportItems collection. For example, if ReportItems!textbox20.Value refers to a text box that only appears on the first
page for a multipage data region, you can see a value only for the first page.
Reference:
ReportItems Collection References (Report Builder and SSRS)
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Balancing segment value is not valid for this ledger
Hello All,
I am getting above error while running the Journal Import.
Can any send me the query to check this details from Backend.
Your help is appreciated.
Thanks,
AB
Edited by: ABA on Jan 6, 2010 6:23 AMABA wrote:
Hello All,
I am getting above error while running the Journal Import.What is exact error?
Please also check Note:R12: Consolidation Journal Import Fails With Em30: Balancing Segment Value Not Valid For Ledger [ID 851061.1] and see its helpful
GL Manuals and eTRMs from 10.7 to 11i [ID 66935.1]
You can also check e-trm site for your issue(Interface Table : GL_INTERFACE -Base Tables : GL_JE_BATCHES - GL_JE_HEADERS-GL_JE_LINES -GL_BALANCES)
Regard
Helios -
Clicking "Clear Recent History..." wipes all cookies and even worse the cookies exceptions list although the cookies box is not ticked.
Problem persist across restarts of Firefox and reboots of the OS.The exceptions are part of the "Site Preferences".
Make sure that you do not use [[Clear Recent History]] to clear the 'Cookies' and the 'Site Preferences'.
You need an allow exception for cookies that you want to keep. -
Hi everyone,
I'm installing SAP HANA for the first time and im having troubles when the unified installer gets to the installation of the lifecycle manager. Im getting the following error:
15:08:33.996 - INFO: Calling postCheck event handler
15:08:33.996 - INFO: Invalid values for --certificates_hostmap option. Specified key 'RCNHANA' is not valid hdbhost
15:08:33.996 - ERR : Invalid values for --certificates_hostmap option. Specified key 'RCNHANA' is not valid hdbhost
15:08:33.997 - ERR : Cannot execute custom event postCheck: Invalid values for --certificates_hostmap option. Specified key 'hostname' is not valid hdbhost at HLM/Installer/BaseExecutionPlanManager.pm line 90
Can anyone help me
ThanksThanks Slds.
I just re-ran the HLM package using the following procedure:
1) download SAPHANALM06_0-10012745.SAR
2) copy SAPHANALM06_0-10012745.SAR to the /tmp/hanainstdir/hlm_install
3) Ensure SAPHOSTAGENT is above level 149, advisable to update it to the latest level. Level 153 till today.
4) go to the extracted temp directory and run ./hdbinst
Just click enter when prompt if you are running single Hana Database.
SAP HANA Lifecycle Manager Installation kit detected.
SAP HANA Database Installation Manager - SAP HANA HLM Installation 1.50.00.000000
Options:
SAP HANA system ID | Description
SID | SAP HANA Database SID 1.00.57.378530
Enter SAP HANA system ID [SID]:
Root user password (SSH connectivity):
Root user SSH key passphrase (SSH connectivity):
Installation was successful. However, I noticed in the log that this time --certificates_hostmap option was not set to any value at all, but still installation went tru fine.
Thanks
Raj -
With sqlserver - The cursor identifier value provided (abcdef0) is not valid.
With the Microsoft SQL Server 2000 JDBC Driver I keep getting the following
exception from kodo:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]sp_
cursorclose: The cursor identifier value provided (abcdef0) is not valid.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
in kodo.properties i have
javax.jdo.option.ConnectionURL
set to
jdbc:microsoft:sqlserver://BALT-DB1:1433;DatabaseName=db_mamick;SelectMethod
=cursor
I am using kodo 2.4.1
Has anyone seen this?
Thanks
-MarcTele-
This is just a warning that is issued when we clean up the ResultSet.
The MS driver seems to be prematurly closing them for some reason.
Is this causeing an error for you? Otherwise, you can just ignore the
warning. You can set the logging level for JDBC to be "ERROR" in order
to stop the error message from being logged.
In article <[email protected]>, Tele wrote:
I'm using the MS JDBC driver i downloaded 3 days ago from MSDN. And i got
the exactly same message like Marc
my program:
import java.io.*;
import java.util.*;
import javax.jdo.*;
public class KodoConn {
public KodoConn() {
try {
Properties props = new Properties();
props.load(getClass().getResourceAsStream("/kodo.properties"));
PersistenceManagerFactory pmf =
JDOHelper.getPersistenceManagerFactory(props);
PersistenceManager pm = pmf.getPersistenceManager();
Extent e = pm.getExtent(Animal.class, true);
for (Iterator i = e.iterator(); i.hasNext(); ) {
Animal temp = (Animal) i;
System.out.println(temp.getPrice() + " " + temp.getType());
catch (IOException ex) {
public static void main(String[] args) {
KodoConn kodo = new KodoConn();
com.solarmetric.kodo.ConnectionProperties=
com.solarmetric.kodo.DataCacheClass=
com.solarmetric.kodo.LicenseKey=505152535454555647
com.solarmetric.kodo.PersistenceManagerClass=com.solarmetric.kodo.runtime.Pe
rsistenceManagerImpl
com.solarmetric.kodo.impl.jdbc.DictionaryClass=com.solarmetric.kodo.impl.jdb
c.schema.dict.SQLServerDictionary
com.solarmetric.kodo.impl.jdbc.SQLExecutionListenerClass=
com.solarmetric.kodo.impl.jdbc.SequenceFactoryClass=com.solarmetric.kodo.imp
l.jdbc.schema.ClassDBSequenceFactory
com.solarmetric.kodo.impl.jdbc.TransactionIsolation=READ_UNCOMMITTED
com.solarmetric.kodo.impl.jdbc.WarnOnPersistentTypeFailure=true
javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.JDBC
PersistenceManagerFactory
javax.jdo.option.ConnectionDriverName=com.microsoft.jdbc.sqlserver.SQLServer
Driver
javax.jdo.option.ConnectionPassword=xxx
javax.jdo.option.ConnectionURL=jdbc\:microsoft\:sqlserver\://xxx\:1433;Datab
aseName\=xxx;SelectMethod\=cursor
javax.jdo.option.ConnectionUserName=xxx
javax.jdo.option.MaxPool=80
javax.jdo.option.MinPool=1
javax.jdo.option.MsWait=5000
javax.jdo.option.Multithreaded=true
0 [main] INFO kodo.Runtime - Starting Kodo JDO version 2.4.1
(kodojdo-2.4.1-20030126-1556) with capabilities: [Enterprise Edition
Features, Standard Edition Features, Lite Edition Features, Query
Extensions, Datacache Plug-in, Statement Batching, Global Transactions,
Developer Tools, Custom Database Dictionaries, Enterprise Databases, Custom
ClassMappings, Custom ResultObjectProviders]
81 [main] INFO kodo.MetaData -
com.solarmetric.kodo.meta.JDOMetaDataParser@39ab89: parsing source:
file:/C:/kodo-jdo-2.4.1/samples/swing/petshop/classes/Animal.jdo
912 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] open:
jdbc:microsoft:sqlserver://xxx:1433;DatabaseName=xxx;SelectMethod=cursor
(xxx)
1102 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] get
[com.solarmetric.datasource.PoolConnection@f0c85e[[requests=0;size=0;max=0;h
its=0;created=0;redundant=0;overflow=0;new=0;leaked=0;unavailable=0]]] from
[com.solarmetric.datasource.DataSourceImpl$SortablePool[min=1; max=80;
size=1; taken=0]]
1222 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] begin
rollback
1222 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] end
rollback 0ms
1222 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] return
[com.solarmetric.datasource.PoolConnection@f0c85e[[requests=0;size=0;max=0;h
its=0;created=0;redundant=0;overflow=0;new=0;leaked=0;unavailable=0]]] to
[com.solarmetric.datasource.DataSourceImpl$SortablePool[min=1; max=80;
size=1; taken=1]]
1392 [main] INFO jdbc.JDBC - Using dictionary class
"com.solarmetric.kodo.impl.jdbc.schema.dict.SQLServerDictionary" to connect
to "Microsoft SQL Server" (version "Microsoft SQL Server 2000 - 8.00.194
(Intel X86)
Aug 6 2000 00:57:48
Copyright (c) 1988-2000 Microsoft Corporation
Standard Edition on Windows NT 5.0 (Build 2195: Service Pack 3)
") with JDBC driver "SQLServer" (version "2.2.0029")
1453 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] get
[com.solarmetric.datasource.PoolConnection@f0c85e[[requests=0;size=0;max=0;h
its=0;created=0;redundant=0;overflow=0;new=0;leaked=0;unavailable=0]]] from
[com.solarmetric.datasource.DataSourceImpl$SortablePool[min=1; max=80;
size=1; taken=0]]
1453 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Database changed to xxx
1453 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]______"________________________________
'xxx'____
1473 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Language changed to ________________
1473 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]______"________________________ ________
1613 [main] INFO jdbc.SQL - [ C:15779934; T:9489155; D:15493888 ] preparing
statement <8752113>: SELECT DISTINCT ANIMALX.JDOCLASSX FROM ANIMALX
1623 [main] INFO jdbc.SQL - [ C:15779934; T:9489155; D:15493888 ] executing
statement <8752113>: [reused=1;params={}]
1773 [main] WARN jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] Error
when closing Statement/ResultSet
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]sp_cursorclose: ____________________________________________abcdef0________________
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown
Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.closeCursor(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.completeRowProcessing(Unkn
own Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplResultSet.close(Unknown
Source)
at com.microsoft.jdbc.base.BaseResultSet.close(Unknown Source)
at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.close(Unknown Source)
at com.microsoft.jdbc.base.BasePreparedStatement.close(Unknown Source)
at
com.solarmetric.datasource.StatementWrapper.close(StatementWrapper.java:201)
at
com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.des
troy(PreparedStatementCache.java:278)
at
com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.clo
se(PreparedStatementCache.java:350)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.close(SQLExecutionMan
agerImpl.java:986)
at
com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProviderImpl.getSubclasses(
SubclassProviderImpl.java:278)
at
com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.getPrimaryMappingField
s(ClassMapping.java:1093)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCSto
reManager.java:704)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCExtent.getResultList(JDBCExtent.j
ava:64)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCExtent.getIterator(JDBCExtent.jav
a:46)
at
com.solarmetric.kodo.runtime.ExtentImpl$TransactionAwareIterator.newIterator
(ExtentImpl.java:242)
at serp.util.MultiIterator.setIterator(MultiIterator.java:70)
at serp.util.MultiIterator.hasNext(MultiIterator.java:25)
at
com.solarmetric.kodo.runtime.ExtentImpl$TransactionAwareIterator.hasNext(Ext
entImpl.java:218)
at KodoConn.<init>(KodoConn.java:23)
at KodoConn.main(KodoConn.java:33)
1773 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] begin
rollback
1783 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] end
rollback 10ms
1783 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] return
[com.solarmetric.datasource.PoolConnection@f0c85e[[requests=1;size=0;max=0;h
its=0;created=1;redundant=0;overflow=1;new=1;leaked=0;unavailable=0]]] to
[com.solarmetric.datasource.DataSourceImpl$SortablePool[min=1; max=80;
size=1; taken=1]]
1783 [main] INFO jdbc.JDBC - [ C:15779934; T:9489155; D:15493888 ] get
[com.solarmetric.datasource.PoolConnection@f0c85e[[requests=1;size=0;max=0;h
its=0;created=1;redundant=0;overflow=1;new=1;leaked=0;unavailable=0]]] from
[com.solarmetric.datasource.DataSourceImpl$SortablePool[min=1; max=80;
size=1; taken=0]]
1813 [main] INFO jdbc.SQL - [ C:15779934; T:9489155; D:15493888 ] preparing
statement <2715510>: SELECT t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX, t0.PRICEX,
t0.TYPEX FROM ANIMALX t0
1813 [main] INFO jdbc.SQL - [ C:15779934; T:9489155; D:15493888 ] executing
statement <2715510>: [reused=1;params={}]
"Marc Prud'hommeaux" <[email protected]> wrote in message
news:[email protected]...
Marc-
Are you using the lastest version of MS's JDBC driver? I seem to recall
this problem with the beta version of the driver.
If that doesn't help, can you send us the complete stack trace?
In article <[email protected]>, Marc Amick wrote:
With the Microsoft SQL Server 2000 JDBC Driver I keep getting the
following
exception from kodo:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]sp_
cursorclose: The cursor identifier value provided (abcdef0) is notvalid.
atcom.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
in kodo.properties i have
javax.jdo.option.ConnectionURL
set to
jdbc:microsoft:sqlserver://BALT-DB1:1433;DatabaseName=db_mamick;SelectMethod
=cursor
I am using kodo 2.4.1
Has anyone seen this?
Thanks
-Marc
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Value not found in allowed list of options for field...
Hi,
I'm using RIDC on UCM 11g in order to checkin contents.
UCM hosts different projects.
I've the following problem: if somebody (from a different project) insert a new Information Field (e.g. xAnnoPubblicazione) of type Integer - Option List - Select List Validated and it does not make a default value for this field, when I perform checkin using RIDC, it fails with the error:
"oracle.stellent.ridc.protocol.ServiceException: Content item 'UCMRE010132' was not successfully checked in. Value not found in allowed list of options for field 'xAnnoPubblicazione'.
How can I solve this issue? what's the recommended way?
Thank you very much.
Best regards,
S.In the database language, you have created a NON NULL column and you are trying to insert a record with NULL value to the column. Of course, it cannot work.
There are three options:
- do not declare the field as NON NULL (that is, you option list has to contain 'blank' as a possible value)
- provide the value on insert
- provide the default value -
After executing an RFC, I want to get a table of elements that is passed as the Output.
As soon as I try to get the first element of the Output table, via xxxNode.getElementAt(index), I receive this error:
Attribute value is not valid for attribute 'Flag_Stam_Orig' of model class 'it.prova.mctciat_rfc.checkprintstatus_sr00.Zmctbpm_Rfc_Output_Print_A'
com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:327)
com.sap.tc.cm.arfc2.model.ARFC2GenericModelClass.unmarshalFromJCoRecord(ARFC2GenericModelClass.java:287)
com.sap.tc.cm.arfc2.model.ARFC2ModelObjectCollection.doUnMarshalAt(ARFC2ModelObjectCollection.java:97)
com.sap.tc.cm.arfc2.model.ARFC2ModelObjectCollection.get(ARFC2ModelObjectCollection.java:120)
com.sap.tc.webdynpro.progmodel.context.ModelElementList.getElement(ElementList.java:1726)
com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:387)
com.sap.tc.webdynpro.progmodel.context.Node.getElementAt(Node.java:395)
it.prova.mctciat_rfc_client_man.rfcclientmanagercomp.RFCClientManagerComp.callSpecifiedRFC(RFCClientManagerComp.java:1163)
Before calling .getElementAt(index) I use xxxNode.size() to get the number of returned elements and then I execute a for loop in which I visit all the elements of node XXX.
Can someone help me?
Thank you,
Pietro
Edited by: pietro.m on Dec 3, 2010 2:10 PMI've solved the problem.
At first the attribute generating the error was defined ABAP-side as a custom domain based on CHAR (1) type that allowed only two possible values: "O" or "X". But the ABAP function returned only " " (empty space) or "X".
So we tried to add "O" to the set of the legitimate values, but that did not solve the problem.
Next we got rid of the custom type and custom domain and we defined the parameter as a simple CHAR (1).
That made the problem disappear and, best of all, I can't still figure why. Anyway, the problem is solved and that is all that matters now.
*I'm sorry to say this in a SAP forum, but SAP's approach to type checking sucks really hard.*
It is not possible that the ABAP side does not check types and the Java side raises these kind of errors (and, please note that it is not allowed to change a model type in Java).
Anyway, thank you Nizamudeen for helping me.
Edited by: pietro.m on Dec 7, 2010 9:41 AM -
I've created a model containing a customer entity with various domain based attributes. I've populated the entities via a combination of manual entry and the staging tables. In the source system I have approx 950 customer records, all of which
fail validation on the source system as some of the attributes will be maintained only in MDS and are not in the source systems I'm pulling the initial data from.
I ran the MDSModelDeploy.exe to create a package containing data on the source system. I then ran the package to apply the package using the -deployclone option on my target system. I piped the output into a flat file for review.
Here is the error I'm receiving.
MDSModelDeploy operation failed. Elapsed time: 00:01:00.2314612
Error:
A clone of the "Subzero_1" model cannot be deployed.
An error occurred while processing message request type 'EntityMembersMergeRequest'. See exception details for more information.
Package deployment failed with 344 errors
The attribute value is not valid.
The attribute value is not valid. (repeated 344 times)
Any ideas what the issue might be? I have tried verbose logging as well and did not find anything that would point me in the direction of the problem. The end result was that the model was not deployed to the target.
I have also created a package without data, deployed that, then applied the data. This gets the model to the target and the data also appears to be there but I did receive this error on the deployupdate.
This is on SQL Server 2012.I am seeing the same error. Created a model, Cloned the model. Made changes to the clone (Schema and Data), and used MDSModelDeploy UpdateModel to update the primary (not cloned) model. In looking at the log, I see the error shown below, but I do not
see anything that points to what was happening at the time.
I tried running a SQL trace to see if one of the SQL commands received an error, but none of the commands did.
In looking at the model that was updated, I can see all of the schema changes were made, and most of the data was updated. There is one table that did not update completely. The attributes in the table consist of Domain Specific and text attributes only.
I also verified that everything on both models was validated before starting.
In the weblog I see the error listed below, but there is nothing in the data that would match that value
Not sure were to go from here....
Chad
--- MDSMODELDEPLOY ERROR RECEIVED ---
MDS Error: 0 : Microsoft.MasterDataServices.WebUI.ServiceAdapterObjectInvalidException: An error occurred while processing message request type 'EntityMembersMergeRequest'. See exception details for more information.
at Microsoft.MasterDataServices.WebUI.ServiceAdapter.InspectResponseForErrors(MessageRequest request, MessageResponse response)
at Microsoft.MasterDataServices.WebUI.ServiceAdapter.ExecuteRequest[TRequestType,TResponseType](MdmServiceOperation`2 operation, TRequestType request)
at Microsoft.MasterDataServices.WebUI.ServiceAdapter.DoEntityMembersMerge(EntityMembers entityMembers)
at Microsoft.MasterDataServices.Deployment.ModelDeployer.BatchEntityMembersMerge(Collection`1 masterData, Boolean membersOnly, Int32 batchSize, Int32 totalBatches, Collection`1 errors)
at Microsoft.MasterDataServices.Deployment.ModelDeployer.UpdateData(Collection`1 masterData, Warnings errorsAsWarnings)
at Microsoft.MasterDataServices.Deployment.ModelDeployer.DeployUpdate(Package package, Boolean includeData, Identifier targetVersionId)
at Microsoft.MasterDataServices.Deployment.Utility.ModelDeploy.DeployUpdate(String serviceName, String packageFile, String versionName)
at Microsoft.MasterDataServices.Deployment.Utility.ModelDeploy.Main(String[] args)
DateTime=2014-02-06T16:03:17.8405277Z
-- WEB ERROR RECEIVED --
MDS Verbose: 0 : Unable to convert value of query string parameter Id = VID to an integer
DateTime=2014-02-06T17:18:00.7367274Z
Maybe you are looking for
-
Problem with special characters: € among others
Hi everyone, I am trying to update some special characters on my DB. But whenever i try to update i still get the same data, even though the YPDATE Clause says that the data has been correctly updated. For example, whenever I try to update and € sign
-
Itunes 7.7 not recognizing iphone
Hi everybody, it seems a common problem today, after upgrading. I've downloaded the 7.7, and when I tried to install, it was saying, that there was another installing process at the time, which was not true, after clicking few times, it worked. Then,
-
Downloaded game not working after several months
Castleville Legends game WILL NOT stay opened
-
OEM11G - Repository configuration failed
I'm installing Oracle Enterprise Manager Grid Control 11gR1 in silent mode. The installation failed with the message : Assistant de configuration "Repository Configuration" Echec. In the log /data/app/oracle/middleware/oms11g/sysman/log/schemamanager
-
Determining Release Number of OIM AD Connector
Once the AD Connector is installed in OIM how do you tell if you've installed version 9.0.3 or 9.0.4? Reading the manifest files before deploying easily tells you what you're installing, but after it's installed you're supposed to check the version n