Re: Snapshot missing, can I fix it? Can I stage without assembly?

2006-08-14 Thread James Strachan

Try from the activemq directory typing

mvn clean install -Dmaven.test.skip=true

On 8/14/06, Sepand M <[EMAIL PROTECTED]> wrote:

Hi,

I apologize if this belongs in the maven list, but I'm really not sure
if this is ActiveMQ specific or just maven (if it's maven specific,
please tell me).

The problem is the following:
I'm trying to stage AMQ and the only way I know of doing that is to
use mvn assembly and then extract the zip file.
For some reason, this is not working. The mvn assembly:assembly command says:

Missing:
--
1) org.apache.activemq:activemq-core:jar:4.1-incubator-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.activemq
-DartifactId=activemq-core \
  -Dversion=4.1-incubator-20060810.133700-14 -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
1) org.apache.activemq:activemq-rar:rar:4.1-incubator-SNAPSHOT
2) org.apache.activemq:activemq-ra:jar:4.1-incubator-20060810.133700-14
3) 
org.apache.activemq:activemq-core:jar:4.1-incubator-20060810.133700-14

--
1 required artifact is missing.

for artifact:
  org.apache.activemq:activemq-rar:rar:4.1-incubator-SNAPSHOT

from the specified remote repositories:
  central (http://ibiblio.org/maven2/),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository)


I don't know why. I've tried mvn clean and even getting a fresh copy
of the code, it didn't help. I've also looked on the amq site, I can't
find an appropriate version of the snapshot (I think).

Do you know what's going on?
Can I stage without assembly?

Thanks,
Sepand




--

James
---
http://radio.weblogs.com/0112098/


Re: build local binary distribution

2006-08-14 Thread bmadigan

I had done that, but the archives created don't appear to be complete:

ACTIVEMQ_HOME:
/home/bmadigan/Applications/activemq-4.0/assembly/target/incubator-activemq-4.0.2-SNAPSHOT
Loading message broker from: xbean:activemq.xml
Failed to execute main task. Reason: java.lang.NoClassDefFoundError:
org/apache/activemq/broker/BrokerFactory

Maybe this is an error in the shell script, it does not seem to build a
classpath.



Hiram Chirino wrote:
> 
> just run mvn install
> 
> that should produce binaries in the target directory and even install
> them into your local maven repo.
> 
> On 8/14/06, bmadigan <[EMAIL PROTECTED]> wrote:
>>
>> I need to build a local binary from a source snapshot so we can
>> distribute it
>> to our staging and production enviroments. Are there any maven commands
>> that
>> will build a local distrubtion?
>> thanks,
>> B.
>> --
>> View this message in context:
>> http://www.nabble.com/build-local-binary-distribution-tf2104394.html#a5799896
>> Sent from the ActiveMQ - Dev forum at Nabble.com.
>>
>>
> 
> 
> -- 
> Regards,
> Hiram
> 
> Blog: http://hiramchirino.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/build-local-binary-distribution-tf2104394.html#a5800530
Sent from the ActiveMQ - Dev forum at Nabble.com.



Snapshot missing, can I fix it? Can I stage without assembly?

2006-08-14 Thread Sepand M

Hi,

I apologize if this belongs in the maven list, but I'm really not sure
if this is ActiveMQ specific or just maven (if it's maven specific,
please tell me).

The problem is the following:
I'm trying to stage AMQ and the only way I know of doing that is to
use mvn assembly and then extract the zip file.
For some reason, this is not working. The mvn assembly:assembly command says:

Missing:
--
1) org.apache.activemq:activemq-core:jar:4.1-incubator-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file -DgroupId=org.apache.activemq
-DartifactId=activemq-core \
 -Dversion=4.1-incubator-20060810.133700-14 -Dpackaging=jar
-Dfile=/path/to/file

 Path to dependency:
   1) org.apache.activemq:activemq-rar:rar:4.1-incubator-SNAPSHOT
   2) org.apache.activemq:activemq-ra:jar:4.1-incubator-20060810.133700-14
   3) org.apache.activemq:activemq-core:jar:4.1-incubator-20060810.133700-14

--
1 required artifact is missing.

for artifact:
 org.apache.activemq:activemq-rar:rar:4.1-incubator-SNAPSHOT

