[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Recurrent Connection Failure

2006-06-14 Thread bsbodden
We have an application running on:

JBoss 2.4.4 + Catalina
OS: WIN 2K

and we get this exception every once in while and eventually we see degradation 
of the JBoss JMS stack performance. Yes, we know this is an very old version of 
JBoss but we are stuck with it for the time being.

This is how we have JMS configured in the jboss.jcml file:

  !--  --
  |   !-- JBossMQ  
--
  |   !--  
--
  |   mbean code=org.jboss.mq.server.JBossMQService 
name=JBossMQ:service=Server/
  | 
  |   !-- The StateManager is used to keep JMS perisitent state data. --
  |   !-- For example: what durable subscriptions are active. --
  |   mbean code=org.jboss.mq.server.StateManager 
name=JBossMQ:service=StateManager
  | attribute name=StateFilejbossmq-state.xml/attribute
  |   /mbean
  | 
  |   !-- The PersistenceManager is used to store messages to disk. --
  |   mbean code=org.jboss.mq.pm.rollinglogged.PersistenceManager 
name=JBossMQ:service=PersistenceManager
  | attribute name=DataDirectory../../db/jbossmq//attribute
  |   /mbean
  | 
  |   mbean code=org.jboss.mq.il.jvm.JVMServerILService 
name=JBossMQ:service=InvocationLayer,type=JVM
  | attribute 
name=ConnectionFactoryJNDIRefJVMConnectionFactory/attribute
  | attribute 
name=XAConnectionFactoryJNDIRefJVMXAConnectionFactory/attribute
  |   /mbean
  | 
  |   mbean code=org.jboss.mq.il.rmi.RMIServerILService 
name=JBossMQ:service=InvocationLayer,type=RMI
  | attribute 
name=ConnectionFactoryJNDIRefRMIConnectionFactory/attribute
  | attribute 
name=XAConnectionFactoryJNDIRefRMIXAConnectionFactory/attribute
  |   /mbean
  | 
  |   mbean code=org.jboss.mq.il.oil.OILServerILService 
name=JBossMQ:service=InvocationLayer,type=OIL
  | attribute name=ConnectionFactoryJNDIRefConnectionFactory/attribute
  | attribute 
name=XAConnectionFactoryJNDIRefXAConnectionFactory/attribute
  |   /mbean
  | 
  |   mbean code=org.jboss.mq.il.uil.UILServerILService 
name=JBossMQ:service=InvocationLayer,type=UIL
  | attribute 
name=ConnectionFactoryJNDIRefUILConnectionFactory/attribute
  | attribute 
name=XAConnectionFactoryJNDIRefUILXAConnectionFactory/attribute
  |   /mbean
  | 
  |   mbean code=org.jboss.mq.server.QueueManager 
name=JBossMQ:service=Queue,name=PedigreeCacheQueue/
  |   mbean code=org.jboss.mq.server.QueueManager 
name=JBossMQ:service=Queue,name=PedigreeAPMSListQueue/
  |   mbean code=org.jboss.mq.server.QueueManager 
name=JBossMQ:service=Queue,name=PedigreeAsyncCommandFlowQueue/
  |   mbean code=org.jboss.mq.server.QueueManager 
name=JBossMQ:service=Queue,name=PedigreeCINListQueue/
  | 
  |   !-- Used for backwards compatability with JBossMQ versions before 1.0.0 
--
  |   mbean code=org.jboss.naming.NamingAlias 
name=DefaultDomain:service=NamingAlias,fromName=QueueConnectionFactory
  | attribute name=ToNameConnectionFactory/attribute
  | attribute name=FromNameQueueConnectionFactory/attribute
  |   /mbean
  |   mbean code=org.jboss.naming.NamingAlias 
name=DefaultDomain:service=NamingAlias,fromName=TopicConnectionFactory
  | attribute name=ToNameConnectionFactory/attribute
  | attribute name=FromNameTopicConnectionFactory/attribute
  |   /mbean
  | 
  |   !-- For Message Driven Beans --
  |   mbean code=org.jboss.jms.jndi.JMSProviderLoader 
name=:service=JMSProviderLoader,name=JBossMQProvider
  | attribute name=ProviderNameDefaultJMSProvider/attribute
  | attribute 
name=ProviderAdapterClassorg.jboss.jms.jndi.JBossMQProvider/attribute
  | attribute name=QueueFactoryRefjava:/XAConnectionFactory/attribute
  | attribute name=TopicFactoryRefjava:/XAConnectionFactory/attribute
  |   /mbean
  |   mbean code=org.jboss.jms.asf.ServerSessionPoolLoader 
name=:service=ServerSessionPoolMBean,name=StdJMSPool
  | attribute name=PoolNameStdJMSPool/attribute
  | attribute 
name=PoolFactoryClassorg.jboss.jms.asf.StdServerSessionPoolFactory/attribute
  |   /mbean


Here's the stack trace. Thank you.

[17:02:23,059,Connection] JBossMQ Connection failure: 
org.jboss.mq.SpyJMSException: Could not initialize the OILClientIL Service.
 at org.jboss.mq.Connection.asynchFailure(Connection.java:412)
 at org.jboss.mq.il.oil.OILClientILService.run(OILClientILService.java:148)
 at java.lang.Thread.run(Thread.java:536)
linked exception is:
java.net.SocketException: Socket is closed
 at java.net.ServerSocket.setSoTimeout(ServerSocket.java:540)
 at org.jboss.mq.il.oil.OILClientILService.run(OILClientILService.java:117)
 at java.lang.Thread.run(Thread.java:536)
[17:02:23,059,Default] org.jboss.mq.SpyJMSException: Could not initialize the 
OILClientIL Service.
[17:02:23,059,Default] at 
org.jboss.mq.Connection.asynchFailure(Connection.java:412)
[17:02:23,059,Default] at 
org.jboss.mq.il.oil.OILClientILService.run(OILClientILService.java:148)

[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ threads sharing locally-instantiated objects?

2006-05-17 Thread sumitsu
I have implemented a JBossMQ-driven JMS Queue which is answered by a 
JBoss-managed pool of Message-Driven Beans; the deployment descriptor allows 
the MDB to run in as many as 15 threads simultaneously, so there are usually 
multiple instances of onMessage() running at once.

The problem which I'm having is that objects instantiated by onMessage in one 
thread appear to be allocated to memory shared with the equivalent object in 
another thread, causing data collision problems which would normally be 
associated with data race conditions. My onMessage code looks something like 
this:


  | public void onMessage(Message inMessage) {
  | XMLComboObject generator;
  |  
  | ...
  |  
  | generator = new XMLComboObject();
  | 

XMLComboObject is a custom class which contains multiple instances of XMLTag, 
another class I wrote to represent the structure of an XML tree. Each one of 
these is a very large object, so any given instance of XMLComboObject consumes 
a sizeable amount of memory.

XMLTag contains a method called replaceContents(String tagName, String 
newContents) which deletes the current contents of an XML tag withing the 
object and replaces them with the new String:


  | ...
  | replaceContents(String tagName, String newContents) {
  | deleteContents(tagName);
  | addContents(tagName, newContents);
  | }
  | ...
  | 

All of the sources I've read about Java threads indicate that local variables 
are inherently thread-safe, as they are allocated on the stack, which is not 
shared among threads. However, when I try to dump the contents of the XML tag 
from an XMLComboObject associated with one thread, I frequently (but 
erratically) find that the values contained within a tag are concatenated with 
values which should be associated with another thread. So where I should see:

THREAD ONE VALUES
...
A
...

THREAD TWO VALUES
...
B
...

I often see:

THREAD ONE VALUES
...
AB
...

THREAD TWO VALUES
...
AB
...

The only thing I can think of which could be happening here is that both 
threads are running replaceContents simultaneously on the same XMLTag object, 
and thus encountering a race condition. This should never be the case, however, 
since the XMLTags in question are subordinate to a local variable within 
onMessage(), which is (to the best of my understanding) assumed NOT to be 
shared among threads.

So is there any way that Java could be attempting to re-use local instances of 
the objects that I'm instantiating, and in the process sharing memory which 
needs to be local to a given JMS thread? I can't find any documentation for 
such a behavior, but it's the only possibility which is coming to mind.

I don't know whether this is a JVM problem (in terms of memory allocation) or a 
JBossMQ problem (in terms of thread management).  I am running JBoss 4.0.3-SP1 
on Java 1.4.2_07-b03.

Thanks,

Branden Smith

(I have also posted this question on the Sun Java Forums: 
http://forum.java.sun.com/thread.jspa?threadID=736921tstart=0.)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944281#3944281

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944281


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ + MQSeries 5.1 (not Websphere MQ)

2006-04-28 Thread JBossBeginner
Dear all, 

I get in trouble since a few days to find a way to make a MQSeries queue 
compliant with a JBossMQ queue. I have a MQSeries (V 5.1) trasmisson queue in a 
remote app. that connects to another MQ queue in my app. I would like to take 
out MQSeries from my app and use JBoss queues. Unfortunately, MQSeries doesn't 
support JMS... Is there anyway to do this ? I have search for a long time on 
this site and on the internet for any kind of information, but nothing is 
explained :-( . I would really appreciate if someone can help me find a 
solution, I'm a beginner and this project is very important for me. 

Thanks a lot !

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940143#3940143

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940143


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Fails under load - Exiting on IOE

2006-03-24 Thread alchemista
In a production environment, I've had several cases where my JBossMQ has failed 
under load. The problem is described below. I was wondering if someone else has 
solved this problem before, or has any ideas?

The setup is that I have a JBoss application server (1) on Windows sending logs 
over log4j JMS appender to JBoss application server (2) on Linux.

The server (2) is configured to use the HSQLDB persistence manager, is set to 
use 1GB ram for the JVM and has the high/max memory set to 80% and 90% of the 
JVM ram.

The source of the logging data server (1) can send very large amounts of logs 
over JMS to the logging server (2). This load is fairly high during the day, 
and occasionally causes the JBossMQ on server (2) to completely fail.

The first errors are of the format below. In some cases reconnection occurs, 
but in other cases the logging server (2) will continuously refuse connections. 
When this failure happens, I have to stop the logging server (2), often delete 
the HSQLDB data directory and then restart logging server (2).

org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: 
(java.net.SocketException: Connection reset)
at 
org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380)
at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447)
at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519)
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)





Hardcore failure can give continuous messages:

javax.naming.CommunicationException [Root exception is 
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: 
java.io.EOFException]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
com.lmco.lits.james.core.cdf.ReconnectingJMSAppender.initializeConnection(ReconnectingJMSAppender.java:166)
at 
com.lmco.lits.james.core.cdf.ReconnectingJMSAppender.onException(ReconnectingJMSAppender.java:319)
at 
org.jboss.mq.Connection$ExceptionListenerRunnable.run(Connection.java:1366)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested 
exception is: 
java.io.EOFException
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
... 6 more
Caused by: java.io.EOFException
at 
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2502)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1267)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
... 9 more

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3932439#3932439

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932439



