Thursday, 29 August 2013

Problem while running all of the servers in the same machine i.e, adminserver ,osb ,oer

When you try to run all of the admin server and managed server in the same machine the following problem occur

starting weblogic with Java version:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use

You can solve this by just commenting a line in the file setDomainEnv.bat/.sh  which can be found at
${fmw.home}\user_projects\domains\${domain.name}\bin 

comment the line 
Before
 set debugFlag=true
After
 
REM set debugFlag=true


The reason is pretty simple first when you run the admin server it setups the java debugger listening on the port. When you try to start the managed server it too tries setup the debugger and fails.

No comments:

Post a Comment