[jboss-user] [Remoting] - Re: org.jboss.remoting.marshal.InvalidMarshallingResource: C

2009-01-13 Thread mindflyer
"ron.si...@jboss.com" wrote : | I've created a JIRA issue, JBREM-1072 (https://jira.jboss.org/jira/browse/JBREM-1072) to track this problem, and I've attached to it a preview version of jboss-remoting.jar (2.2.2.SP11) in which the Maps are made synchronized. | I'd appreciate it if someone c

[jboss-user] [Remoting] - Re: org.jboss.remoting.marshal.InvalidMarshallingResource: C

2008-12-18 Thread mindflyer
We have this exception too. Our application is JBoss EJB3 + rich client application. JBoss 4.2.2.GA; JBossRemoting Version 2.2.2.SP10 Most of the time everything is OK, but sometimes this exception occurs. It can occur and then disappear in one instance of client app without restarting client an

[jboss-user] [EJB 3.0] - injection SFSB to SLSB

2008-04-01 Thread mindflyer
I have SLSB (TdwsPrinter) and SFSB (AdminPrintTask). TdwsPrinter uses AdminPrintTask (it invokes methods and then @Remove method). Sometimes they work correctly, sometimes I see error such as "Could not find SFSB jboss.j2ee:service=EJB3,name=AdminPrintTask; key: 3j001-pmol3k-fee00im0-1-fee4izq1

[jboss-user] [JBossCache] - Re: java.lang.IllegalStateException: there is already a writ

2007-03-23 Thread mindflyer
"[EMAIL PROTECTED]" wrote : Have you tried the teast case attached in JBCACHE-740? (You may need tomodify this a bit since 740 was contributed by someone using JOTM) Firstly, I added logging to MultithreadedTxTest.Worker.run into catch section: catch (Exception e) | { |

[jboss-user] [JBossCache] - java.lang.IllegalStateException: there is already a writer h

2007-03-22 Thread mindflyer
I have problem with JBossCache 1.4.1.SP3 (and JBoss 4.0.5.ga with hibernate 3.2.2.ga) I configured optimistic mode and catched exception: DEBUG [org.jboss.cache.interceptors.OptimisticLockingInterceptor] Caught exception attempting to lock nodes | java.lang.IllegalStateException: there is al

[jboss-user] [EJB 3.0] - Re: can't change load-balance-policy with help jboss.xml

2007-02-09 Thread mindflyer
anonymous wrote : If I use annotation @Clustered(loadBalancePolicy=RoundRobin.class) then bean uses RoundRobin. In this case I don't use jboss.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013592#4013592 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [EJB 3.0] - can't change load-balance-policy with help jboss.xml

2007-02-09 Thread mindflyer
I read http://wiki.jboss.org/wiki/Wiki.jsp?page=ChangeClusterPartitionName and created bean: @Stateless(name = "UnTypedEmfDAORemoteSessionBean") | @Remote(UnTypedEmfSerializableDAO.class) | @Interceptors({EmfPreparerForSerialization.class}) | public class UnTypedEmfDAORemoteSessionBean imple

[jboss-user] [Clustering/JBoss] - Re: HAJNDI over HTTP

2007-02-03 Thread mindflyer
In this case I see: javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.io.FileNotFoundException: http://10.0.0.17:8080/invoker/HAJNDIFactory,http://10.0.0.100:8080/invoker/HAJNDIFactory] at org.jboss.naming.HttpNamingContextFactory.getInitialConte

[jboss-user] [Clustering/JBoss] - Re: HAJNDI over HTTP

2007-02-03 Thread mindflyer
I have host1 and host2. java.naming.provider.url = http://host1:8080/invoker/HAJNDIFactory I start client application, it connects to server and works. Then I stop host1, and client application can't lookup new beans. I look at NamingContext in the debug mode and see that it have HttpInvokerPr

[jboss-user] [EJB 3.0] - Re: ClassCastException in the InvokeRemoteInterceptor

2007-02-03 Thread mindflyer
Yes, I updated libs in the client classpath. I investigated org.jboss.aspects.remoting.InvokeRemoteInterceptor and found out that in the line org.jboss.aop.joinpoint.InvocationResponse response = (org.jboss.aop.joinpoint.InvocationResponse)client.invoke(invocation, null); "client.invoke()" ret

[jboss-user] [EJB 3.0] - ClassCastException in the InvokeRemoteInterceptor

2007-02-02 Thread mindflyer
Client application lookups SLSB in the JNDI and invokes its method. If SLSB throws exception (in this example - DAOException), I see on the client side ClassCastException. Caused by: java.lang.ClassCastException: net.uk.topdog.td2.common.dao.DAOException at org.jboss.aspects.remoting.

[jboss-user] [Clustering/JBoss] - Re: HAJNDI over HTTP

2007-02-01 Thread mindflyer
Of course, I can use loadbalancer (Apache HTTP Server). But I want to use HAJNDI based on client-side interceptor, without loadbalancer. It is possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009228#4009228 Reply to the post : http://www.jboss.com/in

[jboss-user] [Clustering/JBoss] - HAJNDI over HTTP

2007-01-31 Thread mindflyer
I have jboss cluster and want to use only HTTP for client-server communication. I read documentation and found settings for JNDI over HTTP: -- java.naming.factory.initial = org.jboss.naming.HttpNamingContextFactory java.naming.provider.url = http://host:8080/invoker/JNDIFactory -- and settings for

[jboss-user] [Clustering/JBoss] - Re: ejb3 SFSB with load-balancing but without replication

2007-01-26 Thread mindflyer
Thanks! I specified @CacheConfig.name for separate cache with CacheMode LOCAL and @Cache for my implementation of StatefulCache. It works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006708#4006708 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [Clustering/JBoss] - ejb3 SFSB with load-balancing but without replication

2007-01-24 Thread mindflyer
Hi All I need to have SFSB with load-balancing but without replication. Theare are two cases: 1) SFSB has references to not-serializable objects; 2) SFSB is bridge to MBean, which starts to work in separated threads when client app sends first request and returns collected data in the next req