- This topic has 15 replies, 3 voices, and was last updated 18 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
dapriettMemberCould 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
Riyad KallaMemberDan,
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.
dapriettMemberThanks 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!
Riyad KallaMemberWoops, 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)
dapriettMemberOk – 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!
Riyad KallaMemberTry http://localhost:8080 and see if you get a response. The admin console might be running on another port, I don’t recall though.
dapriettMemberDoesn’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?
Riyad KallaMemberSee if this port reference helps find it: http://www.red-database-security.com/whitepaper/oracle_default_ports.html
dapriettMemberStill 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…
dapriettMemberGot 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
dapriettMemberHere’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
Riyad KallaMemberThank 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.
skaranMemberWhat 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
Riyad KallaMemberMost app servers default to 8080, if that doesn’t work check the OC4J docs.
skaranMemberIt 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.
-
AuthorPosts