[jboss-user] [JBoss Cache: Core Edition] - Re: removed node shows back up?

2008-04-23 Thread khkachn
I upgraded to cache 1.4.1SP9 and this issue has gone away. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146363#4146363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146363 ___

[jboss-user] [JBoss Cache: Core Edition] - Re: Upgrading to later version of Jboss cache in 4.0.5GA

2008-04-22 Thread khkachn
I just figured this one out. This is a known IPV6 issue with JSE 5. I just needed to add a preferIPv4 flag to the startup and all is good. Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4145797#4145797 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - Upgrading to later version of Jboss cache in 4.0.5GA

2008-04-21 Thread khkachn
Are there instructions on how to upgrade the version of Jboss cache being used in Jboss AS 4.0.5GA? Could someone point me in the right direction? I tried just coping the jboss-cache and jgroups jar files to the lib directory, but that gave me socket errors: Failed to start protocol stack

[jboss-user] [JBoss Cache: Core Edition] - Re: write lock for / could not be acquired after 15000 ms

2008-04-21 Thread khkachn
I am running into this same issue but I have not come across a solution. If you do ever figure it out, please post the solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4145638#4145638 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - removed node shows back up?

2008-04-21 Thread khkachn
Hi, I have event notification turned on and print a log message when a node is created. I add a node on system1 (event msg) then remove it on system2 (not in the event method). The node then gets added again somehow (second msg). I have to do this outside a transaction, since they don't

[jboss-user] [EJB 3.0] - select max syntax

2008-03-21 Thread khkachn
What is the correct syntax for doing a select of max() with EJB3? I have tried creating queries of MAX(m.recId) from RecordsEjb m but I keep getting Hibernate errors about node can not be null. Thanks, Ken View the original post :

[jboss-user] [EJB 3.0] - Re: select max syntax

2008-03-21 Thread khkachn
OK, I found it. My subject line had the correct syntax; Query.createNewQuery(select max(m.recId) from RecordsEjb m); Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138378#4138378 Reply to the post :

[jboss-user] [JBossWS] - Re: Throwing Exception from a web service method

2008-03-06 Thread khkachn
. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134563#4134563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134563 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBossWS] - Throwing Exception from a web service method

2008-02-29 Thread khkachn
Should I be able to throw an exception from a web service back to the client? I am trying to do this and I get a bunch of stacktraces in the server.log, which is not what I want at all. Thanks, Ken View the original post :

[jboss-user] [JBossCache] - Finding out when a node leaves

2008-02-19 Thread khkachn
Hi, Maybe I asked this in the wrong topic, sorry if this is a cross post. Is it possible to determine or get an event sent when a node leaves the cluster? What I want to do is check in a TreeCache if the node had any work assigned to it and have one of the other nodes take over. That means I

[jboss-user] [JBossCache] - Re: What is returned by getMembers()?

2008-02-16 Thread khkachn
Thanks. That is a very sparse interface. Maybe it can be cast to a IpAddress. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129822#4129822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129822

[jboss-user] [JBossCache] - What is returned by getMembers()?

2008-02-14 Thread khkachn
Hi, What is in the Vector returned by getMembers() from TreeCache? Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129524#4129524 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129524

[jboss-user] [Clustering/JBoss] - Possible to determin when node leaves the cluster?

2008-02-11 Thread khkachn
Hi, Is it possible to determine or get an event sent when a node leaves the cluster? What I want to do is check in a TreeCache if the node had any work assigned to it and have one of the other nodes take over. That means I would also need a way for the remaining nodes to coordinate the take

[jboss-user] [JBossCache] - Re: Adding TreeCache to JBoss default server

