[JBoss-user] [JBossCache] - Read Locking Nodes

2006-04-12 Thread greenbean
I have clients that will be indirectly pulling information from a jboss cache 
distributed between two machines through http requests.  I want the client to 
read the data from the node.  I then want to remove that node as soon as the 
response is finished with the client.

I want to prevent the possibility of that client then immediately connecting to 
the other machine and pulling that node before it has been deleted.  How would 
I do that?  I want to wait to delete the node until I am sure the response has 
been successfully received by the client.  However, I don't want the client 
having the ability to slip in and read that node again before the delete 
operation completes.

Can this be accomplished through some form of node locking?

Thanks,

Greenbean

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Override URL and Port For WS

2006-03-29 Thread greenbean
I setup a client in jboss following these directions:

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

However, I need to have the ability to programmatically override the port and 
url specific in the wsdl.  Or, how about in the jboss-client.xml or 
application-client.xml?

Thanks.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - java.lang.ClassCastException: org.jboss.axis.Message

2006-03-27 Thread greenbean
We are using jboss 4.03SP1.  We are receiving JMS messages using 
Activemq/spring/jencks.  The onMessage acts as a web service client to call a 
server.  We generate the client from the wsdl using jwsdp-1.6.  When a message 
is received, the onMessage throws this exception.  It is not clear what the 
relationship is between AXIS and jaxrpc, and why I am getting this error.  Any 
suggestions?

java.lang.ClassCastException: org.jboss.axis.Message
at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231)
at 
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324)
at xxx.xxxPortType_Stub.xxx(xxxPortType_Stub.java:69)
at xxx.onMessage(xxxBean.java:64)
at org.jencks.XAEndpoint.onMessage(XAEndpoint.java:126)
at 
org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:120)
at 
org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:60)
at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:664)
at 
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:163)
at 
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:595)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - JMX ModelBean Persistence With Spring Java 5 Annotations

2006-02-20 Thread greenbean
Spring provides annotations to expose and persist mbeans.  The persistence does 
not seem to work when using this method.  Is this supported by jboss?

@ManagedResource(objectName = "jmx:bean=TestBean",
description = "Test bean",
log = true,
logFile = "jmx.log",
currencyTimeLimit = 0,
persistPolicy = "OnUpdate",
persistName = "testBean")

@ManagedAttribute(description = "Get the value",
currencyTimeLimit = 0,
defaultValue = "test",
persistPolicy = "OnUpdate")
public String getValue() {
return value;
}

@ManagedAttribute(description = "Set the value",
currencyTimeLimit = 0,
defaultValue = "test",
persistPolicy = "OnUpdate")
public void setValue(String value) {
this.value = value;
}















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

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


---
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=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Scalability Of JGroups/JCache

2005-12-22 Thread greenbean
How many machines can safely be members of a group?  We have hundreds (400+) 
machines.  Will JGroups work in this environment?  How does JGroups compare to 
something like the Spread toolkit with this number of machines?

Thanks

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS With HA-JDBC

2005-12-12 Thread greenbean
Will the JBoss JMS implmentation work with HA-JDBC and four postgres databases? 
 I tried it out and it seemed to introduce some hanging conditions with some 
exisiting prototype code that uses MDBs along with Spring JDBC.  However, I 
have not isolated the issue yet.

If I run the simple send and receive client everything seems to work ok.  I can 
see the replicated jboss jms data tables.

Thanks.

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

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


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


[JBoss-user] [JBossCache] - Re: Accessing Underlying JGroup Information

2005-11-14 Thread greenbean
This is great.  I have been looking around but don't see an example of how to 
connect a TreeCacheListener to a cache instance.  Where can I find an example 
of this?

I am assuming it can be done in xml configuration files.

Thanks again,

Greenbean

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

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


---
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] [JBossCache] - Accessing Underlying JGroup Information

2005-11-14 Thread greenbean
I have a need to monitor when members join or leave a group.  Is it possible to 
have a listener work with this information when using a JBossCache object?  Or 
do I need to work with JGroups directly?

If it is possible, how do I do this?

Thanks,

Greenbean

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

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


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