Satellite 2800-200 - Applications starting by themselves

I have done a clean install on my Satellite 2800-200 but I've got a problem with my applications starting by themselves.
The start menu pops up, caps lock turns on, the calculator starts, email prog starts, windows help box opens and others, no idea what could be causing this but would appreciate any help.
regards Neil

Hi
A friend of mine has had an crazy jumper problem. The cursor jumped and opened similar applications.
This problem was caused by keyboard fault. The technician has replaced the keyboard and since this procedure everything works
PS: You could disable the keyboard in the device manager but in my opinion its only last resort

Similar Messages

  • Need info about HDD support for Satellite 2800

    Hi!
    What max HDD can I use in Satellite 2800-200
    Thanks .

    Hi there,
    the biggest model of the 2800 series was delivered with a 30GB HDD. But I think maybe you can try a 40 or 60GB HDD.
    The bad thing is that I cannot promise you, since the machine is a pentium 3 platform and I don´t really know how big they drives can be..
    The most secure way is to buy a external USB-HDD and just put the data on it, but thats just my opinion.. ;)
    Greets

  • Drawing and some layout help for a simple control: thin lines and application start

    I am trying to create a new, simple control. The control should act as a grouping marker much like that found in the Mathematica notebook interface. It is designed to sit to the right of a node and draw a simple bracket. The look of the bracket changes depending on whether the node is logically marked open or closed.
    After looking at some blogs and searching, I tried setting the snapToPixels to true in the container holding the marker control as well as the strokewidth but I am still finding that the bracket line is too thick. I am trying to draw a thin line. Also, I am unable to get the layout to work when the test application is first opened. One of the outer brackets is cut-off. I hardcoded some numbers into the skin just to get something to work.
    Is there a better way to implement this control?
    How can I get the fine line drawn as well as the layout correct at application start?
    package org.notebook;
    import javafx.beans.property.BooleanProperty;
    import javafx.beans.property.IntegerProperty;
    import javafx.beans.property.SimpleBooleanProperty;
    import javafx.beans.property.SimpleIntegerProperty;
    import javafx.scene.control.Control;
    * Provide a simple and thin bracket that changes
    * it appearance based on whether its closed or open.
    public class GroupingMarker extends Control {
      private final static String DEFAULT_STYLE_CLASS = "grouping-marker";
      private BooleanProperty open;
      private IntegerProperty depth;
      public BooleanProperty openProperty() { return open; }
      public IntegerProperty depthProperty() { return depth; }
      public GroupingMarker(boolean open) {
      this();
      setOpen(open);
      public GroupingMarker() {
      open = new SimpleBooleanProperty(true);
      depth = new SimpleIntegerProperty(0);
      getStyleClass().add(DEFAULT_STYLE_CLASS);
      // TODO: Change to use CSS directly
      setSkin(new GroupingMarkerSkin(this));
      public boolean isOpen() {
      return open.get();
      public void setOpen(boolean flag) {
      open.set(flag);
      public int getDepth() {
      return depth.get();
      public void setDepth(int depth) {
      this.depth.set(depth);
    package org.notebook;
    import javafx.scene.Group;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.FillRule;
    import javafx.scene.shape.LineTo;
    import javafx.scene.shape.MoveTo;
    import javafx.scene.shape.Path;
    import com.sun.javafx.scene.control.skin.SkinBase;
    * The skin draws some simple lines on the right hand side of
    * the control. The lines reflect whether the control is considered
    * open or closed. Since there is no content, there is no
    * content handling code needed.
    public class GroupingMarkerSkin extends SkinBase<GroupingMarker, GroupingMarkerBehavior> {
      GroupingMarker control;
      Color lineColor;
      double shelfLength;
      double thickness;
      private Group lines;
      public GroupingMarkerSkin(GroupingMarker control) {
      super(control, new GroupingMarkerBehavior(control));
      this.control = control;
      lineColor = Color.BLUE;
      shelfLength = 5.0;
      thickness = 1.0;
      init();
      * Attached listeners to the properties in the control.
      protected void init() {
      registerChangeListener(control.openProperty(), "OPEN");
      registerChangeListener(control.depthProperty(), "DEPTH");
      lines = new Group();
      repaint();
      @Override
      protected void handleControlPropertyChanged(String arg0) {
      super.handleControlPropertyChanged(arg0);
        @Override public final GroupingMarker getSkinnable() {
            return control;
        @Override public final void dispose() {
        super.dispose();
            control = null;
        @Override
        protected double computePrefHeight(double arg0) {
        System.out.println("ph: " + arg0);
        return super.computePrefHeight(arg0);
        @Override
        protected double computePrefWidth(double arg0) {
        System.out.println("pw: " + arg0);
        return super.computePrefWidth(40.0);
         * Call this if a property changes that affects the visible
         * control.
        public void repaint() {
        requestLayout();
        @Override
        protected void layoutChildren() {
        if(control.getScene() != null) {
        drawLines();
        getChildren().setAll(lines);
        super.layoutChildren();
        protected void drawLines() {
        lines.getChildren().clear();
        System.out.println("bounds local: " + control.getBoundsInLocal());
        System.out.println("bounds parent: " + control.getBoundsInParent());
        System.out.println("bounds layout: " + control.getLayoutBounds());
        System.out.println("pref wxh: " + control.getPrefWidth() + "x" + control.getPrefHeight());
        double width = Math.max(0, 20.0 - 2 * 2.0);
        double height = control.getPrefHeight() - 4.0;
        height = Math.max(0, control.getBoundsInLocal().getHeight()-4.0);
        System.out.println("w: " + width + ", h: " + height);
        double margin = 4.0;
        final Path VERTICAL = new Path();
        VERTICAL.setFillRule(FillRule.EVEN_ODD);
        VERTICAL.getElements().add(new MoveTo(margin, margin)); // start
        VERTICAL.getElements().add(new LineTo(margin + shelfLength, margin)); // top horz line
        VERTICAL.getElements().add(new LineTo(margin + shelfLength, height - margin)); // vert line
        if(control.isOpen()) {
        VERTICAL.getElements().add(new LineTo(margin, height - margin)); // bottom horz line
        } else {
        VERTICAL.getElements().add(new LineTo(margin, height-margin-4.0));
        //VERTICAL.getElements().add(new ClosePath());
        VERTICAL.setStrokeWidth(thickness);
        VERTICAL.setStroke(lineColor);
        lines.getChildren().addAll(VERTICAL);
        lines.setCache(true);
    package org.notebook;
    import com.sun.javafx.scene.control.behavior.BehaviorBase;
    public class GroupingMarkerBehavior extends BehaviorBase<GroupingMarker> {
      public GroupingMarkerBehavior(final GroupingMarker control) {
      super(control);
    package org.notebook;
    import javafx.application.Application;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.TextArea;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class TestGroupingMarker extends Application {
      public static void main(String args[]) {
      launch(TestGroupingMarker.class, args);
      @Override
      public void start(Stage stage) throws Exception {
      VBox vbox = new VBox();
      BorderPane p = new BorderPane();
      VBox first = new VBox();
      first.getChildren().add(makeEntry("In[1]=", "my label", 200.0, true));
      first.getChildren().add(makeEntry("Out[1]=", "the output!", 200.0, true));
      p.setCenter(first);
      p.setRight(new GroupingMarker(true));
      vbox.getChildren().add(p);
      vbox.getChildren().add(makeEntry("In[2]=", "my label 2", 100.0, false));
      Scene scene = new Scene(vbox,500,700);
      scene.getStylesheets().add(TestGroupingMarker.class.getResource("main.css").toExternalForm());
      stage.setScene(scene);
      stage.setTitle("GroupingMarker test");
      stage.show();
      protected Node makeEntry(String io, String text, double height, boolean open) {
      BorderPane pane2 = new BorderPane();
      pane2.setSnapToPixel(true);
      Label label2 = new Label(io);
      label2.getStyleClass().add("io-label");
      pane2.setLeft(label2);
      TextArea area2 = new TextArea(text);
      area2.getStyleClass().add("io-content");
      area2.setPrefHeight(height);
      pane2.setCenter(area2);
      GroupingMarker marker2 = new GroupingMarker();
      marker2.setOpen(open);
      pane2.setRight(marker2);
      return pane2;

    The test interfaces are already defined for you - the 3rd party session bean remote/local interfaces.
    It is pretty trivial to create implementations of those interfaces to return the test data from your XML files.
    There are a number of ways to handle the switching, if you have used the service locator pattern, then I would personally slot the logic in to the service locator, to either look up the 3rd party bean or return a POJO test implementation of the interface according to configuration.
    Without the service locator, you are forced to do a little more work, you will have to implement your own test session beans to the same interfaces as the 3rd party session beans.
    You can then either deploy them instead of the 3rd party beans or you can deploy both the test and the 3rd party beans under different JNDI names,and use ejb-ref tags and allow you to switch between test and real versions by changing the ejb-link value.
    Hope this helps.
    Bob B.

  • Satellite 2800-400 sound card driver problem with XP-SP2

    I have upgraded my Satellite 2800-400 to XP-SP2 and my sound card driver does aperently not work with SP2. I have downloaded the latest driver that I can find and that is 5.12.1.5245 from 2002, but this driver does not work together with the program Skype. I get a massage that the sound card driver does not suport SP2.
    How can I solve this problem without deleting the SP2 upgrade.
    Message was edited by: felixnorway

    I have tried both drivers and the same problem ocurs.
    After ecessive testing I have found out that everything/skype now works well for 1-2 hours. Then sudenly my compter does something (I do not now what, and I can not se that the computer does anything) and then sudenly Skype starts beeing blocked by SP2. At the same time (same minute) that Skype after 1-2 hours of perfec running sudenly is beeing blocked, my computer somehow have loaded a file named kernel32.dll for the second time. How i found out this is just a coinsidence, no errors indicates this file beeing involved and this is maybe normal. The file is located at C/Windows/system32/kernel32.dll. Do you know what my comuter does after this amount of time and why it loads this file for a second time. When I turn on my comuter the file is loaded and that is logical, but after 1-2 hours what is the logic for the computer to load it again. Is this something I can shutt off?
    My computer runs perfect and smoth for 1-2 hours, then I beliwe the whole system32 is loaded again and this causes some kind of problen and makes the SP 2 kick in.
    Any advice?

  • DVD-RW for Satellite 2800-500: IDE1 error, drive not recognized

    Installation of a DVDRW slim drive NEC ND6500 has caused an "IDE1 error" message on boot and the drive was not recognized.
    Would the Toshiba SD-R6472 DVDRW drive be compatible with my Satellite 2800-500?
    Does anyone know a way to make anyone of them work?
    [Edited by: admin on 22-Jul-05 17:57]

    If you took some effort in reading this:
    http://www.cdrinfo.com/Forum/tm.asp?m=84345&mpage=15??
    you would have known already.
    Well, you always have people who know better, and ofcourse there are always people who know better....
    (euh, never mind, hihi)
    Ok about the IDE error.
    Vasdiak has an ide error-notification.
    I didn't.
    In my case it was not recognized with the ND6500 connected and the 2nd controller dissapeared in bios and OS.
    Nevertheless was there the same solution for what appeared the same problem.
    This (and reading lot's of info on the web) got me thinking.
    In case of NEC equipment(and maybe other brands as well) basically you have to look for a real OEM drives, which are configured as Master/Slave
    Bulk & Retail drives are most of the time deliverd as CLS (even though retailers/dealers say otherwise), and that's no good for Satellite Pro 4600 (and many other toshiba laptops).
    Just to cut to the chase:
    The GNR-version of the NEC-ND6500A will work in a Toshiba Satellite Pro 4600 (2100 & 6100 too, and I think many more will).
    As for the Toshiba SD-R6472 DVDRW:
    My guess is it's the same problem with the same solution:
    1.Buy a Master/Slave configured drive OR
    2.modify it yourself by:
    2a.soldering pin45&47 together (like I did).
    2b.flashing the proper firmware (which is not always available/hard to get), which will result in reversed ATA.
    Problem is that the NEC, Toshiba and many others do NOT sell (real)OEM-parts to the end-users, even though many retailers believe they do.
    But that's merely because of the lack of consensus on how to interpret the meaning of "OEM".
    Fact is that many retailers sell bulk-parts as if there where OEM, but that's wrong !
    In my particular case:
    I bought a NEC-ND6500A which was OEM-specified on the website (dealer), and after informing with the dealer I bought the drive.
    The NEC did not work and I,amongst a lot of other things -->, contacted NEC.
    I mentioned the "OEM-story" and NEC explained.
    They won't deliver GNR-version to the end user, but he also told me the reverse ATA trick and send the proper firmware via email.
    Then again I decided not to use reverse-ATA-firmware because it cannot be undone, and there is less available firmware in reverse-ATA mode (no problem if you want to use official firmware only, by the way).
    To make things more confusing:
    GEN-version is specified as master, also by Nec, but the Toshiba does not cope with it well.
    And so do a lot of other laptops that cannot recognize CSEL-drives (which it really is !!).
    Kinds of errors one can get: IDE-error, unpredictable behaviour, no DMA possible, etc...
    The GNR-version (or GEN-version with soldering trick or reverse ATA-firmware) IS however recognized as master (or slave) drive on the 2nd controller....
    Enfin, if people here are really interested in solving their problem I think I really got them started here.
    My advise: put some effort into it (by reading link above and search the web).
    Good luck to y'all !
    Ger

  • How  can you load local server urls on application start?

    Background:
    I've been searching for close to two days for an answer to this question, it's full of gotchas and I can't quite get it figured out.
    I have an application which contains several web services. These services load up listeners when the services are invoked which makes them available for input. The user has the option of disabling automatic load of these services and invoking them manually by typing in the local url and starting the app. The can allow the autoload which uses a the or allowing the auto load to start. Currently the local url is hardcoded in a property file and this is how the services knows the local endpoint to envoke when it autostarts.
    <servlet id="AutoStart_01">
    <servlet-name>autoStart</servlet-name>
    <servlet-class>com.loadmy.StartupClass.Here</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    This works all fine and well until it's deployed onto a machine that runs a local weblogic cluster that has more than one jvm (and multiple ports) loading the application up.
    Problem
    The question is, how can you get the applicaton to recoginize the local url for the jvm that is running which can be on different ports? Here's what I've tried
    A - Using Inet.Address - This doesn't let you know what port your application is on
    B - Using the load servlet on start up ( Only the init() function is called and the request object hasn't been created and the request object is what contains ther protocol, server and port information)
    C - Loading a jsp page (READ... purposefully loading a jsp page) on application start. The thought here is that this contains a request object, but unfortunately on this doesn't work in my servlet container (currently tomcat 6 but the application is for a web logic machine)
    D - I thought about possibly using System.properties() but no luck there
    I'm at witts end on this one and I know there is something that can recoginze the local servlet container and extract the url and port from it.
    Any suggestions would be great.
    Flabergasted [sic]

    Hi,
    I had a simmilar requirement once, i also had to display some meaningful message with the busy mode icon, but i guess that comes directly from the WD Framework and is not possible to be changed. Refer the following thread, i raised that time.
    Web Dynpro ABAP
    Dont have much idea if somethig exists in portal for this.
    Regards,
    Runal

  • Running a control on application start up

    Hi,
    I am using Weblogic workshop with the netui and controls framework.
    Does anyone know if there is a way to be able to access a control when the application starts. I need to initialise some static data on application startup.
    Normally I would just use a struts plugin to run some init routine, but because we are using DBControls to access the database I can't do this because I am unable to access controls from a POJO.
    Thanks for your help,
    Adrian

    Well two ideas (if ur on windows) u could try are -
    one, if you had a class file you could simply create a
    batch file on windows that says java <class> and then
    put that batch file in your startup so that the class
    is run at startup or else you could think of modifying
    the registry keys on windows to run this class at
    startup - whichever works for you.Or you could just jar the program up, adding a Main-Class indicator in the manifest, and then add a shortcut to the jar to the startup folder, as someone else stated. Theres little need to go messing around with DOS batch in modern windows.

  • Applications Start Page Profile Option Causing Issues

    Hello Oracle Gurus,
    I'm having an issue in a 12.1.3 instance that I think may be related to the "Applications Start Page" profile option.
    For testing purposes, we set the profile to a specific Self-Service page at the Site level. We eventually removed the Site level profile and added it at the user level just for specific users, but since the Site-level profile was set, every time we click the Home link in the upper right-hand navigation, we get an "unexpected error." If we attempt to log in as a user that does not have the Applications Start Page profile defined, we also get an unexpected error.
    After getting the error using either of the methods listed above, if we then try to navigate back to the login page, the instance throws a 500 Internal Error.
    If we close the browser and navigate to the instance again, we're able to log in without any issues with user accounts that have an Applications Start Page profile defined.
    Our "Self Service Personal Framework Mode" is set to "Framework Only" at the site level.
    Bouncing Apache seems to resolve the issue temporarily, but then it comes back again a few hours later...
    We've opened a Service Request, but has anyone else run into this before / have any ideas on how to fix it?
    Here are some related Metalink notes from 11.5.10:
    729375.1 (About the Applications Start Page profile option)
    331814.1 (Error on Personal Home Page when returning to 'Home' link)
    Thanks!
    Anne

    The issue is not specific to a responsibility or application.
    Here is the error:
    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 27-JAN-2011 09:46:02
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 110
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=172.30.31.107)(PORT=1502))
    Thu Jan 27 09:53:30 2011
    Incremental checkpoint up to RBA [0x42.e3635.0], current log tail at RBA [0x42.e37e1.0]
    Thu Jan 27 10:13:31 2011
    Incremental checkpoint up to RBA [0x42.e602b.0], current log tail at RBA [0x42.e6146.0]
    Thu Jan 27 10:33:33 2011
    Incremental checkpoint up to RBA [0x42.e7bc9.0], current log tail at RBA [0x42.e7d51.0]
    Thu Jan 27 10:53:35 2011
    Incremental checkpoint up to RBA [0x42.e995f.0], current log tail at RBA [0x42.e9ac9.0]
    Thu Jan 27 11:13:37 2011
    Incremental checkpoint up to RBA [0x42.ec163.0], current log tail at RBA [0x42.ec3f7.0]
    Thu Jan 27 11:23:48 2011
    Starting background process CJQ0
    Thu Jan 27 11:23:48 2011
    CJQ0 started with pid=8, OS id=17239
    Thu Jan 27 11:33:39 2011
    Incremental checkpoint up to RBA [0x42.ee08f.0], current log tail at RBA [0x42.ee216.0]
    Thu Jan 27 11:53:41 2011
    Incremental checkpoint up to RBA [0x42.efd07.0], current log tail at RBA [0x42.eff13.0]
    Thu Jan 27 11:54:02 2011
    Stopping background process CJQ0
    Thu Jan 27 12:13:43 2011
    Incremental checkpoint up to RBA [0x42.f25c0.0], current log tail at RBA [0x42.f2e4b.0]
    Thu Jan 27 12:33:45 2011
    Incremental checkpoint up to RBA [0x42.f4cae.0], current log tail at RBA [0x42.f4e4b.0]
    Thu Jan 27 12:53:47 2011
    Incremental checkpoint up to RBA [0x42.f6e8a.0], current log tail at RBA [0x42.f6fb7.0]
    Thu Jan 27 13:13:50 2011
    Incremental checkpoint up to RBA [0x42.fa3d0.0], current log tail at RBA [0x42.fa845.0]
    Thu Jan 27 13:33:52 2011
    Incremental checkpoint up to RBA [0x42.fc7d9.0], current log tail at RBA [0x42.fc989.0]
    Thu Jan 27 13:53:55 2011
    Incremental checkpoint up to RBA [0x42.fed4e.0], current log tail at RBA [0x42.ff12e.0]

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.Not working in USA timezone.

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.

    This is the code which we have used.
    //////////Return if it is first time for the day or not//////////////
    + (BOOL)isFirstTimeToday {
    BOOL result = YES;
    NSDate *now = [[NSDate alloc] init];     /// represents the current time
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
    NSDate *today = [gregorian dateFromComponents:components];
    [now release];
    [gregorian release];
    NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
    if (savedDate) {
    if ([today earlierDate:savedDate] == today) {
    result = NO;
    return result;
    ////////Stores the date/////////////
    + (void)userDidVisitReenforceScreenToday {
    [[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
    ////////////What [NSDate todayAtMidnight] stores/////////////////////
    + (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
    NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
    NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
    [gregorian release];
    NSLog(@"dateAtMidnight : %@",dateAtMidnight);
    return dateAtMidnight;
    + (NSDate *)todayAtMidnight {
    return [self daysFromNowAtMidnight:0];
    Please Suggest..

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    Try posting in the developer forums to see if you can get some assistance,you'll have to be a registered developer for access though.
    developer.apple.com

  • Macbook upgrade to Lion.. how do i minimize what applications start up from boot ?

    how do i minimize what applications start up from boot (start-up) ??
    excel, word, safari and mail are all opening
    takes too long

    Disable Resume...
    How To Disable Lion's 'Resume' Feature - MacRumors.com
    And if you restart your Mac from the Apple menu > Restart
    Deselect:   Reopen windows when logging back in

  • Pre-loading the Cache from Database during application start-up

    We are using Spring, Hibernate, Oracle Coherence 3.5.2 Weblogic Webservices
    Our requirement is to pre-load the cache during the application start-up most probably during Authentication/Authorization Service is invoked.
    We plan to load the data for other services from database into Coherence cache so that whenever user access that particular service he ends up hitting the Cache instead of database.
    We would greatly appreciate sample code snippets on how to write CacheInitializerBean with marker to demonstrate the state of cache.

    Hi Rob,
    Thanks for pointing to the article: Pre-Loading the Cache
    In fact i already looked at that article before posting. It just mentions how to load the data from database into Cache.
    What i am looking for is how to make this happen during application start-up. This is my first hurdle.
    The second one is as mentioned in the article http://coherence.oracle.com/display/COH35UG/Pre-Loading+the+Cache
    i wrote following code which never gets populated into cache. Not sure whats going wrong even though i see Hibernate loadAll() method loading all the objects in the console
    public   void populateCache() throws SQLException
        Map<Long, Object>  buffer = new HashMap<Long, Object>();
        int count = 0;
         List<Contract> contractList = this.getHibernateTemplate().loadAll(Contract.class);
         log.debug("contractList size="+contractList.size());
         for(Contract contract : contractList)
             Long key   = new Long(contract.getId());
             Object  value = contract;
             buffer.put(key, value);
             // this loads 1000 items at a time into the cache
             if ((count++ % 1000) == 0)
                  contractCache.putAll(buffer);
                 buffer.clear();
         if (!buffer.isEmpty())
              contractCache.putAll(buffer);
        }We would greatly appreciate your time in helping us resolving two hurdle blocks.

  • Pre-load the Cache during Application-Start Up

    Our requirement is to pre-load the cache during the application start-up most probably during Authentication/Authorization Service is invoked.
    We plan to load the data for other services from database into Coherence cache so that when user access that particular service he ends up hitting the Cache instead of database.
    Any pointers/suggestions on how to pre-load the cache during application start-up would be greatly appreciated. We are using Spring, Hibernate, Weblogic Web Services
    Regards,
    Bansi

    Hi Bansi,
    I were using following approach.
    First, we never use CacheFactory.getCache() in application code instead all instances of named cache were injected.
    On server side, I have an CacheInitializerBean which were starting cache preloading process (in separate thread). After preloading a special marker entry were put to the cache, indicating what data in the cache are consistent.
    When injecting named cache instance, we use a factory. This factory use CacheFactory.getCache() internally, but it check presence of marker object in cache an blocks until marker object will appear.
    Well in practice things are little more complicated but this is basic idea.
    Preload cache asynchronously and use marker to indicate completion of loading process.
    Hope this will help.
    Regards,
    Alexey

  • You can't open the application Start.osx because PowerPC applications are no longer supported.

    what does this error message mean? I am trying to use a disc that came along with a book I ordered for studying. However, when I try and run it, this is the error message I receive. "You can't open the application Start.osx because PowerPC applications are no longer supported." Anything I can do to fix this and make it work?????

    Many educational CDs have not been upgraded due to lack of funds in the educational market to pay for such updates. 
    This situation is due primarily to the fact that one of the major political parties in this country favors tax cuts to the rich while cutting federal educational support funding (or eliminating the federal Department of Education altogether).
    However, you can restore Rosetta and run your educational CD if you install Snow Leopard Server ($20) into Parallels (up to $79) for use in Lion/Mt. Lion/Mavericks:
                                  [click on image to enlarge]
    More information here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • I have started migration système to transfert from hold Macbook pro to New MacBook air application starter successfully for several hours. But since more than 3 hours I got the message transferring Time zone paramètres with time left less than 1 minute.

    Hi
    I have started migration système to transfert from hold Macbook pro to New MacBook air
    Application starter successfully for several hours.
    But since more than 3 hours I got the message "transferring Time zone paramètres " with time left less than 1 minute.
    Any recommendation or suggestion to solve it ?
    Many tanks

    If it has run for 3 hours it's probably done and you can quit Migration Assistant and reboot the new computer. In the future rather than using Migration Assistant I would recommend using Startup Assistant which tends to be a bit more reliable and does not create a new user account as MA does. If  you're interested here is an article explaining Setup Assistant tips.
    Roger

Maybe you are looking for

  • NHK programming off by 1 hour (3rd year in a row!)

    At least the guide people are consistent.  Yet again this year, they failed to take into account that the international channels (like NHK) to not follow daylight savings time.  Yet again this year I'm forced to get the accurate schedule off the NHK

  • Portal role assignment

    We are facing problem of Roles getting automatically de-assigned to users in EP. We would like to know the following: 1)       If this is a known issue with EP 6.0? 2)       If yes how to correct it.? 3)       How to find when this role got deassigne

  • ACS Certificate import failure

    Hello All, trying to get a certificate imported on an ACS collector. The import (apparently) fails with this: >> 1 certificates found for server authentication usage. >> Enter the number of the certificate you want AdtServer to use for authenticating

  • How do i get the time to stopping coming on and off on my black screen. is that daydream

    how do i get the time to stop coming on and off on my black screen. is that daydrea

  • I cant open Itunes 12.1.2 and use "erase free space"

    Hi guys, after updating the new Apple update (10.10.3 and iTunes 12.1.2, I have so many problem to my macbook pro 2014 version. It takes a lot longer to start the computer which is incredibly fast before updating. Plus, I also cant open the iTunes an