facebook

Launch Weblogic 9.2 Application Server in Debug mode

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #279923 Reply

    Shashi Solipuram
    Participant

    I have launched Weblogic 9.2 App Server in Debug mode through MyEclipse IDE. When I start the server I get the following error. Please help me resolve this issue.

    “The source attachement does not contain the source for the file DomainMBeanImpl.class
    You can change the source attachement by clicking Change Attached Source below”

    weblogic9Server [Remote Java Application]
    weblogic.Server at localhost:2816
    Thread [main] (Suspended (exception NullPointerException))
    DomainMBeanImpl.getName() line: 253
    DomainMBeanImpl.setName(String) line: 307
    NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
    NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
    DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
    Method.invoke(Object, Object…) line: 585
    ReflectionUtils.invokeMethod(Object, Method, Object[]) line: 48
    ByNameRuntimeBindingType$ElementQNameProperty(RuntimeBindingType$BeanRuntimeProperty).setValue(Object, Object) line: 483
    MultiIntermediary.setValue(RuntimeBindingProperty, Object) line: 80
    ByNameRuntimeBindingType$ElementQNameProperty.fill(Object, Object) line: 348 LiteralUnmarshalResult.extractAndFillElementProp(RuntimeBindingProperty, Object) line: 123
    ByNameUnmarshaller.deserializeContents(Object, UnmarshalResult) line: 51
    ByNameUnmarshaller(AttributeUnmarshaller).unmarshalIntoIntermediary(Object, UnmarshalResult) line: 47
    LiteralUnmarshalResult(UnmarshalResult).unmarshalBindingType(RuntimeBindingType) line: 184
    LiteralUnmarshalResult(UnmarshalResult).unmarshalDocument(XMLStreamReader) line: 154
    UnmarshallerImpl.unmarshal(XMLStreamReader, UnmarshalOptions) line: 65
    MarshallerFactory$1.createDescriptor(XMLStreamReader, ObjectFactory, boolean) line: 136
    DescriptorManager.createDescriptor(XMLStreamReader, List, boolean) line: 280 DescriptorManagerHelper.loadDescriptor(InputStream, boolean, boolean, List) line: 52
    RuntimeAccessImpl$IOHelperImpl.parseXML(InputStream) line: 599
    RuntimeAccessImpl.parseNewStyleConfig() line: 230
    RuntimeAccessImpl.<init>() line: 110
    RuntimeAccessService.start() line: 38
    ServerServicesManager.startService(ServerService, long) line: 374
    ServerServicesManager.startInStandbyState() line: 125
    T3Srvr.initializeStandby() line: 630
    T3Srvr.startup() line: 402
    T3Srvr.run(String[]) line: 361
    Server.main(String[]) line: 67
    Daemon Thread [Timer-0] (Running)
    C:\bea\jdk150_04\bin\javaw.exe (Dec 21, 2007 11:43:22 AM)

    #279977 Reply

    Loyal Water
    Member
    #279987 Reply

    Shashi Solipuram
    Participant

    I checked the connector settings. Everything is fine. The debugging was absolutely working fine. Recently it starts giving the exception. I think it is trying to debug the application server code instead of my code. So when the server starts it is looking for the source code of the app server.

    #279992 Reply

    Shashi Solipuram
    Participant

    Hi Nipun,

    When I start the weblogic server, the debugger stops on the app server classes. I have to click on the “run” button on the debug window so many times to start the server. At last the server is started successfully. (The server was not starting, even if I did the same thing before.) I just restarted my machine now. Other than that I didn’t change any settings.

    I don’t want the debugger to debug the app server code. Just want to debug my application.

    Jincy
    ACR Development team.

    #280000 Reply

    Loyal Water
    Member

    Jincy,
    Can you go to MyEclipse > Installation Summary > Installation Details and paste the details here for me.

    Can you switch to a new workspace and try launching WL 9.2 again. Do you still run into this error ?

    I would also like you to download a different WL build/version and check if that works.

    #280005 Reply

    Shashi Solipuram
    Participant

    Hi Nipun,

    I solved the problem. I just went through the MyEclipse->Run-> Menu and found that there was an item “Remove all Breakpoints”. I clicked on that and the server started without any breakpoints. That means it removed all app server code breakpoints. Now I can’t see that option on the Run menu item.

    I can debug my application now without having the app server code debug breakpoints and the debugger stops only at my code breakpoints.

    I still don’t know how the debugger went to the app server souce code debugging?

    Do you have any idea?

    Thanks for looking in to this issue.

    Jincy
    ACR

    #280046 Reply

    Loyal Water
    Member

    I still don’t know how the debugger went to the app server souce code debugging?

    Do you have any idea?

    I’m not sure why you ran into that issue. I’ll look into it though. For the time being, I’m glad its working for you.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Launch Weblogic 9.2 Application Server in Debug mode

You must be logged in to post in the forum log in