from the specified remote repositories:
 central (http://ibiblio.org/maven2/),
 apache.snapshots (http://people.apache.org/maven-snapshot-repository)


I don't know why. I've tried mvn clean and even getting a fresh copy
of the code, it didn't help. I've also looked on the amq site, I can't
find an appropriate version of the snapshot (I think).

Do you know what's going on?
Can I stage without assembly?

Thanks,
Sepand


Re: build local binary distribution

2006-08-14 Thread Hiram Chirino

just run mvn install

that should produce binaries in the target directory and even install
them into your local maven repo.

On 8/14/06, bmadigan <[EMAIL PROTECTED]> wrote:


I need to build a local binary from a source snapshot so we can distribute it
to our staging and production enviroments. Are there any maven commands that
will build a local distrubtion?
thanks,
B.
--
View this message in context: 
http://www.nabble.com/build-local-binary-distribution-tf2104394.html#a5799896
Sent from the ActiveMQ - Dev forum at Nabble.com.





--
Regards,
Hiram

Blog: http://hiramchirino.com


build local binary distribution

2006-08-14 Thread bmadigan

I need to build a local binary from a source snapshot so we can distribute it
to our staging and production enviroments. Are there any maven commands that
will build a local distrubtion?
thanks,
B.
-- 
View this message in context: 
http://www.nabble.com/build-local-binary-distribution-tf2104394.html#a5799896
Sent from the ActiveMQ - Dev forum at Nabble.com.



Re: [VOTE] Release Apache ActiveMQ 4.0.2 (RC 3)

2006-08-14 Thread Aaron Mulder

+1

On 8/8/06, Hiram Chirino <[EMAIL PROTECTED]> wrote:

Some NOTICE file issues were found in the 2nd release candidate of the
4.0.2 build.  I have cut and RC 3 of the 4.0.2 build with the fixes
and it's available here:


http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven1/incubator-activemq/distributions/

Maven 1 and Maven 2 repos for this release can be found at:
http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3

Here's the wiki page for the release notes (they should soon get
mirrored to the activemq static website) :
http://goopen.org/confluence/display/ACTIVEMQ/ActiveMQ+4.0.2+Release

Please vote to approve this release binary

[ ] +1 Release the binary as Apache ActiveMQ  4.0.2
[ ] -1 Veto the release (provide specific comments)

If this vote passes, then we will then ask the Incubator PMC for their
blessing to ship this release officially.

Here's my +1

--
Regards,
Hiram

Blog: http://hiramchirino.com



Re: [VOTE] Release Apache ActiveMQ 4.0.2 (RC 3)

2006-08-14 Thread Alan D. Cabrera

Hiram Chirino wrote:

Some NOTICE file issues were found in the 2nd release candidate of the
4.0.2 build.  I have cut and RC 3 of the 4.0.2 build with the fixes
and it's available here:


http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven1/incubator-activemq/distributions/ 



Maven 1 and Maven 2 repos for this release can be found at:
http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3

Here's the wiki page for the release notes (they should soon get
mirrored to the activemq static website) :
http://goopen.org/confluence/display/ACTIVEMQ/ActiveMQ+4.0.2+Release

Please vote to approve this release binary

[ ] +1 Release the binary as Apache ActiveMQ  4.0.2
[ ] -1 Veto the release (provide specific comments)

If this vote passes, then we will then ask the Incubator PMC for their
blessing to ship this release officially.

Here's my +1



+1

Thanks for following through with all the details!


Regards,
Alan




Re: [VOTE] Release Apache ActiveMQ 4.0.2 (RC 3)

2006-08-14 Thread Kevan Miller


+1 Release the binary as Apache ActiveMQ  4.0.2

--kevan

On Aug 8, 2006, at 4:35 PM, Hiram Chirino wrote:


Some NOTICE file issues were found in the 2nd release candidate of the
4.0.2 build.  I have cut and RC 3 of the 4.0.2 build with the fixes
and it's available here:


http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/ 
maven1/incubator-activemq/distributions/


Maven 1 and Maven 2 repos for this release can be found at:
http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3

Here's the wiki page for the release notes (they should soon get
mirrored to the activemq static website) :
http://goopen.org/confluence/display/ACTIVEMQ/ActiveMQ+4.0.2+Release

Please vote to approve this release binary

[ ] +1 Release the binary as Apache ActiveMQ  4.0.2
[ ] -1 Veto the release (provide specific comments)

