<< Back to previous view

[GLASSFISH-20736] CLONE -@Singleton @Startup (EJB) , with an @Observes(notifyObserver = IF_EXISTS) wont Deploy, Created: 01/Aug/13  Updated: 16/Apr/14

Status: Open
Project: glassfish
Component/s: cdi, ejb_container
Affects Version/s: 3.1.2_b23
Fix Version/s: None

Type: Bug Priority: Major
Reporter: ulrichBerl Assignee: jjsnyder83
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Glassfish 3.1.2. Windows 7, Java 1.6,


Tags: Singleton Startup notifyObserver
Participants: jjsnyder83 and ulrichBerl

 Description   

You get this, but i think GF eat the real weld exception somewhere. This happens only with the notifyObserver parameter, without is working fine, but i want to listen to events only when all i say so!!

I don't Implement any interface or something similar,...

@Singleton
@Startup
@TransactionManagement(TransactionManagementType.BEAN)
public class SubsystemConnectionMonitor {

// stuff
public void subsystemConnectionEventFired(
@Observes(notifyObserver = IF_EXISTS) SubsystemConnectionEvent incomingEvent) { subsystemConnectionMonitor.subsystemConnectionEventFired(incomingEvent); }

//other stuff

}

Then you get this,...
2013-03-05 16:54:41.278 SEVERE 20 Exception while loading the app (javax.enterprise.system.core.com.sun.enterprise.v3.server)
2013-03-05 16:54:42.963 SEVERE 20 Exception while shutting down application container (javax.enterprise.system.tools.admin.org.glassfish.deployment.admin)



 Comments   
Comment by jjsnyder83 [ 16/Apr/14 07:49 PM ]

Can you please test this against GF 4.0?





[GLASSFISH-20959] JMSContext injection does not work in CDI bean that is jbatch artifact. Created: 18/Jan/14  Updated: 16/Apr/14

Status: Open
Project: glassfish
Component/s: batch, cdi, jms
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: jiggster Assignee: Mahesh Kannan
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X 10.9, Ubuntu 12.04, Windows 7


Tags: 4_0_1-evangelists 4_0_1-review batch cdi jms
Participants: jiggster, jjsnyder83 and Mahesh Kannan

 Description   

The following construct does not work when used inside CDI bean that is batch artifact:

@Inject private JMSContext context;

It results in org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped when the injected context is used.



 Comments   
Comment by jiggster [ 18/Jan/14 09:23 PM ]

How can I add attachment? Would like to upload sample application that presents the issue...

Comment by jjsnyder83 [ 16/Apr/14 06:25 PM ]

Login and you should see "Attach file" under Operations on the left column.





[GLASSFISH-20996] EJB CreateException when calling a method in a retrieved local interface Created: 28/Feb/14  Updated: 16/Apr/14

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: sicruise Assignee: jjsnyder83
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

jdk7u51 64 bit , glassfish 4 up to glassfish-4.0.1-b04-02_26_2014, ubuntu


Tags: ejb createexception
Participants: Hong Zhang, jjsnyder83 and sicruise

 Description   

This application works perfectly in 3.1.2.2 and there has been no changes to the way beans are loaded when migrating to glassfish 4.

Application is building using jars under glassfish/modules directory, the same ones used for running.

EJB's effected so far are all marked with @Stateless annotation. The example here is the first bean that is executed on application startup.

EJB is being picked up and loaded into JNDI and when getting it from jndi it is an instance of the correct object. Just when you go to call a method in the bean it fails.

[2014-02-28T10:35:04.247+0000] [glassfish 4.0] [INFO] [AS-EJB-00054] [javax.enterprise.ejb.container] [tid: _ThreadID=37 _ThreadName=admin-listener(3)] [timeMillis: 1393583704247] [levelValue: 800] [[
Portable JNDI names for EJB DAOStatisticBean: [java:global/merchant/webapp/DAOStatisticBean, java:global/merchant/webapp/DAOStatisticBean!com.merchant.ejb.DAOStatisticBean]]]

but then...

[2014-02-28T10:35:08.055+0000] [glassfish 4.0] [SEVERE] [] [javax.enterprise.ejb.container] [tid: _ThreadID=37 _ThreadName=admin-listener(3)] [timeMillis: 1393583708055] [levelValue: 1000] [[
ejb.stateless_ejbcreate_exception]]

[2014-02-28T10:35:08.056+0000] [glassfish 4.0] [WARNING] [AS-EJB-00056] [javax.enterprise.ejb.container] [tid: _ThreadID=37 _ThreadName=admin-listener(3)] [timeMillis: 1393583708056] [levelValue: 900] [[
A system exception occurred during an invocation on EJB DAOStatisticBean, method: public com.merchant.dto.DAOStatisticDTO com.merchant.ejb.DAOStatisticBean.loadTodayStatistic() throws javax.ejb.EJBException]]

Root Cause of CreateException

Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988)
at org.jboss.weld.manager.BeanManagerImpl.getBean(BeanManagerImpl.java:1185)
at org.jboss.weld.manager.BeanManagerImpl.getBean(BeanManagerImpl.java:185)
at org.glassfish.weld.services.JCDIServiceImpl._createJCDIInjectionContext(JCDIServiceImpl.java:198)
at org.glassfish.weld.services.JCDIServiceImpl.createJCDIInjectionContext(JCDIServiceImpl.java:179)
at com.sun.ejb.containers.BaseContainer.createEjbInstanceAndContext(BaseContainer.java:1696)
at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:456)
at com.sun.ejb.containers.StatelessSessionContainer.access$000(StatelessSessionContainer.java:97)
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:698)
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:246)
at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:430)
at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2579)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1971)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:210)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at com.sun.proxy.$Proxy338.loadTodayStatistic(Unknown Source)
at com.merchant.ejb._EJB31_GeneratedDAOStatisticBeanIntf__Bean_.loadTodayStatistic(Unknown Source)
at com.merchant.thread.DAOStatisticThread.<init>(DAOStatisticThread.java:84)
at com.merchant.thread.DAOStatisticThread.startThread(DAOStatisticThread.java:195)
at com.merchant.InitServlet.init(InitServlet.java:102)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1583)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1382)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5704)



 Comments   
Comment by Hong Zhang [ 11/Apr/14 07:45 PM ]

As stack trace is from CDI code, assign to cdi team for initial evaluation.

Comment by jjsnyder83 [ 16/Apr/14 06:17 PM ]

Can you please provide a source code example of:

  • The definition of the ejb
  • How it is injected into the servlet (I assume it is injected into a servlet based on the stack trace)
  • How it is accessed that causes the exception.




[GLASSFISH-20922] upgrading weld-osgi-bundle.jar into 2.1.0.Final Created: 10/Dec/13  Updated: 15/Apr/14

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0
Fix Version/s: 4.0.1

Type: Task Priority: Critical
Reporter: TangYong Assignee: jjsnyder83
Resolution: Unresolved Votes: 1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: elio.alves, jjsnyder83, mauritzlovgren and TangYong

 Description   

upgrading weld-osgi-bundle.jar into 2.1.0.Final, in the version, there is the following big changes based on [1] and [2]

1. javax.inject has been removed from <_exportcontents> and javax.inject dependency has been removed

2. javax.enterprise.* has been removed from <_exportcontents> and javax.enterprise:cdi-api dependency has been removed

3. guava dependency has been removed

All is based on [3]and [4]

[1]: https://github.com/weld/core/blob/2.1/bundles/osgi/pom.xml
[2]: https://github.com/weld/core/commit/3e5cc452783161a9aae40160da1656216084bc33
[3]: https://issues.jboss.org/browse/WELD-1428
[4]: https://issues.jboss.org/browse/WELD-1477

Once upgrading 2.1.0.Final, these big changes will need GF distro to do the following:

1. javax.enterprise:cdi-api will be put into modules
2. whether current guava module in gf will meet the demand from weld-osgi-bundle. This needs to be confirm.



 Comments   
Comment by TangYong [ 10/Dec/13 02:04 PM ]

3. also confirm whether some modules which only depend on cdi api originally exported by weld-osgi-bundle, needs to be
switched into depending on javax.enterprise:cdi-api?

Comment by mauritzlovgren [ 01/Apr/14 11:01 AM ]

Might be important to inform current 4.0.0 users of the serious memory leak in the Weld version that is bundled with 4.0.0 release (Weld 2.0). Weld has released a fix for part of this memory leak that was causing big trouble in our production environment: http://weld.cdi-spec.org/news/2014/01/14/weld-212-final/. I assume that GF 4.0.1 will have a newer version of Weld, at least 2.0.5.Final or newer?).

Comment by elio.alves [ 14/Apr/14 09:20 PM ]

I fix this bug and update the weld version toweld-2.1.2.Final but I dont know how to commit.

Somebody can help-me?

Below my changes

update of lib weld-osgi-api to weld-2.1.2.Final because the atual version have a bug that mixing the sessions
update on BootstrapConfigurationImpl and ACLSingletonProvider to works with weld-2.1.2.Final. I implemented 4 methods that reuse the same old methods
I put two others bundles because the weld require it
I created another packager... but i dont know if are in the correct form, but, works fine

Comment by elio.alves [ 14/Apr/14 09:23 PM ]

How I can commit my changes?
This is my first fix in the java.net/jira

Comment by jjsnyder83 [ 15/Apr/14 01:25 PM ]

If you send me the changes I will get them committed in the next few days. There are a couple other steps that have to be done too before we can change the version.





[GLASSFISH-20850] classloader favors modules/guava.jar over guava library in the ear Created: 11/Oct/13  Updated: 14/Feb/14

Status: Open
Project: glassfish
Component/s: cdi, classloader
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Thomas Andres Assignee: jjsnyder83
Resolution: Unresolved Votes: 7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JERSEY-1884 Jersey 2.0 Maven artiifact depends on... Resolved
Tags:
Participants: hsaqallah, jjsnyder83, Joe Di Pol, simon.schlachter and Thomas Andres

 Description   

I tried to upgrad the guava library in our application to version 15-0. When I deploy the application on glassfish 4.0, I see the following Exception:

Caused by: java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.createStarted()Lcom/google/common/base/Stopwatch;
at MyClient.buildClient(MyClient.java:159)
at MyClient.initClient(MyClient.java:143)
at MyClient.<init>(MyClient.java:74)
at MyClient.<init>(MyClient.java:62)
at MyClientFactory.createClient(MyClientFactory.java:12)
at MyClientProducer.createClient(MyClientProducer.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)

