facebook

Can’t get Oracle AS 10g Debuging to work

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

    dapriett
    Member

    Could someone send me detailed instructions on getting Oracle Application server 10g to work with myEclipse. I have Oracle AS installed and it currently runs as a service, and I’m able to deploy my applications to it alright. How to I go about setting it up so the debug messages show up in the MyEclipse console?

    Thanks,

    Dan

    #249163 Reply

    Riyad Kalla
    Member

    Dan,
    Can you clarify what you mean by “debug messages that show up in the console”? Debugging of Oracle AS works best with version 10.3.1 I believe it is, the most recent one because they added support for JSR-45 which is the debugging spec that MyEclipse utilizes.

    #249171 Reply

    dapriett
    Member

    Thanks for replying rkalla – you mean 10.1.3, right? That’s what I have installed.

    I think I’m just having issues figuring out OAS – I was using weblogic before and that worked great, but now we have a requirement to switch over (why, I don’t know…). I installed the latest version of OAS , which installed the Web Server, J2EE Server, and Process Manager – and is configured as a OC4J Instance. It looks like what it does is it runs as a service in the background. I got auto-deployment to work, and my applications deploy with no problem.

    My issue is I can’t seem to get it to work through the MyEclipse interface so that all the log messages show up in the console and I can debug my code with breakpoints. Since it runs in the background as a service, how do I setup MyEclipse to be able to Start, stop, and attached messages? Right now all the log messages are written to it’s log directory.

    So does the OAS service need to be disabled? Is there something special I need to do with the installation of OAS to get it to work correctly?

    Thanks!

    #249191 Reply

    Riyad Kalla
    Member

    Woops, yes 10.1.3 is right. Actually if you are starting OAS outside of MyEclipse then MyEclipse isn’t getting a chance to hook into the application server to do what you want. Just go to the service menu and disable the service and stop it, then go to Window > Preferences > MyEclipse > Application Servers > Oracle 9/AS and set it up to your local install (it will look something like this: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10428.html ) then you should have all the functionality you are asking about (everything inside of MyEclipse)

    #249213 Reply

    dapriett
    Member

    Ok – I disabled the service – now it looks like it starts but I can’t get to the administration page. When it’s running through the service usually I can just go to http://localhost/em but that doesn’t work when going through MyEclipse. Does it run on a different port – if so how do I know which one?

    Thanks!

    #249221 Reply

    Riyad Kalla
    Member

    Try http://localhost:8080 and see if you get a response. The admin console might be running on another port, I don’t recall though.

    #249223 Reply

    dapriett
    Member

    Doesn’t work – where can I figure out what ports it’s using? when I put my application in the application-autodeploy directory I get messages to the console which look like to installed it, but I have no clue how to access it. Should it run the same as the Oracle Process Manager service?

    #249228 Reply

    Riyad Kalla
    Member
    #249231 Reply

    dapriett
    Member

    Still can’t figure out what to use. I installed the full blown Oracle Application server 10g 10.1.3 – should I be using something else. Is there a lighter version out there for just development? I’m so lost…

    #249243 Reply

    dapriett
    Member

    Got it working – I ended up installing the OC4J 10.1.3 zip Standard Instation and I’m using that instead of the full blown installation I was using before. That seems to work alot better. Seem to have it working through MyEclipse now. There must be some differences between the two of them, not sure if you guys came across that yet.

    Thanks,

    Dan

    #249244 Reply

    dapriett
    Member

    Here’s the two different installations I was referring to:

    Oracle Application Server 10g: http://www.oracle.com/technology/tech/java/oc4j/1013/index.html

    OC4J 10g Standalone Distribution: http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html

    #249314 Reply

    Riyad Kalla
    Member

    Thank you for following up with us and the steps you took, we can look into what might be different between these two versions and see if we can uncover why it wasn’t working.

    #251273 Reply

    skaran
    Member

    What is default port for OC4J (10g, 10.1.3version). I deployed one web module. How do one test.
    http://localhost:xxxx/

    what is default port for OC4J.

    Sunjay

    #251274 Reply

    Riyad Kalla
    Member

    Most app servers default to 8080, if that doesn’t work check the OC4J docs.

    #251435 Reply

    skaran
    Member

    It is working on port 8888. When I start work outside the MyeClipse. this port work OK. I can go http://localhost:8888 and do stuff. When I start OC4J from the eclipse. Console says OC4J started. This URL does not. Any help will be appreciated. My buying decision is stuck on this point.

Viewing 15 posts - 1 through 15 (of 16 total)
Reply To: Can’t get Oracle AS 10g Debuging to work

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