Problems with debugging oc4j project

I'm having problems with debugging of project working under oc4j. Deployment completes successfully, I could start project and access it (running separate instance of oc4j) but can not set up debugger.
IntelliJ 4.5.3 either spits out something about ports, or remote debugging just dies out. (vers 3.0 works, but only in remote debugger mode)

Also one more question - is it possible run project locally under ver 4.5.3 and at the same time activate oc4j container to provide connectivity to the databases?

Thanks in advance,
Igor

3 comments

I have not had any problems remote debugging OC4J on Linux/Windows with 4.5.3 or Irida. Could you please post the error so that we can have a look at it? Thanks.

0

BTW, this is how I start OC4J:

java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xmx256m -jar oc4j.jar

0

Hello Michael,

MG> java -Xdebug -Xnoagent -Djava.compiler=NONE
MG> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
MG> -Xmx256m -jar oc4j.jar

I have also working Remote debug on OC4J the same way.

Thanks!
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru

0

Please sign in to leave a comment.