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
 
- IllegalArgumentException in EmbeddedEJB3

- IllegalArgumentException in EmbeddedEJB3

2007-06-12       - By KnisterPeter

 Back
Hi,

while setting up a seam app inside tomcat with EmbeddedEJB3 I'll get the
following exception and I cannot figure out why. Anyone has an idea what I am
doing wrong?

java.lang.RuntimeException Source code of java.lang.RuntimeException: java.lang.IllegalArgumentException Source code of java.lang.IllegalArgumentException: Null name
 |         at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot
(EJB3StandaloneBootstrap.java:391)
 |         at org.jboss.seam.core.Ejb.startup(Ejb.java:42)
 |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 |         at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
 |         at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |         at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:597)
 |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
 |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java
:123)
 |         at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
 |         at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
 |         at org.jboss.seam.Component.newInstance(Component.java:1746)
 |         at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
 |         at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle
.java:145)
 |         at org.jboss.seam.init.Initialization.init(Initialization.java:504)
 |         at org.jboss.seam.servlet.SeamListener.contextInitialized
(SeamListener.java:33)
 |         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:760)
 |         at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase
.java:740)
 |         at org.apache.catalina.core.StandardHost Source code of org.apache.catalina.core.StandardHost(StandardHost.java
:544)
 |         at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig
(HostConfig.java:626)
 |         at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig
(HostConfig.java:553)
 |         at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig
.java:488)
 |         at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig.java
:1138)
 |         at org.apache.catalina.startup.HostConfig Source code of org.apache.catalina.startup.HostConfig(HostConfig
.java:311)
 |         at org.apache.catalina.util.LifecycleSupport Source code of org.apache.catalina.util.LifecycleSupport
(LifecycleSupport.java:120)
 |         at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java
:1022)
 |         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:39)
 |         at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |         at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:597)
 |         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.IllegalArgumentException Source code of java.lang.IllegalArgumentException: Null name
 |         at org.jboss.dependency.plugins.AbstractController.getContext
(AbstractController.java:101)
 |         at org.jboss.kernel.plugins.dependency.AbstractKernelController
.getContext(AbstractKernelController.java:94)
 |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer
.internalValidate(AbstractKernelDeployer.java:229)
 |         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer
.validate(AbstractKernelDeployer.java:161)
 |         at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot
(EJB3StandaloneBootstrap.java:381)
 |         ... 38 common frames omitted
 |

I have the following files unter /WEB-INF/classes:
* The content of the mc-conf.jar
* jboss-beans.xml
* jndi.properties

In the /WEB-INF folder are:
* components.xml
* faces-config.xml

In my application jar file I have in the root folder:
* components.properties
* seam.properties

And at least in the META-INF folder of my application jar file:
* ejb-jar.xml
* faces-config.xml (extra definitions)
* persistence.xml

Any idea would be helpful...

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

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

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