This content has been marked as final.
Show 3 replies
-
1. Re: ant seam-gen created project.
marius.oancea Oct 2, 2007 3:21 AM (in response to marius.oancea)I think i found it. In the reference docu i found:
You need to be aware of the following limitations:
? the components must be JavaBean components, they cannot be EJB3 beans (we are working on fixing this
limitation)
? entities can never be hot-deloyed
? components deployed via components.xml may not be hot-deployed
? the hot-deployable components will not be visible to any classes deployed outside of WEB-INF/dev
? Seam debug mode must be enabled
This is about <core:init debug="true"/> -
2. Re: ant seam-gen created project.
marius.oancea Oct 2, 2007 3:40 AM (in response to marius.oancea)I've set debug=false.
The result is :
10:38:02,453 INFO [Initialization] Installing components...
10:38:02,484 INFO [Component] Component: mainWindow, scope: SESSION, type: STAT
EFUL_SESSION_BEAN, class: test.MainWindowBean, JNDI: java:com
p/env/jboss-seam-jee5/MainWindowBean/local
10:38:02,484 ERROR [[/eptosiv]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.RuntimeException: Could not create Component: mainWindow
at
org.jboss.seam.init.Initialization.addComponent(Initialization.java:9
55)
at org.jboss.seam.init.Initialization.installComponents(Initialization.j
ava:882) -
3. Re: ant seam-gen created project.
marius.oancea Oct 3, 2007 10:02 AM (in response to marius.oancea)Solution was to create a method anotated with @Remove