You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 7 Members of 4087 |
| Forum: Seam Users |
23. Jun 2008, 08:45 CET | Link |
I created a simple 'bugtest' project using seam-gen (war, hsql), added hibernate.cfg.xml, jbpm.cfg.xml, uncommented <bpm:... > section in components.xml. Then added empty component:
@Scope(ScopeType.CONVERSATION)
@Name("org.jboss.seam.bpm.businessProcess")
@BypassInterceptors
@Install(
dependencies="org.jboss.seam.bpm.jbpm",
precedence=APPLICATION,
classDependencies="javax.faces.context.FacesContext"
)
public class BusinessProcess extends
org.jboss.seam.faces.BusinessProcess {
}
All annotations above were copied from the parent class, except @Install.precedence changed to APPLICATION. Hot deploy of a changed components leads to NPE with HTTP-404. Steps to reproduce:
I'm using jboss-4.2.2.GA, seam-2.0.2.SP1, java-1.6.0_05
Can anyone tell me if I should report a bug at JIRA?
By the way, the problem shows up in 'dev' profile. It disappeared when I switched to 'prod'.