I'll tell our infrastructure to try and grab that information next time they
get the opportunity which may be a while since it they have no way to grab the
dumps unless the problem happens to freeze the server which is usually just
crashes.
Looking at the stack traces I'm not sure what would
I have some more info. If found the line of code that is allocating the 1.6gb
byte[].
BasicConnectionTable.run():577
| 575: len=in.readInt();
| 576: if(len buf.length)
| 577: buf=new byte[len];
|
So you were correct it
Another update. This bad packet contains the the following
0x62, 0x65, 0x6C, 0x61, 0x00, 0x00, 0x00, 0x00
Which converted to ascii is bela so I think this is pretty obvious that it is
a jgroup/jbossCache originated packet or fragment of a packet
Any other ideas?
View the original post :
Actually I lied the packet's contents are:
[98, 101, 108, 97, 17, 2, 4, 10, 108, 34, 34, 0, 0, -30, -112]
the first 4 bytes == bela
10.108.34.34 is my server's IP address
I don't know what the rest is.
View the original post :
We are using jbossCache 1.4.1.SP8 jgroups 2.4.1.SP4 on websphere 6.1 (IBM JDK
AIX)
This is our config string:
| config
| TCP start_port=58000 sock_conn_timeout=500 send_buf_size=15
recv_buf_size=8 loopback=false
| use_send_queues=false /
| TCPPING
Guy Pardon of Atomikos justifies his use of UNKNOWN saying:
anonymous wrote :
| I think the status cannot be determined for the following reason. Imagine
transaction A started in a remote VM and imported in the local VM subsequently.
Also, suppose the local VM only does READ_ONLY work.
|
I'm having a problem integrating with Atomikos as a transaction manager and
JbossCache. It appears that if an XA transaction is READ_ONLY then Atomikos
will complete the transaction with STATUS_UNKNOWN even though nothing
specifically when wrong in the transaction.
The problem is the
thanks for the insight
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122416#4122416
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122416
___
jboss-user mailing list
Nope, your spring and Seam code will not be effected. The configuration might
be more difficult though depending upon the transactionManager you are using.
For example, if you're using a HibernateTransactionManager you need to make
sure that both spring and seam are using the same
I've had a JBossCache+hibernate question over on the hibernate forums for a
while with no responses. I was wondering if someone here might be able to help
me out?
The question is:
Looking at the code in Hibernate OptimisticTreeCache it appears that Hibernate
tells JBossCache to use an
The integration uses a dummy SessionFactory that simply takes calls to
SessionFactory.createSession and returns the Seam managed session instead.
It's quite simple. So you just need to make sure that you use the
SeamManagedSessionFactory in the correct places instead of the real
Oh, ya. Seam uses a thread local to get it's Context and then uses the
various scopes in that context to determine the actual values in the scopes.
If you wanna get into much more detail on how Seam manages it's scopes it would
probably be best to look at the code. I think the key here is
Yup through:
*Template
SharedEntityManager
@PersistenceContext
SessionFactory.currentSession()
You can make your existing spring persistence code work with a conversation
scoped persistence context without changing your code. Simply configure the
use of a different EntitityManagerFactory of
Interesting, out of curiosity what version of a4j is this? Is this the latest
RichFaces?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4114267#4114267
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4114267
So can you consistently get the error hitting that richfaces url? The strange
thing is that if it's hitting the SeamPhaseListener then it should be creating
a conversation.
What it sounds like is the transaction is getting started before the
conversation is started. However, the Seam
Put a breakpoint in SeamPhaseListener.handleTransactionsBeforePhase and see if
you can determine why beginTran is being set to true in the case where you get
this error. If the phase id is RenderResponse or ApplyRequestValues and a
conversation does not exist then we can dig further from
What do you mean when I access a page, which contains no component reference
in the conversation scope? The way your have everything configured Seam
should never be attempting to create a transaction before a conversation is
created.
Can you describe more what you're doing to get Seam in this
I may not be understanding your question entirely but I believe you would use
Spring JDBC with Seam the same as you would without Seam since Seam doesn't
really provide any kind of JDBC features. The main reason you might want to
use Seam's JPA/Hibernate with Spring (the spring+seam
JDBC has no concept of a persistence context. Conversation scoped persistence
contexts are only valuable with Hibernate and JPA. If you just want to use
JDBCTemplate in a Seam component then just define the JDBCTemplate in your
spring file and inject it into a Seam component using
the jboss-seam-ioc.jar is included with the seam distribution and it should be
placed in the classpath of your project. To make sure it works when running
tests you need to be sure it is included in the runtime classpath of your test
running tool.
View the original post :
Is user a spring bean? If you aren't using Spring then the ioc.jar won't
help you.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4106127#4106127
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106127
Can you file an issue in Jira and post the number back to this thread?
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104386#4104386
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104386
Thanks. Fixed.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4102364#4102364
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102364
___
jboss-user mailing list
Yes. you can use Spring as your middleware and take full advantage of Seam
managed persistence contexts without seam or Spring being non the wiser. The
documentation details how you can use Seam Managed persistence contexts with
spring and how you can use Spring managed transactions with
updated the docs to include a note about the jboss-seam-ioc dependency.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097605#4097605
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097605
-INF is not in
the classpath when running the test.
Otherwise I cannot duplicate itcan you can send me an exact copy of your
environment? A zipped eclipse project with all your dependencies or a project
that I can just run ant or maven to duplicate the error?
youngm -at- gmail dot com
View
I have no ideas why it is not working because it should be working. As soon as
I get some time I'll get your example running and see if I can duplicate the
problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4096237#4096237
Reply to the post :
the DelegatingVariableResolver isn't used in integration tests. The Spring
integration is supposed to be loading automatically an ELResolver for use when
not in a JSF request. Which is the situation for integration tests.
View the original post :
Well, your testcase works for me.are you sure your /WEB-INF folder which
holds your component.xml file is in your classpath when you run the test?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4096290#4096290
Reply to the post :
A couple of things.
anonymous wrote : When i try to do an integration testing, I get this exception
So your app works just fine when running in a web container?
anonymous wrote : I have added the SpringContextLoader in the components.xml
file and my application context is getting loaded.
What version of seam are you using?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095803#4095803
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095803
___
jboss-user mailing list
Can you try with 2.0 CR2? Or is upgrading out of the question at this point?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095819#4095819
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095819
Can you put together the simplest testcase you can where an expression is not
being evaluated in an integration test so I can give it a try?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095823#4095823
Reply to the post :
Can you add your component.xml too?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095831#4095831
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095831
___
jboss-user mailing list
I've recommitted the fix Ryan originally provided. Apparently the change that
broke this was some functionality Jacob added for Gavin to support the
s:decorate component. I tested the fix with the Seam s:decorate component in
the Booking example's register page and the s:decorate appears to
The spring example in the 2.0.0.cr1 nighly builds are configured exactly the
way you are looking to use Seam + Spring. Using a spring configured EMF. A
Seam conversation scoped EM. that is made available in spring using the
SeamManagedEntityManagerFactoryBean. Have a look at the example in
In case someone stumbles upon this thread with the same question. You can find
more information at this thread:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074888#4074888
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074889#4074889
Reply to the
anonymous wrote : 1. I am not able to locate the class
TransactionalSeamPhaseListener in Seam 2.0? Has it been replaced by the general
SeamPhaseListener?
|
Ya, it was removed in 2.0 beta and was replaced by the
transaction-management-enabled attribute
anonymous wrote :
| 2. Where can I
anonymous wrote : Hi,
|
| thank you for your helpful answer. I plan to have a seam independent
persistence and service layer using spring + JPA and only use seam in the web
layer because of its powerful JSF enhancements.
|
| Do I understand it right:
| 1. It is possible to use spring
Sorry my quotes got alittle messed up. :)
anonymous wrote : Hi,
|
| thank you for your helpful answer. I plan to have a seam independent
persistence and service layer using spring + JPA and only use seam in the web
layer because of its powerful JSF enhancements.
|
| Do I understand it
anonymous wrote : can anyone explain me the effect, when I combine Seam
TransactionalSeamPhaseListener with Spring @Transctional annotation in my
service layer?
Well, first of all you need to make sure that they're configured to use the
same JTA TransactionManager. With Seam 2.0.0 CR1 you
I thought you guys might be able to provide useful input for this bug which is
working to provide better facelets support to WTP:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=192393
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074093#4074093
Reply to the
http://jira.jboss.org/jira/browse/JBSEAM-1642
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4063035#4063035
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063035
___
jboss-user
I'm using 1.2.0.nightly
Is it legal to configure POJOs as Seam components in components.xml?
For example:
component name=expanderState class=java.util.HashMap auto-create=true
scope=conversation/
I get:
| java.lang.RuntimeException: Could not create Component: expanderState
| at
http://jira.jboss.org/jira/browse/JBSEAM-1650
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4063268#4063268
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063268
___
jboss-user
Can you please file a bug with as much current information and configuration as
you can muster? I plan to begin work on official Hibernate support in the
spring-seam integration soon and some of this information could come in handy.
Mike
View the original post :
Also what happens if you use spring:context-loader instead of the Spring
ContextLoaderListener?
http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/spring.html#d0e12322
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4062521#4062521
Reply to the post :
Actually it doesn't work. It appears that MethodContextInterceptor is
unwrapping the component and placing it in the method context so when you
attempt to inject SomeClass it is an unwrapped instance. This is also going to
cause problems if you try to do:
| @Name(someClass)
| public
There was an error in my example it should actually be:
| page view-id=/list.xhtml
| navigation
| rule if-outcome=detail
| render view-id=/detail.xhtml/
| /rule
| /navigation
| /page
|
I'm attempting to get the hang of pages.xml. If I do:
| page view-id=/list.xhtml
| navigation if-outcome=detail
| render view-id=/detail.xhtml/
| /navigation
| /page
| page view-id=/detail.xhtml
Unfortunately I don't want to do a redirect here because I'm passing some other
request parameters in and they get dropped after the redirect???
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058441#4058441
Reply to the post :
I have a factory method which is conversation scoped but I occasionally want to
clear/reload this value in the middle of a conversation. I am currently doing:
| public void Component {
|
| @In(#{factoryValue})
| @Out
| List factoryValue;
|
| @Factory(factoryValue)
| public
This only occurs on restart but cold startup works fine?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054447#4054447
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054447
___
Make sure you have jboss-seam-ioc.jar in your classpath.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054453#4054453
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054453
___
Try changing all instances of www.jboss.com to jboss.com
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054469#4054469
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054469
___
Well, the exception mentions
http://www.jboss.com/products/seam/spring-seam-1.2.xsd; as a System Id. So it
would probably be in the applicationContext.xml file?
http://www.jboss.com/products/seam/spring-seam-1.2.xsd
should be
http://jboss.com/products/seam/spring-seam-1.2.xsd
and
I have a class with methods like so:
| public class SomeClass {
| public void createSomething() {
| sendAnEmail();
| }
|
| @Asynchronous
| public void sendAnEmail() {
| //Send an email asynchronously
| }
| }
|
What is the recommended
EJB provides the context.getThis() methodperhaps ther e is some kind of
Seam execution context we can make available somehow?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054572#4054572
Reply to the post :
I believe it does apply interceptors, however, my bean isn't an EJB. :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054574#4054574
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054574
I was just mentioning that as an idea. Perhaps Seam could provide an
invocation context in ThreadLocal so I could do something like:
InvocationContext.getContext().sendAnEmail();
Just a thought.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054575#4054575
Well, they're located in CVS at /src/ioc/META-INF I don't know if they are
getting packaged into a source package.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051515#4051515
Reply to the post :
It appears that for some reason it's not finding the spring-seam namespace
handler. Have you attempted to use a straight build of the example? Does that
work with your configuration? Are there any other differences in ear/war
structure or difference in .jars in the WEB-INF/lib?
View the
For now you could set up logging to not display any log messages for the
ExceptionFilter class.
For the future you can vote for this issue
http://jira.jboss.org/jira/browse/JBSEAM-1144 which will make it possible to
turn off all Seam transaction management so that your back end can own
Anyone aware of a particular reason why @Name's value attribute is required?
It would seem that value would be a perfect candidate for configuration by
convention using a camel cased class name.
Mike
View the original post :
You're right:
http://jira.jboss.org/jira/browse/JBSEAM-92
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043024#4043024
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043024
___
Though it was rejected.it would be interesting to know some of the why
behind it but not a big deal.
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043025#4043025
Reply to the post :
Oops. I didn't notice you specifically asked Christian to file the issue until
after I created it. :) Anyway here you go:
http://jira.jboss.org/jira/browse/JBSEAM-1281
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042458#4042458
Reply to the post :
Well, my use case involves any kind of get request. If you're using s:link or
h:outputlink with conversation propagation you run the risk of being able to
have 2 windows open linked to the same conversation which can cause problems in
some cases.
In my particular case I'm creating a list
I have a persistence context that I wish to only be created within a nested
conversation and destroyed when that nested conversation ends.
However, after my nested conversation ends and my PersistenceContext destroyed
it is being recreated in my outer conversation when
http://www.jboss.com/index.html?module=bbop=viewtopict=107771
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042610#4042610
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042610
http://jira.jboss.org/jira/browse/JBSEAM-1259
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042217#4042217
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042217
___
jboss-user
Figured it out. The Ajax4jsf filter was executing after the seam filter. I
had my filters configured like so:
|filter-mapping
| filter-nameajax4jsf/filter-name
| servlet-nameFaces Servlet/servlet-name
| dispatcherREQUEST/dispatcher
|
I have the need to spawn a new conversation will all of the same variables of
the current conversation but will begin a separate path from that point on. Is
this possible? If not currently possible does anyone else think this would be
useful?
@Begin(clone=true) or something
Mike
View the
http://jira.jboss.com/jira/browse/JBSEAM-1144
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041902#4041902
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041902
___
jboss-user
Ok, so I got a build working today and I'm still experiencing the problem.
Maybe I'm just using seam wrong but here are some more details on what I'm
doing.
I have a list detail page. I'm storing the current page the user is on in a
conversation bean.
I begin a conversation in the list
For some reason this tool blanked out my redirect tag in the navigation-case.
Believe me it is there. :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041917#4041917
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041917
My conversations aren't being continued between redirects.
If my faces-context is handling the navigation and redirect which I thought was
ok.
The crux of the problem appears to be RedirectFilter needs an active EVENT
context. However, the context is being closed in the SeamPhaseListener
I'm getting the problem using a head build from about 2 weeks ago. I tried a
new build as of right now but there is a problem with a JSP 2.1 dependency.
JBSEAM-1265.
If you're not having any trouble I'll try again when the when JBSEAM-1265 is
fixed.
Mike
View the original post :
And you have the seam-ioc.jar in the WEB-INF/lib? And that seam-ioc has:
/META-INF/spring.handlers
and
/META-INF/spring.schemas
And does the xsd referenced in those files exist in the seam-ioc jar?
Mike
View the original post :
anonymous wrote : BTW, in the meantime I managed to configure Seam (with
managed transactions, PCs and the like) without the microcontainer at all -
using either JOTM, Atomikos, or JBoss Transactions.
It would be great if you could post how you did that in the Seam WIKI or
something for others
Thanks. I don't know how to put it in the WIKI either but if 1144 get's
rejected then I'll figure out how.
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036410#4036410
Reply to the post :
Quick question. What are you doing for transactions in integration tests in
Seam without the microcontainer? If you're doing integration tests.
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036493#4036493
Reply to the post :
I've created a jira issue and a candidate patch for pluggable transaction
management in seam. This will allow for use of seam without a dependence on
JTA obtained through JNDI. If you want try out the patch and post any feedback
you have. At the very least if this is a feature you are
Any luck with this geek? :)
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036188#4036188
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4036188
___
jboss-user mailing list
What does your components.xml file look like? I believe the property is
supposed to be config-locations not context-locations.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034663#4034663
Reply to the post :
Thanks for the insight. Just wanted to make sure I wasn't missing anything.
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034129#4034129
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4034129
I'm using hibernate with a database at READ_COMMITTED isolation level. Does
anyone see a problem with using JBossCache PESSIMISTIC at READ_COMMITTED with
hibernate? Is there a particular reason why REPEATABLE_READ is the default
isolation level?
Mike
View the original post :
I just checked in some better Seam Managed PC integration with Spring. Here is
a list of some of the features:
* Automatically makes Seam Managed PC available to spring JPA utilities like
JpaTemplate and Spring beans using the Spring
PersistenceAnnotationBeanPostProcessor.
* If a Seam Managed
Thanks for working through this and providing a solution. What strange
errors were you getting when you bean was not marked as lazy?
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029348#4029348
Reply to the post :
I created an issue to work on better spring EL integration if you want to track
it: JBSEAM-1074
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029358#4029358
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029358
Good news, thanks for the following up.
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029395#4029395
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029395
___
jboss-user
Dan is probably using Spring managed Transactions.
Which are not supported by Seam.
Though he does bring up an interesting question is it or should it be possible
to use Seam and JPA with a JPA Resource local TransactionManager?
(em.getTransaction)
Mike
View the original post :
Just a quick simple question. Is there something in Seam that makes Bijection
of an Application scoped component Thread safe? Not that I think there should
be something I'm just curious.
Mike
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028800#4028800
Thanks. That's what I figured, Just wanted to make sure I'm not missing
something.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029000#4029000
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029000
One other thing to try. What happens if you make your springHook a seam
component by nesting seam:component/ in the bean entry? Does that negate the
need to call Lifecycle.beginCall()?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027988#4027988
Reply to
Actually you will have to do seam:component intercept=ALWAYS /
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027990#4027990
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027990
hmm.you're first attempt should have worked if you did the following:
1. Remove your spring bean reference.
2. Do seam:instance id=springHook name=springHook proxy=true/
3. You probably will want to change the scope of your SpringHook Seam component
to METHOD since I believe you may run into
You're not bugging me. Something not working the way I expect it to work
bugging me. :)
anonymous wrote :
| but its barfing on startup now with error that seams needs to be configured
before spring.
|
This is probably the heart of the problem. The Spring ContextLoaderListener
needs to
Is it possible to order the chain of seam web filters?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028067#4028067
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028067
___
I'm looking to add a filter that would make the current seam managed
persistence context available in spring's standard ThreadLocal variable and
clear it when done. However, this filter would need to be executed before
ExceptionFilter so the persistence context created would be available to
1 - 100 of 107 matches
Mail list logo