JVM Problem under WinXP

I've installed the JDK1.4.1(beta) a while ago and it's been working fine until I installed Hot Java. ( well I'm not sure of the real source of the mess up but I suspect Hot JAVA). Anyway since then every time I enter the commande "java someapplication" in the command prompt it doesn't seem to find it way to the JVM anymore and nothing happen. It seems to be pointing at the wrong place. If anyone knows what's wrong or if there is a way to configure the JDK, I'm all hears.
Thank you

Try an echo %PATH% from that command prompt. It may be that something changed your XP profile so that the JDK bin directory was no longer in your path.
You can change it back by, let's see here, I'm doing this from memory, ... right-clicking on My Computer, hitting Properties, and finding the tab that has an "environment variables" button on it. Hit that, and change your PATH there. OK all the way back out, and reboot to make it take effect (I know, I know, rebooting is a waste of time, except that XP puts your PATH in the registry, which means rather than just sourcing a text script like most other OS'es can do, you have to fully reboot).
If you're not an administrator on the machine, you won't be able to change the system PATH, but you can change your user one. Make it include the <wherever you installed the JDK>\bin directory. Or do a search for "java.exe" or "javac.exe", and include where those are.

Similar Messages

  • Sound problem with MS-6712 under WINXP

    Help, please!
    I can't understand with sound driver I need to install under WinXP SP-1 for my MS-6712 ???
    In Driver Area they recommend alc56.exe or viasound 53. What the difference?
    The problem is that in any case microphone input is not functioning. Is this a common problem or just of mine?

    just insert the mobo cd and install the driver that appeasr after the autorun.
    Have you muted the mic?

  • Error messages when using Brooks SmartDDE under WinXP

    I receive some error messages (for example: Stack fault at position...) when
    I try to use Brooks SmartDDE 1.2 under WinXP.
    I need to control three DMFCs by means of some Excel macros calling
    SmartDDE.
    How can I solve this problem?
    Thanks in advance.

    I suggest you abandon using Excel as a data acquisition environment.
    That is like using an inverted Corvette as a sled. Sure it may work for short straight trips but don't expect it to handle the curves very well.
    Follow the link provided by Brian for more reading on how to use LV (a bobsled) to do this task.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Problem on WinXP / Labview 6.1 with VISA (serial port)

    There is a problem on WinXP / Labview 6.1 with VISA which i use to poll the state lines of the serial port. The only functions that i use are "VISA Open", "Find Resource", line state properties and "VISA close".
    On my own machine (WinME) it works fine as a standalone application (with runtime engine in the same direction), even if i rename the Labview directory so that Labview is not found.
    From my VXIpnp directory i deleted all but these files:
    directory "Win95",
    subdirectory "Bin" containing "NiViAsrl.dll",
    subdirectory "NIvisa" containing "visaconf.dll".
    When shipping this to WinXP (and copying "VXIpnp" to the root directory), the serial port was not found, so i renamed the direction "Win95" to "
    WinNT", but this did not work also.
    I installed the VISA server, although it seems not to be required -- no result.
    Final question:
    What must i do for distributing the program as a standalone application for all windows platforms?

    Hey Joachim,
    In order to create an installer that includes the VISA Run-time engine for serial IO you will have to purchase LabVIEW 7.x. See screen shot. This packages a small compact version of the run-time that can only be used for serial, but it takes up much less space. The installer that I created has my application, the LV Run-time, and the VISA run-time and it is about 26 MB.
    That is much smaller than if I had to include the 32 MB LV 7.1 run-time and the 14 MB VISA run-time separately. It would have been even smaller if I would have uncheck some of the items that I wasn't using.
    -Josh
    Attachments:
    advanced.JPG ‏31 KB

  • Problem under Mac OS X with very long commands

    Hi,
    in one app. I have very long commands, this make problems under mac os x (sdk 1.4.2)
    it works under Lin and Win, only under Mac OS X it wont work like it shoud.
    is there a possibility of arise this "max length" ?
    sample:
    http://matrix.phileon.de/java_mac.html
    thx!
    phileon

    It seems as he didn't like the last entry of the classpathhuh, i always thought of MacOS X as a she..

  • How to fix iMovie 08 problems under 10.5.3

    iMovie problems under Mac OS X 10.5.3 linked to color system
    After updating to Mac OS X 10.5.3, users may have problems with launching iMovie. For most, iMovie refuses to opens, and the usual fix of removing the iMovie preferences, caches, and other iMovie settings files, and then relaunching the program does not appear to help. One user reinstalled the program with no luck resolving the problem:
    "I have the same problem. I've tried to reinstall the imovie, but it still does not work. I have imported a lot of video in iMovie. Please help!!! "
    For other users, while iMovie would start, they could not open any projects or use the program.
    One user, while not initially affected by this problem, found that after changing the color calibration of his Apple Cinema display iMovie suddenly wouldnt open just as described by others; however, upon reverting to a previous color profile iMovie became functional again. This indicates the problem lies somewhere in computer's color system configuration; and changing color settings seems to have fixed the problem for all affected users.
    Fixes
    Change the screen colors Go to the "Displays" system preferences and change the color output of the screen (either from thousands to millions, or vice versa) and relaunch iMovie. Somehow changing the display color depth modifies the color system so iMovie properly loads.
    Calibrate the display While for some users calibrating the display resulted in the iMovie error, for others the problem was fixed by re-calibrating the display. Calibrating the display can be an involved process, but it is recommended to ensure your screen outputs the most accurate colors as possible. This option is available in the "Displays" system preferences under the "Color" tab.
    More:
    Correcting the problem by changing profiles suggests a permissions problem which repairing permissions won't fix. Use the terminal command
    ls -al /Library/ColorSync/Profiles
    Compare the permissions on the working and non-working profiles. If they are different, correct the non-working instance.
    Everyone should read MacFixit Every Day

    Another fix for iMovie launch problems We previously reported that, after updating to Mac OS X 10.5.3, users may have problems with launching iMovie. For most, iMovie refuses to opens, and the usual fix of removing the iMovie preferences, caches, and other iMovie settings files, and then relaunching the program does not appear to help. One user reinstalled the program with no luck resolving the problem.
    We noted a few fixes for the issue, including changing scren colors and calibrating the display. Now some users have reported that temporarily adjusting screen resolution can allow iMovie to properly launch. The resolution can be changed back to normal after the update.
    "Neither suggested trick worked for me. However I temporarily changed the resolution to 1024x768 and then launched imovie. I then went back to my native resolution of 1280x800 (white ibook) and now imovie always launches. Thanks for the tips"

  • Power manager problem under vista 64 bit

    Happy to see Lenovo opened a forum and willing to hear from the customers.
    Power manager has problems under Vista 64bit:
    1. Sometimes it will cause explore.exe can't start when windows start.
    2. If no window at max, the color of the battery icon will be very dim
    Hope Lenovo can publish a new edition for vista 64 bit.

    http://it.toolbox.com/blogs/achieving-great-bi/obiee-on-vista-64bit-with-iis-70-29882

  • Problems loading winxp on 845gmax

    im getting a error saying something about my bios not being acpi compliant? and that have to update it. what gives? any help would be appreciated. here is the system specs
    2.4 Pentium4
    80gb WD w/8mb buffer
    512mb ddr ram
    msi 845gMAX mobo
    ATI radeon8500le 128mb ddr vid card
    liteon 48x cd rom
    vivastar dvd burner
    350watt power supply w/ modded case

    I have the same problem with winxp installation..
    The first part of installation goes ok, but then when the computer reboots and enters "gui" of winxp nothing more happens, no windows, no ok boxes, just a mouse pointer..
    I have left the puter on during night, but nothing more happened..
    I have tried new memory, new cd, new floppy, bios defaults,
    im upto replacing hd, gfx and cpu..
    UPDATE:
    I just tried disabling USB totally, and it worked! Seems like that was the problem. I will activate USB when winxp is installed, hope it works.  Maybe winxp installation usb drives cant handle this usb2.0 hardware. We´ll se about that

  • Need help with getResource() problem under weblogic 6.1

    Hey all,
              I've got a serious problem that I can't figure out. This should be really
              simple - but it's alluding me. I have an ear file with a number of servlets
              inside it. This ear file also contains a resource that my servlets want to
              read from. This resource is located (within the ear file) at:
              "/content/structure/a.txt". The file contains raw ascii.
              To have my serlvet read from this file, I thought it would be as simple as:
              URL content =
              servlet.getServletContext().getResource("/content/structure/a.txt");
              // pw is an instance of PrintWriter
              pw.print(content.getContent());
              However, when I execute the above I get the following exception:
              java.lang.NullPointerException
              at
              java.net.URLConnection.stripOffParameters(URLConnection.java:1011)
              at java.net.URLConnection.getContentHandler(URLConnection.java:979)
              at java.net.URLConnection.getContent(URLConnection.java:581)
              OK, so fine - I figure that I'm new to this. The documentation for the URL
              class tells me there is another way around this. It says that rather then
              calling getContent() directly, I can open a stream on the URL and read from
              that, like so:
              URL content =
              servlet.getServletContext().getResource("/content/structure/scenario2resourc
              es.txt");
              FileInputStream fis = content.openStream();
              but when I do this I get the following different exception:
              java.lang.ClassCastException: weblogic.utils.zip.SafeZipFileInputStream^M
              at Utility.writeFileToOutput(Utility.java:134)^M
              Apparently this thing is trying to return a web-logic-specific stream (which
              is incompatible with an FileInputStream) - which I don't want to use or
              learn about since I want my stuff to work under other webservers.
              Can anyone tell me what I'm doing wrong? This should be simple.
              -john
              John Hilgedick
              WisdomTools, Inc.
              [email protected]
              

    Wenjin,
              I appreciate your response. I tried treating it as a normal InputStream -
              but it didn't make any difference. Here's what I did:
              URL content =
              servlet.getServletContext().getResource("/content/structure/scenario2resourc
              es.txt");
              InputStream is = (InputStream)content.getContent();
              And here's the exception:
              java.lang.NullPointerException^M
              at
              java.net.URLConnection.stripOffParameters(URLConnection.java:1011)^M
              at
              java.net.URLConnection.getContentHandler(URLConnection.java:979)^M
              at java.net.URLConnection.getContent(URLConnection.java:554)^M
              at java.net.URL.getContent(URL.java:807)^M
              at Utility.writeFileToOutput(Utility.java:134)^M
              You can see that it is definitely breaking somewhere in getContent().
              If you have any other ideas, I'd appreciate hearing about them.
              -john
              ----- Original Message -----
              From: "Wenjin Zhang" <[email protected]>
              Newsgroups: weblogic.developer.interest.servlet
              Sent: Wednesday, November 20, 2002 5:03 PM
              Subject: Re: Need help with getResource() problem under weblogic 6.1
              >
              > The "/" in getServletContext().getResource("/content/structure/a.txt")
              means the
              > web (WAR) application root, not your EAR root.
              >
              > The ClassCastException is because that content.openStream() is not
              FileInputStream
              > and has nothing to do with Weblogic. You should treat it as normal
              InputStream.
              >
              >
              > "John Hilgedick" <[email protected]> wrote:
              > >Hey all,
              > >
              > >I've got a serious problem that I can't figure out. This should be
              really
              > >simple - but it's alluding me. I have an ear file with a number of
              servlets
              > >inside it. This ear file also contains a resource that my servlets want
              > >to
              > >read from. This resource is located (within the ear file) at:
              > >"/content/structure/a.txt". The file contains raw ascii.
              > >
              > >To have my serlvet read from this file, I thought it would be as simple
              > >as:
              > >
              > >URL content =
              > >servlet.getServletContext().getResource("/content/structure/a.txt");
              > >// pw is an instance of PrintWriter
              > >pw.print(content.getContent());
              > >
              > >However, when I execute the above I get the following exception:
              > >
              > >java.lang.NullPointerException
              > > at
              > >java.net.URLConnection.stripOffParameters(URLConnection.java:1011)
              > > at
              java.net.URLConnection.getContentHandler(URLConnection.java:979)
              > > at java.net.URLConnection.getContent(URLConnection.java:581)
              > >
              > >OK, so fine - I figure that I'm new to this. The documentation for the
              > >URL
              > >class tells me there is another way around this. It says that rather
              > >then
              > >calling getContent() directly, I can open a stream on the URL and read
              > >from
              > >that, like so:
              > >
              > >URL content =
              >
              >servlet.getServletContext().getResource("/content/structure/scenario2resour
              c
              > >es.txt");
              > >FileInputStream fis = content.openStream();
              > >
              > >but when I do this I get the following different exception:
              > >
              > >java.lang.ClassCastException: weblogic.utils.zip.SafeZipFileInputStream^M
              > > at Utility.writeFileToOutput(Utility.java:134)^M
              > >
              > >Apparently this thing is trying to return a web-logic-specific stream
              > >(which
              > >is incompatible with an FileInputStream) - which I don't want to use
              > >or
              > >learn about since I want my stuff to work under other webservers.
              > >
              > >Can anyone tell me what I'm doing wrong? This should be simple.
              > >
              > >-john
              > >
              > >
              > >--
              > >John Hilgedick
              > >WisdomTools, Inc.
              > >[email protected]
              > >
              > >
              >
              

  • Cache and/or Connection problems under load

    I have a Kodo web app that's been running just fine in
    production for many months now. However, recently the web
    traffic has shot up by a huge amount, literally overnight.
    But unfortunately, it's caused the app to fail very ungracefully
    under the strain.
    It's been a crazy few days, and I haven't been able to do
    very much analysis because of higher priorities. But from
    what I have been able to gleen, it now looks like Kodo is
    the most likely culprit. From what I've read in other messages
    here, it appears others may have been experiencing similar
    problems.
    My environment: Redhat Linux 8, Postgres 7.3.4 with the
    included JDBC3 driver, Apache 1.3.x, Tomcat 4.1.x and the
    webapp connector. Similar behavior was seen with Apache 2.x,
    Tomcat 4.1.x and the JK2 connector (that was on the new machine
    I setup to handle the new traffic, which, of course, died the
    night before).
    As I mentioned, this app has been running reliably for
    months with no problems. But when placed under heavy load,
    it appears to get into some sort of pathological state where
    it slows down dramatically (asymptotically?) to the point where
    it's effectively locked up. In one case, where the app was
    left running for several hours in this state, requests were
    taking 90 minutes to complete (normal is 1-5 seconds).
    From what I can deduce, there seem to be four things
    going on, three of which have been mentioned in recent threads
    here:
    1) Excessive memory consumption. When the app is
    operating normally, I see fairly flat memory usage for
    the JVM process. Under load, the JVM steadily expands
    until it hits its heap limit. I've gotten OutOfMemory
    exceptions with a heap size of 350MB, which should be plenty.
    2) Level 2 cache locking issues. I've seen dozens of
    threads waiting on a lock in the DataCache code. Not sure
    if there's a deadlock happening here or just that the
    threads are waiting on a lock that's being held for a long time.
    3) Database Connection leaks or contention. I see threads
    spinning in the DataSource code trying to get a connection.
    I also see dozens of connections from the Postgres side which
    seem to be sitting idle, but in the middle of a transaction.
    When things get bad, I also see exceptions being thrown because
    of timeouts waiting for a connection to become available. It's
    a web app, PMs should not be tied up for more than a few seconds.
    4) CPU usage pegged or nearly so for the JVM. I suspect
    this is related to #3. Something very bad is going on here.
    If I stop all inbound requests to the JVM when it's in this
    bad state, it will continue to burn CPU at 90%+ for a very
    long time. I think it will eventually finish what it's doing,
    but I haven't had the luxury of waiting for it. It's definitely
    not a linear slowdown proportional to the load.
    Attached are my kodo.properties file and some thread stack
    traces along with some comments. Any advice would be greatly
    appreciated. This is not a complicated app nor am I doing
    anything unusual. It doesn't seem logical that Kodo could
    breakdown so dramatically under load, so I'm hoping it's some
    sort of interaction thing that I can work around.
    Thanks.
    Ron Hitchens {mailto:[email protected]} RonSoft Technologies
    (510) 494-9597 (Home Office) http://www.ronsoft.com
    (707) 924-3878 (fax) Bit Twiddling At Its Finest
    "Born with a broken heart" -Kenny Wayne Shepard

    Please read prior posts regarding level 2 cache. It is unusable under stress
    as far I am concerned. Basically entire cache gets locked on any database
    read. Makes it very unscalable
    Are you using 2.5.3? It will request a connection from a pool every time it
    resolves reference to a PC even if it is cached in PM and therefore Kodo
    does not need to read any. As result if you iterate over 100 objects in your
    query and for each object resolve reference to another object (always the
    same) kodo will request 100 database connections from the pool (and note
    they issue rollback on every time they return a connection to the pool so
    getting connection might be fairly expensive)
    In conjunction with level 2 cache contention this causes application to go
    into a stupor.
    Try to go back to 2.5.2 (or may be 2.5.4 they promised in the near future
    with a workaround) or use "persistent-manager" connection retention if you
    discard PM after each HTTP invocation - it will take care of connection
    pooling issue. As far as L2 cache I was unable to find any work around so
    far - see if you might be better of without cache. You might if your object
    graph is not very complex
    "Ron Hitchens" <[email protected]> wrote in message
    news:[email protected]...
    >
    I have a Kodo web app that's been running just fine in
    production for many months now. However, recently the web
    traffic has shot up by a huge amount, literally overnight.
    But unfortunately, it's caused the app to fail very ungracefully
    under the strain.
    It's been a crazy few days, and I haven't been able to do
    very much analysis because of higher priorities. But from
    what I have been able to gleen, it now looks like Kodo is
    the most likely culprit. From what I've read in other messages
    here, it appears others may have been experiencing similar
    problems.
    My environment: Redhat Linux 8, Postgres 7.3.4 with the
    included JDBC3 driver, Apache 1.3.x, Tomcat 4.1.x and the
    webapp connector. Similar behavior was seen with Apache 2.x,
    Tomcat 4.1.x and the JK2 connector (that was on the new machine
    I setup to handle the new traffic, which, of course, died the
    night before).
    As I mentioned, this app has been running reliably for
    months with no problems. But when placed under heavy load,
    it appears to get into some sort of pathological state where
    it slows down dramatically (asymptotically?) to the point where
    it's effectively locked up. In one case, where the app was
    left running for several hours in this state, requests were
    taking 90 minutes to complete (normal is 1-5 seconds).
    From what I can deduce, there seem to be four things
    going on, three of which have been mentioned in recent threads
    here:
    1) Excessive memory consumption. When the app is
    operating normally, I see fairly flat memory usage for
    the JVM process. Under load, the JVM steadily expands
    until it hits its heap limit. I've gotten OutOfMemory
    exceptions with a heap size of 350MB, which should be plenty.
    2) Level 2 cache locking issues. I've seen dozens of
    threads waiting on a lock in the DataCache code. Not sure
    if there's a deadlock happening here or just that the
    threads are waiting on a lock that's being held for a long time.
    3) Database Connection leaks or contention. I see threads
    spinning in the DataSource code trying to get a connection.
    I also see dozens of connections from the Postgres side which
    seem to be sitting idle, but in the middle of a transaction.
    When things get bad, I also see exceptions being thrown because
    of timeouts waiting for a connection to become available. It's
    a web app, PMs should not be tied up for more than a few seconds.
    4) CPU usage pegged or nearly so for the JVM. I suspect
    this is related to #3. Something very bad is going on here.
    If I stop all inbound requests to the JVM when it's in this
    bad state, it will continue to burn CPU at 90%+ for a very
    long time. I think it will eventually finish what it's doing,
    but I haven't had the luxury of waiting for it. It's definitely
    not a linear slowdown proportional to the load.
    Attached are my kodo.properties file and some thread stack
    traces along with some comments. Any advice would be greatly
    appreciated. This is not a complicated app nor am I doing
    anything unusual. It doesn't seem logical that Kodo could
    breakdown so dramatically under load, so I'm hoping it's some
    sort of interaction thing that I can work around.
    Thanks.
    Ron Hitchens {mailto:[email protected]} RonSoft Technologies
    (510) 494-9597 (Home Office) http://www.ronsoft.com
    (707) 924-3878 (fax) Bit Twiddling At Its Finest
    "Born with a broken heart" -Kenny Wayne Shepard
    With cahce enabled, 2.5.3
    Here the app had recently slowed down and then effectively locked up.
    There where many outstanding web requests that were not receiving output.
    At this point most threads seemed to be waiting at the same location.
    There were a large number of active database connections and most of
    them had open transactions (according to pg_stat_activity). The app
    was not responding to any web requests.
    It would seem that db transactions had been started, then the thread
    got stuck for a long time on a synchronization lock in the cache lookup.
    Below are two randomly chosen thread stack dumps.
    Thread-72[1] where
    [1] java.lang.Object.wait (native method)
    [2] java.lang.Object.wait (Object.java:429)
    [3]oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$ReaderLock.acquir
    e (WriterPreferenceReadWriteLock.java:169)
    [4]com.solarmetric.kodo.runtime.datacache.AbstractCacheImpl.acquireReadLock
    (AbstractCacheImpl.java:384)
    [5]com.solarmetric.kodo.runtime.datacache.TimedDataCache.acquireReadLock
    (TimedDataCache.java:256)
    [6] com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.load(DataCacheStoreManager.java:595)
    [7] com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2,330)
    [8] com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:897)
    [9] com.europeasap.data.City.jdoGetname (null)
    [10] com.europeasap.data.City.getName (City.java:39)
    [11] com.europeasap.form.CustomerBookingForm.populateDepartureCityInfo(CustomerBookingForm.java:922)
    [12] com.europeasap.form.CustomerBookingForm.onetimeInit(CustomerBookingForm.java:871)
    [13] com.europeasap.form.CustomerBookingForm.populatePackageInfo(CustomerBookingForm.java:880)
    [14] com.europeasap.action.CustomizeTrip.perform (CustomizeTrip.java:66)
    [15] org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1,787)
    [16] org.apache.struts.action.ActionServlet.process(ActionServlet.java:1,586) [17]
    org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:492)
    [18] javax.servlet.http.HttpServlet.service (HttpServlet.java:740)
    [19] javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
    [20] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    [21] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    [22] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    [23]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [24] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [25] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [26] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    [27]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [28] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
    [29]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [30] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [31] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [32] org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2,415)
    [33] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    [34]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [35] org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    [36]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [37] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    [38]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [39] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [40] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [41] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    [42]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [43] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [44] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [45] org.apache.catalina.connector.warp.WarpRequestHandler.handle (null)
    [46] org.apache.catalina.connector.warp.WarpConnection.run (null)
    [47] java.lang.Thread.run (Thread.java:534)
    Thread-64[1] where
    [1] java.lang.Object.wait (native method)
    [2] java.lang.Object.wait (Object.java:429)
    [3]oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$ReaderLock.acquir
    e (WriterPreferenceReadWriteLock.java:169)
    [4]com.solarmetric.kodo.runtime.datacache.AbstractCacheImpl.acquireReadLock
    (AbstractCacheImpl.java:384)
    [5]com.solarmetric.kodo.runtime.datacache.TimedDataCache.acquireReadLock
    (TimedDataCache.java:256)
    [6] com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.load(DataCacheStoreManager.java:595)
    [7] com.solarmetric.kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:2,248)
    [8] com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:899)
    [9] com.europeasap.data.HotelPrices.jdoGetseasonalPrices (null)
    [10] com.europeasap.data.HotelPrices.normalizeIndex(HotelPrices.java:113)
    [11] com.europeasap.data.HotelPrices.getCost (HotelPrices.java:45)
    [12] com.europeasap.logic.CostHelper.findLowestHotel(CostHelper.java:181)
    [13] com.europeasap.logic.CostHelper.computeBasePackageCost(CostHelper.java:297)
    [14] com.europeasap.logic.CostHelper.computeFinalPackageCost(CostHelper.java:246)
    [15] com.europeasap.form.CustomerBookingForm.updateDisplayCosts(CustomerBookingForm.java:1,440)
    [16] com.europeasap.form.CustomerBookingForm.updateCustomizeDisplayInfo(CustomerBookingForm.java:1,407)
    [17] com.europeasap.action.CustomizeTrip.perform (CustomizeTrip.java:68)
    [18] org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1,787)
    [19] org.apache.struts.action.ActionServlet.process(ActionServlet.java:1,586) [20]
    org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:492)
    [21] javax.servlet.http.HttpServlet.service (HttpServlet.java:740)
    [22] javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
    [23] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    [24] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    [25] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    [26]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [27] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [28] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [29] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    [30]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [31] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
    [32]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [33] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [34] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [35] org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2,415)
    [36] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    [37]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [38] org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    [39]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [40] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    [41]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [42] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [43] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [44] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    [45]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [46] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [47] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [48] org.apache.catalina.connector.warp.WarpRequestHandler.handle (null)
    [49] org.apache.catalina.connector.warp.WarpConnection.run (null)
    [50] java.lang.Thread.run (Thread.java:534)
    while running slow, 2.5.3
    At this point, the app had been running several hours normally, then
    apparently slowed down and locked up while I was away. When looking
    at the app threads and database activity, everything appeared idle.
    No transactions seemed to be open in the db. But the app was not
    behaving normally. Web requests that did not make use of JDO worked
    fine (but slow). But requests that hit the db either blocked or were
    very slow to respond.
    Looking back at the log, there had been a large number of requests
    that threw exceptions because they could not get a connection within
    five seconds.
    Most threads were idle, waiting on read, but some were in the state
    shown by the following two stack dumps. Unlike the cache threads above,
    they did not seem to be waiting for a lock to be granted, they seemed
    to be spinning in the connection management code. Apparently trying
    to get a connection. I suspended and resumed the same thread repeatedly
    and it always seemd to be doing the same thing. Single stepping was
    very difficult because the debugger was slow to respond, apparently
    because of other threads also busy spinning.
    Postgres indicated that there where lots of connections open and
    that they were all idle, so there should not have been a shortage
    of connections in the pool. There are two mysteries here: 1) why
    can't this thread get a connection? and 2) Why is it busy spinning?
    Thread-56[1] where
    [1]com.solarmetric.datasource.PreparedStatementCache$CacheAwareConnection.prepa
    reStatement (PreparedStatementCache.java:184)
    [2]com.solarmetric.datasource.PreparedStatementCache$CacheAwareConnection.prepa
    reStatement (PreparedStatementCache.java:169)
    [3] com.solarmetric.datasource.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:199)
    [4]com.solarmetric.kodo.impl.jdbc.schema.dict.AbstractDictionary.isClosed
    (AbstractDictionary.java:1,912)
    [5]com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFact
    ory (SQLExecutionManagerImpl.java:186)
    [6] com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:147)
    [7]com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newSQLExecutionManag
    er (JDBCStoreManager.java:828)
    [8]com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getSQLExecutionManag
    er (JDBCStoreManager.java:714)
    [9]com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getDatastoreConnecti
    on (JDBCStoreManager.java:287)
    [10]com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.getDatastoreCon
    nection (DataCacheStoreManager.java:465)
    [11] com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.load(DataCacheStoreManager.java:591)
    [12] com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2,330)
    [13] com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:897)
    [14] com.europeasap.data.City.jdoGetname (null)
    [15] com.europeasap.data.City.getName (City.java:39)
    [16] com.europeasap.form.CustomerBookingForm.populateDepartureCityInfo(CustomerBookingForm.java:922)
    [17] com.europeasap.form.CustomerBookingForm.onetimeInit(CustomerBookingForm.java:871)
    [18] com.europeasap.form.CustomerBookingForm.populatePackageInfo(CustomerBookingForm.java:880)
    [19] com.europeasap.action.CustomizeTrip.perform (CustomizeTrip.java:66)
    [20] org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1,787)
    [21] org.apache.struts.action.ActionServlet.process(ActionServlet.java:1,586) [22]
    org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:492)
    [23] javax.servlet.http.HttpServlet.service (HttpServlet.java:740)
    [24] javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
    [25] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    [26] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    [27] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    [28]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [29] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [30] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [31] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    [32]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [33] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
    [34]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [35] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [36] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [37] org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2,415)
    [38] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    [39]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [40] org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    [41]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [42] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    [43]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [44] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [45] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [46] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    [47]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [48] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [49] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [50] org.apache.catalina.connector.warp.WarpRequestHandler.handle (null)
    [51] org.apache.catalina.connector.warp.WarpConnection.run (null)
    [52] java.lang.Thread.run (Thread.java:534)
    Thread-56[1] where
    [1]com.solarmetric.datasource.DataSourceImpl$AbstractPool.findConnection
    (DataSourceImpl.java:826)
    [2] com.solarmetric.datasource.DataSourceImpl$AbstractPool.getConnection(DataSourceImpl.java:605)
    [3] com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:363)
    [4] com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:356)
    [5]com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection
    (DataSourceConnector.java:63)
    [6]com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFact
    ory (SQLExecutionManagerImpl.java:185)
    [7] com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:147)
    [8]com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newSQLExecutionManag
    er (JDBCStoreManager.java:828)
    [9]com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getSQLExecutionManag
    er (JDBCStoreManager.java:714)
    [10]com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getDatastoreConnecti
    on (JDBCStoreManager.java:287)
    [11]com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.getDatastoreCon
    nection (DataCacheStoreManager.java:465)
    [12]com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.initialize
    (DataCacheStoreManager.java:519)
    [13] com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:215)
    [14]com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter
    (PersistenceManagerImpl.java:1,278)
    [15] com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1,179)
    [16]com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery$CachedResultLis
    t.get (CacheAwareQuery.java:432)
    [17] java.util.AbstractList$Itr.next (AbstractList.java:421)
    [18] com.europeasap.form.CustomerBookingForm.populateDepartureCityInfo(CustomerBookingForm.java:919)
    [19] com.europeasap.form.CustomerBookingForm.onetimeInit(CustomerBookingForm.java:871)
    [20] com.europeasap.form.CustomerBookingForm.populatePackageInfo(CustomerBookingForm.java:880)
    [21] com.europeasap.action.CustomizeTrip.perform (CustomizeTrip.java:66)
    [22] org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1,787)
    [23] org.apache.struts.action.ActionServlet.process(ActionServlet.java:1,586) [24]
    org.apache.struts.action.ActionServlet.doGet (ActionServlet.java:492)
    [25] javax.servlet.http.HttpServlet.service (HttpServlet.java:740)
    [26] javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
    [27] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    [28] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    [29] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    [30]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [31] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [32] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [33] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    [34]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [35] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
    [36]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [37] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [38] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [39] org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2,415)
    [40] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    [41]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [42] org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    [43]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [44] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    [45]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:641)
    [46] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [47] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [48] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    [49]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [50] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [51] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [52] org.apache.catalina.connector.warp.WarpRequestHandler.handle (null)
    [53] org.apache.catalina.connector.warp.WarpConnection.run (null)
    [54] java.lang.Thread.run (Thread.java:534)
    With cache disabled 2.4.3
    This run was an accident. I inadvertently ran the app with the older
    2.4.3 version of Kodo, with the cache disabled. This one got into trouble
    almost immediately. It also seemed to lockup with lots of opentransactions
    in the db. It's also interesting that these two threads also seem to be
    hanging around the same method as in 2.5.3.
    Thread-63[1] where 0x9f9
    [1]com.solarmetric.datasource.PreparedStatementCache$CacheAwareConnection.prepa
    reStatement (PreparedStatementCache.java:184)
    [2] com.solarmetric.datasource.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:377)
    [3]com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.prepareStatementInter
    nal (SQLExecutionManagerImpl.java:807)
    [4]com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryI
    nternal (SQLExecutionManagerImpl.java:761)
    [5]com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal
    (SQLExecutionManagerImpl.java:691)
    [6] com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:372)
    [7] com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:356)
    [8] com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadByPK(ClassMapping.java:950)
    [9] com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:263)
    [10] com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:174)
    [11]com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter
    (PersistenceManagerImpl.java:1,023)
    [12] com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:942)
    [13] com.solarmetric.kodo.impl.jdbc.ormapping.OneToOneMapping.load(OneToOneMapping.java:147)
    [14] com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:375)
    [15] com.solarmetric.kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:2,035)
    [16] com.solarmetric.kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:720)
    [17] com.europeasap.data.CityMarkup.jdoGetcity (null)
    [18] com.europeasap.data.CityMarkup.getCity (CityMarkup.java:30)
    [19] com.europeasap.logic.CostHelper.getCityMarkup (CostHelper.java:81)
    [20] com.europeasap.logic.CostHelper.computeBasePackageCost(CostHelper.java:289)
    [21] com.europeasap.logic.CostHelper.computeFinalPackageCost(CostHelper.java:246)
    [22] com.europeasap.form.CustomerBookingForm.updateDisplayCosts(CustomerBookingForm.java:1,440)
    [23] com.europeasap.form.CustomerBookingForm.updateCustomizeDisplayInfo(CustomerBookingForm.java:1,407)
    [24] com.europeasap.action.CustomizeTrip.perform (CustomizeTrip.java:68)
    [25] org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1,787)
    [26] org.apache.struts.action.ActionServlet.process(ActionServlet.java:1,586) [27]
    org.apache.struts.action.ActionServlet.doPost (ActionServlet.java:510)
    [28] javax.servlet.http.HttpServlet.service (HttpServlet.java:760)
    [29] javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
    [30] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    [31] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    [32] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    [33]org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
    eNext (StandardPipeline.java:643)
    [34] org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    [35] org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    [36] org.apache.catal

  • Cluster load balancing problems under heavy load.

              Hi,
              I am running 2 WLS 5.1 sp6 application servers on Solaris 7.
              2 Apache 1.3.12/Raven SSL webservers using the Raven proxy (also
              Solaris).
              My problem is this:
              The application appears to be load balancing and replicating
              session information fine under regular load. But when a heavy
              load is put on the system, load balancing seems to stop.
              One of the application servers processes all of the sessions
              while the other is just replicating session info. The CPU
              usage on the server doing all of the work was 60%, and on the
              secondary server it was only 2.5%.
              Do I have something set incorrect? I would think that if load
              balancing works for a small load on the system, it should be
              the same for a large load.
              Has anyone seen this type of behavior before?
              Thanks
              

    1.5G of heap is quite huge. Take a thread dump when you see the slow down.
              Does each clients start a new session and maintain it for the duration of the test.
              There is no property called weblogic.cluster.bindAddr
              -- Prasad
              Nick Barbato wrote:
              > Hi,
              >
              > There are no 'timed out server" messages in the log. I don't think
              >
              > that is the problem because I can see the secondary server
              >
              > replicating session information.
              >
              > It is jdk1.2.2_005a. The java options I am using are:
              >
              > java $THREAD_ARG \
              > -ms1536m -mx1536m \
              > -classpath "$CYGENT_SYS_CP" \
              > -Dweblogic.class.path="$CYGENT_WLS_CP" \
              > -Dweblogic.system.home=$CYGENT_ROOT/runtime \
              > -Dweblogic.system.propertiesFile=$CYGENT_ROOT/runtime/conf/weblogic/weblogic.properties
              >
              > \
              > -Djava.security.manager \
              > -Djava.security.policy==$CYGENT_ROOT/runtime/conf/cygent.policy
              > \
              > -Dcygent.root=$CYGENT_ROOT/runtime \
              > -Dweblogic.cluster.enable=true \
              > -Dweblogic.cluster.name=mycluster \
              > -Dweblogic.cluster.bindAddr=166.37.216.142 \
              > -Dweblogic.cluster.multicastAddress=237.0.1.0 \
              > cygent.Server $CYGENT_ROOT/runtime/conf/
              >
              > Thanks,
              > Nick
              >
              > "Mike Reiche" <[email protected]> wrote:
              > >
              > >I've seen this before - when one WL instance drops out
              > >of the
              > >cluster.
              > >
              > >Look for 'Timed out server' messages in weblogic.log.
              > >
              > >What JDK are you using? What JVM options.
              > >
              > >Mike
              > >
              > >"Nick Barbato" <[email protected]> wrote:
              > >>
              > >>Hi,
              > >>
              > >>I am running 2 WLS 5.1 sp6 application servers on Solaris
              > >>7.
              > >>2 Apache 1.3.12/Raven SSL webservers using the Raven
              > >proxy
              > >>(also
              > >>Solaris).
              > >>
              > >>My problem is this:
              > >>The application appears to be load balancing and replicating
              > >>session information fine under regular load. But when
              > >>a heavy
              > >>load is put on the system, load balancing seems to stop.
              > >>One of the application servers processes all of the sessions
              > >>while the other is just replicating session info. The
              > >>CPU
              > >>usage on the server doing all of the work was 60%, and
              > >>on the
              > >>secondary server it was only 2.5%.
              > >>
              > >>Do I have something set incorrect? I would think that
              > >>if load
              > >>balancing works for a small load on the system, it should
              > >>be
              > >>the same for a large load.
              > >>
              > >>Has anyone seen this type of behavior before?
              > >>
              > >>Thanks
              > >
              

  • Jakarta (IIS/Tomcat) authentication problem under load

    We're having intermittent problems where people are getting prompted for their windows credentials, when they shouldn't be, because we've configured SSO using the Jakarta plug-in to IIS.  It seems to be under periods of system stress.
    I found kb entry [1291801|https://websmp230.sap-ag.de/sap/support/notes/print/1291801], which seems to describe the problem exactly.  But that entry is for XI R2, whereas we're on XI 3.2.  Does anyone know if there are updated instructions on how to fix this for XI 3?  I searched the kb but couldn't find anything else.

    Hi,
    there are much ways to narrow the "security risk" down. As Tim already told that with SP3 we have constrained delegation.
    Other hints are that you deny the SSO User and the Vintella User the logon to other Clients/Server in your Domain. So these Accounts can only be used from the BO Server. I did that often and SSO still works.
    Also you can set a very hard/long Password for the Users because nobody needs to remind that password...except the AD Administrators but they should have something like a password safe for those accounts.
    So WinAD SSO is not really a security leak.
    Regards
    -Seb.

  • Installation problem under AIX 5.3 with Oracle 10g

    Hello,
    I start an installation in AIX 5.3 machine with oracle 10. I install oracle 10.0 and pathes for oracle 10.2.0.2.0. I also install and all the interim patches through MOpatch utility. I also install the latest R3trans and R3load for unicode installation. But i have 4 errors under phase IMPORT ABAP. In this phase 33 packages completed succesfully. I have 4 packages with errors.
    In ImportMonitor.Console.Log i have the following errors:
    Import Monitor jobs: running 1, waiting 4, completed 33, failed 0, total 38.
    Import Monitor jobs: running 2, waiting 3, completed 33, failed 0, total 38.
    Import Monitor jobs: running 3, waiting 2, completed 33, failed 0, total 38.
    Loading of 'SAPSSEXC_4' import package: ERROR
    Import Monitor jobs: running 2, waiting 2, completed 33, failed 1, total 38.
    Loading of 'SAPPOOL' import package: ERROR
    Import Monitor jobs: running 1, waiting 2, completed 33, failed 2, total 38.
    Loading of 'DOKCLU' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 33, failed 3, total 38.
    Import Monitor jobs: running 1, waiting 1, completed 33, failed 3, total 38.
    Loading of 'SAPCLUST' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 33, failed 4, total 38.
    Inside SAPSSEXC_4.log i have the following errors:
    /usr/sap/BEQ/SYS/exe/run/R3load: START OF LOG: 20071130102907
    /usr/sap/BEQ/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
    /usr/sap/BEQ/SYS/exe/run/R3load: version R7.00/V1.4
    Compiled Oct 20 2007 02:05:46
    /usr/sap/BEQ/SYS/exe/run/R3load -i SAPSSEXC_4.cmd -dbcodepage 4102 -l SAPSSEXC_4.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: T512CLU deleted/truncated #20071130102908
    myCluster (63.20.Imp): 655: error when retrieving table description for physical table T512CLU.
    myCluster (63.20.Imp): 656: return code received from nametab is 2
    myCluster (63.20.Imp): 299: error when retrieving physical nametab for table T512CLU.
    (CNV) ERROR: data conversion failed.  rc = 2
    (DB) INFO: disconnected from DB
    /usr/sap/BEQ/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/BEQ/SYS/exe/run/R3load: END OF LOG: 20071130102908
    Under SAPPOOL i have:
    usr/sap/BEQ/SYS/exe/run/R3load: START OF LOG: 20071130102907
    /usr/sap/BEQ/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
    /usr/sap/BEQ/SYS/exe/run/R3load: version R7.00/V1.4
    Compiled Oct 20 2007 02:05:46
    /usr/sap/BEQ/SYS/exe/run/R3load -i SAPPOOL.cmd -dbcodepage 4102 -l SAPPOOL.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: ATAB deleted/truncated #20071130102908
    failed to read short nametab of table AT01                           (rc=2)
    (CNVPOOL) conversion failed for row 0 of table  VARKEY = ã ±ã ±ã °â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  
    (CNV) ERROR: data conversion failed.  rc = 2
    (DB) INFO: disconnected from DB
    /usr/sap/BEQ/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/BEQ/SYS/exe/run/R3load: END OF LOG: 20071130102908
    I read notes 421554 and 898181 i execute the directions from the notes to change the R3load and R3trans.
    Do you have any idea how can i procceed with the errors?
    Thank you in advance
    Thanasis Porpodas

    Hi,
    look at sap note 921593 and search for myCluster ,
    read that section following is a part of that note.
    Symptom:
    During the import into a UNICODE system the following error occurs
    (for example in the SAPCLUST.log):
    myCluster (63.2.Imp): 2085: (Warning:) inconsistent field names(source): physical field K1N05 appears as logic K1N5.
    myCluster (63.2.Imp): 2086: (Warning:) further investigation recommended
    myCluster (63.2.Imp): 1924: error when checking key field consistency for logic table TACOPC    .
    myCluster (63.2.Imp): 1927: logic table is canonical.
    myCluster (63.2.Imp): 1930: received return code 2 from c3_uc_check_key_field_descr_consistency.
    myCluster (63.2.Imp): 1224: unable to retrieve nametab info for logic table TACOPC    .
    myCluster (63.2.Imp): 8032: unable to acquire nametab info for logic table TACOPC    .
    myCluster (63.2.Imp): 2807: failed to convert cluster data of cluster item.
    myCluster: CLU4       *00001*
    myCluster (63.2.Imp): 319: error during conversion of cluster item.
    myCluster (63.2.Imp): 322: affected physical table is CLU4.
    (CNV) ERROR: code page conversion failed              rc = 2
    |
    |                              RSCP - Error
    | Error from:            Codepage handling (RSCP)
    | code:  128  RSCPENOOBJ   No such object
    | Dummy module without real rscpmc[34]
    | module: rscpmm  no:    2 line:    75          T100: TS008
    | TSL01: CPV  p3: Dummy-IPC   p4: rscpmc4_init
    `----
    Cause:
    This problem is caused by incorrect data which should have been removed from the source system before the export.
    Solution:
    There are two possible workarounds:
          1. Modify DDL<dbs>.TPL (<dbs> = ADA, DB2, DB4, DB6, IND, MSS, ORA) BEFORE the R3load TSK files are generated;
                  search for the keyword "negdat:" and add "CLU4" and "VER_CLUSTR" to this line.
          2. Modify the TSK file (most probably SAPCLUST.TSK) BEFORE R3load import is (re-)started;
                  search for the lines starting with "D CLU4 I" and "D VER_CLUSTR I" and change the status (i.e. "err" or "xeq") to "ign" or remove the lines.

  • 9i installation problem on WinXP Professional

    I'm installing Oracle9i on WinXP Professional. The agent
    configuration assistant fails when installing and gives the following:
    Parameter "orahome" = d:\oracle\oracle9i
    Parameter "nodeinfo" = NO_VALUE
    Agent Service Failed
    Any idea what's causing it and how to solve it?

    OK, I have the same problem.
    As a result I don't have a tnsnames.ora file and am trying to config. my ora files.
    i'll paste my current situation below:
    These are questions that i have and I'll copy the
    files below and write my questions above the file.
    this is the error when logging into sql plus with
    scott/tiger and system/manager.
    this is the tnsname.ora file. I had to write it from
    scratch because it wasn't generated and later the #
    Comments were added by Oracle at some point later when
    it was generated during some configuring.
    I'm not sure if targis is my Host. During the process
    the listener file created it so I'm going with it as
    my host.
    I'm including the service name as targis also. i
    think the service name is the global database name so
    i don't think its correct but noticed a similar
    pattern in a fourm.
    How do you find out what the service name is???
    Here is a link:
    http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96580/namingcf.htm#448070
    # TNSNAMES.ORA Network Configuration File:
    C:\OraHome1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    TARGIS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = targis)(PORT
    = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = targis)
    This is my listener.ora file. I added the global
    db_name part after seeing an example. I'm not sure it
    belongs there and once again am not sure about the
    targis part.
    How do you find out what the GLOBAL_DBNAME should
    equal?.
    # LISTENER.ORA Network Configuration File:
    C:\OraHome1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =
    targis)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = targis)     
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\OraHome1)
    (PROGRAM = extproc)
    This is the sqlnet.ora file. I added the names
    default part out of seeing it in another example and
    once again am not sure about the targis part.
    (NAMES.DEFAULT_DOMAIN = targis)
    How do you know what the default domain is?.
    # SQLNET.ORA Network Configuration File:
    C:\OraHome1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DEFAULT_DOMAIN = targis
    NAMES.DIRECTORY_PATH= (LDAP, ONAMES, TNSNAMES,
    HOSTNAME)

  • FireFox 8.0.1 does not work with most sites that functioned with no problems under earlier versions. I wish to uninstall and go back to an earlier version.

    The more I attempt to use FireFox 8.0.1 the more problems I have. I find considerable interference with the functioning of RoboForm, my bookmarks keep disappearing, many sites that worked fine earlier and work fine with the Opera browser do not work under version 8. Where can I download an earlier version of FireFox

    You can [https://support.mozilla.com/en-US/kb/Uninstalling%20Firefox?s=uninstall+firefox&r=0&as=s uninstall] Firefox 8 first before you downgrade to Firefox 7. However, when you uninstall, make sure that you '''don't''' choose the option "'''Remove my Firefox Personal Data'''".
    You can access a list of [ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ Previous Versions of Firefox], however, note that Firefox recommends using the latest version since older version may have security and safety vulnerabilities.
    '''P.S:''' it may be a good idea to create a Restore Point before you uninstall, in case you mess up, in which case you can just restore and start over.

Maybe you are looking for

  • How can I include different DAQ cards (for notebook and PC) in one applicatio​n?

    I want to build one application, which runs on different computers. On PC a DAQ board PCI-6052E and LabVIEW including application builder are installed and work. My program runs. Now I want to build an application, which runs on the notebook without

  • How to e-mail/not e-mail a scheduled report based on records returned

    Hi Everyone, Is there a way that there can be logic performed on a report that has been scheduled and ran before it gets sent via e-mail to the end users?  We have scheduled reports that often end up with 0 records returned but users still get the e-

  • Burning DVD's into itunes?

    Can you burn DVD's into iTunes and if so how do I go about doing this? Thanks

  • How can i send emails from forms

    I need to be able to send emails from forms 6.(assuming the pc is running Outlook) What is the best way of doing this? Would OLE or DDE control of Outlook be the easiest method? If anyone has done this please let me know.

  • Bloom Filter

    I'd like to implement a distributed bloom filter using Coherence. Bloom filter: it is an array of bits (true/false). The size of the array m is determined using the number of keys n we would like to encode. For example, for a given n=16 keys, the siz