TOMCAT on HP UNIX going down after loading big files to Application

2007-06-06 Thread Raijuta
Hi, I just need a help with our application. Currently we are using a content management tool as a catalog application and we are using TOMCAT 5.5 on HP UX OS. Unfortunately, TOMCAT goes down after some time that we are trying to load a big file to our application. We already did some kernel confi

Re: NMS: Get list of topics

2007-06-06 Thread James Strachan
Though we welcome patches :) http://activemq.apache.org/contributing.html On 6/7/07, Hiram Chirino <[EMAIL PROTECTED]> wrote: No not at the moment. On 6/4/07, Oleg Deribas <[EMAIL PROTECTED]> wrote: > > I want to see list of topics and list of users subscribed to each topic > from .NET client.

Re: Orphan connections from .NET clients

2007-06-06 Thread Hiram Chirino
Odd. look like a bug. You using 4.1.1? On 6/6/07, Gaurav Hariani <[EMAIL PROTECTED]> wrote: Since James and Hiram are back on the list ... I thought I'd repost this- We are facing a problem of orphan connections to ActiveMQ. A simple .NET client that only creates a connection/session and then

Re: NMS: Get list of topics

2007-06-06 Thread Hiram Chirino
No not at the moment. On 6/4/07, Oleg Deribas <[EMAIL PROTECTED]> wrote: I want to see list of topics and list of users subscribed to each topic from .NET client. Something like this: http://activemq.apache.org/how-can-i-see-what-destinations-are-used.html Is that possible? -- Oleg -- R

Re: Getting Stomp support to a usable state...

2007-06-06 Thread Tom Samplonius
- "James Strachan" <[EMAIL PROTECTED]> wrote: > On 6/2/07, Tom Samplonius <[EMAIL PROTECTED]> wrote: > > > > How much more work needs to occur to get Stomp protocol support to > a usable state? > > Huh? :) Its very useable right now > > > > The biggest issue is lack of any authentication

Re: Warning and then OutOfMemoryError

2007-06-06 Thread Hiram Chirino
I'd recommend you run with a profiler and send us a link to the memory profile when you notice it getting close to getting an OutOfMemoryException. Regards, Hiram On 5/24/07, Daryl Richter <[EMAIL PROTECTED]> wrote: Hey- Last night one of our brokers, running a build of ActiveMQ 4.2-SNAPSHOT b

Re: Integrating C++ Client with MDB

2007-06-06 Thread alexvs
Hi Albert Same here; I see it listed on jboss JMX console as well. If C++ calls with a topic name of TEST.FOO, that topic is added to the list. However, nothing happens when I use the exact same destination name as the one my MDB is listening to. In a sense I am not "creating" a topic, I am me

Re: Integrating C++ Client with MDB

2007-06-06 Thread Albert Strasheim
Hello You could try using JMX to look at the queues and topics on the broker. Maybe JNDI is adding something to name, as you said. If I pass the string "foo" to Session::createTopic, I end up with a topic called "foo" which I can see in JMX. Cheers, Albert

Re: Integrating C++ Client with MDB

2007-06-06 Thread alexvs
Hi Albert - Yes, I have. No luck. Albert Strasheim wrote: > > Hello > > On Wed, 06 Jun 2007, alexvs wrote: > >> I am just trying to replicate what's bound to Java's JNDI. >> (java:topic/SciTegic). Also when I output the message to the console >> from >> the MDB, I get this: >> >> 3:37:45,

Re: Integrating C++ Client with MDB

2007-06-06 Thread Albert Strasheim
Hello On Wed, 06 Jun 2007, alexvs wrote: > I am just trying to replicate what's bound to Java's JNDI. > (java:topic/SciTegic). Also when I output the message to the console from > the MDB, I get this: > > 3:37:45,280 INFO [STDOUT] onMessage() - SpyTextMessage { > Header { >jmsDestination

Re: [activemq-user] Re: Integrating with WebSphere

2007-06-06 Thread lchoy
I am trying to deploy the activemq-rar-4.1.0-incubator.rar in V6 and it's failing with the following error: com.ibm.websphere.management.exception.ConfigServiceException: javax.management.InstanceNotFoundException: *:node=ihs_myhost_node,type=AdminOperations,* Can someone help explain what I nee

Re: Integrating C++ Client with MDB

2007-06-06 Thread alexvs
I am just trying to replicate what's bound to Java's JNDI. (java:topic/SciTegic). Also when I output the message to the console from the MDB, I get this: 3:37:45,280 INFO [STDOUT] onMessage() - SpyTextMessage { Header { jmsDestination : TOPIC.SciTegic jmsDeliveryMode : 2 jmsExpirati

Re: Integrating C++ Client with MDB

2007-06-06 Thread Albert Strasheim
On Wed, 06 Jun 2007, alexvs wrote: > destination = session->createTopic( "TOPIC.SciTegic" ); // IS THIS THE RIGHT > NAME TO USE? I think you just want "SciTegic". Do you know of any documentation that would indicate that you should prepend "TOPIC." ? Cheers, Albert

Re: Integrating C++ Client with MDB

2007-06-06 Thread alexvs
Thank you for your reply! Here is what I have on the Java side (ActiveMQ is embedded within JBOSS btw:) ConnectionFactory cf1 = (ConnectionFactory) ctx.lookup("TopicConnectionFactory"); Connection connection = cf1.createConnection(); Session session = connection.createSession(false, Session.AUTO

Re: Integrating C++ Client with MDB

2007-06-06 Thread Timothy Bish
You send the messages to a Destination with the same name as the one you've configured your MDB to listen on. regards Tim On Wed, 2007-06-06 at 10:53 -0700, alexvs wrote: > Hi guys, > > I need help! I have two extra days to finish this project and I can't > figure out how to make my C++ clien

Orphan connections from .NET clients

2007-06-06 Thread Gaurav Hariani
Since James and Hiram are back on the list ... I thought I'd repost this- We are facing a problem of orphan connections to ActiveMQ. A simple .NET client that only creates a connection/session and then closes and exits, still shows up in jconsole. It is possible to stop it manually in jconsole

Re: API docs for CMS/ActiveMQ-CPP

2007-06-06 Thread Hiram Chirino
Wow awesome docs! On 6/2/07, Nathan Mittler <[EMAIL PROTECTED]> wrote: For those interested, we now have functioning links on the CMS website to get to the API. You can check out the APIs here http://activemq.apache.org/cms/api.html Regards, Nate -- Regards, Hiram Blog: http://hiramchirin

Integrating C++ Client with MDB

2007-06-06 Thread alexvs
Hi guys, I need help! I have two extra days to finish this project and I can't figure out how to make my C++ client send messages to ActiveMQ and have these messages delivered to my MDB. I have the example running in C++, but I don't know how to locate the JMS topic or connection that would rou

Re: Message Selector Not Filtering Messages

2007-06-06 Thread Jim_Cross
Finally found it in Jira...it's an unresolved issue: http://issues.apache.org/activemq/browse/AMQNET-44 The work around, passing in the 3rd argument, works for me Jim_Cross wrote: > > Hi, > > I'm using ActiveMQ with a Java producer and a C# (NMS) consumer. > Everything seems to be working, e

Re: Locked trying to write to journal

2007-06-06 Thread Manuel Teira
James Strachan escribió: any chance you could upgrade to 4.1.1 which has numerous bug fixes and see if you can reproduce this? I don't think so. The problem is that I was not able to reproduce the problem other than in the production environment. Unfortunately, changing the production version w

Re: Message Selector Not Filtering Messages

2007-06-06 Thread Jim_Cross
Just tried the same thing with a Java client, and the filtereing works fine, so it seems to be an issue with NMS and message selectors. Any ideas anyone? Jim Jim_Cross wrote: > > Hi, > > I'm using ActiveMQ with a Java producer and a C# (NMS) consumer. > Everything seems to be working, except

Re: Persistence in Ajax

2007-06-06 Thread didyeah971
Hi, I threw an eye in the code of the MessageServletSupport, and saw that there is no way to modify the JMSDeliveryMode to persistent, although some others jms headers can be modified. Is it voluntary ? thx, didier didyeah971 wrote: > > Hi, I have one more question about The Ajax Client. > I'd

AMQ 4.1.1 and TransportConnector brokerName

2007-06-06 Thread Manuel Teira
Hello. My aim is to be able to have different clusters (JDBC master-slave) running in the same local network. I also want to be able to discover the running nodes from the clients, and so I was using a discoverUri (multicast://default) in the TransportConnector and the proper configuration fo

JMS and ActiveMQ lingering transports and scheduler threads cause a Java out of memory error

2007-06-06 Thread Turret
I am running Spring 2.0.5 with ActiveMQ 4.1.1 as my JMS provider under Java 1.6u1. I have noticed lingering ActiveMQ Transport and ActiveMQ Scheduler threads within a running JVM via the jconsole utility. These threads are ever increasing and never seem to be reaped by the garbage collector. I a

javax.jms.JMSException: Cannot publish to a deleted Destination

2007-06-06 Thread Eric Nygma
Hi , Has anyone encountered the below exception ? [Also, I am fairly new to JMS/ActiveMQ ] Thanks, Eric\ javax.jms.JMSException: Cannot publish to a deleted Destination: temp-queue://ID:MYSOFT-PC-49334-1181138457438-0:2:1 at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1498)

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-06 Thread Schulze
Yeaahhh, it works. The point was not to subscribe the procucer. Now I get the messages even in the expected order. Thanks a lot for your help, Atis-3!! The PHP5 port may be found here: http://www.nabble.com/file/p10988110/Stomp5.php Stomp5.php -- View this message in context: http://www.nabb

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-06 Thread Atis
Stomp.php uses deprecated socket functions. I have to follow a policy here... Now I use stream_socket_client() and fread(), fwrite() etc. Could you be so kind and share it? > consumer.php: $c = new StompConnection('localhost', 5); > Why port 5? > 5 is the timeout in that case, port is 61613.

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-06 Thread Schulze
Atis-3 wrote: > > I wonder, why you would need to convert Stomp.php to PHP5. > Stomp.php uses deprecated socket functions. I have to follow a policy here... Now I use stream_socket_client() and fread(), fwrite() etc. Atis-3 wrote: > > consumer.php: $c = new StompConnection('localhost', 5);

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-06 Thread Atis
On 6/6/07, Schulze <[EMAIL PROTECTED]> wrote: I tried to use ActiveMQ 4.1.1 with stomp connector from PHP (after porting Stomp.php for use with PHP5). Surprisingly it behaves like a stack: Hi, I wonder, why you would need to convert Stomp.php to PHP5. I took mine from https://svn.codehaus.org

ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-06 Thread Schulze
I tried to use ActiveMQ 4.1.1 with stomp connector from PHP (after porting Stomp.php for use with PHP5). Surprisingly it behaves like a stack: === producer.php: subscribe('/queue/FOO'); $c->send('/queue/FOO', $msg, array('expires' => 1)); print 'sent: '.$msg.PHP_EOL; } $c = new Stom

Re: Getting Stomp support to a usable state...

2007-06-06 Thread James Strachan
On 6/2/07, Tom Samplonius <[EMAIL PROTECTED]> wrote: How much more work needs to occur to get Stomp protocol support to a usable state? Huh? :) Its very useable right now The biggest issue is lack of any authentication support for Stomp, so anyone with access to the Stomp port can get a

Re: Are there any figures about ActiveMQ's scalability

2007-06-06 Thread James Strachan
On 5/29/07, Ames, Andreas (Andreas) <[EMAIL PROTECTED]> wrote: Hi all, I'm in the process of evaluating ActiveMQ in a callcenter setting. I'm unable to find figures about its scalability. In my scenario I'll have a typical middletier server 'connected' to a diversity of frontend clients via Act

Re: Locked trying to write to journal

2007-06-06 Thread James Strachan
any chance you could upgrade to 4.1.1 which has numerous bug fixes and see if you can reproduce this? On 6/4/07, Manuel Teira <[EMAIL PROTECTED]> wrote: Hello. I've just detected a lock problem using activemq-core 4.0.2 that seems to be related with journal writing logic. I was able to get a sta

Re: durable subscriptions

2007-06-06 Thread James Strachan
On 6/4/07, keneida <[EMAIL PROTECTED]> wrote: To monitor ActiveMQ I use jconsole. In MBeans, there is a tree view with following branch org.apache.activemq; name og broker; Subscription; Durable; Subscription name; Topic; client ID For each client i can browse the messages. What kind of message

Re: Receiver using jndi.properties, Sender not.

2007-06-06 Thread James Strachan
I don't really understand what you're doing or whats happening; but I guess you might be hitting an issue with classpaths, or that the broker is not being created until after your connections. Maybe switching to tcp:// rather than vm:// might help On 6/4/07, QJack <[EMAIL PROTECTED]> wrote: I h

Re: Using JManage 2.0

2007-06-06 Thread James Strachan
On 6/5/07, Jim Alateras <[EMAIL PROTECTED]> wrote: Got it. It is the same uri as i use for jconsole (service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi). I am using the JSR160 Application type to connect/ First impressions of JManage are very positive. Cool thanks for the heads up BTW Hyper

Re: how find a queue?

2007-06-06 Thread James Strachan
On 6/6/07, Raffaele <[EMAIL PROTECTED]> wrote: I'm making a sort of wrapping of some of the main classes of ActiveMQ, in detail i have: - JMSWorker - QueueWorker extends JMSWorker - TopicWorker extends JMSWorker - QueueBrowser extends QueueWorker - QueueConsumer extends QueueWorker - QueueProd

Re: how find a queue?

2007-06-06 Thread Raffaele
I'm making a sort of wrapping of some of the main classes of ActiveMQ, in detail i have: - JMSWorker - QueueWorker extends JMSWorker - TopicWorker extends JMSWorker - QueueBrowser extends QueueWorker - QueueConsumer extends QueueWorker - QueueProducer extends QueueWorker - TopicConsumer extend

Re: how find a queue?

2007-06-06 Thread James Strachan
On 6/6/07, Raffaele <[EMAIL PROTECTED]> wrote: Hi, the createQueue method is implemented in this way: public Queue createQueue(String queueName) throws JMSException { checkClosed(); return new ActiveMQQueue(queueName); } And so, a new Object is createdGoing deeper in

Re: how find a queue?

2007-06-06 Thread Jonas Lim
Hi Raffaele, Just out of curiosity , what would you be doing with the Queue object? If you already know the name of an existing queue then you can just use Session.createQueue (or do a jndi lookup) to get the queue object and use it to create a |MessageConsumer| or a |MessageProducer| to r

Re: how find a queue?

2007-06-06 Thread Raffaele
Hi, the createQueue method is implemented in this way: public Queue createQueue(String queueName) throws JMSException { checkClosed(); return new ActiveMQQueue(queueName); } And so, a new Object is createdGoing deeper in the code I have seen no mechanism about retrievi

Re: how find a queue?

2007-06-06 Thread Jonas Lim
Hi, If you just want to get the handle of a queue object based on its name I think you can use the Session.createQueue(String queueName) method. Regards, jonas * * Raffaele wrote: Hi all, I'm looking for a method to retrieve a specific queue based on its name, that is a method that ret