[jboss-user] [JBoss Seam] - Gwt integration in Seam2.0.0.Beta1 doens't work

2007-07-27 Thread msteiner
I get Illegal State Exception : No application context active. I have added two lines in GWTRemoteService | ServletLifecycle.beginRequest(request); | (...) //do stuff | ServletLifecycle.beginRequest(request); | And now it works. Maybe I am wrong but I think that without these 2 line

[jboss-user] [JBossCache] - Re: Endless loop in JBoss Cache 1.4.1.GA

2007-03-05 Thread msteiner
anonymous wrote : See JBCACHE-999 - your bug got the lucky 999! :-) Thanks for quick response. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025309#4025309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025309 _

[jboss-user] [JBossCache] - Re: Endless loop in JBoss Cache 1.4.1.GA

2007-03-05 Thread msteiner
Add this method to org.jboss.cache.transaction.TransactionTest from cache 1.4.1.SP2 src dist. It causes endless loop public void testEndlessLoop() { | try { | Fqn root = new Fqn(); | Fqn fqn = new Fqn(root, 1L); |

[jboss-user] [JBossCache] - Re: Endless loop in JBoss Cache 1.4.1.GA

2007-03-05 Thread msteiner
Yes, I have tried 1.4.1.SP2 - problem still exists. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025032#4025032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025032 ___ jbo

[jboss-user] [JBossCache] - Re: Endless loop in JBoss Cache 1.4.1.GA

2007-02-09 Thread msteiner
This is the same cache instance. I have edited hostname only in part of log - sorry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013823#4013823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013823 _

[jboss-user] [JBossCache] - Re: Endless loop in JBoss Cache 1.4.1.GA

2007-02-09 Thread msteiner
This how I am getting the Loop. I delete root node: | 15:24:25,709 DEBUG [TxInterceptor] local transaction exists - registering global tx if not present for Thread[pool-1-thread-3,5,jboss] | 15:24:25,715 DEBUG [TxInterceptor] local transaction exists - registering global tx if not present

[jboss-user] [JBossCache] - Re: Endless loop in JBoss Cache 1.4.1.GA

2007-02-09 Thread msteiner
Thanks for reply. Are you sure that this happen only when deleteting and adding is in the same tx? My application listenens on the socket, server gets first request that deletes root node (whith stateless ejb) then after a while I make another socket request which put new node to cache and this

[jboss-user] [JBossCache] - Re: Endless loop in JBoss Cache 1.4.1.GA

2007-02-09 Thread msteiner
Upgrade to 1.4.1.SP1 doesnt help. Does anyone has idea where could be problem ? I can't belive that production version has so serious bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013524#4013524 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [JBossCache] - Endless loop in JBoss Cache 1.4.1.GA

2007-02-06 Thread msteiner
My application works perfect with 1.4.0.SP1 but not with 1.4.1.GA. I have got node " / a / b" Everything works fine then I remove (TreeCacheMBean.remove(Fqn root);) then I once again put " / a / b" (TreeCacheMBean.put(Fqn fqn, String key, Object object);) and here problem starts. I have debugge

[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates

2006-10-11 Thread msteiner
"[EMAIL PROTECTED]" wrote : Um do you mind if I just steal that code and put it in org.jboss.seam.core? | Not at all. "[EMAIL PROTECTED]" wrote : | Actually, if I did that, I should probably do a whole Timezone/TimezoneSelector thingy like what we have for locales... | I agree that

[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates

2006-10-10 Thread msteiner
This is my solution: Component: | | @Name("defaultTimeZone") | @Scope(ScopeType.APPLICATION) | @Intercept(NEVER) | public class DefaultTimeZone { | /** | * @return default TimeZone | */ | @Unwrap | public TimeZone getDefaultTimeZone() { | retu

[jboss-user] [JBoss Seam] - Re: Problem outjecting a field

2006-09-20 Thread msteiner
Look at value attribute of @Out and @In annotations. It lets you specify name of the component. So you can do something like this: | @Out(value="charge1") | private Charge chargeItem1; | | @Out(value="charge2") | private Charge chargeItem2; | | View the original post : http://

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-09-05 Thread msteiner
"sbryzak2" wrote : | The security API doesn't do anything specifically with transactions. Is this problem happening in your AuthenticationProvider? | No. I think I know where is the problem. It may be connected with my problems with seam security when debug is turned on. One of securit

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-04 Thread msteiner
In CVS version of Seam is SeamCharacterEncodingFilter class. This should make UTF8PhaseListener obsolete (can someone confirm that?). You must put this in web.xml: | Character Encoding | | org.jboss.seam.servlet.SeamCharacterEncodingFilter |

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-09-04 Thread msteiner
Seam security does strange things with transactions when is turned on 'Transaction failed' message is rendered and when I try write to db I get exception: | (...) | Caused by: org.jboss.util.NestedSQLException: Transaction is not active: (...) View the original post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-09-04 Thread msteiner
How to use Seam Security Filter ? Is it ready ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969182#3969182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969182 ___ jboss-

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-09-04 Thread msteiner
"sbryzak2" wrote : | | I've made some changes to allow it to now work with debug mode turned on. Still doesnt work. Now i get NPE: | 10:58:40,383 ERROR [ExceptionInterceptor] redirecting to debug page | java.lang.NullPointerException | at org.jboss.seam.security.adapter.jboss.JB

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-08-23 Thread msteiner
"sbryzak2" wrote : | Authenticator.beginRequest() should only ever be called from the Lifecycle class, and currently if it throws any exceptions they are simply swallowed by a try..catch block. Would it be possible for you to submit a simple test case to JIRA that replicates this exception?

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-08-23 Thread msteiner
anonymous wrote : | When does this exception occur? Each time when I access any page in my application anonymous wrote : Does the example app work? Yes it works perfect. Where Authentication component should be created ? View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-08-23 Thread msteiner
I've followed instructions on wiki and I get exceptions: 10:05:14,037 ERROR [ExceptionInterceptor] redirecting to debug page | java.lang.IllegalStateException: No Authentication could be created, make sure the Component exists in session scope | at org.jboss.seam.security.Authentication.

[jboss-user] [JBoss Seam] - Re: Concurrent calls problem

2006-08-22 Thread msteiner
Look at this http://jira.jboss.com/jira/browse/JBSEAM-183 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966690#3966690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966690 _

[jboss-user] [JBoss Seam] - Messaging in Seam

2006-08-17 Thread msteiner
In Seam reference from CVS is : anonymous wrote : Message-driven beans may even be Seam components, in which case it is possible to inject other event and application scoped Seam components. But this not works. I get NPE when I send message to MDB annotated with @Name: Caused by: java.lang.Null

[jboss-user] [JBoss Seam] - Re: Calling Seam Components (Stateless EJB) outside Seam app

2006-08-16 Thread msteiner
With MDB it doesnt work either. I have MDB (with @name annotation). When I send JMS Message I get NPE: | Caused by: java.lang.NullPointerException | at org.jboss.seam.Component.forName(Component.java:1298) | at org.jboss.seam.ejb.SeamInterceptor.getSeamComponent(SeamInterceptor

[jboss-user] [JBoss Seam] - Re: Calling Seam Components (Stateless EJB) outside Seam app

2006-08-16 Thread msteiner
JMS is good idea. Which Seam components I can safely use in MDB ? Will I have access to JBPM process definitions from MDB ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965413#3965413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [JBoss Seam] - Calling Seam Components (Stateless EJB) outside Seam app. Po

2006-08-14 Thread msteiner
I have 2 Seam appllications (ears). When I call from one app, EJB method from another app I get NPE in Component class (getApplicationContext() returns null): | public static Component forName(String name) |{ | return (Component) Contexts.getApplicationContext().get( name + "

[jboss-user] [EJB 3.0] - Persistance.xml in .ear/META-INF

2006-08-14 Thread msteiner
I have put my persistance.xml to META-INF in ear but jboss seems to ignore it. It is a bug? This is why I need this: I have 2 jars (A.jar and B.jar) with classes annotated with @Entity and 2 ears. In both ears I want to put jars A and B but in one ear entities from A.jar should be ig