|
From: Patrick Y. <kc...@ce...> - 2003-10-29 15:51:22
|
error running sample client...Dear Ajit,
It is not likely to be related to SMTP problem. Your msh.log seems a bit =
too short... is your database parameters correctly configured? If you =
don't mind, please send to us the msh.properties.xml as well to =
investigate. Thanks.
Regards, -Patrick
----- Original Message -----=20
From: Tripathi, Ajit (GXS)=20
To: 'Patrick Yee'=20
Sent: Monday, October 27, 2003 1:21 PM
Subject: RE: [freebxml-dev] error running sample client...
Patrick,
Thanks a ton for your help!! Here is what's going on: My runloopback =
client bundled with hermes hangs in the (in red): The logs are below, =
alongwith the client properties file enclosed.
String toMshUrl =3D http://becajittripati:8080/msh;
System.out.println("1");
Request mshReq =3D new Request(ac, new URL(toMshUrl), this, =
transportType);
System.out.println("2");
is it trying to send ebXML via SMTP? there is no smtp info in the =
default client configuration? Any pointers will be greatly appreciated.
regards,
Ajit
=
-------------------------------------------------------------------------=
-----
mshclient.log
=
-------------------------------------------------------------------------=
-----
2003-10-25 14:30:44,359 INFO [main]: Outgoing mail configuration:
2003-10-25 14:30:44,359 INFO [main]: SMTP host: null
2003-10-25 14:30:44,359 INFO [main]: SMTP authentication disabled
2003-10-25 14:30:44,359 INFO [main]: S/MIME encryption keystore: =
null\null
2003-10-25 14:30:44,359 INFO [main]: S/MIME encryption keystore =
password: <not shown>
2003-10-25 14:30:44,359 INFO [main]: S/MIME decryption keystore: =
null\null
2003-10-25 14:30:44,359 INFO [main]: S/MIME decryption keystore alias: =
null
2003-10-25 14:30:44,359 INFO [main]: S/MIME decryption keystore =
password: <not shown>
2003-10-25 14:30:44,359 INFO [main]: Mail API debug: false
2003-10-25 14:30:44,359 INFO [main]: Content-type augmentation: false
=
-------------------------------------------------------------------------=
-----
msh.log:
=
-------------------------------------------------------------------------=
-----
2003-10-25 14:28:07,843 INFO [main]: Hermes (ebms2) MSH v.0.9.3.1-sp1 =
started.
2003-10-25 14:28:07,890 DEBUG [main]: =3D> =
DbConnectionPool.DbConnectionPool
2003-10-25 14:28:07,890 DEBUG [main]: =3D> DbConnectionPool.init
2003-10-25 14:28:07,890 INFO [main]: Initializing DB connection pool: =
creating database connections
2003-10-25 14:28:07,890 DEBUG [main]: =3D> =
DbConnectionPool.createConnection
=
-------------------------------------------------------------------------=
-----
mshclient.properties.xml
=
-------------------------------------------------------------------------=
-----
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<Property>
<Request>
<Log>
<!-- "JDK" or "LOG4J" -->
<UseLogger>LOG4J</UseLogger>
<LogPath>c:/hermes/tomcat/logs</LogPath>
<LogFile>mshclient.log</LogFile>
<!--
0: all
1: info, warn, error
2: warn, error
3: error
4: no log
-->
<LogLevel>0</LogLevel>
<MaxFileSize>10000</MaxFileSize>
</Log>
<Config>
<!-- The URL of MSH (The URL of MSH to client applications) -->
<URL>http://becajittripati:8080/msh/</URL>
<!-- The time interval in milliseconds after which MSH Stub will check =
whether messages arrive in MSH Servlet -->
<MonitorInterval>200</MonitorInterval>
<!-- the user name and password for sending commands to MSH -->
<UserName>user</UserName>
<Password>changeit</Password>
<MaxNumPayload>2</MaxNumPayload>
<MaxPayloadSize>1000000</MaxPayloadSize>
</Config>
<!-- Uncomment to use web proxy for outgoing HTTP connections
<Proxy>
<Host>127.0.0.1</Host>
<Port>8282</Port>
</Proxy>
-->
<!-- Default message repository for MessageListener used in MSH Stub =
-->
<MessageListener>
<MessageRepository>c:/hermes/</MessageRepository>
</MessageListener>
</Request>
</Property>
-----Original Message-----
From: Patrick Yee [mailto:kc...@ce...]
Sent: Friday, October 24, 2003 6:12 PM
To: fre...@ya...; aji...@gx...
Cc: ebx...@li...
Subject: Re: [freebxml-dev] error running sample client...
Dear Ajit,
It seems that the freebxml-dev list is not active. So, we recommend =
you to subscribe to the mailing lists of Hermes at =
http://sourceforge.net/mail/?group_id=3D56612. Those mailing lists are =
for all kinds of discussions on Hermes.
Regarding your question, I guess you are not setting the =
msh_client.properties.xml correctly. Loopback is a Hermes client, which =
will connect to Hermes server for sending out messages and getting =
appropriate incoming messages. Inside msh_client.properties.xml, there =
is a configuration entry that specify the Hermes server that Loopback =
should connect to. So if you setup the Hermes server at =
http://localhost:8080/msh, you should put down this URL in =
msh_client.properties.xml. That msh_client.properties.xml should be =
placed in the CLASSPATH when launching Loopback, or in the current =
working directory in which you launch Loopback.
Hope this helps.
Regards, -Patrick
|