users@glassfish.java.net

glassfish ignores changes by message-fragment-size in domain.xml

From: <glassfish_at_javadesktop.org>
Date: Wed, 11 Mar 2009 02:21:48 PDT

Hi,

i'm tried to change the attribute "message-fragment-size" in domain.xml, but it seems to me the attribute will be generally ignored.

I started up the domain. It works without a failure.
I started a webstart-client to use my implemented ejb-services. It works fine too.
But if i listened the giop-traffic with a tool like wireshark, the fragmentation was always set to a value of 4096 bytes.

I tried the listening again by a client-startup within eclipse and a separate setting of this parameter, but the paramaters was always ignored too.

To lookup my services, i initialized the InitialContext in this way:

// setup properties
Properties props = new Properties();
props.put("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory");
props.put("java.naming.factory.state","com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
props.put("java.naming.factory.url.pkgs","com.sun.enterprise.naming");
props.put("org.omg.CORBA.ORBInitialHost","my_remote_machine_ip");
props.put("org.omg.CORBA.ORBInitialPort","3700");
props.put("com.sun.CORBA.giop.ORBFragmentSize","8192");
props.put("com.sun.CORBA.giop.ORBBufferSize","8192");

// create context
this.initialContext = new InitialContext(props);


My environment:

-local machine: a simple Laptop (windows xp professional, java 6_12, eclipse 3.4, mozilla, wireshark 1.05)
-remote machine: linux server with glassfish V2.1 and java 6_11.

Thanks
[Message sent by forum member 'holzkopf' (holzkopf)]

http://forums.java.net/jive/thread.jspa?messageID=336272