printing sop in Jdeveloper console while remote debugging

i am doing remote debugging oc4j and jdeveloper

system.out.printlns will be logged  in oc4j container;

but when i debug i want to display these o/p in Jdeveloper console .should i change the batch file?

set path=c:\j2sdk1.4.2_06\bin;
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n -Xmx512m -Djdbc.connection.debug=true -Dp6.home=C:\OC4J_EXTENDED\j2ee\home\lib -Dp6trace=true  -jar C:\OC4J_EXTENDED\j2ee\home\oc4j.jar  -userThreads -verbosity 10 -out log\std_out.log -err log\std_err.log

LVL 20
chaitu chaituAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

as far as i know u can't do this but can monitor the outputs at the files *.log u specified in ur command
chaitu chaituAuthor Commented:

once i compile the servlets
 Is it must to shutdown the container;

in tomcat there is no need to shutdown the server if u made changes in server.xml change the  option loadable="true" ;

is there any option in oc4j for hotdeployment?
yes it has hotdeployment, in ur server.xml if u have ur application ear defined like this:

    <application name="tawla" path="c:\myfolder\myAppEar.ear" auto-start="true" />

if u rebuild ur ear again, OC4J will update automatically no restart is needed

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

chaitu chaituAuthor Commented:
i already build my ear using ant and deployed in the container and is running;

i will make the change in server.xml as u said.

now i will come to the Jdeveloper workspace

i changed one servlet file in web.jpr workspace

once i compile the servlet in the jdeveloper

jdeveloper o/p path is C:\OC4J_EXTENDED\j2ee\home\applications\ETEAGL3170020041102\etrans\WEB-INF\classes

i am putting class file directly to container.

now should i shutdown my container.
yes suppose too, OC4J monitor the changes based only on 2 changes:

1- changes in directory C:\OC4J_EXTENDED\j2ee\home\applications
2- changes in defined ears in server.xml

important! if u r going to use server.xml ear definition, then u must remove ur deployment from C:\OC4J_EXTENDED\j2ee\home\applications
for the same application only one deployment is allowed

chaitu chaituAuthor Commented:
so in ur opinion it should work what i am doing;i wil check it out
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.