[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss client API seems to leak files !

2005-11-10 Thread geniusfox
 Oh, i have same problem withe you. When i increase the max open file number on 
my linux system. It would hold on more than one or two days.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906708#3906708

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906708


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Exiting on IOE java.net.SocketException: socket closed

2005-07-12 Thread geniusfox
   But, When i catch too many "close exception",then Jboss would send a 
"Sockte:Open too many files" and stop work. 
   How can i fill it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884644#3884644

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884644


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to stop messagelistener from listening queue/topic

2005-07-08 Thread geniusfox
topic/queue: MessageConsumer.setMessageListener(null);

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884254#3884254

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884254


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Exiting on IOE java.net.SocketException: socket closed

2005-07-06 Thread geniusfox
Hi :
 I use jboss4.0.1sp1 as my JMS server. My sampel code as:
 
 public static void main(String[] arg) {
  | try {
  | Context context = ContextHelper.getContext();
  | QueueConnectionFactory factory = 
(QueueConnectionFactory)context.lookup("java:/ConnectionFactory");
  | QueueConnection connection = factory.createQueueConnection();
  | connection.start();
  | connection.stop();
  | connection.close();
  | connection=null;
  | }
  | catch(Exception e) {
  | e.printStackTrace();
  | }
  | }
  When i run this program, In my jboss's server.log will catch a exception:
  2005-07-07 12:19:14,414 DEBUG 
[org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)
at java.lang.Thread.run(Thread.java:534)

  Pls! what's the problem in my code?  I use the default jboss conf.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883948#3883948

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883948


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user