2007-09-27 Thread khkachn
When I when back to get the error I realized it was caused by a problem in my cache-service.xml file. When I fixed that it works. So, all you need to do is copy jboss-cache.jar and jgroups.jar from all/lib to default/lib and put your cache mbean xml in deploy (I just copied and moded the one

[jboss-user] [JBossCache] - Re: Adding TreeCache to JBoss default server

2007-09-24 Thread khkachn
That works for 'all', but what do I need to do to get it to work in 'default' (jboss/server/default)? I put tree-cache.jar and jgroups.jar in default/lib and my cache-server.xml in default/deploy, but there must be more to it then that because I get errors (sorry, I don't have them here to

[jboss-user] [JBossCache] - Adding TreeCache to JBoss default server

2007-09-23 Thread khkachn
Hi, I am sure this is documented somewhere, but I am bad at the searches and could not find it (sorry). What do I have to do to add TreeCache to the default JBoss server? Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4087653#4087653 Reply to

[jboss-user] [JBossCache] - Re: Adding TreeCache to JBoss default server

2007-09-23 Thread khkachn
Forgot to mention we are using Jboss 4.0.5ga with EJB3.0 Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4087672#4087672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4087672

[jboss-user] [JBossCache] - Re: Problems with NodeLocking algorithm

2007-09-16 Thread khkachn
Hi, I am running a TreeCache in Jboss 4.0.5.ga and have run into locking issues also. Does LockParentForChildInsertRemove exist in this version? I added true but I get org.jboss.deployment.DeploymentException: No Attribute found with name: LockParentForChildInsertRemove Thanks, Ken View

[jboss-user] [JBoss/Spring Integration] - Re: Answer to Why Spring in Jboss question

2007-08-29 Thread khkachn
Yes, you are right, it was a unfair question for the forum. Thanks for taking a stab at it and I will check out the items you have mentioned. Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079368#4079368 Reply to the post :

[jboss-user] [EJB 3.0] - @Service register with JNDI

2007-08-28 Thread khkachn
Does an @Service MBean register with JNDI? How would I control the JNDI name? Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078887#4078887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078887

[jboss-user] [JBoss/Spring Integration] - Answer to Why Spring in Jboss question

2007-08-25 Thread khkachn
Hi, I am trying to find an article or post that could answer the 'Why bother to add Spring to Jboss' question. I did read This and that explains how, not why. We have an existing J2EE application running in Jboss and other developers are planning to convert it to Spring. I think they are

[jboss-user] [JBossWS] - Suspending input from web services

2007-06-19 Thread khkachn
Hi, Is there a way programmaticly to suspend/resume web services from accepting connections? I was going to set a flag somewhere and just return an error, but I was wondering if there is a better way. Also, is there a way to adjust how many threads can be used by web services? Thanks, Ken

[jboss-user] [EJB/JBoss] - Re: Way to implement a removeAll() method?

2007-06-07 Thread khkachn
Can't you do something like: int deletedEntities = entityManager.createQuery(delete from Customer); if you want to remove all records from a customer table? I have not tried this yet, but it works in Hibernate based on their documentation:

[jboss-user] [Clustering/JBoss] - Clustering design question

2007-06-03 Thread khkachn
Hi, I am using Jboss 4.0.5EJB and would like to move to a clustered setup, but I am not sure how best to implement this. In my application requests come in via JMS, web services or http. The requests are processed a bit and then sent to external applications by JMS and the reply comes back

[jboss-user] [JBossWS] - Re: receiving a AxisFault in the client

2007-02-27 Thread khkachn
Hi, I struggled with Jbossws to create a client for a while and then finally gave up and used Axis-1.4. There are working examples in their getting started document. Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023434#4023434 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Can I use @Ejb in an MBean?

2007-02-15 Thread khkachn
I tried adding @Depends (jboss.ejb3:service=EJB3Deployer) to the class and jboss.ejb3:service=EJB3Deployer to the jboss-service.xml, but my ejb is still null. 2007-02-15 18:30:45,342 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.ejb3:service=EJB3Deployer

[jboss-user] [EJB 3.0] - Re: Can I use @Ejb in an MBean?

2007-02-14 Thread khkachn
I must be doing something wrong then, the ejb is always null in my MBean. Here is my stuff: EJB: @Local public interface WsClientEJB { public String getName(); } @Stateless public class WsClientEJBBean implements WsClientEJB { public String getName() { return

[jboss-user] [EJB 3.0] - Can I use @Ejb in an MBean?

2007-02-11 Thread khkachn
Hi, I would like to have access to a Stateless session bean inside an MBean service I will be working on. Can I use the @Ejb annotation to do this? For example: @Service (objectName=trail:service=calculator) @Management(Calculator.class) public class CalculatorMBean implements Calculator {

[jboss-user] [JBoss Eclipse IDE (users)] - Re: JbossWS tutorial question

2007-01-10 Thread khkachn
OK, let me ask this then; have others run through the tutorial OK? Maybe this is just an expected result with the BETA release of the IDE. Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000196#4000196 Reply to the post :

[jboss-user] [JBoss Eclipse IDE (users)] - Re: JbossWS tutorial question

2007-01-10 Thread khkachn
HA! I knew it had to be something I was doing wrong. Thanks omatzura, that was it exactly. I changed to a J2EE perspective and I now see what I expected. I would also like to thank the people that put the tutorial together. They really help. Thanks again omatzura, Ken View the original post

[jboss-user] [JBoss Eclipse IDE (users)] - JbossWS tutorial question

2007-01-08 Thread khkachn
Hi, I am running through the web services walkthrough at http://www.soapui.org/jbossws/bottomup_example.html Everything seems to go OK, but after I publish my class I do not see the IHelloWorld interface under the JbossWS Web Services header so I can not do the test at the end. The XML

[jboss-user] [JBoss Eclipse IDE (users)] - JbossWS path to wstools.sh for IDE

2007-01-01 Thread khkachn
Hi, I am walking through the example at http://www.soapui.org/jbossws/bottomup_example.html When I get to the step where I click Generate on the JbossWS/Publish I get this error: Running JBossWS wstools for [jbossws-test1] directory: /home/khkachn/workspace/jbossws-test1 command: sh -c