[JBoss-user] [Messaging, JMS JBossMQ] - JbossMQ HA Configuration - Help Needed

2006-01-31 Thread chetanagg
Hi folks , 

I am using jbss-4.0.3 . I have a very basic question. 

I have following files in deploy-hasingleton.jms folder:
oracle-jdbc2-service.xml 
hsqldb-jdbc-state-service.xml pointing to OracleDS
jbossmq-service.xml
jbossmq-destinations.xml
jvm.xml

And have following files in deploy/jms folder:
hajms-ds.xml

When i started server , i could not even get log of org.jboss.mq. No 
persistance manager , statemanager , queue , topic got deployed as was evident 
from jmx-console.

Then i copied same oracle-jdbc2-service.xml ,hsqldb-jdbc-state-service.xml , 
jbossmq-service.xml , jbossmq-destinations.xml files from 
deploy-hasingleton/jms to deploy/jms folder also?

Then i was able to find Queues , Topic in jmx-console.

I am following this link for jbossMQ : 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB

Now i am totally confused whether my queues/topics are in HA JMS or not??
Second do i really need to maintain xml files in both directories?

Please suggest.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3920850#3920850

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920850


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ as Windows Service

2006-01-26 Thread davidroossien
I have installed a minimal JBoss server for running JMS.  Now I would like to 
run it as a Windows Service.

