JDBC error while calling wmtndocxmlrouteXml

Hi Sonam,
Dont worry, this fix will work. webMethods is already released the fix which controls the generation of unique id to not to exceed 24 bytes, which is bascially class which generate uniqueid internally using some algoritham. By this everyone should be ok.
For going plan B, you have to do at BIOS level only, if you change the time at OS level, OS is smart enough to rollback to bois time settings. If we have to go to your plan B which is not at all possible for the people who has this problem in the production.

I guess best plan will be doing at DB level(increase column of BizDoc.DOCID to 25 from 24), that is only if webMethods is not able to provide the fix or fix doesn’t work. We tested Our plan B in Dev which works excellent.

Thanks “Paul Saker” pointing the right column, which saved a lot of our time.

Thnx,
SrujanGogineni

TN Fix39 working fine for IS6.01,

Thanks all,

Hi,

For us the problem was fixed with applying the patch.
TN version 6.0.1

Hi,

For us the same problem was fixed with the patch. We are on TN v6.1 using Oracle 8.1.7

Did anyone else notice the interesting comment in the Readme.txt stating the following?

3.0 Fix Requirements

In development environments, a related Trading Networks Console
fix may be required. This fix is not required for production.

I don’t know about any of you but for us the fix was required in ALL environments including Production.

Thinking their Legal Department was in on that paragraph.

Thanks Srujan.

We are running IS/TN 4.6. The fix for 4.6 was TNS Fix 86, which is working fine now for us in production with no errors.

In dev, we saw one failure in the first document submitted – a Java index out of bounds exception. But since the other tests after that ran fine, I’m putting it down to a one off effect of applying the patch.

We’re still waiting for the TN Console fix.

An interesting link on “time-shift testing”:
[url=“http://www-ssc.igpp.ucla.edu/~editor/vol05no083_1.txt”]http://www-ssc.igpp.ucla.edu/~editor/vol05no083_1.txt[/url]

After this incident, I fully expect WM to add time-shift testing to their regression test suite. It would be possible to run VMWare instances, programatically change the OS time, and run their tests.

For what it’s worth, I looked at what the fix actually does. It simply truncates the date part of the ID to 8 characters, keeping the most signifigant digits. Since this is base 32, and the date is 9 digits in base 32, you’re dropping one digit, which equates to 32 milliseconds. Therefore - instead of the date portion of the TN ID changing every millisecond, it changes every 32 milliseconds.

There is also a 4-digit sequence number, which equates to 1048576 (base 32, remember) available IDs for each date value. So as long as you receive less than 1048576 documents every 32 milliseconds, duplicates aren’t an issue.

I suppose in theory you might need to worry about what happens when the date goes to 10 digits, which would mean the date part would change only once per 1024 milliseconds, but that won’t happen until 3084-12-12 07:41:28.832. I’m guessing we’ll probably be using a different webMethods version by then.

All is well with 4.6 patch to this point.

If you have 6.1, you need to apply the TNC patch to any client PC that has TNC installed. It may appear to work without it, but (according to a wm support person) when you add or modify processing rules, it won’t work without the TNC 6.1 patch.

Roger,

Thanks for the information update.

Running the code that jogger007 posted, it can be determined that the problem first surfaced at:

11/3/2004 13:53:47

Sample output from the code is shown below:

11/3 13:53:46

ms: 1099511626805
time: vvvvvv1l
00000000vvvvvv1l00000007

11/3 13:53:47

ms: 1099511627838
time: 10000001u (9 characters now)
0000000010000001u00000007

To be more precise, the time of failure was 13:53:47.776.

date: 13:53:47.775
ms: 1099511627775
time: vvvvvvvv
00000000vvvvvvvv01vvvvvr

date: 13:53:47.776
ms: 1099511627776
time: 100000000
0000000010000000001vvvvvr

Third time’s a charm.

11/03/2004 19:53:47.776 GMT is the date when the Y2K-like problem occurred.

Details on the issue can also be found here:

[url=“http://advantage.webmethods.com/cgi-bin/advantage/main.jsp?targChanId=tn_critical_issue”]http://advantage.webmethods.com/cgi-bin/advantage/main.jsp?targChanId=tn_critical_issue[/url]

Some food for thought

We are operating IS and TN 4.6 on a Solaris 5.8 box with Sybase ASE 12.5. Our machine acts as an ebXML hub servicing a number of spokes. We were NOT affected by this problem in any way. Virtually all of our spokes who use webMethods were, with the exception of one, who uses a HP UX box and Oracle (don’t know versions)

We have applied the fix anyway and all still works fine.

Hi all,

Compliments for how this group has dealt with webMethods Y2k4 bug!

We finally get our fix from wM. However I am still wondering:

  1. What is the meaning of tn.server.seq
  2. How did you people manage SLA problems?

Best regards

Darren,
If your connection to database has SET ANSI FLAG setting “off” then it will work because this setting will truncate the values to their specified length of column in DB and ignore the error.

Cheers
MJ