[JBoss Seam] - PhaseListenerManager Exception...
by diablo341
I've done a lot reading of other posts, but I don't see anything immediately wrong with the my code. I've been trying (chuckle) to get the seam-gen wiki example to work. It's a sample app that uses jBPM. When I publish the ear and go to http://localhost:8080/sample/home.seam, I get the following errors:
15:59:40,018 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase
| java.lang.IllegalStateException
| 15:59:40,018 INFO [SeamExceptionFilter] killing transaction
| 15:59:40,028 ERROR [ExceptionInterceptor] redirecting to debug page
| javax.ejb.EJBTransactionRolledbackException: java.lang.IllegalStateException: begin method invoked from a long running conversation, try using @Begin(join=true)
I haven't modified any code so far. Here's some snippets of some config files:
faces-config.xml
<lifecycle>
| <phase-listener>org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener</phase-listener>
| </lifecycle>
web.xml:
<listener>
| <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
| </listener>
|
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
| </context-param>
|
| <context-param>
| <param-name>facelets.DEVELOPMENT</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
I want to get this working before I move on to creating a blank template and then my real project here at work.
John
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982229#3982229
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982229
17 years, 6 months
[Messaging, JMS & JBossMQ] - upgrade issue: RARDeployment NOTYETINSTALLED
by arthomas73
I have upgraded from jboss 3.2.6 to 4.0.5. When I start my application I get these message on startup. What do I need to do to fix this?
So far I have cut off the Hypersonic stuff, and removed all dependencies on DefaultDS (timer, uuid, and juddi)
ObjectName: jboss.jca:service=ManagedConnectionFactory,name=JmsXA
State: CONFIGURED
I Depend On:
jboss.jca:service=RARDeployment,name=''
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=JmsXA
ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=JmsXA
State: CONFIGURED
I Depend On:
jboss.jca:service=TxCM,name=JmsXA
ObjectName: jboss.jca:service=TxCM,name=RemoteJmsXA
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionPool,name=RemoteJmsXA
jboss.jca:service=CachedConnectionManager
jboss.security:service=JaasSecurityManager
jboss:service=TransactionManager
Depends On Me:
jboss.jca:service=ConnectionFactoryBinding,name=RemoteJmsXA
ObjectName: jboss.jca:service=ManagedConnectionPool,name=RemoteJmsXA
State: CONFIGURED
I Depend On:
jboss.jca:service=ManagedConnectionFactory,name=RemoteJmsXA
Depends On Me:
jboss.jca:service=TxCM,name=RemoteJmsXA
ObjectName: jboss.jca:service=ManagedConnectionFactory,name=RemoteJmsXA
State: CONFIGURED
I Depend On:
jboss.jca:service=RARDeployment,name=''
Depends On Me:
jboss.jca:service=ManagedConnectionPool,name=RemoteJmsXA
ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=RemoteJmsXA
State: CONFIGURED
I Depend On:
jboss.jca:service=TxCM,name=RemoteJmsXA
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:service=RARDeployment,name=''
State: NOTYETINSTALLED
Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=JmsXA
jboss.jca:service=ManagedConnectionFactory,name=RemoteJmsXA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982227#3982227
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982227
17 years, 6 months
[JBoss Eclipse IDE (users)] - Re: Does JBossIDE2.0.0 Beta2 support EJB3 Project deployment
by rob.stryker@jboss.com
Add to Ear will not work until I get a response from someone on the wtp boards as to how to ensure the hidden wtp module files get the accurate info in them. I've simply not been able to track down those APIs.
In general it "works" but what does it do really? It's just a remake of the old ejb3 with little to no added functionality. It just uses the same type of window for creating a new ejb3 project as for other webtools type projects.
Add to server / remove from server right now still doesn't work but that's a conscious choice rather than a flaw. It'd be trivial for me to add it, but I'm kind of waiting for Marshall's packaging so I can start integrating new things with new things from the start rather than have it support some old hack way of doing things and then remove it in a week.
The only thing preventing the add to server / remove from server, right now, is some default packaging for the run-on-server. Like I said... trivial. Right now I'm strength-testing with a lot of the ejb3.0 tutorials to make sure everything works and I don't run into any snags. I keep running into snags for various things ;)
(I know... you're wondering what snags can one run into when all I've made is some a new project type... but in webtools, snags abound. And also, I've never really done j2ee dev so I'm teaching myself and making tons of stupid novice mistakes along the way. )
I'll have more news in a day or two I guess.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982224#3982224
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982224
17 years, 6 months