MMR - Initialize consumers twice?
Hi,
In MMR you create replication agreements from master 1 to master 2, dedicated consumer 1 & dedicated consumer 2.
You then create replication agreements from master2 to master1, cosnuemr 1 and consumer 2.
During this second set of replication agreeement creation from master 2, the wizard asks if you want to initialize the consumer.
Is it necessary to do this again given that you've already done in it? It would appear to me that you don't have to, though i thought it would be a good idea to get defintiive answer on this..
Thanks
You do not have to initialize again.
Similar Messages
-
Initialize event happens twice when using setDynamic
Hi.
I'm using WD Java, EP 7 SP 14 and Designer 8.
I have a form with a table, and in the initialize event I add a row to the table using the addInstance() method.
I also set the document to be dynamic using the setDynamic method of the class IWDPDFDocumentInteractiveFormContext, in the method wdDoModifyView.
Then, when I run the form, there are 2 rows added to the table.
But when I don't use the setDynamic method, only one row is added (as it should be).
Is there a chance that using the setDynamic method calls the Initialize event twice?
I'll be thankful if anyone can try this, so I would know if that's a general problem, or if it happens only to me.
Best regards,
Udi.Hi Udi,
I donu2019t think the setDynamic() method would trigger the initialize event (I could be wrong though). The case could be that your Initialize code is only getting triggered when you use the setDynamic() method, and the One table row is always there by default!
Try putting some code in your initialize method for debugging:
xfa.host.messageBox("initializing form...");
See how many times this message pops up!
Just a suggestionu2026
Hope this helps,
Harman -
Non-cumulative initialization is not possible with historical data
Hi all,
While loading inventory cube.. 0IC_C03 .. after loading 2LIS_03_BX request get sucessful. while compress that request No Marker update. i getting following error msg.
<b>Non-cumulative initialization is not possible with historical data</b>
Regards
siva.You sure you didn't use BF instead of BX? This messge indicates that you have historical data in your cube whereas BX only loads a fixed state at a specific point in time... Or maybe, did you initialize BX twice in R/3 without deleting the previous init, I don't know if that could cause that error but it's another possibility.
-
Problem with lazy initialization in inhereted class
Hi. I have a strange problem. I have 2 classes CMRCommandInputPanel (view ) , class CommandInputFieldsModel (view's model) and 2 classes that inherets from them: CMRDerivitiveCommandInputPanel and DerivativeCommandInputFieldsModel.
the Views looks like:
public class FormPanel extends JPanel {
protected AbstractFormDataModel mFormModel = null;
public FormPanel(AbstractFormDataModel formModel) {
super();
initialize(formModel);
private void initialize(AbstractFormDataModel formModel) {
mFormModel = formModel;
public class CMRCommandInputPanel extends FormPanel {
public CMRCommandInputPanel(AbstractFormDataModel formModel) {
super(formModel);
initialize();
private void initialize() {
initLocalModels();
JPanel mainPanel = new JPanel () ;
mainPanel.setLayout(new BorderLayout());
mainPanel.add(getUpperButtonsPanel(), BorderLayout.NORTH);
mainPanel.add(getFormPanel(), BorderLayout.CENTER);
mainPanel.add(getDownButtonsPanelDefault(), BorderLayout.SOUTH);
mainPanel.addMouseListener(new MouseAdapter(){
public void mouseClicked(MouseEvent e) {
// set focus on the formPanel in order to set the entered value on mouse click.
getFormPanel().requestFocus();
this.setLayout(new BorderLayout());
this.add(mainPanel);
this.setBorder(UIConstants.DEFAULT_PANEL_BORDER);
protected CMRPanel getFormPanel() {
if (mFormPanel == null) {
adding editable TextFields to the panel.
return mFormPanel;
protected void initLocalModels(){
new CommandInputFieldsModel(mFormModel,this);
public class CMRDerivitiveCommandInputPanel extends CMRCommandInputPanel {
private JTitledTextField mRealizationPriceField = null;
public CMRDerivitiveCommandInputPanel(AbstractFormDataModel formModel) {
super(formModel);
// override of super method
protected CMRPanel getFormPanel() {
if (mFormPanel == null) {
adding super classes editable TextFields to the panel and some new ones
return mFormPanel;
/* (non-Javadoc)
* @see cmr.client.ui.CMRCommandInputPanel#initLocalModels()
protected void initLocalModels() {
new DerivativeCommandInputFieldsModel(mFormModel,this);
public JTextField getRealizationDateField() {
if (mRealizationDateField == null) {
mRealizationDateField = new JTextField();
return mRealizationDateField;
public class CommandInputFieldsModel extends AbstractFieldsDataModel {
protected CMRCommonDataModel mFormModel = null;
protected CMRCommandInputPanel mView = null;
public CommandInputFieldsModel(CMRCommonDataModel data,CMRCommandInputPanel aView){
mFormModel = data;
mView = aView;
mFormModel.registryModel(this,ExBaseDataController.META_KEY);
mFormModel.registryModel(this,CompanyMessagesController.META_KEY);
mFormModel.registryModel(this,DefaultFinancialValueController.META_KEY);
mFormModel.registryModel(this,QuantityValueController.META_KEY);
mFormModel.registryModel(this,RateForPercentController.META_KEY);
/* (non-Javadoc)
* @see cmr.client.ui.data.CMRUpdatable#updateData(java.lang.Object)
public void updateData(Object aNewData) {
updating relevant fields by using getters of View
public class DerivativeCommandInputFieldsModel extends CommandInputFieldsModel {
public DerivativeCommandInputFieldsModel(CMRCommonDataModel data,CMRDerivitiveCommandInputPanel aView){
super(data,aView);
/* (non-Javadoc)
* @see cmr.client.ui.data.CMRUpdatable#updateData(java.lang.Object)
public void updateData(Object aNewData) {
if (aNewData instanceof RealizationData){
RealizationData realizationData = (RealizationData)aNewData;
CMRDerivitiveCommandInputPanel theView = (CMRDerivitiveCommandInputPanel)mView;
theView.getRealizationDateField().setValue(realizationData.getRealizationDate());
theView.getRealizationPriceField().setValue(realizationData.getRealizationPrice());
}else
super.updateData(aNewData);
}The problem is , that when the field's getter of inhereted view's class is called from model for updating field,the fields are beeing initialized for second time. they simply somehow are equal to NULL again. I've checked reference to the view and it's the same,but only new fields still equals to NULL from model.
is someone can help me with that?The only thing that springs to mind is that you're
exporting the newly created fields model object in
the superclass constructor (at least I assume that's
what the registry calls do).
That can cause problems, especially in a
multi-threaded environment (though it's often
tempting). Again there's a risk that the
partly-initialized object may be used.
Actually this is a bit of a weakness of Java as
opposed to C++. In C++ a new object has the virtual
method table set to the superclass VMT during
superclass initialisation. In Java it acquires its
ultimate class indentity immediately.
You'd be safer to extract all that kind of stuff from
the superclass constructor and have some kind of
init() method called after the object was
constructed.
In fact whenever you see a new whose result
you don't do anything with, then you should take it
as a warning.thank you for your replies. ;) I've managed to solve this matter. Simply fully redefined my panel with fields in child-class and added to it's constructor local initialization() method as well, which creates UI of child-class. Even that I initialize UI twice, but all fields are initialized with "lazy initialization" , so there is only once NEW will be called. but there is something weird going in constructors with ovverwritten methods. -
I just received my Mac book retina yesterday and the battery doesn't last more than 3 hours. I read through the other forums, but the dock doesn't seem to be draining my battery because it operates at 1% only. I keep the resolution to scaled with more space (the second to last in scaled configuration) and am using just safari with my wifi on. I turned of the bluetooth. Even with the resolution set to Best for Retina Display, the battery didn't last longer than 3 hours.Any suggestions?
I agree with Shah_Min, you SHOULD return it but try something else first as this drastically helped me...
Power down
Power on and immediately press Option-Command-P-R until you hear the initialization sound twice.
Release all 4 buttons
I do not claim to know what this does or why it helps, but I live 60 miles from the nearest Apple store so it was worth a try for me...
I immediately started getting 7 and even 8 hours of battery life without touching my settings. -
MMR Replica Busy Error on consumers
hi,
MMR environment solaris 2.9 ids 5.1sp2
servers -
aq001pd (M) aq002pd (M)
aq003pd (S) aq004pd (S)
frequently see the following error for both consumers from the second master aq002pd..
cn=replicate-isp-to-aq004pd-slave-ro, cn=replica, cn="o=isp", cn=mapping tree, cn=config
cn=replicate-isp-to-aq004pd-slave-ro
nsds5replicaLastUpdateStart=20030522001505Z
nsds5replicaLastUpdateEnd=20030522001504Z
nsds5replicaLastUpdateStatus=1 Replication error acquiring replica: replica busy
now i understand that this can sometimes happen if both masters attempt a syncon consumer, but it is always in this state only occasionally not being in it... replication is set to always keep replicas in synch..
any ideas?
also are there any hotfixes for ids51.sp2 and where can i ge t them (apart from sun tech support)...
thanksIs it a bug?
Iris -
Extending Reader Rights causing Initialize event to fire twice?
I have a few drop-down boxes populated by scripts on their respective Initialization events. Everything worked great through development--except, when I demonstrated the form for a group, I noticed the drop-down boxes were populating twice. I wasn't using a clearItems()--shouldn't have needed it, right?
So, this was something I couldn't reproduce in Desiger. Once the the Extended Rights had been removed, the form performed as expected in Acrobat, and Reader, too. Put the Extended Rights back on, and the drop-down boxes are double populating again. Take the Extended Rights off, no misbehaving, everythings fine. Extended Rights on, bad doggie, no biscuit!!
Now, obviously I can get past this by using clearItems(), or moving the scripts to preOpen. However, I'd like to know what the heck is causing this? Is this a bug? a known issue? or is it something caused by something somewhere else in the form? I have always assumed forms would behave the same with or without Extended Rights. But it looks very much like the Initialize event is firing twice upon opening with Extended Rights.
Any insights out there?
Thanks,
StephenHi Stephen,
I have come across this before and thought I had a "proper" answer, but I can't find it. I think that when reader enabling rights are applied by Acrobat the the form does a check as part of the opening process. There appears to be a bunch of events that fire twice when the form is reader enabled (in Acrobat - I can't test if the form is enabled in LC RE ES2).
Here is an example showing how, when and in what order, events fire. The form is at the end of the post (at http://cookbooks.adobe.com/post_How_often_events_fire_and_their_sequence-16547.html). There are 13 objects in the form, whose events are tracked.
When the form is not enabled the start up looks like this (certain events firing once as expected):
When I apply the reader enabling rights through Acrobat, the firing of events doubles for:
initialise;
form:ready;
layout:ready
IndexChange;
docReady.
One indicator of what is potentially happening is that in the RE version the preSave event fires (but not postSave event).
Not the full answer - just an indication.
Good luck,
Niall -
INITIALIZATION block triggered twice/again after back from result screen
Hi,
The event block INITIALIZATION is triggered more than once as title.
Please advise if it is standard runtime behaviour.
It is fired 1st time before showing the selection screen, which is normal.
Then enter inputs, execute the report,
-test 1, with just write statements
test2, goes to another screen by CALL SCREEN 9000
Hit green back,
it goes back to the selection screen, but the INITIALIZATION is triggered again here.
Input fields still the same when executing, means the selection screen remains in the memory.
tested the LOAD-OF-PROGRAM, triggered the same as INITIALIZATION.
to my expected, they should be fired once in above situation.
Thanks
maxHi Max
This event keyword defines an event block whose event is triggered by the ABAP runtime environment during the flow of an executable program, directly after LOAD-OF-PROGRAM and before the selection screen processing of any existing standard selection screen. This gives you the one-time opportunity to initialize the input fields of the selection screen, including those defined in the logical database linked with the program.
When an executable program defines a standard selection screen, it is called again by the ABAP runtime environment after execution, which triggers the INITIALIZATION event again. In this case, initializing parameters or selection criteria of the selection screen has no effect, because they are automatically supplied with the preceding user inputs from the selection screen during the selection screen event AT SELECTION-SCREEN OUTPUT. To explicitly initialize the selection screen for each call, you must use the event AT SELECTION-SCREEN OUTPUT.
Thanks
Rajesh Velaga -
SLiM only starts twice then exits to tty1
Hi... i've installed arch yesterday following this guide https://wiki.archlinux.org/index.php/Beginners'_Guide i
After that i started to set up a new desktop using openbox and slim.
Basically everything works fine... except that after exiting openbox 2 times slim won't start and i end at tty1.
systemctl status slim... after boot
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: active (running) since Di 2013-03-19 19:05:10 CET; 1min 10s ago
Main PID: 241 (slim)
CGroup: name=systemd:/system/slim.service
└─264 /usr/bin/X -nolisten tcp vt07 -auth /var/run/slim.auth
‣ 241 /usr/bin/slim -nodaemon
... after 1st "openbox logout"
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: active (running) since Di 2013-03-19 19:05:10 CET; 1min 50s ago
Main PID: 241 (slim)
CGroup: name=systemd:/system/slim.service
...after 2nt logout on tty1
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: failed (Result: exit-code) since Di 2013-03-19 19:07:04 CET; 23s ago
Process: 241 ExecStart=/usr/bin/slim -nodaemon (code=exited, status=1/FAILURE)
/var/log/slim.log
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
systemctl list-units
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys...t_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
sys-devi...-sda-sda1.device loaded active plugged IC25N080ATMR04-0
sys-devi...-sda-sda2.device loaded active plugged IC25N080ATMR04-0
sys-devi...-sda-sda3.device loaded active plugged IC25N080ATMR04-0
sys-devi...-sda-sda4.device loaded active plugged IC25N080ATMR04-0
sys-devi...block-sda.device loaded active plugged IC25N080ATMR04-0
sys-devi...block-sr0.device loaded active plugged _NEC_DVD+_-RW_ND-6500A
sys-devi...und-card0.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.7/sound/card0
sys-devi...et-enp0s4.device loaded active plugged /sys/devices/pci0000:00/0000:00:04.0/net/enp0s4
sys-devi...et-wlp2s0.device loaded active plugged /sys/devices/pci0000:00/0000:00:09.0/0000:02:00.0/net/wlp2s0
sys-devi...tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devi...tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devi...tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devi...tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-subs...es-enp0s4.device loaded active plugged /sys/subsystem/net/devices/enp0s4
sys-subs...es-wlp2s0.device loaded active plugged /sys/subsystem/net/devices/wlp2s0
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
proc-sys...infmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
systemd-...ord-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-...ssword-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
dbus.service loaded active running D-Bus System Message Bus
[email protected] loaded active running Getty on tty1
net-auto-wireless.service loaded active running Provides automatic netcfg wireless connection
ntpd.service loaded active running Network Time Service
slim.service loaded failed failed SLiM Simple Login Manager
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...es-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-...-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...sessions.service loaded active exited Permit User Sessions
systemd-...le-setup.service loaded active exited Setup Virtual Console
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
lvmetad.socket loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...d-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
dev-sda2.swap loaded active active /dev/sda2
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
systemd-...iles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
/etc/slim.conf
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
# sessions xfce4,icewm-session,wmaker,blackbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
# default_user simone
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
# focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme default
# Lock file
lockfile /var/run/lock/slim.lock
# Log file
logfile /var/log/slim.log
When i run "systemctl start slim" on tty1 slim starts again and after exiting openbox twice i'm back on tty1.
...But when i run "slim" on tty1 slim starts and i can exit openbox as often as i want.
Any ideas ?
Edit:
Running /usr/bin/slim from tty1 gives me this logfile.
/var/log/slim.log
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
Somehow the second "slim: waiting for X server to shut down" does not happen when running "systemctl start slim"
Last edited by Synth (2013-03-19 19:39:10)Ok, I was able to workaround parts of the bug:
I changed slim.conf and and set daemon = true (so slim runs as a daemon). Furthermore changed the slim.service file for systemd:
[Service]
Type = forking
PIDFile = /var/lock/slim.lock
ExecStart=/usr/bin/slim
Now I can log in and out as often as I want. Seems to work. However, nm-applet only shows up in odd numbers of logins:
1st login --> nm-applet is shown
2nd login --> nm-applet is not shown (but running --> htop)
3rd login --> nm-applet is shown
4th login --> nm-applet is not shown (but running --> htop)
...and so on...
I search the web, it seems to be a problem with dbus and the order how the services get started. Don't know if that is true...any ideas from anyone? -
K9N2 SLI Platinum video won't initialize with monitor connected
Hi,
I've gone through the RMA process with my vendor and I am on my third motherboard right now and I am still having an issue (so, basically, nightmare scenario here ). The first and second motherboard failures seemed slightly different but the failure seems to be the same for the second and third and it is making me think that another factor may be at play other than the motherboard. All of the failures have been with the integrated video (which is all I plan to use at the moment --I don't even own a PCI-E video card right now nor have any plans to get one in the near future).
In the first motherboard, everything seemed to work (as far as I could tell --4 green diagnostic LED's and all that) but no video signal was produced. Testing with an antediluvian Virge DX based PCI card (some of you kiddies may be too young to remember such things) did show normal booting with that video card (as far as I allowed it to go) and I suspect, from the pattern of hard drive activity, that with the integrated video the boot process was also normal (I just couldn't see it because of no video signal being produced). But that is past and has been RMA'd.
The replacement motherboard and the motherboard replacing the replacement motherboard, on the other hand, have seemed unable to initialize video whenever my monitor is connected but if the monitor is not connected, they work fine (but then video defaults to a 1028x768 mode and I cannot run my monitor at native resolution). Curiously enough, my second motherboard worked correctly twice before exhibiting the described behavior making me think, at the time, that I just got really unlucky and simply had had it fail shortly after testing it those two initial times.
Not being able to initialize video while the monitor is plugged in means that if I try to start it while the monitor is attached, the motherboard will not even POST and that the diagnostic LED's will be stuck at the video initialization stage (three reds, and one green at group 4).
Furthermore, if I start it with no monitor attached and plug the monitor in after I get 4 green LED's, it will start booting the OS (Windows XP) but the screen will go black when the Windows XP logo should be appearing. I can also leave it unplugged until it should be at the Windows XP logo stage (or plug it after the 4 green LED's and unplug it again before the video mode switch happens) and when I plug it back in I can see the Windows XP logo. However, as soon as it switches to the Windows XP desktop, I get a black screen.
And again, if I leave the monitor unplugged until the Desktop should be showing up and I plug it in at that point (or go through the process of plugging and unplugging the monitor while avoiding having video mode switches happen with the monitor plugged in) I do get a Windows desktop at the 1024x768 resolution. Once in the desktop, as far as I can tell, I can do anything there that I normally would be able to do (so I mostly have a working system, as far as I can tell). I have even installed drivers, verified that the sound works, etc.. I will still do a repair install at some point because I am not doing this the "right way" and I probably needed to do it anyway (though I think it's using the right kernel and everything --showing 3 CPU's, etc.) but I am not looking for answers with that as my issue shows up before the system even goes through POST. Again, note that I cannot even take advantage of my monitor's native resolution with the current kludge.
Curiously enough, if I try to switch to my native resolution of 1920x1200 it will do it but only by switching me to a virtual 1920x1200 desktop on a 1024x768 display (so there's no actual video mode switch involved and the desktop becomes bigger than what my monitor can show). It's as if part of the subsystem is reading the monitor and "knows" that it supports 1920x1200 but another part of the subsystem is just assuming some sort of 1024x768 default common lowest denominator for digital displays. I attribute this to the fact that video has been initialized with no monitor connected.
I originally had a 350W Enermax power supply (which worked as long as the monitor was not plugged in) supplying 32A on the +3.3V rail, 32A on the +5V rail and 26A on the +12V rail but I replaced it with the power supply shown on my profile (which was probably totally unnecessary as I'm only using the integrated video --but hey, I now have a blue light coming from my power supply so that makes it all worth it ). I suppose both power supplies could work badly with this motherboard model but it seems exceedingly unlikely that that would be the case (specially since everything works as long as there is no monitor plugged in during video mode switches).
I currently am running it, on cardboard, with a single stick of RAM (on the slot next to the CPU) and nothing else connected to it except the power supply (including JPW3 & JPW4), the CPU, a hard disk with a working Windows XP install, a mouse on the mouse port and a keyboard on the keyboard port (specification as on my profile minus one RAM module). I did play with RAM timings at the request of tech support but I can't imagine how it could be a RAM problem when everything works as long as a monitor isn't plugged in during video mode switches.
I did update the BIOS from 3.4 to 3.5. 3.5 did not seem to be available at the time of my previous motherboard and I knew it was a real long shot for this to be a BIOS issue that would be fixed with the 3.5 update (specially since the update mentions only CPU support stuff and nothing about video) but I am desperate. Yes, I have done the whole resetting the CMOS thing.
I am even considering the possibility that there may be some weird incompatibility between the video on this board and my monitor (under the assumption that, quoting Holmes, once you have eliminated the impossible, whatever remains, however improbable, must be the truth). I don't even know how that would work. Note that my monitor worked in my previous system with the digital input (my previous system is no longer available to me for testing --but I did get a chance to test it, after having problems with my first K9N2 SLI Platinum motherboard which I returned, and it worked). Note that my monitor works with the system in question (I simply cannot have it connected while there's a video mode switch under way). Note that the lack of a picture seems to be related to the motherboard as evidenced by it being stuck at the video initialization stage if I attempt to start it with the monitor connected.
Any wild ideas? I do not want to return this motherboard a third time and I specially do not want to return this motherboard a third time if it's something that can be easily fixed.Quote from: Svet on 25-May-09, 02:21:06
Have you tried with just memory stick in 1st DIMM near to CPU socket and mainboard out of PC case?
Yes, I currently am running it, on cardboard outside the case, with a single DIMM (on the slot next to the CPU) and nothing else connected to it except for the power supply (including JPW3 & JPW4), the CPU, a hard disk with a working Windows XP install, a mouse on the mouse port and a keyboard on the keyboard port (specification as on my profile minus one RAM module). And it works,... as long as the monitor is not ever connected while video mode switches occur (including power on). And this is exactly how the previous motherboard which I returned also behaved.
Addendum: As an additional note, I have tried the other DIMM on the same socket by the CPU with the same results (everything works as long as there's no monitor connected during a video mode switch). I also managed to make a bootable Memtest86+ (is that what people use to test memory these days?) USB stick and I am running it right now. It has shown no errors right so far but it has only been running a few minutes. I do not really expect any memory errors to be at fault since they would have to be magical memory errors which only cause problems when there is a monitor connected while a video mode switch is happening but I'm desperate to try anything to find out what the issue is. -
Single queue: concurrent processing of messages in multiple consumers
Hi,
I am new to jms . The goal is to process messages concurrently from a queue in an asynchronous listener's onMessage method by attaching a listener instance to multiple consumer's with each consumer using its own session and running in a separate thread, that way the messages are passed on to the different consumers for concurrent processing.
1) Is it ossible to process messsages concurrently from a single queue by creating multiple consumers ?
2) I came up with the below code, but would like to get your thoughts on whether the below code looks correct for what I want to accomplish.
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Properties;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageListener;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.walmart.platform.jms.client.JMSConnectionFactory;
public class QueueConsumer implements Runnable, MessageListener {
public static void main(String[] args) {
// Create an instance of the client
QueueConsumer consumer1 = new QueueConsumer();
QueueConsumer consumer2 = new QueueConsumer();
try {
consumer1.init("oms","US.Q.CHECKOUT-ORDER.1.0.JSON"); //US.Q.CHECKOUT-ORDER.1.0.JSON is the queue name
consumer2.init("oms","US.Q.CHECKOUT-ORDER.1.0.JSON");
}catch( JMSException ex ){
ex.printStackTrace();
System.exit(-1);
// Start the client running
Thread newThread1 = new Thread(consumer1);
Thread newThread2 = new Thread(consumer1);
newThread1.start();newThread2.start();
InputStreamReader aISR = new InputStreamReader(System.in);
char aAnswer = ' ';
do {
try {
aAnswer = (char) aISR.read();
catch (IOException e)
// TODO Auto-generated catch block
e.printStackTrace();
} while ((aAnswer != 'q') && (aAnswer != 'Q'));
newThread1.interrupt();
newThread2.interrupt();
try {
newThread1.join();newThread2.join();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
System.out
.println("--------------------exiting main thread------------------------"+Thread.currentThread().getId());
System.exit(0);
// values will be read from a resource properties file
private static String connectionFactoryName = null;
private static String queueName = null;
// thread safe object ref
private static ConnectionFactory qcf = null;
private static Connection queueConnection = null;
// not thread safe
private Session ses = null;
private Destination queue = null;
private MessageConsumer msgConsumer = null;
public static final Logger logger = LoggerFactory
.getLogger(QueueConsumer.class);
public QueueConsumer() {
super();
public void onMessage(Message msg) {
if (msg instanceof TextMessage) {
try {
System.out
.println("listener is "+Thread.currentThread().getId()+"--------------------Message recieved from queue is ------------------------"
+ ((TextMessage) msg).getJMSMessageID());
} catch (JMSException ex) {
ex.printStackTrace();
public void run() {
// Start listening
try {
queueConnection.start();
} catch (JMSException e) {
e.printStackTrace();
System.exit(-1);
while (!Thread.currentThread().isInterrupted()) {
synchronized (this) {
try {
wait();
} catch (InterruptedException ex) {
break;
* This method is called to set up and initialize the necessary Session,
* destination and message listener
* @param queue2
* @param factoryName
public void init(String factoryName, String queue2) throws JMSException {
try {
qcf = new JMSConnectionFactory(factoryName);
/* create the connection */
queueConnection = qcf.createConnection();
* Create a session that is non-transacted and is client
* acknowledged
ses = queueConnection.createSession(false,
Session.CLIENT_ACKNOWLEDGE);
queue = ses.createQueue(queue2);
logger.info("Subscribing to destination: " + queue2);
msgConsumer = ses.createConsumer(queue);
/* set the listener */
msgConsumer.setMessageListener(this);
System.out.println("Listening on queue " +queue2);
} catch (Exception e) {
e.printStackTrace();
System.exit(-1);
private static void setConnectionFactoryName(String name) {
connectionFactoryName = name;
private static String getQueueName() {
return queueName;
private static void setQueueName(String name) {
queueName = name;Hi Mark,
if the messages are sent with quality of service EO (=exactly once) you can add queues.
From documentation:
Netweaver XI -> Runtime -> Processing xml messages -> Queues for asynchronous message processing
...For incoming messages you set the parameter EO_INBOUND_PARALLEL from the Tuning category.
If more than one message is sent to the same receiver, use the configuration parameter EO_OUTBOUND_PARALLEL of the Tuning category to process messages simultaneously in different queues.
Transaction: SXMB_ADM
Regards
Holger -
Can't get Photoshop Elements 11 to install.
... Adobe Installer message: Installer failed to initialize. This could be due to a missing file. Please download Adobe Support Advisor to detect the problem.
... Adobe Support Advisor message "Inspection could not identify any issues. Please contact Adobe Support for further assistance. http://www.adobe.com/support."
... .... So far I have downloaded twice, to two different folders (Desktop and my default download folder). Neither option has worked. Please help! I'd like to download Premiere Elements 11, but with this kind of installation problem on PSE11, it seems a second program may be as much of a problem to try to install.As Mylenium has stated all we have is a very general error message at this point so it is impossible to advise you until we have additional details. Please review your installation logs by following the steps listed in Troubleshoot install using logs | Elements - http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-install-using-logs-elements.html.
-
when I click to open the internet through Mozilla Firefox, I get this message; "The application failed to initialize properly (0xc0000006). Click on OK to terminate the application."
When I do this, I have to click on it twice before the box goes away. I still can't access the internet through Mozilla.Well, if they are private range IPs it does not make any difference. Everybody use them.
Anyway hide any personal information. -
Use same table twice in subform
Hi,
i´ve created a form like this
subformA -> positioned
--subformB -> flowed
table
header
body row
Everything is working fine and a I´m able to see the expected data.
But when my table includes more than 10 rows it destroys the layout of my page.
My idea:
Create a second subform with same table data and place it right beside it. And using FormCalc to show data from row 11 to end.
But only the first subform is filled. There is no data in second subform (FormCalc code is not implemented).
It seems, that I can´t use same tabele twice.
Any ideas?
Regards
AndyHi Andy,
Have both the subforms as flowed and page breaked, it should work.
As per as having 2 tables techically i believe its not possible.reason behind.
When you do data binding for 1st table and say multiple rows, at runtime data is iterated and displayed in the 1st table.
when it reaches to the 2nd table the pointer on the table data source is already eof i.e., last record so it will not display it again.
to acheive this on form load of the 2nd table you need to initialize and iterate through the data source again.
I have never tested this scenario but read it in some adobe fourms.
Check it and let me know, if its still not working i can design a sample form with this scenario for you.
Cheers,
Sai -
JDev 11 hangs - Waiting for Designer to initialize ...
This was working yesterday. The only change is that I updated my system today. I did get new open-jdk libraries. This "shouldn't" be an issue since I put my JDK in .bash_profile as the first entry in the path.
java -version returns:
[klee@laptop ~]$ java -version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)
[klee@laptop ~]$
I am running (attempting to run) the Linux version of JDeveloper 11 (11.1.1.0.1). My laptop has 4 GB of memory.
When starting, Jdeveloper has the intial startup, once the screen goes to the IDE, I see the Waiting for Designer to Initialize. The load from java goes from roughly 161% down to 3%, then nothing changes.
Any suggestions besides reload JDeveloeper (I have already done that twice in the last month. That solution is getting old - reminds me of running Windows...
Thanks,
Ken
As a side note, how do you enclose code so it has the nice indentation? the pre tags only seem to work for the first few lines, then the font changes from monospace back to the default. I tried code tags, which just printed code and /code (with less than and greater than brackets) at the beginning and end - didn't do much...Hi Ken,
klee wrote:
As a side note, how do you enclose code so it has the nice indentation? the pre tags only seem to work for the first few lines, then the font changes from monospace back to the default. I tried code tags, which just printed code and /code (with less than and greater than brackets) at the beginning and end - didn't do much...You can enclose your codes in between two tags.
Regards,
Chan Kelwin
Maybe you are looking for
-
7.0.6 Phone running Hot, No network.
Hi Peeps, I just upgraded my Iphone 5 to the new 7.0.6 Last Night. Since the upgrade the phone runs very hot, and is always searching for a network. - I have tried 1 Taking out the Sim Card 2 Doing a network reset 3 Did a restore from backup. still t
-
Finally i decides to send the problem, after having hard time 1 week, sure that you can help me now i tried my best coming through all the prerequisites on both the servers SQL server and SCOM server: save my days plz thank u Alex [15:49:46]: Always
-
Very slow performance with Seagate Free Agent 320GB
I'm trying to use a Seagate Free Agent 320GB drive with my MacBook Intel 10.4.11). It's extremely slow. When I check information about the machine, it does not show up on the high speed bus (but instead an another USB bus, which I assume is not high
-
Converting CPP code into JAVA Code
i have made a cpp file that is running fine... is ther a tool which can convert that cpp file into java file easily?
-
Is it posible to install SN Developer Studio as plugin on Eclipse 3.0/3.1? Does anybode know when will new version (based on Eclipse 3) available ?