To add a string object to a list
hi all,
i am trying a string object usind add method
like
String s="xyz";
list.add(s)
when i try to compile the code it says that the code contains an unchecked exception..please tell me how to handle this exception.....like if its not the correct way please do post some code...........
thanks
To handle exceptions you need try/catch statements around the code which is potentially bad.
The code you have shown here should not throw an exception - it must be something else you have - maybe reading from file, parsing an Integer to a string etc etc
Read the section on [url http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html] exceptions in the tutorial
try{
// do some code
String s = "xyz";
list.add(s);
catch(Exception e){
System.out.println("An error occurred " + e.getMessage());
e.printStackTrace();
}Cheers,
evnafets
Similar Messages
-
How to add elements into Object[][] type of list, in runtime?
I have Object list, ie.
final Object[][] data = {
{"January", new Integer(150) },
{"February", new Integer(500) },
{"March", new Integer(54) },
{"April", new Integer(-50) }
};How can I dynamicly add new elements in it, at the runtime?
Thank you in advance!Do I have to remove 'final' for that, and then add
elements?
No. you can't change an array's size.
You can do this
Object[][] arr = new Object[numRows][numCols];But once you've created it, its size can't change.*
I don't know what you're doing, though, and what actual data you're putting in, but Object[][] holding rows of [String, Integer] is almost certainly a poor data structure. Think about creating a class the represents one "row" here and then create a 1D array of that class.
* Okay, you can kinda sorta effectively "change" the size of second and subsequent dimensions, since a multidimensional array is an array of arrays. I wouldn't recommend it though: int[][] arr = new int[3][2]; // a 3 x 2 rectangular array of int--it's an array of array of int, with 3 "rows", each of which is an array of int with 2 elements.
arr[0] = new int[10]; // now it's a jagged array whose first row has 10 elments instead of 2Here we haven't changed an array's size, just replaced one of its elements, which is also an array, with a new, larger array. -
i want add a string object in list...
import java.util.*;
public class HasNext {
public static void main(String[] args) {
String[] strarray = { "hello", "gold", "silver", "fish", "ship",
"sheep", "circus" };
List list = Arrays.asList(strarray);
Set set = new HashSet(list);
Iterator it = set.iterator();
while (it.hasNext()) {
System.out.println(it.next());
String newadd = "fruit";
try {
list.add(newadd);
} catch (UnsupportedOperationException e) {
System.out.println("ERROR IS : " + e.getMessage());
while (it.hasNext()) {
System.out.println(it.next());
}it takes all the values which is in string array -->
List list = Arrays.asList(strarray);
Set set = new HashSet(list);
Iterator it = set.iterator(); You are iterating the 'set' (which has 'list') which has 'strarray',thats why ur able to see the elements of 'strarray'.
and shows the UnsupportedOperationException exception -->
Infact it doesnt throw any Exception, check it again
but one string object( i want to add it) which is fruit .... this object is not adding ,,, -->
Addthe following code and check
try {
set.add(newadd);
} catch (UnsupportedOperationException e) {
System.out.println("ERROR IS : " + e.getMessage());
Iterator it1 = set.iterator();
while (it1.hasNext()) {
System.out.println(it1.next());
} But mind u, ur adding the new String 'newadd' to the same set. -
Collection: add(E), remove(Object)
Hello, all!
First of all, I guess very strange see interface collection with
add(E) and remove(Object)... Why is there such collision?
LinkedList<String> list = new LinkedList<String>();
Object o = null;
list.remove(o);NetBeans shows a warning for the last line: Expected type String, actual type Object.
Eclipse and java compiler do not point to it. So how can I understand this? Netbeans fixed remove(Object) to remove(E)?
Can you please help to understand the collision?mfratto wrote:
The only warning I get in netbeans is to assign the return value, a boolean, to a new variable.I use netbeans 6.7. Probably, You use another version of netbeans from me, so you do not get the same warning.
[see screenshort of the netbeans warning|http://i055.radikal.ru/0907/b2/6203e7e22d79.jpg]
But what that warning is saying is that you declared the LinkedList to contain String objects, but you are trying to remove an Object (which is a parent of String). You can do that, it's just weird to do so. Why wouldn't you just pass a object, a String in this case, of the same type back into list.remove()?
Edited by: mfratto on Jul 23, 2009 5:42 PMwithout sense, I just would like to understand netbeans behavior and "collision" of add(E) and remove(Object) methods.
Edited by: aeuo on Jul 23, 2009 8:47 PM the screenshort was changed to more illustrative one -
hi how are you guys ? i hope you all fine ..
here ...
iam trying to show the list items in the list .. but i couldn.t here
first i created object and array object
var za:int = 0
var itemsinfo:Object = new Object()
var da:Array = new Array (100)
then in another place i set the properties for the object , andi made them arrays objects like this
itemsinfo.name1 = new Array()
itemsinfo.price1 = new Array()
after that i,ve crated 2 text boxes , one for the item value and the second for the price
additemsvar = additems.text
addpricevar = int (addprice.text)
then i checked the values in the object
for (var z:String in itemsinfo){
trace (z + ":" + itemsinfo[z])
and every thing is good , but the probelm is when i add these arrays to to the list object, it doesn,t work
i.ve tried with 3 deffrent ways
listbox1.addItem ({label:String(itemsinfo.name1[za])}) //displaying undefined in the list
listbox1.addItem ({label:(itemsinfo.name1[za])}) //displaying nothing and it just take a place
listbox1.addItem (itemsinfo.name1[za]) // nothing happend
thank youiam not realy sure if i can understand you , but how can i fix it
listbox1.addItem (...)
here is the full code
package {
import flash.display.MovieClip;
import flash.events.MouseEvent
import flash.events.Event;
public class MAIN extends MovieClip {
var additemsvar:String
var addpricevar:int
var removeitemvar:int
var itemsnp:Array = new Array (100)
var itemsinfo:Object = new Object()
var za:int = 0
var da:Array = new Array (100)
public function MAIN () {
addbutton.addEventListener(MouseEvent.CLICK ,addbutton1)
removebutton.addEventListener(MouseEvent.CLICK ,removebutton1)
addEventListener(Event.ENTER_FRAME , onEnterFrame)
addEventListener(Event.ADDED_TO_STAGE,ADDED_TO_STAGE)
public function ADDED_TO_STAGE (event:Event){
itemsinfo.name1 = new Array()
itemsinfo.price1 = new Array()
public function onEnterFrame (event:Event){
if(listbox1.selectedIndex != -1){
itemname11.text = String({label:listbox1.getItemAt(listbox1.selectedIndex)})
public function addbutton1 (event:MouseEvent){
additemsvar = additems.text
addpricevar = int (addprice.text)
listbox1.addItem ({label:String(itemsinfo.name1[za])})
listbox2.addItem ({label:itemsnp[za]})
itemsinfo.name1.push (additemsvar)
itemsinfo.price1.push (addpricevar)
za += 1
trace (itemsinfo.name1)
for (var z:String in itemsinfo){
trace (z + ":" + itemsinfo[z])
public function removebutton1 (event:MouseEvent){
trace (listbox1.selectedIndex)
listbox1.removeItemAt(listbox1.selectedIndex)
function traceItemsnpF(a:Array):void{
for(var i:int=0;i<a.length;i++){
for(var s:String in a[i]){
trace(s,a[i]+":"+a[s]);
thank you for the replay -
New objects in selection list to add to qualification subprofile
Hi all,
I am trying to add a object (e.g. person) to a qualification subprofile (e.g. Potentials). How can I add a new object to the selection list (by creating a new object) so I can choose this new object to be added to the subprofile.
Thanks in AdvancePandit
There are more than one ways of doing this.
The best option is to create a freely definable attribute (Spro --- APO >> Master data >> Freely definable attributes) at material location level and now you will automatically be able to see the attribute when your create a selection id. But you have to make sure you add logic in your material cIF user exit or create a custom program in APO to populate the desired values for the freely definable attribute for all materials in the selection
Thanks
Saradha -
Add network object to access list
Can someone please show me how to add existing network objects to existing access control lists in a network object group using the cli in the asa version 9.x on the inside interface? The source is an already existing network object and the destination is an existing network object group. Thanks.
Hi,
I am not entirely sure of what you are asking.
What I undertood is that you have the following already
An "access-list" that is attached to the "inside" interface
An existing "object network " configured that will be used as the source for the "access-list" rule
An existing "object-group network " configured that will be used as the destination for the "access-list" rule
If the above is true then you would simply configure
access-list permit ip object object-group
The above though would permit all TCP/UDP traffic
If you want to only allow specific ports for either TCP or UDP then you would use the format
access-list permit tcp object object-group eq
access-list permit udp object object-group eq
Naturally if you want to allow multiple ports there would be further ways to group those ports together also inside "object-group" to make the configuration smaller/cleaner.
Please let me know if you were looking for something else and I missunderstood
Hope this helps
- Jouni -
Regarding Month sorting in List Map String, Object
Dear All,
i have a list which is- List<Map<String, Object>> results . What i need is i want to sort the 'results ' .The values in results, when i tried to print it are
RESULTS :{Apr 2009}
RESULTS :{August 2008}
RESULTS :{December 2008}
RESULTS :{Feb 2009}
RESULTS :{Jan 2009}
RESULTS :{Jun 2009}
RESULTS :{Mar 2009}
RESULTS :{May 2009}
RESULTS :{Nov 2008}
RESULTS :{October 2008}
RESULTS :{Sep 2008}
i want to sort the values according to the month. like jan 2008,feb 2008 etc .
Somebody please help .
Thanks in advanced .sha_2008 wrote:
The output sholud be june 2008,Dec 2008, Mar 2009. ie according to the increase order of monthsThat doesn't make it any clearer, in the example "June 2008" and "Mar 2009" are in the same map. Do you want that map to appear both before and after "Dec 2008" which doesn't make sense or are you expecting to restructure the data. If so, I would suggest you use a SortedMap like;
List<Map<String,Object>> maps = ...
SortedMap<String, Object> results = new TreeMap<String, Object>(dateComparator);
for(Map<String, Object> map: maps)
results.putAll(map);BTW: is there any good reason your dates are Strings instead of Date objects which are much easier to sort? -
How to add a container object in a station globals
Hi,
How to add a container object in a station globalsHi radlou,
This might be what you're looking for:
NewSubProperty Method
Syntax
PropertyObject.NewSubProperty ( lookupString, ValueType, asArray, typeNameParam, options)
Purpose
Creates a new subproperty with the name the lookupString parameter specifies.
Parameters
lookupString As String
[In] Pass the lookup string for the new subproperty to be created. If you pass a lookup string with multiple levels (such as "x.y.z"), this method creates all of the necessary intermediate container objects. Refer to lookup string for more information about the strings you can use.
ValueType As PropertyValueTypes
[In] Pass the type of value you want the new subproperty to store.
asArray As Boolean
[In] Pass True to make the new subproperty an array whose elements are of the type you specify in valueType.
typeNameParam As String
[In] Pass the name of an existing type if you want to create the new subproperty as an instance of a named type. Otherwise, pass an empty string. If you pass a type name, you must pass PropValType_NamedType for the ValueType parameter. Refer to NamedPropertyTypes for a list of built-in named types.
options As Long
[In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options. You do not need to pass the InsertIfMissing option to create the new subproperty. Pass DoNothingIfExists if you want the method to not report an error if the subproperty already exists. -
String object vs String literal
Hi ,
I understand how the string objects are created using new operator and using literal.I also understand how they are stored in memory.All I want to know is that when and why should I create a String object using new and when I should create an object using literal.Is there any specific reason for creating an object using new operator when objects created by both the ways are immutable.
Thanks for the help in advance.
Thanks
MouliIf you look at the String source code (particularly the constructors) youll learn a lot.
String objects contain a char[] array - and this is the most important part --> a start and length value.
I believe they were attempting to optimize, but this has important implications for developers.
String objects dont necessarily store just the text you see, it may just reference a much bigger char array.
For example, say an API passes you a string that is (lets pretend) a file path (C:\files\java\...\file.txt) that is 1,000,000 characters long.
Now say that you call getFileName() and want to save the filename in a list.
String filename = API.getFile("...").getFileName();
List.add(filename);
Say you do this about 250,000 times.
You estimate that the average file name is 10 chars and ensure there is that much RAM.
You run out of memory. Why?
Well, this example actually happened to me in a real program I was writing to archive drive files.
File.getFilename() returns a substring() of the entire File path.
However, substring is implemented to return a String that just references the original char[] array!
So the really long file path never gets garbage collected!
I was able to fix the program by coding it:
String filename = new String(API.getFile("...").getFileName()); // Copies only the needed chars!
List.add(filename);
So thats really all you need to watch out for. If memory is a concern in your program you want to
make sure you arent referencing large char[] arrays unnecessarily.
But like all things, this is rarely anything to give much thought to.
Only something to remember if you run into problems after coding sensibly and profiling
(or in my case, crashing with OOM exceptions, lol). -
How to add records or how to maintain list in stored Procedure
Hi,
I am facing an issue in the addition of record in the type
create or replace
TYPE "PROD_SEARCH_COUNT_TBL" AS TABLE OF PROD_SEARCH_COUNT_OBJ;
create or replace
TYPE "PROD_SEARCH_COUNT_OBJ" AS OBJECT
( /* TODO enter attribute and method declarations here */
V_Name Varchar2(500 Byte),
v_Value Varchar2(500 Byte),
v_count Number
I want to add records to the type I tried following way
prod_wcf_rec PROD_SEARCH_COUNT_TBL;
SELECT PROD_SEARCH_COUNT_OBJ('Name1','Value1',1) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
SELECT PROD_SEARCH_COUNT_OBJ('Name2','Value2',2) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
SELECT PROD_SEARCH_COUNT_OBJ('Name3','Value3',3) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
SELECT PROD_SEARCH_COUNT_OBJ('Name4','Value4',4) BULK COLLECT INTO PROD_WCF_REC FROM DUAL;
DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
FOR i in 1 .. prod_wcf_rec.COUNT
LOOP
DBMS_OUTPUT.PUT_LINE (prod_wcf_rec(i).V_Name||' - '||prod_wcf_rec(i).v_Value||' - '||prod_wcf_rec(i).v_count);
END LOOP;
DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
In printing I am getting last records only .So is there any way to add records to PROD_SEARCH_COUNT_TBL
How to add records or how to maintain list in stored ProcedureEvery time you BULK COLLECT into a collection type the value is overwirtten. So you need to try something like this.
SQL> create or replace type prod_search_count_obj as object(v_name varchar2(500 byte), v_value varchar2(500 byte), v_count number)
2 /
Type created.
SQL> create or replace type prod_search_count_tbl as table of prod_search_count_obj
2 /
Type created.
SQL> declare
2 prod_wcf_rec prod_search_count_tbl;
3 begin
4 select obj_val
5 bulk collect into prod_wcf_rec
6 from (
7 select prod_search_count_obj('name1','value1',1) obj_val from dual
8 union all
9 select prod_search_count_obj('name2','value2',2) from dual
10 union all
11 select prod_search_count_obj('name3','value3',3) from dual
12 union all
13 select prod_search_count_obj('name4','value4',4) from dual
14 );
15
16 dbms_output.put_line ('-----------------------------looping----------------------------');
17 for i in 1 .. prod_wcf_rec.count
18 loop
19 dbms_output.put_line (prod_wcf_rec(i).v_name||' - '||prod_wcf_rec(i).v_value||' - '||prod_wcf_rec(i).v_count);
20 end loop;
21 dbms_output.put_line ('-----------------------------looping----------------------------');
22 end;
23 /
-----------------------------looping----------------------------
name1 - value1 - 1
name2 - value2 - 2
name3 - value3 - 3
name4 - value4 - 4
-----------------------------looping----------------------------
PL/SQL procedure successfully completed.
SQL> -
UDS 4.0 once again: Could not add "DB11.DBB6" to the response list.
Hi,
once again we have heavy trouble with UDS 4.0 connecting to a SINUMERIK OPC server.
Unfortunately the OPC server does not support browsing. GroupList and TagList returns nothing.
The facts:
- MII 12 on Windows Server 2003
- UDS 4.0 SP1 on same server.
- OPC connectivity has been tested with Matrikon Explorer. Tag has been added manually (remember, browsing not possible).
- Creating UDS instance works. UDS can see remote OPC server and is able to create an instance from it.
- Data server has been created in MII 12 to connect to UDS.
- Connection status to UDS is ok. Can also be seen as Debug file shows query details.
- TagQuery has been created with adding the tag manually (browsing not possible).
When we try to test the query we always get the error message
Could not add "DB11.DBB6" to the response list.
and
No Tag selected
The strange thing ist that, if we use a non existing tag like "test123" then the same error occurrs instead of "No valid tags requested".
Here you can find the debug file of UDS:
[05/14/2008-10:56:18.889] focketest [P:4000, T:2212, Host, INFO] 0x11201 Host is exiting. [Host.cpp @ 338, CHostModule::RunMessageLoop]
[05/14/2008-10:56:19.030] focketest [P:4000, T:2556, UDS, INFO] 0x2028 Disconnected from the server. [Connection.cpp @ 2224, CLHOpcDaConnection::Unload]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11400 Command Line: "C:\Programme\SAP\xMII\UDS\xMIIUDSHost.exe" test. [Host.cpp @ 433, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11405 Host Build Configuration: Release. [Host.cpp @ 436, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11406 Host Build Date: Dec 11 2007. [Host.cpp @ 437, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11407 Host Description: xMII UDS Host. [Host.cpp @ 438, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11408 Host File: xMIIUDSHost.exe. [Host.cpp @ 439, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11409 Host Version: 4.0.3.10. [Host.cpp @ 440, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: OPC-DA. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Include Quality = No. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Acquisition Mode = Synchronous. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Read From Device = true. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Read Delay = 100. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Force flat namespace = false. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Automatically Reconnect = true. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: OPC Group Number = 1234. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: OPC Group Name = LHDS_OPCGROUP. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Acceptable Data Quality = Good. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.341] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Startup Delay = 1000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Use Legacy Tag Format = false. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Legacy Delimiter = .. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Activate Items = Both. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Group Update Rate = 0. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: OPC Server = 192.168.0.1; OPC.SINUMERIK.Machineswitch; OPC DA2. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: Cache. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Mode = Cache with Dynamic Metadata. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Mask = . [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: Host. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Pool Size = 5. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Runtime Mode = Service. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Threading Model = MTA. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Stack Size = 0. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Collect Requests = false. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Shutdown Timeout = 10. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Use IOCP = true. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service Startup = Manual. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service Dependencies = Eventlog. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Trusted Requesters = . [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Maximum Concurrent Connections = 100. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Connection Wait Time = 5000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Max Reconnect Sleep Time = 1000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Auto-reconnect Attempts = 5. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Monitor Cycle = 15. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Port = 9000. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service User = .\auduser. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Service Password = *****. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11402 Found Parameter: Log Level = Debug. [Host.cpp @ 487, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11401 Found Aspect: Logging. [Host.cpp @ 468, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11403 Operating System Version: Windows XP Professional (Build 2600) with Service Pack 2, Version (2.0), Components: Single User Terminal Services. [Host.cpp @ 501, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11411 Processor 0 Info - Speed: 1596 MHz, Name: Genuine Intel(R) CPU 2140 @ 1.60GHz, Identifier: x86 Family 6 Model 15 Stepping 2, Vendor: GenuineIntel. [Host.cpp @ 548, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11411 Processor 1 Info - Speed: 1596 MHz, Name: Genuine Intel(R) CPU 2140 @ 1.60GHz, Identifier: x86 Family 6 Model 15 Stepping 2, Vendor: GenuineIntel. [Host.cpp @ 548, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, SYSTEM] 0x11412 Memory Used 71% - Physical Used 294 of 1021 MB, Paged File 2896 of 3988 MB, Virtual Used 1996 of 2047 MB. [Host.cpp @ 557, CHostModule::LogConfig]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, DEBUG] 0x14000 Creating the provider thread. [DataServerThread.cpp @ 44, DataServerThread::Spawn]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, DEBUG] 0x14002 Spawning the thread. [DataServerThread.cpp @ 53, DataServerThread::Spawn]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1236, Host, DEBUG] 0x14003 Waiting for thread callback. [DataServerThread.cpp @ 57, DataServerThread::Spawn]
[05/14/2008-10:56:40.356] focketest [P:2532, T:1492, Host, DEBUG] 0x14100 Provider thread has been created, and attempting to enter the xMIIOpcDaUDS.DataServer.1. [DataServerThread.cpp @ 82, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.372] focketest [P:2532, T:1492, Host, DEBUG] 0x14101 Initializing COM environment. [DataServerThread.cpp @ 91, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.372] focketest [P:2532, T:1492, Host, DEBUG] 0x14102 Creating the provider. [DataServerThread.cpp @ 98, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, Host, DEBUG] 0x14103 Creating the local configuration context object. [DataServerThread.cpp @ 105, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, Host, DEBUG] 0x14104 Initializing the provider. [DataServerThread.cpp @ 109, DataServerThread::SpawnServer]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2000 Got the self pointer. [Connection.cpp @ 246, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2001 Got the DCOM settings: machine = 192.168.0.1, progid = OPC.SINUMERIK.Machineswitch. [Connection.cpp @ 252, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2002 Got the OPC settings: group = 1234, client = LHDS_OPCGROUP, mode = SYNCHRONOUS. [Connection.cpp @ 258, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2003 Got the sleep time. {extra params}: {1000} [Connection.cpp @ 270, CLHOpcDaConnection::FinalInitialize]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2016 Checking the state of the connection. [Connection.cpp @ 2032, CLHOpcDaConnection::Load]
[05/14/2008-10:56:40.387] focketest [P:2532, T:1492, UDS, DEBUG] 0x2017 Attempting to connect to the server. [Connection.cpp @ 2036, CLHOpcDaConnection::Load]
[05/14/2008-10:56:40.450] focketest [P:2532, T:1492, UDS, DEBUG] 0x2018 Got the servers class id. [Connection.cpp @ 2048, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201a Advising on the servers events. [Connection.cpp @ 2087, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201b Adding the group. [Connection.cpp @ 2096, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201c Loading group data. [Connection.cpp @ 2114, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, DEBUG] 0x201e Adding all connection items. [Connection.cpp @ 2143, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.903] focketest [P:2532, T:1492, UDS, INFO] 0x201f Connected to the SINUMERIK OPC-Server DataAccess-V2.4.2.98 (C) Siemens AG (1998-2003) server. [Connection.cpp @ 2154, CLHOpcDaConnection::Load]
[05/14/2008-10:56:41.950] focketest [P:2532, T:2696, UDS, INFO] 0x0 Initializing Browser. [tagUtil/lhds2BrowseThread.h @ 127, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.950] focketest [P:2532, T:2696, UDS, INFO] 0x0 Reading Groups. [tagUtil/lhds2BrowseThread.h @ 147, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.950] focketest [P:2532, T:2696, UDS, INFO] 0x0 Reading Items. [tagUtil/lhds2BrowseThread.h @ 172, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.965] focketest [P:2532, T:2696, UDS, INFO] 0x0 Shutting Browser Down. [tagUtil/lhds2BrowseThread.h @ 279, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.965] focketest [P:2532, T:2696, UDS, INFO] 0x0 Browsing Finnished. [tagUtil/lhds2BrowseThread.h @ 303, lhds::BrowsingThread::DoBrowse]
[05/14/2008-10:56:41.997] focketest [P:2532, T:1492, UDS, DEBUG] 0x1003 Adding the modes. [DataServer.cpp @ 80, CLHOpcDaDataServer::FinalInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3000 Initializing the Current mode. [basemode.h @ 59, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3001 Reading from the device? TRUE. [basemode.h @ 67, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4001 Accessing using: SYNCHRONOUS. [basemode.h @ 75, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4002 Delay time: 100. [basemode.h @ 82, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3004 Minimum required quality: BOTH. [basemode.h @ 122, OPCDABaseMode<class CLHOpcDaDSCurrent>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3000 Initializing the Current mode. [basemode.h @ 59, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3001 Reading from the device? TRUE. [basemode.h @ 67, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4001 Accessing using: SYNCHRONOUS. [basemode.h @ 75, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x4002 Delay time: 100. [basemode.h @ 82, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, DEBUG] 0x3004 Minimum required quality: BOTH. [basemode.h @ 122, OPCDABaseMode<class CLHOpcDaDSCurrentWrite>::FinalTagModeInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, UDS, INFO] 0x1004 Finnished initializing. [DataServer.cpp @ 86, CLHOpcDaDataServer::FinalInitialize]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, Host, DEBUG] 0x14105 Attaching the providers to the Accept Thread classes cookie. [DataServerThread.cpp @ 113, DataServerThread::SpawnServer]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, Host, DEBUG] 0x14106 Setting the initialization event. [DataServerThread.cpp @ 120, DataServerThread::SpawnServer]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1492, Host, DEBUG] 0x14107 Entering the local message pump. [DataServerThread.cpp @ 126, DataServerThread::SpawnServer]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1236, Host, DEBUG] 0x14004 Finished initializing the provider thread. [DataServerThread.cpp @ 68, DataServerThread::Spawn]
[05/14/2008-10:56:42.012] focketest [P:2532, T:1236, Host, DEBUG] 0x12101 Created a link to the WSA subsystem. [ConnectionManager.cpp @ 23, ConnectionManager::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:0252, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:3476, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:2700, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:2628, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.090] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01b Attempting to initialize. [LHDSResponse.cpp @ 84, CLHDSResponse::Initialize]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13100 Starting up the accept thread socket. [AcceptThread.cpp @ 146, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13101 Creating accept socket. [AcceptThread.cpp @ 162, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13102 Binding accept socket. [AcceptThread.cpp @ 169, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13103 Listening to accept socket. [AcceptThread.cpp @ 176, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x13105 Spawning accept socket thread. [AcceptThread.cpp @ 182, AcceptThread::ListenIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x12102 Finnished initializing the connection manager. [ConnectionManager.cpp @ 42, ConnectionManager::Initialize]
[05/14/2008-10:56:42.122] focketest [P:2532, T:0172, Host, DEBUG] 0x13300 Accept thread created. [AcceptThread.cpp @ 192, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11104 Finnished PreMessageLoop operations. [Host.cpp @ 308, CHostModule::PreMessageLoop]
[05/14/2008-10:56:42.122] focketest [P:2532, T:0172, Host, DEBUG] 0x13301 Waiting for requests. [AcceptThread.cpp @ 208, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140a UDS Progid: xMIIOpcDaUDS.DataServer.1. [Host.cpp @ 592, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140b UDS Build Configuration: Release. [Host.cpp @ 593, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140c UDS Build Date: Dec 11 2007. [Host.cpp @ 594, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140d UDS Description: xMII OPC-DA UDS. [Host.cpp @ 595, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140e UDS File: xMIIOpcDaUDS.dll. [Host.cpp @ 596, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, SYSTEM] 0x1140f UDS Version: 4.0.3.10. [Host.cpp @ 597, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xMIIUDSHost.exe: Path = C:\Programme\SAP\xMII\UDS\xMIIUDSHost.exe. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ntdll.dll: Path = C:\WINDOWS\system32\ntdll.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module kernel32.dll: Path = C:\WINDOWS\system32\kernel32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module WS2_32.dll: Path = C:\WINDOWS\system32\WS2_32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msvcrt.dll: Path = C:\WINDOWS\system32\msvcrt.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module WS2HELP.dll: Path = C:\WINDOWS\system32\WS2HELP.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ADVAPI32.dll: Path = C:\WINDOWS\system32\ADVAPI32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module RPCRT4.dll: Path = C:\WINDOWS\system32\RPCRT4.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module Secur32.dll: Path = C:\WINDOWS\system32\Secur32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module USER32.dll: Path = C:\WINDOWS\system32\USER32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module GDI32.dll: Path = C:\WINDOWS\system32\GDI32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ole32.dll: Path = C:\WINDOWS\system32\ole32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.122] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module OLEAUT32.dll: Path = C:\WINDOWS\system32\OLEAUT32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module ATL80.DLL: Path = C:\WINDOWS\WinSxS\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_cbb27474\ATL80.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module MSVCR80.dll: Path = C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCR80.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module IMM32.DLL: Path = C:\WINDOWS\system32\IMM32.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xpsp2res.dll: Path = C:\WINDOWS\system32\xpsp2res.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module CLBCATQ.DLL: Path = C:\WINDOWS\system32\CLBCATQ.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module COMRes.dll: Path = C:\WINDOWS\system32\COMRes.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module VERSION.dll: Path = C:\WINDOWS\system32\VERSION.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msi.dll: Path = C:\WINDOWS\system32\msi.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module SXS.DLL: Path = C:\WINDOWS\system32\SXS.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xMIIUDSFramework.dll: Path = C:\Programme\SAP\xMII\UDS\xMIIUDSFramework.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module COMCTL32.dll: Path = C:\WINDOWS\system32\COMCTL32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module SHELL32.dll: Path = C:\WINDOWS\system32\SHELL32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module SHLWAPI.dll: Path = C:\WINDOWS\system32\SHLWAPI.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module USERENV.dll: Path = C:\WINDOWS\system32\USERENV.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module comctl32.dll: Path = C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msxml4.dll: Path = c:\WINDOWS\system32\msxml4.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module WININET.dll: Path = C:\WINDOWS\system32\WININET.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module Normaliz.dll: Path = C:\WINDOWS\system32\Normaliz.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module iertutil.dll: Path = C:\WINDOWS\system32\iertutil.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module urlmon.dll: Path = C:\WINDOWS\system32\urlmon.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module MSOXMLMF.DLL: Path = C:\Programme\Gemeinsame Dateien\Microsoft Shared\OFFICE11\MSOXMLMF.DLL. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module xMIIOpcDaUDS.dll: Path = C:\Programme\SAP\xMII\UDS\xMIIOpcDaUDS.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module NETAPI32.dll: Path = C:\WINDOWS\system32\NETAPI32.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module opccomn_ps.dll: Path = C:\WINDOWS\system32\opccomn_ps.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module mswsock.dll: Path = C:\WINDOWS\system32\mswsock.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msv1_0.dll: Path = C:\WINDOWS\system32\msv1_0.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module iphlpapi.dll: Path = C:\WINDOWS\system32\iphlpapi.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module avsda.dll: Path = C:\WINDOWS\system32\avsda.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module hnetcfg.dll: Path = C:\WINDOWS\system32\hnetcfg.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module wshtcpip.dll: Path = C:\WINDOWS\System32\wshtcpip.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module opcproxy.dll: Path = C:\WINDOWS\system32\opcproxy.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module rsaenh.dll: Path = C:\WINDOWS\system32\rsaenh.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, DEBUG] 0x11500 Found Module msxml3.dll: Path = C:\WINDOWS\system32\msxml3.dll. [Host.cpp @ 611, CHostModule::LogState]
[05/14/2008-10:56:42.137] focketest [P:2532, T:1236, Host, INFO] 0x11200 Host is starting. [Host.cpp @ 329, CHostModule::RunMessageLoop]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13302 Accepted a good socket. [AcceptThread.cpp @ 216, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13303 Creating IOCP request data. [AcceptThread.cpp @ 227, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13304 Sending IOCP the request data. [AcceptThread.cpp @ 231, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13306 IOCP handle accepted. [AcceptThread.cpp @ 240, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:0172, Host, DEBUG] 0x13301 Waiting for requests. [AcceptThread.cpp @ 208, AcceptThread::AcceptThreadProcIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Host, DEBUG] 0x15003 IOCP completed and performing a read operation. [ThreadPool.cpp @ 427, ThreadPool::ThreadProc]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x17004 Attempting to execute the IOCP logic. [LHDSChannelHandler.cpp @ 470, CLHDSChannelHandler::ExecuteIOCP]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x17005 Attempting to executing the query. [LHDSChannelHandler.cpp @ 552, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.386] focketest [P:2532, T:3688, Framework, DEBUG] 0x17008 Decoding the input. [LHDSChannelHandler.cpp @ 559, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x12002 Decoded the context. Original query was: STYLESHEET http://bermii:50000/XMII/Stylesheets/IllumRowsetHTML.xsl QueryTemplate DemoMaschine/testquery Content-Type text/html TotalizerFactor 1.0 NumberFormat 0.00 UseGroupMask false ReaderRoles XMII Users IsCachable false WriterRoles XMII Developers,XMII Administrators DurationUnits M Mode Current IntervalCount 1 RowCount 60 AllowFuture true Version 12.0.3 Build(106) Trace false DocType TagQuery Debug false Resolution 0 SaveDate 05/14/2008 10:48:58 PathID 111 CacheDuration 0 Server OPCserver Duration 60 DateFormat MM/dd/yyyy HH:mm:ss ExcludeRemotes true CacheDurationUnits M AllowBuffering false ID -1 StartDate 1210751815 EndDate 1210755415 TagName.1 DB11.DBB6 !. [LHDSContext.cpp @ 190, CLHDSContext::DecodeContext]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17006 Executing the query. [LHDSChannelHandler.cpp @ 598, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2016 Checking the state of the connection. [Connection.cpp @ 2032, CLHOpcDaConnection::Load]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2005 Connecting. [Connection.cpp @ 326, CLHOpcDaConnection::FinalConnect]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2016 Checking the state of the connection. [Connection.cpp @ 2032, CLHOpcDaConnection::Load]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, UDS, DEBUG] 0x2006 Connected. [Connection.cpp @ 329, CLHOpcDaConnection::FinalConnect]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a002 Setting a new message. [LHDSResponse.cpp @ 378, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a004 Header was not sent. [LHDSResponse.cpp @ 382, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a000 Setting a non-fatal message. [LHDSResponse.cpp @ 390, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a00e Preparing the response. [LHDSResponse.cpp @ 350, CLHDSResponse::Prepare]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a007 Attempting to send the header. [LHDSResponse.cpp @ 317, CLHDSResponse::SendHeader]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a006 Sending the header. [LHDSResponse.cpp @ 320, CLHDSResponse::SendHeader]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17001 Attempting to send the data. [LHDSChannelHandler.cpp @ 221, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17002 Sending: {0-0-0-1-0-0-1-25-230-110-141-88-0-0-1-25-230-165-123-216}. [LHDSChannelHandler.cpp @ 242, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x17000 Finnished sending. [LHDSChannelHandler.cpp @ 283, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a002 Setting a new message. [LHDSResponse.cpp @ 378, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.418] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a003 Header was sent as non-fatal. [LHDSResponse.cpp @ 406, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a002 Setting a new message. [LHDSResponse.cpp @ 378, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a003 Header was sent as non-fatal. [LHDSResponse.cpp @ 406, CLHDSResponse::SetMessage]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a010 Locking the response. [LHDSResponse.cpp @ 473, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a017 Attempting to insert a node. [LHDSResponse.cpp @ 215, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01a Node already exists. [LHDSResponse.cpp @ 218, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a023 Finalizing all response nodes. [LHDSResponse.cpp @ 114, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01c Sending node, This is not the last node. [LHDSResponse.cpp @ 120, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01e Sending non-fatal message. [LHDSResponse.cpp @ 124, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17001 Attempting to send the data. [LHDSChannelHandler.cpp @ 221, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17002 Sending: {0-0-0}. [LHDSChannelHandler.cpp @ 242, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17000 Finnished sending. [LHDSChannelHandler.cpp @ 283, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01f Sending messages. [LHDSResponse.cpp @ 173, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01d Sending non-fatal message contents. [LHDSResponse.cpp @ 177, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17001 Attempting to send the data. [LHDSChannelHandler.cpp @ 221, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17002 Sending: {0-2-0-47-67-111-117-108-100-32-110-111-116-32-97-100-100-32-34-68-66-49-49-46-68-66-66-54-34-32-116-111-32-116-104-101-32-114-101-115-112-111-110-115-101-32-108-105-115-116-46-0-17-78-111-32-116-97-103-115-32-115-101-108-101-99-116-101-100-46}. [LHDSChannelHandler.cpp @ 242, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x17000 Finnished sending. [LHDSChannelHandler.cpp @ 283, CLHDSChannelHandler::SendData]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a023 Finalizing all response nodes. [LHDSResponse.cpp @ 114, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a010 Locking the response. [LHDSResponse.cpp @ 473, CLHDSResponse::Lock]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a017 Attempting to insert a node. [LHDSResponse.cpp @ 215, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01a Node already exists. [LHDSResponse.cpp @ 218, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.433] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01c Sending node, This is not the last node. [LHDSResponse.cpp @ 120, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a023 Finalizing all response nodes. [LHDSResponse.cpp @ 114, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a011 Attempting to lock the response. [LHDSResponse.cpp @ 470, CLHDSResponse::Lock]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a010 Locking the response. [LHDSResponse.cpp @ 473, CLHDSResponse::Lock]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a017 Attempting to insert a node. [LHDSResponse.cpp @ 215, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01a Node already exists. [LHDSResponse.cpp @ 218, CLHDSResponse::InsertFinished]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a01c Sending node, This is not the last node. [LHDSResponse.cpp @ 120, CLHDSResponse::FinalizeAll]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1a028 Clearing the response. [LHDSResponse.cpp @ 94, CLHDSResponse::Clear]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x17007 Done the execution cycle. [LHDSChannelHandler.cpp @ 604, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x1700c Finnished executing: 1. [LHDSChannelHandler.cpp @ 606, CLHDSChannelHandler::OnExecute]
[05/14/2008-10:56:54.449] focketest [P:2532, T:3688, Framework, DEBUG] 0x17003 Finnished execution the IOCP logic. [LHDSChannelHandler.cpp @ 538, CLHDSChannelHandler::ExecuteIOCP]
[05/14/2008-10:57:08.104] focketest [P:2532, T:1236, Host, INFO] 0x11201 Host is exiting. [Host.cpp @ 338, CHostModule::RunMessageLoop]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, Host, DEBUG] 0x14108 Shutting down provider the provider thread. [DataServerThread.cpp @ 137, DataServerThread::SpawnServer]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, Host, DEBUG] 0x14109 Destroying the local configuration context. [DataServerThread.cpp @ 143, DataServerThread::SpawnServer]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2020 Checking status before disconnecting. [Connection.cpp @ 2164, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2021 Attempting to disconnect from the server. [Connection.cpp @ 2171, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2023 Removing the Async event interface. [Connection.cpp @ 2189, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2024 Removed the group interface. [Connection.cpp @ 2195, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2025 Unadvising on the servers events. [Connection.cpp @ 2207, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2027 Server removed. [Connection.cpp @ 2221, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, INFO] 0x2028 Disconnected from the server. [Connection.cpp @ 2224, CLHOpcDaConnection::Unload]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, UDS, DEBUG] 0x2004 Shutting down the connection. [Connection.cpp @ 316, CLHOpcDaConnection::FinalShutdown]
[05/14/2008-10:57:08.120] focketest [P:2532, T:1492, Host, DEBUG] 0x1410a Setting the shutdown event. [DataServerThread.cpp @ 160, DataServerThread::SpawnServer]
The Debug file is from a Windows XP Professional system. But the same thing happens with the UDS installed
on Windows Server 2003 (x64).
The following config variations have been tried:
- synchronous / asynchronous
- Cache mode "None"
- Threading model STA / MTA
Any suggestions?
Regards,
MatthiasHi Mathais,
I assume you have installed the OPC enum services in the same machine where xMII UDS is running.
Also make sure that the browsing mode is set to true in the OPC Server.
We had the same issue...and were receiving the same error...but once we changed teh Browing mode at teh OPC server to true, tag quesries started working....
Hope it helps...
Pramod -
Why should I wrap String objects in a class for my HtmlDataTable?
Hi,
Let me describe a basic scenario in which my problem occurs. I have a backing bean and a JSP. The JSP gets a List<String> which is displayed inside a column in an editable HtmlDataTable. Each row in the data table has a UICommandLink that can perform an update to the value in the first column. Hence, the table only has two columns: one input field and one command link.
My problem is this: When I try to execute HtmlDataTable#getRowData() when the command link is pressed, the updated values are not retrieved, but instead the values that have been in the input field before any changes were made. However, if I instead wrap my List objects inside a StringWrapper class (with a String property and appropriate getters and setters) such that I have a List<StringWrapper>, the problem does not occur. Why is this and is there any way to avoid it?
I typed out some code to illustrate my scenario. Example 1 is where the table displays a list of String objects and Example 2 is where the table displays a list of StringWrapper objects.
Example 1: [http://pastebin.com/m2ec5d122|http://pastebin.com/m2ec5d122]
Example 2: [http://pastebin.com/d4e8c3fa3|http://pastebin.com/d4e8c3fa3]
I'll appreciate any feedback, many thanks!Hi,
Let me describe a basic scenario in which my problem occurs. I have a backing bean and a JSP. The JSP gets a List<String> which is displayed inside a column in an editable HtmlDataTable. Each row in the data table has a UICommandLink that can perform an update to the value in the first column. Hence, the table only has two columns: one input field and one command link.
My problem is this: When I try to execute HtmlDataTable#getRowData() when the command link is pressed, the updated values are not retrieved, but instead the values that have been in the input field before any changes were made. However, if I instead wrap my List objects inside a StringWrapper class (with a String property and appropriate getters and setters) such that I have a List<StringWrapper>, the problem does not occur. Why is this and is there any way to avoid it?
I typed out some code to illustrate my scenario. Example 1 is where the table displays a list of String objects and Example 2 is where the table displays a list of StringWrapper objects.
Example 1: [http://pastebin.com/m2ec5d122|http://pastebin.com/m2ec5d122]
Example 2: [http://pastebin.com/d4e8c3fa3|http://pastebin.com/d4e8c3fa3]
I'll appreciate any feedback, many thanks! -
How to add a button on the ALV LIST pop up
Hi ,
Can any one help me to add a button on the ALV list which is a pop up using ABAP Objects.
Thanks in advance.
Regards,
Kavya.HI ,
I want to add a push button on the ALV list out put which is comming as a pop up and I want this using classes and methods.
I have got a method IF_SREL_BROWSER_COMMANDS~ADD_BUTTONS from class cl_gos_attachment_list but still I am unable to get any additional button on the output ALV popup.
Please help.
Regards,
Kavya. -
PS Add-CMDistributionPoint "No object corresponds to the specified parameters."
Hi,
I'm trying to add a distribution point via Powershell. Thanks to the Add-cmdistributionpoint it should be pretty easy. The SCCM-server sccmserver1 is the main siteserver, sccmsiteserver2 is a Windows 2012 server on which all prereqs are installed and on
which sccmsiteserver1 is member of local administrators.
However, I get the error below "No object corresponds to the specified parameter".
I assume the computer account of sccmsiteserver1 is used by default (couldn't trigger this error anyhow) and the parameter -sitesystemservername is not the main siteserver but the new distribution point.
Please advise.
J.
PS TLS:\> Add-CMDistributionPoint -SiteSystemServerName "sccmserver2.ourdomain" -SiteCode "TLS" -ClientConnectionType Intranet -EnableAnonymous -CertificateExpirationTimeUtc "2112/12/12 12:00:00" -MinimumFreeSpace 50 -Verbose
VERBOSE: Performing the operation "Add" on target "DistributionPoint: NewDistributionPoint".
VERBOSE: Executing WQL query: SELECT * FROM SMS_SCI_SysResUse WHERE SiteCode='TLS' AND RoleName='SMS Site System' AND FileType=2 AND ItemType='System Resource Usage' AND N
ALPath='["Display=\\\\sccmserver2.ourdomain\\"]MSWNET:["SMS_SITE=TLS"]\\\\sccmserver2.ourdomain\\'
VERBOSE: Query returned 0 results.
Add-CMDistributionPoint : No object corresponds to the specified parameters.
At line:1 char:1
+ Add-CMDistributionPoint -SiteSystemServerName "sccmserver2.ourdomain" -SiteCod ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:String) [Add-CMDistributionPoint], ItemNotFoundException
+ FullyQualifiedErrorId : SessionStateException,Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.AddDistributionPointCommand
Jan HoedtYes, just a typo, sorry.
What worries me is that the output of the query is 0 "VERBOSE: Query returned 0 results."
So that means everything is working but there is actually no result to the query. Not sure why though.
Jan Hoedt
Maybe you are looking for
-
Mini displayport to VGA adapter to projector problems
I have had zero problems with this combination prior to update to Mavericks. I believe I had Snow Leopard. Since the update to Mavericks, when I connect my Macbook (white), the projector shows a blank home screen with the shortcut bar, but no icons,
-
When displaying a Google map I get about four vertical strips that alternately display good and in gray bands. The gray area displays the message "we are sorry, but we don't have maps at this zoom level for this region." Zooming out doesn't get rid o
-
Trying to connect to SQL SERVER
We have SAP on Oracle database but as we are implementing our HR system on SQL Server so we need to connect to SQL SERVER through ABAP in order to retrieve some information. We created the Connection successfully but when trying to retrieve the data
-
Pls tell me where Idoc is used practically or a practical application of Idoc Moderator message: Before posting a question please search the forum as a lot of questions have already been covered. Also, please familiarise yourself with the forum rules
-
Missing Photos in my PhotoStream
I took a few pictures on my iPhone 5 when I got it in September. I haven't used my camera up untill now. I've restored my iPhone once or twice and forgot to back up my photos, but they were in my PhotoStream, so i didn't care as much. I am now lookin