users@glassfish.java.net

Re: Deploy problem on Glassfish v3 ("This bundle has no bean of name")

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 09 Apr 2010 00:00:17 +0530

It looks like you have some plain jar files outside of lib dir of the
ear. Does your EJB depend on any of them for class loading? May be its
dependencies are not getting satisfied because of stricter class loading
rules of EE6? I suggest you try passing --compatibility=v2 to asadmin
deploy command and see if that makes a difference.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> This is rather big, I cannot share this.
> But, here is the list of files in the ear :
> [i]-META-INF/
> -ihe-ejb.jar
> -ihe-lib.jar
> -ihe-persistence.jar
> -TinyJSF.war
> -commons-codec-1.3.jar
> -commons-httpclient-3.1-rc1.jar
> -commons-logging-1.1.jar
> -commons-logging-adapters-1.1.jar
> -commons-logging-api-1.1.jar
> -core-ejb.jar
> -core-lib.jar
> -edtftpj-1.5.4.jar
> -hapi-base-0.6.jar
> -hapi-structures-v251-0.6.jar
> -hl7ra.rar
> -lib-frontws.jar
> -lib-hxlws.jar
> -libhxl-core.jar
> -libhxl-hl7.jar
> -libhxl-ihe.jar
> -libhxl-net.jar
> -libhxl-utils.jar
> -log4j-1.2.14.jar
> -persistence.jar
> -xercesImpl.jar[/i]
>
> in my META-INF directory I have the application.xml :
> [i]<?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
>
>
> <display-name>Hexalis-EJB</display-name>
> <module>
> <web>
> <web-uri>TinyJSF.war</web-uri>
> <context-root>/jsf</context-root>
> </web>
> </module>
> <module>
> <ejb>core-ejb.jar</ejb>
> </module>
> <module>
> <ejb>ihe-ejb.jar</ejb>
> </module>
> <module>
> <connector>hl7ra.rar</connector>
> </module>
> </application>
> [/i]
>
> The [b]ihe-ejb.jar[/b] contains the MessageDriven and the sun-ejb-jar.xml that causes problems.
> persistence.jar contains all of my EntityBeans and all other jars are kind of libs.
> Actually I'm trying to figure out if I don't have some dependency problems in Glassfish v3
> [Message sent by forum member 'rjuncu']
>
> http://forums.java.net/jive/thread.jspa?messageID=395951
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>