To verify where the class is loaded from, I added:
URL resource = this.getClass().getClassLoader()
.getResource(Stopwatch.class.getName().replaceAll("
.", "/") + ".class");
LOGGER.info("URL for Stopwatch:" + resource.toString());
which gives me
URL for Stopwatch:bundle://108.0:1/com/google/common/base/Stopwatch.class

MyClient, MyClientFactory and MyClientProducer are all inside an ejb jar file.
guava-15.0.jar is in a lib folder next to the ejb jar (with lib/guava-15.0.jar in the ear META-INF/MANIFEST.MF Class-Path)

All other libraries there can be found. It just seems, that the weld classloader favors the guava.jar bundled with glassfish 4 over the one I provide for the application. I would expect the classloader to give stuff deployed with the ear a higher priority.



 Comments   
Comment by Thomas Andres [ 11/Oct/13 12:19 PM ]

BTW: Deploying the same ear on glassfish 3.1.2.2 works. The guava class is loaded correctly from the jar inside my ear.

(with a patched beans.xml, but that's another story...)

Comment by Joe Di Pol [ 11/Oct/13 05:56 PM ]

When we have had similar problems in the past the issue was that an OSGi module was exporting packages without any mechanism to prevent them from being found by the application's hierarchy of class loaders.

The solution was to add mandatory OSGi attributes to the exported packages that must be declared by any other module that wanted to import the packages. This prevents the API/Packages from leaking into the application space. I looked at guava.jar and it does not appear to do this – so maybe this is the problem.

For some additional information on this issue see the following:

https://java.net/jira/browse/GLASSFISH-5385
https://java.net/jira/browse/GLASSFISH-18176

Comment by simon.schlachter [ 31/Oct/13 09:18 AM ]

Exactly the same problem here.

Comment by simon.schlachter [ 01/Nov/13 11:46 AM ]

We were able to workaround the problem, by "patching" the manifests (MANIFEST.MF) of the included guava.jar file and its dependencies.

in guava we added ;mandatory:=password;password="GlassFish to all export-statements.

In the dependent modules we added ;password="GlassFish" to all import statements concerning com.google.common.*

The list of modules we had to patch is

  • jersey-bean-validation.jar
  • jersey-client.jar
  • jersey-common.jar
  • jersey-container-servlet-core.jar
  • jersey-container-servlet.jar
  • jersey-media-moxy.jar
  • jersey-mvc-jsp.jar
  • jersey-mvc.jar
  • jersey-server.jar

The effect of this change is that guava.jar-classes do no longer leak into the class path of our deployed application. This solves the guava-version-problem for us. The root problem, however, is not solved: Glassfish still favors its own classpath instead of that of the deployed application.

(The Idea for this workaround is originally from GLASSFISH-5385)

Comment by hsaqallah [ 14/Feb/14 05:24 PM ]

Patching GF4's files is error-prone and very impractical for a sane development/test/stage/prod environment. There should have been an easier fix. Too bad. Time to switch to Tomcat 7.





[GLASSFISH-20984] Unable to inject JMS resources in a bean defined in a dependency jar Created: 13/Feb/14  Updated: 13/Feb/14

Status: Open
Project: glassfish
Component/s: cdi, jms
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: electricsam Assignee: jjsnyder83
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux, jdk 1.7.0_45


Tags:
Participants: electricsam and jjsnyder83

 Description   

I have an @ApplicationScoped bean defined in a common library which I add to my projects in a dependency jar.

Injection of the connection factory and queue results in null objects when using @Resource

Example code:

In this code, I have tried both @Resource(name = "... and @Resource(mappedName = "... with the same result.

@ApplicationScoped
public class PerformanceLoggingProducer {

    private static final Logger logger = Logger.getLogger(PerformanceLoggingProducer.class.getName());

    @Resource(mappedName = "jms/ConnectionFactory")
    private ConnectionFactory connectionFactory;
    @Resource(name = "jms/PerformanceLoggingQueue")
    private Queue queue;

    public void log(final PerformanceLogTracker tracker) {

        if (tracker != null) {
      
            Thread t = new Thread(new Runnable() {

                @Override
                public void run() {
                    try (Connection connection = connectionFactory.createConnection()) {
                        Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
                        MessageProducer producer = session.createProducer(queue);
                        ObjectMessage message = session.createObjectMessage(tracker);
                        producer.send(message);
                    } catch (Exception ex) {
                        logger.log(Level.SEVERE, "An error occurred when logging message: " + tracker, ex);
                    }
                }
            });
            
            t.start();

        }
    }

}

Workaround:

Don't use @Resource for the lookup.

@ApplicationScoped
public class PerformanceLoggingProducer {

    private static final Logger logger = Logger.getLogger(PerformanceLoggingProducer.class.getName());

//    @Resource(mappedName = "jms/ConnectionFactory")
    private ConnectionFactory connectionFactory;
//    @Resource(name = "jms/PerformanceLoggingQueue")
    private Queue queue;

    public PerformanceLoggingProducer() {
        try {
            connectionFactory = (ConnectionFactory) new InitialContext().lookup("jms/ConnectionFactory");
            queue = (Queue) new InitialContext().lookup("jms/PerformanceLoggingQueue");
        } catch (NamingException ex) {
            logger.log(Level.SEVERE, null, ex);
        }
    }

    public void log(final PerformanceLogTracker tracker) {

        if (tracker != null) {
      
            Thread t = new Thread(new Runnable() {

                @Override
                public void run() {
                    try (Connection connection = connectionFactory.createConnection()) {
                        Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
                        MessageProducer producer = session.createProducer(queue);
                        ObjectMessage message = session.createObjectMessage(tracker);
                        producer.send(message);
                    } catch (Exception ex) {
                        logger.log(Level.SEVERE, "An error occurred when logging message: " + tracker, ex);
                    }
                }
            });
            
            t.start();

        }
    }

}





[GLASSFISH-20982] @RequestScoped and @SessionScoped beans do not work in requests initiated by a forward Created: 13/Feb/14  Updated: 13/Feb/14

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: electricsam Assignee: jjsnyder83
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux, jdk 1.7.0_45


Tags:
Participants: electricsam and jjsnyder83

 Description   

When a method on a @RequestScoped or @SessionScoped bean is invoked where the request came from a forward, a org.jboss.weld.context.ContextNotActiveException is thrown.

In my setup, I have a second application that handles some resource requests. In my main app, I request the resource with a forward:

request.getServletContext().getContext("/resource").getRequestDispatcher(path).forward(request, response)

I also have some common auditing code which uses @RequestScoped and @SessionScoped beans. These beans work correctly in the main app with a user invoked request, but not in the servlet handling the forward (and possibly include).

@RequestScoped
public class RequestDataTracker {

    private String action;
    private final UUID requestId = UUID.randomUUID();
    private String sessionId;
    private String username;

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        if (this.sessionId == null) {
            this.sessionId = sessionId;
        }
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        if (this.username == null) {
            this.username = username;
        }
    }

    public UUID getRequestId() {
        return requestId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    @Override
    public String toString() {
        return "RequestDataTracker{" + "action=" + action + ", requestId=" + requestId + ", sessionId=" + sessionId + ", username=" + username + '}';
    }

}

I have a BaseLoggingServlet that extends HttpServlet that has the logic for logging. The LoggingServlet extends that and implements methods to get and set data in an injected RequestDataTracker

public abstract class LoggingServlet extends BaseLoggingServlet {

    @Inject
    protected RequestDataTracker requestDataTracker;

    @Override
    protected String getUsername(HttpServletRequest request) {
        String username = SessionUtil.getSessionObject(request, CmdCtrConsts.USERNAME, String.class, false);
        if(username == null){
            username = (String) request.getAttribute(CmdCtrConsts.ACTUAL_USERNAME);
        }
        requestDataTracker.setUsername(username);
        return requestDataTracker.getUsername();
    }

    @Override
    protected UUID getRequestId(HttpServletRequest request) {
         return requestDataTracker.getRequestId();
    }

    @Override
    protected String getSessionId(HttpServletRequest request) {
        String sessionId = super.getSessionId(request);
        requestDataTracker.setSessionId(sessionId);
        return requestDataTracker.getSessionId();
    }
}

The following exception is thrown:

org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped
	at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:667)
	at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:74)
	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
	at com.me.myproduct.logging.performance.RequestDataTracker$Proxy$_$$_WeldClientProxy.setSessionId(Unknown Source)
	at com.me.myproduct.core.common.logging.LoggingServlet.logAndProcess(LoggingServlet.java:27)
	at com.me.myproduct.core.common.logging.LoggingServlet.doGet(LoggingServlet.java:48)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:875)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:739)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:575)
	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:546)
	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:428)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:378)
	at com.me.myproduct.core.servlets.RequestDispatcherUtil.forward(RequestDispatcherUtil.java:51)
	at com.me.myproduct.core.servlets.portlet.ServeResourceDispatcherServlet.processRequest(ServeResourceDispatcherServlet.java:64)
	at com.me.myproduct.core.common.logging.LoggingServlet.logAndProcess(LoggingServlet.java:35)
	at com.me.myproduct.core.common.logging.LoggingServlet.doGet(LoggingServlet.java:48)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
	at com.me.myproduct.core.filters.SecurityFilter.doFilter(SecurityFilter.java:99)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
	at java.lang.Thread.run(Thread.java:744)





[GLASSFISH-20928] Cache the created InjectionTarget objects Created: 16/Dec/13  Updated: 16/Dec/13

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: jjsnyder83 Assignee: jjsnyder83
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: jjsnyder83

 Description   

In JDCIServiceImpl#injectManagedObject cache the created InjectionTarget objects.






[GLASSFISH-20870] ViewScoped conditional event observer NPE Created: 24/Oct/13  Updated: 24/Oct/13

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: jnfelix Assignee: jjsnyder83
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Vista, Netbeans 7.4, included Glassfish 4.0, JSF 2.2


Tags: CDI events ViewScoped
Participants: jjsnyder83 and jnfelix

 Description   

When a CDI event is fired from a JSF @SessionScoped bean, @ViewScoped event listeners using Reception.IF_EXISTS (see below) are involved in the notifications chain even if the view does NOT exist. The bean is not really created and observer method is not reached but the server throws:

java.lang.NullPointerException
at org.jboss.weld.injection.producer.BeanInjectionTarget.produce(BeanInjectionTarget.java:177)
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:157)
at com.sun.faces.application.view.ViewScopeContextManager.createBean(ViewScopeContextManager.java:120)
at com.sun.faces.application.view.ViewScopeContext.get(ViewScopeContext.java:137)
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:716)
at org.jboss.weld.event.ObserverMethodImpl.getReceiver(ObserverMethodImpl.java:302)
at org.jboss.weld.event.ObserverMethodImpl.getReceiverIfExists(ObserverMethodImpl.java:295)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:259)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:240)
at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)
at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:166)
at org.jboss.weld.event.TransactionalObserverNotifier.notifyObserver(TransactionalObserverNotifier.java:44)
at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:120)
at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:113)
at org.jboss.weld.event.EventImpl.fire(EventImpl.java:79)
at com.mytest.core.web.model.UserContext.setManagedShopInfo(UserContext.java:63)
at com.my.core.web.model.UserContext$Proxy$_$$_WeldClientProxy.setManagedShopInf

Simple view scoped observer:

import javax.faces.view.ViewScoped;

@Named(value = "cdiEvents")
@ViewScoped
public class TestCdiEvents implements Serializable{

public void onUserContextEvent(@Observes (notifyObserver = Reception.IF_EXISTS) @EventUserContext String chg){... }
}

Notes:

  • changing the scope from @ViewScoped to @SessionScoped fixes the issue (as expected, the bean is not created and no error/event is fired);
  • changing reception to ALWAYS also behaves as expected (bean created & listener method called)

This may be related to https://community.jboss.org/message/840033 but I couldn't test the weld osgi 2.1 bundle in GF4 instalattion(some packages were removed and could't make GF start)



 Comments   
Comment by jnfelix [ 24/Oct/13 04:25 PM ]

Correction: it seems it tries to create the bean, the constructor for the @ViewScoped bean is called (it doesn't hit @PostConstruct where i had the breakpoint initially) when the event is fired





[GLASSFISH-20796] Producing a Persistence Unit returns nul Created: 04/Sep/13  Updated: 10/Sep/13

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: arungupta Assignee: jjsnyder83
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

File Attachments: Zip Archive pu-typesafe.zip    
Tags:
Participants: arungupta and jjsnyder83

 Description   

I've created a sample to show how Persistence Units can be injected in a typesafe manner using CDI. The complete source code of the sample is available at:

https://github.com/arun-gupta/javaee7-samples/tree/master/jpa/pu-typesafe

The application has one Persistence Unit and is "produced" as:

static @Produces @PersistenceContext(unitName = "defaultPU") @DefaultDatabase EntityManager defaultEM;

But when injected in an EJB as:

@Inject @DefaultDatabase
    EntityManager defaultEM;

the sampleEM returns null. Injecting the PU the traditional way as:

@PersistenceContext(unitName = "defaultPU")
    EntityManager defaultEM;

seems to work.

Attached file provides the sample.



 Comments   
Comment by jjsnyder83 [ 10/Sep/13 06:26 PM ]

Appears to be a bug in Weld. See https://issues.jboss.org/browse/WELD-1505.





[GLASSFISH-20566] Deployment of a EJB fails with CDI if the bean is described by a descriptor instead of an annotation Created: 21/May/13  Updated: 12/Aug/13

Status: Reopened
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0_b89_RC5
Fix Version/s: 4.0.1

Type: Bug Priority: Blocker
Reporter: sd_ Assignee: phil.zampino
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux


File Attachments: File JCDIServiceBugEar.ear    
Tags:
Participants: jjsnyder83, phil.zampino and sd_

 Description   

A NP is thrown in in org.glassfish.weld.services.JCDIServiceImpl#_createJCDIInjectionContext(EjbDescriptor ejb, T instance), when a bean is being described by a deployment descriptor in the corresponding jar instead of using annotations :

[glassfish 4.0] [SEVERE] [ejb.stateless_ejbcreate_exception]
[javax.enterprise.system.container.ejb.com.sun.ejb.containers] [tid: _ThreadID=135 _ThreadName=admin-listener(11)]
[timeMillis: ...] [levelValue: 1000] [[EJB5070: Exception creating stateless session bean : [MyTimerBean]]]

[glassfish 4.0] [WARNING] [ejb.system_exception] [javax.enterprise.system.container.ejb.com.sun.ejb.containers]
[tid: _ThreadID=135 _ThreadName=admin-listener(11)] [timeMillis: ...] [levelValue: 900]
[[ EJB5184:A system exception occurred during an invocation on EJB MyTimerBean,
method: public void MyTimerBean.cancelAllTimers()]]

[glassfish 4.0] [WARNING] [] [javax.enterprise.system.container.ejb.com.sun.ejb.containers]
[tid: _ThreadID=135 _ThreadName=admin-listener(11)] [timeMillis: ...] [levelValue: 900] [[

javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:435)
at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2516)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1906)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:204)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:123)
at com.sun.proxy.$Proxy266.cancelAllTimers(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:239)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:150)
at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:226)
at MyTimer_DynamicStub.cancelAllTimers(_MyTimer_DynamicStub.java)
...
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.BeanCallbackInterceptor.intercept(InterceptorManager.java:1035)
at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
at com.sun.ejb.containers.interceptors.CallbackInvocationContext.proceed(CallbackInvocationContext.java:205)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.CallbackInterceptor.intercept(InterceptorManager.java:986)
at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
at com.sun.ejb.containers.interceptors.CallbackInvocationContext.proceed(CallbackInvocationContext.java:205)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.init(SystemInterceptorProxy.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.CallbackInterceptor.intercept(InterceptorManager.java:986)
at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
at com.sun.ejb.containers.interceptors.CallbackInvocationContext.proceed(CallbackInvocationContext.java:205)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.init(SystemInterceptorProxy.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ejb.containers.interceptors.CallbackInterceptor.intercept(InterceptorManager.java:986)
at com.sun.ejb.containers.interceptors.CallbackChainImpl.invokeNext(CallbackChainImpl.java:72)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:412)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:375)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:1949)
at com.sun.ejb.containers.AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:475)
at com.sun.ejb.containers.AbstractSingletonContainer.access$000(AbstractSingletonContainer.java:81)
at com.sun.ejb.containers.AbstractSingletonContainer$SingletonContextFactory.create(AbstractSingletonContainer.java:654)
at com.sun.ejb.containers.AbstractSingletonContainer.instantiateSingletonInstance(AbstractSingletonContainer.java:396)
at org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:219)
at org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:180)
at org.glassfish.ejb.startup.SingletonLifeCycleManager.doStartup(SingletonLifeCycleManager.java:158)
at org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:166)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:213)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:356)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:396)
at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandMultInMultOut(CommandResource.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:125)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:91)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:346)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:341)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:224)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:198)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:946)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:331)
at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:165)
at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:181)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
at java.lang.Thread.run(Thread.java:722)
Caused by: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:700)
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:246)
at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:430)
... 124 more
Caused by: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:514)
at com.sun.ejb.containers.StatelessSessionContainer.access$000(StatelessSessionContainer.java:97)
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:698)
... 126 more
Caused by: java.lang.reflect.InvocationTargetException
at com.sun.ejb.containers.BaseContainer.createEjbInstanceAndContext(BaseContainer.java:1641)
at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:456)
... 128 more
Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988)
at org.jboss.weld.manager.BeanManagerImpl.getBean(BeanManagerImpl.java:1163)
at org.jboss.weld.manager.BeanManagerImpl.getBean(BeanManagerImpl.java:178)
at org.glassfish.weld.services.JCDIServiceImpl._createJCDIInjectionContext(JCDIServiceImpl.java:198)
at org.glassfish.weld.services.JCDIServiceImpl.createJCDIInjectionContext(JCDIServiceImpl.java:179)
at com.sun.ejb.containers.BaseContainer.createEjbInstanceAndContext(BaseContainer.java:1631)
... 129 more
]]

