cancel
Showing results for 
Search instead for 
Did you mean: 

J2RE + Windows + J2SE Adapter Engine => Dump Xmx128m

Former Member
0 Kudos

Hi,

I want to use a decentralized J2SE Adapter Engine in order to data to XI.

When I install it on a Windows 2000 Professional, AE running is good and all are perfect... But when I install it on a Windows Server 2003, I have the following dump when I use the file "run_adapter.bat":

"-Xmx128m: illegal argument"

Here is the instruction when my tool uses for its running :

java -Xmx128m -classpath aii_msg_adapter.jar;aii_msg_runtime.jar;httpclient.jar;aii_af_trace.jar;aii_rfcadapter.jar;pmi.jar;exception.jar;jperflib.jar;guidgenerator.jar;aii_utilxi_misc.jar;aii_util_cimaccess.jar;sapxmltoolkit.jar;logging.jar;lcrclient.jar;tc_sec_core.jar;tc_sec_api.jar;jms.jar;servlet.jar;jarm.jar;%CLASSPATH%; com.sap.aii.messaging.adapter.AdapterImpl

Notes:

1. J2RE is j2re-1_4_2_06-windows-i586-p.exe)

2. I have replace 128 by 256 or 512, but it's the same issue.

So,

1. Anybody could explain why I have that with Windows Server 2003 ?

2. is it a problem with a Java Virtual Machine ?

3. Must I do something inside Windows : Environment variable, register key or other ?

Any helps are welcome.

Mickael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you set JAVA_HOME environment variable ? If not set it and check.

regards

Shravan

Former Member
0 Kudos

No. (neither PATH or JAVA_HOME, or J2EE_HOME)

What folder must I precise in this variable :

C:\Program Files\Java\j2re1.4.2_06\javaws ?

or

C:\Program Files\Java\j2re1.4.2_06\bin ?

Regards.

Mickael