JBSER is currently the default for EJB deployments and causes server faults on even simple
running apps - probably should using a more stable default.
------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBAS-8557
URL:
https://jira.jboss.org/browse/JBAS-8557
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Affects Versions: 6.0.0.M5
Environment: JBAS Hudson Snapshot from 10/23/2010
Reporter: Lincoln Baxter III
Assignee: Carlo de Wolf
Error:
http://pastebin.com/yadmfQR1
(05:07:40 PM) lincolnthree1: Hey folks - got an interesting issue:
(05:07:57 PM) lincolnthree1: I'm deploying an app with JSF, EJB, JPA, ets... pretty
simple app, not much to it.
(05:08:21 PM) lincolnthree1: If I access a page, and start a session, then let the server
sit for a few minutes/seconds, I get that error.
(05:08:27 PM) lincolnthree1: Repeated about a thousand times in the log.
(05:08:35 PM) lincolnthree1: And the deployment is hosed, I have to reboot the server.
(05:09:53 PM) dmlloyd: looks like the EJB is trying to passivate
(05:10:05 PM) dmlloyd: however it is doing so using JBSER which is far from
spec-compliant
(05:10:33 PM) dmlloyd: 1) you could just disable passivization
(05:10:41 PM) lincolnthree1: It's pretty much a vanilla jboss install that I got from
hudson 2 days ago
(05:10:42 PM) dmlloyd: 2) you could possibly configure it to use java serialization
instead
(05:10:53 PM) dmlloyd: yeah, I agree it's a terrible default
(05:11:03 PM) dmlloyd: I'd call it a bug, even
(05:11:18 PM) lincolnthree1: it feels like a bug to me
(05:11:22 PM) lincolnthree1: it's a seam test-app
(05:11:24 PM) lincolnthree1: nothing fancy
(05:11:29 PM) lincolnthree1: shouldn't be crashing on people
(05:11:40 PM) dmlloyd: JBSER is only useful in a narrow range of circumstances where its
non-spec compliance is offset by the marginal perf gains it gives
(05:11:51 PM) lincolnthree1: ah ha
(05:11:53 PM) dmlloyd: so I'd open a JBAS bug saying it shouldn't be hte default
(05:11:59 PM) lincolnthree1: thanks much!
(05:12:04 PM) dmlloyd: no prob :)
(05:12:27 PM) dmlloyd: also it's really wacky that it's printing this to stderr
(05:12:31 PM) dmlloyd: I'd open an EJB bug for that :)
(05:12:40 PM) dmlloyd: it should be logging it to a regular logger
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira