Issue Details (XML | Word | Printable)

Key: AMQ-424
Type: Wish Wish
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Jonas Lim
Reporter: Anton Tagunov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

Make -Dactivemq.check_for_dtd_update default to "false", don't try network unless "true"

Created: 23/Nov/05 12:30 PM   Updated: 22/Apr/08 10:21 AM
Component/s: Broker
Affects Version/s: 3.2.1
Fix Version/s: 5.1.0

Time Tracking:
Not Specified

File Attachments:
  Size
File ActiveMQDtdResolver.diff 2005-11-23 12:30 PM Anton Tagunov 0.6 kB
File ActiveMQDtdResolver2.diff 2005-11-23 12:44 PM Anton Tagunov 1 kB
Environment: Behind firewall, on a slow network, on a disconnected workstation


 Description  « Hide
Makes sence to deploy activemq.dtd locally as part of installation.
Makes little sence to update only this thing from online w/o updating anything else.

When I was advocating ActiveMQ today in a Big Co had
a miserable experience - the thing would take 5 MINUTES TO START UP!

Good luck my fellow developers haven't lost faith in me and ActiveMQ so far!

Spent 2/3 working day in a significant stress, without being given a task to do that
sorting out maven-2, maven-1, eclipse integration before I found out that the reason
is that we're behind a corporate firewall and ActiveMQ should not make a call
outside the firewall anyway!

So my suggestions:

1) make sure default value for activemq.check_for_dtd_update is "false" in
http://svn.activemq.org/trunk/activemq/modules/core/src/java/org/activemq/spring/ActiveMQDtdResolver.java

2) make sure that if

  • activemq.check_for_dtd_update is not "true"
  • no /org/activemq/activemq.dtd has been found no classpath

we do not try to contact network and print a nice error right away

(This situation happened to me today - in Eclipse I didn't have activemq.dtd on classpath)

I'm rising this as Major because despite being miserable technically it has given a VERY BAD
impression in real life corporate environment.

cheers,



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
No related commits found.