Re: JMS tutorial using ActiveMQ ,Tomcat and Axis

2006-04-28 Thread -=Kobye=-

[java] WARN  ActiveMQConnection - Cleanup failed
   [java] org.apache.activemq.ConnectionClosedException: The connection is
already closed

Maybe  two reason cause this.
1. your activemq is shutted down.
2.your code is error.
 If you used a cached connection,but it is closed now,and when you use
it,you do not make a check.
 I always use a new Connection,because I use it in schedule ,there is no
need for me to cache it.

 You should check your code.

 Best Wishes.
--
I love Java!
I love Sports!
I love this Game !

home:http://www.jsports.org
blog:
   http://blog.csdn.net/jsports
   http://blog.matrix.org.cn/page/jsports


Re: JMS tutorial using ActiveMQ ,Tomcat and Axis

2006-04-28 Thread yashhnb

Hi Thanks for kind help.

now i can start do develope how message send and receive.

but some times i have got error message when i run console base producer and
consumer

[java] WARN  ActiveMQConnection - Cleanup failed
 [java] org.apache.activemq.ConnectionClosedException: The connection is
already closed
 [java] at
org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1030)
 [java] at
org.apache.activemq.ActiveMQConnection.cleanup(ActiveMQConnection.java:1191)
 [java] at
org.apache.activemq.ActiveMQConnection.transportFailed(ActiveMQConnection.java:1585)
 [java] at
org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1338)
 [java] at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:102)
 [java] at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:102)
 [java] at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:102)
 [java] at
org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:90)
 [java] at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:149)
 [java] at java.lang.Thread.run(Thread.java:595)

can you help me ?

thanks 
 
--
View this message in context: 
http://www.nabble.com/JMS-tutorial-using-ActiveMQ-%2CTomcat-and-Axis-t1525151.html#a4151737
Sent from the ActiveMQ - Dev forum at Nabble.com.



Re: JMS tutorial using ActiveMQ ,Tomcat and Axis

2006-04-28 Thread -=Kobye=-

hi,
   I am Chinese,and part of my website write in Chinese.

   The following url  you can see ActiveMQ forum.
http://www.jsports.org/index.html?ctrl:cmd=nav&ctrl:windowstate=maximized&ctrl:window=default.forums.ForumsPortletWindow
   The code written in english you can read it.
--
I love Java!
I love Sports!
I love this Game !

home:http://www.jsports.org
blog:
   http://blog.csdn.net/jsports
   http://blog.matrix.org.cn/page/jsports


[jira] Created: (AMQ-697) Jmeter build is broken

2006-04-28 Thread Hiram Chirino (JIRA)
Jmeter build is broken
--

 Key: AMQ-697
 URL: https://issues.apache.org/activemq/browse/AMQ-697
 Project: ActiveMQ
Type: Bug

  Components: Test Cases  
Reporter: Hiram Chirino
 Assigned to: Jonas Lim 
 Fix For: 4.0


Hi Jonas,   

I tried doing a windows build of the jmeter tests in the amq 4.x branch (My 
maven repo has been deleted) and I got the following:

C:\sandbox\activemq-4-branch\activemq-jmeter>maven clean default
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download activemq-core-4.0-SNAPSHOT.jar.
Attempting to download batik-awt-util-1.0.jar.
WARNING: Failed to download batik-awt-util-1.0.jar.
Attempting to download xalan-1.0.jar.
WARNING: Failed to download xalan-1.0.jar.
Attempting to download xml-apis-1.0.jar.
WARNING: Failed to download xml-apis-1.0.jar.
Attempting to download manta-1.0.jar.
WARNING: Failed to download manta-1.0.jar.
The build cannot continue because of the following unsatisfied dependencies:

batik-awt-util-1.0.jar
xalan-1.0.jar
xml-apis-1.0.jar
manta-1.0.jar

Total time: 13 seconds
Finished at: Fri Apr 28 18:16:40 EDT 2006


-- 
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



RE: Avoid blocking producers