RootCause :

org.glassfish.weld.services.JCDIServiceImpl#_createJCDIInjectionContext(EjbDescriptor ejb, T instance)

org.jboss.weld.ejb.spi.EjbDescriptor ejbDesc = weldManager.getEjbDescriptor(ejb.getName());
// Get an the Bean object
Bean<?> bean = weldManager.getBean(ejbDesc);

It sounds like the second experience under https://java.net/jira/browse/GLASSFISH-15888 .
The bda only shows up beans, that are being described by annotations. It seems that the deployment descriptors are ignored.



 Comments   
Comment by jjsnyder83 [ 22/May/13 10:44 AM ]

Please attach the application with source code.

Comment by jjsnyder83 [ 31/May/13 01:58 PM ]

The reason it is failing is because the ejb classes are not in the ejb jar but are in another jar in the application's classpath. I checked with Marina and she said that the way your application is packaged is valid but the GF CDI code is written such that it expects the ejbs to be in the same jar as the ejb descriptor. I will have to think about how to fix this.

In the mean time because this is not a cdi application you can issue the following asadmin command to disable cdi and your application will deploy without any exceptions:

$GFHOME/bin/asadmin set configs.config.server-config.cdi-service.enable-implicit-cdi=false

Comment by phil.zampino [ 18/Jun/13 02:34 PM ]

Removed unnecessary restriction that EJB classes be packaged in the EJB JAR in which the corresponding descriptor is packaged. Now, EJB classes packaged outside the JAR containing their descriptor will be correctly loaded.

Committed revision 62240.

Comment by phil.zampino [ 12/Aug/13 02:05 PM ]

The previous fix breaks the CDI TCK. So, this issue needs to be revisited.





[GLASSFISH-20540] PSR:PERF Implicit CDI causing 30% performance regression Created: 16/May/13  Updated: 26/Jun/13

Status: Reopened
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0_b89_RC5
Fix Version/s: 4.0.1

Type: Bug Priority: Major
Reporter: Scott Oaks Assignee: Scott Oaks
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: PSRBUG
Participants: jjsnyder83, phil.zampino and Scott Oaks

 Description   

Micro benchmarks on EJB local session beans have regressed by 30% in current build. This is because of implicit CDI; if I set cdi-enable-implicit=false, performance reverts to previous levels.

I suspect this is a new weld integration to fix for https://java.net/jira/browse/GLASSFISH-20474 – and the memory leak is fixed, but we are left with the new performance regression.

The WeldListnener is consuming about 30% of total CPU now, particularly in the WeldListener.requestDestroy() method.



 Comments   
Comment by jjsnyder83 [ 22/May/13 05:31 PM ]

I'm not sure there's much we can do about this. As you stated, when you disable implicit cdi you get the same results as before. With implicit cdi enabled cdi is getting involved with the ejbs and so additional processing is happening. If cdi is not required then it should be turned off for maximum performance.

Comment by Scott Oaks [ 22/May/13 08:22 PM ]

I don't think "work as intended" is an accurate description – I don't think the intention of enabling CDI by default is to introduce a 30% performance regression in EJB operations.

We need to look into and optimize the Weld implementation here. If we conclude that it cannot be improved on, then we can figure out next steps. But I suspect, given the size of the penalty, that there is some optimizing we can do. I'll get PSR staff to do some initial analysis (but also, can we check with the Weld implementors and see if they are aware of this, as they were already aware of the memory leak)?

Comment by jjsnyder83 [ 22/May/13 08:38 PM ]

Enabling CDI causes CDI to get involved in all EJB requests so if there's a lot of EJB "action" happening then there's going to be a performance hit when CDI is involved. I agree 30% seems drastic!

It's entirely possible that Weld can improve the implementation and I'll be glad to open a Weld Jira. It would be very helpful if I could provide some more information as well as an application that when run emphasizes the performance hit...Can the PSR staff provide that info?

(btw, The weld guys were not aware of the memory leak until we pointed it out )

Comment by phil.zampino [ 24/Jun/13 05:55 PM ]

After a brief exchange with the Weld lead, I've filed https://issues.jboss.org/browse/WELD-1443

Comment by phil.zampino [ 26/Jun/13 03:04 PM ]

The associated Weld issue is scheduled to be included in Weld 2.0.3.Final





[GLASSFISH-20341] Support for AroundConstruct Interceptors defined in ejb-jar.xml Created: 17/Apr/13  Updated: 20/Jun/13

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0
Fix Version/s: 4.0.1

Type: Bug Priority: Major
Reporter: arjavdesai Assignee: phil.zampino
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: arjavdesai, phil.zampino and tlcksnyder

 Description   

We are seeing a few EJB devtest failure

ejb32/interceptors/constructor-level/descriptor/
ejb32/interceptors/aroundconstruct/descriptor/
ejb32/interceptors/get_method_lc/descriptor/

where Interceptor for AroundConstruct on a bean are defined "only in" ejb-jar.xml and implicit CDI scanning has been enabled. The exception reported is:

[java] Caused by: java.lang.RuntimeException: [SfulEJB] InterceptorA.AroundConstruct was not called
[java] at com.acme.BaseBean.verify(BaseBean.java:17)
[java] at com.acme.SfulEJB.hello(SfulEJB.java:19)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:601)
[java] at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
[java] at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
[java] at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4695)
[java] at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:630)
[java] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
[java] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:582)
[java] at com.acme.InterceptorA.interceptCall(InterceptorA.java:51)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:601)
[java] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
[java] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
[java] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:582)
[java] at com.acme.InterceptorB.interceptCall(InterceptorB.java:46)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:601)
[java] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
[java] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
[java] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:582)
[java] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:601)
[java] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
[java] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
[java] at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
[java] at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4667)
[java] at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4655)
[java] at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)



 Comments   
Comment by arjavdesai [ 17/Apr/13 08:16 PM ]

Waiting on WELD to resolve https://issues.jboss.org/browse/WELD-1412. In the meantime, if AroundConstruct interceptors are specified in the ejb-jar.xml, that module can't use CDI. Hence the above mentioned tests are modified to disable CDI scanning. To reproduce the issue, please remove beans.xml from it.

Comment by tlcksnyder [ 23/Apr/13 02:09 PM ]

JBoss not planning to fix in Weld 2.0, therefore it is not making initial drop for EE7 / 4.0.

Comment by arjavdesai [ 24/Apr/13 06:56 PM ]

Following EJB CTS failure are caused by this issue as well:

com/sun/ts/tests/ejb30/lite/interceptor/singleton/lifecycle/descriptor/Client.java#aroundConstructInterceptorTest_from_ejbembed: Client_aroundConstructInterceptorTest_from_ejbembed
Failed with exception
java.lang.RuntimeException: nullExpecting result list: [InterceptorA, Interceptor9, Interceptor9, InterceptorBaseBase, InterceptorBase, InterceptorBaseBase, InterceptorBase, InterceptorBeanBase, AroundConstructInterceptorBean]null , but actual: [InterceptorBaseBase, InterceptorBase, InterceptorBaseBase, InterceptorBase, InterceptorBeanBase, AroundConstructInterceptorBean]
at com.sun.ts.tests.ejb30.common.helper.Helper.compareResultList(Helper.java:36)
at com.sun.ts.tests.ejb30.common.helper.Helper.compareResultList(Helper.java:42)
at com.sun.ts.tests.ejb30.lite.interceptor.common.lifecycle.ClientBase.interceptorTest(ClientBase.java:146)
at com.sun.ts.tests.ejb30.lite.interceptor.common.lifecycle.ClientBase.aroundConstructInterceptorTest(ClientBase.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ts.tests.ejb30.common.lite.EJBLiteClientBase.runTestInVehicle(EJBLiteClientBase.java:221)
at com.sun.ts.tests.ejb30.common.lite.EJBLiteClientBase.getStatus(EJBLiteClientBase.java:114)
at com.sun.ts.tests.common.vehicle.ejbembed.EJBEmbedRunner.run(EJBEmbedRunner.java:41)
at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102)
at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:446)
at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:210)
at com.sun.ts.lib.harness.EETest.run(EETest.java:257)
at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:27)

com/sun/ts/tests/ejb30/lite/interceptor/singleton/lifecycle/descriptor/Client.java#aroundConstructInterceptorTest_from_ejblitejsf: Client_aroundConstructInterceptorTest_from_ejblitejsf
com/sun/ts/tests/ejb30/lite/interceptor/singleton/lifecycle/descriptor/Client.java#aroundConstructInterceptorTest_from_ejblitejsp: Client_aroundConstructInterceptorTest_from_ejblitejsp
com/sun/ts/tests/ejb30/lite/interceptor/singleton/lifecycle/descriptor/Client.java#aroundConstructInterceptorTest_from_ejbliteservlet: Client_aroundConstructInterceptorTest_from_ejbliteservlet
com/sun/ts/tests/ejb30/lite/interceptor/singleton/lifecycle/descriptor/Client.java#aroundConstructInterceptorTest_from_ejbliteservlet2: Client_aroundConstructInterceptorTest_from_ejbliteservlet2

java.lang.RuntimeException:
Expecting result list: [InterceptorA, Interceptor9, Interceptor9, InterceptorBaseBase, InterceptorBase, InterceptorBaseBase, InterceptorBase, InterceptorBeanBase, AroundConstructInterceptorBean]
, but actual: [InterceptorBaseBase, InterceptorBase, InterceptorBaseBase, InterceptorBase, InterceptorBeanBase, AroundConstructInterceptorBean]
at com.sun.ts.tests.ejb30.common.helper.Helper.compareResultList(Helper.java:36)
at com.sun.ts.tests.ejb30.common.helper.Helper.compareResultList(Helper.java:42)
at com.sun.ts.tests.ejb30.lite.interceptor.common.lifecycle.ClientBase.interceptorTest(ClientBase.java:146)
at com.sun.ts.tests.ejb30.lite.interceptor.common.lifecycle.ClientBase.aroundConstructInterceptorTest(ClientBase.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.ts.tests.ejb30.common.lite.EJBLiteClientBase.runTestInVehicle(EJBLiteClientBase.java:221)
at com.sun.ts.tests.ejb30.common.lite.EJBLiteClientBase.getStatus(EJBLiteClientBase.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:363)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue(AstValue.java:140)
at com.sun.el.parser.AstValue.getValue(AstValue.java:204)
at com.sun.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:63)
at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:68)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
at javax.faces.component.UIOutput.getValue(UIOutput.java:174)

Comment by phil.zampino [ 20/Jun/13 07:28 PM ]

