on 01-19-2004 6:02 PM
Hallo all together,
I have installed the EP6 with SP2 (+HF3). I have also imported the PDK6.0. My portal user has the new portal role "Java Developer".
For starting the J2EE in Debug Mode, I makes all the changes in the J2EE start script, which are described in the Javadoc "Remote Debugging with Eclipse". When I now start the server with the new script "goDebug.bat", the following error will be displayed:
Invalid listen port number: $DEBUG_PORT5000
Transport dt_socket failed to initialize, rc = -1
FATAL ERROR in native mathod: No transports initialized
Do you have any idea how I can solve this issues?
I noted from one of the folks above, that they got the error
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified
I am also getting the error after adding the debug information. Does anyone know how to solve this?
Also after adding the debug info which should I start first server (go.bat) or dispatcher (go.bat). The documentation says server.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I've found out that there is another mistake in the doDebug.bat file. In the last line beginning with:
"%JAVA_HOME%\bin\java"
you find an entry:
%DEBUG_PARAMS%%DEBUG_PORT%
But the DEBUG_PORT you also specify in the DEBUG_PARAMS so here you would declare it twice - it does not work.
After deleting this last %DEBUG_PORT% debugging with Eclipse worked!
Here you can see my goDebug.bat:
@echo off
set PATH=..\..\os_libs;%PATH%
cd /D "D:\usr\sap\EP6R\j2ee\j2ee_00\cluster\server"
if not "%JAVA_HOME%"=="" (
goto EDDIF28
)
set JAVA_HOME=D:\jdk1.3.1_09
:EDDIF28
set MEMORY=512M
set DEBUG_PORT=8000
set DEBUG_PARAMS=-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=8000
"%JAVA_HOME%\bin\java" -server -Xms512M -XX:+DisableExplicitGC -XX:MaxPermSize=64M -XX:PermSize=64M -XX:MaxNewSize=64M -XX:NewSize=64M -classpath ".;.\system-lib\boot.jar;.\system-lib\jaas.jar;.\system-lib\SystemLoginModule.jar" %DEBUG_PARAMS% %1 %2 -Xmx%MEMORY% -Dmemory.manager=%MEMORY% -Dredirect.input=true -Djava.security.policy=.\java.policy -Dorg.omg.CORBA.ORBClass=com.inqmy.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.inqmy.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.inqmy.system.PortableRemoteObjectProxy -Djavax.rmi.CORBA.UtilClass=com.inqmy.system.UtilDelegateProxy com.inqmy.boot.Start
regards
Renu00E9
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello all,
launching godebug.bat i'm getting clustermanger error in loading. it cannot open port 50020.
first of all i've never been able to have both server and dispatcher service running together.
i just have one server which i've installed portal on. and it runs on dispatcher. Can anybaody tell me which is the fucntion of server? i was thinking for a clustered installation with more nodes as well.
thanks in advence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all
When I try rudigers proposal I get the following error:
<i>Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified</i>
I have the exact same settings in my go.bat file, which works.
When i Try Axels proposal the godebug.bat hangs when it reaches:
loading: ClusterManager...
Any ideas?
TIA
Henrik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jens,
I think I had the same problem. The problem is, that the go.bat passes
%DEBUG_PARAMS%%DEBUG_PORT%
to the java call.
The descrition 'How to Debug Remotely' assumes to be on a unix system,
where $DEBUG_PORT is replaced by its value (Windows pendant is: %DEBUG_PORT%)
But if you do so, the port will be passed twice to the java call.
My solution was to remove the %DEBUG_PORT% to the call and set the vaiables
as follows:
set MEMORY=512M
set DEBUG_PORT=
set DEBUG_PARAMS=
"%JAVA_HOME% injava" -server -Xms512M -XX:+DisableExplicitGC -XX:MaxPermSize=64M -XX:PermSize=64M -XX:MaxNewSize=64M -XX:NewSize=64M -classpath ".;.system-lib oot.jar;.system-libjaas.jar;.system-libSystemLoginModule.jar" %DEBUG_PARAMS%%DEBUG_PORT% %1 %2 -Xmx%MEMORY% -Dmemory.manager=%MEMORY% -Dredirect.input=true -Djava.security.policy=.java.policy -Dorg.omg.CORBA.ORBClass=com.inqmy.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.inqmy.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.inqmy.system.PortableRemoteObjectProxy -Djavax.rmi.CORBA.UtilClass=com.inqmy.system.UtilDelegateProxy com.inqmy.boot.Start
Best Regrads,
Rüdiger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rudiger,
I've adopted your proposed solution. (I've the same problem to remote debug with EP60 SP2.)
Just a question:
when I start Eclipse, run->Dubug and I want to connect to J2EE engine, which port should I use ?
I've tried with 5000 and 50000, but it doesn't work.
Could You geve me a suggestion ?
Best Regards,
Luca
User | Count |
---|---|
72 | |
11 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.