Skip to Content
author's profile photo Former Member
Former Member

J2RE + Windows + J2SE Adapter Engine => Dump Xmx128m

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 11:47 PM

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

    regards

    Shravan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.