The associated Weld issue (https://issues.jboss.org/browse/WELD-1412) is targeted for 2.0.1, but is as of yet unresolved.





[GLASSFISH-20637] Java EE 7 CDI issues on GlassFish 4 Created: 16/Jun/13  Updated: 17/Jun/13

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: 4.0_b89_RC5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: biemond Assignee: phil.zampino
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mac osx


Tags: cdi jsf2_2 glassfish4
Participants: biemond, Darious3, jjsnyder83 and phil.zampino

 Description   

Hi,

Got some CDI issues on the latest GlassFish version

First in JSF2.2 the flowDefinition of flows does not work , I needed to use the faces-config.xml and that works perfectly

my example
@Named("flow1")
public class Flow1 implements Serializable {

private static final long serialVersionUID = -1L;

@Produces @FlowDefinition
public Flow buildMyFlow(@FlowBuilderParameter FlowBuilder flowBuilder) { System.out.println("flowdef"); String flowId = "flow1"; flowBuilder.id("", flowId); flowBuilder.viewNode(flowId, "/flow1/" + flowId + ".xhtml").markAsStartNode(); return flowBuilder.getFlow(); }
}

Also in the websockets and do an inject of session bean and does not do anything , also listen to an CDI event inside does not work

@ServerEndpoint("/mywebsocket")
public class MyWebSocket implements Serializable {

@Inject
JmsSessionBean jmsBean;

public void onJMSMessage(@Observes @CDIJmsEvent Message msg) {
System.out.println("Got JMS Message at WebSocket!");
try {
for (Session s : sessions) { s.getBasicRemote().sendText("message from JMS: " + msg.getBody(String.class)); }
} catch (IOException | JMSException ex) { ex.printStackTrace(); }
}

Inside a managed bean Inject and the CDI events works perfectly



 Comments   
Comment by Darious3 [ 17/Jun/13 07:29 AM ]

Flow example with formatting:

@Named("flow1")
public class Flow1 implements Serializable {

    private static final long serialVersionUID = -1L;

    @Produces @FlowDefinition
    public Flow buildMyFlow(@FlowBuilderParameter FlowBuilder flowBuilder) { 
       
        String flowId = "flow1"; 
        flowBuilder.id("", flowId); 
        flowBuilder.viewNode(flowId, "/flow1/" + flowId + ".xhtml").markAsStartNode(); 

        return flowBuilder.getFlow();
    }
}

WebSocket with formatting

@ServerEndpoint("/mywebsocket")
public class MyWebSocket implements Serializable {

    @Inject
    JmsSessionBean jmsBean;

    public void onJMSMessage(@Observes @CDIJmsEvent Message msg) {
        try {
            for (Session session : sessions) {
                session.getBasicRemote().sendText("message from JMS: " + msg.getBody(String.class));
            }
        } catch (IOException | JMSException ex) {
            ex.printStackTrace();
        }
    }
}
Comment by jjsnyder83 [ 17/Jun/13 03:37 PM ]

I believe the WebSocket issue is a duplicte of : https://java.net/jira/browse/GLASSFISH-20371.

For the JSF issue can you provide more information on what the expected results are?

Comment by biemond [ 17/Jun/13 05:48 PM ]

Hi,

here is my netbeans projects on glassfish 4 https://github.com/biemond/JavaEE7

I defined some JSF 2.2 flows in
https://github.com/biemond/JavaEE7/tree/master/WebApp7EE/WebApp7EE-war/web/flow1

When I add this flow definition in the faces-config.xml it works fine
https://github.com/biemond/JavaEE7/blob/master/WebApp7EE/WebApp7EE-war/web/WEB-INF/faces-config.xml

but when I try to do the same in this class with the help of CDI
@Produces @FlowDefinition
public Flow defineFlow(@FlowBuilderParameter FlowBuilder flowBuilder)
in java class
https://github.com/biemond/JavaEE7/blob/master/WebApp7EE/WebApp7EE-war/src/java/nl/amis/web/flow/Flow1.java

It does not do anything ( don't see any CDI error ) and the page /flow1.xhtml can not be found.

Thanks





[GLASSFISH-20413] automate jms resource creation for weld glassfish tck runner Created: 25/Apr/13  Updated: 03/Jun/13

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: None
Fix Version/s: 4.1

Type: Bug Priority: Major
Reporter: jjsnyder83 Assignee: phil.zampino
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: jjsnyder83 and phil.zampino

 Description   

See
https://github.com/weld/weld-glassfish-tck-runner/blob/master/src/test/java/org/jboss/weld/tck/glassfish/GlassFishResourceManager.java#L36

Wouldn't it be better to support this directly in the Managed/Remote containers in the same way it's done for Embedded, by exposing a configuration option in ContainerConfiguration. Then any user can install a global resources.xml file during the lifetime of the test execution. Installed in start(), removed in stop() ?

glassfish embedded configuration:
https://github.com/arquillian/arquillian-container-glassfish/blob/master/glassfish-embedded-3.1/src/main/java/org/jboss/arquillian/container/glassfish/embedded_3_1/GlassFishConfiguration.java#L156

glassfish embedded impl:
https://github.com/arquillian/arquillian-container-glassfish/blob/master/glassfish-embedded-3.1/src/main/java/org/jboss/arquillian/container/glassfish/embedded_3_1/GlassFishContainer.java#L186

glassfish-resources.xml example: https://github.com/ahhughes/glassfish3x.resources.xml.example/blob/master/glassfish3x-resources-xml-example-ear/src/main/application/META-INF/glassfish-resources.xml



 Comments   
Comment by jjsnyder83 [ 25/Apr/13 09:56 PM ]

The arquillian.xml property, in this case, allow for a , separated list of resource file references. Tho I'm pretty sure you could define two jms resources in one resource.xml file as well.





[GLASSFISH-20422] multiple extensions in same bda Created: 26/Apr/13  Updated: 03/Jun/13

Status: Open
Project: glassfish
Component/s: cdi
Affects Version/s: None
Fix Version/s: 4.0.1

Type: Bug Priority: Minor
Reporter: jjsnyder83 Assignee: phil.zampino
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags:
Participants: jjsnyder83 and phil.zampino

 Description   

So in my debugging of the Producer Bean issue I noticed that in GF we have a jar that contains multiple extensions and no beans.xml. So I have the following questions:
1) Should there be 1 bda for each extension or can multiple extensions go into the same bda?
Multiple extensions can go into the same BDA as long as accessibility rules are fulfilled. Definitely no need to create separate bda per extension.
2) Should the extension class itself be placed into the bda as a bean class?
If they are packaged in the same archive then yes they should end up in the same BDA. However, if you create multiple BDAs and reflect accessibility rules within them in the BDA graph it should again not make a difference.

Also in DeploymentImpl.getBeanDeploymentArchive check the extension bdas too.






[GLASSFISH-15225] [OSGi] CDI beans not accessible in web applications Created: 15/Dec/10  Updated: 27/Mar/13

Status: Open
Project: glassfish
Component/s: cdi, OSGi-JavaEE
Affects Version/s: 3.1_b33
Fix Version/s: 4.0.1

Type: Bug Priority: Major
Reporter: chaoslayer Assignee: Sanjeeb Sahoo
Resolution: Unresolved Votes: 2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

File Attachments: GZip Archive dummy-cdi-web-test.tar.gz     File dummy-web.war     XML File weld.faces-config.xml    
Issue Links:
Dependency
depends on GLASSFISH-15353 component id is not unregistered from... Resolved
Status Whiteboard:

Workaround: Use attached faces-config.xml

Tags: 3_1-exclude 3_1-next 3_1_1-scrubbed
Participants: chaoslayer, Sanjeeb Sahoo, Sivakumar Thyagarajan and TangYong

 Description   

This seems to be related to GLASSFISH-14842.

However as that bug seems to be fixed this could be introduced by the OSGi/CDI integration.

Attached a test project ( dummy-cdi-web-test.tar.gz ) which is a maven project building a WAB. To see the issue immediately try to access it like this:

http://localhost:8080/dummy-web/?name=John

The error I then get is:

/index.xhtml @12,69 value="#{dummyBean.name}": Target Unreachable, identifier 'dummyBean' resolved to null

The application worked fine at least with 3.1 promoted b06.



 Comments   
Comment by Sanjeeb Sahoo [ 16/Dec/10 07:02 AM ]

Yes, I can reproduce this issue with latest build. If I deploy the war as a regular war, it works as expected. Siva has to tell us why this is not working as a WAB.

Comment by Sivakumar Thyagarajan [ 17/Dec/10 04:12 AM ]

Analysis: A custom faces config provider org.glassfish.weld.jsf.WeldFacesConfigProvider is used to return the Weld related faces-config.xml to the JSF runtime and this is enabled for CDI applications.

While trying to search for faces config provider in:
ServiceFactoryUtils.getServiceEntries(String) line: 171
ConfigurationResourceProviderFactory.createProviders(ConfigurationResourceProviderFactory$ProviderType) line: 88
ConfigManager.getConfigurationResourceProviders(List<ConfigurationResourceProvider>, ProviderType) line: 467
ConfigManager.getFacesConfigResourceProviders() line: 450
ConfigManager.initialize(ServletContext) line: 321
ConfigureListener.contextInitialized(ServletContextEvent) line: 226
WebModule(StandardContext).contextListenerStart() line: 4683
WebModule.contextListenerStart() line: 531
WebModule(StandardContext).start() line: 5303
WebModule.start() line: 497
VirtualServer(ContainerBase).addChildInternal(Container) line: 917

for a WAR the web application classloader has visibility to urls from WebappClassLoader (delegate=true; repositories=WEB-INF/classes/) has
[org.glassfish.weld.jsf.WeldFacesConfigProvider] and hence the weld faces configuration is used.

For a WAB, OTOH, the OSGiWebDeploymentContext$WABClassLoader
only provides visiblity to [org.glassfish.osgiweb.OSGiFacesConfigResourceProvider], and this results in the weld JSF configuration not getting registered and hence injection fails.

Comment by Sivakumar Thyagarajan [ 17/Dec/10 04:13 AM ]

Transferring to Sahoo to investigate further.

Comment by Sanjeeb Sahoo [ 17/Dec/10 11:01 AM ]

Thanks Siva for telling what's really different. I am looking for a fix. In the meanwhile, I can suggest this simple work around which I have verified by modifying the attached test case:

Package the attached weld.faces-config.xml in META-INF/ directory of the WAB. You don't have to change the name to faces-config.xml. JSF allows custom faces-config to have arbitrary prefix.

I am lowering the priority of this issue because of this work around.

Comment by Sanjeeb Sahoo [ 22/Dec/10 08:13 PM ]

Will be addressed in 3.2 as 3.1 is close to release. Use the suggested work around in the meanwhile.

Comment by chaoslayer [ 23/Dec/10 04:16 PM ]

OK, the plan vanilla CDI works now.

Therefore I just got one step further and added the primefaces library to test some things ( attached "dummy-web.war" ) and here comes the next gotcha:

INFO: Updated /srv/servers/glassfish/v31-b34/glassfish/domains/domain1/autodeploy/bundles/dummy-web.war
INFO: Started bundle: file:/srv/servers/glassfish/v31-b34/glassfish/domains/domain1/autodeploy/bundles/dummy-web.war
INFO: Expanded at file:/tmp/osgiapp1741957746419399825/
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: total number of classes with faces annotation = 0
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5269)
at com.sun.enterprise.web.WebModule.start(WebModule.java:497)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:753)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1981)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1629)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:290)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:147)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:128)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$100(JavaEEExtender.java:59)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.run(JavaEEExtender.java:165)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
at org.apache.catalina.core.StandardContext.addListener(StandardContext.java:2683)
at org.apache.catalina.core.StandardContext.addApplicationListener(StandardContext.java:1927)
at com.sun.enterprise.web.TomcatDeploymentConfig.configureApplicationListener(TomcatDeploymentConfig.java:234)
at com.sun.enterprise.web.TomcatDeploymentConfig.configureWebModule(TomcatDeploymentConfig.java:93)
at com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java:272)
at com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:172)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:149)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5261)
... 25 more
Caused by: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
at org.apache.catalina.core.StandardContext.createListener(StandardContext.java:2793)
at org.apache.catalina.core.StandardContext.loadListener(StandardContext.java:4738)
at com.sun.enterprise.web.WebModule.loadListener(WebModule.java:1588)
at org.apache.catalina.core.StandardContext.addListener(StandardContext.java:2680)
... 32 more
Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:317)
at com.sun.enterprise.web.WebContainer.createListenerInstance(WebContainer.java:733)
at com.sun.enterprise.web.WebModule.createListenerInstance(WebModule.java:1966)
at org.apache.catalina.core.StandardContext.createListener(StandardContext.java:2791)
... 35 more
Caused by: java.lang.NullPointerException
at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:485)
at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:428)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:300)
... 38 more

WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:753)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1981)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1629)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:290)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:147)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:128)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$100(JavaEEExtender.java:59)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.run(JavaEEExtender.java:165)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:127)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:290)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:147)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:128)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$100(JavaEEExtender.java:59)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.run(JavaEEExtender.java:165)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