If this vote passes, then we will then ask the Incubator PMC for their
blessing to ship this release officially.

Here's my +1

--
Regards,
Hiram

Blog: http://hiramchirino.com




Re: [VOTE] Release Apache ActiveMQ 4.0.2 (RC 3)

2006-08-14 Thread James Strachan

Kevan are you happy with the current release now?

It'd be good to get this release done then we can start working on the
next one :).

On 8/10/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

+1

On 8/8/06, Hiram Chirino <[EMAIL PROTECTED]> wrote:
>
> Some NOTICE file issues were found in the 2nd release candidate of the
> 4.0.2 build.  I have cut and RC 3 of the 4.0.2 build with the fixes
> and it's available here:
>
>
>
> 
http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven1/incubator-activemq/distributions/
>
> Maven 1 and Maven 2 repos for this release can be found at:
> http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3
>
> Here's the wiki page for the release notes (they should soon get
> mirrored to the activemq static website) :
> http://goopen.org/confluence/display/ACTIVEMQ/ActiveMQ+4.0.2+Release
>
> Please vote to approve this release binary
>
> [ ] +1 Release the binary as Apache ActiveMQ  4.0.2
> [ ] -1 Veto the release (provide specific comments)
>
> If this vote passes, then we will then ask the Incubator PMC for their
> blessing to ship this release officially.
>
> Here's my +1
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>



--
Cheers,
Guillaume Nodet





--

James
---
http://radio.weblogs.com/0112098/


[jira] Assigned: (AMQ-878) JMX Exception: "Destination already created" when recovering gigantic queues from database

2006-08-14 Thread james strachan (JIRA)
 [ https://issues.apache.org/activemq/browse/AMQ-878?page=all ]

james strachan reassigned AMQ-878:
--

Assignee: Hiram Chirino

> JMX Exception: "Destination already created" when recovering gigantic queues 
> from database
> --
>
> Key: AMQ-878
> URL: https://issues.apache.org/activemq/browse/AMQ-878
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: incubation
> Environment: Embeded broker, Any platform (OS, JDK) - currentlly 
> embeded in JBoss 4.0.4.GA
>Reporter: Nikolai Penkov
> Assigned To: Hiram Chirino
> Attachments: async-recovery.patch
>
>
> I think this issue is described in Hiram's blog: 
> http://blogbucket.blogspot.com/2006/05/scaling-to-gigantic-queues-and-topics.html.
> E.g. when broker is stopped with a lot of messages in queue. When started - 
> recovery process is fired (currently on creation of a queue), and if another 
> subscriber requests queue - it creates a new one, because previous process 
> hasn't finished.
> I think the simpliest solution for that problem is to start recovery process 
> in another thread with synchronization to sent process(sent process should be 
> suspended till full recovery is done) and subscriber notification method 
> (every sunscriber should be notified on recovery of message).
> I have attached a patch to activemq-core, which I have tested with my 
> environment - JBoss 4.0.4.GA with Embeded Broker ActiveMQ trunk release, jdbc 
> persistence.
> I am not a spec. in threads nor in ActiveMQ design, and I am sure that you 
> will find a more elegant sollution to what I have provided.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (AMQ-880) Expired messages should trigger an advisory message

2006-08-14 Thread Holger Bruch (JIRA)
Expired messages should trigger an advisory message
---

 Key: AMQ-880
 URL: https://issues.apache.org/activemq/browse/AMQ-880
 Project: ActiveMQ
  Issue Type: New Feature
  Components: Broker
Affects Versions: 4.0.1
Reporter: Holger Bruch


http://www.activemq.org/site/advisory-message.html describes message based 
advisories. Support for expired messages advisory is currently not implemented. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (AMQ-879) Destination statistics message count is not decremented after message expired

2006-08-14 Thread Holger Bruch (JIRA)
Destination statistics message count is not decremented after message expired
-

 Key: AMQ-879
 URL: https://issues.apache.org/activemq/browse/AMQ-879
 Project: ActiveMQ
  Issue Type: Bug
  Components: Broker
Affects Versions: 4.0.1
Reporter: Holger Bruch
Priority: Minor
 Attachments: StatisticsMessagesCountTest.java

After consuming an expired message from a queue, the destination statistics 
messages count is not decremented. See also the included test case.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira