[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Ulf Schroeter/BDF/Mobilcom ist außer Haus.

2004-03-07 Thread ulf . schroeter




Ich werde ab  08.03.2004 nicht im Büro sein. Ich kehre zurück am
22.03.2004.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.



---
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_id70&alloc_id638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Antwort: RE: [JBoss-user] How to read message counter infos ?

2004-01-28 Thread ulf . schroeter

Just a small annotation for the message delta count and depth values:  from the client perspective these values only show 'exact' deltas in case of   single user / application access. 

As these values are relative to the last last getMessageCounter() without regard to the calling user / application, this might lead to 'unexpected' delta values in case of  concurrent multi users /  application statistics queries. 

Regards

Ulf Schroeter







"Scott M Stark" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
23.01.2004 19:02
Bitte antworten an jboss-user

        
        An:        <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        RE: [JBoss-user] How to read message counter infos ?


From the admin/devel guide:

*Type: Either Queue or Topic indicating the destination type.
*Name: The name of the destination.
*Subscription: The subscription ID for a topic.
*Durable: A boolean indicating if the topic subscription is durable.
*Count: The number of message delivered to the destination.
*CountDelta: The change in message count since the previous access of count.
*Depth: The number of messages in the destination.
*DepthDelta: The change in the number of messages in the destination since the previous
access of depth.
*Last Add: The date/time string in DateFormat.SHORT/DateFormat.MEDIUM format of the
last time a message was added to the destination.



Scott Stark
Chief Technology Officer
JBoss Group, LLC
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ionel GARDAIS
Sent: Friday, January 23, 2004 3:20 AM
To: jboss-user
Subject: [JBoss-user] How to read message counter infos ?

Hi,

>From the jmx-console, reading :

Topic,performance,-,false,853,351,0,0,1/23/04 11:23:55 AM

I understand :
- kind : Topic
- name : performance
- don't know what is the third param
- persistance : false
- message send ?
- message failed ?
- dont know
- dont know
- last message sent timestamp ?

I am right with this interpretation ?
What are the missing fields ?

thanks,
ionel

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


---
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




Antwort: [JBoss-user] C/C++-Client connecting to JBoss via JMS

2003-11-21 Thread ulf . schroeter

I would recommend use of standard web-services instead of some non-standard c/c++-to-jms-hacks.

Regards
Ulf

Antwort: [JBoss-user] Looking for feedback on JBoss/JAAS article.

2003-10-27 Thread ulf . schroeter

Hi Dave,

good article ! But we should should look for a better place to store it ( e.g. JBoss homepage ) or even better include it into the offical documentation. You should ask Scott !  

Regards
Ulf

Antwort: [JBoss-user] Maximum queue depth on JBoss

2003-10-01 Thread ulf . schroeter

I am sorry, but simple answer: no







Horia Muntean <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
01.10.2003 11:25
Bitte antworten an jboss-user

        
        An:        [EMAIL PROTECTED]
        Kopie:        
        Thema:        [JBoss-user] Maximum queue depth on JBoss


Hello,

Is there any way that one can configure maximum queue depth on JBoss 
2.4.x or any other version for that matter?

Regards,
Horia



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




[JBoss-user] XA transactions with ONE local transaction resources

2003-09-12 Thread ulf . schroeter

For consistent updates of multiple resources we need XA transactions. Unfortunately some of our resources (e.g. MySQL DB or SAP R/3 JCA Connector, so it should be a quite common issue) only support local transactions ( meaning no 2-phase commit ).

Nevertheless consistent updates between multiple XA transaction resources and ONE local transaction resources should be still be possible if the transaction manager succesfully commits the changes to the local transaction resource AFTER succesfull preparation of all XA transaction resources (phase 1 of 2-phase-commit). In case of commit failure of the one local transaction resource all XA resources still could be rolled back to their previous state by dropping phase 2 XA commit operation. 

Is this supported by the JBOSS transaction manager ? I kown that local transaction resources can be enlisted in an XA transaction ( with a warning message like "Local connection enlisted in global xa transaction. You may get results you are not expecting !") 

Any information on the issue would be appreceated.

Regards

Ulf

[JBoss-user] XA transactions with ONE local transaction resources

2003-09-12 Thread ulf . schroeter

For consistent updates of multiple resources we need XA transactions. Unfortunately some of our resources (e.g. MySQL DB or SAP R/3 JCA Connector, so it should be a quite common issue) only support local transactions ( meaning no 2-phase commit ).

Nevertheless consistent updates between multiple XA transaction resources and ONE local transaction resources should be still be possible if the transaction manager succesfully commits the changes to the local transaction resource AFTER succesfull preparation of all XA transaction resources (phase 1 of 2-phase-commit). In case of commit failure of the one local transaction resource all XA resources still could be rolled back to their previous state by dropping phase 2 XA commit operation. 

Is this supported by the JBOSS transaction manager ? I kown that local transaction resources can be enlisted in an XA transaction ( with a warning message like "Local connection enlisted in global xa transaction. You may get results you are not expecting !") 

Any information on the issue would be appreceated.

Regards

Ulf

Antwort: [JBoss-user] User authorization/authentication with JBossMQ

2003-08-29 Thread ulf . schroeter

Maybe this will help :-)  NO user entries in jbossmq-state.xml, but stored in a central database using JAAS DatabaseServerLoginModule


in ../conf/login-config.xml


    
    

       
       
          
             JMS-Guest
             java:/SystemJaasDS
             SELECT password FROM principals WHERE principal_id=?
             SELECT role, 'Roles' FROM roles WHERE principal_id=? AND rolecontext='JMS-System'
          
       
    

        
    

       
       
          
             JMS-Guest
             java:/SystemJaasDS
             SELECT password FROM principals WHERE principal_id=?
             SELECT role, 'Roles' FROM roles WHERE principal_id=? AND rolecontext='JMS-System'
          
        



Ulf Schroeter
IT Entwicklung - Design & Research

MobilCom Communikationstechnik GmbH
Hollerstr. 126
24782 Buedelsdorf
Tel.: 04331-   69 37 43
Fax: 04331-   69 28 99
Besucheradresse: Wollinstr. 10








[EMAIL PROTECTED]
Gesendet von: [EMAIL PROTECTED]
29.08.2003 04:20
Bitte antworten an jboss-user

        
        An:        [EMAIL PROTECTED]
        Kopie:        
        Thema:        [JBoss-user] User authorization/authentication with JBossMQ



I was wondering why the user authorization/authentication with JBossMQ was configured through this jbossmq-state.xml file (In JBoss 3.0.5) and not through a more standard JAAS security domain?
Another way to ask the question is: can I use the JBossSX login modules (like the LdapLoginModule) for the JBossMQ authentication/authorization instead of having all the user and roles defined in the jbossmq-state.xml? If yes, any pointers will be appreciated.
Thanks.
Thomas Cherel



Antwort: [JBoss-user] JBoss Presentation

2003-08-29 Thread ulf . schroeter

Good work !

Regards

Ulf Schroeter


Antwort: [JBoss-user] javax.resource.ResourceException: NoManagedConnections Available!

2003-08-20 Thread ulf . schroeter

This can be caused by a simple timeout of your client connection request to the connection manager (e.g. due to high workload). The exception message is a little bit missleading and has been changed in 3.2.2x to "No manged connection available within configured timeout..". You can increase the timeout value for the datasource within your -ds.xml with  element.

Regards
Ulf







"Alexey Yudichev" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
20.08.2003 08:26
Bitte antworten an jboss-user

        
        An:        <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        [JBoss-user] javax.resource.ResourceException: No ManagedConnections Available!


What can cause javax.resource.ResourceException: No ManagedConnections Available! exception? Does it mean I forget to close jdbc connections somewhere?

I could not find the root stack tracce of the exception, the closest to root trace is:

ava.rmi.ServerException: EJBException:; nested exception is: 
                 javax.ejb.EJBException: null; CausedByException is:
                 null; CausedByException is:
                 No ManagedConnections Available!; - nested throwable: (javax.resource.ResourceException: No ManagedConnections Available!); nested exception is: 
                 javax.ejb.EJBException: null; CausedByException is:
                 No ManagedConnections Available!; - nested throwable: (javax.resource.ResourceException: No ManagedConnections Available!)
                 at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:346)
                 at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                 at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
                 at org.jboss.ejb.Container.invoke(Container.java:674)

...


---
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code4
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




Antwort: RE: [JBoss-user] MDB Singleton retry semantics

2003-08-15 Thread ulf . schroeter

The JMS specification explicitly states that no assumptions about message delivery order should be made. You have to implement you own delivery order tracking logic ( normally based on tracking the ascending message ID and usage of some kind of message buffering in case of unordered message delivery... I know that it's weird to buffer messages that are already buffered :-) 

Relying on the current JBOSS specific implementation behaviour will lead to a unportable / unreliable solution. 

Regards 
Ulf
   






"Barlow, Dustin" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
14.08.2003 22:33
Bitte antworten an jboss-user

        
        An:        "'[EMAIL PROTECTED] '" <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        RE: [JBoss-user] MDB Singleton retry semantics


I guess it isn't obvious to me why is "readahead" important in terms of
efficiency of queue message consumption.  Can you elaborate?

Is it possible to configure the container to wait for the ServerSession in
this case?  I have already defined a separate invoker-binding and a
container-config for this bean, so I could isolate it to just the singleton
MDB.

I am not sure that having it wait for the ServerSession and then consume the
message would solve the problem.  If the retry behaviour of the container is
simply consuming the message and then pushing the message back onto the
source queue again, this still wouldn't guarantee that other messages
wouldn't be in front of that reposted message correct?

Thanks for the help, 

Dustin 


-Original Message-
From: Adrian Brock
To: [EMAIL PROTECTED]
Sent: 8/14/2003 3:11 PM
Subject: Re: [JBoss-user] MDB Singleton retry semantics

That isn't the way it currently works.

The ConnectorConsumer immediatley retrieves the next message
from the queue then waits for a ServerSession from the pool.

Once you've nacked the failed message back into the queue, it will
process the waiting message using the freed session.

It will then ask the queue for the next message which will
be the one you nacked.

To make it work the way you want the ConnectionConsumer
would have to work in the opposite order.
Instead of receiving message(s) and waiting for a
ServerSession. It would wait for a ServerSession then
receive the message.
This is obviously less efficient in the normal use case,
you lose the "readahead" of the messages.

Regards,
Adrian

On Thu, 2003-08-14 at 19:00, Barlow, Dustin wrote:
> I have a singleton CMT MDB consuming on a JMS queue with a retry
threshold
> set to 3 attempts.  I made the assumption that no other messages on
the
> queue would be consumed until the current message being processed
either
> finishes and is consumed, or in the event of a container transaction
> rollback and the retry threshold is reached, the message is consumed
off the
> source queue and pushed to the DLQ.
> 
> However, the behaviour I'm seeing is that on the retry, other messages
> sitting on the queue are consumed prior to the retry occurring.  The
> singleton is working in terms of only one message at a time being
processed,
> however the retry semantic seems odd to me in that it appears like the
> implementation of the retry logic is just simply pushing the message
back on
> the queue to be consumed again in a different "thread" later on. 
> 
> Is this correct?  If so, how do I change that behaviour so that no
other
> messages on the queue are triggered until the message completes its
> processing either by consumed normally, or by being consumed and
pushed to
> the DLQ once the retry threshold is reached?
> 
> Dustin
> 
> 
> ---
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
/01
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
 



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/d

Antwort: AW: Antwort: [JBoss-user] Delivering Messages within a given timeslot

2003-06-10 Thread ulf . schroeter

>This could probably solve our problem.
>We could add the PROPERTY_SCHEDULED_DELIVERY within a second MDB on the
>server ;-)
>(not very good but it would be a starting-point ;-) )

Yes, this could work, but I still think, that using a stateless session bean that gets invoked by the scheduler is a better solution, because it's more clear (for me :-) and easier to port to a different app server. JBOSS_JMS_SCHEDULED_DELIVERY is absolutely JBoss specific ! A timed invocation of a processing session bean should be easier to port ( from my point of view, usage of vendor specific features is like usage of goto statement in C. Avoid it as long as you can !!! Rethink you design 10x before using it !!! A quick short benefit will hit you hard in the future :-)  

>Is there any feature planned for server based initiating?
I don't think so, because this feature would be quite specific.

>Would it be possible to start/stop the connection to achieve the desired
>behaviour?
>I think you have to start/stop all connections to a topic/queue, so a method
>in the topic/queue interface would be helpful ;-)

The JMS connection object can be used for that, but the problem with mdb is that you don't have access to the underlying JMS connection of the JMSContainerInvoker. MDB's are specified to handle messages as soon as they arrive :-)


Ulf

Antwort: [JBoss-user] Delivering Messages within a given time slot

2003-06-10 Thread ulf . schroeter

>How can I configure such a behaviour?
>Is there a right way to do this within JMS?

No, JMS specification does not include something like timed message processing. Therefore every solution to you problem is application server specificin a way. 

You have two basisc alternatives for JBOSS:

1) use the newly introduced scheduled message delivery feature that will be available in JBoss 3.2.2. At the moment, the scheduled delivery has to be initiated by the message sender, so this solution is not really well suited for you problem.

2) use the JBoss specific scheduler service for timed invocation of a user defined class that handles message processing. In your case you could setup an invocation e.g. every 1 minute or so and check current time against you processing time slot. If the invocation i within you time slot that create a normal jms destination receiver within your user class and process all so far queued messages.. not very 


>I thought about the JBoss TimerService to start and stop the delivering of
>messages to achieve time slot behaviour. I can't find any method in the
>Queue/Topic Management Interface.

There are no methods in the queue/topic interface for that purpose (e.g. start/stop delivery) so far. JMS specification does not define such a behaviour.

Regards
Ulf







Kristian Köhler <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
10.06.2003 11:51
Bitte antworten an jboss-user

        
        An:        <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        [JBoss-user] Delivering Messages within a given time slot


Hi there

I want to process JMS Messages in a given time slot.

Scenario:
Multiple clients send messages to a certain JMS topic/queue. The messages
must be delivered at a certain time. The posting client is usually unaware
of this time.

How can I configure such a behaviour?

Is there a right way to do this within JMS?

I thought about the JBoss TimerService to start and stop the delivering of
messages to achieve time slot behaviour. I can't find any method in the
Queue/Topic Management Interface.

FFPX
                 Kristian ;-)

--
Kristian Köhler
http://www.oio.de



---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




Antwort: [JBoss-user] JMS and Oracle XA

2003-06-05 Thread ulf . schroeter

You don't have to use a XA datasource for the jdbc2 persistence manager, local-tx-datasource is sufficient !

Regards
Ulf







"Marek Lange" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
04.06.2003 15:18
Bitte antworten an jboss-user

        
        An:        <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        [JBoss-user] JMS and Oracle XA


Hi,

following problem: we use a XA data source with Oracle 8.1.7. The data
source deploys correctly. When the application tries to write into the
database, we get the following error:

PLS-00201: identifier 'JAVA_XA.XA_START_NEW' must be declared

The error comes from a stored procedure. Does this mean that the XA
Resource Manager in Oracle is not properly installed? Is there a way to
verify the correct installation? If yes, how can the resource manager be
installed?

In how far is it necessary to use JMS with XA transactions (we use the
JDBC2 Persistence Manager for storing the JMS messages).

Thanks,

-marek




---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




Antwort: Re: [JBoss-user] Topic Messages

2003-06-02 Thread ulf . schroeter

Maybe the message cache is still using a file persistence manager for temporary messages storage. Have a look into the your tmp directory. Is there something like a jbossmq subdirectory ? Check your deploy/jbossmq-service.xml and make sure that the message cache also uses the jdbc persistence manager for persisting temporary messages e.g.

  
         name="jboss.mq:service=MessageCache">

    128
    256
    jboss.mq:service=PersistenceManager

  


Regards.
Ulf







"Alberto Rodriguez Galdo" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
01.06.2003 23:48
Bitte antworten an jboss-user

        
        An:        <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        Re: [JBoss-user] Topic Messages


We need to use durable suscriptions. Our clients are authenticated against a
database. But the question is, if i delete the tables used to store
messages, why and where is jboss finding the messages?

- Original Message -
From: "Adrian Brock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 3:14 PM
Subject: RE: [JBoss-user] Topic Messages


server/default/conf/jbossmq-state.xml

You don't really want to use durable subscriptions
with anonymous client connections.


Adrian Brock
Director of Support
Back Office
JBoss Group, LLC



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Alberto Rodriguez Galdo
> Sent: 30 May 2003 13:40
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Topic Messages
>
>
> We have a topic queue in jboss 3.0.6 which has lots, belive
> me , lots of
> messages without being consumed, this makes jboss to take a
> long time to
> start. We use Oracle as persistence, and we already deleted
> the four tables
> it uses to store messages, but the fact is that jboss still
> manages to find
> that messages and gives this log (after enabling TRACE in log4j.xml):
>
> 2003-05-30 14:13:15,387 DEBUG
> [org.jboss.mq.pm.jdbc2.PersistenceManager]
> Restored 168 message(s) to:
> TOPIC.IntegracionBajada.ID:5.pragadmcatp'-8457425938944836955
> 2003-05-30 14:13:15,397 DEBUG
> [org.jboss.mq.server.JMSDestinationManager]
> creating the durable subscription for
> :ID:6.pragadmcatp'7910018487878889042
>
> How can we reset that topic?
>
> greets
>
> Alberto Rodriguez Galdo ([EMAIL PROTECTED])
> Centro de Innovación y Servicios de Galicia (CIS Galicia)
> Dpto. de Telemática Telf.-981102100,  ext.1018
>
>
>
> ---
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>





---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




Antwort: [JBoss-user] Re: Class-Path for depenednt jars in EJB's manifestfile Question

2003-03-28 Thread ulf . schroeter

Very good, so please share your knowledge, because this is interesting for other people too :-)







"Roy Jones" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
28.03.2003 03:46
Bitte antworten an jboss-user

        
        An:        <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        [JBoss-user] Re: Class-Path for depenednt jars in EJB's manifest file Question


Don't bother answering it I figured it out.

"jakarta" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> To whomever wishes to answer:
>
> I am trying to set up a web application that has a shared UTILITIY.jar.
>
> WAR access classes in UTILITY
> EJB access classes in UTILITY
>
> I have it working now but the solution I utilized was place UTILITY.jar in
> Web-inf/lib directory and
> also extract UTILITY.jar merging class files with my EJB and build my EJB
> with the dependent classes in it.
>
> 1. How would I set this up without have to extract UTILITY.jar?
> 2. How would I set up my manifest Class-Path entries for my EJB to find
> UTILITY.jar?
> 3. Where do I place UTILITY.jar?  In Web-inf/lib for Servlet/jsp access
but
> where for EJB.
>
>
> I have seen that you can place Class-Path entries in the manifest file of
> the EJB to locate dependent classes but JBoss ignores the entry.
>
> Maybe Im doing it all wrong please help.
>
>
>
>
>
> ---
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en



---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




Antwort: Re: [JBoss-user] JMS Queue Deployed at runtime

2003-03-25 Thread ulf . schroeter

I think that you also have to manually add the new queue/topic definition to jbossmq-destinations-service.xml because otherwise destinations created at runtime will not survive server restart.

Ulf Schroeter
MobilCom Communikationstechnik GmbH



Antwort: [JBoss-user] JMS Queue Deployed at runtime

2003-03-25 Thread ulf . schroeter

You can use the jboss.mq.DestinationManger-MBean via jmx- console to create queues and topics at runtime. You also have to update the jbossmq-destinations-service.xml for persisting your configuration update, because queues and topics created at runtime will not be automatically stored in the configuration file.



[JBoss-user] JBossMQ / MDB extensions

2003-01-22 Thread ulf . schroeter

How is it possible to include major source upgrades ( some new classes, some modifcations of existing classes  ) into the regular JBoss/JBossMQ source WITHOUTdeveloper CVS access ?

