You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
(21) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(22) |
Feb
(41) |
Mar
(100) |
Apr
(113) |
May
(70) |
Jun
(89) |
Jul
(79) |
Aug
(17) |
Sep
(16) |
Oct
(9) |
Nov
(7) |
Dec
(22) |
| 2004 |
Jan
(42) |
Feb
(2) |
Mar
(20) |
Apr
(35) |
May
(18) |
Jun
(14) |
Jul
(12) |
Aug
(3) |
Sep
(5) |
Oct
(3) |
Nov
|
Dec
(1) |
| 2005 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(1) |
May
(3) |
Jun
(9) |
Jul
(18) |
Aug
(10) |
Sep
(12) |
Oct
(4) |
Nov
(4) |
Dec
(9) |
| 2006 |
Jan
(10) |
Feb
(2) |
Mar
(3) |
Apr
(3) |
May
(4) |
Jun
(9) |
Jul
(1) |
Aug
(1) |
Sep
(10) |
Oct
(29) |
Nov
(27) |
Dec
(14) |
| 2007 |
Jan
(9) |
Feb
(23) |
Mar
(3) |
Apr
(9) |
May
(21) |
Jun
(24) |
Jul
(21) |
Aug
(22) |
Sep
(11) |
Oct
(5) |
Nov
(3) |
Dec
(4) |
| 2008 |
Jan
(2) |
Feb
(5) |
Mar
(3) |
Apr
(22) |
May
(18) |
Jun
(14) |
Jul
(27) |
Aug
(20) |
Sep
(16) |
Oct
(17) |
Nov
(26) |
Dec
(48) |
| 2009 |
Jan
(37) |
Feb
(14) |
Mar
(39) |
Apr
(66) |
May
(140) |
Jun
(127) |
Jul
(78) |
Aug
(26) |
Sep
(24) |
Oct
(34) |
Nov
(10) |
Dec
(20) |
| 2010 |
Jan
(6) |
Feb
(7) |
Mar
(51) |
Apr
(49) |
May
(71) |
Jun
(57) |
Jul
(42) |
Aug
(53) |
Sep
(21) |
Oct
(4) |
Nov
|
Dec
(1) |
| 2011 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
(2) |
May
(3) |
Jun
|
Jul
(2) |
Aug
(5) |
Sep
(1) |
Oct
(2) |
Nov
(2) |
Dec
|
| 2012 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(3) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
(4) |
Jun
(2) |
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(6) |
| 2015 |
Jan
(1) |
Feb
(4) |
Mar
(11) |
Apr
(15) |
May
(12) |
Jun
(13) |
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(3) |
Nov
(5) |
Dec
(15) |
| 2016 |
Jan
(8) |
Feb
(1) |
Mar
(3) |
Apr
(1) |
May
(4) |
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
| 2017 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
(6) |
Jul
(15) |
Aug
|
Sep
(1) |
Oct
(3) |
Nov
(3) |
Dec
(7) |
| 2018 |
Jan
(6) |
Feb
(8) |
Mar
(12) |
Apr
(6) |
May
(5) |
Jun
(3) |
Jul
(4) |
Aug
(6) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
(2) |
| 2019 |
Jan
(5) |
Feb
(5) |
Mar
|
Apr
|
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2021 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2022 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Jason v. Z. <ja...@ze...> - 2003-01-20 05:02:14
|
Hi, With the current setup I have the typical client code stub connecting the servlet which dispatches my message but is there anyway to send a message directly the remote host? -- jvz. Jason van Zyl ja...@ze... http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society |
|
From: Jason v. Z. <ja...@ze...> - 2003-01-20 04:48:55
|
On Sun, 2003-01-19 at 15:01, Jason van Zyl wrote: > Hi, > > Could you please check in these files that will allow people to build > Hermes with Maven? > A perfect example of what the Maven project.xml file may be useful for is to find out what versions of the libraries you are using. I know that you include the libraries for compiling with Ant in your distribution but I am currently trying to integrate Hermes in an application server with 50 other JARs and I need to align versions of libraries to make things work. Note that SUN is notorious for making awfully packed JARs. For example the manifest in the saaj-api.jar: --- Manifest-Version: 1.0 Created-By: Ant 1.4alpha --- So I have no easy way to tell what version of some utilities you are using which makes integration difficult. The maven project.xml file is an easy place to store this and you can generate copious amounts of documentation based on it. For example you get something like this: http://jakarta.apache.org/turbine/maven/dependencies.html Which is a simple way to show your users what version of libraries you are using. Also note that, strictly speaking, you are in violation of SUN's binary distribution license by having the Java Activation Framework JAR in your CVS repository. You're allowed to distribute it, but technically you are not allowed to have it in CVS. SUN generally doesn't go after anyone, Apache did it for years :-) Just FYI if you didn't already know. -- jvz. Jason van Zyl ja...@ze... http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society |
|
From: Jason v. Z. <ja...@ze...> - 2003-01-19 20:02:11
|
Hi, Could you please check in these files that will allow people to build Hermes with Maven? They do not interfere with your Ant build in any way and allows users (me in this case) with Maven-based continuous integration tools to plug Hermes in the build cycle for testing. I've been building Hermes from source everyday since I've been using it and it would be nice if I could share my Maven configuration with others who are interested. You simply have to unpack this tarball in the top-level directory. I will send patches to keep it up-to-date when you make changes. http://www.apache.org/~jvanzyl/hermes-maven.tar.gz -- jvz. Jason van Zyl ja...@ze... http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society |
|
From: Jason v. Z. <ja...@ze...> - 2003-01-19 19:50:58
|
Hi,
Just thought I would pass along these errors compiling under JDK 1.3. I
hope JDK 1.4 is not a strict requirement?
java:compile:
[javac] Compiling 90 source files to
/home/jvanzyl/js/ebxmlms.cvs/target/classes
/home/jvanzyl/js/ebxmlms.cvs/src/hk/hku/cecid/phoenix/common/AuthenticationManager.java:210: cannot resolve symbol
symbol : constructor FileWriter (java.io.File,boolean)
location: class java.io.FileWriter
new FileWriter(passwordFile, true));
^
/home/jvanzyl/js/ebxmlms.cvs/src/hk/hku/cecid/phoenix/common/AuthenticationManager.java:253: cannot resolve symbol
symbol : constructor FileWriter (java.io.File,boolean)
location: class java.io.FileWriter
new FileWriter(passwordFile, false));
^
/home/jvanzyl/js/ebxmlms.cvs/src/hk/hku/cecid/phoenix/message/handler/DbTableManager.java:1553: cannot resolve symbol
symbol : method indexOf (java.lang.String,int)
location: class java.lang.StringBuffer
while ((idx = buf.indexOf("'", ++idx)) != -1) {
^
/home/jvanzyl/js/ebxmlms.cvs/src/hk/hku/cecid/phoenix/message/handler/DbTableManager.java:1557: cannot resolve symbol
symbol : method indexOf (java.lang.String,int)
location: class java.lang.StringBuffer
while ((idx = buf.indexOf("\\", ++idx)) != -1) {
^
/home/jvanzyl/js/ebxmlms.cvs/src/hk/hku/cecid/phoenix/message/handler/DiagnosisException.java:8: cannot resolve symbol
symbol : constructor Exception (java.lang.String,java.lang.Throwable)
location: class java.lang.Exception
super(message, cause);
^
/home/jvanzyl/js/ebxmlms.cvs/src/hk/hku/cecid/phoenix/message/handler/ExportException.java:71: cannot resolve symbol
symbol : constructor Exception (java.lang.String,java.lang.Throwable)
location: class java.lang.Exception
super(message, cause);
^
--
jvz.
Jason van Zyl
ja...@ze...
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
|
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-01-03 23:47:17
|
Hello,
> I reloaded the jar's from 17-12-2002, while retaining the msh.jar from
> yesterday. This appears to work just fine, so I must conclude the error
> is in the update of xerces (all other jars are untouched betweeen those
> versions).
> Note that filenames for Xerces have changed: older version was just
> xerces.jar, newer is xercesImpl.jar and xmlParserAPIs.jar.
> ----- Original Message -----
> From: Gait Boxman
> To: ebx...@li...
> Sent: Thursday, January 02, 2003 2:28 PM
> Subject: [ebxmlms-develop] msh won't load in tomcat, used to work
> fine before the holidays
>
> Hi,
>
> running j2sdk1.4.1. and jakarta-tomcat-4.1.10, I found out the msh
> pulled from CVS this morning no longer loads. I attached the log file.
> Any idea what is going wrong? Could it be related to the update of
> Xerces? If so, should I update something additional?
I suppose you must be using tomcat-4.1.10 full version which
includes more .jar files in directory "common\lib" and "common\endorsed".
The is the root of the problem.
xerces.jar is 1.4.4 while xercesImpl.jar and xmlParserAPIs.jar are
2.2.1 and you may notice that there are also xercesImpl.jar and
xmlParserAPIs.jar in "common/endorsed". These two files would conflict
with those in your "webapps". So, you may simply delete these two files
in your "webapps".
However, you may then notice another problem. There are also
activation.jar and mail.jar in "common/lib" bundled with the tomcat
full version while you also have them in "webapps". When you send
messages, tomcat may complain something like:
java.lang.Error: DataContentHandlerFactory already defined
at javax.activation.DataHandler.setDataContentHandlerFactory(DataHandler
.java:628)
because a static factory in activation.jar is somehow loaded twice
by tomcat accidentally. It doesn't help if you delete activation.jar and
mail.jar in your "webapps". If you delete activation.jar in "common/lib",
mail.jar in "common/lib" would complain NoClassDefError for activation.jar.
So, you have to delete both files while keeping activation.jar and mail.jar
in your "webapps" to make things work. The above "features" have long been
observed in tomcat's class loading mechanism.
To me, I would simply use jakarta-tomcat-4.1.18-LE-jdk14.tar.gz,
the light-weight version being run under JDK1.4. All those files are not
bundled in "common/lib" or "common/endorsed".
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|
|
From: Gait B. <gai...@ti...> - 2003-01-03 15:38:42
|
thnx
----- Original Message -----=20
From: Patrick Yee=20
To: ebx...@li...=20
Sent: Friday, January 03, 2003 12:00 PM
Subject: Re: [ebxmlms-develop] msh won't load in tomcat, used to work =
fine before the holidays
Hi Gait,
Yes we have changed xerces to version 2.2.1. We have tested on UNIX =
(Tomcat 4.1.18) and Windows (Tomcat 4.0.6). Unfortunately, problem =
occurs on Tomcat 4.1.10 on Windows. Sorry about that.
So, we suggest you can take any one of the following workarounds:
1. Switch to Tomcat 4.0.6
2. Reload the old Xerces jar files (just as what you have done.)
We believe this problem is due to some inconsistencies between Tomcat =
4.1.x and Xerces 2.2.1. We are finding some other workarounds (for =
example, to put some jar files to the endorsed directory of Tomcat). =
Will let you know for any progress.
Regards, -Patrick
P.S. You are not alone and please don't feel that you are talking to =
yourself, we are listening... :-)
----- Original Message -----=20
From: Gait Boxman=20
To: ebx...@li...=20
Sent: Friday, January 03, 2003 5:07 PM
Subject: Re: [ebxmlms-develop] msh won't load in tomcat, used to =
work fine before the holidays
Sometimes it's helpful to talk to oneself :-)
I reloaded the jar's from 17-12-2002, while retaining the msh.jar =
from yesterday. This appears to work just fine, so I must conclude the =
error is in the update of xerces (all other jars are untouched betweeen =
those versions).
Note that filenames for Xerces have changed: older version was just =
xerces.jar, newer is xercesImpl.jar and xmlParserAPIs.jar.
Gait.
----- Original Message -----=20
From: Gait Boxman=20
To: ebx...@li...=20
Sent: Thursday, January 02, 2003 2:28 PM
Subject: [ebxmlms-develop] msh won't load in tomcat, used to work =
fine before the holidays
Hi,
running j2sdk1.4.1. and jakarta-tomcat-4.1.10, I found out the msh =
pulled from CVS this morning no longer loads. I attached the log file. =
Any idea what is going wrong? Could it be related to the update of =
Xerces? If so, should I update something additional?
thnx, Gait.
|
|
From: Patrick Y. <kc...@ce...> - 2003-01-03 11:01:32
|
Hi Gait, We see your point and we will open up the public access to those = functions very soon. Thanks for your comment. Regards, -Patrick ----- Original Message -----=20 From: Gait Boxman=20 To: ebx...@li...=20 Sent: Thursday, January 02, 2003 9:37 PM Subject: [ebxmlms-develop] Missing access to payload descriptions While building a tool that would return a copy of the incoming = message, we found out that there is no public way to access the payload = descriptions that are in the Manifest. In fact, the entire Manifest is = made private. I'd suggest to open up an API to the manifest, such that a = payload can be added to the message with or without a description and = additional descriptions can be added after that, with the appropriate = language identifiers. Additionally, we need a way to retrieve the = descriptions from the payload, either by looking up the correct = reference in the Manifest and go from there, or as an API on the payload = object from the ebXML message. It's nice that you can now add a payload with a description, but it's = not very useful unless you can also retrieve it, and are able to add and = retrieve multiple descriptions. thnx, Gait. PS, note that payload descriptions are not the same as the = descriptions in the message header. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gait Boxman Manager Advanced Technology & Standards TIE Product Development BV Amsterdam, The Netherlands Tel: +31 20 658 9091 Fax: +31 20 658 9945 E-mail: gai...@ti... WWW: www.TIEglobal.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
From: Patrick Y. <kc...@ce...> - 2003-01-03 11:00:41
|
Hi Gait,
Yes we have changed xerces to version 2.2.1. We have tested on UNIX =
(Tomcat 4.1.18) and Windows (Tomcat 4.0.6). Unfortunately, problem =
occurs on Tomcat 4.1.10 on Windows. Sorry about that.
So, we suggest you can take any one of the following workarounds:
1. Switch to Tomcat 4.0.6
2. Reload the old Xerces jar files (just as what you have done.)
We believe this problem is due to some inconsistencies between Tomcat =
4.1.x and Xerces 2.2.1. We are finding some other workarounds (for =
example, to put some jar files to the endorsed directory of Tomcat). =
Will let you know for any progress.
Regards, -Patrick
P.S. You are not alone and please don't feel that you are talking to =
yourself, we are listening... :-)
----- Original Message -----=20
From: Gait Boxman=20
To: ebx...@li...=20
Sent: Friday, January 03, 2003 5:07 PM
Subject: Re: [ebxmlms-develop] msh won't load in tomcat, used to work =
fine before the holidays
Sometimes it's helpful to talk to oneself :-)
I reloaded the jar's from 17-12-2002, while retaining the msh.jar from =
yesterday. This appears to work just fine, so I must conclude the error =
is in the update of xerces (all other jars are untouched betweeen those =
versions).
Note that filenames for Xerces have changed: older version was just =
xerces.jar, newer is xercesImpl.jar and xmlParserAPIs.jar.
Gait.
----- Original Message -----=20
From: Gait Boxman=20
To: ebx...@li...=20
Sent: Thursday, January 02, 2003 2:28 PM
Subject: [ebxmlms-develop] msh won't load in tomcat, used to work =
fine before the holidays
Hi,
running j2sdk1.4.1. and jakarta-tomcat-4.1.10, I found out the msh =
pulled from CVS this morning no longer loads. I attached the log file. =
Any idea what is going wrong? Could it be related to the update of =
Xerces? If so, should I update something additional?
thnx, Gait.
|
|
From: Gait B. <gai...@ti...> - 2003-01-03 09:07:47
|
Sometimes it's helpful to talk to oneself :-) I reloaded the jar's from 17-12-2002, while retaining the msh.jar from = yesterday. This appears to work just fine, so I must conclude the error = is in the update of xerces (all other jars are untouched betweeen those = versions). Note that filenames for Xerces have changed: older version was just = xerces.jar, newer is xercesImpl.jar and xmlParserAPIs.jar. Gait. ----- Original Message -----=20 From: Gait Boxman=20 To: ebx...@li...=20 Sent: Thursday, January 02, 2003 2:28 PM Subject: [ebxmlms-develop] msh won't load in tomcat, used to work fine = before the holidays Hi, running j2sdk1.4.1. and jakarta-tomcat-4.1.10, I found out the msh = pulled from CVS this morning no longer loads. I attached the log file. = Any idea what is going wrong? Could it be related to the update of = Xerces? If so, should I update something additional? thnx, Gait. |
|
From: Gait B. <gai...@ti...> - 2003-01-02 13:37:53
|
While building a tool that would return a copy of the incoming message, = we found out that there is no public way to access the payload = descriptions that are in the Manifest. In fact, the entire Manifest is = made private. I'd suggest to open up an API to the manifest, such that a = payload can be added to the message with or without a description and = additional descriptions can be added after that, with the appropriate = language identifiers. Additionally, we need a way to retrieve the = descriptions from the payload, either by looking up the correct = reference in the Manifest and go from there, or as an API on the payload = object from the ebXML message. It's nice that you can now add a payload with a description, but it's = not very useful unless you can also retrieve it, and are able to add and = retrieve multiple descriptions. thnx, Gait. PS, note that payload descriptions are not the same as the descriptions = in the message header. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gait Boxman Manager Advanced Technology & Standards TIE Product Development BV Amsterdam, The Netherlands Tel: +31 20 658 9091 Fax: +31 20 658 9945 E-mail: gai...@ti... WWW: www.TIEglobal.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
From: Gait B. <gai...@ti...> - 2003-01-02 13:28:43
|
2003-01-02 14:03:47 HostConfig[localhost]: Deploying configuration = descriptor admin.xml 2003-01-02 14:04:21 HostConfig[localhost]: Deploying configuration = descriptor manager.xml 2003-01-02 14:04:21 WebappLoader[/manager]: Deploying class repositories = to work directory = C:\jakarta-tomcat-4.1.10\work\Standalone\localhost\manager 2003-01-02 14:04:21 ContextConfig[/manager]: Added certificates -> = request attribute Valve 2003-01-02 14:04:21 ContextConfig[/manager]: Configured an authenticator = for method BASIC 2003-01-02 14:04:21 StandardManager[/manager]: Seeding random number = generator class java.security.SecureRandom 2003-01-02 14:04:21 StandardManager[/manager]: Seeding of random number = generator has been completed 2003-01-02 14:04:21 StandardWrapper[/manager:default]: Loading container = servlet default 2003-01-02 14:04:21 StandardWrapper[/manager:invoker]: Loading container = servlet invoker 2003-01-02 14:04:21 HostConfig[localhost]: Expanding web application = archive msh.war 2003-01-02 14:04:47 StandardHost[localhost]: Installing web application = at context path /msh from URL file:C:/jakarta-tomcat-4.1.10/webapps/msh 2003-01-02 14:04:47 WebappLoader[/msh]: Deploying class repositories to = work directory C:\jakarta-tomcat-4.1.10\work\Standalone\localhost\msh 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/activation.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\activation.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/bcmail-jdk13-115.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\bcmail-jdk13-115.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/bcprov-jdk14-115.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\bcprov-jdk14-115.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/common.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\common.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/commons-logging.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\commons-logging.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/dom4j.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\dom4j.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/hsqldb.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\hsqldb.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/jaxm-api.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\jaxm-api.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/jaxm-runtime.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\jaxm-runtime.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/jdom.jar = to C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\jdom.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/jsse.jar = to C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\jsse.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/log4j-1.2.7.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\log4j-1.2.7.jar 2003-01-02 14:04:47 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/mail.jar = to C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\mail.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/mm.mysql-2.0.14-bin.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\mm.mysql-2.0.14-bin.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/msh.jar = to C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\msh.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/pki.jar = to C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\pki.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/postgresql.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\postgresql.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/saaj-api.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\saaj-api.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/saaj-ri.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\saaj-ri.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/servlet.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\servlet.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/xalan.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\xalan.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/xercesImpl.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\xercesImpl.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/xml-apis.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\xml-apis.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/xmlParserAPIs.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\xmlParserAPIs.jar 2003-01-02 14:04:48 WebappLoader[/msh]: Deploy JAR = /WEB-INF/lib/xmlsec.jar to = C:\jakarta-tomcat-4.1.10\webapps\msh\WEB-INF\lib\xmlsec.jar 2003-01-02 14:04:49 ContextConfig[/msh]: Added certificates -> request = attribute Valve 2003-01-02 14:04:49 StandardManager[/msh]: Seeding random number = generator class java.security.SecureRandom 2003-01-02 14:04:49 StandardManager[/msh]: Seeding of random number = generator has been completed 2003-01-02 14:04:49 StandardContext[/msh]: Error configuring application = listener of class = hk.hku.cecid.phoenix.message.handler.MSHServletContextListener java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at = java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at = org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClas= sLoader.java:1664) at = org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.= java:953) at = org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.= java:1394) at = org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.= java:1274) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at = org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatcher(U= nknown Source) at = org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.<init>(XMLDocumentF= ragmentScannerImpl.java:248) at = org.apache.xerces.impl.XMLDocumentScannerImpl.<init>(XMLDocumentScannerIm= pl.java:245) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.<init>(Unknown = Source) at = org.apache.xerces.parsers.IntegratedParserConfiguration.createDocumentSca= nner(Unknown Source) at = org.apache.xerces.parsers.DTDConfiguration.<init>(DTDConfiguration.java:3= 66) at = org.apache.xerces.parsers.StandardParserConfiguration.<init>(StandardPars= erConfiguration.java:197) at = org.apache.xerces.parsers.IntegratedParserConfiguration.<init>(Unknown = Source) at = org.apache.xerces.parsers.IntegratedParserConfiguration.<init>(Unknown = Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method) at = sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:39) at = sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at = org.apache.xerces.util.ObjectFactory.newInstance(ObjectFactory.java:293) at = org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:224)= at = org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:119)= at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:140) at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:125) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method) at = sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:39) at = sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:51) at = org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:184)= at = org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.jav= a:177) at org.jdom.input.SAXBuilder.createParser(SAXBuilder.java:477) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:335) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:707) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:689) at = hk.hku.cecid.phoenix.common.util.XMLProperty.<init>(XMLProperty.java:107)= at = hk.hku.cecid.phoenix.common.util.Property.loadFromFullPath(Property.java:= 381) at hk.hku.cecid.phoenix.common.util.Property.load(Property.java:307) at = hk.hku.cecid.phoenix.message.handler.MSHServletContextListener.<clinit>(U= nknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method) at = sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:39) at = sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at = org.apache.catalina.core.StandardContext.listenerStart(StandardContext.ja= va:3219) at = org.apache.catalina.core.StandardContext.start(StandardContext.java:3524)= at = org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.jav= a:821) at = org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at = org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at = org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploye= r.java:257) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at = org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:502) at = org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:410) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879) at = org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368= ) at = org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup= port.java:166) at = org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at = org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at = org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at = org.apache.catalina.core.StandardService.start(StandardService.java:497) at = org.apache.catalina.core.StandardServer.start(StandardServer.java:2191) at org.apache.catalina.startup.Catalina.start(Catalina.java:510) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) 2003-01-02 14:04:49 StandardContext[/msh]: Skipped installing = application listeners due to previous error(s) 2003-01-02 14:04:49 StandardContext[/msh]: Context startup failed due to = previous errors 2003-01-02 14:04:50 HostConfig[localhost]: Deploying web application = directory ROOT 2003-01-02 14:04:50 StandardHost[localhost]: Installing web application = at context path from URL file:C:\jakarta-tomcat-4.1.10\webapps\ROOT 2003-01-02 14:04:50 WebappLoader[]: Deploying class repositories to work = directory C:\jakarta-tomcat-4.1.10\work\Standalone\localhost\_ 2003-01-02 14:04:50 ContextConfig[]: Added certificates -> request = attribute Valve 2003-01-02 14:04:50 StandardManager[]: Seeding random number generator = class java.security.SecureRandom 2003-01-02 14:04:50 StandardManager[]: Seeding of random number = generator has been completed 2003-01-02 14:04:50 StandardWrapper[:default]: Loading container servlet = default 2003-01-02 14:04:50 StandardWrapper[:invoker]: Loading container servlet = invoker 2003-01-02 14:04:50 HostConfig[localhost]: Deploying web application = directory tomcat-docs 2003-01-02 14:04:50 StandardHost[localhost]: Installing web application = at context path /tomcat-docs from URL = file:C:\jakarta-tomcat-4.1.10\webapps\tomcat-docs 2003-01-02 14:04:50 WebappLoader[/tomcat-docs]: Deploying class = repositories to work directory = C:\jakarta-tomcat-4.1.10\work\Standalone\localhost\tomcat-docs 2003-01-02 14:04:50 ContextConfig[/tomcat-docs]: Added certificates -> = request attribute Valve 2003-01-02 14:04:50 StandardManager[/tomcat-docs]: Seeding random number = generator class java.security.SecureRandom 2003-01-02 14:04:50 StandardManager[/tomcat-docs]: Seeding of random = number generator has been completed 2003-01-02 14:04:50 StandardWrapper[/tomcat-docs:default]: Loading = container servlet default 2003-01-02 14:04:50 StandardWrapper[/tomcat-docs:invoker]: Loading = container servlet invoker 2003-01-02 14:04:50 HostConfig[localhost]: Deploying web application = directory webdav 2003-01-02 14:04:50 StandardHost[localhost]: Installing web application = at context path /webdav from URL = file:C:\jakarta-tomcat-4.1.10\webapps\webdav 2003-01-02 14:04:50 WebappLoader[/webdav]: Deploying class repositories = to work directory = C:\jakarta-tomcat-4.1.10\work\Standalone\localhost\webdav 2003-01-02 14:04:51 ContextConfig[/webdav]: Added certificates -> = request attribute Valve 2003-01-02 14:04:51 StandardManager[/webdav]: Seeding random number = generator class java.security.SecureRandom 2003-01-02 14:04:51 StandardManager[/webdav]: Seeding of random number = generator has been completed 2003-01-02 14:04:51 StandardWrapper[/webdav:default]: Loading container = servlet default 2003-01-02 14:04:51 StandardWrapper[/webdav:invoker]: Loading container = servlet invoker |
|
From: Visva V. <vk...@ho...> - 2002-12-25 13:33:06
|
Hi CY, Thanks very much for your help. (esp. the clarification on SoapConnection's behavior) I was able to successfully receive the message without the exception being thrown on the server side. Regards, Visva >From: "Ng Chi Yuen [Cyng]" <cy...@cs...> >To: Visva Visvanathan <vk...@ho...> >CC: <ebx...@li...> >Subject: Re: [ebxmlms-develop] Re: Absent content type error >Date: Wed, 25 Dec 2002 11:57:40 +0800 (CST) > >Hi Visva, > > > Even before it reaches the receiver, the exception is thrown. > > > > When the message is sent out the first time (to the receiver): > > In httservlet.java send method, I logged the content type. It > > correctly says "text/xml". > > That means the message being sent really has a correct >Content-Type and it's not the cause of the exception. > > > Once SoapConnection.call is called it throws an exception and that is > > where the "absent content type" comes from. This is why it is confusing. > > When SOAPConnection.call(message) is invoked, besides the message >is sent to the receiver, call() is also expecting the HTTP response code >and input stream from the receiver. According to your TestServlet.java, >you may set the response code to be HTTP_OK (200) such that call() will >expect some bytes to be returned and tries to read the input stream. But >now, nothing can be actually read and exception is thrown when the >response message is constructed. Try to set HTTP response code to be >HTTP_NO_CONTENT (204) if the receiver does not return anything. > >Regards, >CY > >---------------------------------------------------------------------------- >Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/ >Technology Officer, >Centre for E-Commerce Infrastructure Development, >The University of Hong Kong >---------------------------------------------------------------------------- _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2002-12-25 03:57:58
|
Hi Visva,
> Even before it reaches the receiver, the exception is thrown.
>
> When the message is sent out the first time (to the receiver):
> In httservlet.java send method, I logged the content type. It
> correctly says "text/xml".
That means the message being sent really has a correct
Content-Type and it's not the cause of the exception.
> Once SoapConnection.call is called it throws an exception and that is
> where the "absent content type" comes from. This is why it is confusing.
When SOAPConnection.call(message) is invoked, besides the message
is sent to the receiver, call() is also expecting the HTTP response code
and input stream from the receiver. According to your TestServlet.java,
you may set the response code to be HTTP_OK (200) such that call() will
expect some bytes to be returned and tries to read the input stream. But
now, nothing can be actually read and exception is thrown when the
response message is constructed. Try to set HTTP response code to be
HTTP_NO_CONTENT (204) if the receiver does not return anything.
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|
|
From: Visva V. <vk...@ho...> - 2002-12-25 03:31:59
|
Hi CY,
Even before it reaches the receiver, the exception is thrown.
I did not echo the message back initially (just wrote it to a file).
When the message is sent out the first time (to the receiver):
In httservlet.java send method, I logged the content type. It
correctly says "text/xml". Once SoapConnection.call is called it
throws an exception and that is where the "absent content type"
comes from. This is why it is confusing.
Is it possible that I have a wrong version of the jax libraries.
I am using the one that was downloaded from msh (cvs).
Regards,
Visva
>From: "Ng Chi Yuen [Cyng]" <cy...@cs...>
>To: Visva Visvanathan <vk...@ho...>
>CC: <ebx...@li...>
>Subject: Re: [ebxmlms-develop] Re: Absent content type error
>Date: Tue, 24 Dec 2002 21:00:09 +0800 (CST)
>
>Hi Visva,
>
> > The receiver servlet basically looks the same as the one you attached. I
>am
> > attaching it herewith. I am also sending the stack trace on the Tomcat
>side
> > - the one I got immediately after I ran Test case 1.
> ^^^^^^^^^^^
> Test case 1? Do you mean Test1.java in test/ directory? If so,
>the test case may be out of synchronization during development and it may
>not work properly.
>
> > 1. I am running Tomcat 4.0.4.
> > 2. The error is deterministic (repeatable).
>
> Anyway, there are two problems in your TestServlet.java :
>(1) response.setContentType("text/html") : it should be "text/xml", right?
> The receiving servlet seems to echo the message back to the sender.
> The echoed message will be further processed by the sender. If you
>send
> back a html message, exception will be thrown.
>(2) In case there is an attachment in the sending message, the echoed
> message should have a "Content-Type" being
> "multipart/related; type=text/xml; boundary=...." as it is a MIME
> message. This multipart content type should be set by you
> accordingly.
>
>Regards,
>CY
>
>----------------------------------------------------------------------------
>Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
>Technology Officer,
>Centre for E-Commerce Infrastructure Development,
>The University of Hong Kong
>----------------------------------------------------------------------------
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
|
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2002-12-24 13:00:28
|
Hi Visva,
> The receiver servlet basically looks the same as the one you attached. I am
> attaching it herewith. I am also sending the stack trace on the Tomcat side
> - the one I got immediately after I ran Test case 1.
^^^^^^^^^^^
Test case 1? Do you mean Test1.java in test/ directory? If so,
the test case may be out of synchronization during development and it may
not work properly.
> 1. I am running Tomcat 4.0.4.
> 2. The error is deterministic (repeatable).
Anyway, there are two problems in your TestServlet.java :
(1) response.setContentType("text/html") : it should be "text/xml", right?
The receiving servlet seems to echo the message back to the sender.
The echoed message will be further processed by the sender. If you send
back a html message, exception will be thrown.
(2) In case there is an attachment in the sending message, the echoed
message should have a "Content-Type" being
"multipart/related; type=text/xml; boundary=...." as it is a MIME
message. This multipart content type should be set by you
accordingly.
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|
|
From: Visva V. <vk...@ho...> - 2002-12-24 10:05:19
|
Hi CY, Thanks for your response. The receiver servlet basically looks the same as the one you attached. I am attaching it herewith. I am also sending the stack trace on the Tomcat side - the one I got immediately after I ran Test case 1. 1. I am running Tomcat 4.0.4. 2. The error is deterministic (repeatable). Thanks in advance, for your help. Regards, Visva >From: "Ng Chi Yuen [Cyng]" <cy...@cs...> >To: <ebx...@li...> >CC: Visva <vk...@ho...> >Subject: Re: [ebxmlms-develop] Re: Absent content type error >Date: Tue, 24 Dec 2002 08:38:19 +0800 (CST) > >Hi Visva, > > > The error is thrown on the server side. > > I was actually able to receive the message on the receiver client side > > servlet. > > > I think it gets an error when the send method of HttpSender >(HttpServlet) > > is called when attempting to send - either an ack or a response to the > > sender. (I am not very sure about this.) > > Is this error deterministic, i.e., repeatable under the same >environment? What application server and version are you using? We have >to check if we can repeat your problem under our environment. > > > > (I did not find the sample servlet you had attached. I did an update > > from CVS. Can you tell me where to find it.) > > In the attachment of previous email but not CVS. Anyway, it is >attached again. > > > I have a fragment from the msh log file below. > > > > 2002-12-23 11:36:30,612 DEBUG [Thread-4]: => HttpServlet send > > 2002-12-23 11:36:30,792 ERROR [Thread-4]: >java.security.PrivilegedActionException: javax.xml.soap.SOAPException: >Absent Content-Type > > 2002-12-23 11:36:30,802 ERROR [Thread-4]: >hk.hku.cecid.phoenix.message.transport.TransportException: >java.security.PrivilegedActionException: javax.xml.soap.SOAPException: >Absent Content-Type > > If possible, would you please quote the codes of your receiving >servlet as well? Thanks! > >Regards, >CY > >---------------------------------------------------------------------------- >Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/ >Technology Officer, >Centre for E-Commerce Infrastructure Development, >The University of Hong Kong >---------------------------------------------------------------------------- ><< ReceiveServlet.java >> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 3 months FREE*. http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf |
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2002-12-24 00:38:43
|
Hi Visva,
> The error is thrown on the server side.
> I was actually able to receive the message on the receiver client side
> servlet.
> I think it gets an error when the send method of HttpSender (HttpServlet)
> is called when attempting to send - either an ack or a response to the
> sender. (I am not very sure about this.)
Is this error deterministic, i.e., repeatable under the same
environment? What application server and version are you using? We have
to check if we can repeat your problem under our environment.
> (I did not find the sample servlet you had attached. I did an update
> from CVS. Can you tell me where to find it.)
In the attachment of previous email but not CVS. Anyway, it is
attached again.
> I have a fragment from the msh log file below.
>
> 2002-12-23 11:36:30,612 DEBUG [Thread-4]: => HttpServlet send
> 2002-12-23 11:36:30,792 ERROR [Thread-4]: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Absent Content-Type
> 2002-12-23 11:36:30,802 ERROR [Thread-4]: hk.hku.cecid.phoenix.message.transport.TransportException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Absent Content-Type
If possible, would you please quote the codes of your receiving
servlet as well? Thanks!
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|
|
From: Visva <vk...@ho...> - 2002-12-23 16:56:35
|
Hi Patrick,
The error is thrown on the server side.=20
I was actually able to receive the message on the receiver client side =
servlet.=20
I think it gets an error when the send method of HttpSender =
(HttpServlet)=20
is called when attempting to send - either an ack or a response to the=20
sender. (I am not very sure about this.)
(I did not find the sample servlet you had attached. I did an update =
from CVS.=20
Can you tell me where to find it.)
I have a fragment from the msh log file below.
Thanks very much for your help.
Regards,
Visva
From the msh log.
2002-12-23 11:36:30,131 DEBUG [HttpProcessor[8080][4]]: =3D> =
MessageServiceHandler sendMessage
2002-12-23 11:36:30,131 DEBUG [HttpProcessor[8080][4]]: =3D> =
MessageServiceHandlerConnection send
2002-12-23 11:36:30,131 INFO [HttpProcessor[8080][4]]: Final sequence =
number in store: -9999
2002-12-23 11:36:30,131 DEBUG [HttpProcessor[8080][4]]: =3D> =
MessageServer store
2002-12-23 11:36:30,171 DEBUG [HttpProcessor[8080][4]]: =3D> =
DirectoryManager store
2002-12-23 11:36:30,171 DEBUG [HttpProcessor[8080][4]]: =3D> =
DirectoryManager getRepositoryFileName
2002-12-23 11:36:30,171 INFO [HttpProcessor[8080][4]]: =
getRepositoryFileName return: R0000\iY6e9IkuDp0gYkqOOYIRVA=3D=3D
2002-12-23 11:36:30,171 DEBUG [HttpProcessor[8080][4]]: <=3D =
DirectoryManager getRepositoryFileName
2002-12-23 11:36:30,181 DEBUG [HttpProcessor[8080][4]]: <=3D =
DirectoryManager store
2002-12-23 11:36:30,181 DEBUG [HttpProcessor[8080][4]]: =3D> =
DbConnectionPool getConnection
2002-12-23 11:36:30,181 DEBUG [HttpProcessor[8080][4]]: <=3D =
DbConnectionPool getConnection
2002-12-23 11:36:30,191 INFO [HttpProcessor[8080][4]]: Insert into =
messagestore database
2002-12-23 11:36:30,241 DEBUG [HttpProcessor[8080][4]]: =3D> =
DbConnectionPool freeConnection
2002-12-23 11:36:30,241 DEBUG [HttpProcessor[8080][4]]: <=3D =
DbConnectionPool freeConnection
2002-12-23 11:36:30,241 DEBUG [HttpProcessor[8080][4]]: <=3D =
MessageServer store
2002-12-23 11:36:30,271 DEBUG [HttpProcessor[8080][4]]: =3D> =
MessageServer getMessageFromFile
2002-12-23 11:36:30,332 DEBUG [HttpProcessor[8080][4]]: <=3D =
MessageServer getMessageFromFile
2002-12-23 11:36:30,362 DEBUG [HttpProcessor[8080][4]]: =3D> =
MessageProcessor MessageProcessor
2002-12-23 11:36:30,362 DEBUG [HttpProcessor[8080][4]]: <=3D =
MessageProcessor MessageProcessor
2002-12-23 11:36:30,362 DEBUG [HttpProcessor[8080][4]]: <=3D =
MessageServiceHandlerConnection send
2002-12-23 11:36:30,362 DEBUG [HttpProcessor[8080][4]]: <=3D =
MessageServiceHandler sendMessage
2002-12-23 11:36:30,372 DEBUG [Thread-3]: =3D> MessageProcessor run
2002-12-23 11:36:30,372 INFO [Thread-3]: Send... try #1
2002-12-23 11:36:30,382 DEBUG [Thread-3]: =3D> MessageServer retry
2002-12-23 11:36:30,382 DEBUG [Thread-3]: =3D> DbConnectionPool =
getConnection
2002-12-23 11:36:30,382 DEBUG [Thread-3]: <=3D DbConnectionPool =
getConnection
2002-12-23 11:36:30,382 INFO [Thread-3]: Current: 'Sent and Received =
(loopback message)' specified: 'Retrying #1'
2002-12-23 11:36:30,382 INFO [Thread-3]: Update state to become =
'Retrying #1'
2002-12-23 11:36:30,422 DEBUG [Thread-3]: =3D> DbConnectionPool =
freeConnection
2002-12-23 11:36:30,422 DEBUG [Thread-3]: <=3D DbConnectionPool =
freeConnection
2002-12-23 11:36:30,422 DEBUG [Thread-3]: <=3D MessageServer retry
2002-12-23 11:36:30,462 DEBUG [Thread-4]: =3D> HttpSender run
2002-12-23 11:36:30,612 DEBUG [Thread-4]: =3D> HttpServlet send
2002-12-23 11:36:30,792 ERROR [Thread-4]: =
java.security.PrivilegedActionException: javax.xml.soap.SOAPException: =
Absent Content-Type
2002-12-23 11:36:30,802 ERROR [Thread-4]: =
hk.hku.cecid.phoenix.message.transport.TransportException: =
java.security.PrivilegedActionException: javax.xml.soap.SOAPException: =
Absent Content-Type
Hi Visva,
=20
Is the error thrown in the sender side? Can the servlet receive the =
HTTP Post request?
Please give us more information, and preferably the source code of the =
servlet, so that we
can have a better understanding on your problem.
=20
BTW, we attached the sample code of a similar servlet written by us for =
our testing
purpose. Please see if there is any difference between your servlet and =
our servlet. Many
thanks.
=20
Regards, -Patrick
--
Patrick Yee
System Architect
Center for E-Commerce Infrastructure Development (CECID)
Dept. of Computer Science and Information Systems
The University of Hong Kong
Tel: (852) 22415674
Fax: (852) 25474611
=20
=20
----- Original Message -----=20
From: Visva=20
To: ebxmlms-develop@li...=20
Sent: Monday, December 23, 2002 06:07 PM
Subject: [ebxmlms-develop] Absent content type error
=20
=20
When I try to run a test case (source checked out from CVS today)
I get the following error when the Message Service Handler triesto=20
deliver the message.
=20
I created a dummy servlet to act as the receiver. Before I had any=20
servlet corresponding to the receiver URL, I got an error stating
"incorrect content type: text/html".
=20
I am obivously missing something fundamental here. Any help will be =
appreciated.
=20
Stack trace:=20
=20
Caused by: javax.xml.soap.SOAPException: Absent Content-Type
at =
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:8
6)
at =
com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Mess
ageFactoryImpl.java:32)
at =
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
PConnection.java:333)
at =
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
ost.run(HttpSOAPConnection.java:142)
=20
=20
Regards,
Visva
|
|
From: Visva <vk...@ho...> - 2002-12-23 10:13:09
|
When I try to run a test case (source checked out from CVS today)
I get the following error when the Message Service Handler triesto=20
deliver the message.
I created a dummy servlet to act as the receiver. Before I had any=20
servlet corresponding to the receiver URL, I got an error stating
"incorrect content type: text/html".
I am obivously missing something fundamental here. Any help will be =
appreciated.
Stack trace:=20
Caused by: javax.xml.soap.SOAPException: Absent Content-Type
at =
com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:8
6)
at =
com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Mess
ageFactoryImpl.java:32)
at =
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
PConnection.java:333)
at =
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
ost.run(HttpSOAPConnection.java:142)
Regards,
Visva
|
|
From: Frankie L. <fr...@mi...> - 2002-12-20 15:14:16
|
mine in green =3D)
Frankie
----- Original Message -----=20
From: Gait Boxman=20
To: ebx...@li...=20
Cc: Patrick Yee=20
Sent: Friday, December 20, 2002 6:44 PM
Subject: Re: [ebxmlms-develop] Non-compliance found, and other changes =
requested
mine in red :-)
Thanks, merry XMas and happy new year to all,=20
Gait
----- Original Message -----=20
From: Patrick Yee=20
To: ebx...@li...=20
Sent: Friday, December 20, 2002 4:30 AM
Subject: Re: [ebxmlms-develop] Non-compliance found, and other =
changes requested
Hi Gait,
My comment in blue.
Thanks & regards, -Patrick
The third issue is related to DuplicateElimination.
I set up two Monitors talking to each other. One Monitor =
repeatedly sends a message with a fixed message id and time stamp, and =
duplicate elimination (DE) turned on. However, all messages are received =
by the other Monitor. After adding some additional logging to =
MessageServer.hasReceived, I found that the record for the corresponding =
message is never retrieved from the database. I also noticed that =
hasReceived queries against a set of application context parameters and =
the message id, which I believe to be wrong, at least for DE. For DE, =
checking should be done on the parameters passed in from the message, =
since we want to check for duplication of the message itself.
Do you mean there is a case that we have 2 messages, having the =
same message ID but with different application context, and we would =
wrongly missed the DE? We think this is not logical as 2 messages having =
the same message ID should be identical. To this end, we are considering =
a more stringent approach: not to allow application to send out 2 =
messages having the same message ID. We suggest, if application level =
retry is needed, a new message ID should be used. Only MSH can send out =
2 messages with the same message ID when doing MSH level retry. It is =
not legal for the application to "reuse" message ID in any case.
Resending a message with the same ID is a feature of retries, and =
the DuplicateElimination was introduced so that when one MSH retries a =
message because something went wrong with the handshaking on the =
response, the receiving MSH can suppress the duplicates. The reason I =
suggest using the AC parameters from the message is related to the fact =
that the MSH supports wildcards. Between the first message and the =
duplicate, the configuration may have changed such that a different AC =
picks up the message (e.g. a new listener registered with a more =
specific AC). Even though the message is a duplicate, it will still be =
delivered to both the new, and the old listener. That's why DE should be =
based only on parameters from the message.
This is not exactly the case, because what you're trying to do is =
to resend the message *in application level*, and the ebMS specification =
requires the resending to be done by *the MSH*. In fact these two cases =
are handled differently in current version of MSH. This is the reason =
why prohibiting the "reuse" of message ID in application level may make =
some sense here.
But I agree that DE checking should only be based on the =
parameters in the message.
Did I miss something in the configuration that might break proper =
DE handling? Could it be that it does not work because I'm looping back =
on the same MSH, and the sending Monitor actually updates the DB in =
between calls?
Yes you are right, this is the problem only when you are looping =
back on the same MSH. If the 2 applications are connected to 2 different =
MSHs, this problem will not occur. This is a bug that the sender =
application will trigger MSH to update the DB in every try. We would =
file this bug and fix it in the future.
OK, that reduces it to a nuisance, should be fixed in V1.0 :-)
|
|
From: Gait B. <gai...@ti...> - 2002-12-20 10:44:38
|
mine in red :-)
Thanks, merry XMas and happy new year to all,=20
Gait
----- Original Message -----=20
From: Patrick Yee=20
To: ebx...@li...=20
Sent: Friday, December 20, 2002 4:30 AM
Subject: Re: [ebxmlms-develop] Non-compliance found, and other changes =
requested
Hi Gait,
My comment in blue.
Thanks & regards, -Patrick
The third issue is related to DuplicateElimination.
I set up two Monitors talking to each other. One Monitor repeatedly =
sends a message with a fixed message id and time stamp, and duplicate =
elimination (DE) turned on. However, all messages are received by the =
other Monitor. After adding some additional logging to =
MessageServer.hasReceived, I found that the record for the corresponding =
message is never retrieved from the database. I also noticed that =
hasReceived queries against a set of application context parameters and =
the message id, which I believe to be wrong, at least for DE. For DE, =
checking should be done on the parameters passed in from the message, =
since we want to check for duplication of the message itself.
Do you mean there is a case that we have 2 messages, having the same =
message ID but with different application context, and we would wrongly =
missed the DE? We think this is not logical as 2 messages having the =
same message ID should be identical. To this end, we are considering a =
more stringent approach: not to allow application to send out 2 messages =
having the same message ID. We suggest, if application level retry is =
needed, a new message ID should be used. Only MSH can send out 2 =
messages with the same message ID when doing MSH level retry. It is not =
legal for the application to "reuse" message ID in any case.
Resending a message with the same ID is a feature of retries, and =
the DuplicateElimination was introduced so that when one MSH retries a =
message because something went wrong with the handshaking on the =
response, the receiving MSH can suppress the duplicates. The reason I =
suggest using the AC parameters from the message is related to the fact =
that the MSH supports wildcards. Between the first message and the =
duplicate, the configuration may have changed such that a different AC =
picks up the message (e.g. a new listener registered with a more =
specific AC). Even though the message is a duplicate, it will still be =
delivered to both the new, and the old listener. That's why DE should be =
based only on parameters from the message.
Did I miss something in the configuration that might break proper DE =
handling? Could it be that it does not work because I'm looping back on =
the same MSH, and the sending Monitor actually updates the DB in between =
calls?
Yes you are right, this is the problem only when you are looping =
back on the same MSH. If the 2 applications are connected to 2 different =
MSHs, this problem will not occur. This is a bug that the sender =
application will trigger MSH to update the DB in every try. We would =
file this bug and fix it in the future.
OK, that reduces it to a nuisance, should be fixed in V1.0 :-) |
|
From: Gait B. <gai...@ti...> - 2002-12-20 10:36:57
|
Hi Patrick, We had scheduled a four-way two day test session last week, but had to = cancel it. We're now scheduling for a two day F2F session in the middle = of January (14/15). Before that, we should be able to do some online = testing as well... This is under the auspices of the European branch of ISO, our project = page is on = http://www.cenorm.be/isss/Workshop/eBES/WorkingArea/Vendors%20Forum/Pilot= _Project/Part%201/default.htm It's not that much, but then again, we're = running MSH's, not building websites :-). The main document describing our testing is on = ftp://ftp.cenorm.be/PUBLIC/EBES/Vendor_Forum/PP_Part_1/VF-IPP-MS-2002-004= .doc It's largely based on the IIC interoperability documentation. thnx again, Gait ----- Original Message -----=20 From: Patrick Yee=20 To: ebx...@li...=20 Sent: Friday, December 20, 2002 3:33 AM Subject: Re: [ebxmlms-develop] Non-compliance found, and other changes = requested Hi Gait, 1. We will be releasing version 0.9.3.0 very soon. The focus of this = release is conformance. In particular, the first issue has been tackled = in this release. 2. Yes, you are right that the addError mechanism is having some = problem right now. In our design, one should do the following steps to = add multiple Error into ErrorList: a. Call ebxmlMessage.addErrorList(), this will add the first Error to = ErrorList b. Call ebxmlMessage.getErrorList() to get the handle of the ErrorList = element c. Call errorList.addError() to add further Error Unfortunately, currently step(c) is in problem as all addError() = methods are private. We will modify them to public accessible. 3. We will try to repeat your situation and get back to you soon. We are excited to know that you are going to participate in = interoperability test in Europe. We have same test here in Asia. When = will be the timeframe? If possible, I would suggest you to use the = latest release 0.9.3.0 for testing, as we are putting a lot of efforts = in this release to address conformance problem. We are testing our code = internally and we target to release in one month time approximately. Thanks for your comment.=20 Regards, -Patrick -- Patrick Yee System Architect Center for E-Commerce Infrastructure Development (CECID) Dept. of Computer Science and Information Systems The University of Hong Kong Tel: (852) 22415674 Fax: (852) 25474611 ----- Original Message -----=20 From: Gait Boxman=20 To: ebx...@li...=20 Sent: Thursday, December 19, 2002 9:26 PM Subject: [ebxmlms-develop] Non-compliance found, and other changes = requested Hi, while doing some internal testing in preparation for the = interoperability tests in Europe (within CEN), I found some issues with = the MSH. First issue is with the Service element, which, according to section = 3.1.4.1 of the ebMS 2 spec must be a URI unless a type attribute is = present. AFAICT, the MSH does not check this. Second is with multiple Errors: The API does not allow for adding = multiple errors to an ebXML message. The only function to add an Error = is the addErrorList function, which will add an ErrorList element with = one Error. I suggest that the ebxmlMessage class is augmented with an = addError function, which creates the ErrorList when needed. Alternative = is to allow for the creation of an empty ErrorList, and open up the = addError in the ErrorList class. The third issue is related to DuplicateElimination. I set up two Monitors talking to each other. One Monitor repeatedly = sends a message with a fixed message id and time stamp, and duplicate = elimination (DE) turned on. However, all messages are received by the = other Monitor. After adding some additional logging to = MessageServer.hasReceived, I found that the record for the corresponding = message is never retrieved from the database. I also noticed that = hasReceived queries against a set of application context parameters and = the message id, which I believe to be wrong, at least for DE. For DE, = checking should be done on the parameters passed in from the message, = since we want to check for duplication of the message itself. Did I miss something in the configuration that might break proper DE = handling? Could it be that it does not work because I'm looping back on = the same MSH, and the sending Monitor actually updates the DB in between = calls? thnx, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gait Boxman Manager Advanced Technology & Standards TIE Product Development BV Amsterdam, The Netherlands Tel: +31 20 658 9091 Fax: +31 20 658 9945 E-mail: gai...@ti... WWW: www.TIEglobal.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
From: Patrick Y. <kc...@ce...> - 2002-12-20 03:30:49
|
Hi Gait, My comment in blue. Thanks & regards, -Patrick The third issue is related to DuplicateElimination. I set up two Monitors talking to each other. One Monitor repeatedly = sends a message with a fixed message id and time stamp, and duplicate = elimination (DE) turned on. However, all messages are received by the = other Monitor. After adding some additional logging to = MessageServer.hasReceived, I found that the record for the corresponding = message is never retrieved from the database. I also noticed that = hasReceived queries against a set of application context parameters and = the message id, which I believe to be wrong, at least for DE. For DE, = checking should be done on the parameters passed in from the message, = since we want to check for duplication of the message itself. Do you mean there is a case that we have 2 messages, having the same = message ID but with different application context, and we would wrongly = missed the DE? We think this is not logical as 2 messages having the = same message ID should be identical. To this end, we are considering a = more stringent approach: not to allow application to send out 2 messages = having the same message ID. We suggest, if application level retry is = needed, a new message ID should be used. Only MSH can send out 2 = messages with the same message ID when doing MSH level retry. It is not = legal for the application to "reuse" message ID in any case. Did I miss something in the configuration that might break proper DE = handling? Could it be that it does not work because I'm looping back on = the same MSH, and the sending Monitor actually updates the DB in between = calls? Yes you are right, this is the problem only when you are looping back = on the same MSH. If the 2 applications are connected to 2 different = MSHs, this problem will not occur. This is a bug that the sender = application will trigger MSH to update the DB in every try. We would = file this bug and fix it in the future. |
|
From: Patrick Y. <kc...@ce...> - 2002-12-20 02:34:20
|
Hi Gait, 1. We will be releasing version 0.9.3.0 very soon. The focus of this = release is conformance. In particular, the first issue has been tackled = in this release. 2. Yes, you are right that the addError mechanism is having some problem = right now. In our design, one should do the following steps to add = multiple Error into ErrorList: a. Call ebxmlMessage.addErrorList(), this will add the first Error to = ErrorList b. Call ebxmlMessage.getErrorList() to get the handle of the ErrorList = element c. Call errorList.addError() to add further Error Unfortunately, currently step(c) is in problem as all addError() methods = are private. We will modify them to public accessible. 3. We will try to repeat your situation and get back to you soon. We are excited to know that you are going to participate in = interoperability test in Europe. We have same test here in Asia. When = will be the timeframe? If possible, I would suggest you to use the = latest release 0.9.3.0 for testing, as we are putting a lot of efforts = in this release to address conformance problem. We are testing our code = internally and we target to release in one month time approximately. Thanks for your comment.=20 Regards, -Patrick -- Patrick Yee System Architect Center for E-Commerce Infrastructure Development (CECID) Dept. of Computer Science and Information Systems The University of Hong Kong Tel: (852) 22415674 Fax: (852) 25474611 ----- Original Message -----=20 From: Gait Boxman=20 To: ebx...@li...=20 Sent: Thursday, December 19, 2002 9:26 PM Subject: [ebxmlms-develop] Non-compliance found, and other changes = requested Hi, while doing some internal testing in preparation for the = interoperability tests in Europe (within CEN), I found some issues with = the MSH. First issue is with the Service element, which, according to section = 3.1.4.1 of the ebMS 2 spec must be a URI unless a type attribute is = present. AFAICT, the MSH does not check this. Second is with multiple Errors: The API does not allow for adding = multiple errors to an ebXML message. The only function to add an Error = is the addErrorList function, which will add an ErrorList element with = one Error. I suggest that the ebxmlMessage class is augmented with an = addError function, which creates the ErrorList when needed. Alternative = is to allow for the creation of an empty ErrorList, and open up the = addError in the ErrorList class. The third issue is related to DuplicateElimination. I set up two Monitors talking to each other. One Monitor repeatedly = sends a message with a fixed message id and time stamp, and duplicate = elimination (DE) turned on. However, all messages are received by the = other Monitor. After adding some additional logging to = MessageServer.hasReceived, I found that the record for the corresponding = message is never retrieved from the database. I also noticed that = hasReceived queries against a set of application context parameters and = the message id, which I believe to be wrong, at least for DE. For DE, = checking should be done on the parameters passed in from the message, = since we want to check for duplication of the message itself. Did I miss something in the configuration that might break proper DE = handling? Could it be that it does not work because I'm looping back on = the same MSH, and the sending Monitor actually updates the DB in between = calls? thnx, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gait Boxman Manager Advanced Technology & Standards TIE Product Development BV Amsterdam, The Netherlands Tel: +31 20 658 9091 Fax: +31 20 658 9945 E-mail: gai...@ti... WWW: www.TIEglobal.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
From: Patrick Y. <kc...@cs...> - 2002-12-19 16:58:20
|
Hi WK, Sorry that I have tried but cannot repeat your problem. Here is what I can conclude: 1. According to our experience, the "Couldn't find trusted certificate" error is due to recepient's certificate not being imported to the cacerts file of the sender, or the certificate's common name is not matched with the connecting URL. 2. We have never met the "HTTPS hostname wrong" error. But I do have searched the internet a little bit, and found the following page describing a quite similar problem: http://forum.java.sun.com/thread.jsp?forum=3D2&thread=3D314145 In the above page, a bug of JDK 1.4.1_01 is mentioned. Although I have downloaded the JDK and tested it to be ok in my case, I suggest you to try another version of JDK, say JDK 1.4.0 to see if the problem is still there. This might generate more hints. We will continue to investigate this. Thanks. Regards, -Patrick On Thu, 19 Dec 2002, Wing Kai Chan wrote: > Hi Patrick, > > I think I have figured out the reasons (but not the solutions) of my > problems. > > 1. At the PC side, the error is 'Couldn't find trusted certificate'. > 2. At the Linux side, there is the HTTPS hostname problem mentioned in th= e > previous mail. > > That double points of failure have made me lots of confusion. The reason > why I can't send it this way is not the same as the reason why I can't se= nd > it the other way round. > > I'll call you tomorrow. Thank you. > > Regards, > WK > > ____ Forwarded by Wing Kai CHAN/ITSD/HKSARG on 19.12.2002 07:32 PM _____ > > > From: Wing Kai CHAN on 19.12.2002 07:05 PM > To: "Patrick Yee" <kc...@ce...> > cc: > Subject: MSH over SSL > > Hi Patrick, > > I found one more hint. I deduce that there is problem when referring MSH = by > IP rather than by hostname. > > Okay: Loopback_pc -> SSL Request -> MSH_linux, toMSHUrl =3D > https://hostname:8443/msh > Error: Loopback_linux -> SSL Request -> MSH_pc, toMSHUrl =3D > https://10.30.67.215:8443/msh > > Packaging... > Info: using property file in /usr/local/msh/client/sample/msh.properties.= xml > hk.hku.cecid.phoenix.message.handler.RequestException: HTTPS hostname wro= ng: sh > ould be <10.30.67.215> > at hk.hku.cecid.phoenix.message.handler.Request.sendCommand(Unkno= wn Sour > ce) > at hk.hku.cecid.phoenix.message.handler.Request.sendMessageServic= eHandle > rConfig(Unknown Source) > at hk.hku.cecid.phoenix.message.handler.Request.register(Unknown = Source) > at hk.hku.cecid.phoenix.message.handler.Request.<init>(Unknown So= urce) > at hk.hku.cecid.phoenix.message.handler.Request.<init>(Unknown So= urce) > at LoopBack.run(LoopBack.java:29) > at LoopBack.main(LoopBack.java:11) > > > ____ Forwarded by Wing Kai CHAN/ITSD/HKSARG on 19.12.2002 06:47 PM _____ > > > From: Wing Kai CHAN on 19.12.2002 06:16 PM > To: "Patrick Yee" <kc...@ce...> > cc: > Subject: MSH over SSL > > Sorry that I missed an important hint. In catalina.out it seems that it's > complaining the HTTPS hostname. But I am already calling with toMSHUrl = =3D > https://10.30.67.215:8443/msh. So what's wrong? > > Providers com.sun.net.ssl.internal.www.protocol > java.io.IOException: HTTPS hostname wrong: should be <10.30.67.215> > at sun.net.www.protocol.https.HttpsClient.b(DashoA6275) > at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275) > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.con= nect(DashoA6275) > at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpU= RLConnection.java:528) > at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOld= Impl.getOutputStream(DashoA6275) > at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(Htt= pSOAPConnection.java:247) > at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$Priviled= gedPost.run(HttpSOAPConnection.java:142) > at java.security.AccessController.doPrivileged(Native Method) > at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(Htt= pSOAPConnection.java:115) > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown S= ource) > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Sourc= e) > java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Me= ssage send failed > at java.security.AccessController.doPrivileged(Native Method) > at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(Htt= pSOAPConnection.java:115) > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown S= ource) > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Sourc= e) > Caused by: javax.xml.soap.SOAPException: Message send failed > at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(Htt= pSOAPConnection.java:289) > at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$Priviled= gedPost.run(HttpSOAPConnection.java:142) > ... 4 more > Caused by: java.io.IOException: HTTPS hostname wrong: should be <10.30.6= 7.215> > at sun.net.www.protocol.https.HttpsClient.b(DashoA6275) > at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275) > at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.con= nect(DashoA6275) > at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpU= RLConnection.java:528) > at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOld= Impl.getOutputStream(DashoA6275) > at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(Htt= pSOAPConnection.java:247) > ... 5 more > > ____ Forwarded by Wing Kai CHAN/ITSD/HKSARG on 19.12.2002 06:10 PM _____ > > > From: Wing Kai CHAN on 19.12.2002 05:58 PM > To: ebx...@li... > cc: > Subject: MSH over SSL > > I got a problem when I try to set up two MSHs to talk with each other ove= r > SSL. > > The message flow I want to try is: Loopback_linux -> MSH_linux -> SSL -> > MSH_pc -> Loopback_pc > > I deployed MSH v0914 to a PC and a Linux, running on Tomcat 4.0.4 which a= re > SSL-enabled. I also patched xalan.jar to the endorsed directory. > > I also imported the server cert into the java keystores of the opposite > machines, eg, > In Linux, keytool =A1Vexport =A1Vfile XXX =A1Valias tomcat > In PC, keytool =A1Vimport =A1Vfile XXX =A1Valias YYY =A1Vkeystore > %JAVA_HOME/jre/lib/security/cacerts > > Typing https://pc_ip:8443/msh and https://linux_hostname:8443/msh in > browser gives normal response. > > Running Loopback to send to oneself succeeded too. That is, there was no > problem for Loopback_linux to send message to itself via > https://linux_hostname:8443/msh and for Loopback_pc to send message to > itself via https://pc_ip:8443/msh > > The problem happened when I ran Loopback_linux with toMSHUrl =3D > https://pc_ip:8443/msh, a PrivilegedActionException was thrown and it > failed to send the message. Belows are extracts from the Linux MSH log. T= he > same error happened when I ran Loopback_pc with toMSHUrl =3D > https://linux_hostname:8443/msh. > > 2002-12-19 17:03:44,000 DEBUG [HttpProcessor[8080][3]]: Received request > for sending message > 2002-12-19 17:03:46,910 DEBUG [HttpProcessor[8080][3]]: Final sequence > number in store: -9999 > 2002-12-19 17:03:46,910 DEBUG [HttpProcessor[8080][3]]: Entering > MessageServer.store > 2002-12-19 17:03:46,960 DEBUG [HttpProcessor[8080][3]]: > getRepositoryFileName return: R0000\eYQNozgENgIDmOJlQr2WDQ=3D=3D > 2002-12-19 17:03:47,020 DEBUG [HttpProcessor[8080][3]]: Insert into > messagestore database > 2002-12-19 17:03:47,020 DEBUG [Thread-3]: Send... try #1 > 2002-12-19 17:03:47,020 DEBUG [Thread-3]: Entering MessageServer.retry > 2002-12-19 17:03:47,070 DEBUG [Thread-3]: Current: 0 specified: 1 > 2002-12-19 17:03:47,070 DEBUG [Thread-3]: Update state to become 1 > 2002-12-19 17:03:48,280 DEBUG [Thread-3]: > hk.hku.cecid.phoenix.message.handler.HttpSender cannot send message > successfully for 1 times: > hk.hku.cecid.phoenix.message.transport.TransportException: > java.security.PrivilegedActionException: javax.xml.soap.SOAPException: > Message send failed > > Does anybody know what happens? Thanks for any advice. > > Regards, > WK > > > > > > > > > > > > |