Help

Controls

PermLinkWikiLink

Built with Seam

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.

Forum: Seam Users Forum ListTopic List
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:

  1. ant restart
  2. touch Authenticator.java
  3. ant explode
  4. browser: http://localhost:8080/bugtest/

I'm using jboss-4.2.2.GA, seam-2.0.2.SP1, java-1.6.0_05

2 Replies:
01. Jul 2008, 09:54 CET | Link

Can anyone tell me if I should report a bug at JIRA?

01. Jul 2008, 14:13 CET | Link

By the way, the problem shows up in 'dev' profile. It disappeared when I switched to 'prod'.