Debugging in Eclipse

Hi
I am using ANT in Eclipse for sompiling of project. The project including set of servlets and jsp files.
How I debug the project?

When I'm trying to debug the project (with Debug->Java Application) I receive Error: Cannot connect to VM.
I use Eclipse 3.0.0
JDK 1.5
j2sdk 1.4.2_04
How i resolve this problem?

Similar Messages

  • Debugging using Eclipse and non-standalone 10g

    Hey - is it possible to perform remote debugging using Eclipse against the non-standalone version of the 10g App Server? I've tried some of the hints listed in this forum (the most promising seemed to be starting oc4j using this command-line command:
    java -classic -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=2727 -jar oc4j.jar, then connecting with the Eclipse debugger, which I managed to do - though I had to change one of the parameters because the designated file [a timezone file] could not be found - after the change things seemed to start up correctly. However, when I tried to hit http://localhost:2727 I got a "server not found or DNS error"). I don't know if the debugging works with the non-standalone version of 10g or not... or if I should be using some other startup command so hopefully y'all can help :)
    Thanks,
    Scott

    Scott, apparently you have fallen pray of one of the most common misunderstandings of oc4j. Oc4j, namely, Oracle Application Server Container for j2ee, is a COMPLETE j2ee server. It supports http and https by itself. It is also an ejb container and a lot more. It can be used as a standalone or, with a different configuration, integrated into Oracle Application Server as its core component.
    When you use the command "java -jar oc4j.jar ...", you are starting an instance of "standalone oc4j" or "oc4j standalone" as mentioned above, albeit from an OAS installation. In contrast, you can start one instance of Oracle Application Server by "<ORACLE_HOME>/opmn/bin/opmn startall", which will starts, besides several other components, one or several oc4j processes as its oc4j component. This OAS is an HTTP server that takes initial requests and routs the requests that are for OC4J to OC4J server. It may handle some of the requests by itself, or routs other http requests to other components, like mod_plsql. Finally, what we usually called "farm" is a collection of OAS clusters and instances that share the same OAS Infrastructure.
    What I have written is just a tiny mini introduction of the OAS. For starters, oc4j is for use by development and small-medium scale production deployments. Plese take a look at the book "Oracle Application Server Containers for J2EE Standalone User's Guide" and then, "Oracle Application Server Concepts". You can find them by
    1. go to http://otn.oracle.com
    2. select "documentation" pull-down menu and then "application server"
    3. go to the first "view library" or the one suits you.
    4. view the "Oracle Application Server Concepts"
    5. or go to "List of All Books" and you will see all of them!
    Well, the best place to self-teach oc4j is, besides googling with site:oracle.com, the oc4j homepage,
    http://www.oracle.com/technology/tech/java/oc4j/index.html
    The above is written in case you need more information. Now let me come to your specific questions.
    1. how to hit the OC4J instance directly, bypassing an HTTP server entry?Since what you started is an oc4j standalone, it does not make any sense to say "bypassing an HTTP server entry". Oc4j instance itself IS an http server. To access its http service, try
    http://<yourHostNameOrIP>:<httpPort>/<yourAppWebContextRoot>
    where the httpPort and yourAppWebContextRoot can be found in default-web-site.xml or http-web-site.xml. Which one or other web-site.xmls are effective is determined in <OC4J_HOME>/config/server.xml. Here the OC4J_HOME refers to your "C:/OraHome1/j2ee/home".
    2. how to get the HTTP server started via the command-line startup?As said above, you already got an HTTP server running.
    What I suggest for you is to play with oc4j standalone. You can come to OAS later:
    1. download oc4j standalone distribution, "Oracle Containers for J2EE 10g (10.1.3) Developer Preview 3", from here "http://www.oracle.com/technology/software/products/ias/preview.html"
    2. unzip the downloaded file. What you get is basically the same to a part of your existing "C:/OraHome". Go to j2ee/home. Run
    java -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=3301 -jar oc4j.jar
    Make sure you are using java 1.4.2 sdk.
    3. "new" your remote debugger from Eclicpse and specify the hostname and port 3301.
    4. http://<yourHost>:8888/
    A further note: to debug jsp's, you can use Jdeveloper that allows you to set debug points directly in a jsp that is running in its embeded oc4j server.

  • Remote Debugging w/Eclipse Transport Error

    I am requesting help on a problem I am encountering using remote debugging with eclipse and Weblogic 8.1.2. I have successfully used remote debugging in the past with other application servers, but I have been unsuccessful with Weblogic 8.1.
    I have set the remote debugging options both on the weblogic start script as well as configured eclipse to connect to the port that was defined in the startup script (See Below). When I start the remote debugger within eclipse and it seems to connect properly. Once I set a break point or remove a break point, weblogic generates a "Transport error, error code = -1" and stops the debugger with in Eclipse.
    At this point I am at a loss of what is causing this error. I would appreciate any help on this issue.
    Operating System: WindowsXP Pro
    Weblogic Version: 8.1.2
    Eclipse 3.2
    JDK 1.4.2
    JAVA_OPTS: =-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n
    Thanks!
    Rafael Salazar

    Interesting. I tried it and it works. you might want to check your Eclipse port number. In addition try netstat -a to see if port 1044 is active.
    This one might also help: http://www.jacoozi.com/index.php?option=com_content&task=view&id=119&Itemid=134
    Let me know if you have any questions.

  • Debugging with Eclipse Plugin using Weblogic 6.1

    I am having a problem debugging using Eclipse 2.1 and the weblogic server plugin
    provided by this site.
    If I start the server and run the application everything works fine.
    If I put a breakpoint into my code and then run the application I do not see the
    application breaking at all. I am in debug view of Eclipse. The browser just
    hangs and will not respond. I can take the breakpoint off and refresh the browser
    and it works fine again.
    Do I need to have anything special in a configuration file for weblogic to enable
    debugging ?
    Do I need to start the JVM with any special parms. I am currently using the following
    startup options. I have tried a number of configurations on the startup options
    and nothing works.
    -hotspon
    -ms64m
    -mx256m
    -Xdebug
    -Djava.compiler=none
    -Xnoagent
    -Dweblogic.ProductionModeEnabled=false
    I am using Weblogic 6.1 and JDK 1.3.1_09
    Thanks in advance for any help...

    Mark,
    Please post this in the weblogic.developer.interest.general newsgroup
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Mark Hartnett" <[email protected]> wrote in message
    news:3f57a4a3$[email protected]..
    >
    I am having a problem debugging using Eclipse 2.1 and the weblogic serverplugin
    provided by this site.
    If I start the server and run the application everything works fine.
    If I put a breakpoint into my code and then run the application I do notsee the
    application breaking at all. I am in debug view of Eclipse. The browserjust
    hangs and will not respond. I can take the breakpoint off and refresh thebrowser
    and it works fine again.
    Do I need to have anything special in a configuration file for weblogic toenable
    debugging ?
    Do I need to start the JVM with any special parms. I am currently usingthe following
    startup options. I have tried a number of configurations on the startupoptions
    and nothing works.
    -hotspon
    -ms64m
    -mx256m
    -Xdebug
    -Djava.compiler=none
    -Xnoagent
    -Dweblogic.ProductionModeEnabled=false
    I am using Weblogic 6.1 and JDK 1.3.1_09
    Thanks in advance for any help...

  • Remote debug on Eclipse

    Hi,all
    I'm using eclipse 3.1.1 to debug a servlet deployed on sjsas7 2004Q2, the os is windows. The only connect type on eclipse is Standard(Socket Attach), so I set the debug options in sjsas is:-Xdebug -Dnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=1234,suspend=n,
    When I use debug in eclipse, it connect to sjsas successfully.
    But there's and appservd.exe application error, if I set a breakpoint in eclipse and the sjsas restarts.
    I appreciate anyone tell me how to solve this problem or how can I use shared memoy type in eclipse remote debug?
    Thanks alot

    Hi,
    I am also facing this problem in debug mode in Eclipse 3.1.1 .
    We are trying to run a huge JNI call to an exe which makes use of
    win32 and mfc dlls . please help . is it possible to make jni calls from java program in eclipse . am not getting any exceptions but the .exe file is not running . any help would be great ...
    email : [email protected]
    FATAL ERROR in native method: No transports initialized
    Invalid listen port number: localhost:2429
    Transport dt_socket failed to initialize, rc = -1.

  • JSP Debugging with Eclipse 3.2 WTP

    I am using OC4J 10.1.3 Standalone and the latest version of Eclipse WTP. Has anybody been able to debug JSP pages with this configuration? I have found a few references to getting remote debugging to work using JDeveloper, but nothing regarding WTP.
    I have tried setting the debug <init-param> to class, but the breakpoints are not hit when starting the server in debug mode. I have also set the debug_mode and emit_debuginfo init parameters to true. The development attribute in the orion-web-app element is set to true.
    I have tried starting OC4J using the following command:
    java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000 -jar oc4j.jar
    and then debugging through Eclipse using a Remote Java Application launcher and connecting to port 4000. Again, no breakpoint is hit even though Eclipse does connect ok to port 4000.
    I am trying to debug a simple JSP named index.jsp with a breakpoint on the line <% out.print("Hello, World!"); %>. Nothing fancy.
    Do I need to use the JspOjcCompiler compiler even though I am not using JDeveloper? I was not able to get this compiler to work. It was failing with the _index class not found.
    Thanks,
    Dave

    Hi, I didn't get an email notifying me of a response to this. Just happened to check myself.
              But basically you want to point the weblogic server directly to your workspace (src code) so it can detect a change. THis is from our doc below. You may also write an ant script specific to weblogic that redeploys the app and reloads the xml and prop files without restarting the server.
              1.     Start up your Weblogic domain server (i.e., C:\Domains\devDomain\startWebLogic.cmd).
              2.     Go to url, http://localhost:7001/console and log in (weblogic, weblogic).
              3.     On the left menu, click Deployments, then Lock & Edit button above it, and then the Install button in the main panel.
              4.     Change the location to the web folder in your project workspace (C:\Eclipse\workspace\<projectname>\web) Click Next.
              5.     Leave checked the Install this deployment as an application and click Next.
              6.     Put name for Name of deployment. . From here you can click Finish.
              7.     Click Activate Changes. Then check the deployment box and click Start button and Servicing all requests (in Deployments panel). Then click Yes to start it on the next page
              8.     Enter the URL of the application. This example is
              http://localhost:7001/web/index.htm
              The ?web? was the name of the web folder we deployed from. In the future you could name this something different if deploying from this console so the url?s do not conflict.
              Edited by mwooten77 at 01/18/2007 9:34 AM
              Edited by mwooten77 at 01/18/2007 9:35 AM

  • Debugging in Eclipse 3.2

    I have put a break point in my code and execute this using the DEBUG in eclipse.
    The Debug Text is not appearing on the top right hand corner where 'Java' is displayed and its not going into Debug.
    Have I overlooked anything?

    Got the debug.

  • Unable to debug in Eclipse 3.0 with Tomcat5.0

    Hi there,
    Not sure, if this is the right place for this query. I'm using Tomcat 5.0 as local development server and use Eclipse Platform IDE Version 3.0. For sometime I've been facing this weired problem. When I put a breakpoint in a servlet generated by jsp, a new window opens up in the debug mode saying
    "Source not found for issuePolicy_jsp._jspService(HttpServletRequest, HttpServletResponse) line: 109" For some existing jsp's it works fine, but for some I get this problem. I've not been able to figure out this arbitrate behavior.
    Please help me out. Thanks in anticipation.

    Any idea, anybody?

  • Error while debugging in eclipse

    public static void main(String[] args) throws java.io.FileNotFoundException,
          java.io.IOException,
          java.lang.InterruptedException {
        fileName = new String(args[args.length-1]);
        // set up the parser and scanner with the appropriate file
        // name
        FileReader aslFile = new FileReader(fileName);
        NolifeScanner scanner = new NolifeScanner(aslFile);
        NolifeParser parser = new NolifeParser(scanner);hi all,
    I am debugging a java program in Eclipse 3.2.1 in debug perspective.
    When I'm just running the program it's fine. But when I'm launching the debugger, and trying to step into the NoLifeParser() it stops and shows me the error message like this:
    ClassLoader.class
    Source not found
    The source attachment does not contain the source for the ClassLoader.class
    You can change the source attachment by clicking Change Attached Source below:
    BUTTON
    and then the source code for ClassLoader class.
    Please help, I'm struggling =(
    Thanks in advance,....!!

    This NolifeParser is some third party package, right? Do you have the source, I mean do you have in your project the file NolifeParser.java?

  • Cannot debug from Eclipse (Mac OS 10.7, Drive 3.01)

    I piggy-backed this on another discussion three days ago, but perhaps creating a new thread will get more attention.
    I recently downloaded the Adobe Drive 3 SDK and am having problems debugging the sample connectors from Eclipse.  I've followed all of the instructions in the documentation, but no matter what I try I cannot get my built connectors (both basicftp and helloworld) to show up when I try to initiate a connection in Drive 3.01.
    I am definitely checking (selecting) the bundles for these two samples in the run configuration, as well as all the dependant bundles ("Validate Bundles" passes successfully).  In the console, if I type 'ss' I see both of the samples listed as ACTIVE.  I launch Drive after I see them as active.
    I tried typing 'csstat' in the console but that does not seem to be a recognized command (per the documentation).
    When I launch Adobe Drive 3.01 I only see the two out-of-the-box connectors (DAM and CMIS).
    If I do a proper build and export to the CS5ServiceManager directory, they do show up in Adobe Drive.  However, I really need to be able to run from within Eclipse to debug.
    I've followed the troubleshooting steps and killed the CS5ServiceManager and Adobe drive processes using Activity Manager (I'm on a Mac OS 10.7 Lion) and also deleted the 'data' folder, rebooted, no luck.
    I even tried doing a clean installation of everything on another machine, and had the same problem.
    Please help or suggest something else to try.  Thanks!

    Thanks so much for the suggestions.
    I haven't tried the 32 bit JVM yet, but your comments got me thinking about which bundles I have selected in my run configuration.  When I first tried selecting ALL bundles, I got an error when launching:
    The bundle could not be resolved. Reason: Missing Constraint: Import-Package: com.adobe.versioncue.serialization; version="0.0.0"
    To correct that, I had gone back to the run configuration, cleared all bundles, and pressed the "Add Required Bundles" button.  This only added a small subset of all bundles, but got rid of the validation error.
    I now went back and selected all bundles, despite the validation error, and now I am successfully able to launch the sample.basicftp bundle from Eclipse on one of my two machines.  The other one doesn't work, and when I go type 'ss' I see one of the bundles seems to get stuck in the STARTING state:
    com.adobe.csi.bootstrap_2.0.0.201003221714
    I can probably continue working with my one working machine, but something still doesn't seem right.
    1)  Should I be seeing that "Missing Constraint" error above?  If not, then where do I find the bundle that it is looking for?
    2)  Any idea why the com.adobe.csi.bootstrap is getting stuck in the STARTING state.
    Once again, thanks so much for your help!

  • Remote Debug in eclipse

    Hello!
    I am new to eclipse...Can someone tell me how to use remote debug? I thought it is done by running "Debug..." after selecting the java file...Sorry for being so ignorant about this...I will really appreciate your help. Thank you.

    You do not have to have a main() method in the application. In fact you can have a breakpoint in any Java component. It just has to be in debugger's scope and it'll get visited.
    Example: Let's say you're rinning a Tomcat app. You can have a breakpoint inside a servlet's doGet() methof and when you invkoke the servlet from Firefox, Eclipse will pause the excution and will bring the debugger perspective up.
    From the article "Eclipse Debug window should automatically pop-up with the stack pointer on your first breakpoint (See Figure 3: Breakpoint hit in Eclipse's debugger). After that, you can use all the various functions that the debugger has to offer, namely variable assignments, step-into, drop to frame, etc."
    If you're not seeining anything, chances are that you're not executing that piece of code. Double check that and let me know.
    Levent Gurses

  • Why the ScrollDemo sample can not be debugged in Eclipse?

    Hi, All,
    I am an newer of the Swing/JFC. When I debugged the ScrollDemo in Eclipse 3.0.2, it always reported an exception at setRowHeaderView(...). But it could run perfectly. So I am confused. Who can tell me whether it is a bug of Eclipse or a bug of the ScrollDemo sample?
    Thanks,
    Terry Nee

    The debug window displays:
    Thread [DestroyJavaVM] (Running)
    Thread [AWT-Shutdown] (Running)
    Thread [AWT-Windows] (Running)
    Thread [AWT-EventQueue-0] (Suspended (exception ArrayIndexOutOfBoundsException))
         JViewport(Container).getComponent(int) line: not available
         JViewport.getView() line: not available [local variables unavailable]
         JViewport.getViewPosition() line: not available [local variables unavailable]
         MetalScrollPaneUI(BasicScrollPaneUI).updateColumnHeader(PropertyChangeEvent) line: not available
         BasicScrollPaneUI$Handler.scrollPanePropertyChange(PropertyChangeEvent) line: not available
         BasicScrollPaneUI$Handler.propertyChange(PropertyChangeEvent) line: not available
         PropertyChangeSupport.firePropertyChange(PropertyChangeEvent) line: not available
         PropertyChangeSupport.firePropertyChange(String, Object, Object) line: not available
         JScrollPane(Component).firePropertyChange(String, Object, Object) line: not available
         JScrollPane.setColumnHeader(JViewport) line: not available
         JScrollPane.setColumnHeaderView(Component) line: not available
         ScrollDemo.<init>() line: 55
         ScrollDemo.createAndShowGUI() line: 114
         ScrollDemo.access$0() line: 105
         ScrollDemo$1.run() line: 128
         InvocationEvent.dispatch() line: not available [local variables unavailable]
         EventQueue.dispatchEvent(AWTEvent) line: not available
         EventDispatchThread.pumpOneEventForHierarchy(int, Component) line: not available
         EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
         EventDispatchThread.pumpEvents(int, Conditional) line: not available
         EventDispatchThread.pumpEvents(Conditional) line: not available
         EventDispatchThread.run() line: not available [local variables unavailable]
    Thread [Java2D Disposer] (Running)

  • Problem with debug servlet Eclipse 3 tomcat 5

    I have configured Eclipse 3 with Tomcat 5.0.28 and tomcatPulginV3
    but, I have problem to debug my servlet
    I have error message
    help me it is urgent
    Failed to connect to remote VM. Connection refused.
    java.net.ConnectException: Connection refused: connect
    java.net.PlainSocketImpl.socketConnect(Native Method)
    java.net.PlainSocketImpl.doConnect(Unknown Source)
    java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    java.net.PlainSocketImpl.connect(Unknown Source)
    java.net.Socket.connect(Unknown Source)
    java.net.Socket.connect(Unknown Source)
    java.net.Socket.<init>(Unknown Source)
    java.net.Socket.<init>(Unknown Source)
    org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:47)
    org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:103)
    org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:131)
    org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:75)
    org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
    org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
    org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
    org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)Thanks

    Check your packages which you are importing....

  • Debugging with Eclipse CDT

    Hi,
    I've successfully configured the CDT to point to Flascc toolchain and it actually produces a 3.0 MB air executable (yay). (Though I don't know how to replase O3 switch with -O4 switch and also don't know how to change the name of the output file to Out.swf in case of -emit-swf. help/hints appreciated)
    I tried to configure flascc gdb with CDT (local app debugging) but failed. Can anyone tell how to configure CDT to debug swf files ? Local, attached or remote debugging, anying please ? I am using Mac OSX.

    I was once able to get FlasCC gdb working within Eclipse on a Mac.  I'm not sure if that will work with an AIR executable.
    These were the rough instructions of how I got debugging setup.  Your mileage may vary and you may need to make some changes based on how your project is setup.
    When debugging using FlasCC GDB you need to set an environment variable called FLASCC_GDB_RUNTIME that points to the application to launch the SWF with. This will either be a standalone Flash Player Debugger or a browser that has a Flash Player Debugger plugin.
    To set this variable in Eclipse:
    Right Click the Project > Properties
    C/C++ Build > Environment
    Click Add
    Name: FLASCC_GDB_RUNTIME
    Value: /Users/path/to/runtimes/player/11.1/mac/Flash Player Debugger.app
    Next create a new debug configuration:
    Click the "Green Bug Button Down Arrow"
    Click Debug Configurations...
    Create a new "C/C++ Attach to Application" configuration
    Set the "C/C++ Application:" field to your SWF using the Browse button
    Select the Debugger tab
    Change the "GDB debugger:" field to point to the gdb in your alchemy build using the Browse button
    Click Debug
    Click New...
    Select the SWF file
    At this point the debugger view should take over and show what appears to be a source not found error. Ignore this error by pressing the green continue button.You should now be broken at main.If you are using Windows you may need to add a path mapping so CDT knows how to map /cygdrive/c/ style paths to native C:/ style paths:
    In your Debug Configuration go to the Source tab
    Click Add...
    Choose Path Mapping and click OK
    Click Add
    Set the Compilation Path to the Cygwin style path to your source drive (/cygdrive/c/)
    Set the Local file system path to the Windows style path to your source drive (C:/)
    Note: Recent versions of Eclipse may have broken this workflow, so you may need to try an older build of Eclipse.
    Note: Debugging is not supported on projector executables, only on SWFs running in the standalone Flash Player Debugger or in a browser that has the Flash Player Debugger installed.

  • Remote Debugging w/ Eclipse and Weblogic

    Hi,
              I'd like to debug my Servlets/EJB's running on a Weblogic 6.1 SP4. My
              IDE is Eclipse 2.1
              To enable remote debugging I start Weblogic with that additional JVM
              options:
              -classic -Xdebug -Xnoagent
              -Xrunjdwp:transport=dt_socket,address=5000,suspend=y,server=y
              and configured my Remote Application in Eclipse accordingly.
              The connection successes.
              Problem: When I reach my breakpoint, Eclipse pops up an error message:
              "Attempting to install a breakpoint in the type
              com.xxx....
              that has no line number attributes. The breakpoint cannot be
              installed. Class files must be generated with the line number
              attributes.
              Reason:
              Absent Line Number Information"
              I compiled my sources with enabled debug option.
              Any comments and ideas are appreciated.
              Cheers,
              Jan.
              

    Sorry!
              the debug option was NOT enabled (seems that my ant script is too
              complex at this stadium...)
              Cheers,
              Jan.
              [email protected] (Jan-Friedrich Mutter) wrote in message news:<[email protected]>...
              > Hi,
              >
              > I'd like to debug my Servlets/EJB's running on a Weblogic 6.1 SP4. My
              > IDE is Eclipse 2.1
              > To enable remote debugging I start Weblogic with that additional JVM
              > options:
              >
              > -classic -Xdebug -Xnoagent
              > -Xrunjdwp:transport=dt_socket,address=5000,suspend=y,server=y
              >
              > and configured my Remote Application in Eclipse accordingly.
              >
              > The connection successes.
              >
              > Problem: When I reach my breakpoint, Eclipse pops up an error message:
              > "Attempting to install a breakpoint in the type
              > com.xxx....
              > that has no line number attributes. The breakpoint cannot be
              > installed. Class files must be generated with the line number
              > attributes.
              > Reason:
              > Absent Line Number Information"
              >
              > I compiled my sources with enabled debug option.
              >
              > Any comments and ideas are appreciated.
              >
              > Cheers,
              > Jan.
              

  • OC4J debug with Eclipse

    I been trying to debug a oc4j application with eclipse but so far I can only see variables like
    ' this IndexAction,
    arg0 ActionMapping,
    arg1 null,
    arg2 EvermindHttpServletRequest,
    arg3 EvermindHttpServletResponse' ,
    I did setup Ant compile to create an *.ear in debug.
    classpath="${libclasspath};${build}/${classes}" debug="true"
         debuglevel="lines, vars, source"/>
    Also, I cannot place a watch file in any variable.
    Is there a configuration that I need to do with the java compile or OC4J to be able to see the content of the variables.
    Thank you
    P.S. with Jdev I'm able to debug with the embedeed-OC4J but the config of the \j2ee\home\config\*.xml files are totally different.

    Starting oas server with this command, -Xdebug -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=4000,
    Eclipse debugger cannot connect anymore but apparently dt_shmem is used for windows machines and dt_socked for unix.
    Any hints would be greatly appreciated.

Maybe you are looking for

  • Using iPad 2 w/ ios 5.1.1.

    I'm using an iPad 2 with ios 5.1.1. Works great. but I'd like to upgrade to a newer version of ios(7.1.1) to get newer versions of apps. Current version of ios is 8.x but don't want to go that direction due to performance concerns. Can anyone provide

  • Album Art Issue

    My album art works for almost every album I have (except that I have album art on every album, so it shouldn't be an almost!). I've realized that the album art won't show on albums/artists that have a music video of the same album/artist... so I gave

  • I am suddenly not able to play any media, such as youtube or games

    I am suddenly unable to play any media, such as Youtube or catchup tv. When I try I just get a black screen on Youtube or anyother videolinks. I had noticed some quick little screen flashes, but everything had played fine just the night before.

  • Error running Windows NT service

    Dear all, while running a windows NT service the following error occures: java.lang.NoClassDefFoundError: org/apache/oro/io/GlobFilenameFilter      at java.lang.ClassLoader.defineClass1(Native Method)      at java.lang.ClassLoader.defineClass(Unknown

  • Forms Developer on XP

    When I run Form Builder on XP, it prompted a box saying that the program must be closed ask if I report to Microsoft or not. Could anyone help me??? Thanks buddy~