Re: [jboss-user] [JBoss Remoting Development] - XPost - Remoting from unsigned applet - ClassLoader security

2010-05-07 Thread fatbatman
fatbatman [http://community.jboss.org/people/fatbatman] replied to the discussion XPost - Remoting from unsigned applet - ClassLoader security To view the discussion, visit: http://community.jboss.org/message/541774#541774 -- Hi Ron

Re: [jboss-user] [JBoss Remoting] - Application ClassNotFound within InvocationHandler.invoke() on AS6 M2

2010-04-05 Thread fatbatman
fatbatman [http://community.jboss.org/people/fatbatman] replied to the discussion Application ClassNotFound within InvocationHandler.invoke() on AS6 M2 To view the discussion, visit: http://community.jboss.org/message/535658#535658

[jboss-user] [JBoss Remoting] - Application ClassNotFound within InvocationHandler.invoke() on AS6 M2

2010-04-04 Thread fatbatman
fatbatman [http://community.jboss.org/people/fatbatman] created the discussion Application ClassNotFound within InvocationHandler.invoke() on AS6 M2 To view the discussion, visit: http://community.jboss.org/message/535513#535513 -- Hi

[jboss-user] [EJB 3.0] - Re: EJB3 unit tests, how?

2009-06-04 Thread fatbatman
Hi Wolf x2 :) Wolfc, where can I find the rest of the code you posted, you're using some functions... James View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4235351#4235351 Reply to the post :

[jboss-user] [EJB 3.0] - EJB3 unit tests, how?

2009-06-01 Thread fatbatman
How do I run EJB3 unit tests? session beans entity beans. I used to do this using Jboss Embedded when using JBoss 4.2 but we've now moved to JBossAS 5.1 Thanks in advance James View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234396#4234396 Reply to the

[jboss-user] [Remoting] - Re: LeasePinger error after Timer thread death + fix (happen

2009-03-24 Thread fatbatman
I'm not convinced the issue within LeasePinger is resolved as when using 2_5_0_SP2 I get; | java.lang.RuntimeException: Error setting up client lease upon performing connect. | at org.jboss.remoting.Client.connect(Client.java:1603) | at

[jboss-user] [Remoting] - Re: Remoting 3 with Jboss AS 5

2009-03-12 Thread fatbatman
I'm not sure it's that cool :) ...but http://socialbang.com is our biggest game/virtual world thing we have. We have more games at http://oneplay.com I'm currently migrating to Jboss5 and updating things so it isn't 100% at the moment, but you should be able to have a play. The nio in

[jboss-user] [Remoting] - Remoting 3 with Jboss AS 5

2009-02-23 Thread fatbatman
Hi, We use remoting for our multiplayer applet games. We run our server within Jboss and are currently migrating to Jboss 5. I'll be doing lots of connection testing over the next few weeks so would prefer to have the latest remoting version in place. - Can I patch Jboss-5.0.0.GA AS to use

[jboss-user] [Remoting] - Re: Remoting 3 with Jboss AS 5

2009-02-23 Thread fatbatman
Thanks for letting me know, I'll wait then, cheers James :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212406#4212406 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212406 ___

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migration from JBoss 4.2.3.GA to JBoss 5.0.0.GA

2009-02-20 Thread fatbatman
Sorry, should have read the original message better, I was getting another error after seeing this and thought it was related, apologies. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4211826#4211826 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: spi.NotBoundException

2009-02-19 Thread fatbatman
I'm getting a similar error when calling try to access a bean from a service even though I see messages in the log telling me the bean has been installed. Can anyone help? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4211551#4211551 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migration from JBoss 4.2.3.GA to JBoss 5.0.0.GA

2009-02-19 Thread fatbatman
I'm also getting; ... 17:44:32,601 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.extendedmanagedobjectadvi...@4d925d ... message while trying to migrate to JBoss 5. Any progress on why this is? View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: XPOST - @PostPersist called before Transaction ends

2008-04-04 Thread fatbatman
Does anyone else think this is a bug? Has anything changed regarding this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141591#4141591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141591

[jboss-user] [Remoting] - LeasePinger error after Timer thread death + fix (happens in

2007-11-02 Thread fatbatman
We're using remoting within a applet based application. If the user navigates away from the page the browser plugin kills off various threads related to applet (I'm not 100% sure how it decides what is killed and what isn't). The JVM continues running. If the user returns to the applet,

[jboss-user] [JBoss Messaging] - Re: programmatically deploy clustered topic

2007-10-12 Thread fatbatman
Hi Tim, Thanks for the suggestion I might have a play with the farm service in the future. If anyone is interested, for now I use something like the following, it seems to do what I need; public void addTopicMessageListener(String jndiName, MessageListener messageListener) throws

[jboss-user] [JBoss Messaging] - programmatically deploy clustered topic

2007-10-10 Thread fatbatman
How do I programmatically deploy a clustered topic in v1.3 ? I'm currently using; MBeanServerConnection mBeanServer = MBeanServerLocator.locateJBoss(); | ObjectName objName = new ObjectName(jboss.messaging:service=ServerPeer); | MBeanServerInvocationHandler.newProxyInstance(mBeanServer,

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: XPOST - @PostPersist called before Transaction ends

2007-10-07 Thread fatbatman
Has anyone else experienced this? Surely this is bug? is there Jira issue for this? If I am missing something here, please could somebody let me know, but from my understanding this essentially makes the PostPersist EntityListener useless in real world situations, because you can never

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - XPOST - @PostPersist called before Transaction ends

2007-09-13 Thread fatbatman
Original post at http://www.jboss.com/index.html?module=bbop=viewtopict=117709 - I have a @PostPersist EntityListener which I expected to be called after the transaction is finished and the data is in the database, however this

[jboss-user] [EJB 3.0] - @PostPersist called before Transaction ends

2007-09-03 Thread fatbatman
I have a @PostPersist EntityListener which I expected to be called after the transaction is finished and the data is in the database, however this doesn't seem to be the case. The EntityListener is called before the transaction ends when the data is not yet in the database, meaning a rollback

[jboss-user] [JBossCache] - Re: PojoCache - increment global counter

2007-08-21 Thread fatbatman
Anyone? or is this not what PojoCache was intended for? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076226#4076226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076226 ___

[jboss-user] [JBossCache] - Re: PojoCache - increment global counter

2007-08-21 Thread fatbatman
Hi Jason, Thanks for your response, I voted for it. I'll just use a native database sequence for now. Keep up the great work on JBoss/PojoCache it's a really great product. It feels almost like magic when an object is automatically updated across the cluster :) many thanks James View

[jboss-user] [JBossCache] - PojoCache - increment global counter

2007-08-15 Thread fatbatman
Hello, I'm trying to use PojoCache1.4 to share a share a global counter across a cluster of servers. Something like this. @PojoCacheable public class GlobalValues implements Serializable { protected int globalCounter=0; public synchronized int incrementGlobalCounter(){

[jboss-user] [JBossCache] - Re: Habanero CR2 on Jboss 4.2.0

2007-06-04 Thread fatbatman
Thanks, I'll try and package it in an ear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050978#4050978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050978 ___ jboss-user

[jboss-user] [JBossCache] - Habanero CR2 on Jboss 4.2.0

2007-06-03 Thread fatbatman
Can Habanero CR2 run on Jboss 4.2.0? I tried doing a quick and dirty copy of all the jars from Habanero lib into my JBoss4.2/server/all/lib but I got a NoSuchMethodError error when something was trying to call; org.jboss.aop.ClassContainer.setChainOverridingForInheritedMethods(boolean) Is

[jboss-user] [Installation, Configuration Deployment] - Re: Setting DefaultDS to use Postgresql in JBoss AS 5.0.0 Be

2007-05-29 Thread fatbatman
Thanks for your response, sorry I should have been more specific in my initial question. I'd done what you suggested above but I'm getting problems. These seem to stem from the fact that qrtz_locks table does not exist. | | 21:46:03,515 INFO [RARDeployment] Required license

[jboss-user] [Installation, Configuration Deployment] - Setting DefaultDS to use Postgresql in JBoss AS 5.0.0 Beta2

2007-05-28 Thread fatbatman
How do I set the DefaultDS to use postgresql in Jboss AS 5.0.0 Beta 2? regards James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048995#4048995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048995

[jboss-user] [Remoting] - Re: Remoting from unsigned applet - ClassLoader security exc

2007-05-24 Thread fatbatman
We've used a signed applet for now. Is there any way that remoting will working within an unsigned applet in the near future? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048492#4048492 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - PrefixDeploymentSorter in Jboss 5

2007-05-24 Thread fatbatman
How should I set the URLComparator to PrefixDeploymentSorter in JBoss5 beta 2? Thanks James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048525#4048525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048525

[jboss-user] [JBossCache] - Re: PojoCache on jboss-5.0.0.Beta2

2007-05-22 Thread fatbatman
Thanks for your quick response. I'll do it in Java code for now then. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047561#4047561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047561

[jboss-user] [JBossCache] - PojoCache on jboss-5.0.0.Beta2

2007-05-21 Thread fatbatman
Hi, I'm trying to deploy a PojoCache on jboss-5.0.0.Beta2 using xml service files, I was expecting to be able to just add a file such as replSync-service into the delpoy directory, although this doesn't work. I've searched around and can't find how to do this. I'm using the jboss cache jars

[jboss-user] [JBossCache] - Re: PojoCacheListener API changes in CR1?

2007-05-16 Thread fatbatman
Yes, that's perfect for me. regards James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046093#4046093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046093 ___ jboss-user

[jboss-user] [JBossCache] - Re: PojoCacheListener API changes in CR1?

2007-05-14 Thread fatbatman
When revamped will it be possible to register a PojoCacheListener for a specific topic pattern or similar? I'd like to use the PojoCache across a cluster of servers and it would be nice if specific servers could register a listener for a particular topic they're interested in, rather than

[jboss-user] [JBossCache] - PojoCacheListener for a specific topic?

2007-05-06 Thread fatbatman
Is it possible to register a PojoCacheListener for a specific topic pattern or similar? We're planning on using the PojoCache across a cluster of servers and it would be nice if specific servers could register a listener for a particular topic they're interested in, rather than regsitering for

[jboss-user] [Remoting] - Re: InvokerCallbackHandler.getSessionId() ?

2007-03-01 Thread fatbatman
Hi Ron, ServerInvokerCallbackHandler.getClientSessionId() is exactly what I was looking for. Many thanks to both of you James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024506#4024506 Reply to the post :

[jboss-user] [Remoting] - Re: InvokerCallbackHandler.getSessionId() ?

2007-02-24 Thread fatbatman
Hi Tom, Yes I'd like to know which client the InvokerCallbackHandler is from so I can send a callback to a specific client. I'm investigating using remoting with something akin to a online chat system. I was planning on having some kind of custom login method, in which I would get the

[jboss-user] [Remoting] - InvokerCallbackHandler.getSessionId() ?

2007-02-22 Thread fatbatman
How do I get the sessionId from InvokerCallbackHandler.addListener(InvokerCallbackHandler callbackHandler) so its the same as that returned from InvocationRequest.getSessionId() for a particular client. thanks in advance regards James View the original post :

[jboss-user] [Remoting] - Re: Is Http Firewall tunneling in Remoting or Messaging ?

2006-11-30 Thread fatbatman
Its possible to go through a series of steps when establishing a connection, to see what is possible. For example the client could firstly attempt a plain bidirectional TCP connection, if this fails, try the next approach etc, etc. Obviously if you know in advance that only a certain type of

[jboss-user] [Remoting] - Is Http Firewall tunneling in Remoting or Messaging ?

2006-11-22 Thread fatbatman
Hi, I have an applet on a public webpage that needs to communicate with a server. The applet needs to be able to make synchronous and asynchronous method calls on the server. The server needs to send asynchronous (callback) messages from the server to client. The applet may be behind a

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Window Preferences - JBoss-IDE Deployer. Not prese

2006-10-03 Thread fatbatman
anyone? Are there any release notes for IDE2 beta1 that might explain this? I couldn't find any. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975776#3975776 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975776

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Window Preferences - JBoss-IDE Deployer. Not prese

2006-10-03 Thread fatbatman
I can't deploy when right clicking the war either, I do right click-run as-run on server. I did actually set up any XDoclet stuff as I only wish to do a straight copy from my project to the server. Do I need to setup XDoclet ? is that why its saying no launchable artifact? View the original

[jboss-user] [JBoss Eclipse IDE (users)] - Window Preferences - JBoss-IDE Deployer. Not present i

2006-09-30 Thread fatbatman
Hi, I'm using Eclipse Version: 3.2.1, JBossIDE 2 Beta1, JBoss-4.0.4 I'm new to the IDE. I have an existing eclipse project called WebAppProject that's a web application. I created a packaging configuration, that copies all the required files into WebAppProject/webapp.war. I called Run

[jboss-user] [EJB 3.0] - Custom/Tagged merge (XPost)

2006-09-25 Thread fatbatman
XPost - http://forum.hibernate.org/viewtopic.php?t=965178 Hi, Is there any way to annotate specific entity properties with tag(s) such as @merge(fromClient) public String getMessage(){ return message; } and then perform a em.customMerge(obj,fromClient); that will only merge the fields

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-07 Thread fatbatman
anonymous wrote : Which got me to thinking. Why, if we're using EJB3 to manage our POJO Entities, it is acceptable to return an object with Hibernate classes to the client in the first place? JBoss itself is requiring EJB3 clients to know Hibernate's involved?! Shouldn't the container be

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-06 Thread fatbatman
Looks good, I've made some slight adjustments, will post code later on tonight regards James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969824#3969824 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969824

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-06 Thread fatbatman
Thanks, your code works well, I made a few adjustment though to suit my particular needs. I think it only makes sense to use this function outside the persistance session/transaction. This way you can decide how far you wish to traverse the object graph by populating the data you require

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-06 Thread fatbatman
Actually I think a better implementation is that included below; it should certain perform much better as it now gets the inner hibernate collection object rather than creating a new object to replicate it. Note - the package name so we can get the inner collection. It still needs further

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-05 Thread fatbatman
Yes that's exactly the kind of function and I agree with you it does seem slightly hacky implementing this ourself, which is why I was surprised to find there wasn't such a function within Hibernate iteself. I suppose in a perfect world hibernate could return the clean pojo from within a

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-04 Thread fatbatman
I'm aware of why LazyInitilizationException's are thrown, and know I could do something like you demonstrated. My point though is this, as I understand things DTO's are no longer fashionable in EJB3 and entiy classes are POJO's which can be populated, then moved between the application tiers.

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-03 Thread fatbatman
I also need to obtain a completely clean Pojo. I currently serialise detached entities then send them over a network to a remote client which is an applet that has no concept of EJB3 (no ejb jars on classpath). Here the client treats them as Pojos. When running a full round trip unit test in

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-03 Thread fatbatman
...also, this method would ideally return an object that does not use any hibernate classes such as PersistentSet etc, so the client doesn't require the hibernate.jars. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969101#3969101 Reply to the post :