I have followed the instructions here:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaService

But, when I execute the command

JBossService.exe -install JBoss 
{JDK_HOME}\jre\bin\{hotspot|server|classic}\jvm.dll -D 
java.class.path={JDK_HOME}\lib\tools.jar;{JBOSS_BIN}\run.jar -start 
org.jboss.Main -stop org.jboss.Main -method systemExit -out 
{JBOSS_BIN}\stdout.log -err {JBOSS_BIN}\stderr.log -current {JBOSS_BIN} 
-depends mysql -manual -overwrite

I get:

Insufficient parameters to install service (jvm -start class)
JavaService install command parameters not valid, or incomplete'server' is not 
recognized as an internal or external command,
operable program or batch file.

D:\ProgramFiles\jboss-4.0.3SP1\bin

When I look in run.jar, I see that there is a Main.class, which should be found 
with the classpath org.jboss.Main.

I don't know what is wrong.  Thanks for any help you can provide!

David

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3919798#3919798

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919798


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JbossMQ and Delphi as client

2006-01-24 Thread hermanrudy
How do I send and receive message to/from JbossMQ using Delphi ?


Thank's


Herman Rudy

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3919288#3919288

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919288


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ, Using same clientid for mutiple instances of an app

2006-01-17 Thread sig69
I'm currently working on an error reporting tool using JBossMQ, and at first it 
seemed very easy. I have a bean running on the server that executes a task 
every morning, and when something goes wrong it dumps some error messages in a 
topic. This part works perfectly. 
When a user starts up his application, I want it to retrieve the messages using 
a durable subscription. If I have only 1 client this works,  but a second 
client can't connect, because I get a JMSSecurity exception The login id has 
an assigned client id 'APP_CLIENT', that is already connected to the server!. 
I'm not really feeling much for creating usernames for everybody who uses the 
application. I just want 1 username, password and clientID for every instance 
of the application, and create durable subscriptions using the name of the user 
that is using the application.

Is this possible? If it is, how?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3917814#3917814

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917814


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ alone

2006-01-17 Thread [EMAIL PROTECTED]
If I need a machine with the web container and some queues. Is there anyway I 
can install just the JBossMQ and Apache?
I?m wondering if is possible to avoid a EJB container installation in this 
scenario


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3917978#3917978

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917978


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ over SSL - Error while starting JBoss

2005-12-30 Thread noidic
Hi!

I have a problem with JBossMQ over SSL. I'm using the actual JBoss, 4.0.3 SP1

First of all, yes, i've read the Wiki article and followed it step by step, the 
server side so far. One change I had to make, if i put the keystore in the 
deploy-directory of the server, it tries to deploy it. This fails, so I put it 
in the conf-directory.

And now for the problem...

While starting the Server, the following Error appears:

16:16:39,186 ERROR [UILServerILService] Failed to 
setSecurityDomain=java:/jaas/SSL on socket factory

followed by a warning that the service could not be started and a stack trace, 
the first few lines are:


  | java.lang.NullPointerException
  | at org.jboss.security.ssl.Context.forDomain(Context.java:51)
  | at 
org.jboss.security.ssl.DomainServerSocketFactory.initSSLContext(Domai
  | nServerSocketFactory.java:220)
  | at 
org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(D
  | omainServerSocketFactory.java:143)
  | at 
org.jboss.mq.il.uil2.UILServerILService.startService(UILServerILServi
  | ce.java:203)
  | 

I did no other changes on the JBoss configuration, except renaming two queues.

Has anyone an idea about this issue?

Thanks in advance

noidic



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914926#3914926

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914926


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ AUTO_ACKNOWLEDGE not working ?

2005-11-03 Thread aioaneid
I'm using the default cofiguration for jboss 4.0.3 and I have two standalone 
clients: one sends a single persistent message to a queue and that one works 
properly. After that I start the second standalone client which looks pretty 
much like this:

Session s = con.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageConsumer consumer = s.createConsumer(destination);
consumer.setMessageListener(new MessageListener() {
public void onMessage(Message message) {
System.out.println(message);
throw new RuntimeException(please retry me);
}
});

The first time I start the consumer application it receives the message 
properly but the second time and so on the message is no longer received and 
the web console shows the queue size to be zero.

The behavior I see is not consistent with this excerpt from the jms 1.1 javadoc:

public static final int AUTO_ACKNOWLEDGE

With this acknowledgment mode, the session automatically acknowledges a 
client's receipt of a message either when the session has successfully returned 
from a call to receive or when the message listener the session has called to 
process the message successfully returns. 

Is it a (known) bug ?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3905101#3905101

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905101


---
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] - JbossMQ and browsing of Scheduled for Delivery Messages

2005-11-03 Thread shafieksavahl
Hello

I am using Jboss 4.0.3 SP1 and I would like to browse messages that are in a 
queue that have been scheduled for redelivery.

The scenario is that 

- I have set the RedeliveryDelay on a queue to be 3 ms
- A message is processed by an MDB which fails to process the message and 
throws an EJBException (this is the bahaviour I think I want)
- Looking at the JBoss implementation of a BasicQueue it seems that the message 
is then placed in an events object that is used for redelivery scheduling.
- Once the message is placed in the events object it seems that when you 
attempt to browse/view messages in the queue, you are unable to view those 
messages in the events object.
- I can view the number of messages in the events object by calling the method 
getScheduledMessageCount, but I do not seem to be able to access the messages 
themselves.

I am unable to find anything in the forums that mention anything regarding 
this.  Is there anyway to browse/list these messages.

Thanks

Shafiek

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3905371#3905371

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905371


---
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] - jbossmq-state.xml contains ClientIDs for same MDB

2005-09-12 Thread pcarrollnf
I am running JBoss 3.2.0.  I have configured JMS so that the messages are 
written to SQL Server as opposed to the default Hypersonic database.  This all 
works correctly.  When I start the application, I notice the jbossmq-state.xml 
has the deployed MDB's written in it in the following example:

DurableSubscription
  |   ClientIDID:3 /ClientID
  |   NameMyMDB1/Name
  |   TopicNameMyTopic/TopicName
  | /DurableSubscription
  | DurableSubscription
  |   ClientIDID:9/ClientID
  |   NameMyMDB2/Name
  |   TopicNameMyTopic/TopicName
  | /DurableSubscription

When the application posts a topic, the record is written to the JMS_MESSAGES 
table in the SQL Server database and then consumed.

However, when I restart the application, the jbossmq-state.xml will look like 
the following on occassion:

DurableSubscription
  |   ClientIDID:3/ClientID
  |   NameMyMDB1/Name
  |   TopicNameMyTopic/TopicName
  | /DurableSubscription
  | DurableSubscription
  |   ClientIDID:9/ClientID
  |   NameMyMDB2/Name
  |   TopicNameMyTopic/TopicName
  | /DurableSubscription
  | DurableSubscription
  |   ClientIDID:11/ClientID
  |   NameMyMDB1/Name
  |   TopicNameMyTopic/TopicName
  | /DurableSubscription
  | DurableSubscription
  |   ClientIDID:17/ClientID
  |   NameMyMDB2/Name
  |   TopicNameMyTopic/TopicName
  | /DurableSubscription

When a message is produced and written to the database, the messages with 
ClientID 3 and 9 will not be consumed.  These rows will live in the database 
until someone manually goes in there to delete them.  Does anyone know the 
cause and possible solution as to why this may be occurring?  Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3894310#3894310

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894310


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Login Module Configuration

