powered by Jive Software

Multi-versions of dwr.jar in OPF Src

Folks,

I am trying to track down IE hang errors associated with the Webchat client of FastPath, and found multiple versions of dwr.jar (direct web remote) in the source checkout of openfire. I will try and use the latest compatible stable version of dwr.jar and see if that helps my issue.

Openfire Sources:

[bea@host ~/openfire]$ svn info
Path: .
URL: http://svn.igniterealtime.org/svn/repos/openfire/trunk
Repository Root: http://svn.igniterealtime.org/svn/repos
Repository UUID: b35dd754-fafc-0310-a699-88a17e54d16e
Revision: 11087
Node Kind: directory
Schedule: normal
Last Changed Author: akrherz
Last Changed Rev: 11087
Last Changed Date: 2009-06-24 17:38:04 -0700 (Wed, 24 Jun 2009)

[bea@host ~/openfire]$ find . -name dwr.jar -ls

./src/plugins/monitoring/lib/dwr.jar, file size 183752

./src/web/WEB-INF/lib/dwr.jar, file size 183622

Webchat Sources:

[bea@host ~/fastpath]$ svn info
Path: .
URL: http://svn.igniterealtime.org/svn/repos/fastpath
Repository Root: http://svn.igniterealtime.org/svn/repos
Repository UUID: b35dd754-fafc-0310-a699-88a17e54d16e
Revision: 11087
Node Kind: directory
Schedule: normal
Last Changed Author: dhenninger
Last Changed Rev: 10737
Last Changed Date: 2008-08-05 13:59:00 -0700 (Tue, 05 Aug 2008)

[bea@host ~/fastpath]$ find . -name dwr.jar -ls

./webchat/trunk/src/webapp/WEB-INF/lib/dwr.jar, file size 184552

Thanks,

BEA

Ref: http://www.igniterealtime.org/community/thread/38740

Folks,

I reverted to Openfire 3.6.3 svn rev. 10959, finding early bug issues with 3.6.4, then updated to Jetty v.6.1.18 and DWR v.1.1.4 libs as follows. Occassionally I’ll see the following in the error logs. Any ideas? Otherwise the IE6, sp2, and IE6 sp3 javascript engine crashs seem not to happen (*as often) in tests.

2009.07.01 23:01:22 [org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.jav a:88)] Line=19 The content of element type “dwr” must match “(init?,allow?,signatures?)”.
2009.07.02 21:36:30 [org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.jav a:88)] Line=19 The content of element type “dwr” must match “(init?,allow?,signatures?)”.

[bea@host ~/openfire]$ find . -name dwr.jar -ls
1297521 364 -rw-r–r-- 1 bea bea 185929 Jan 4 2007 ./src/plugins/monitoring/lib/dwr.jar
1271812 364 -rw-r–r-- 1 bea bea 185929 Jan 4 2007 ./src/web/WEB-INF/lib/dwr.jar
1461594 364 -rw-r–r-- 1 bea bea 185929 Jul 1 22:58 ./work/jspc/jsp/WEB-INF/lib/dwr.jar
1530952 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:03 ./work/plugins-dev/clientControl/target/web/WEB-INF/lib/dwr.jar
1531049 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:03 ./work/plugins-dev/contentFilter/target/web/WEB-INF/lib/dwr.jar
1531112 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:03 ./work/plugins-dev/subscription/target/web/WEB-INF/lib/dwr.jar
1531203 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:03 ./work/plugins-dev/monitoring/target/lib/dwr.jar
1531252 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:03 ./work/plugins-dev/monitoring/target/web/WEB-INF/lib/dwr.jar
1531399 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/sip/target/web/WEB-INF/lib/dwr.jar
1531484 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/emailListener/target/web/WEB-INF/lib/dwr.jar
1531561 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/userservice/target/web/WEB-INF/lib/dwr.jar
1531640 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/motd/target/web/WEB-INF/lib/dwr.jar
1531694 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/userCreation/target/web/WEB-INF/lib/dwr.jar
1531757 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/presence/target/web/WEB-INF/lib/dwr.jar
1531822 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/search/target/web/WEB-INF/lib/dwr.jar
1531890 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/xmldebugger/target/web/WEB-INF/lib/dwr.jar
1531947 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/dbaccess/target/web/WEB-INF/lib/dwr.jar
1532007 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/registration/target/web/WEB-INF/lib/dwr.jar
1532213 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/fastpath/target/web/WEB-INF/lib/dwr.jar
1532414 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/userImportExport/target/web/WEB-INF/lib/dwr.jar
1532508 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:04 ./work/plugins-dev/packetFilter/target/web/WEB-INF/lib/dwr.jar
1510906 364 -rw-r–r-- 1 bea bea 185929 Jul 1 22:59 ./target/openfire/plugins/admin/webapp/WEB-INF/lib/dwr.jar
1532377 364 -rw-r–r-- 1 bea bea 185929 Jul 1 23:06 ./target/openfire/plugins/webchat/WEB-INF/lib/dwr.jar
[bea@host ~/openfire]$

[bea@host ~/openfire]$ find . -name jetty*.jar -ls
1271815 1088 -rw-r–r-- 1 bea bea 525488 Jul 1 22:54 ./build/lib/merge/jetty.jar
1271816 36 -rw-r–r-- 1 bea bea 18361 Jul 1 22:55 ./build/lib/merge/jetty-sslengine.jar
1271814 340 -rw-r–r-- 1 bea bea 172143 Jul 1 22:53 ./build/lib/merge/jetty-util.jar
[bea@host ~/openfire]$ find . -name servlet*.jar -ls
1271817 264 -rw-r–r-- 1 bea bea 134190 Jul 1 22:57 ./build/lib/dist/servlet.jar
1510672 264 -rw-r–r-- 1 bea bea 134190 Jul 1 22:59 ./work/lib/servlet.jar
1510877 264 -rw-r–r-- 1 bea bea 134190 Jul 1 22:59 ./target/openfire/lib/servlet.jar
[bea@host ~/openfire]$

[bea@host ~/jetty-6.1.18/dist/jetty-6.1.18]$ find . -name jetty*.jar -ls

1298843 1088 -rw-r–r-- 1 bea bea 525488 May 18 10:53 ./lib/jetty-6.1.18.jar
1367260 36 -rw-r–r-- 1 bea bea 18361 May 18 10:54 ./lib/ext/jetty-sslengine-6.1.18.jar
1298857 340 -rw-r–r-- 1 bea bea 172143 May 18 10:52 ./lib/jetty-util-6.1.18.jar

[bea@host ~/jetty-6.1.18/dist/jetty-6.1.18]$ find . -name servlet*.jar -ls
1298873 264 -rw-r–r-- 1 bea bea 134190 May 18 10:53 ./lib/servlet-api-2.5-20081211.jar
[bea@host ~/jetty-6.1.18/dist/jetty-6.1.18]$

Related discussion threads:

“Jetty & Webchat IE6 bugs” http://www.igniterealtime.org/community/thread/38740

Thanks,

BEA

DWR update succeeded to v. 1.1.4. IE6 issues resolved (issues unrelated to dwr lib version), see http://www.igniterealtime.org/community/message/194959

File: OF-51

FYI (e.g. those that don’t know), the version I referred to comes from http://directwebremoting.org/dwr/download.html, under Old Stable Release: Version 1.1.4

Thanks