|
From: Patrick Y. <kc...@ce...> - 2005-09-28 10:31:06
|
Hi, There is a setting in msh_client.properties.xml, named MaxPayloadSize. The name is self-descriptive. Regards, Patrick Yee Center for E-Commerce Infrastructure Development Making E-Commerce Everyday Commerce Tom...@bs... wrote: > > Yes.. > > There is something like this (msh.log): > > 2005-09-28 11:20:39,571 INFO [ExecuteThread: '14' for queue: > 'default']: Process command: Register MSH Configuration (1) > 2005-09-28 11:20:39,571 DEBUG [ExecuteThread: '14' for queue: > 'default']: => MessageServiceHandler.processCommand > 2005-09-28 11:20:39,571 INFO [ExecuteThread: '14' for queue: > 'default']: Received request for registering msh config > 2005-09-28 11:20:39,571 DEBUG [ExecuteThread: '14' for queue: > 'default']: => MessageServiceHandler.register > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: => > MessageServiceHandlerConnectionFactory.MessageServiceHandlerConnectionFactory > > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= > MessageServiceHandlerConnectionFactory.MessageServiceHandlerConnectionFactory > > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: => MessageServiceHandlerConnectionFactory.createConnection > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: => > MessageServiceHandlerConnection.MessageServiceHandlerConnection > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= > MessageServiceHandlerConnection.MessageServiceHandlerConnection > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= MessageServiceHandlerConnectionFactory.createConnection > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: => MessageServer.store > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: => DbConnectionPool.getConnection > 2005-09-28 11:20:39,587 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= DbConnectionPool.getConnection > 2005-09-28 11:20:39,618 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= MessageServer.store > 2005-09-28 11:20:39,618 DEBUG [ExecuteThread: '14' for queue: > 'default']: => Transaction.commit (txID: #2) > 2005-09-28 11:20:39,618 DEBUG [ExecuteThread: '14' for queue: > 'default']: => DbConnectionPool.freeConnection > 2005-09-28 11:20:39,618 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= DbConnectionPool.freeConnection > 2005-09-28 11:20:39,618 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= Transaction.commit > 2005-09-28 11:20:39,618 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= MessageServiceHandler.register > 2005-09-28 11:20:39,618 DEBUG [ExecuteThread: '14' for queue: > 'default']: <= MessageServiceHandler.processCommand > 2005-09-28 11:20:42,025 WARN [ExecuteThread: '14' for queue: > 'default']: [10002] Unknown error > Exception: java.lang.OutOfMemoryError > Message: null > 2005-09-28 11:20:43,478 WARN [ExecuteThread: '13' for queue: > 'default']: [10002] Unknown error > Exception: java.lang.OutOfMemoryError > Message: null > > My configuration: > WebLogic 8.1 + MSH Hermes 1.0 + MS SQL Serwer 2000 (another machine) > I have only 512 MB RAM <- probably there is problem > > > Now, I've installed Tomcat 4 and all works fine. > But Tomcat must be installed on partition C: > When Tomcat was install on D:, Hermes not started (error 10001 - > Initialization error - cannot create <path>/ObjectStore) > > Another question: > There is limitations on size payload > when I send attachments < 1MB is OK but, > when I send attachments > 1MB I've got "RequestException while > sending: Message containing larger payloads than allowed." > > > > Thanks > Tomasz > > > > > > > > Can you see any error messages in the log file at the Hermes server side? > > > > > > > > > When I run RunLoopBack.bat (Hermes), I get the following error: > > Packaging... > > Info: using property file in > > /D:/msh_client/sample/msh_client.properties.xml > > Try to send... > > hk.hku.cecid.phoenix.message.handler.RequestException: > > Fail to send EbxmlMessage to MessageServiceHandler: > > HTTP response code = 409 > > HTTP response message = Conflict > > at > > hk.hku.cecid.phoenix.message.handler.Request.sendMessage(Unknown Source) > > at hk.hku.cecid.phoenix.message.handler.Request.send(Unknown > > Source) > > at LoopBack.run(LoopBack.java:58) > > at LoopBack.main(LoopBack.java:11) > > > > > > > > .. any help would be appreciated. > > > > > > Thanks > > Tomasz > |