We have developped some missing - but for JBoss usage in a more complex JMS production environment vital - JBossMQ / JBoss MDBContainer extension features (  e.g. global  destination message counter / queue depth state informations, performance counter and redelivery delay for MDB's invocations ).

We would like to include these features into the regular JBoss distribution for avoiding maintenance of a proprietary JBoss version ( maybe some other JBoss JMS user also need these features ?!? ) 

Regards
Ulf

Antwort: [JBoss-user] "can't enlist" error on second pass through resourceadapter

2003-01-10 Thread ulf . schroeter

First check if reordering of getConnection() and getUserTransaction() will solve your problem


  javax.resource.cci.ConnectionFactory conFac = (javax.resource.cci.ConnectionFactory)
      ctx.lookup ("java:comp/env/HPIARM");
 
  cx = conFac.getConnection();

  tran = (UserTransaction) context.getUserTransaction();
  tran.begin();
   .  


If not, than start step debugging of JBoss-internal transaction/connection manager code when calling cx.close() on first ejb invocation. Look for correct calls of org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener.delist() on your previously ( inside tran.begin() ) enlisted resource.

Ulf Schroeter







"GROVE,MIKE (HP-FtCollins,ex1)" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
10.01.2003 00:08
Bitte antworten an jboss-user

        
        An:        "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
        Kopie:        
        Thema:        [JBoss-user] "can't enlist" error on second pass through resource adapter


jboss gurus,
 
i'm trying to port a resource adapter to jboss to investigate the feasibility/cost of using this resource adapter with jboss.  i'm using jboss 3.0.4 with tomcat 4.1.12.  my jdk is 1.3.1.06.  platform is w2kp sp3.  the resource adapter supports XA.  res-sharing-scope is set to Unshareable in the ejb-jar.xml file of the EJB that uses the resource adapter.
 
the resource adapter worked fine in the following use case with both oracle's 9.0.3 oc4j and HP Bluestone's TeS 7.3.  the use case is as follows: 
 
i have a stateless session bean that begins a BMT, looks up the resource adapter, performs some work on it (via the Interaction interface), closes the connection, and commits the transaction.  e.g.:
 
  InitialContext ctx = new InitialContext ();
 
  // i tried both of the following UserTransaction lookups in trying to fix the problem
  tran = (UserTransaction) ctx.lookup ("java:comp/UserTransaction");
  //tran = (UserTransaction) context.getUserTransaction();
  tran.begin();
  
  javax.resource.cci.ConnectionFactory conFac = (javax.resource.cci.ConnectionFactory)
      ctx.lookup ("java:comp/env/HPIARM");
  
  cx = conFac.getConnection();
  Interaction ix = cx.createInteraction ();
    
  // do work on ix, e.g. ix.execute();
 
  // i've tried reordering the following two calls without effect.
  tran.commit();
  cx.close();
 
a servlet invokes the EJB to perform the above operations.  the first time i run this body of code, everything works fine.  that is, my resource adapter receives XAResource.start, XAResource.end, and XAResource.commit at the appropriate times.  the second time, i get the exception listed below.  it appears as if the TM still believes the XAResource is enlisted in the first transaction.  this surprises me, because both XAResource.end and XAResource.commit were called during the first pass through the method.  i believe we get the exception right after ManagedConnectionFactory has run matchManagedConnection and found a match.
 
any suggestions on how to debug this problem?  i set the CONSOLE Threshold to TRACE in log4j.xml, which didn't provide any log messages that helped me diagnose the problem.  i'm relatively new to jboss; it's certainly possible i missed a simple configuration step.  the service file for the resource adapter was mostly copied from an example that shipped with jboss.
 
thanks.
 
-mike
 
exception from jboss's console:
 
2003-01-09 15:33:42,036 WARN  [org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener] in Enlisting tx, illegal state: TransactionImpl:XidImpl [FormatId=257, GlobalId=fcmgrove//7, BranchQual=]
2003-01-09 15:33:42,046 ERROR [STDERR] java.lang.IllegalStateException: Can't enlist - already a tx!
2003-01-09 15:33:42,046 ERROR [STDERR]  at org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener.enlist(XATxConnectionManager.java:250)
2003-01-09 15:33:42,056 ERROR [STDERR]  at org.jboss.resource.connectionmanager.XATxConnectionManager.managedConnectionReconnected(XATxConnectionManager.java:202)
2003-01-09 15:33:42,066 ERROR [STDERR]  at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:534)
2003-01-09 15:33:42,076 ERROR [STDERR]  at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
2003-01-09 15:33:42,086 ERROR [STDERR]  at com.hp.ov.activator.resmgr.connector.HPIAConnectionFactory.getConnection(Unknown Source)
2003-01-09 15:33:42,096 ERROR [STDERR]  at com.hp.ov.activator.resmgr.ejb.ServiceActivationBean.executeService(Unknown Source)
2003-01-09 15:33:42,096 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Native Method)
2003-01-09 15:33:42,106 ERROR [STDERR]  at org.jboss

[JBoss-user] JMS-JDBC-Performance

2002-12-16 Thread ulf . schroeter

When using JBossMQ with the JDBC2  persistence manager for storing large amounts of persistent messages it is a good idea to put an index on the TXID+TXOP fields of JMS_MESSAGES table . There is no index creation in the default jbossmq-service.xml.  It gave us a performance boost of factor 2,4 in a complex topic/queue store and forward scenario with multiple durable subscribers and high message counts.

Regards,

Ulf Schroeter