2005-07-29 Thread Denisius
By default JBossMQ uses DatabaseServerLoginModule login module. I try to change 
it to UsersRolesLoginModule (i crete users. roles. prop files). But on run-time 
i have message: 
user:null not authorised..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887315#3887315

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887315


---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ from Microsoft .Net Framework

2005-07-19 Thread shaby775
Hi,
My application requires integration with .Net based application. I want to ask 
can we publish message in JBossMQ using C# or VB.Net.  The .Net application 
will publish messages JBossMQ in bulk and my application (MDB) will read and 
then process it.
If it is possible then please tell me how?

Regards,
Shaoib Akhtar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3885460#3885460

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885460


---
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=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - jBossMQ - Multiple Dead Letter Queues

2005-05-27 Thread abowes
Hi Guys

I am using jBoss v4 in development with jBossMQ and we are attempting to mimic 
our production WebSphere MQ configuration.  In the production environment we 
can define a separate Dead Letter Queue (DLQ) for each Queue and we are using 
this to monitor/resubmit failed messages and the DLQ that the message arrives 
on indicates the source of the message.

Can we acheive the same result in jBossMQ i.e. configure a different DLQ for 
each Queue as well as a global DLQ?  Ideally I need to acheive this without 
modifying the existing MDBs as I don't really want to go through the whole 
production rollout cycle to implement a change that is only used in the 
development environment.

I know that we should be able to acheive this in jBoss v5 but again that is not 
really an option at the moment.

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879260#3879260

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879260


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Thread Count grows until Linux Too Many Files Open e

2005-05-10 Thread THancock
We are using JBoss 3.2.6 on JVM 1.4.2-06. 

We have 2 web servers that publish messages onto one of 3 JBoss Message Queue 
servers. 

The Thread List shows lots and lots of the following entries in the JBossMQ 
Thread Group:


  | Thread: UIL2.SocketManager.ReadTask#5 client=10.2.11.3:38834 : priority:5, 
demon:true
  | Thread: UIL2.SocketManager.WriteTask#6 client=10.2.11.3:38834 : priority:5, 
demon:true
  | 

interspersed with a few:

Thread: Thread-63 : priority:5, demon:true

The IP address relates to one of the servers publishing on the queue. The 
publishing of the message onto the queue is successful and no errors are 
thrown. 

Does anyone know why the socket is never treated as disconnected, thus freeing 
the Thread for re-use? Or is there a configuration setting for Thread timeouts?

We have to restart the servers about once every 2 hours to avoid the open files 
limit on the Linux boxes we are running and it would be great if we could avoid 
this problem altogether.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877164#3877164

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877164


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ under other application servers

2005-03-15 Thread ben.lindahl
Is JBossMQ able to function under other application servers?  Our product ships 
with JBoss, but we want to give clients the option to switch out the 
application server without providing their own JMS implementations.

Thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3870289#3870289

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870289


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ and Oracle JMS Persistence

2005-03-02 Thread Allosan
Hi all,
i'm usiong jboss 3.2.3 and i'm trying to set JBossMQ to use Oracle 9i instead 
of Hypersonic SQL as DB for jms persistence. I put oracle-jdbc2-service.xml in 
deploy/jms and changed the line 
  
true

in conf/jboss-service.xml.

When the server startup all is right, it creates the table in the oracle db, 
but as soon as it has to write in those tables i receive this warn and then 
this error:

2005-03-02 09:39:58,483 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Exception 
destroying ManagedConnection
org.jboss.resource.JBossResourceException: SQLException; - nested throwable: 
(java.sql.SQLException: Io exception: Connection reset by peer: socket write 
error)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:546)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:252)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:502)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:326)
at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.returnConnection(JBossManagedConnectionPool.java:508)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:436)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$BaseConnectionEventListener.connectionErrorOccurred(BaseConnectionManager2.java:778)
at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionErrorOccurred(TxConnectionManager.java:615)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:325)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:310)
at 
org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:793)
at 
org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:802)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:328)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:783)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage(PersistenceManager.java:1210)
at org.jboss.mq.server.MessageCache.saveToStorage(MessageCache.java:393)
at 
org.jboss.mq.server.MessageReference.makeSoft(MessageReference.java:250)
at 
org.jboss.mq.server.MessageCache.validateSoftReferenceDepth(MessageCache.java:328)
at org.jboss.mq.server.MessageCache.addInternal(MessageCache.java:127)
at org.jboss.mq.server.MessageCache.add(MessageCache.java:97)
at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:144)
at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:407)
at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:383)
at 
org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:136)
at 
org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:162)
at 
org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270)
at 
org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
at org.jboss.mq.il.jvm.JVMServerIL.addMessage(JVMServerIL.java:137)
at org.jboss.mq.Connection.sendToServer(Connection.java:1243)
at org.jboss.mq.SpySession.sendMessage(SpySession.java:732)
at org.jboss.mq.SpyQueueSender.internalSend(SpyQueueSender.java:118)
at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:68)
at it.aica.syncServer.BaseMDB.sendMessage(BaseMDB.java:95)
at it.aica.syncServer.testUP.TestUpMDB.buildMessage(TestUpMDB.java:53)
at it.aica.syncServer.testUP.TestUpMDB.onMessage(TestUpMDB.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 

[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ port usage..

2005-02-07 Thread ronchalant
What port (or ports) does JBossMQ use other than 1099 for the naming provider?  
I need to know what ports the firewall needs to leave open in order to allow a 
MQ client to access the JMS..

Also, where could this port # be configured?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3865612#3865612

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3865612


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ - Using hashed password

2005-02-06 Thread wanted
hi all,
I have successfully authenticate client request based on the user id and 
password submitted by the client. All the passwords now are save as plain text 
in database (JMS_USERS). This is something I think is not appropriate, is it 
possible for us to hashed the password? if yes, can you please show me how?

thanks a lot..:-)


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3865426#3865426

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3865426


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ performance

2004-11-22 Thread apinto
Hi there,

 We're currently having some problems with JBossMQ in terms of scalability 
in the number of messages. Our application has an operation cicle of one hour; 
if all work is done before the hour ends, then the application stays in an idle 
state.

The MDB is slower consuming the messages from the topic than the other 
application producing them; so, the topic starts accumulating messages. This 
MDB can have 30 instances, and I can see them being used in the begining of the 
operation, when the topic has no messages accumulated.

But when the messages start to accumulate, only one or two instances of the MDB 
are created... And the system gets slower and slower, going well after the 
hour. Is this caused by any wrongly configured parameter, or is it that JBossMQ 
can't distribute the messages at a sufficient high rate?

Also, I got to the conclution that JBossMQ performance doesn't follow a liner 
relationship with the number of messages. In fact, we noticed that a 30% 
increase in messages has a 50% decrease in performance.

Is there anything we can do besides switching from JBossMQ to another 
implementation? Thanks in advance,

We're using JBoss version 3.2.3 and the topic is non-durable.

Armnio Pinto

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855886#3855886

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855886


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Fire Forget

2004-11-19 Thread mkprim
Hi, we' ve been using JBossMQ since JBoss 3.0.8, a long time ago.
We were testing JMS against a lot of bad conditions, like a 64 KB internet 
connection, many clients, long ping times, and many others.
However there's been a test case that is not working properly. If we have 
already established a client connection to a Queue in the server, and set up 
the firewall to block the JMS ports (ie 8093, 1099, 1098), and do a 
sender.send(msg), the thread blocks completely until we open the ports again. 
This does not comply with the 'Fire and Forget' you mention in the Wikis
Any idea if this is ok or there might be a solution?

Here's the client code:

  | ObjectMessage objMsg;
  | try {
  | objMsg = queueSession.createObjectMessage();
  | objMsg.setJMSReplyTo(tempQueue);
  | objMsg.setObject(sendEvent);
  | sender.send(objMsg, 
DeliveryMode.NON_PERSISTENT,sendEvent.getPriority(),msg_ttl);
  | } catch (JMSException e) {
  | e.printStackTrace();
  | throw new ConnectionException(e.getMessage());
  | }
  | 

The queueSession and the temporaryQueue are already created. This code executes 
every time I send a message to the server.

Any help will be appreciated.
Thanks a lot,
Marcelo.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855748#3855748

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855748


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Standalone install on 4.0.0 - fix

2004-11-03 Thread rhand
I attempted to install JBossMQ standalone by following the instructions at 
http://www.jboss.org/wiki/Wiki.jsp?page=IsThereAStandaloneDistributionOfJBossMQ, but 
ended up with the following bottom-line error:
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding
  |  state: NOTYETINSTALLED
  |  I Depend On: 
  |  Depends On Me:  jboss.mq:service=PersistenceManager

Examining the build.xml file, I see that it makes reference to the file jboss-jca.sar, 
which I couldn't find anywhere in JBoss 4.0.0. So perhaps this file was never updated 
from JBoss 3.x?

In any case, after a long night of poking around, I got the default hsqldb JBossMQ to 
work. Here is what was missing from build.xml:
   
  | fileset
  |   ...
  |   !-- missing from original (3.x?) build.xml --
  |   include name=conf/standardjbosscmp-jdbc.xml/
  |   include name=deploy/jbossjca-service.xml/
  |   include name=deploy/jboss-jdbc-metadata.sar/
  |   include name=deploy/jms/hsqldb-jdbc-state-service.xml/
  |   include name=lib/jboss-jca.jar/
  | /fileset

In addition, here's what I needed to add to the bottom of jboss-service.xml

!-- Added by Roger Hand. See 
http://jboss.com/index.html?module=bbop=viewtopict=54155 --
  |  !-- RMI/JRMP invoker --
  |  mbean code=org.jboss.invocation.jrmp.server.JRMPInvoker
  | name=jboss:service=invoker,type=jrmp
  | attribute name=RMIObjectPort/attribute
  | attribute name=ServerAddress${jboss.bind.address}/attribute
  | !--
  | attribute name=RMIClientSocketFactorycustom/attribute
  | attribute name=RMIServerSocketFactorycustom/attribute
  | attribute name=SecurityDomainssl-domain-name/attribute
  | --
  | 
  | dependsjboss:service=TransactionManager/depends
  |  /mbean
  | /server

I altered these two files in docs/examples/jms/standalone, then ran ant and then it 
ran fine.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3853792#3853792

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853792


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Message Forwarding

2004-11-02 Thread ronchalant
Is there any way I can automatically configure message forwarding between two JMS 
servers?  I'd like to have two instances of JBoss with JBossMQ running under each, and 
when a network connection is available between two topics have any messages posted on 
one queue automatically forwarded to a designated queue on the other.  When a 
connection is down, just keep the message on the queue until a connection is available.

Is this an available feature, or do I need to develop this sort of store-forward 
technology myself?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3853668#3853668

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853668


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ standalone distrubution+shutdown error

2004-09-29 Thread jkumaran
Hi all,
I am using the jbossmq standalone distribution and it works fine.
But when I try to shutdown it, it gives the following error

Exception in thread main javax.naming.NamingException: Could not dereference object 
[Root exception is javax.naming.NameNotFoundException: invoker not bound]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:972)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:615)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:188)

