SERIAL in replication
Hello all, i am designing an schema to use later in replication with maxdb, can i use the serial autoincrement in a table if i am sure it is not updated on two different databases at the same time?
other question any suggestion to the primary key of the tables where i have to write in all databases? were i have not natural keys i thought use a numeric prefix for every site so i cant repeat the same, anything like 115+0000001 where "115" is the site code, 1 is the local site sequence number to the table and the 000000 will be appended by the application, i append this number of 0 (to fill 7 characters) because it is the maximum let me maintain integer datatype in the id column and gives me a really larger space to the sequence, but i suppose a better method exists and i dont know, any suggestions?
Hello,
do you want to use the Synchronization Manager to replicate your database?
If you want to use a serial auto increment you should do this only in one database.
e.g.: some kind of master database. The Synchronization Manager will replicate the values to the other client databases. To avoid some kind of disorder the client databases should not update or use an auto increment value.
Best regards
Wolfgang
Similar Messages
-
Serial Number Replication from R/3 TO CRM
Hi Experts,
Currently the Equipments are replicating from R/3 to CRM. If we want to replicate only Serial Number as Individual Object , will their be any effect on the equipment already replicated to CRM or what will be the effect of replicating Only Serial Number with out equipment.
We are working in 6.O version.
Can u please reply for this message ASAP.........
regards,
Sarangamath
Edited by: Sarangamath on Dec 7, 2011 10:53 AM
Hi Experts,
Can you please reply on this issue - Its Urgent
Regards,
SarangamathHi Kalyan;
You can define different number ranges in R/3 and CRM.
As per my understatnding number ranges maintained in R/3 is 0000000001-ZZZZZZZZZZ which is already exist in CRM.
You can try following steps
1. Define new number range ( as an ext no range)in CRM as per your requirement (which is not used in CRM)
2. create new groupings then assign number range in to grouping.
3. Then go to R/3 and change the number ranges for BP as a internal number ranges
4.Goto T.Code PIDE there select R/3 to CRM. and enter the mapping details with new number ranges then start downloading.
If helps reward the points.
Regards
Jameem Khan.
TTL Mumbai -
HttpSession replication and server state saving
The UIComponent class is not serializable, certainly because it is the StateManager which is responsible of saving its state.
But the default server state manager of the RI stores the whole component tree in the HttpSession. That means that it won't work in clustered environments where the session has to be serialized for replication between servers.
Will this be addressed in the final release ?E> This seems like a really BIG hole that Sun should fill very quickly!
Thanks for your input. Note: spec is intentionally very vague about the
specifics of state saving, except to say that the implementation must
support two options: client and server. Therefore, any solution
implemented in the Sun RI will likely be specific to that RI. Perhaps
we can consider standardizing the approach to clustering in a future
version of the spec.
E> I came across this thread because I am testing the viability of using
E> JSF in a JBoss clustered environment (and began getting serialization
E> errors when I add the <distributable/> stanza to my web.xml file). I
E> am probably not alone in my discomfort at having to replace a core
E> JSF class with a "patch" just to get session replication to work. Why
E> can't you or someone at Sun provide the resolution? All, that aside
E> you a JSF expert at least provide detailed specifics as to how the
E> proposed fix can be implemented by corporate JSF developers?
Here's one very important aspect of application architecture that I'm
surprised hasn't been pointed out before. Your application should be
designed such that the all user state resides OUTSIDE of the JSF
realm, and can therefore be made highly available by virtue of being
stored in something that does support HA. JSF UI state should mostly be
in request scope anyway. This is why we spent so much time on the
ValueBinding API.
E> Hope to see you at JavaOne (with more questions of
E> course)!
Yes, the entire Sun RI team, and several key EG members will be
available at BOF-2220
<http://www.javaone04.com/catalog/catalog/sessionDetail.jsp?hd=true&SESSION_ID=10589&form=searchform>.
Tuesday 29 June 2004 7:30 pm.
Ed (EG Member) -
AOA
i want to generate a series of number in a column name serial, while populating the table through my jdbc application.
i am using SQL server 2k at back end.
is there any data type r code to generate serial while table is being populated.This is not a Java question but...I think this is what you are looking for:
From SQL Server documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_create2_8g9x.asp
IDENTITY
Indicates that the new column is an identity column. When a new row is added to the table, Microsoft? SQL Server? provides a unique, incremental value for the column. Identity columns are commonly used in conjunction with PRIMARY KEY constraints to serve as the unique row identifier for the table. The IDENTITY property can be assigned to tinyint, smallint, int, bigint, decimal(p,0), or numeric(p,0) columns. Only one identity column can be created per table. Bound defaults and DEFAULT constraints cannot be used with an identity column. You must specify both the seed and increment or neither. If neither is specified, the default is (1,1).
seed
Is the value used for the very first row loaded into the table.
increment
Is the incremental value added to the identity value of the previous row loaded.
NOT FOR REPLICATION
Indicates that the IDENTITY property should not be enforced when a replication login such as sqlrepl inserts data into the table. Replicated rows must retain the key values assigned in the publishing database; the NOT FOR REPLICATION clause ensures that rows inserted by a replication process are not assigned new identity values. Rows inserted by other logins continue to have new identity values created in the usual way. It is recommended that a CHECK constraint with NOT FOR REPLICATION also be defined to ensure that the identity values assigned are within the range wanted for the current database -
BSOD on Server 2012 running dfs namespace and dfs replication roles with deduplication
Hello,
I have recently setup 2 dfsn & dfsr servers, both 2012 one physical the other virtual.
The idea is to have one server as primary and the other as a failover \ DR.
The primary server is virtual and connects via mpio \ iscsi to a dell san, using the provided dell DSM Drivers.
The secondary server is physical with local disk for storage.
I copy files to a namespace setup to always prefer the primary server, these files are then replicated across to the secondary.
I have also turned on deduplication on both servers to get the most out of the available storage.
This has been working well for 6 months or so, there have however been 2-3 occasions where the primary virtual server has crashed and blue screened causing the DFSR database to undergo a full consistency check.
The bug check errors i have managed to extract from the Memory.dmp and mini dump are as follows:
* Bugcheck Analysis
REFERENCE_BY_POINTER (18)
Arguments:
Arg1: 0000000000000000, Object type of the object whose reference count is being lowered
Arg2: fffffa80379a3070, Object whose reference count is being lowered
Arg3: 0000000000000002, Reserved
Arg4: ffffffffffffffff, Reserved
The reference count of an object is illegal for the current state of the object.
Each time a driver uses a pointer to an object the driver calls a kernel routine
to increment the reference count of the object. When the driver is done with the
pointer the driver calls another kernel routine to decrement the reference count.
Drivers must match calls to the increment and decrement routines. This bugcheck
can occur because an object's reference count goes to zero while there are still
open handles to the object, in which case the fourth parameter indicates the number
of opened handles. It may also occur when the object?s reference count drops below zero
whether or not there are open handles to the object, and in that case the fourth parameter
contains the actual value of the pointer references count.
Debugging Details:
DEFAULT_BUCKET_ID: WIN8_DRIVER_FAULT
BUGCHECK_STR: 0x18
PROCESS_NAME: dfsrs.exe
CURRENT_IRQL: 0
ANALYSIS_VERSION: 6.3.9600.17029 (debuggers(dbg).140219-1702) amd64fre
LAST_CONTROL_TRANSFER: from fffff800999ee0d7 to fffff8009985a440
STACK_TEXT:
fffff880`0bf3fb48 fffff800`999ee0d7 : 00000000`00000018 00000000`00000000 fffffa80`379a3070 00000000`00000002 : nt!KeBugCheckEx
fffff880`0bf3fb50 fffff800`99c33529 : fffffa80`379a3070 fffff8a0`0244adc0 00000000`000017e4 0000001b`930b60d8 : nt! ?? ::FNODOBFM::`string'+0x38605
fffff880`0bf3fb90 fffff800`99859453 : fffffa80`4063db00 fffffa80`4063db00 fffff880`0bf3fcc0 00000000`00000001 : nt!NtClose+0x239
fffff880`0bf3fc40 000007ff`5e8d2cda : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13
0000001b`9069f398 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x000007ff`5e8d2cda
STACK_COMMAND: kb
FOLLOWUP_IP:
nt! ?? ::FNODOBFM::`string'+38605
fffff800`999ee0d7 cc int 3
SYMBOL_STACK_INDEX: 1
SYMBOL_NAME: nt! ?? ::FNODOBFM::`string'+38605
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: nt
IMAGE_NAME: ntkrnlmp.exe
DEBUG_FLR_IMAGE_TIMESTAMP: 51a966cd
IMAGE_VERSION: 6.2.9200.16628
BUCKET_ID_FUNC_OFFSET: 38605
FAILURE_BUCKET_ID: 0x18_OVER_DEREFERENCE_nt!_??_::FNODOBFM::_string_
BUCKET_ID: 0x18_OVER_DEREFERENCE_nt!_??_::FNODOBFM::_string_
ANALYSIS_SOURCE: KM
FAILURE_ID_HASH_STRING: km:0x18_over_dereference_nt!_??_::fnodobfm::_string_
FAILURE_ID_HASH: {eaf19261-0688-f327-a17d-6f7960ac4ebd}
Followup: MachineOwner
rax=0000000000000000 rbx=ffffffffffffffff rcx=0000000000000018
rdx=0000000000000000 rsi=fffffa80379a3070 rdi=00000000fffc000c
rip=fffff8009985a440 rsp=fffff8800bf3fb48 rbp=fffffa80379a3040
r8=fffffa80379a3070 r9=0000000000000002 r10=fffffa8030d89190
r11=fffffa804063db00 r12=00000000000017e4 r13=0000000000000000
r14=fffff8a00a548f90 r15=0000000000000000
iopl=0 nv up ei pl zr na po nc
cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00000246
nt!KeBugCheckEx:
fffff800`9985a440 48894c2408 mov qword ptr [rsp+8],rcx ss:0018:fffff880`0bf3fb50=0000000000000018
Child-SP RetAddr : Args to Child
: Call Site
fffff880`0bf3fb48 fffff800`999ee0d7 : 00000000`00000018 00000000`00000000 fffffa80`379a3070 00000000`00000002 : nt!KeBugCheckEx
fffff880`0bf3fb50 fffff800`99c33529 : fffffa80`379a3070 fffff8a0`0244adc0 00000000`000017e4 0000001b`930b60d8 : nt! ?? ::FNODOBFM::`string'+0x38605
fffff880`0bf3fb90 fffff800`99859453 : fffffa80`4063db00 fffffa80`4063db00 fffff880`0bf3fcc0 00000000`00000001 : nt!NtClose+0x239
fffff880`0bf3fc40 000007ff`5e8d2cda : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13 (TrapFrame @ fffff880`0bf3fc40)
0000001b`9069f398 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x000007ff`5e8d2cda
start end module name
fffff800`987b1000 fffff800`987ba000 kd kd.dll Thu Jul 26 03:30:34 2012 (5010ABCA)
fffff800`99800000 fffff800`99f4c000 nt ntkrnlmp.exe Sat Jun 01 04:13:17 2013 (51A966CD)
fffff800`99f4c000 fffff800`99fb8000 hal hal.dll Wed Oct 24 04:03:21 2012 (50875A79)
fffff880`00a00000 fffff880`00a34000 ataport ataport.SYS Thu Jul 26 03:29:04 2012 (5010AB70)
fffff880`00a34000 fffff880`00a51000 lsi_sas lsi_sas.sys Fri May 11 20:40:21 2012 (4FAD6B25)
fffff880`00a51000 fffff880`00a5e000 serenum serenum.sys Thu Jul 26 03:30:13 2012 (5010ABB5)
fffff880`00a5e000 fffff880`00a6c000 fdc fdc.sys Thu Jul 26 03:30:15 2012 (5010ABB7)
fffff880`00a7b000 fffff880`00adb000 volmgrx volmgrx.sys Thu Jul 26 03:29:59 2012 (5010ABA7)
fffff880`00adb000 fffff880`00ae4000 intelide intelide.sys Thu Jul 26 03:29:52 2012 (5010ABA0)
fffff880`00ae4000 fffff880`00af3000 PCIIDEX PCIIDEX.SYS Thu Jul 26 03:29:09 2012 (5010AB75)
fffff880`00af3000 fffff880`00b56000 md3dsm md3dsm.sys Wed Aug 22 22:14:46 2012 (50354BC6)
fffff880`00b56000 fffff880`00b87000 msdsm msdsm.sys Sat Oct 05 04:32:09 2013 (524F8839)
fffff880`00b87000 fffff880`00ba0000 vmci vmci.sys Tue May 01 02:14:27 2012 (4F9F38F3)
fffff880`00ba0000 fffff880`00bb5000 vsock vsock.sys Fri Aug 30 20:25:34 2013 (5220F1AE)
fffff880`00bb5000 fffff880`00bcf000 mountmgr mountmgr.sys Thu Jul 26 03:29:33 2012 (5010AB8D)
fffff880`00bcf000 fffff880`00bd9000 atapi atapi.sys Thu Jul 26 03:30:33 2012 (5010ABC9)
fffff880`00bd9000 fffff880`00bf0000 vmxnet3n61x64 vmxnet3n61x64.sys Fri Sep 27 10:40:11 2013 (5245527B)
fffff880`00bf0000 fffff880`00bfa000 pnpmem pnpmem.sys Thu Jul 26 03:30:11 2012 (5010ABB3)
fffff880`00c40000 fffff880`00c9f000 mcupdate_GenuineIntel mcupdate_GenuineIntel.dll Thu Jul 26 03:30:12 2012 (5010ABB4)
fffff880`00c9f000 fffff880`00cfb000 CLFS CLFS.SYS Thu Jul 26 03:29:39 2012 (5010AB93)
fffff880`00cfb000 fffff880`00d1e000 tm tm.sys Thu Jul 26 03:29:01 2012 (5010AB6D)
fffff880`00d1e000 fffff880`00d33000 PSHED PSHED.dll Thu Jul 26 05:53:53 2012 (5010CD61)
fffff880`00d33000 fffff880`00d3d000 BOOTVID BOOTVID.dll Thu Jul 26 03:30:22 2012 (5010ABBE)
fffff880`00d3d000 fffff880`00dbc000 CI CI.dll Thu Mar 28 03:30:42 2013 (5153B962)
fffff880`00dbc000 fffff880`00de1000 rasl2tp rasl2tp.sys Thu Jul 26 03:23:16 2012 (5010AA14)
fffff880`00e00000 fffff880`00e49000 spaceport spaceport.sys Sat Oct 05 04:32:08 2013 (524F8838)
fffff880`00e49000 fffff880`00e61000 volmgr volmgr.sys Thu Jul 26 03:29:22 2012 (5010AB82)
fffff880`00e61000 fffff880`00ea9000 vm3dmp vm3dmp.sys Wed Oct 09 05:25:53 2013 (5254DAD1)
fffff880`00eb5000 fffff880`00f41000 cng cng.sys Thu Oct 11 06:17:34 2012 (5076566E)
fffff880`00f41000 fffff880`00f5b000 raspppoe raspppoe.sys Thu Jul 26 03:24:55 2012 (5010AA77)
fffff880`00f5c000 fffff880`00f99000 mpio mpio.sys Sat Sep 28 04:37:24 2013 (52464EF4)
fffff880`00f99000 fffff880`00fd3000 md3utm md3utm.sys Wed Aug 22 22:14:56 2012 (50354BD0)
fffff880`00fd3000 fffff880`00fef000 intelppm intelppm.sys Tue Nov 06 03:55:02 2012 (50988A16)
fffff880`01000000 fffff880`0106d000 ACPI ACPI.sys Thu Sep 20 07:09:16 2012 (505AB30C)
fffff880`01075000 fffff880`010d8000 msrpc msrpc.sys Thu Jul 26 03:28:37 2012 (5010AB55)
fffff880`010d8000 fffff880`0119a000 Wdf01000 Wdf01000.sys Sat Jun 22 04:13:05 2013 (51C51641)
fffff880`0119a000 fffff880`011aa000 WDFLDR WDFLDR.SYS Sat Jun 22 04:14:38 2013 (51C5169E)
fffff880`011aa000 fffff880`011c1000 acpiex acpiex.sys Thu Jul 26 03:25:57 2012 (5010AAB5)
fffff880`011c1000 fffff880`011cc000 WppRecorder WppRecorder.sys Thu Jul 26 03:29:07 2012 (5010AB73)
fffff880`011cc000 fffff880`011d6000 WMILIB WMILIB.SYS Thu Jul 26 03:30:04 2012 (5010ABAC)
fffff880`011d6000 fffff880`011f7000 raspptp raspptp.sys Thu Jul 26 03:23:13 2012 (5010AA11)
fffff880`01400000 fffff880`0140d000 vdrvroot vdrvroot.sys Thu Jul 26 03:27:29 2012 (5010AB11)
fffff880`0140d000 fffff880`01424000 pdc pdc.sys Fri Mar 01 04:58:34 2013 (5130357A)
fffff880`01424000 fffff880`0143e000 partmgr partmgr.sys Wed Jan 09 04:01:42 2013 (50ECEBA6)
fffff880`01444000 fffff880`0153f000 NDIS NDIS.SYS Sat Jun 15 06:11:35 2013 (51BBF787)
fffff880`0153f000 fffff880`015ae000 NETIO NETIO.SYS Thu Oct 11 06:16:20 2012 (50765624)
fffff880`015ae000 fffff880`015b8000 msisadrv msisadrv.sys Thu Jul 26 03:28:02 2012 (5010AB32)
fffff880`015b8000 fffff880`015f5000 pci pci.sys Thu Jul 26 03:27:43 2012 (5010AB1F)
fffff880`01800000 fffff880`01816000 datascrn datascrn.sys Thu Jul 26 03:29:13 2012 (5010AB79)
fffff880`01816000 fffff880`01824000 cbafilt cbafilt.sys Thu Jul 26 03:29:05 2012 (5010AB71)
fffff880`01824000 fffff880`0186c000 msiscsi msiscsi.sys Mon Feb 03 16:23:09 2014 (52EFC26D)
fffff880`0186c000 fffff880`01877000 kdnic kdnic.sys Thu Jul 26 03:27:41 2012 (5010AB1D)
fffff880`01877000 fffff880`01889000 umbus umbus.sys Thu Jul 26 03:27:39 2012 (5010AB1B)
fffff880`01889000 fffff880`018a9000 i8042prt i8042prt.sys Thu Jul 26 03:28:50 2012 (5010AB62)
fffff880`018a9000 fffff880`018b8000 kbdclass kbdclass.sys Thu Jul 26 03:28:47 2012 (5010AB5F)
fffff880`018b8000 fffff880`018c7000 mouclass mouclass.sys Thu Jul 26 03:28:47 2012 (5010AB5F)
fffff880`018c7000 fffff880`018e5000 parport parport.sys Thu Jul 26 03:29:53 2012 (5010ABA1)
fffff880`018e5000 fffff880`018fd000 serial serial.sys Thu Jul 26 03:30:01 2012 (5010ABA9)
fffff880`018fd000 fffff880`01952000 storport storport.sys Mon Feb 03 16:23:24 2014 (52EFC27C)
fffff880`01952000 fffff880`019b2000 fltmgr fltmgr.sys Thu Jul 26 03:30:09 2012 (5010ABB1)
fffff880`019b2000 fffff880`019e0000 quota quota.sys Thu Jul 26 03:29:14 2012 (5010AB7A)
fffff880`019e0000 fffff880`019f4000 dfsrro dfsrro.sys Thu Jul 26 03:29:13 2012 (5010AB79)
fffff880`019f4000 fffff880`01a00000 BATTC BATTC.SYS Thu Oct 11 06:19:58 2012 (507656FE)
fffff880`01a00000 fffff880`01a2c000 tunnel tunnel.sys Thu Jul 26 03:23:04 2012 (5010AA08)
fffff880`01a2c000 fffff880`01a3b000 CompositeBus CompositeBus.sys Thu Jul 26 03:28:03 2012 (5010AB33)
fffff880`01a3b000 fffff880`01a45000 vmgencounter vmgencounter.sys Thu Jul 26 03:27:58 2012 (5010AB2E)
fffff880`01a45000 fffff880`01c2a000 Ntfs Ntfs.sys Sun Jan 26 23:28:35 2014 (52E59A23)
fffff880`01c2a000 fffff880`01c45000 ksecdd ksecdd.sys Thu Sep 20 07:09:16 2012 (505AB30C)
fffff880`01c45000 fffff880`01c56000 pcw pcw.sys Thu Jul 26 03:28:44 2012 (5010AB5C)
fffff880`01c56000 fffff880`01c60000 Fs_Rec Fs_Rec.sys Thu Jul 26 03:30:08 2012 (5010ABB0)
fffff880`01c60000 fffff880`01c8f000 ksecpkg ksecpkg.sys Thu Oct 11 06:16:46 2012 (5076563E)
fffff880`01c8f000 fffff880`01cc0000 cdrom cdrom.sys Thu Jul 26 03:26:36 2012 (5010AADC)
fffff880`01cc0000 fffff880`01d2b000 dedup dedup.sys Sat Oct 05 04:31:38 2013 (524F881A)
fffff880`01d2b000 fffff880`01d3a000 vmrawdsk vmrawdsk.sys Sun Dec 15 03:36:38 2013 (52AD23C6)
fffff880`01d3a000 fffff880`01d47000 BasicRender BasicRender.sys Thu Jul 26 03:28:51 2012 (5010AB63)
fffff880`01d47000 fffff880`01d53000 mssmbios mssmbios.sys Thu Jul 26 03:29:19 2012 (5010AB7F)
fffff880`01d53000 fffff880`01d64000 discache discache.sys Thu Jul 26 03:28:23 2012 (5010AB47)
fffff880`01d64000 fffff880`01d85000 dfsc dfsc.sys Wed Jan 15 23:42:58 2014 (52D71D02)
fffff880`01d85000 fffff880`01d91000 ndistapi ndistapi.sys Thu Sep 20 07:09:19 2012 (505AB30F)
fffff880`01d91000 fffff880`01dc0000 ndiswan ndiswan.sys Thu Jul 26 03:23:13 2012 (5010AA11)
fffff880`01dc0000 fffff880`01dde000 rassstp rassstp.sys Thu Jul 26 03:23:59 2012 (5010AA3F)
fffff880`01dde000 fffff880`01df6000 AgileVpn AgileVpn.sys Thu Jul 26 03:23:11 2012 (5010AA0F)
fffff880`01df6000 fffff880`01dfc400 CmBatt CmBatt.sys Thu Jul 26 03:29:20 2012 (5010AB80)
fffff880`01e00000 fffff880`01e54000 CLASSPNP CLASSPNP.SYS Sat Jun 29 04:07:45 2013 (51CE4F81)
fffff880`01e54000 fffff880`01e68000 crashdmp crashdmp.sys Fri Aug 30 04:11:28 2013 (52200D60)
fffff880`01e75000 fffff880`01e7e000 Null Null.SYS Thu Jul 26 03:30:16 2012 (5010ABB8)
fffff880`01e81000 fffff880`020ba000 tcpip tcpip.sys Wed Jan 22 04:28:22 2014 (52DF48E6)
fffff880`020ba000 fffff880`02122000 fwpkclnt fwpkclnt.sys Fri Mar 01 04:55:54 2013 (513034DA)
fffff880`02122000 fffff880`0213d000 wfplwfs wfplwfs.sys Thu Oct 10 04:32:19 2013 (52561FC3)
fffff880`0213d000 fffff880`02191000 volsnap volsnap.sys Sat Jun 01 04:10:22 2013 (51A9661E)
fffff880`02191000 fffff880`021a8000 mup mup.sys Thu Jul 26 03:30:00 2012 (5010ABA8)
fffff880`021a8000 fffff880`021b4000 npsvctrig npsvctrig.sys Thu Jul 26 03:27:33 2012 (5010AB15)
fffff880`021b4000 fffff880`021d0000 disk disk.sys Sat Oct 12 07:31:15 2013 (5258ECB3)
fffff880`021ed000 fffff880`021ff000 dfs dfs.sys Thu Jul 26 03:28:21 2012 (5010AB45)
fffff880`03800000 fffff880`03863000 mrxsmb mrxsmb.sys Tue Feb 05 22:29:08 2013 (511187B4)
fffff880`0389c000 fffff880`038eb000 ks ks.sys Sat Feb 02 07:25:50 2013 (510CBF7E)
fffff880`038eb000 fffff880`038f6000 rdpbus rdpbus.sys Thu Jul 26 03:28:19 2012 (5010AB43)
fffff880`038f6000 fffff880`0390a000 NDProxy NDProxy.SYS Tue Apr 09 03:33:41 2013 (51637E05)
fffff880`0390a000 fffff880`03915000 flpydisk flpydisk.sys Thu Jul 26 03:30:15 2012 (5010ABB7)
fffff880`03915000 fffff880`03922000 dump_diskdump dump_diskdump.sys Thu Jul 26 03:29:58 2012 (5010ABA6)
fffff880`03922000 fffff880`0393f000 dump_LSI_SAS dump_LSI_SAS.sys Fri May 11 20:40:21 2012 (4FAD6B25)
fffff880`0393f000 fffff880`03947000 HIDPARSE HIDPARSE.SYS Sat Jun 29 04:08:18 2013 (51CE4FA2)
fffff880`03947000 fffff880`03955000 monitor monitor.sys Fri Mar 01 04:56:18 2013 (513034F2)
fffff880`03955000 fffff880`0397d000 luafv luafv.sys Thu Jul 26 03:29:13 2012 (5010AB79)
fffff880`0397d000 fffff880`03991000 lltdio lltdio.sys Thu Jul 26 03:24:02 2012 (5010AA42)
fffff880`03991000 fffff880`039a9000 rspndr rspndr.sys Thu Jul 26 03:24:06 2012 (5010AA46)
fffff880`039a9000 fffff880`039c9000 bowser bowser.sys Thu Jul 26 03:28:01 2012 (5010AB31)
fffff880`039c9000 fffff880`039e0000 mpsdrv mpsdrv.sys Thu Oct 31 03:42:19 2013 (5271D19B)
fffff880`03c00000 fffff880`03c73000 rdbss rdbss.sys Sat May 04 05:47:00 2013 (518492C4)
fffff880`03c73000 fffff880`03c8d000 wanarp wanarp.sys Tue Apr 09 03:31:00 2013 (51637D64)
fffff880`03c8d000 fffff880`03c9b000 nsiproxy nsiproxy.sys Thu Jul 26 03:25:00 2012 (5010AA7C)
fffff880`03c9b000 fffff880`03ca3000 vmmouse vmmouse.sys Mon Jun 04 10:34:25 2012 (4FCC8121)
fffff880`03ca3000 fffff880`03e0c000 dxgkrnl dxgkrnl.sys Thu Sep 19 04:16:23 2013 (523A6C87)
fffff880`03e0c000 fffff880`03e1d000 watchdog watchdog.sys Thu Jul 26 03:29:05 2012 (5010AB71)
fffff880`03e1d000 fffff880`03e6b000 dxgmms1 dxgmms1.sys Wed Jan 09 03:58:58 2013 (50ECEB02)
fffff880`03e6b000 fffff880`03e7c000 BasicDisplay BasicDisplay.sys Thu Jul 26 03:29:08 2012 (5010AB74)
fffff880`03e7c000 fffff880`03e8e000 Npfs Npfs.SYS Thu Jul 26 03:30:26 2012 (5010ABC2)
fffff880`03e8e000 fffff880`03e9a000 Msfs Msfs.SYS Thu Jul 26 03:30:24 2012 (5010ABC0)
fffff880`03e9a000 fffff880`03ebc000 tdx tdx.sys Thu Jul 26 03:24:58 2012 (5010AA7A)
fffff880`03ebc000 fffff880`03eca000 TDI TDI.SYS Thu Jul 26 03:27:59 2012 (5010AB2F)
fffff880`03eca000 fffff880`03ed6000 ws2ifsl ws2ifsl.sys Thu Sep 20 07:09:50 2012 (505AB32E)
fffff880`03ed6000 fffff880`03f2e000 netbt netbt.sys Thu Jul 26 03:24:26 2012 (5010AA5A)
fffff880`03f2e000 fffff880`03fc4000 afd afd.sys Wed Sep 04 04:11:20 2013 (5226A4D8)
fffff880`03fc4000 fffff880`03fee000 pacer pacer.sys Thu Jul 26 03:23:05 2012 (5010AA09)
fffff880`03fee000 fffff880`03ffe000 netbios netbios.sys Thu Jul 26 03:28:19 2012 (5010AB43)
fffff880`03ffe000 fffff880`03fff480 swenum swenum.sys Thu Jul 26 03:28:53 2012 (5010AB65)
fffff880`0ac00000 fffff880`0acdf000 HTTP HTTP.sys Fri Mar 15 00:17:15 2013 (5142688B)
fffff880`0acdf000 fffff880`0ace7000 vmmemctl vmmemctl.sys Sun Dec 15 03:36:24 2013 (52AD23B8)
fffff880`0acf8000 fffff880`0ad43000 mrxsmb10 mrxsmb10.sys Thu Jul 26 03:23:06 2012 (5010AA0A)
fffff880`0ad43000 fffff880`0ad7e000 mrxsmb20 mrxsmb20.sys Tue Feb 05 22:28:36 2013 (51118794)
fffff880`0b200000 fffff880`0b20d000 condrv condrv.sys Thu Jul 26 03:30:08 2012 (5010ABB0)
fffff880`0b20d000 fffff880`0b2ae000 srv2 srv2.sys Tue Apr 09 03:33:02 2013 (51637DDE)
fffff880`0b2cd000 fffff880`0b399000 peauth peauth.sys Tue Apr 09 03:32:01 2013 (51637DA1)
fffff880`0b399000 fffff880`0b3a4000 secdrv secdrv.SYS Wed Sep 13 14:18:38 2006 (4508052E)
fffff880`0b3a4000 fffff880`0b3e8000 srvnet srvnet.sys Tue Apr 09 03:31:13 2013 (51637D71)
fffff880`0b3e8000 fffff880`0b3fa000 tcpipreg tcpipreg.sys Thu Jul 26 03:23:13 2012 (5010AA11)
fffff880`0b4e3000 fffff880`0b570000 srv srv.sys Thu Jul 26 03:25:28 2012 (5010AA98)
fffff880`0b570000 fffff880`0b57b000 rdpvideominiport rdpvideominiport.sys Fri Oct 12 06:48:28 2012 (5077AF2C)
fffff880`0b57b000 fffff880`0b5ac000 rdpdr rdpdr.sys Thu Jul 26 03:25:18 2012 (5010AA8E)
fffff880`0b5ac000 fffff880`0b5b9000 terminpt terminpt.sys Thu Jul 26 03:28:53 2012 (5010AB65)
fffff960`00118000 fffff960`00508000 win32k win32k.sys Sat Feb 08 04:34:05 2014 (52F5B3BD)
fffff960`006cb000 fffff960`006d4000 TSDDD TSDDD.dll Thu Jul 26 03:30:25 2012 (5010ABC1)
fffff960`00879000 fffff960`008af000 cdd cdd.dll Thu Jul 26 05:49:37 2012 (5010CC61)
fffff960`00a21000 fffff960`00a60000 RDPUDD RDPUDD.dll Fri Oct 12 06:50:01 2012 (5077AF89)
Unloaded modules:
fffff880`01e68000 fffff880`01e75000 dump_storport.sys
Timestamp: unavailable (00000000)
Checksum: 00000000
ImageSize: 0000D000
fffff880`021d0000 fffff880`021ed000 dump_LSI_SAS.sys
Timestamp: unavailable (00000000)
Checksum: 00000000
ImageSize: 0001D000
fffff880`021a8000 fffff880`021b4000 hwpolicy.sys
Timestamp: unavailable (00000000)
Checksum: 00000000
ImageSize: 0000C000
fffff880`00f41000 fffff880`00f5c000 sacdrv.sys
Timestamp: unavailable (00000000)
Checksum: 00000000
ImageSize: 0001B000
fffff880`00c33000 fffff880`00c40000 ApiSetSchema.dll
Timestamp: unavailable (00000000)
Checksum: 00000000
ImageSize: 0000D000
I have searched for others having a similar problem but have not managed to find much.
The memory dump at the time of the crash does seem to hint at a problem with DFSR.exe.
The setup seems to be running fine again now and is going through its consistency checks, it is just a major inconvenience and will only get worse as the DFS becomes busier and approaches capacity.
The plan was to put this setup into production however with the unpredictability of blue screen reboots I cannot see this happening until I can find a fix or work around.
I have yet to see this problem occur on the other (physical) server, this is pretty much identical in configuration apart from its storage access.
My thoughts are a possible bug in the DFSR component or a bug in the DSM Drivers used for the iSCSI SAN connection or maybe a combination of the two.
Any help, thoughts or suggestions greatly appreciated
ThanksHi,
Please install the current version of Dfssvc.exe Dfsc.sys Dfsrs.exe for Windows Server 2012.
List of currently available hotfixes for Distributed File System (DFS) technologies in Windows Server 2012 and Windows Server 2012 R2
http://support.microsoft.com/kb/2951262
The issue may be due to the DFSRoot folder has lost NTFS permission. Some reasons why DFS root lose ACLs Links are listed in the article below:
How to implement Windows Server 2003 Access-based Enumeration in a DFS environment
http://support.microsoft.com/kb/907458/en-us
You could use dfsutil to set NTFS permission: dfsutil property ACL \\DFS-namespace
Using the Windows Server 2008 DFSUTIL.EXE command line to manage DFS-Namespaces
http://blogs.technet.com/b/josebda/archive/2009/05/01/using-the-windows-server-2008-dfsutil-exe-command-line-to-manage-dfs-namespaces.aspx
To narrow down the issue, you could remove the DFS role to check if the issue related to the dfs namespace and dfs replication roles.
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Stateful Session Beans are not passivated / serialized when cache idle time
Technology: Sun Application Server version 7.0.0_01; JDK 1.4.1; developed on Windows 2000; Tested on Sun Solaris.
Initial error on Sun Solaris:
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: Exception in thread "service-j2ee-25" org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.POA.GenericPOAServerSC.preinvoke(GenericPOAServerSC.java:389)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.POA.ServantCachePOAClientSC.initServant(ServantCachePOAClientSC.java:112)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.POA.ServantCachePOAClientSC.setOrb(ServantCachePOAClientSC.java:95)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.createDelegate(CDRInputStream_1_0.java:760)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.internalIORToObject(CDRInputStream_1_0.java:750)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:669)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:890)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:884)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:307)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.enterprise.iiop.IIOPHandleDelegate.getStub(IIOPHandleDelegate.java:58)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.enterprise.iiop.IIOPHandleDelegate.readEJBObject(IIOPHandleDelegate.java:38)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.ejb.portable.HandleImpl.readObject(HandleImpl.java:91)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:981)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:287)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.copyObject(Util.java:598)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at javax.rmi.CORBA.Util.copyObject(Util.java:314)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.telstra.nodeman.ejb._NodeMaint_Stub.getHandle(Unknown Source)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.telstra.nodeman.arch.NMAViewBeanProxy.checkBeans(NMAViewBeanProxy.java:631)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.telstra.nodeman.view.html.NMAStandardButton.handleRequest(NMAStandardButton.java:143)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.telstra.nodeman.arch.NMAViewBeanBase.handleRequest(NMAViewBeanBase.java:1573)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:824)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:637)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:595)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:772)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:446)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.telstra.nodeman.view.ViewServlet.doPost(ViewServlet.java:243)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
[10/Aug/2004:08:04:57] WARNING (17227): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
The above error caused the server to use all available memory and required a reboot to proceed.
Subsequent testing against the Sun Appliucation Server 7 on Windows 2000 dev environment using the Sun Studio IDE for debugging and trace statements inserted in the code indicate that the Application Server is removing the Stateful Session Beans when they time out without an ejbPassivate event and without serializing the beans to the data-store. cache-idle-timeout-in-seconds set to 180 and removal-timeout-in-seconds set to 1800.
The server.log indicates that the beans are timing out:
[19/Aug/2004:18:15:10] WARNING ( 1664): [NRU-com.telstra.nodeman.ejb.AddressMaintBean]: IdleBeanCleanerTask finished after removing 2 idle beans
Trace statements inserted in ejbPassivate do not appear in the log.
It is my understanding that the above timeout should have caused an ejbPasssivate and serialization of the beans.
The beans have been validated using Sun Java Studio Enterprise 6 with 'EJB validate'.
My reading of the problem is that the beans are not being serialized and the error occurs when the application attempts to reference (getHandle) the bean after timeout.
Any suggestions would be appreciated.Thanks Thorick.
I am using NRU caching. WL 7.0 SP2.
I have not defined idle-timeout-seconds in my weblogic-ejb-jar.xml. As I understand
the default value for this is 600secs. So the ejbs should be removed after this
time. Below is the
weblogic-ejb-jar.xml that I am using.
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
<!-- Generated XML! -->
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>Cart</ejb-name>
<stateful-session-descriptor>
<stateful-session-clustering>
<home-is-clusterable>true</home-is-clusterable>
<replication-type>InMemory</replication-type>
</stateful-session-clustering>
</stateful-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>
60
</trans-timeout-seconds>
</transaction-descriptor>
<jndi-name>CartHome</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
"thorick" <[email protected]> wrote:
>
The idle-timeout-seconds property controls the timeout/removal behavior.
which stateful session cache type are you using ? LRUCache or NRUCache -
Session replication at every http request
Hi everybody
I'm trying to use ZKoss Framework (www.zkoss.org) to develop a
web application and deploy it in a Clustered WebLogic Server.
The main issue I'm facing is that the "state" of the visual interface
is stored inside the http session, and so, when node that handle
the http request changes, the state is resetted and then the page changes,
even if there was no user intervention.
So I need to replicate the whole session at every http request,
to prevent strange behaviours when the request handler node's changes.
Do you know some settings that will force WebLogic Server to replicate the whole
session at every http request?
Thanks in advance.
bye.Hi Marco,
Yes, You are right But You NEED NOT to put setAttribute("key","value")...code in all your JSPs. because if the Attribute data of Session is changed then Automatically it will be replicated (only the Changed Data and not the Data which is unchanged). Even we need not to worry about replicating the Unchanged Data Again...And WebLogic will take care of ChangedData by itself. There is no other alternate solution available in weblogic to do this...Even no such similar Element available in Deployment descriptors as well.
Actual Link is Broken http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/failover.html
Any way i am copy-pasting few Lines from E-Docs (the actual link i am not able to find ..but may be u can open the cached page:
http://74.125.153.132/search?q=cache:bxTbqJEsQTsJ:download-llnw.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/failover.html+setAttribute+Session+replication+weblogic&cd=6&hl=en&ct=clnk&gl=in
---------------------------If you are not able to open the link then please refer to the E-Docs copy-paste content below --------------------------
Programming Considerations for Clustered Servlets and JSPs
This section highlights key programming constraints and recommendations for servlets and JSPs that you will deploy in a clustered environment.
Session Data Must Be Serializable
To support in-memory replication of HTTP session states, all servlet and JSP session data must be serializable.
Note: Serialization is the process of converting a complex data structure, such as a parallel arrangement of data (in which a number of bits are transmitted at a time along parallel channels) into a serial form (in which one bit at a time is transmitted); a serial interface provides this conversion to enable data transmission.
Every field in an object must be serializable or transient in order for the object to be considered serializable. If the servlet or JSP uses a combination of serializable and non-serializable objects, WebLogic Server does not replicate the session state of the non-serializable objects.
Use setAttribute to Change Session State
In an HTTP servlet that implements javax.servlet.http.HttpSession, use HttpSession.setAttribute (which replaces the deprecated putValue) to change attributes in a session object. If you set attributes in a session object with setAttribute, the object and its attributes are replicated in a cluster using in-memory replication. If you use other set methods to change objects within a session, WebLogic Server does not replicate those changes. Every time a change is made to an object that is in the session, setAttribute() should be called to update that object across the cluster.
Likewise, use removeAttribute (which, in turn, replaces the deprecated removeValue) to remove an attribute from a session object.
Note: Use of the deprecated putValue and removeValue methods will also cause session attributes to be replicated.
Thanks
Jay SenSharma
Edited by: Jay SenSharma on Feb 11, 2010 10:24 PM
Edited by: Jay SenSharma on Feb 11, 2010 10:26 PM -
Setting up replication with client written in C++ and DB master in Java
Hi
I am trying to write C++ client that will join replicated environment created by a master written in java. For JAVA, I am using Berkley DB Java 4.0.103 API.
So far, I have written Master in java which creates a replicated environment. I also have a client written in JAVA that joins this replication environment and synchronizes all the data from master. Now, I want to convert this client written in JAVA to C++ (as our main application that will be using this is written in C++) and wondering if it will have any problems in serializing java objects to C++ objects.
Anybody here have done something like this? I wanted to make sure if this is possible before I try it out. Any pointers in right direction will be helpful.....
Thanks,
-ChiragIt is important to understand that BDB JE and BDB (C based edition) are two different products, not just two different APIs. In general you should normally choose one or the other. BDB JE is most appropriate for pure Java apps.
BDB has APIs in many languages, including Java, C and C++. BDB JE, which is pure Java, has only a Java API.
If you want to avoid a dependency on Java on the client (i.e., you want to use only C and C-based libraries), and you want to use a replication group that includes the client and server, then your only option is to use BDB (not BDB JE) on both client and server. On the server, you can use the Java API for BDB (this is not BDB JE), and use the C/C++ API for BDB on the client. With this option, you can make your data portable by using tuple bindings and writing C/C++ equivalents, as described in the other thread that you referenced.
If you want to write your client app in C/C++, but use BDB JE on both client and server, it is possible to use the JNI invocation APIs on the client to make calls to BDB JE, as Linda mentioned. In this case, you don't need to worry about data portability, since you can use the same bindings (e.g., Java tuple bindings) on both client and server. However, your client app will depend on Java, and I think you'll find that using JNI invocation in this manner will be unwieldy.
--mark -
DFS Replication for one group only not working
I have 2 DFS Replication groups and each group contains the same 2 member servers.
One group is set to replicate one drive pair between these members, and the other group is set to replicate another drive pair between the same member servers.
Replication works perfectly for one group / folder, but it does not even start on the other group.
This proves that there is no problem with the connectivity between the members, or to the AD.
The DFS Replication Health Report for the group that does not replicate shows no error, just 2 Warnings:
WARNINGS (2 servers with warnings)(Show All)
BOG-RODC (1 warning)
Reference member returned no replicated folders.
MTL-HV-FS01 (1 warning)
This member is waiting for initial replication for replicated folder BOG-RODC_D_Drive.
This is very weird, I don't see why it does not replicate, I'm pooling my hair out. Please help
Titusfollow up on the above issue: Yes I did delete the group, and DFSRPrivate folder and recreated the group again, but this did not help.
Problem has been fixed by Microsoft, I had to open a case with them. Apparently the Jet database that's hidden in the "System Volume Information" was corrupted, so not only he deleted the group, but did the following, changed permissions/ownership
to access the System Volume Information, then:
D:\>cd "System Volume Information"
D:\System Volume Information>cd DFSR
D:\System Volume Information\DFSR>dir
Volume in drive D is Data
Volume Serial Number is F4CD-B05B
Directory of D:\System Volume Information\DFSR
10/10/2014 11:09 AM <DIR> .
10/10/2014 11:09 AM <DIR> ..
10/02/2014 12:01 PM 0 $db_normal$
02/04/2015 10:14 AM <DIR> Config
10/10/2014 10:49 AM <DIR> database_E6F4_CDDD_F4CD_B05B
10/02/2014 12:01 PM <DIR> Private
1 File(s) 0 bytes
5 Dir(s) 1,558,208,782,336 bytes free
D:\System Volume Information\DFSR>rd database_E6F4_CDDD_F4CD_B05B /s /q
D:\System Volume Information\DFSR>dir
Volume in drive D is Data
Volume Serial Number is F4CD-B05B
Directory of D:\System Volume Information\DFSR
02/04/2015 10:20 AM <DIR> .
02/04/2015 10:20 AM <DIR> ..
10/02/2014 12:01 PM 0 $db_normal$
02/04/2015 10:19 AM <DIR> Config
10/02/2014 12:01 PM <DIR> Private
1 File(s) 0 bytes
4 Dir(s) 1,558,344,138,752 bytes free
Then as usually recreated the replication group. I haven't seen this information anywhere on the web or in the Microsoft site.
Hope this will help other people having the same problem as myself. Proceed with care. -
I have noticed a lot of this going on this group - with no definitive
answers but here goes...
This is my set-up - 2 Alteon Load Balancers (configured as per docs)
2 Apache 2.0.39 with relevant Apache Bridge
2 BEA WL702 Servers in a cluster, Admin & Managed1
on one machine, managed2 on it's own machine.
Here is my problem... A request goes to (say) managed1 and a session
is created, the next request (same session - I know this because I'm
the only one using the cluster) goes to managed2 and starts a new
session, which envitably leads to a Java stream dump, or other error
because information that should be in the session isn't there any
more. Originally I thought it was due to the fact that replication
was set to in-memory rather than replicated - so I fixed that, now i'm
getting an equally incomprehensible stream dump:
####<Apr 28, 2003 11:54:23 AM BST> <Warning> <rmi> <jsps302p>
<managed2> <ExecuteThread: '1' for queue: 'Replication'> <kernel
identity> <> <080003> <RuntimeException thrown by rmi server:
weblogic.cluster.replication.ReplicationManager.update(Lweblogic.cluster.replication.ROID;ILjava.io.Serializable;)
java.lang.NullPointerException>
While I guess this is down to something in the session being
non-serialized, I wouldn't expect the application to jump from server
to server.
Also I'm getting a lot of :
<HttpServer(2890001,null default ctx,managed2) found no context for
"/WLDummyInitJVMIDs". This request does not match the context path for
any installed web applications and there is no default web application
configured.>
turning up in my logs (even if it is not related - any ideas what it
is?)...
This is my weblogic.xml :
<weblogic-web-app>
<session-descriptor>
<session-param>
<param-name>PersistentStoreType</param-name>
<param-value>replicated</param-value>
</session-param>
</session-descriptor>
</weblogic-web-app>
Any help would be gratefully accepted.
Regards
matthew
Can you post the complete stack trace for the exceptions? The NPE might be a
known problem.
sree
"matty" <[email protected]> wrote in message
news:[email protected]...
> I have noticed a lot of this going on this group - with no definitive
> answers but here goes...
>
> This is my set-up - 2 Alteon Load Balancers (configured as per docs)
> 2 Apache 2.0.39 with relevant Apache Bridge
> 2 BEA WL702 Servers in a cluster, Admin & Managed1
> on one machine, managed2 on it's own machine.
>
> Here is my problem... A request goes to (say) managed1 and a session
> is created, the next request (same session - I know this because I'm
> the only one using the cluster) goes to managed2 and starts a new
> session, which envitably leads to a Java stream dump, or other error
> because information that should be in the session isn't there any
> more. Originally I thought it was due to the fact that replication
> was set to in-memory rather than replicated - so I fixed that, now i'm
> getting an equally incomprehensible stream dump:
>
> ####<Apr 28, 2003 11:54:23 AM BST> <Warning> <rmi> <jsps302p>
> <managed2> <ExecuteThread: '1' for queue: 'Replication'> <kernel
> identity> <> <080003> <RuntimeException thrown by rmi server:
>
weblogic.cluster.replication.ReplicationManager.update(Lweblogic.cluster.rep
lication.ROID;ILjava.io.Serializable;)
> java.lang.NullPointerException>
>
>
> While I guess this is down to something in the session being
> non-serialized, I wouldn't expect the application to jump from server
> to server.
>
> Also I'm getting a lot of :
>
> <HttpServer(2890001,null default ctx,managed2) found no context for
> "/WLDummyInitJVMIDs". This request does not match the context path for
> any installed web applications and there is no default web application
> configured.>
>
> turning up in my logs (even if it is not related - any ideas what it
> is?)...
>
> This is my weblogic.xml :
>
> <weblogic-web-app>
>
> <session-descriptor>
> <session-param>
> <param-name>PersistentStoreType</param-name>
> <param-value>replicated</param-value>
> </session-param>
> </session-descriptor>
>
> </weblogic-web-app>
>
>
>
> Any help would be gratefully accepted.
>
> Regards
>
>
> matthew
-
Stateful Serializing/Deserializing Problem in clusters
I'm using a stateful session bean that hold some values. When i try to test replication in clusters, the bean is serialized and deserialized from one node to other. That is ok.
The problem is when the state is too big (actuallly when the state is bigger than 1000bytes), the server is unable to replicate the stateful bean, and throws:
StreamCorruptedException, "invalid type code: 00".
I am using OC4J 10g (10.1.3.1).
The stack trace is:
08/10/10 13:33:37 java.lang.RuntimeException: java.io.StreamCorruptedException: invalid type code: 00
08/10/10 13:33:37 at com.tester.beans.TesterBean.readObject(TesterBean.java:126)
08/10/10 13:33:37 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08/10/10 13:33:37 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08/10/10 13:33:37 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08/10/10 13:33:37 at java.lang.reflect.Method.invoke(Method.java:597)
08/10/10 13:33:37 at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
08/10/10 13:33:37 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
08/10/10 13:33:37 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
08/10/10 13:33:37 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
08/10/10 13:33:37 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
08/10/10 13:33:37 at com.evermind.server.ejb.EJBInputStream.readSession(EJBInputStream.java:263)
08/10/10 13:33:37 at com.evermind.server.ejb.EJBInputStream.readSession(EJBInputStream.java:185)
08/10/10 13:33:37 at com.oracle.bricks.j2ee.EJBLiveSession.unmarshall(EJBLiveSession.java:228)
08/10/10 13:33:37 at com.oracle.bricks.j2ee.EJBSessionFacade.unmarshall(EJBSessionFacade.java:95)
08/10/10 13:33:37 at com.evermind.server.ejb.JGroupEJBService.requestSession(JGroupEJBService.java:193)
08/10/10 13:33:37 at com.evermind.server.ejb.StatefulSessionEJBHome.getSession(StatefulSessionEJBHome.java:670)
08/10/10 13:33:37 at com.evermind.server.ejb.StatefulSessionEJBHome.getSession(StatefulSessionEJBHome.java:653)
08/10/10 13:33:37 at com.evermind.server.ejb.StatefulSessionEJBHome.getSession(StatefulSessionEJBHome.java:648)
08/10/10 13:33:37 at com.evermind.server.ejb.EJBInputStream.resolveObject(EJBInputStream.java:72)
08/10/10 13:33:37 at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1377)
08/10/10 13:33:37 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
08/10/10 13:33:37 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
08/10/10 13:33:37 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
08/10/10 13:33:37 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
08/10/10 13:33:37 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
08/10/10 13:33:37 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
08/10/10 13:33:37 at com.oracle.jgroups.ObjectMarshaller.bytesToSerializable(ObjectMarshaller.java:177)
08/10/10 13:33:37 at com.oracle.bricks.j2ee.LiveSession.<init>(LiveSession.java:134)
08/10/10 13:33:37 at com.oracle.bricks.j2ee.SessionReplica.reify(SessionReplica.java:90)
08/10/10 13:33:37 at com.oracle.bricks.Manager.get(Manager.java:261)
08/10/10 13:33:37 at com.oracle.bricks.j2ee.SessionManager.get(SessionManager.java:133)
08/10/10 13:33:37 at com.evermind.server.http.JGroupHttpService.getExistingSession(JGroupHttpService.java:144)
08/10/10 13:33:37 at com.evermind.server.http.HttpApplication.getExistingSession(HttpApplication.java:1293)
08/10/10 13:33:37 at com.evermind.server.http.EvermindHttpServletRequest.unprivileged_getSession(EvermindHttpServletRequest.java:2727)
08/10/10 13:33:37 at com.evermind.server.http.EvermindHttpServletRequest.getSession(EvermindHttpServletRequest.java:2661)
08/10/10 13:33:37 at com.evermind.server.http.EvermindHttpServletRequest.getSession(EvermindHttpServletRequest.java:2655)
08/10/10 13:33:37 at tester.servlets.NewServlet.processRequest(NewServlet.java:61)
08/10/10 13:33:37 at tester.servlets.NewServlet.doPost(NewServlet.java:132)
08/10/10 13:33:37 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
08/10/10 13:33:37 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
08/10/10 13:33:37 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
08/10/10 13:33:37 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
08/10/10 13:33:37 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
08/10/10 13:33:37 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
08/10/10 13:33:37 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
08/10/10 13:33:37 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
08/10/10 13:33:37 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
08/10/10 13:33:37 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
08/10/10 13:33:37 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
08/10/10 13:33:37 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
08/10/10 13:33:37 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
08/10/10 13:33:37 at java.lang.Thread.run(Thread.java:619)
08/10/10 13:33:37 Caused by: java.io.StreamCorruptedException: invalid type code: 00
08/10/10 13:33:37 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
08/10/10 13:33:37 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
08/10/10 13:33:37 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
08/10/10 13:33:37 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
08/10/10 13:33:37 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
08/10/10 13:33:37 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
08/10/10 13:33:37 at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
08/10/10 13:33:37 at com.tester.beans.TesterBean.readObject(TesterBean.java:123)
08/10/10 13:33:37 ... 51 more
Any Idea, about the problems with the size of stateful session beans?
Thnx.you MUST implement your own ArrayList, I have the same problem you have, gSOAP is fantastic exellent election, Axis mm... Ihave a lot of problems specially using collections
I suggest use pure java to create the web service (wscompile, wsdeploy, these things makes a WSDL file)
Implement your own ArrayList
use gSOAP to create the clients stubs
code a little to create the client -
Large number of errors after starting MM replication
I have tried setting up 2 instances for MM replication.
Both are 9.2.0.6 on Solaris 8
This is to be our DR setup for several applications.
Creating the Master Group and links goes fine as does the online instantiation.
All tables have primary keys, no sequences and the rest (views,packages etc) I will update by hand since they will rarely change.
I have set parallel to zero - ie serial propagation, and have a single propagator/receiver (repadmin).
Then very soon after instantiation, the secondary site error list has > 50 errors and growing - all of No data found.
Seems that it is rapidly getting out of sync and at this stage only the Master Definition site has any users.
Has anyone seen this happen before? With no users on the secondary I would hope that there would be no errors at all.
Any help appreciated as this is a critical application.
GregHello Greg,
i see also are many others reasons. I have a similar replication, two Mastersites, i replicate a whole schema (only the tables), all other things (triggger, indexes...) i create directly. We write the most time only on database 1 and it works fine.
But some times i have a problem with parallel writing, the replication tempt to write a transaction a second time. Other reason in such a replication environment
are changes on the table structure, for instance disabling of an unique constraint only on the database 1. If your replication-environment never works without errors i would think you forgot any tables and there necessary foreign key connections.The bottom line is the question according the first error. Some times it begins only with one error and all other errors comes from the first. Can you find the reason for the first error?
Use the defcall and deferror views on the Database 2 to find the data's for the get_call package and then use this to find the problems for update-errors or use the OEM.
To your goal, the best way is to play at first with two test databases, i do so.
Regards from Germany
Anne -
Session state replication taking time to replicate in weblogic cluster
I have a application fully serialized code with WEB-INF/lib containing the below configs with Unicast communication.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<session-descriptor>
<session-param>
<param-name>TimeoutSecs</param-name>
<param-value>1800</param-value>
</session-param>
<cookie-http-only>false</cookie-http-only>
<persistent-store-type>replicated_if_clustered</persistent-store-type>
</session-descriptor>
</weblogic-web-app>
OHS plugin is having below config
LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"
<IfModule mod_weblogic.c>
WebLogicCluster 172.12.113.141:7006,172.12.113.140:7006
MatchExpression /finapp/*
</IfModule>
And weblogic cluster is replicating session instantly when ever there is some activities happening in the application.
It is having a problem only in below scenario when the session is open but the user is not doing anything.
I have 2 nodes in the cluster if one goes down(currently request serving one) it is failing over to the next but the session is not getting copied instantly. Below is the scenario where it works fine and where the replication is delayed.
1. Both servers(server1,server2) up for some time and user logs in and is continuing work.
2. primary server(server1) crashes in middle, secondary(server2) will take over the existing session and you will see user will be continuing the work without any issues(no logouts).
3. After sometime server1 comes up online, user keeps on testing(clicking some tab which makes a request to server), you will see the server1 will have a replica of server2 instantly.
4. You can bring down the server2 now and you will see the users session will not interrupt and user will be able to continue session with the server1.
Now coming to the scenario where you will be able to delayed replication :
1. Both servers up and user logged in and started work.
2. Primary server(server1) goes down and secondary server(server2) will take over the session and let the user continue its work without any logout.
2. server1 comes back online and user is not doing anything(no clicks) with application just kept the session open and server2(primary session) goes down within the replication time then the user will get logged out and might see some erratic behavior in any applications deployed to that weblogic. (We saw that if we dont shutdown server2 immediately(within 1min) and wait for 5mins+ weblogic is copying the session from server2 to server1. After that copy if we shutdown the primary server(server2) user is not having any issues)
To summerize if a session is active(logged in) and some activity(clicking) is going on then replication is happening instantly from primary to secondary but if the user is active(logged in) and not doing anything(not clicking) then the session from primary to secondary is taking 5minutes+
Please let me know if there is some weblogic configs to check to reduce this time lag and let weblogic copy the session continuously either the user is performing any activity or not in the logged in session.
Thanks,Hi,
This is the expected behavior. Please take a look at this document: WebLogic Server - Session Replication/Failover Scenario When Only One Server In Cluster is RUNNING (Doc ID 1292033.1)
In a WebLogic Server domain, with a Cluster of 2 Managed Servers and a web application deployed on this Cluster, you have only one managed server running and then you make a request through a proxy server to access the application.
The default cookie which is JSESSIONID will be created something like
<SessionID>!<PrimaryJVMID>!NONE
Here, you see the secondary server as NONE as there is only one server in cluster running.
Now, you leave HTTP session idle, meaning there will be no activity and requests in it.
Now, you bring up the second managed server instance in the cluster. The JSESSIONID for the earlier created HTTPSession will be unchanged: still
<SessionID>!<PrimaryJVMID>!NONE
unless there are any requests made or activity in it.
At this point of time, if there is a failure of the Managed server, the idle in-flight HTTP Sessions which were created earlier when this managed server was RUNNING, will be dropped and there will be no failover. Only active HTTP Sessions which have a secondary JVM ID will be failed over to the secondary managed server.
At any point, if subsequent requests are made and if any activity is made to the Idle HTTP sessions which were earlier created, the JSESSIONID gets updated with the secondary JVMID and sessions gets replicated and failed over in case of server crash. -
Log Reader is getting Stopped in SQL replication
Hi All,
We are having a oracle Publisher and distributor and subscriber is SQL SERVER.
My Log reader service is getting failed showing below error
Error messages:
The replication agent has not logged a progress message in 10 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor
are still active.
When i checked the MSrepl_errors table i found out the below errors
Heterogeneous Logreader encountered an error in call to 'Initialize'.
ORA-12541: TNS:no listener
Heterogeneous Logreader encountered an error in call to LoadReplCmds when processing state 'POLLBEGIN'.
ORA-03113: end-of-file on communication channel Process ID: 4852 Session ID: 539 Serial number: 14
when i troubleshoot this i found out that My Oracle database was down for some time and when it was up the log reader service was not up automatically and so we are having around 1 Million transactions pending.
I tried to reinitializing the subscriber but it stilled didn't work.I want to flush the pending transaction and take a new snapshot but when i am trying to do it using sp_repldone but its not wroking and showing below error
EXEC sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0, @time = 0, @reset = 1
Msg 18757, Level 16, State 1, Procedure sp_repldone, Line 1
Unable to execute procedure. The database is not published. Execute the procedure in a database that is published for replication.
Is there any other way i can flush the load reader if the publisher the Oracle i think the sp_repldone command is not working for Oracle Publisher.Can anybody help me out my replication is stopped currently.
Any help will be great for me.i disabled thePublishing and distribution and tried to recreate it again.the recreation was successful and the log reader is working fine now but the distribution agent is throwing below error.I assume the distribution agent should dop and create the table
but its not able to so that.
Error messages:
The process could not bulk copy into table '"dbo"."MPI_COB_T_SHOP_ORDER_DETAIL"'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20037)
Get help: http://help/MSSQL_REPL20037
Invalid object name 'dbo.MPI_COB_T_SHOP_ORDER_DETAIL'. (Source: MSSQLServer, Error number: 208)
Get help: http://help/208
To obtain an error file with details on the errors encountered when initializing the subscribing table, execute the bcp command that appears below. Consult the BOL for more information on the bcp utility and its supported options. (Source: MSSQLServer,
Error number: 20253)
Get help: http://help/20253
bcp "FlexNet"."dbo"."MPI_COB_T_SHOP_ORDER_DETAIL" in "G:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\ReplData\unc\MESD01_DISTRIBUTION_MPI_PUB\20150224062223\COB_T_SHOP_ORDER_DETAIL_71.bcp" -e "errorfile"
-t"\n<x$3>\n" -r"\n<,@g>\n" -m10000 -SCIDCSWDMESMPD01 -T -w (Source: MSSQLServer, Error number: 20253)
Get help: http://help/20253
Can anyone help me on it please -
Some clarifications regarding inmemmory replication
Hai all!
Here is my problem. I am trying to replicate session Inmemmory method. I habe
two managed servers in a cluster and both starts fine. I have following entry
in weblogic.xml file.
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 6.0//EN"
"http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
<weblogic-web-app>
<session-descriptor>
<session-param>
<param-name>PersistentStoreType</param-name>
<param-value>replicated</param-value>
</session-param>
</session-descriptor>
</weblogic-web-app>
I am using httpClusterServlet and it is working fine by dispatching requets in
round robin fashion to two managed servers.
Now i suspend one server and whenr request is dispatched to that server following
exception is thrown.
weblogic.cluster.replication.NotFoundException: Unable to find -1879714969608920185
at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:90)
at weblogic.cluster.replication.ReplicationManager_WLStub.fetch(ReplicationManager_WLStub.java:114)
at weblogic.cluster.replication.ReplicationManager.getPrimary(ReplicationManager.java:520)
at weblogic.cluster.replication.ReplicationManager.lookup(ReplicationManager.java:356)
at weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInternal(ReplicatedSessionContext.java:218)
at weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestImpl.java:1571)
at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1412)
at weblogic.servlet.internal.ServletRequestImpl.getRemoteUser(ServletRequestImpl.java:805)
at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:60)
at weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:851)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1636)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Why this is happening? Is it because weblogic is trying to replicate session before
session itself is created? if so how can we handle(any other alternate) this sort
of situation?
Also pls explain me , if this is the case how session replication is helpful?
Is it useful only after once request is processed by primary server?
Any help is appreciable.
TIA
Rgds
Manohar
Hai Lynch!
Thanks for ur response. I am using only one session varible and i am storing it
in the session. In my application i have only two JSP Pages. In JSP1 i am keeping
one String to the session using session.setAttribute method. In JSP2 i am trying
to retrieve that. Here are my JSP pages.
<%
session.setAttribute("TEST",new String("Cool"));
%>
<HTML>
<HEAD>
<TITLE>Login Page</TITLE>
</HEAD>
<BODY>
<form action="JSP2.jsp" >
<b>Please Enter your Name and Password to enter Cool World </b>
<br>
FirstName: <Input type="text" name="FirstName" >
<br>
Password :<Input type="text" name="Password" >
<br>
<Input type="submit" value="Login">
</form>
</BODY>
</HTML>
JSP2
<%
System.out.println("\nExecuting request for displaying Home page....");
%>
<HTML>
<HEAD>
<TITLE>Cool....</TITLE>
</HEAD>
<BODY>
<b><Marquee>Welcome to <%=session.getAttribute("TEST")%> World ! Mr. <%=request.getParameter("FirstName")%></Marquee></b>
</BODY>
</HTML>
is there any wrong in the above code?
also you mentioned about readObject and writeObject methods. What and why and
where these methods are required?
TIA
Rgds
Manohar
"Lynch" <[email protected]> wrote:
>Manu,
>
>Are you sure that ALL of your session variables are correctly serialized?
>Have you implemented readObject() and writeObject for them? Do they
>implement java.io.Serializable?
>
>Regards,
>Lynch
>
>"Manu Kar" <[email protected]> ¼¶¼g©ó¶l¥ó
>news:[email protected]...
>>
>> weblogic.cluster.replication.NotFoundException: Unable to
>find -1879714969608920185
>> at
>weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRe
>quest.java:90)
>> at
>weblogic.cluster.replication.ReplicationManager_WLStub.fetch(ReplicationMana
>ger_WLStub.java:114)
>> at
>weblogic.cluster.replication.ReplicationManager.getPrimary(ReplicationManage
>r.java:520)
>> at
>weblogic.cluster.replication.ReplicationManager.lookup(ReplicationManager.ja
>va:356)
>> at
>weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInterna
>l(ReplicatedSessionContext.java:218)
>> at
>weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestI
>mpl.java:1571)
>> at
>weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.j
>ava:1412)
>> at
>weblogic.servlet.internal.ServletRequestImpl.getRemoteUser(ServletRequestImp
>l.java:805)
>> at weblogic.servlet.logging.CLFLogger.log(CLFLogger.java:60)
>> at
>weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:293)
>> at weblogic.servlet.internal.HttpServer.log(HttpServer.java:670)
>> at
>weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:
>851)
>> at
>weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
>:1636)
>> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
>
>
Maybe you are looking for
-
Users unable to create or delete folders in migrated public folders using Outlook
We have an Exchange 2013 CU3 environment migrated from Exchange 2007. The public folder migration was completed over the weekend. The environment has several public folder mailboxes. Post migration users are unable to create/delete new sub folders,
-
Remote Management and VNC issues
We do PC support for another department. We are in the process of deploying the ZEN agent. However, the department we support uses VNC to do application support to their users. Once we have installed the ZEN agent, they are no longer able to use VNC.
-
I am creating a Composite Application, which consumes a Enterprise Serivce from the Service Registry. I have created the destination and also done the mapping. But when I test the service in WSNavigator I get the following error Caused by: com.sap.en
-
DATASOURCES TO A BUSINESS CONTENT CUBE
Hi, i have to take the following datasources into a CUBE: 1. 2LIS_03_BF 2. 0CO_PC_ACT_05 3. 0CO_OM_CCA_09 4. 0FI_GL_4 5. 2LIS_02_ITM I was wondering which Standard Cube in BI would be most suitable for this development? Thanks
-
I am trying to add some thing to my list , its getting added, when I try to add the second item first item is getting overridden, its a reference issue, even I create a new Instance and try to add, but still same issue, can some one please help me he