Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Configuring POJOs as Seam Components in components.x

- Configuring POJOs as Seam Components in components.x

2007-07-11       - By youngm

 Back
I'm using 1.2.0.nightly

Is it legal to configure POJOs as Seam components in components.xml?

For example:
<component name="expanderState" class="java.util.HashMap Source code of java.util.HashMap" auto-create="true"
scope="conversation"/>

I get:


 | java.lang.RuntimeException Source code of java.lang.RuntimeException: Could not create Component: expanderState
 |   at org.jboss.seam.init.Initialization.addComponent(Initialization.java:910)
 |   at org.jboss.seam.init.Initialization.installComponents(Initialization
.java:841)
 |   at org.jboss.seam.init.Initialization.init(Initialization.java:508)
 |   at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener
.java:34)
 |   at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext
.java:3764)
 |   at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext.java
:4216)
 |   at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:1014)
 |   at org.apache.catalina.core.StandardHost Source code of org.apache.catalina.core.StandardHost(StandardHost.java:736)
 |   at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:1014)
 |   at org.apache.catalina.core.StandardEngine Source code of org.apache.catalina.core.StandardEngine(StandardEngine.java:443)
 |   at org.apache.catalina.core.StandardService Source code of org.apache.catalina.core.StandardService(StandardService.java:448)
 |   at org.apache.catalina.core.StandardServer Source code of org.apache.catalina.core.StandardServer(StandardServer.java:700)
 |   at org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:552)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
.java:64)
 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
 |   at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:615)
 |   at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:295)
 |   at org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:433)
 | Caused by:
 | java.lang.NullPointerException Source code of java.lang.NullPointerException
 |   at org.jboss.seam.init.DeploymentDescriptor.<init>(DeploymentDescriptor
.java:33)
 |   at org.jboss.seam.Seam.getEjbDescriptor(Seam.java:51)
 |   at org.jboss.seam.Seam.getComponentType(Seam.java:102)
 |   at org.jboss.seam.Component.<init>(Component.java:216)
 |   at org.jboss.seam.Component.<init>(Component.java:207)
 |   at org.jboss.seam.init.Initialization.addComponent(Initialization.java:896)
 |

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4063266#4063266

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4063266
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.