Eclipse 3.1.0 debugger is slower

Hi All,
Apparently, I have this problem with my Eclipse IDE when I try to perform debugging. It takes TOO long (significantly longer then usual)
I eliminated all breakpoints and still - nothing helps.
Does anyone have any idea?

This class demonstrates the problem
public class TestCase
public static void main(String[] args)
TestCase testCase = new TestCase();
testCase.runMethod(true, false);
public void runMethod(boolean var1, boolean var2)
if (var1)
if (var2)
System.out.println("Hello 1");
else if (var2)
System.out.println("Hello 2");
else if (var2)
System.out.println("Hello 3");
else if (var2)
System.out.println("Hello 4");
else
System.out.println("Hello 5");
The debugger visits line
System.out.println("Hello 4");
even though it is not executed.
However I just checked my run time settings and I was using the client JVM. When I switched back to the ojvm JVM it worked fine.
Not sure if you would class this as a problem??

Similar Messages

  • Flash debugger Extremely slow

    I am currently using Flash Builder 4 and building my first project with FlexSDK 4 .
    To debug the application I installed the Flash debugger version plugin (v10.1.53.64) for FF  .
    Don't know if there is some parameter I need to set, but it is Extremely (imagine the caps ) slow. Actually I just cannot work this way.
    I have been using the debugger before and it was extremely powerfull and fast. Don't know what the problem is.  I already reinstalled a few times, no luck however.
    Anyone ?
    thx

    I have found the problem.
    When using the default player, it ran as usual (thus fast ....) . Once using the  debugger it became horribly slow.
    Then I started testing right into the folder where the application was deployed. Then I found a missing file.
    However , I thought when copying a file into the src, Flash Builder automatically created a duplicate in the debug folder.  This did not happen and that is why the application locked up (as it could not read the file).
    So what is the proper way to handle missing files programmatically. ?
    thx
    eG

  • Do I have to use Crystal for Eclipse?  Using JRC - Performance is SLOW.

    I have several applications using the JRC to run Crystal from within the application and like many others on here, the performance is unacceptable.  20 minutes to an hour for a 500 page report that runs in under 5 minutes in Crystal itself.  I see most of the recommendations being to use Crystal for Eclipse version 2, which I'm assuming fixes some of these bugs.  However, our applications are not being developed in Eclipse, but in IntelliJ.  If I use C4E, aren't I committing to using Eclipse as a software development platform?  I was using JRC because it was a set of JAR files that I could plug into my existing application.  Any suggestions would be greatly appreciated!!!!
    Mike Brubaker

    Are there examples of code for using the JSF viewer tag for JRC in your application?  I downloaded the new runtime libraries and I'm not noticing much performance improvement.  For example, when the report runs and displays in the viewer, it takes from 40-50 seconds to click the pagination button and go from page 1 to 2 and then 2 to 3, etc.  My users are screaming about wanting a replacement for this technology, but I'm telling them I must have something configured wrong somewhere.  The Crystal report running in plain old Crystal is fast, so it's not the database query or anything like that.  In addition, when I click the export to PDF button, it takes as long to export it to PDF as it did to run the report initially and bring it up in the viewer.  HELP!!!  Thanks for any feedback you can give me, I'm baffled. 

  • Eclipse/netbeans IDE way too slow after 10.9 OS update

    After updating to 10.9 eclipse and netbeans have become too slow. Netbeans takes around 10-15 mins to start, eclipse is better than that but is again too slow compared to what it was before upgrading to 10.9. Slowness is not only in startup but also in all of its operations.
    I updated to 10.9.1 too, but I dont see any changes in the loading time for these IDEs, they are still too slow.
    Have anyone faced this issue ? Any possible solutions ?
    Thanks

    No one else facing this issue ?

  • "UnsatisfiedLinkError:  make_statement" when run in debugger

    I have a problem retrieving a ResultSet from a REF CURSOR --
    apparently due to the JVM failing to locate requisite
    native code within Oracle.
    The problem is not in the code itself, but somewhere in the
    configuration / environment / debugger. I conclude this because
    the application runs perfectly outside the debugger (and
    has, for years).
    It fails only when the JVM attempts to locate a native method
    within Oracle, when running the application from an Eclipse debug
    launch configuration within the (newly acquired) Eclipse 3.0.1 debugger.
    I should mention that we also very recently upgraded to Oracle 9i.
    Therefore, I conclude the problem must be some kind
    of runtime classpath / library search path mis-resolution,
    or a java / oracle client code mis-match.
    But I cannot find the cause.
    WHAT I'VE ALREADY CHECKED / TRIED:
    (1) I have quadruple-checked the jar list within the 'Classpath'
    tab of the Eclipse's debug launch configuration dialog -- the
    classes12.jar, etc. are those we've been using successfully in
    the past.
    (2a) Rather than rely on the system Path variable, I resorted to
    explicitly specifying the -Djava.library.path as a VM option within
    the 'Arguments' tab of the same dialog, as well. The library search
    list specified within the Eclipse debug launch configuration is
    identical to the system Path variable used when the application
    is run outside the debugger. The behavior is the same regardless
    of whether -Djava.library.path is specified in the debugger, or not.
    (2b) I have modified the -Djava.library.path value specification
    with forward slashes rather than backslashes as file separators
    -- it made no difference. I also eliminated newlines -- it made
    no difference, either.
    RELEVANT ENVIRONMENT:
    WindowsXP
    WebLogic 6.1
    Oracle 9i (recent upgrade to this version; the Oracle server is installed)
    Eclipse 3.0.1
    OCI JDBC Driver
    THE CODE:
    theStatement.registerOutParameter (1, oracle.jdbc.driver.OracleTypes.CURSOR);
    if (inArgs != null)
    setInputFields ( theStatement, inArgs.iterator(), 2);
    theStatement.execute();
    // THROWS 'UnsatisfiedLinkError' FROM THIS LINE:
    theResultSet = (ResultSet) theStatement.getObject ( 1 );
    Enumeration returnItems = parseResults ( theResultSet );
    theStatement.close();
    THE ERROR THROWN:
    java.lang.UnsatisfiedLinkError: make_statement
    at oracle.jdbc.oci8.OCIDBAccess.make_statement (Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.RefCursorBytesToDBStatement(OCIDBAccess.java:2373)
    at oracle.jdbc.driver.OracleStatement.getCursorValue(OracleStatement.java:3670)
    at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5792)
    at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5622)
    at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:698)
    at appA.common.ADBInterface.executeQuery(DBInterface.java:323)
    at appA.common.AEvent.initialize(AEvent.java:233)
    at appA.agent.mainDlg.main(AgentDlg.java:759)
    THE LIBRARY SEARCH PATH:
    (The same path is specified as the value for both as the system Path variable,
    and as the -Djava.library.path JVM argument.)
    -Djava.library.path="C:\oracle\ora92\bin;
    C:\oracle\ora92\jre\1.4.2\bin\client;
    C:\oracle\ora92\1.4.2\bin;
    C:\Program Failes\Oracle\jre\1.3.1\bin;
    C:\Program Files\Oracle\jre\1.1.8\bin;
    C:\Windows\system32;
    C:\Windows;
    C:\Windows\system32\wbem;
    C:\Program Files\appA\bin"
    ODD THING / CLUE?
    Strangely, if I simply move the 'C:\oracle\ora92\bin' directory later
    in the Library Search Path, the application continues to run
    fine outside of Eclipse, but from within Eclipse,
    the JVM now fails to locate the requisite ocijdbc9.dll and the
    application produces a different error:
    "java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path"
    The ocijdbc9.dll is present within C:\oracle\ora92\bin, so I would
    have expected the JVM to still be able to find it, despite simply
    moving the directory later in the search path.
    This must surely be telling me something I am simply too dense /
    distracted to pick up on.
    I cannot determine why the JVM fails to locate the make_statement
    native method when run from within the Eclipse debugging environment.
    Should I be looking at version changes to the classes12.jar attendant
    to the Oracle 9i upgrade?
    Any clues or help out there?
    ... KBaldwin

    Answering my own question:
    YES, it was correct to suspect a mis-match between the version of the Oracle jar files used to generate the class files and the Oracle .dll libraries.
    It turned out a buddy in the group changed the debugger configuration to use a special directory containing all the third-party jar files the app depends upon, for convenience. Unfortunately, he somehow picked up an old version of one of those jar files (classes12.zip) that came from some pre-Oracle 9i installation. Once I updated the directory to contain the Oracle 9i version of that jar file, the JVM was now able to locate the requisite code at run-time, and the debugger worked.
    Now the only mystery is why the hell the app ran fine outside the debugger, but I suspect the launch command is running a different application jar / class file set that was not built with the bogus old classes12.zip.

  • Does Firefox 4 support remote Javascript debugger?

    I have used ChromeDevTools Eclipse plugin and V8 debugger protocol for remote Javascript debugging with Chrome browser.
    Does Firefox 4 support remote Javascript debugger?
    If then, is there a client tool like ChromeDevTools plugin?
    Thanks in advance.

    Symantec have made an update for their add-ons to work in Firefox 4, but they only listed them as compatible with Firefox 4.0, they need to update them to let them work in Firefox 4.0.1. For details see http://community.norton.com/t5/Norton-Internet-Security-Norton/Norton-product-compatibility-with-Firefox-Updates/m-p/443808

  • Eclipse maven multi module project issues

    Most developers I know moved on to IntelliJ for just one reason: better support for development and reload/hot deployment of multi module maven projects and its resources. All of these problems keep happening in the case of nested/hierarchical multi module maven projects which is >90% of maven use cases:
    1. Every time a multi module project is imported, sometimes there are both referenced libraries and maven dependencies in some projects. We have to manually remove referenced libraries from appearing. How can stop this from happening?
    2. Changes made to resource updates are not always refreshed and require full clean, using eclipse:clean eclipse:eclipse commands and even a maven project refresh using Alt+F5? Why should we do this and not let Eclipse figure out what's wrong? Also, Eclipse updates to dependency projects are slow when fixing any compile time issues from dependencies.
    3. Maven sometimes import dependency projects and its resources into its classpath and sometimes imports final artifact or jar from local repository as its dependency. This is a major problem just because jars excludes specific resources, say, from its src/main/resources. Is there a way in Maven to ask it to use resources of final artifact or exclude files that are not part of the its dependency packaging, typically excluded in the the dependent pom by <exclude>resource... without manually updating classpath?
    4. When deploying a multi module project to an Eclipse Tomcat container, resources are not deployed randomly. Say a dependency src/main/resources has dep1-config.xml and you want to specify a custom file dep1-config.xml runtime, there is currently no way to say override from the main project being deployed or from custom folders added to classpath of project being deployed. Guess this is a problem with the container classloader and not really a maven issue.
    5. There isn't a single multi module project deployment tutorial with best practices of managing classpath resources anywhere.
    How hard is it to make a stable maven support just like IntelliJ?

    Please do not use the maven-eclipse-plugin (mvn.eclipse:eclipse) and m2e simultaneously, they're not very compatible. Instead, when issues happen, clean your project in the m2e way, using the "Maven > Update configuration" context menus on your project(s).

  • 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

  • Debug ejb

    I want to debug ejb with weblogic. I use eclipse2.1 as IDE. I can run
    myEjbTestCase correctly in running mode. I can start Weblogic in debug mode
    correctly.
    But when I add a breakpoint when in Weblogic in debug mode, I got error:
    Attempping to install a breakpoint in the tpye of myEjbTestCase that has
    no line number attributes. The breakpoint can not be installed. Class file
    must be generated with line number attribute.
    Reason:
    Absent line number information.
    Looking forword to your comment.
    Stephen

    Hm, this is JVM debugger too slow, not JDeveloper. JDev is just a wrapper for standard debugger.
    null

  • Escaping sql quotes manually. (replace function)

    I can't get a simple replace to work and am surprised at myself.
    How do I replace every occurrence of either a 'single or "double quote with a backslash+quote (\' or \")?
    (I need it for mysql escaping of selects. Before you jump that prepared statements do it, yes but Jboss-ejb does not, and I don't know how to tell jboss to do so.)
    Anyhow this is a basic Java question, I tried the following to no avail:
    public static String escapeMySqlSelect(String s){
         if ((s.indexOf("\"") >=0) || (s.indexOf("\'") >=0)) {
              s = s.replace("\"","\\\"");
              s = s.replace("\'","\\\'");
              return s;
    }Whatever I try as the second argument for the replace, I get 1 of the following:
    1) Same as original string.
    2) TWO backslashes+quote.
    3) A red-flag from Eclipse with some obscure error message. (Won't compile.)
    Thanks
    -nat

    Further research;
    Jboss automatically escapes the string internally (likely via prepared statement), therefore causing a problem if I also escaped it. BUT, I have yet to figure out exactly when it does so.
    [And this threw me off completely ]There is definetly a BUG in ECLIPSE's (3.1) debugger!
    The 'variables ' panel does not show the true value of the returned string. In other words, a println of the returned string will DIFFER with what the debugger is showing as the value.
    Anyone with Eclipse can try it; with or without j2ee.
    -nat

  • Preformance issue with JAVAC

    I have seen a considerable performance degradation when running multiple instance of javac.
    Actually I was running a javac ant task and at the same time I do a build all for the same project (codebase) using eclipse IDE.
    It is dead slow; normally it takes 5 min to execute the ant task which is now taking around 1 hr.
    Same is the case with eclipse.
    Is this a known issue? If not, can someone file a bug with Sun in order to get it fixed?

    A slowdown that big is most likely caused by paging. Use the tools for your O/S to see if that's the case. If so close some other apps, have the builds use smaller java heaps, buy more memory, or do just one at a time :-).
    -John

  • Weblogic 9.2 server and remote debug

    Hi,
    How do you modify the weblogic server startup script so that Eclipse (3.3) remote debugger can be attached to?
    Thanks

    set debugFlag=true and start your weblogic.
    look in setDomainEnv.cmd for the default DEBUG_PORT.

  • OMG, When Did This Happen?

    Okay, lemme just say right now that what has me so fired up is that my lappy (2 GHz AMD Sempron single core, 512 MB RAM) is running KDE 4. Responsively. I never thought that would be possible.
    That said, was memory usage in KDE 4 really trimmed that much? htop shows... 266 MB RAM in use (by userspace applications) and 103 MB swap in use. I'm typing this post in Firefox, while Filezilla is transferring my 14 GB music library (I just did a new installation, so I have to get my music library from my arch desktop), pacman is downloading several hundred megabytes of Sauerbraten, and Amarok is playing some of the songs that Filezilla already transferred. The only thing remotely slow is my wireless connection (which is a BCM4312 that I was able to set up with only one trip to a working Arch box to get the firmware).
    Will this slowly slow down, or will I always be able to get away with running KDE 4? I know it'll bog down when running Eclipse, but then again, the aforementioned working Arch box (with a 2.4 GHz dual core processor and 4GB RAM) bogs down while running Eclipse. OpenOffice is alwaysa bit slow too.
    Last edited by arew264 (2008-11-09 03:23:14)

    arew264 wrote:Okay, lemme just say right now that what has me so fired up is that my lappy (2 GHz AMD Sempron single core, 512 MB RAM) is running KDE 4. Responsively. I never thought that would be possible.
    That said, was memory usage in KDE 4 really trimmed that much? htop shows... 266 MB RAM in use (by userspace applications) and 103 MB swap in use. I'm typing this post in Firefox, while Filezilla is transferring my 14 GB music library (I just did a new installation, so I have to get my music library from my arch desktop), pacman is downloading several hundred megabytes of Sauerbraten, and Amarok is playing some of the songs that Filezilla already transferred. The only thing remotely slow is my wireless connection (which is a BCM4312 that I was able to set up with only one trip to a working Arch box to get the firmware).
    Will this slowly slow down, or will I always be able to get away with running KDE 4? I know it'll bog down when running Eclipse, but then again, the aforementioned working Arch box (with a 2.4 GHz dual core processor and 4GB RAM) bogs down while running Eclipse. OpenOffice is alwaysa bit slow too.
    512 is easily enough to run kde4 fluently. And yes, kde4 *should* be lighter than kde3 was, even if the installation itself is larger.

  • Poor linux support of Jdev 9.0.3

    I am not sure why JDev 9.0.3 has such poor support for linux . In the docs it says that the profiler and
    code coach only works in windows and the debugger runs slow in linux.
    I dont understand this since the JDev is written in Java then what is the issue.
    I thought Oracles commitment to Linux was serious. I am moving my Dev Env to linux
    and if JDev has such poor support for linux I may have to look at another IDE.
    thanks
    Sarwar

    The profiler and code coach require the Oracle Java VM (which is currently only available on Windows, but we're working on it).
    The debugger is slower against hotspot than our own VM (so debugging on Linux will be slower no matter which IDE you use).
    You can profile a VM running on Windows from your Linux IDE (which is what I normally do).
    Hope this helps,
    Rob

  • Remote debug midlets w/ WTK 2.1

    Hi,
    i am encountering strange problems when trying to remote debug a MIDlet.
    I started the WTK emulator with ANT with correct settings. I connect my IDE
    in a remote Debug session to the Emulator. The emulator receives the
    connect and starts the application.
    So far, everything is fine. But when i set breakpoints, the MIDlet wont stop. I
    dont get any information in my debugger, other than "session connected".
    No Frameinfo or any other stack messages.
    Anyone allready tried that and succeeded?

    I have been having a similar problem. Have you tried setting a breakpoint on the very first line in your application immediately inside the Midlet subclasses' constructor and seeing if the application will break there?
    I find that my remote debugger (IntelliJ) can connect and it will break very early on in the program, but as I travel through the program either by stepping or running, the debug session will hang at some random place - generally failrly early in the application. I usually only get a couple of methods into the program before the debugging gives up, so this might cause the effect you were seeing.
    I'm not sure of the fix yet - I was thinking of trying increasing the memory on the emulator and if that doesn't work then using Eclipse as the remote debugger. What IDE are you using?

Maybe you are looking for