SEVERE: Exception while loading the app
INFO: Deleted /tmp/osgiapp1741957746419399825
SEVERE: Failed while deploying bundle org.glassfish.osgi.dummy-web [298]
WARNING: Failed to deploy bundle org.glassfish.osgi.dummy-web [298]
org.glassfish.osgijavaeebase.DeploymentException: Deployment of org.glassfish.osgi.dummy-web [298] failed because of following reason: Failed while deploying bundle org.glassfish.osgi.dummy-web [298] : java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.osgi.dummy-web [298] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:125)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:147)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:128)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$100(JavaEEExtender.java:59)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.run(JavaEEExtender.java:165)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.osgi.dummy-web [298] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:196)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
... 10 more
Caused by: java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:127)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:290)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
... 12 more

Comment by chaoslayer [ 23/Dec/10 05:06 PM ]

Well, the last error was introduced somehow because it seems that at least WAB's don't get updated properly.

If I shutdown GlassFish, remove any OSGi cache and startup again I see that it complains with NoClassDefFound which is totally correct on that bundle, but the same should be experienced using a bundle update.

Comment by Sanjeeb Sahoo [ 27/Dec/10 10:19 AM ]

After a lot of debugging, I can now explain why we are seeing a weired exception when we are trying to update the cdi enabled WAB. if we look at the stack, we see
Caused by: java.lang.NullPointerException
at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:485)
at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:428)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:300)
... 38 more

The root cause of this is GLASSFISH-15353

Comment by Sanjeeb Sahoo [ 05/Jul/11 05:56 AM ]

Completely missed this bug for 3.1.1. Will definitely do it in 3.2.

Comment by TangYong [ 27/Nov/12 02:39 AM ]

Because of triggering the issue again, consider to increase the priority and investigate how to fix it.

Comment by TangYong [ 26/Mar/13 08:26 AM ]

Updating into 3/26 trunk, and done a confirmation as following(Having a big regression for Workaround):

Scene1: applying Workaround for the first attachment(dummy-cdi-web-test.tar.gz)

After directly putting weld.faces-config.xml into META-INF/ directory of the WAB, deploying the WAB(asadmin deploy --type=osgi D:\20130125\GLASSFISH-15225\dummy-web\target\dummy-web.war) has fatal exception as following:

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [] [javax.enterprise.resource.webcontainer.jsf.config] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
Critical error during deployment:
com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:353)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:132)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:111)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:424)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:214)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5362)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5898)
at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:384)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:278)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.jboss.weld.jsf.WeldPhaseListener
at java.lang.ClassLoader.findClass(ClassLoader.java:522)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at com.sun.enterprise.v3.server.APIClassLoaderServiceImpl$APIClassLoader.loadClass(APIClassLoaderServiceImpl.java:257)
at com.sun.enterprise.v3.server.APIClassLoaderServiceImpl$APIClassLoader.loadClass(APIClassLoaderServiceImpl.java:222)
at org.glassfish.osgiweb.OSGiWebDeploymentContext$WABClassLoader.loadClass(OSGiWebDeploymentContext.java:170)
at org.glassfish.osgiweb.OSGiWebDeploymentContext$WABClassLoader.loadClass(OSGiWebDeploymentContext.java:153)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sun.faces.util.Util.loadClass(Util.java:301)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:376)
... 35 more
]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [AS-WEB-CORE-00174] [javax.enterprise.web.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
Startup of context /dummy-web failed due to previous errors]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [AS-WEB-CORE-00175] [javax.enterprise.web.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
Exception during cleanup after start failed
org.apache.catalina.LifecycleException: Manager has not yet been started
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:934)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:6099)
at com.sun.enterprise.web.WebModule.stop(WebModule.java:720)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5916)
at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [AS-WEB-CORE-00108] [javax.enterprise.web.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5920)
at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:273)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5362)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5898)
... 25 more
Caused by: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:353)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:132)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:111)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:424)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:214)
... 28 more
Caused by: javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:384)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:278)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.jboss.weld.jsf.WeldPhaseListener
at java.lang.ClassLoader.findClass(ClassLoader.java:522)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at com.sun.enterprise.v3.server.APIClassLoaderServiceImpl$APIClassLoader.loadClass(APIClassLoaderServiceImpl.java:257)
at com.sun.enterprise.v3.server.APIClassLoaderServiceImpl$APIClassLoader.loadClass(APIClassLoaderServiceImpl.java:222)
at org.glassfish.osgiweb.OSGiWebDeploymentContext$WABClassLoader.loadClass(OSGiWebDeploymentContext.java:170)
at org.glassfish.osgiweb.OSGiWebDeploymentContext$WABClassLoader.loadClass(OSGiWebDeploymentContext.java:153)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sun.faces.util.Util.loadClass(Util.java:301)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:376)
... 35 more
]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 900] [[
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1044)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
Exception during lifecycle processing
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
Exception while loading the app]]

[2013-03-26T17:10:19.234+0900] [glassfish 4.0] [SEVERE] [AS-WEB-GLUE-00192] [javax.enterprise.web] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419234] [levelValue: 1000] [[
Undeployment failed for context /dummy-web]]

[2013-03-26T17:10:19.343+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419343] [levelValue: 800] [[
Deleted D:\20130125\glassfish9\glassfish4\glassfish\domains\domain1\osgi-cache\felix\bundle292\data\applications\bundle297-1364285417875]]

[2013-03-26T17:10:19.343+0900] [glassfish 4.0] [SEVERE] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419343] [levelValue: 1000] [[
Failed while deploying bundle org.glassfish.osgi.dummy-web [297]]]

[2013-03-26T17:10:19.343+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgiweb] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419343] [levelValue: 800] [[
Removed bundle 297 against context path /dummy-web ]]

[2013-03-26T17:10:19.343+0900] [glassfish 4.0] [WARNING] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364285419343] [levelValue: 900] [[
Failed to deploy bundle org.glassfish.osgi.dummy-web [297]
org.glassfish.osgijavaeebase.DeploymentException: Deployment of org.glassfish.osgi.dummy-web [297] failed because of following reason: Failed while deploying bundle org.glassfish.osgi.dummy-web [297] : java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.osgi.dummy-web [297] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:127)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.osgi.dummy-web [297] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:198)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
... 10 more
Caused by: java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: bundle://297.0:0/META-INF/weld.faces-config.xml
Cause: Unable to create a new instance of 'org.jboss.weld.jsf.WeldPhaseListener': javax.faces.FacesException: org.jboss.weld.jsf.WeldPhaseListener
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
... 12 more
]]

Scene2: putting the second attachment(dummy-web.war) into "autodeploy\bundles"

More exceptions happened in the server.log as following:

[2013-03-26T16:57:59.890+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgiejb] [tid: _ThreadID=84 _ThreadName=fileinstall-D:\20130125\glassfish9\glassfish4\glassfish\domains\domain1/autodeploy/bundles/] [timeMillis: 1364284679890] [levelValue: 800] [[
removedService: Found 0 no. of EJBs]]

[2013-03-26T16:57:59.906+0900] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=178 _ThreadName=Thread-3] [timeMillis: 1364284679906] [levelValue: 800] [[

    • BatchRuntimeHelper:: App Undeployed: null]]

[2013-03-26T16:57:59.921+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=84 _ThreadName=fileinstall-D:\20130125\glassfish9\glassfish4\glassfish\domains\domain1/autodeploy/bundles/] [timeMillis: 1364284679921] [levelValue: 800] [[
Deleted D:\20130125\glassfish9\glassfish4\glassfish\domains\domain1\osgi-cache\felix\bundle292\data\applications\bundle296-1364284644890]]

[2013-03-26T16:57:59.921+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=84 _ThreadName=fileinstall-D:\20130125\glassfish9\glassfish4\glassfish\domains\domain1/autodeploy/bundles/] [timeMillis: 1364284679921] [levelValue: 800] [[
Undeployed bundle org.glassfish.osgi.dummy-web [296]]]

[2013-03-26T16:58:00.406+0900] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=84 _ThreadName=Thread-3] [timeMillis: 1364284680406] [levelValue: 800] [[
Updated D:\20130125\glassfish9\glassfish4\glassfish\domains\domain1\autodeploy\bundles\dummy-web.war]]

[2013-03-26T16:58:00.406+0900] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=84 _ThreadName=Thread-3] [timeMillis: 1364284680406] [levelValue: 800] [[
Started bundle: file:/D:/20130125/glassfish9/glassfish4/glassfish/domains/domain1/autodeploy/bundles/dummy-web.war]]

[2013-03-26T16:58:00.781+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284680781] [levelValue: 800] [[
Expanded at file:/D:/20130125/glassfish9/glassfish4/glassfish/domains/domain1/osgi-cache/felix/bundle292/data/applications/bundle296-1364284680250/]]

[2013-03-26T16:58:00.937+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgiweb] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284680937] [levelValue: 800] [[
uris = file:/D:/20130125/glassfish9/glassfish4/glassfish/domains/domain1/osgi-cache/felix/bundle292/data/applications/bundle296-1364284680250/WEB-INF/classes/, file:/D:/20130125/glassfish9/glassfish4/glassfish/domains/domain1/osgi-cache/felix/bundle292/data/applications/bundle296-1364284680250/WEB-INF/lib/Bundle296.jar, file:/D:/20130125/glassfish9/glassfish4/glassfish/domains/domain1/osgi-cache/felix/bundle292/data/applications/bundle296-1364284680250/WEB-INF/lib/primefaces-2.1.jar]]

[2013-03-26T16:58:01.625+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgiweb] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681625] [levelValue: 800] [[
total number of classes with faces annotation = 0]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.captcha.CaptchaValidator, reason: java.lang.NoClassDefFoundError: javax/faces/validator/Validator]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.view.View, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.imageswitch.ImageSwitch, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.growl.Growl, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.column.Column, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIColumn]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.inputswitch.InputSwitch, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.slider.Slider, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIOutput]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.focus.Focus, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.graphictext.GraphicText, reason: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlGraphicImage]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.dnd.Draggable, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.spreadsheet.Spreadsheet, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.stackedcolumn.StackedColumnChart, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.656+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681656] [levelValue: 900] [[
Unable to load class org.primefaces.component.layout.Layout, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.application.Application, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.layout.LayoutUnit, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.idlemonitor.IdleMonitor, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.panel.Panel, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.fileupload.FileUpload, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.dnd.Droppable, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.resource.Resource, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.rowitem.RowItem, reason: java.lang.NoClassDefFoundError: javax/faces/component/UICommand]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.menu.Menu, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.messages.Messages, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.series.ChartSeries, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIOutput]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.themeswitcher.ThemeSwitcher, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.column.ColumnChart, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.tree.UITreeNode, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.linkbutton.LinkButton, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIOutput]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.rowgroup.RowGroup, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.671+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681671] [levelValue: 900] [[
Unable to load class org.primefaces.component.notificationbar.NotificationBar, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.inplace.Inplace, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.picklist.PickList, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.tabview.TabView, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.tableview.TableView, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.contextmenu.ContextMenu, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.confirmdialog.ConfirmDialog, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.commandbutton.CommandButton, reason: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlCommandButton]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.menubutton.MenuButton, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.keyboard.Keyboard, reason: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlInputText]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.rating.Rating, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.progressbar.ProgressBar, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.schedule.Schedule, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.remotecommand.RemoteCommand, reason: java.lang.NoClassDefFoundError: javax/faces/component/UICommand]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.breadcrumb.BreadCrumb, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.terminal.Terminal, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.schedule.ScheduleEventDialog, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.navbarcontrol.NavBarControl, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.687+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681687] [levelValue: 900] [[
Unable to load class org.primefaces.component.tabslider.TabSlider, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.poll.Poll, reason: java.lang.NoClassDefFoundError: javax/faces/component/UICommand]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.imagecropper.ImageCropper, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.bar.BarChart, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.menuitem.MenuItem, reason: java.lang.NoClassDefFoundError: javax/faces/component/UICommand]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.stackedbar.StackedBarChart, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.resizable.Resizable, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.menubar.Menubar, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.line.LineChart, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.inputmask.InputMask, reason: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlInputText]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.uiajax.UIAjax, reason: java.lang.NoClassDefFoundError: javax/faces/component/UICommand]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.autocomplete.AutoComplete, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.703+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681703] [levelValue: 900] [[
Unable to load class org.primefaces.component.accordionpanel.AccordionPanel, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.lightbox.LightBox, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.spinner.Spinner, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.watermark.Watermark, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.datalist.DataList, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIData]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.pie.PieChart, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.treetable.TreeTable, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIData]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.ajaxstatus.AjaxStatus, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.captcha.Captcha, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.commandlink.CommandLink, reason: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlCommandLink]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.dashboard.Dashboard, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.gmap.GMapInfoWindow, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.stack.Stack, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.718+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681718] [levelValue: 900] [[
Unable to load class org.primefaces.component.outputpanel.OutputPanel, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.dock.Dock, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.effect.Effect, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.datagrid.DataGrid, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIData]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.tabview.Tab, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.carousel.Carousel, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIData]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.editor.Editor, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.calendar.Calendar, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.password.Password, reason: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlInputText]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.dialog.Dialog, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIPanel]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.resources.Resources, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.push.Push, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.wizard.Wizard, reason: java.lang.NoClassDefFoundError: javax/faces/component/NamingContainer]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.message.Message, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.media.Media, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.734+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681734] [levelValue: 900] [[
Unable to load class org.primefaces.component.graphicimage.GraphicImage, reason: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlGraphicImage]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.tree.Tree, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.tooltip.Tooltip, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIOutput]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.colorpicker.ColorPicker, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIInput]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.hotkey.Hotkey, reason: java.lang.NoClassDefFoundError: javax/faces/component/UICommand]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.datatable.DataTable, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIData]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.gmap.GMap, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.printer.Printer, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.submenu.Submenu, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.spreadsheet.Sheet, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIData]]

[2013-03-26T16:58:01.750+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681750] [levelValue: 900] [[
Unable to load class org.primefaces.component.imagecompare.ImageCompare, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIComponentBase]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.renderkit.CoreRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.renderkit.HeadRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.accordionpanel.AccordionPanelRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.ajaxstatus.AjaxStatusRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.autocomplete.AutoCompleteRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.breadcrumb.BreadCrumbRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.calendar.CalendarRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.captcha.CaptchaRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.carousel.CarouselRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.BaseChartRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.colorpicker.ColorPickerRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.commandbutton.CommandButtonRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.765+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681765] [levelValue: 900] [[
Unable to load class org.primefaces.component.commandlink.CommandLinkRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.confirmdialog.ConfirmDialogRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.contextmenu.ContextMenuRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.dashboard.DashboardRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.datagrid.DataGridRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.datalist.DataListRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.datatable.DataTableRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.dialog.DialogRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.dnd.DraggableRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.dnd.DroppableRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.dock.DockRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.editor.EditorRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.781+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681781] [levelValue: 900] [[
Unable to load class org.primefaces.component.effect.EffectRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.796+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681796] [levelValue: 900] [[
Unable to load class org.primefaces.component.fileupload.FileUploadRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.796+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681796] [levelValue: 900] [[
Unable to load class org.primefaces.component.focus.FocusRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.796+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681796] [levelValue: 900] [[
Unable to load class org.primefaces.component.gmap.GMapRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.796+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681796] [levelValue: 900] [[
Unable to load class org.primefaces.component.graphicimage.GraphicImageRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.graphictext.GraphicTextRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.growl.GrowlRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.hotkey.HotkeyRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.idlemonitor.IdleMonitorRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.imagecompare.ImageCompareRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.imagecropper.ImageCropperRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.imageswitch.ImageSwitchRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.inplace.InplaceRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.inputmask.InputMaskRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.keyboard.KeyboardRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.layout.LayoutRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.layout.LayoutUnitRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.812+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681812] [levelValue: 900] [[
Unable to load class org.primefaces.component.lightbox.LightBoxRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.linkbutton.LinkButtonRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.media.MediaRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.menu.MenuRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.menubar.MenubarRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.menubutton.MenuButtonRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.message.MessageRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.messages.MessagesRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.notificationbar.NotificationBarRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.outputpanel.OutputPanelRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.panel.PanelRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.828+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681828] [levelValue: 900] [[
Unable to load class org.primefaces.component.password.PasswordRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.picklist.PickListRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.poll.PollRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.printer.PrinterRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.progressbar.ProgressBarRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.push.PushRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.rating.RatingRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.remotecommand.RemoteCommandRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.resizable.ResizableRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.resource.ResourceRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.resources.ResourcesRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.schedule.ScheduleEventDialogRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.schedule.ScheduleRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.843+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681843] [levelValue: 900] [[
Unable to load class org.primefaces.component.slider.SliderRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.spinner.SpinnerRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.spreadsheet.SpreadsheetRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.stack.StackRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.tabslider.TabSliderRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.tabview.TabViewRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.terminal.TerminalRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.themeswitcher.ThemeSwitcherRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.tooltip.TooltipRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.tree.TreeRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.treetable.TreeTableRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.uiajax.UIAjaxRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.watermark.WatermarkRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.859+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681859] [levelValue: 900] [[
Unable to load class org.primefaces.component.wizard.WizardRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.application.ApplicationRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.inputswitch.InputSwitchRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.rowgroup.RowGroupRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.rowitem.RowItemRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.tableview.TableViewRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.touch.component.view.ViewRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.bar.BarChartRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.column.ColumnChartRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.line.LineChartRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.875+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681875] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.pie.PieChartRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.890+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681890] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.stackedbar.StackedBarChartRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.890+0900] [glassfish 4.0] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681890] [levelValue: 900] [[
Unable to load class org.primefaces.component.chart.stackedcolumn.StackedColumnChartRenderer, reason: java.lang.NoClassDefFoundError: javax/faces/render/Renderer]]

[2013-03-26T16:58:01.953+0900] [glassfish 4.0] [INFO] [jsf.config.listener.version] [javax.enterprise.resource.webcontainer.jsf.config] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681953] [levelValue: 800] [[
コンテキスト '/dummy-web' の Mojarra 2.2.0-m12 (-SNAPSHOT 20130320-0201 https://svn.java.net/svn/mojarra~svn/tags/2.2.0-m12@11773) を初期化します]]

[2013-03-26T16:58:01.953+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgiweb] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284681953] [levelValue: 800] [[
Faces Config uris excluding the ones named as faces-config.xml = [bundle://296.1:0/META-INF/weld.faces-config.xml]]]

[2013-03-26T16:58:02.140+0900] [glassfish 4.0] [SEVERE] [] [javax.enterprise.resource.webcontainer.jsf.config] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682140] [levelValue: 1000] [[
Critical error during deployment:
com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:330)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:424)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:214)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5362)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5898)
at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: javax.faces.FacesException: org.primefaces.context.PrimeExternalContextFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:710)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:572)
at javax.faces.FactoryFinder.access$500(FactoryFinder.java:140)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1120)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:379)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328)
... 31 more
Caused by: org.jboss.weld.exceptions.IllegalArgumentException: Exception message for key UNABLE_TO_FIND_CONSTRUCTOR not found due to String index out of range: -1
at org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:69)
at org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1039)
at org.glassfish.weld.services.JCDIServiceImpl.injectManagedObject(JCDIServiceImpl.java:286)
at org.glassfish.faces.integration.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:189)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:695)
... 36 more
Caused by: org.jboss.weld.exceptions.DefinitionException: Exception message for key UNABLE_TO_FIND_CONSTRUCTOR not found due to String index out of range: -1
at org.jboss.weld.util.Beans.getBeanConstructor(Beans.java:327)
at org.jboss.weld.injection.InjectionPointFactory.createConstructorInjectionPoint(InjectionPointFactory.java:161)
at org.jboss.weld.injection.producer.DefaultInstantiator.<init>(DefaultInstantiator.java:59)
at org.jboss.weld.injection.producer.BasicInjectionTarget.initInstantiator(BasicInjectionTarget.java:153)
at org.jboss.weld.injection.producer.BasicInjectionTarget.<init>(BasicInjectionTarget.java:70)
at org.jboss.weld.injection.producer.BeanInjectionTarget.<init>(BeanInjectionTarget.java:44)
at org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:80)
at org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:65)
... 40 more
]]

[2013-03-26T16:58:02.140+0900] [glassfish 4.0] [SEVERE] [AS-WEB-CORE-00174] [javax.enterprise.web.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682140] [levelValue: 1000] [[
Startup of context /dummy-web failed due to previous errors]]

[2013-03-26T16:58:02.140+0900] [glassfish 4.0] [SEVERE] [AS-WEB-CORE-00175] [javax.enterprise.web.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682140] [levelValue: 1000] [[
Exception during cleanup after start failed
org.apache.catalina.LifecycleException: Manager has not yet been started
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:934)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:6099)
at com.sun.enterprise.web.WebModule.stop(WebModule.java:720)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5916)
at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T16:58:02.140+0900] [glassfish 4.0] [SEVERE] [AS-WEB-CORE-00108] [javax.enterprise.web.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682140] [levelValue: 1000] [[
ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5920)
at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:273)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5362)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5898)
... 25 more
Caused by: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:330)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:424)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:214)
... 28 more
Caused by: javax.faces.FacesException: org.primefaces.context.PrimeExternalContextFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:710)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:572)
at javax.faces.FactoryFinder.access$500(FactoryFinder.java:140)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1120)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:379)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328)
... 31 more
Caused by: org.jboss.weld.exceptions.IllegalArgumentException: Exception message for key UNABLE_TO_FIND_CONSTRUCTOR not found due to String index out of range: -1
at org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:69)
at org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1039)
at org.glassfish.weld.services.JCDIServiceImpl.injectManagedObject(JCDIServiceImpl.java:286)
at org.glassfish.faces.integration.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:189)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:695)
... 36 more
Caused by: org.jboss.weld.exceptions.DefinitionException: Exception message for key UNABLE_TO_FIND_CONSTRUCTOR not found due to String index out of range: -1
at org.jboss.weld.util.Beans.getBeanConstructor(Beans.java:327)
at org.jboss.weld.injection.InjectionPointFactory.createConstructorInjectionPoint(InjectionPointFactory.java:161)
at org.jboss.weld.injection.producer.DefaultInstantiator.<init>(DefaultInstantiator.java:59)
at org.jboss.weld.injection.producer.BasicInjectionTarget.initInstantiator(BasicInjectionTarget.java:153)
at org.jboss.weld.injection.producer.BasicInjectionTarget.<init>(BasicInjectionTarget.java:70)
at org.jboss.weld.injection.producer.BeanInjectionTarget.<init>(BeanInjectionTarget.java:44)
at org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:80)
at org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:65)
... 40 more
]]

[2013-03-26T16:58:02.140+0900] [glassfish 4.0] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682140] [levelValue: 900] [[
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1044)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2279)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1925)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T16:58:02.140+0900] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682140] [levelValue: 1000] [[
Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T16:58:02.156+0900] [glassfish 4.0] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682156] [levelValue: 1000] [[
Exception during lifecycle processing
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
]]

[2013-03-26T16:58:02.156+0900] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682156] [levelValue: 1000] [[
Exception while loading the app]]

[2013-03-26T16:58:02.156+0900] [glassfish 4.0] [SEVERE] [AS-WEB-GLUE-00192] [javax.enterprise.web] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682156] [levelValue: 1000] [[
Undeployment failed for context /dummy-web]]

[2013-03-26T16:58:02.187+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682187] [levelValue: 800] [[
Deleted D:\20130125\glassfish9\glassfish4\glassfish\domains\domain1\osgi-cache\felix\bundle292\data\applications\bundle296-1364284680250]]

[2013-03-26T16:58:02.187+0900] [glassfish 4.0] [SEVERE] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682187] [levelValue: 1000] [[
Failed while deploying bundle org.glassfish.osgi.dummy-web [296]]]

[2013-03-26T16:58:02.187+0900] [glassfish 4.0] [INFO] [] [org.glassfish.osgiweb] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682187] [levelValue: 800] [[
Removed bundle 296 against context path /dummy-web ]]

[2013-03-26T16:58:02.187+0900] [glassfish 4.0] [WARNING] [] [org.glassfish.osgijavaeebase] [tid: _ThreadID=91 _ThreadName=pool-16-thread-1] [timeMillis: 1364284682187] [levelValue: 900] [[
Failed to deploy bundle org.glassfish.osgi.dummy-web [296]
org.glassfish.osgijavaeebase.DeploymentException: Deployment of org.glassfish.osgi.dummy-web [296] failed because of following reason: Failed while deploying bundle org.glassfish.osgi.dummy-web [296] : java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.osgi.dummy-web [296] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:127)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:109)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:153)
at org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:150)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.osgi.dummy-web [296] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:198)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:120)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:123)
... 10 more
Caused by: java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExternalContextFactory' was not configured properly.
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:185)
... 12 more
]]

So, needing to investigate the reasons from scene1 and scene2 in depth.

Comment by TangYong [ 26/Mar/13 09:10 AM ]

About scene1, I have some interesting finding as following:

Noting the following exception info,

Caused by: java.lang.ClassNotFoundException: org.jboss.weld.jsf.WeldPhaseListener
at java.lang.ClassLoader.findClass(ClassLoader.java:522)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at com.sun.enterprise.v3.server.APIClassLoaderServiceImpl$APIClassLoader.loadClass(APIClassLoaderServiceImpl.java:257)
at com.sun.enterprise.v3.server.APIClassLoaderServiceImpl$APIClassLoader.loadClass(APIClassLoaderServiceImpl.java:222)
at org.glassfish.osgiweb.OSGiWebDeploymentContext$WABClassLoader.loadClass(OSGiWebDeploymentContext.java:170)
at org.glassfish.osgiweb.OSGiWebDeploymentContext$WABClassLoader.loadClass(OSGiWebDeploymentContext.java:153)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sun.faces.util.Util.loadClass(Util.java:301)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:376)
... 35 more
]]

