You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(20) |
Nov
(11) |
Dec
(27) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(11) |
Feb
(8) |
Mar
(17) |
Apr
(11) |
May
(9) |
Jun
(30) |
Jul
(18) |
Aug
|
Sep
(4) |
Oct
(34) |
Nov
(83) |
Dec
(28) |
| 2004 |
Jan
(4) |
Feb
|
Mar
(13) |
Apr
(20) |
May
(4) |
Jun
(26) |
Jul
(5) |
Aug
(2) |
Sep
(3) |
Oct
(7) |
Nov
(10) |
Dec
(24) |
| 2005 |
Jan
(7) |
Feb
(44) |
Mar
(9) |
Apr
(16) |
May
(9) |
Jun
(64) |
Jul
(48) |
Aug
(36) |
Sep
(27) |
Oct
(24) |
Nov
(20) |
Dec
(11) |
| 2006 |
Jan
(12) |
Feb
(13) |
Mar
(7) |
Apr
|
May
(16) |
Jun
(5) |
Jul
(2) |
Aug
(7) |
Sep
(19) |
Oct
(5) |
Nov
(9) |
Dec
(13) |
| 2007 |
Jan
(21) |
Feb
(12) |
Mar
(6) |
Apr
|
May
(2) |
Jun
(14) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(5) |
May
(2) |
Jun
(1) |
Jul
(6) |
Aug
|
Sep
(9) |
Oct
(3) |
Nov
(25) |
Dec
(32) |
| 2009 |
Jan
(11) |
Feb
(12) |
Mar
(18) |
Apr
(19) |
May
(31) |
Jun
(23) |
Jul
(35) |
Aug
(7) |
Sep
(2) |
Oct
|
Nov
|
Dec
(8) |
| 2010 |
Jan
(3) |
Feb
(3) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ant...@re...> - 2003-03-14 04:19:16
|
To get this working you can download the source code from Sun for SAAJ, modify the AttachmentPartImpl class and then recompile. I can't remember the address at Sun to download the source but if you search the site you should find it. Obviously you'll need to check the licencing on what you can do with your changes but for testing I'm sure it's fine. For more details have a look at the sun java forums at http://forum.java.sun.com/thread.jsp?forum=34&thread=240020 for the changes necessary Anthony Ellis Red Wahoo ----------------------------- Tel: +61 438 878 003 www.redwahoo.com -----Original Message----- From: ebx...@li... [mailto:ebx...@li...]On Behalf Of Ronald van Kuijk Sent: Friday, March 14, 2003 1:05 PM To: ebx...@li... Subject: Re: [ebxmlms-general] MSH and client WebApp on same web server Look at the message below (and the response from Sun), we ran into the same issue on an internal project. It seems to be a bug in SAAJ --------------------------------------------- Renzo Toma wrote: > > Hi Sun people, > > We have JAXM packaged in an EAR file and activation on the > systemclasspath of a BEA Weblogic server. When the AttachmentPartImpl > class (part of SAAJ) of JAXM is loaded in a static block it seems to > define the DataHandler.setDataContentHandlerFactory within Activation. > When the factory is already set Activation throws an Error exception > which JAXM does not catch properly and thus crashes JAXM. > > During development we want to redeploy our EAR a lot, but since > Activation crashes JAXM we are required to coldstart Weblogic. > > I checked with the latest Activation 1.0.2 and SAAJ 1.1.1 in WSDSP 1.1 > and it's still here. > > To cope with this situation we may need to create a quick patch on > Activation which does not throw an Error exception. > But we hope you can fix this on your code. > I talked to our people who own SAAJ and they believe it's a SAAJ problem that they're going to try to address in a future release. ------------------------------------------------- Or in short, you cannot have to apps on one server using the same saaj implementation but deployed twice (in different ear/war/jar) Ronald simon čarni probeerde het volgende duidelijk te maken op 13-3-2003 23:52: > Hi team. > My situation is looks like this: > I implemented MessageListener as a Servlet. Both, MSH and client are > installed on same web server (Tomcat 4.0.4). When the mesage for my > listener arrives I get following error: > > java.lang.Error: DataContentHandlerFactory already defined > > at > javax.activation.DataHandler.setDataContentHandlerFactory(DataHandler.java:6 28) > > at > com.sun.xml.messaging.saaj.soap.AttachmentPartImpl.<clinit>(AttachmentPartIm pl.java:35) > > at > com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:124) > > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryImpl.java:32) > > at hk.hku.cecid.phoenix.message.handler.Request$Monitor.run(Unknown > Source). > > I assume that on one web server only one DataContentHandlerFactory can > be defined. Is there any way to get around this problem??? > > If I just simply copy-paste the client web app to another server it > works without any mistakes, but would really like to have both (MSH > and client) on same server. > > Thank's in advance > > > > Simon > > > > > ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ ebxmlms-general mailing list ebx...@li... https://lists.sourceforge.net/lists/listinfo/ebxmlms-general |
|
From: Ronald v. K. <rv...@ab...> - 2003-03-14 01:59:39
|
Look at the message below (and the response from Sun), we ran into the same issue on an internal project. It seems to be a bug in SAAJ --------------------------------------------- Renzo Toma wrote: > > Hi Sun people, > > We have JAXM packaged in an EAR file and activation on the > systemclasspath of a BEA Weblogic server. When the AttachmentPartImpl > class (part of SAAJ) of JAXM is loaded in a static block it seems to > define the DataHandler.setDataContentHandlerFactory within Activation. > When the factory is already set Activation throws an Error exception > which JAXM does not catch properly and thus crashes JAXM. > > During development we want to redeploy our EAR a lot, but since > Activation crashes JAXM we are required to coldstart Weblogic. > > I checked with the latest Activation 1.0.2 and SAAJ 1.1.1 in WSDSP 1.1 > and it's still here. > > To cope with this situation we may need to create a quick patch on > Activation which does not throw an Error exception. > But we hope you can fix this on your code. > I talked to our people who own SAAJ and they believe it's a SAAJ problem that they're going to try to address in a future release. ------------------------------------------------- Or in short, you cannot have to apps on one server using the same saaj implementation but deployed twice (in different ear/war/jar) Ronald simon čarni probeerde het volgende duidelijk te maken op 13-3-2003 23:52: > Hi team. > My situation is looks like this: > I implemented MessageListener as a Servlet. Both, MSH and client are > installed on same web server (Tomcat 4.0.4). When the mesage for my > listener arrives I get following error: > > java.lang.Error: DataContentHandlerFactory already defined > > at > javax.activation.DataHandler.setDataContentHandlerFactory(DataHandler.java:628) > > at > com.sun.xml.messaging.saaj.soap.AttachmentPartImpl.<clinit>(AttachmentPartImpl.java:35) > > at > com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:124) > > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:32) > > at hk.hku.cecid.phoenix.message.handler.Request$Monitor.run(Unknown > Source). > > I assume that on one web server only one DataContentHandlerFactory can > be defined. Is there any way to get around this problem??? > > If I just simply copy-paste the client web app to another server it > works without any mistakes, but would really like to have both (MSH > and client) on same server. > > Thank's in advance > > > > Simon > > > > > |
|
From: <sc...@za...> - 2003-03-13 22:48:31
|
Hi team. My situation is looks like this: I implemented MessageListener as a Servlet. Both, MSH and client are instal= led on same web server (Tomcat 4.0.4). When the mesage for my listener arri= ves I get following error:=20 java.lang.Error: DataContentHandlerFactory already defined at javax.activation.DataHandler.setDataContentHandlerFactory(DataHandler.ja= va:628) at com.sun.xml.messaging.saaj.soap.AttachmentPartImpl.<clinit>(AttachmentPa= rtImpl.java:35) at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:124) at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Message= FactoryImpl.java:32) at hk.hku.cecid.phoenix.message.handler.Request$Monitor.run(Unknown Source)= =2E I assume that on one web server only one DataContentHandlerFactory can be d= efined. Is there any way to get around this problem??? If I just simply copy-paste the client web app to another server it works w= ithout any mistakes, but would really like to have both (MSH and client) on= same server. Thank's in advance Simon |
|
From: Patrick Y. <kc...@ce...> - 2003-03-07 02:17:24
|
Hi, The (CPAid, Service, Action, ConversationID) tuple is what we call application context. The client registers its application context with Hermes. Therefore, Hermes can deliver all messages matching the specified application context to the client. When Hermes receives a message with application context not yet registered, it doesn't know where to deliver the message and so an error message is generated and sent back. Please note that Hermes will perform exact match over the application context. So, changing the registered ConversationID a bit will nullify the match. We agree that the conversation ID should be generated by sender and the receiver should have no idea about that beforehand. To cater this, we support the client to register a "*" to the ConversationID field, meaning that the client wants to receive all possible ConversationID. In fact, "*" can be specified to any one of the four fields in application context, to denote a wildcard. Hope this helps. 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 ----- From: "pai" <pa...@ma...> To: <ebx...@li...>; <ebx...@li...> Sent: Friday, March 07, 2003 4:11 AM Subject: [ebxmlms-general] Help please i'm rooky > In the monitoring example application come with distribute package, I try to test > Herms ebms with starting two apache tomcat and deploy two Herms ebms > seperately and I try to send message togather. > the result is if the two ebms has the same parameters > (CPAid,Service,Action,ConversationID),it's working properly but if it use > difference parameters just only one parameter such as ConversationID, the > result is failed and have an error message back to the sender. Why? > > Maybe i missed some point because i think sender create message to receiver > thus sender should be create the ConversationID thus how receiver know the > conversionID that useing for registering to Herms ebms server. > > Thank you very much > > Panu K. > T.N. Information Systems > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > |
|
From: pai <pa...@ma...> - 2003-03-06 20:11:49
|
In the monitoring example application come with distribute package, I try to test Herms ebms with starting two apache tomcat and deploy two Herms ebms seperately and I try to send message togather. the result is if the two ebms has the same parameters (CPAid,Service,Action,ConversationID),it's working properly but if it use difference parameters just only one parameter such as ConversationID, the result is failed and have an error message back to the sender. Why? Maybe i missed some point because i think sender create message to receiver thus sender should be create the ConversationID thus how receiver know the conversionID that useing for registering to Herms ebms server. Thank you very much Panu K. T.N. Information Systems |
|
From: Patrick Y. <kc...@ce...> - 2003-03-06 09:15:01
|
Trouble with firewallThis is strange. According to our experience, = nothing special is needed to do in order to configure tomcat behind = firewall. Can you go to the "MSH is alive..." page? You can access that = page by using a browser: http://<host>:<port>/msh/ Or, can you give more specific error so that we can have a better = understanding? Thanks. Cheers, -Patrick ----- Original Message -----=20 From: Regis Dubois=20 To: EbXMLms List (E-mail)=20 Sent: Thursday, March 06, 2003 5:03 PM Subject: [ebxmlms-general] Trouble with firewall Hello,=20 I have designed an application using Hermes MSH that runs with Tomcat. = My network is using a firewall, so I asked my adminsys to open the = port on which my apps is running (the tomcat port). I installed MSH in = the same tomcat and it is running using the same port. Although the = servlets and jsps of my app are working, as soon as I try to use the = MSH, it isn't. Is there something special to do in order to configure it for my = firewall?=20 |
|
From: Regis D. <Reg...@va...> - 2003-03-06 09:06:15
|
Hello, I have designed an application using Hermes MSH that runs with Tomcat. My network is using a firewall, so I asked my adminsys to open the port on which my apps is running (the tomcat port). I installed MSH in the same tomcat and it is running using the same port. Although the servlets and jsps of my app are working, as soon as I try to use the MSH, it isn't. Is there something special to do in order to configure it for my firewall? |
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-03-04 06:40:05
|
Hello,
> I would like to know if there is any way to do synchronous messaging
> (sending and receiving of messages).
> I know that one way would be (on the receiving side), to implement the
> logic whic could ,based upon context(cpaid, service action), create
> apropriate message, open new connection and send the message back. But that
> doesn't complie to the specification where ot stands that the exchange of
> messages should by performerd on one connetion.
You are right. In synchronous messaging using synchronous protocol
like HTTP, the sender of a message should receive the response message over
the SAME connection in which the request message is sent. This is stated
in Section 4.3 of ebMS 2.0.
> 2. What does happen if i implement MessageListener and my getClientURL
> method returns the URL of sender of received message. In body of onMessage
> method, i would then create appropriate message. Would this implementation
> return the message back to the sender and is this the right way to do sync
> messaging?
Even you create appropriate message in onMessage(), the current
implementation would not send it back to the sender because onMessage() is
for receiving message only. You have to explicitly send your response message
through Request but this would not be sent synchronously through the same
HTTP channel in the current implementation.
> 3. How to synchronously SEND a message?
> 4.When can we excpect interfaces like public EbxmlMessage onMessage() and
> public public EbxmlMessage mshReg.sendSync(...)
To answer all these questions on SyncReply, we are now focusing on
the implementation. The mechanism is as follows. Upon construction, Request
is configured to indicate which SyncReply mode to use (which comes from CPA).
Then, MSH server would know that for the subsequent message sending and
receiving activities, it should keep the same HTTP connection for this
Request. This is totally transparent to the client of Request which makes
the client programming as easy as before.
> I also have another (a bitt out of context question)
> In TODO list for 0.9.3.1 version i found web-based client. I would like to
> know what do you mean by that.
Oops, that is just an internal development tool for our developers.
It is not related to the release of Hermes.
> If i implement an servlet which sends messages and implements
> MessageListener I basicaly have a web client.
Yes. This is one of the use cases of Hermes.
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: Patrick Y. <kc...@ce...> - 2003-03-03 02:50:01
|
Hi Ken, You may need to have a look at the log files at MSH servlet: /home/edicweb/jakarta-tomcat/logs/msh.log Frequently, clues can be found there. Another test for the connectivity: you can use a browser at the client = side to point to the location: http://edicweb.4java.net/msh/=20 If it shows: "MSH is alive...", that means the setting is likely to be = correct in server side. I have tried that in my office, but I cannot get = that message. So please try to fix the server side error. Please see the = MSH log file mentioned above as well as tomcat log for clues. Cheers, -Patrick P.S. I cc'ed this reply to the ebxmlms-general mail list of Hermes. If = possible, please refer to that mailing list for technical enquiries. You = can join that list at sourceforge = (http://sourceforge.net/projects/ebxmlms). Thanks. ----- Original Message -----=20 From: Ken Spiteri=20 To: Patrick Yee=20 Sent: Sunday, March 02, 2003 10:30 PM Subject: MSH Feedback and Support Request - LoopBack Test Patrick, This is just some feedback on the LoopBack test and a request for some = help, if possible.=20 First, the feedback. I ran RunLoopBack.bat on a Win95 machine and = encountered a problem on both the first and second lines of the batch = file. I think that there may be a problem with the end-of-line = characters in this file, because when I ran each line separately (in = separate batch files) the steps completed successfully. Now for my problem. I have installed the MSH servlet (binary = distribution) on an Apache/Tomcat server (v 4.1.18) that is hosted by a = third party on the Internet. I have installed the MSH client on my = Win95 desktop. When I run the LoopBack test, the client seems to be = connecting to the MSH server (HTTP response code 200) but the post is = not successful. The client returns the following messages: Packaging... Info: using property file in = /D:/EDIC/RESEARCH/ebXML/Hermes/msh_client/sample/msh_client.properties.xm= l hk.hku.cecid.phoenix.message.handler.RequestException: Failed to send query to MSH. HTTP response code =3D 200 HTTP response message =3D null at = hk.hku.cecid.phoenix.message.handler.Request.expectMapResponse(Unknown = Source) at = hk.hku.cecid.phoenix.message.handler.Request.sendMessageServiceHandlerCon= fig(Unknown Source) at = hk.hku.cecid.phoenix.message.handler.Request.register(Unknown Source) at hk.hku.cecid.phoenix.message.handler.Request.<init>(Unknown = Source) at hk.hku.cecid.phoenix.message.handler.Request.<init>(Unknown = Source) at LoopBack.run(LoopBack.java:29) at LoopBack.main(LoopBack.java:11) I have attached my msh_client.properties and msh.properties files for = your reference. Do you have any suggestions? Should I be posting support requests to = the newsgroup at SourceForge instead of to you directly? Thank you. Sincerely, Ken Spiteri EDIC Inc. www.edicweb.com ksp...@ed... tel: 416.410.2795 fax: 905.455.6564=20 ----- Original Message -----=20 From: Patrick Yee=20 To: Ken Spiteri=20 Cc: Dorris Tai=20 Sent: Monday, February 24, 2003 9:56 PM Subject: Re: Hosted MSH Application Server Hi Ken, We encourage the developers to set up their own MSH application = server. As Hermes is flexible and highly configurable, we think = different developers may want to have different preferences and = configurations on Hermes. Therefore, it is quite impossible for us to = set up a "generic" deployment for testing of customized MSH clients. = BTW, some users reported that they can successfully set up a MSH = application server on low-end platform like Windows 98. So, we assume = that it shouldn't be a big issue to set up a testing MSH application = server in the developers' own site. Thank you for your suggestion. Please let us know your thoughts so = that we can continue to improve our products. Cheers, -Patrick ----- Original Message -----=20 From: Ken Spiteri=20 To: fre...@ce...=20 Sent: Thursday, February 20, 2003 11:30 PM Subject: Hosted MSH Application Server It would be nice to code and test an MSH Client without having to = install an MSH Application Server. Are there any plans for freebXML.org = to make a hosted MSH Application Server available for developers to test = their MSH Clients with? Thank you. Ken Spiteri EDIC Inc. www.edicweb.com ksp...@ed... tel: 416.410.2795 fax: 905.455.6564 |
|
From: <sc...@za...> - 2003-03-01 13:05:38
|
Hi team I would like to know if there is any way to do synchronous messaging (sendi= ng and receiving of messages). I know that one way would be (on the receiving side), to implement the logi= c whic could ,based upon context(cpaid, service action), create apropriate = message, open new connection and send the message back. But that doesn't co= mplie to the specification where ot stands that the exchange of messages sh= ould by performerd on one connetion. 2. What does happen if i implement MessageListener and my getClientURL meth= od returns the URL of sender of received message. In body of onMessage meth= od, i would then create appropriate message. Would this implementation retu= rn the message back to the sender and is this the right way to do sync mess= aging? 3. How to synchronously SEND a message? 4.When can we excpect interfaces like public EbxmlMessage onMessage() and = public public EbxmlMessage mshReg.sendSync(...) I also have another (a bitt out of context question) In TODO list for 0.9.3.1 version i found web-based client. I would like to = know what do you mean by that.=20 If i implement an servlet which sends messages and implements MessageListen= er I basicaly have a web client. I'm new to hermes 0.9.3.0 so maybe some of the questions will sound silly t= o you. Thank's in advance Simon=20 |
|
From: Gait B. <gai...@ti...> - 2003-02-13 10:47:55
|
Hi team, we've discovered a challenge with the sending back of acknowledgements = (and probably statuses as well) when using wildcards in our Application = Contexts. Basically, we want to use a single AC for all incoming data, and have = all four fields in there marked as a wildcard. Since we need to specify = a toMshUrl, we stuck that to http://localhost:8080/msh/. We don't intend = to send any message out using the attached Request object, so in = principle, it's a dummy value. However, we discovered that the MSH uses = the same URL to reply to acknowledgement requests (and from the code, = status requests). The net result is that we send an acknowledgement, but = not to the MSH of the sender, and the ack gets lost. As long as there is = one other MSH that we're communicating with, we can set the toMshUrl or = our receive Request to it's URL, but that will fail as soon we start = communicating wiht multiple parties. I see two solutions to the challenge, 1) instead of using the Connection that is hooked with the AC receiving = the message, extract the From Party URI that is in the message and build = a Connection to that URI on the fly. 2) Add another table to the MSH where we can maintain reply connections = with specific application contexts, without using them for the routing = of incoming messages. The table could also be used to store alternate = URI's when the main one is off line, or even URI's to report error = messages.=20 When no entry is available, the default URI for acknowledgements should = be taken from the message as in 1). Come to think of it, such a design is a lot more inline with CPPA as = well. The trick is to separate the configuration of allowed channels = from the routing to registered listeners. Yes, I am aware this is not an easy task, but I believe it is worth the = effort. -- Gait. PS I'd love to help develop, but I'm seriously resource challenged at = the moment. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-02-12 03:57:03
|
Dear all, We are pleased to announce a new stable release of Hermes today. You can = download the latest release either from our project homepage on = SourceForge (http://sourceforge.net/projects/ebxmlms), or from = freebXML.org (http://www.freebxml.org). Thanks a lot for your support. For your information, here is the release = note of this release: Version 0.9.3.0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Configuration: - Splitted the property file into three. msh.properties.xml will be for = Hermes server, msh_client.properties.xml will be for MSH stub and=20 monitor.properties.xml is for Monitor. - Bug fixed for wrong property file entry being read for rolling log = file. Operation: - Enhanced exception support. Now exception would be thrown if any SOAP = header that has the mustUnderstand flag equals to "1", but cannot be = processed. - Modified DiagTool to create dump directories automatically. - Log the MSH halt and resume time to MSHLog table. - Added "GetIsHalted()" function to check if the MSH has been halted. = Monitor has been updated to demonstrate its usage. - Added unregistration of application context. However, the = unregistration will=20 fail when there is pending message to be sent or to be received. - If the application context of the incoming message cannot be = recognized, now=20 it will send an error message back to the originating MSH.=20 - Added a new class Utility for common methods called by server and = clients. - Modified to suspend the mail polling thread also when the MSH is = suspended. - Fixed the bug that the starting time of archive / backup operations = cannot be earlier than year 2001. - After a pending message is marked as "deleted", it was possible that = the same message be returned in the subsequent getPendingMessages() call since = the sending thread is not immediately shut down but it needs to wait till = the next retry time. It is now changed in the way such that deleted sending = threads are not returned by getPendingMessages(). - Trusted Repository delivery method is now divided into "server-side = trusted repository", which is written by the MSH, and "client-side = repository", which is written by the client stub (Request Object). - The use of polling directory is removed and it can be safely deleted. = All messages are now stored in the message repository. - Fixed the bug that using different messaging mode in the same = application context causes error. - Updated XERCES library to version 2.2.1 - Supported fractional seconds in UTC formatted time, and we now do = checking on=20 timestamp when a message arrives. Now we generally use UTC time for = all=20 date/time parameter values and for returning results - Modified the behaviour of archive by date. Now all the messages that = are in=20 the time range (inclusive) are archived and nothing more. - Reformat the results returned by getDBConnectionPoolInfo so that it = looks=20 similar to the relevant settings in configuration file. - Fixed bug in dumping data from MSHLog: only output those in specified = time=20 period only. - Fixed the logger error displayed in tomcat console under Windows = environment. - Fixed the bug that always return success in "restore" function. - Bug Fix: the response message of archiveByDate() now shows the failed = message=20 IDs clearly. - Bug fix: Null pointer exception results if the message repository = directory=20 cannot be written. Now it throws exception that is properly handled by = the=20 Transaction object. Packaging: - Modified packaging part to fulfil the requirement of ebMS = specification. - Reorganized the exceptions thrown when composing/internalizing an = ebXML message. Now a SOAPValidationException will be thrown in case the = operation is invalid with respect to the ebXML schema, and an = EbxmlValidationException will be thrown if a logical error occurs. - Refactored an ebXML message validation module, which is responsible = for validate the correctness of the received message according various=20 requirement from the ebMS specification. The checkings include SOAP=20 formatting, payload integrity, etc. For any incorrect messages, = corresponding=20 ebXML error messages would be sent back to the sending MSH. Database: - Fixed the bug that connection pool cannot be reset successfuly if a connection cannot be closed successfully. - Added "GetNumRecordsInDB()" function to check the number of records = stored=20 in MSH database. Monitor has been updated to demonstrate its usage. - Added "GetDBConnectionPoolInfo()" function to check the information = about the=20 connection pool. Monitor has been updated to demonstrate its usage. - Modified database connection pool mechanism. Now a new database = connection=20 will be created and returned if the old connection has been idle for a specified time period. - Modified to close the database connections asynchronously, so that it = won't block the main threads. - Modified to mark the database connection invalid when returning to = connection=20 pool if any error occurred during database operations, so that the = object is=20 discarded and a new connection is created next time it is requested. - Changed DB schema to accommodate more than 2 possible values of sync = reply mode in CPA. - Now check the healthiness of DB connection in the connection pool = before any=20 database operations. - Bug Fix: "archiveByDate" function, when used with SQL Server, results = in a=20 SQL exception "cannot connvert arithmetic data type". This is fixed by = using parameterized query when selecting records. - Bug fix: connection is committed and then freed after archive = operations now. Monitor: - Fixed bug in monitor: once digital signature is turned on, it cannot = be=20 turned off even if the check box is unset. 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 |
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-02-11 04:24:21
|
Hi,
Request1 <------> S1(MSH1) <=============> R1(MSH2) <------> Request2
register register
(a,b,c,d) (e,f,g,h)
> If Request1 is to send a message directly to R1, how will it accept it,
> since it is not registered at R1 (it is only registered at MSH1).
Request1 is a client API (stub) for S1(MSH1). One makes use of
Request1 in the way that it first registers to S1(MSH1) such that S1(MSH1)
will send messages to other MSHs' *on behalf of* Request1. If you send messages
to R1 directly, that means you are somehow writing another program that
composes an ebXML message and makes HttpConnection directly to R1. This
only involves the registration of Request2 for receiving messages. No
registration is involved in the sender side.
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: V V. <vk...@ho...> - 2003-02-10 13:27:08
|
Hi CY,
Thanks for your response.
Request1 <------> S1(MSH1) <=============> R1(MSH2) <------> Request2
register register
(a,b,c,d) (e,f,g,h)
If Request1 is to send a message directly to R1, how will it accept it,
since it is not registered at R1 (it is only registered at MSH1).
Regards,
Visva
>From: "Ng Chi Yuen [Cyng]" <cy...@cs...>
>To: <ebx...@li...>
>CC: V Visvanathan <vk...@ho...>
>Subject: Re: Sending a message to an application registered on another MSH
>Date: Mon, 10 Feb 2003 09:59:33 +0800 (CST)
>
>Hi,
>
> > I have an application registered with MSH1 (let us call it S1)
> > and another application registered with MSH2. (say R1)
> > MSH1, MSH2 are two different msh servers.
>
> > I am attempting to send a message from S1 to R1.
>
> > Do I send a message with the TO_PARTY_ID as (URL) MSH2, (since
> > R1's URL is not visible to S1). I have the same CPAID, etc. for both
> > S1 and R1 and they are registered respectively to their MSHs.
>
> > Now, I am lost at this point - How does MSH1 send to MSH2 since there
> > is no registration, etc. going on between them.
>
>
> You can visualize in this way:
>
> Request1 <------> S1(MSH1) <=============> R1(MSH2) <------> Request2
> register register
> (a,b,c,d) (e,f,g,h)
>
>Request1 registers to its own S1(MSH1) with ApplicationContext=(a,b,c,d).
>That means it is expecting to receive messages with (a,b,c,d) from R1.
>Similarly, Request2 registers to its own R1(MSH2) with
>ApplicationContext=(e,f,g,h). That means S1(MSH1) will send messages with
>(e,f,g,h) to R1(MSH2) and the "toMshUrl" of Request1 should be R1's URL.
>Currently, you are advised to also set the TO_PARTY_ID to be R1's URL
>(though the actual sending uses "toMshUrl") and the FROM_PARTY_ID to be
>S1's URL.
>
> Hope this help.
>
>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
>----------------------------------------------------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
|
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-02-10 02:00:00
|
Hi,
> I have an application registered with MSH1 (let us call it S1)
> and another application registered with MSH2. (say R1)
> MSH1, MSH2 are two different msh servers.
> I am attempting to send a message from S1 to R1.
> Do I send a message with the TO_PARTY_ID as (URL) MSH2, (since
> R1's URL is not visible to S1). I have the same CPAID, etc. for both
> S1 and R1 and they are registered respectively to their MSHs.
> Now, I am lost at this point - How does MSH1 send to MSH2 since there
> is no registration, etc. going on between them.
You can visualize in this way:
Request1 <------> S1(MSH1) <=============> R1(MSH2) <------> Request2
register register
(a,b,c,d) (e,f,g,h)
Request1 registers to its own S1(MSH1) with ApplicationContext=(a,b,c,d).
That means it is expecting to receive messages with (a,b,c,d) from R1.
Similarly, Request2 registers to its own R1(MSH2) with
ApplicationContext=(e,f,g,h). That means S1(MSH1) will send messages with
(e,f,g,h) to R1(MSH2) and the "toMshUrl" of Request1 should be R1's URL.
Currently, you are advised to also set the TO_PARTY_ID to be R1's URL
(though the actual sending uses "toMshUrl") and the FROM_PARTY_ID to be
S1's URL.
Hope this help.
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: V V. <vk...@ho...> - 2003-02-09 15:27:44
|
Hello, I have an application registered with MSH1 (let us call it S1) and another application registered with MSH2. (say R1) MSH1, MSH2 are two different msh servers. I am attempting to send a message from S1 to R1. Do I send a message with the TO_PARTY_ID as (URL) MSH2, (since R1's URL is not visible to S1). I have the same CPAID, etc. for both S1 and R1 and they are registered respectively to their MSHs. Now, I am lost at this point - How does MSH1 send to MSH2 since there is no registration, etc. going on between them. In other words, I am looking for some help on how to set the header parameters for the ebXML message. Any help will be greatly appreciated. Regards, Visva _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-02-03 12:23:50
|
Hello,
> Is there any way to register with Hermes, other than by using a
> Register object.
If your application is an in-process one with Hermes, i.e., your
application is run within the same JVM as Hermes, you can simply call
the public MessageServiceHandler.register() method which returns a
MessageServiceHandlerConnection for you to send subsequent messages.
Of course, this usage pattern assumes that you are not deploying Hermes
as a Java Servlet but a library or in-process server with the application.
> Using a register object is fairly straightforward, but just curious if
> an ebxml message can be sent to accomplish the same.
We have to investigate about this. The first feeling is to define
a special ebXML message type to achieve this? Let us think about this.
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: V V. <vk...@ho...> - 2003-02-02 09:40:12
|
Hi CY, Is there any way to register with Hermes, other than by using a Register object. Using a register object is fairly straightforward, but just curious if an ebxml message can be sent to accomplish the same. Regards, Visva _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
|
From: <reg...@fr...> - 2003-01-29 12:26:25
|
I'm quite depressed, I'm running outta time :-) Well I tryied also to put it in my home directory (I forgot to mention it), in fact I tried everything as specified in the installation guide. (even the prop.home variable). I don't understand why it can't see this file... here is a copy of my log file, which might help you: If you can't see the problem, is there a phone number I can call you? 2003-01-29 14:16:03 StandardHost[localhost]: Installing web application at context path /msh from URL file:/home/regnet/Site/jakarta-tomcat- 4.0.1/webapps/msh 2003-01-29 14:16:03 WebappLoader[/msh]: Deploying class repositories to work directory /home/regnet/Site/jakarta-tomcat-4.0.1/work/localhost/msh 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/bcmail-jdk13- 115.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB- INF/lib/bcmail-jdk13-115.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/bcprov-jdk14- 115.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB- INF/lib/bcprov-jdk14-115.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/common.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/common.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/dom4j.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/dom4j.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/hsqldb.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/hsqldb.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/jaxm-api.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/jaxm-api.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/jaxm- runtime.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB- INF/lib/jaxm-runtime.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/jdom.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/jdom.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/jsse.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/jsse.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/log4j-1.2.7.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/log4j- 1.2.7.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/mm.mysql-2.0.14- bin.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB- INF/lib/mm.mysql-2.0.14-bin.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/msh.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/msh.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/pki.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/pki.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/postgresql.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/postgresql.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/saaj-api.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/saaj-api.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/saaj-ri.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/saaj-ri.jar 2003-01-29 14:16:03 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/xalan.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/xalan.jar 2003-01-29 14:16:04 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/xml-apis.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/xml-apis.jar 2003-01-29 14:16:04 WebappLoader[/msh]: Deploy JAR /WEB-INF/lib/xmlsec.jar to /home/regnet/Site/jakarta-tomcat-4.0.1/webapps/msh/WEB-INF/lib/xmlsec.jar 2003-01-29 14:16:04 StandardManager[/msh]: Seeding random number generator class java.security.SecureRandom 2003-01-29 14:16:04 StandardManager[/msh]: Seeding of random number generator has been completed 2003-01-29 14:16:04 ContextConfig[/msh]: Added certificates -> request attribute Valve 2003-01-29 14:16:05 StandardWrapper[/msh:default]: Loading container servlet default 2003-01-29 14:16:05 default: init 2003-01-29 14:16:05 StandardWrapper[/msh:invoker]: Loading container servlet invoker 2003-01-29 14:16:05 invoker: init 2003-01-29 14:16:05 jsp: init 2003-01-29 14:16:06 StandardWrapper[/msh:msh]: Marking servlet msh as unavailable 2003-01-29 14:16:06 StandardContext[/msh]: Servlet /msh threw load() exception javax.servlet.ServletException: Error instantiating servlet class hk.hku.cecid.phoenix.message.handler.MessageServiceHandler at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:829) at org.apache.catalina.core.StandardContext.loadOnStartup (StandardContext.java:3267) at org.apache.catalina.core.StandardContext.start (StandardContext.java:3384) at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java:785) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454) at org.apache.catalina.core.StandardHost.install(StandardHost.java:712) at org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:599) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:777) at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java:463) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:155) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131) at org.apache.catalina.core.StandardHost.start(StandardHost.java:612) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start (StandardEngine.java:307) at org.apache.catalina.core.StandardService.start (StandardService.java:388) at org.apache.catalina.core.StandardServer.start (StandardServer.java:505) at org.apache.catalina.startup.Catalina.start(Catalina.java:776) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) ----- Root Cause ----- hk.hku.cecid.phoenix.message.handler.MessageServiceHandlerException: hk.hku.cecid.phoenix.message.handler.MessageServerException: Cannot load property file. at hk.hku.cecid.phoenix.message.handler.MessageServiceHandler.<init> (Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:296) at java.lang.Class.newInstance(Class.java:249) at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:820) at org.apache.catalina.core.StandardContext.loadOnStartup (StandardContext.java:3267) at org.apache.catalina.core.StandardContext.start (StandardContext.java:3384) at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java:785) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454) at org.apache.catalina.core.StandardHost.install(StandardHost.java:712) at org.apache.catalina.startup.HostConfig.deployApps (HostConfig.java:599) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:777) at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java:463) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:155) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131) at org.apache.catalina.core.StandardHost.start(StandardHost.java:612) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start (StandardEngine.java:307) at org.apache.catalina.core.StandardService.start (StandardService.java:388) at org.apache.catalina.core.StandardServer.start (StandardServer.java:505) at org.apache.catalina.startup.Catalina.start(Catalina.java:776) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) En réponse à Régis Dubois <reg...@fr...>: > I know I should put the file in /webapps/msh/WEB-INF/classes ! > But it ain't working... I still get the cannot "load the property file" > error > message which suggest the file isn't found. > I'm using an old version of the msh as I'm outta time and don't want to > face > eventual compatibility problems with my ebxml app. > The tomcat version I use is the 4.0.1 > Do you think the problem might be that it can find the file but cannot > read it > because of a bad lib? maybe an XML parser lib. > > cheers |
|
From: Patrick Y. <kc...@ce...> - 2003-01-29 10:29:01
|
> I know I should put the file in /webapps/msh/WEB-INF/classes ! > But it ain't working... I still get the cannot "load the property file" error > message which suggest the file isn't found. > I'm using an old version of the msh as I'm outta time and don't want to face > eventual compatibility problems with my ebxml app. > The tomcat version I use is the 4.0.1 > Do you think the problem might be that it can find the file but cannot read it > because of a bad lib? maybe an XML parser lib. No. I think it really cannot find the file. However, we still cannot comprehend the reason. Would you please try to place the msh.properties.xml file to your home directory and test again? > > cheers > Regards, -Patrick |
|
From: <reg...@fr...> - 2003-01-29 10:18:19
|
I know I should put the file in /webapps/msh/WEB-INF/classes ! But it ain't working... I still get the cannot "load the property file" error message which suggest the file isn't found. I'm using an old version of the msh as I'm outta time and don't want to face eventual compatibility problems with my ebxml app. The tomcat version I use is the 4.0.1 Do you think the problem might be that it can find the file but cannot read it because of a bad lib? maybe an XML parser lib. cheers |
|
From: Patrick Y. <kc...@ce...> - 2003-01-29 10:01:31
|
Hi, Just in case you really mean that, you should place the property file at tomcat/webapps/msh/WEB-INF/classes. By the way, are you checking out the latest version of Hermes from CVS? I= f so, we have splitted the property files into 2. One for Tomcat and one fo= r Monitor. I am not sure whether your problem is linked to this. Also, plea= se tell us the Tomcat version you are using. In our experience, Tomcat 4.1.x got some library version problems. Regards, -Patrick ----- Original Message ----- From: "R=E9gis Dubois" <reg...@fr...> To: <ebx...@li...> Sent: Wednesday, January 29, 2003 5:49 PM Subject: [ebxmlms-general] Moving from Windows to Linux > I am confused! > Although the ebxmlms worked perfectly under win (I developed my ebxml s= oft > using it), I have now trouble to install it under linux. > > As a matter of fact, everythings seems to work alright, unless Tomcat can't > find the property file at startup. > I tried to place it in several places: > > -the /common/classes directory > -the /WEB-APPS/msh/classes > even the /bin directory !! > > And I still have the "cannot load property file" error message! > > I even chmod 777 the file, in case of... nothings fixed my problem. > Got a clue where I can be wrong? > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! > http://www.vasoftware.com > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > |
|
From: <reg...@fr...> - 2003-01-29 09:49:06
|
I am confused! Although the ebxmlms worked perfectly under win (I developed my ebxml soft using it), I have now trouble to install it under linux. As a matter of fact, everythings seems to work alright, unless Tomcat can't find the property file at startup. I tried to place it in several places: -the /common/classes directory -the /WEB-APPS/msh/classes even the /bin directory !! And I still have the "cannot load property file" error message! I even chmod 777 the file, in case of... nothings fixed my problem. Got a clue where I can be wrong? |
|
From: Patrick Y. <kc...@ce...> - 2003-01-29 02:40:20
|
Hi Gait, Thanks a lot. Please let us know the response of the authors, if possible. We are concerned whether we have "mis-used" JAXM or not. :-) Regards, -Patrick > Hi Patrick, > > not entirely sure whether to call it a bug. It's a bug in the context of > asynchronous messaging, as we normally do in ebXML (as per ebMS 2). But it's > correct in synchronous messaging, as is usually done in RPC environments, so > it really depends on how you're using it. > > --Gait. > > BTW, I did send a note to the authors of the module. > |
|
From: Gait B. <gai...@ti...> - 2003-01-28 13:50:27
|
Hi Patrick,
not entirely sure whether to call it a bug. It's a bug in the context of
asynchronous messaging, as we normally do in ebXML (as per ebMS 2). But it's
correct in synchronous messaging, as is usually done in RPC environments, so
it really depends on how you're using it.
--Gait.
BTW, I did send a note to the authors of the module.
----- Original Message -----
From: "Patrick Yee" <kc...@ce...>
To: <ebx...@li...>
Sent: Tuesday, January 28, 2003 9:33 AM
Subject: Re: [ebxmlms-general] Problem when sending attachments through
Hermes
> Hi Gait,
> Do you think this is a bug of JAXM? Should we (or you) to report this to
Sun
> JAXM team?
> Regards, -Patrick
>
> ----- Original Message -----
> From: "Gait Boxman" <gai...@ti...>
> To: <ebx...@li...>
> Sent: Tuesday, January 28, 2003 3:10 PM
> Subject: Re: [ebxmlms-general] Problem when sending attachments through
> Hermes
>
>
> > Hi,
> >
> > I've observed the same problem while doing some tests against other
> > receivers. In my case, the other party was responding with a 200 OK
> message,
> > and a nice HTML document telling me my message was well received. Very
> > friendly, but not what the Sun JAXM implementation was expecting.
> According
> > to the specs, the response is valid unless you're running synchronous
> > communications. In fact, any 2XX response is fine when using async
> > responses. So I ended up patching JAXM to catch the error on the
response
> > message.
> > Get JAXM 1.1 from SUN, and change line 333 of
> >
>
jaxm1.1-scsl\jaxm-ri\src\com\sun\xml\messaging\saaj\client\p2p\HttpSoapConne
> > ction.java to look like:
> >
> > try {
> > response = messageFactory.createMessage(headers, in);
> > } catch (SOAPException ex) {
> > if( responseCode== HttpURLConnection.HTTP_INTERNAL_ERROR ) {
> > throw ex;
> > }
> > response = null;
> > }
> >
> > then rebuild jaxm, and copy the patched saaj-ri.jar into your ebxmlms.
> That
> > should do the trick.
> > Of course, this will also catch the error while doing synchronous
> > communications, which is probably not what we want.
> > As an aside, be aware that the createMessage call will print a stack
trace
> > before the error is caught, so don't worry if you still get the error
> trace
> > in the tomcat console.
> >
> > --Gait.
> >
> > ----- Original Message -----
> > From: "V Visvanathan" <vk...@ho...>
> > To: <ebx...@li...>
> > Cc: <vk...@ho...>
> > Sent: Tuesday, January 28, 2003 5:30 AM
> > Subject: [ebxmlms-general] Problem when sending attachments through
Hermes
> >
> >
> > > Hello everyone:
> > > I have this problem when I try to sendan attachment through Hermes.
> > > (I was able to send an attachment sometime back, but don't know what
> went
> > > wrong
> > > now)
> > >
> > > When I use AttachmentDataSource with type "text/xml" and thepayload is
a
> > xml
> > > document, I get an "unable to internalize message: invlaid type
> text/html"
> > > exception from msh. The message flow (send, ack, etc.) works fine with
> no
> > > attachments.
> > >
> > > I saw the message that was being sent, and it has --Part...in the
> > beginning.
> > > Apparently it is not a valid SOAP message that is being sent.
> > >
> > > I am using a regular Requestobject to send the message with the
listener
> > and
> > > receivers being servlet URLs.
> > >
> > > THanks inadvance for ny help.
> > >
> > > Regards,
> > > Visva
> > >
> > > _________________________________________________________________
> > > The new MSN 8: smart spam protection and 2 months FREE*
> > > http://join.msn.com/?page=features/junkmail
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.NET email is sponsored by:
> > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > > http://www.vasoftware.com
> > > _______________________________________________
> > > ebxmlms-general mailing list
> > > ebx...@li...
> > > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > ebxmlms-general mailing list
> > ebx...@li...
> > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general
> >
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> ebxmlms-general mailing list
> ebx...@li...
> https://lists.sourceforge.net/lists/listinfo/ebxmlms-general
|