Could anybody plz help in this topic?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849845#3849845

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849845


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ/Oracle Persistence Startup time

2004-09-22 Thread pjdodds
I have a JBoss 3.2.3 server running on an Oracle 9.2.0.5 database using JDBC2 
persistence.

It appears that that when large nunmbers of messages are on the queues (~70,000) the 
startup time for JBoss goes through the roof.

2004-09-22 11:34:18,351 INFO  [org.jboss.deployment.MainDeployer] Starting deployment 
of package: file:/.../my-destinations-service.xml
2004-09-22 12:31:07,821 INFO  [org.jboss.mq.server.jmx.Queue.MessageQueue] Bound to 
JNDI name: queue/MessageQueue

The startup time here was nearly 1 hour,  is this normal behaviour, is there anything 
I can do to improve the performance of the startup.

Thanks in advance

Philip

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849156#3849156

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849156


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ HA New features?

2004-08-06 Thread jardia
Hello.

I would like to document new JBoss 4.0 HA features in JBossMQ.
The current features (3.2) are described/mentioned at:
 - http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA
 - http://www.theserverside.com/news/thread.tss?thread_id=24614

There are also some links in the wiki that discuss what needs to be done:
 - Highly available and persistent connection 
http://jboss.org/index.html?module=bbop=viewtopict=46194
 - http://www.jboss.org/wiki/Wiki.jsp?page=JBossJMSDesign
 - http://www.jboss.org/wiki/attach?page=JBossRoadmap%2FJBoss4ProjectDevSchedule.html

I'm finding it hard to find out what new features are planned to make it into 4.0. I 
think maybe:
 - Automatic client failure detection/recovery?
 - CacheStore using hibernate?

Any facts?
Are there testcases for new stuff?
Would like to help.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844402#3844402

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844402


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - jbossmq writes transaction to database even for non-transact

2004-08-05 Thread jhaddad
I've got a MDB with the trans-attribute set to 'Supports.'  Some database reads and 
writes are performed within the onMessage method.  

I'm running with p6spy, which shows me all SQL statements executed by the application. 
 This shows that jbossmq issues 3 additional database writes every time onMessage is 
invoked.  This is performance problem for me.  I don't understand why its even 
executing these transaction-related statements when my bean isn't even transactional.  

Could someone please help me make whatever config changes are necessary to disable 
this behavior.  Thanks in advance.

The 3 SQL statements are:
INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844290#3844290

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844290


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JbossMQ/JMS stand-alone

2004-07-19 Thread oreng
Is there a JbossMQ standalone version? I.e. not as part of the J2EE server?

TIA Oren

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842534#3842534

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842534


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ, JMS Message in transaction?

2004-07-10 Thread iamapony
I have a MDB attached to QueueA, in a SessionBean method I write a record to the 
database and then send a message to QueueA to do something with that database record. 
The onMessage in the MDB then fails because it can't find the message, showing me that 
the JMS message is not participating in the transaction and is being sent before the 
DB commit. What's the process to have JMS Send operation participate in the JTA 
transaction? I'm using the RMIXAConnectionFactory.

Thanks,

Ryan

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841647#3841647

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841647


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ

2004-06-29 Thread trickard
Using jboss 3.2.4 on win2k with the file persistence manager. When I shut down jboss 
with a queue that has messages in the store, the queue is not restarted correctly when 
jboss restarts. I get the message

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=PersistenceManager
  state: FAILED
  I depend on: jboss.mq:service=MessageCache

  Depends On Me: jboss.mq:serice=DestinationManager
MBeanException: org.jboss.mq.SpyJMSException: Could not rebuild the queue from the 
queue's transaction.log.; - nested throwable: (java.lang.NullPointerException)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840348#3840348

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840348


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ messages over SSL

2004-06-10 Thread sharris
How do I do it?  There is plenty of info on how to configure JBoss to use SSL for EJB 
invocation, but there is nothing I can find that ties using SSLSockets or an SSL 
defined JRMP invoker to the messaging ILs, or in fact to anything in JBoss MQ. (This 
includes searching twiki, the forums. google and reading the AD Guide). 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838416#3838416

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838416


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JbossMQ Error at Heavly load

2004-05-07 Thread jmer
Hi list;
   Im using jboss-3.2.2 as server. Im doing a load testing my MDB using Jmeter.My 
MDB does is read a Object message from a queue and query a stored procedure on sql 
server(select) and  dump the result to a mysql database and finally create a message 
and send to another on which another application listened. Having configured my Thread 
threshold to 100 and 0 ramp-up period on Jmeter, i notice that i exncounter error 
during the testing. Attached is the error

.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: 
(java.io.IOException: ping timeout.)
at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
at 
EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.io.IOException: ping timeout.
at org.jboss.mq.Connection$PingTask.run(Connection.java:1303)
... 2 more
2004-05-07 17:37:23,242 WARN  [org.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: 
(java.io.EOFException)
at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:394)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:331)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.io.EOFException
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2591)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:278)
... 1 more

below are my *-ds.xml config 

no-tx-datasource
jndi-nameMSSQLDS/jndi-name

connection-urljdbc:microsoft:sqlserver://192.168.40.166:1433;SelectMethod=cursor;DatabaseName=Blackberry/connection-url

driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class
user-namesa/user-name

!-- sql to call when connection is created
new-connection-sqlsome arbitrary sql/new-connection-sql
--
!-- sql to call on an existing pooled connection when it is obtained 
from pool 
check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql
--
/no-tx-datasource


 and 


no-tx-datasource
jndi-nameMySqlDS/jndi-name
connection-urljdbc:mysql://192.168.80.211:3306/smart/connection-url
driver-classorg.gjt.mm.mysql.Driver/driver-class
user-nameopenjms/user-name
openjms
/no-tx-datasource
no-tx-datasource
jndi-nameMyUtil/jndi-name

connection-urljdbc:mysql://192.168.80.211:3306/SmartApp/connection-url
driver-classorg.gjt.mm.mysql.Driver/driver-class
user-nameopenjms/user-name
openjms
/no-tx-datasource


Help!!!

Many thanks;
joseph





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834062#3834062

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834062


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Error under heavy burden

2004-05-05 Thread swingler
I use JBuilderX. It has a wizard which can generate a class encapsulate the JMS 
service. The class implements MessageListener. Anyone who has JBuilderX can have a 
try. Use the wizard to generate the class without any Transaction or Persistance. 
Let's take topic as an example.
if we just
while(true){
  [TheClassGenerated] jmsService=new [TheClassGenerated]();//hard code parameters 
inside the class
  jmsService.publishObject(new String(this is a demo);
  jmsService.close();
}//the jndi inside should be modified

This would surely generate Exception
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (jav
a.net.BindException: Address already in use: connect)
at org.jboss.mq.Connection.authenticate(Connection.java:883)
at org.jboss.mq.Connection.(Connection.java:238)
at org.jboss.mq.Connection.(Connection.java:315)
at org.jboss.mq.SpyConnection.(SpyConnection.java:60)
at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnection
Factory.java:78)
at sgipwrapper.core.MsgTransfer.getTopicConnection(MsgTransfer.java:95)
at sgipwrapper.core.MsgTransfer.getTopicSession(MsgTransfer.java:87)
at sgipwrapper.core.MsgTransfer.publishObject(MsgTransfer.java:216)
at sgipwrapper.core.callback.EvtDeliverCallBack.hook(EvtDeliverCallBack.
java:53)
at com.caimao.spapi.core.op.recv.recving(recv.java:163)
at com.caimao.spapi.core.op.recv$2.run(recv.java:53)
at com.caimao.spapi.core.op.recv$1.run(recv.java:22)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.BindException: Address already in use: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.(Socket.java:309)
at java.net.Socket.(Socket.java:153)
at javax.net.DefaultSocketFactory.createSocket(DashoA6275)
at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563
)
at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507)

at org.jboss.mq.il.oil.OILServerIL.authenticate(OILServerIL.java:289)
at org.jboss.mq.Connection.authenticate(Connection.java:876)
... 12 more

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833792#3833792

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833792


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBossMQ Wiki Available

2004-04-13 Thread [EMAIL PROTECTED]
The JBossMQ WIKI is available here:
http://jboss.org/wiki/Wiki.jsp?page=JBossMQ

Feel free to contribute examples, useful pieces of configuration, 
missing pages/links or fix my spelling mistakes (thanks Andy O).

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3830305#3830305

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830305


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user