Noting an important change[1] from Weld 1.x --> Weld 2.x
[1]: https://community.jboss.org/wiki/WeldIntegratorGuide-ChangesForWeld20

"WeldPhaseListener has been removed. The listener served as a hook for activating / deactivating conversations. In CDI 1.1 (CDI-80) conversations are now available for pure Servlet requests and therefore conversation activation is handled in the WeldListener (which is a Servlet listener)."

The same issue can be found in [2],
[2]: https://community.jboss.org/thread/218292

I will confirm whether truly being caused by the change.

Comment by TangYong [ 26/Mar/13 09:12 AM ]

Adding priority into Major because the issue maybe related to Weld 2.x change.

Comment by TangYong [ 26/Mar/13 09:22 AM ]

From JBOSS guy(Jozef Hartinger)'s fixing[1], org.jboss.weld.jsf.WeldPhaseListener should be removed from faces-config.xml since weld 2.x.

[1]: https://source.jboss.org/browse/WeldCore/environments/servlet/core/src/main/resources/META-INF/faces-config.xml?r2=99d2f3568c5671a297319b8ef6d967b07b6279c7&r1=fb35e1d1b8106854b606c999ab634ab59b92045d

So, weld.faces-config.xml should be updated and remove the following

<lifecycle>
<phase-listener>org.jboss.weld.jsf.WeldPhaseListener</phase-listener>
</lifecycle>

Now, scene1 has OK! I will update the workaround.

Comment by Sanjeeb Sahoo [ 26/Mar/13 11:47 AM ]

Sorry, this didn't get due attention for 4.0.

Comment by TangYong [ 27/Mar/13 03:53 PM ]

Scene2 has been resolved and investigation result is as following,

While using primefaces 2.1 with CDI(Weld) in the sample(dummy-web.war), Scene2's exceptions will be caused by the following and caused the whole WAB's deployment failed.

Caused by: org.jboss.weld.exceptions.DefinitionException: Exception message for key UNABLE_TO_FIND_CONSTRUCTOR not found due to String index out of range: -1
at org.jboss.weld.util.Beans.getBeanConstructor(Beans.java:327)
....

[Analyze]
1 in primefaces 2.1, org.primefaces.context.PrimeExternalContextFactory does not offer a default or no-args constructor, so, in org.jboss.weld.util.Beans.getBeanConstructor method, "constructor" will be null, then, throwing a DefinitionException called "UNABLE_TO_FIND_CONSTRUCTOR" , thus, causing the above exception.

The exception also caused two bad results:
1) WebContainer.loadWebModule failed
2) WAB expanded failed

2 I investigated primefaces 2.x and 3.x and found an interesting thing as following:
In primefaces 3.x(eg. 3.5), org.primefaces.context.PrimeExternalContextFactory has not existed. So I made an experiment to replace primefaces-2.1.jar with primefaces-3.5.jar in the WAB's WEB-INF/lib. Then, after deploying the new WAB, the exceptions all did not happen. And can access "http://localhost:8080/dummy-web/" normally.

Only a issue is that while accessing "http://localhost:8080/dummy-web/", there are the following warning info:
"
Warning: This page calls for XML namespace http://primefaces.prime.com.tr/ui declared with prefix p but no taglibrary exists for that namespace.
Warning: This page calls for XML namespace http://primefaces.prime.com.tr/ui declared with prefix p but no taglibrary exists for that namespace. "

The warning info is caused by [1]:
[1]: http://stackoverflow.com/questions/7565431/warning-this-page-calls-for-xml-namespace-http-primefaces-prime-com-tr-ui-dec

While modifying the sample's index.xhtml from xmlns="http://primefaces.prime.com.tr/ui" to xmlns="http://primefaces.org/ui" , although the warning has not disappeared, primefaces's tree tag was not still displayed normally. However, I think that this should be primefaces's using problems rather than gf's problems.

So, in a word, the Scene2 should belong to user's sample problem rather than gf's problem.

Thanks
--Tang





[GLASSFISH-19759] Support binding to OSGi services at deploy-time Created: 01/Mar/13  Updated: 25/Mar/13

Status: Open
Project: glassfish
Component/s: cdi, OSGi-JavaEE
Affects Version/s: None
Fix Version/s: future release

Type: Improvement Priority: Minor
Reporter: Sivakumar Thyagarajan Assignee: Sivakumar Thyagarajan
Resolution: Unresolved Votes: 1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: osgi-cdi osgi-javaee future-release
Participants: Sivakumar Thyagarajan and TangYong

 Description   

Today the osgi-cdi portable extension supports the injection of OSGi Services into injection points marked with a custom OSGi Qualifier @OSGiService. Unfortunately this binds application components that reference these Services at deployment time to OSGi. There could be scenarios where the determination that a Service being injected is an OSGi Service, can be made at deployment-time based on the environment that the application component is part of. It would be good if we have the ability for a client of an OSGi Service to indicate that the Service is an OSGi Service at deploy-time.



 Comments   
Comment by Sivakumar Thyagarajan [ 01/Mar/13 09:15 AM ]

One approach to consider is providing a capability to a deployer (through a custom deployment-descriptor) to specify that a particular injection point is an OSGi Service injection point, and have the osgi-cdi portable extension read this descriptor and automatically add the @OSGiService qualifier at runtime.

Comment by TangYong [ 01/Mar/13 10:02 AM ]

Siva,

The capability is very important while combining PaaS model, and in PaaS, ServiceType can be extended into OSGi Service, then, an user can specify an OSGi Service as some PaaS Service in liking glassfish-services.xml.

Then, by discovering OSGi Service engine(to be implemented in the future), these OSGi Services meeting the user's requirements will be injected into client at runtime.

Tang

Comment by TangYong [ 25/Mar/13 01:56 PM ]

Seeing siva's said carefully, Siva's means should be following,

[Current OSGi/CDI portable extension]
Class A{ @OSGiService B b ... }

The issue should wish to remove @OSGiService instead still using @Inject and adding some way to tell deployment to automatically determinate b is a OSGi Service.

Then, if using a custom deployment-descriptor, this is similar to Declarative Services, OK, let us to see this will bring what advantage?

Imaging a scene that some user has written a application which uses common cdi with well-designed interface, however, while he/she wants to switch another B's implementation and does not change any consumer's source, by this feature, he/she should implement.

Comment by Sivakumar Thyagarajan [ 25/Mar/13 04:19 PM ]

Yes, Tang.

The idea is to support the following:

  • Allow the development of POJOs and dependency injection not knowing during development time that a particular injection point would be satisfied through an OSGi Service. So in the above example, the application includes a POJO
    Class A { @Inject StockQuoteService b; }
  • At deployment time, we should allow the deployer to override the injection and indicate that the injection point A.b is an OSGi Service injection and provide the details through a custom deployment-descriptor. For instance here is a rough idea on how a deployer could state that the injectin point A.b is an OSGi Service.
    glassfish-osgi-cdi.xml:
    <osgi-service dynamic="true">
    <managed-bean name="A">
    <attribute name ="b"/>
    </managed-bean>
    </osgi-service>
  • The osgi-cdi portable extension must read this optional custom deployment-descriptor, and automatically at deployment time, make A.b have a qualified @OSGiService.

Does this help? All the above details are just ideas at this point in time. Let us evaluate how best to resolve this.





[GLASSFISH-15119] CDI Interceptor still not working in OSGi Created: 12/Dec/10  Updated: 25/Mar/13

Status: Open
Project: glassfish
Component/s: cdi, OSGi-JavaEE
Affects Version/s: 3.1_b31
Fix Version/s: future release

Type: Bug Priority: Major
Reporter: chaoslayer Assignee: mtaube
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Tested with promoted b32


File Attachments: GZip Archive interceptor-osgi-test-2-fixed.tar.gz     GZip Archive interceptor-osgi-test-2.tar.gz     File interceptor-osgi-test.tar.bz2    
Issue Links:
Dependency
depends on GLASSFISH-15249 Support vanilla OSGi bundles as bean ... Open
Tags: 3_1-exclude 3_1-next 3_1_1-scrubbed
Participants: chaoslayer, mtaube, Sanjeeb Sahoo, Sivakumar Thyagarajan and TangYong

 Description   

I just revisited GLASSFISH-13513 and GLASSFISH-14831 to see if it is possible to plug in interceptors the CDI way around EJBs.

Indeed when deploying a prepared package as non-OSGi the interceptor gets invoked but not when using OSGi deployment.

Therefore I made up another test case which should be sufficient for a confirmation of this issue:

  • maven reactor build with 4 modules
  • build.sh script for test:
  • "mvn clean install"
  • copy resulting artifacts into .../autodeploy/bundles/ folder of a running glassfish domain
  • wait for (re-)deployment
  • using "curl" to call the web service
  • search for a fault inside the returned XML

So basically for a test I issue a command like this:

$ GF_DOMAIN_DIR=/srv/servers/gf-3.1-b32/glassfish/domains/domain1/ ./build.sh

Well, I also can say that with the old @Interceptors({SecurityInterceptor.class}) method the interceptor is being called so I suspect it is not injected at all.

This test throws a fault if the interceptor is being invoked. If no fault occurs and the response is valid there must be something wrong.



 Comments   
Comment by chaoslayer [ 12/Dec/10 10:37 PM ]

Thanks for reopening the issue, I was not allowed to.

Comment by Sanjeeb Sahoo [ 14/Dec/10 01:08 AM ]

Assigning this to cdi team after talking to Siva. It is a bug in their layer.

Comment by chaoslayer [ 14/Dec/10 04:25 AM ]

Fixed the project and enabled interceptor class in beans.xml for the user service [interceptor-osgi-test-2-fixed.tar.gz].

Just tested again with a completely clean b32:

INFO: Portable JNDI names for EJB UserServiceImpl : [java:global/org.glassfish.cditest.user.service_2.0.0.SNAPSHOT/UserServiceImpl!org.glassfish.cditest.user.api.UserService, java:global/org.glassfish.cditest.user.service_2.0.0.SNAPSHOT/UserServiceImpl]
INFO: WELD-000900 ${parsedVersion (osgiVersion})
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
SEVERE: Exception while loading the app
INFO: Deleted /tmp/osgiapp5600363451663621402
SEVERE: Failed while deploying bundle org.glassfish.cditest.user.service [252]
WARNING: Failed to deploy bundle org.glassfish.cditest.user.service [252]
org.glassfish.osgijavaeebase.DeploymentException: Deployment of org.glassfish.cditest.user.service [252] failed because of following reason: Failed while deploying bundle org.glassfish.cditest.user.service [252] : java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.cditest.user.service [252] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:125)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:147)
at org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:132)
at org.glassfish.osgijavaeebase.JavaEEExtender.handleEvent(JavaEEExtender.java:117)
at org.glassfish.osgijavaeebase.JavaEEExtender.access$000(JavaEEExtender.java:56)
at org.glassfish.osgijavaeebase.JavaEEExtender$1.run(JavaEEExtender.java:100)
Caused by: java.lang.RuntimeException: Failed to deploy bundle [ org.glassfish.cditest.user.service [252] ], root cause: Exception while loading the app
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:196)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
... 5 more
Caused by: org.glassfish.deployment.common.DeploymentException: WELD-001417 Enabled interceptor class <class>org.glassfish.cditest.security.interceptor.SecurityInterceptor</class> in bundle://252.0:1/META-INF/beans.xml@8 is neither annotated @Interceptor nor registered through a portable extension
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:187)
at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:302)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
... 7 more
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001417 Enabled interceptor class <class>org.glassfish.cditest.security.interceptor.SecurityInterceptor</class> in bundle://252.0:1/META-INF/beans.xml@8 is neither annotated @Interceptor nor registered through a portable extension
at org.jboss.weld.bootstrap.Validator.validateEnabledInterceptorClasses(Validator.java:471)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:344)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:383)
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:184)
... 12 more

So I guess it has to do with class visibility here. Although all required classes are visible for the bundle it may once again be a deployment issue:

250|Active | 1|Apache Felix Bundle Repository (1.6.2)
251|Active | 1|OSGi/JTA implementation in GlassFish (3.1.0.b32)
252|Active | 1|User Service OSGi Bundle (2.0.0.SNAPSHOT)
253|Active | 1|User Web Service OSGi Web Service (2.0.0.SNAPSHOT)
254|Active | 1|security.impl OSGi Bundle (2.0.0.SNAPSHOT)
255|Active | 1|security.api OSGi Bundle (2.0.0.SNAPSHOT)
g! inspect p c 255
org.glassfish.cditest.security.api [255] exports packages:
----------------------------------------------------------
org.glassfish.cditest.security.api; version=0.0.0 imported by:
org.glassfish.cditest.user.service [252]
org.glassfish.cditest.security.impl [254]
g! inspect p c 254
org.glassfish.cditest.security.impl [254] exports packages:
-----------------------------------------------------------
org.glassfish.cditest.security.interceptor; version=0.0.0 imported by:
org.glassfish.cditest.user.service [252]
g! inspect p r 252
org.glassfish.cditest.user.service [252] imports packages:
----------------------------------------------------------
javax.ejb; version=3.1.0 -> org.glassfish.javax.ejb [171]
org.glassfish.cditest.security.interceptor; version=0.0.0 -> org.glassfish.cditest.security.impl [254]
org.glassfish.cditest.security.api; version=0.0.0 -> org.glassfish.cditest.security.api [255]