2006-04-28 Thread Larrieu, Christopher
Great!  But what exactly does "side-by-side" mean?  Does this imply that 
whatever changes you make will be swappable with existing code?  Are there any 
design documents that we can review in order to understand how your 
improvements will affect our goals and/or meet our needs?

Thanks,

Chris 

> -Original Message-
> From: Rob Davies [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 28, 2006 1:34 AM
> To: activemq-dev@geronimo.apache.org
> Subject: Re: Avoid blocking producers
> 
> Hi Chris,
> 
> we are planning on prototyping this for 4.1 and will do this 
> side-by- side to the existing implementation. We should have 
> the first cut implemented in the next  couple of months - but 
> any contributions are welcome!
> 
> cheers,
> 
> Rob
> 
> On 27 Apr 2006, at 23:32, Larrieu, Christopher wrote:
> 
> > Rob,
> >
> > In response to JIRA issue https://issues.apache.org/activemq/browse/
> > AMQ-688#action_36051 you mentioned that you are looking into some 
> > major changes for decoupling producers and consumers, as well as 
> > implementing the staged feeding of dispatch queues.  Much of this 
> > coincides with work that we need in order to use ActiveMQ 
> effectively 
> > in our organization.  If we were to move forward 
> independently without 
> > collaborating, we'd end up arriving with wildly divergent results.
> >
> > Can you provide some more details, so that we can plan accordingly?
> >
> > Thanks,
> >
> > Chris
> >
> 


ConsumerInfo command tweak.

2006-04-28 Thread Hiram Chirino

FYI for those openwire watchers.

I just added a 'noRangeAcks' flag to the ConsumerInfo command.  Not
really used yet, but I figure it may be useful in the future and I'd
rather get these small flags in before 4.0 goes final.  The broker may
be able to optimize it's processing or provides better QOS if it knows
the consumer will not be sending ranged acks.

A simple use case is to allow messages to be reordered based on
priority while it's sitting in queues post the broker dispatch stage. 
If the client is doing ranged acks, reordering would not be allowed

since the order the client receives the messages must match the order
that the broker dispatched them in so that it acks the right messages
in the ack range.

--
Regards,
Hiram


Re: JMS tutorial using ActiveMQ ,Tomcat and Axis

2006-04-28 Thread -=Kobye=-

hi,
you can go to my web site http://ww.jsports.org

In my web site forum(ActiveMQ),I write two article about how to use activemq
in servlet.
I think,if you can use it in servlet,you will be able to use it anywhere.


--
I love Java!
I love Sports!
I love this Game !

home:http://www.jsports.org
blog:
   http://blog.csdn.net/jsports
   http://blog.matrix.org.cn/page/jsports


JMS tutorial using ActiveMQ ,Tomcat and Axis

2006-04-28 Thread yashhnb

Hi i have to develope an appliction using ActiveMQ .
i have successfuly run the ActiveMQ example consumer and producer by using
Ant.
how i develope a JMS System which post Hello message and subscribe got this
message in java plateform

if anyone can help me its great.

thanks 
--
View this message in context: 
http://www.nabble.com/JMS-tutorial-using-ActiveMQ-%2CTomcat-and-Axis-t1525151.html#a4142226
Sent from the ActiveMQ - Dev forum at Nabble.com.



Re: Avoid blocking producers

2006-04-28 Thread Rob Davies

Hi Chris,

we are planning on prototyping this for 4.1 and will do this side-by- 
side to the existing implementation. We should have the first cut  
implemented in the next  couple of months - but any contributions are  
welcome!


cheers,

Rob

On 27 Apr 2006, at 23:32, Larrieu, Christopher wrote:


Rob,

In response to JIRA issue https://issues.apache.org/activemq/browse/ 
AMQ-688#action_36051 you mentioned that you are looking into some  
major changes for decoupling producers and consumers, as well as  
implementing the staged feeding of dispatch queues.  Much of this  
coincides with work that we need in order to use ActiveMQ  
effectively in our organization.  If we were to move forward  
independently without collaborating, we'd end up arriving with  
wildly divergent results.


Can you provide some more details, so that we can plan accordingly?

Thanks,

Chris