Comment by Sanjeeb Sahoo [ 14/Dec/10 04:56 AM ]

I discussed with our CDI engineer (sivakumar) and he thinks there is more to it than classloading. He thinks this can be reproduced without use of OSGi as well. He is looking into it.

Comment by chaoslayer [ 14/Dec/10 01:59 PM ]

OK, so do you need any additional data from my side?

Comment by Sanjeeb Sahoo [ 14/Dec/10 07:58 PM ]

No, not at this point. We have sufficient information to proceed. Thanks.

Comment by Sanjeeb Sahoo [ 15/Dec/10 12:28 PM ]

Needed for 3.1

Comment by Sivakumar Thyagarajan [ 17/Dec/10 02:02 AM ]

Modified testcase with the following changes:
1. brought the interceptor enablement to security.impl and 2. removed the interceptor enablement in user.impl

The interceptor class is defined in security.impl and must be enabled there.

Comment by Sivakumar Thyagarajan [ 17/Dec/10 02:12 AM ]

While debugging this issue, we noticed that the interceptor was enabled in the user.impl bundle. The interceptor is defined in the security.impl bundle and hence has to be enabled there. Attached the modified test-case that has these changes. With these changes, the 3 bundles deploy in GF3.1 latest trunk.

However there is an issue. GF3.1 considers the first two bundles (security.api and security.impl) as plain vanilla OSGi bundles (not EE archives) and hence are not considered as CDI archives. Furthermore, since there is no "explicit" relationship (apart from the usage of the CDI interceptor binding) between the user.impl and the other two bundles, when the user.impl WAB is deployed, the user.impl WAB "alone" is considered as a CDI archive. The CDI runtime does not have access to the Beans in security.api/security.impl and hence this usecase will not work. GF3.1 CDI-OSGi support should support scenarios where the Beans used by a bundle are in a different bundle and scenarios where Beans could exist in plain vanilla osgi bundles. I have raised a RFE, GLASSFISH-15249, for this and targetted this for 3.2 as it is more involved to be considered for 3.1.

Here are two possible workarounds:

  • One bundle: Bundling all the Beans together in user.impl (ie have one bundle and not 3 bundles) would work. I don't know if this works for you, though.
  • Fragment bundle approach: I had a discussion with Sahoo and he is investigating the use of security.api and security.impl as fragment bundles as a workaround, and he will update this thread with his finding.
Comment by Sivakumar Thyagarajan [ 17/Dec/10 02:14 AM ]

Raised a RFE GLASSFISH-15249 to fix the underlying usecase.

Comment by chaoslayer [ 17/Dec/10 03:12 AM ]

Well, not quite covering our use case scenario. Let me explain what we "want":

  • we have one Security API bundle that contains the @Secure interface
  • we have one or more Security implementation bundles that contain the implementation for @Secure
  • we have around 20 EJB bundles that have to be "secured" via the CDI interceptor binding

So workaround one effectively disables OSGi here completely and pulls in a lot of work todo for our setup, from building to integration testing to deployment.

Option two could be an option, although I think only the bundle that contains the interceptor should be made available as a fragment bundle attaching to all those EJB bundles.

But what happens if not all Fragement-Hosts are available for the interceptor fragment bundle? Is it still resolved for those that are available? The spec is somewhat unclear here. The use case here is of course modularity. As our developers are working in different areas of interest they only use the bundles that they need. Security is a very basic need but should support those scenarios without modification at build time.

Thanks for the RFE, btw.

Comment by Sanjeeb Sahoo [ 17/Dec/10 03:57 AM ]

Yes, I just tried by converting security.impl to be a fragment of user.impl and having the <interceptors> element defined in user.impl's beans.xml. With this, I am able to see the interceptors in action. I realize this is not an optimal solution, but looks like a work around to me.

Comment by Sanjeeb Sahoo [ 17/Dec/10 04:01 AM ]

A fragment can't be attached to more than one host, so there is a potential issue for your use case. Let us think more.

Comment by Sivakumar Thyagarajan [ 17/Dec/10 05:50 AM ]

Marking as "3_1-exclude" and targetting for 3.2

Comment by Sivakumar Thyagarajan [ 06/Jul/11 04:13 AM ]

Marking as 3_1-next as this was targetted for 3.1+ releases

Comment by Sivakumar Thyagarajan [ 08/Jul/11 08:14 AM ]

Marked issue as "Major"

Comment by Sivakumar Thyagarajan [ 15/Oct/12 05:07 PM ]

Moving a fix for this to a "future release" as the dependent issue GLASSFISH-15249 is also moved.

There is a workaround for this issue as Sahoo points out above.

Comment by TangYong [ 15/Oct/12 11:07 PM ]

siva, sahoo,

Please add a osgi-javaee component for the issue.

Comment by TangYong [ 25/Mar/13 01:36 PM ]

Because the bug depends on GLASSFISH-15249 which will be implemented in future release, fix version is adjusted into future release.





[GLASSFISH-18514] CDI does not get enabled on server start for a WAB bundle, the war has to be redeployed after the server starts for CDI to be enabled. Created: 15/Mar/12  Updated: 20/Mar/13

Status: Open
Project: glassfish
Component/s: cdi, OSGi-JavaEE
Affects Version/s: 3.1.2
Fix Version/s: future release

Type: Bug Priority: Critical
Reporter: aaronjwhiteside Assignee: Sivakumar Thyagarajan
Resolution: Unresolved Votes: 1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

File Attachments: Text File server.log    
Tags:
Participants: aaronjwhiteside, Sanjeeb Sahoo, Sivakumar Thyagarajan and tlcksnyder

 Description   

CDI does not get enabled on server start for a WAB bundle, the war has to be redeployed after the server starts for CDI to be enabled.

Please see attached server.log

You can see after the server has started I manually redeployed the WAB and CDI was enabled that time.

If I do not redeploy the WAB CDI is not enabled and I get NPE when trying to access a JAX-RS resource that @Inject's a @OSGiService(dynamic=true).



 Comments   
Comment by aaronjwhiteside [ 16/Mar/12 12:00 AM ]

So I think I tracked down the issue.

The org.glassfish.fighterfish.osgi-cdi bundle which provides the cdi support for WAB's has a run level of 2. However any bundle that is deployed under <domain>autodeploy/bundles always has a run level of 1.

So when you start glassfish that already has bundles under autodeploy/bundles and no osgi-cache (to tell it the deploy order, if you deployed something after the server was already started) it'll start the osgi-cdi bundle after the WAB bundle. And thus CDI support is never enabled for WAB's.

I tried adding

felix.fileinstall.start.level=4

to glassfish3/glassfish/config/osgi.properties

But the bundles deployed from <domain>/autodeploy/bundles still seem to start in runlevel 1.

Comment by aaronjwhiteside [ 16/Mar/12 12:03 AM ]

For reference:
http://felix.apache.org/site/apache-felix-file-install.html

Comment by aaronjwhiteside [ 16/Mar/12 12:14 AM ]

OK so it turns out that all the felix.fileinstall* properties in osgi.properties are totally ignored and should probably be removed.

The real file doing the configuration is:

glassfish3/glassfish/modules/autostart/org.apache.felix.fileinstall-autodeploy-bundles.cfg

However if I add the line:

felix.fileinstall.start.level=4

to this file, it still does not set the run level for bundles under autodeploy/bundles, they still start at run level one.

However I do get a log message printed out:

[#|2012-03-15T20:08:20.322-0400|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=12;_ThreadName=Thread-2;|felix.fileinstall.start.level set, but not a int: 4 |#]

Which is interesting, apparently 4 really isn't an int.. I guess this is an ERROR even though it says INFO.. or maybe a WARN as it seems to have ignored the config.

Without this fixed OSGi is pretty much useless.

Comment by aaronjwhiteside [ 16/Mar/12 12:18 AM ]

Fixing this issue will probably fix another bug I reported too.

http://java.net/jira/browse/GLASSFISH-18508

And a bunch of other random weird stuff I was pulling my hair out over..

Comment by aaronjwhiteside [ 16/Mar/12 04:16 PM ]

OK so after more investigation it turns out you have to set:

felix.fileinstall.start.level=4

in osgi.properties AND org.apache.felix.fileinstall-autodeploy-bundles.cfg or less it does not get picked up. This is probably a bug too.

(and obviously, even through I omitted it you must set glassfish.osgi.start.level.final=4 in osgi.properties too).

So now I can see that the start level of my WAB bundle is really 4, however CDI still does NOT get enabled. I have to remove the war and redeploy it again, after the server has started for CDI to kicked in.

So my assumption that the start level's were the issue seems to be moot, however having a start level of 1 for the bundles under autodeploy/bundles and a start level of 2 for most of glassfish's osgi to jee integration bundles is still a bug. The bundles under autodeploy/bundles should start in start level 4.

So the question is now, if not start levels, what is causing CDI to not load and required a redeploy of the war to be enabled???

Comment by Sanjeeb Sahoo [ 16/Mar/12 06:58 PM ]

No, I don't understand some of your observations. This is how things are supposed to work:

no osgi-cache:
fileinstall is started at start level 2 and it is configured to start after modules/autostart/,
which means first time (same as no osgi cache) the server starts, fileinstall will come into effect
after all bundles in modules/autostart/. Once fileinstall is started, it will then go onto deploy
autodeploy/bundles/. Now, let's say one such bundle is a WAB that uses CDI.
Since osgi-cdi is already installed,when the WAB is processed, osgi-cdi will process the WAB as well.

Let's stop the server and restart. Upon restart, the WAB is started at start level 1 which means it is
started before osgi-web-container and osgi-cdi are started. But, the WAB processing is deferred until
osgi-web-container is started. When server reaches start level 2, osgi-web-container is started and it
processes the WAB. It does not matter whether osgi-cdi is active or not. It only has to be in INSTALLED
state for it to be useful. So, when the WAB is processed by osgi-web-container, osgi-cdi will be used
as well.

So, I don't see a case why osgi-cdi is not used in your case. Could you supply a test case with instructions?
I tried a WAB+CDI test case and could not reproduce.

A note about fileinstall start level:
The bundles in autodeploy/bundles/ are started at start level 1. This seems like
a bad configuration. They should have start level matching that of fileinstall, which is 2. I will
open a separate issue to do this. But, I can't see it affecting any functionality now.

To change the start level of bundles in autodeploy/bundles, edit osgi.properties file.
modules/autostart/o.a.f.fileinstall-autodeploy-bundles.cfg is not used any more.
If you set a start level higher than 2, then you must also configure the server to change the
start level to that value. Currently, server sets final start level to 2 using the property:
glassfish.osgi.start.level.final=2
Change it to the higher value, else your bundles in autodeploy/bundles will never get activated.

Comment by aaronjwhiteside [ 16/Mar/12 08:06 PM ]

After clearing the osgi-cache (I keep forgetting) CDI now works, so changing the start level fixed the issue.

Can this please be fixed in the next release?

Comment by Sanjeeb Sahoo [ 17/Mar/12 01:23 AM ]

What you want to be fixed? start level of bundles/autodeploy/? Sure it can be (could you file an issue under osgi category?), but, as I mentioned earlier, I don't understand why you had to change start level. Are you really sure things didn't work for you as is? I would love to understand it better. Do you have a reproducible test case?

Comment by tlcksnyder [ 20/Mar/13 07:34 PM ]

not attempting to fix without a reproducible test case, or better description of reproduction steps.





[GLASSFISH-15249] Support vanilla OSGi bundles as bean archives and Bean dependencies between bundles Created: 17/Dec/10  Updated: 16/Oct/12

Status: Open
Project: glassfish
Component/s: cdi, OSGi-JavaEE
Affects Version/s: None
Fix Version/s: future release

Type: New Feature Priority: Major
Reporter: Sivakumar Thyagarajan Assignee: Sivakumar Thyagarajan
Resolution: Unresolved Votes: 1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
blocks GLASSFISH-15119 CDI Interceptor still not working in ... Open
Tags:
Participants: Sivakumar Thyagarajan and TangYong

 Description   

GF3.1 CDI-OSGi support should support scenarios where the Beans used by a bundle are in a different bundle, and scenarios where Beans could exist in plain vanilla osgi bundles.

See GLASSFISH-15119 for a discussion on this issue.



 Comments   
Comment by Sivakumar Thyagarajan [ 15/Oct/12 01:22 PM ]

Moving this to a future release. The immediate interest is to align with the OSGi/CDI RFC.

Comment by TangYong [ 15/Oct/12 11:09 PM ]

siva, sahoo

Pl. add osgi-javaee into Component/s.

Comment by Sivakumar Thyagarajan [ 16/Oct/12 05:10 AM ]

Adding osgi-javaee to the component list





Generated at Thu Apr 17 17:05:59 UTC 2014 using JIRA 4.0.2#472.