[JBoss JIRA] (RF-12644) Improve CoreUtils/JSEncoder performance by character escape improvements
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12644?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12644:
----------------------------
Comment: was deleted
(was: A comment with security level 'JBoss Employee' was removed.)
> Improve CoreUtils/JSEncoder performance by character escape improvements
> ------------------------------------------------------------------------
>
> Key: RF-12644
> URL: https://issues.jboss.org/browse/RF-12644
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.0.M2
> Reporter: Darius Ski
> Priority: Minor
>
> In JSUtils, character escaping is done a char at a time. Also in JSEncoder there is opportunity to add encode method that operates with CharBuffer constants and making encode/compile methods static.
> Improves partial rendering performance, when large Strings are coming from user beans (for example custom generated JSON), that need escaping.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (RF-12611) rich:dataTable doesn't call restoreState() on a row-level composite component
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12611?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12611:
------------------------------------
Thanks [~mcayland] for taking the time to report and dig into this problem. Would you mind verifying that my fix addresses your specific use case? Thanks again!
> rich:dataTable doesn't call restoreState() on a row-level composite component
> -----------------------------------------------------------------------------
>
> Key: RF-12611
> URL: https://issues.jboss.org/browse/RF-12611
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.2.3.Final
> Environment: Debian Wheezy, Linux, amd64
> Reporter: Mark Cave-Ayland
> Assignee: Brian Leathem
> Fix For: 4.3.0.M3
>
> Attachments: RFStateBug1.tar.gz
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> I currently have a row-level composite component that works well within a h:dataTable which I am looking to migrate to rich:dataTable for more flexibility with layout. However when embedded within a rich:dataTable, the component state is not preserved during the RESTORE_VIEW phase.
> Further investigation with a debugger shows that the problem is within UIDataAdapter::restoreState() in that requiresRowIteration() returns false during the RESTORE_VIEW phase, and so the restoreState() function within the row-level composite component is never called.
> The related transcript from IRC can be found here: http://transcripts.jboss.org/channel/irc.freenode.org/%23richfaces/2012/%....
> Many thanks,
> Mark.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (RF-12641) Rich:focus support for mobile browsers
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12641?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12641:
------------------------------------
Agreed, let's be sure to exclude the component from the mobile showcase until it works in mobile environments.
> Rich:focus support for mobile browsers
> --------------------------------------
>
> Key: RF-12641
> URL: https://issues.jboss.org/browse/RF-12641
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-misc
> Affects Versions: 4.3.0.M3
> Reporter: Juraj Húska
> Fix For: 4.3.0.M3
>
>
> The current implementation of {{rich:focus}} works for desktop browsers only.
> It would be nice to have support for mobile devices as well.
> Possible support is to make mobile browser to focus wished input together with showing the keyboard.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (RF-12636) rich:calendar: @preloadDateRangeBegin and @preloadDateRangeEnd are not working
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12636?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12636:
-------------------------------
Fix Version/s: 5-Tracking
> rich:calendar: @preloadDateRangeBegin and @preloadDateRangeEnd are not working
> ------------------------------------------------------------------------------
>
> Key: RF-12636
> URL: https://issues.jboss.org/browse/RF-12636
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, doc
> Environment: RichFaces 4.3.0-SNAPSHOT
> Metamer 4.3.0-SNAPSHOT
> Apache Tomcat 7.0.32/ JBoss AS 7.1
> Java(TM) SE Runtime Environment 1.7.0_09-b05 @ Linux
> Firefox 16.0 @ Linux x86_64
> Reporter: Jiří Štefek
> Fix For: 5-Tracking
>
>
> These attributes should work with dateModel and calendar in client mode, but they do not.
> Should an ajax request be made when navigating calendar to not preloaded date? Or should calendar forbid such action?
> Or else?
> Please, also update a VDL-doc for these two.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (RF-12638) Selecting a trree node with ajax, will delete any viewParam to the view
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12638?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12638:
-------------------------------
Steps to Reproduce:
1.) call the view with "http://localhost:8084/web-jsf-richfaces/ajtest.html?dsId=55" the Id on the right site will be 55 (Its the viewParam).
2.) select a node.
3.) press submit button ==> Id will be "null"
4.) select a node Id will be 55 again and so on
{code:title=ajtest.xml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:metadata>
<f:viewParam name="dsId" value="#{myBean.dataSourceId}" />
</f:metadata>
<f:view>
<h:head>
<title>Tree Test</title>
<meta http-equiv="content-type" content="text/xhtml; charset=UTF-8" />
</h:head>
<h:body>
<h1>Tree Test</h1>
<h:panelGrid columns="3" id="pagePanelGrid" >
<h:form id="plSearchForm">
<rich:panel title="PL Search" id="plSearchPanel">
<rich:tree value="#{myBean.rootFolder}" var="node" toggleType="client" selectionType="ajax" selectionChangeListener="#{myBean.processPlTreeSelectionChange}">
<rich:treeNode>
<h:outputText value="#{node.name}" />
</rich:treeNode>
</rich:tree>
</rich:panel>
</h:form>
<a4j:outputPanel ajaxRendered="true" id="plDpEditPanelGrid">
<h:form id="dsEditForm">
<rich:panel id="dsPropEditPanel">
<h:outputLabel value="Test" />
<a4j:commandButton id="dsSaveButton" render="@form :plListForm:plListPanel" execute="@form" action="#{myBean.saveDataSource}" />
<h:panelGrid columns="2">
<h:outputLabel value="Id:" for="dsName"/>
<h:inputText value="#{myBean.id}" id="dsName" />
</h:panelGrid>
</rich:panel>
</h:form>
</a4j:outputPanel>
</h:panelGrid>
</h:body>
</f:view>
</html>
{code}
{code:title=MyBean.java}
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.event.AbortProcessingException;
import org.richfaces.event.TreeSelectionChangeEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ManagedBean
@ViewScoped
public class MyBean implements Serializable {
private final static Logger LOG = LoggerFactory.getLogger(MyBean.class);
private Integer dataSourceId;
private MyTreeNode rootFolder;
public MyBean() {
super();
}
public Integer getDataSourceId() {
return dataSourceId;
}
public void setDataSourceId(Integer id) {
this.dataSourceId = id;
}
public void saveDataSource() {
}
public MyTreeNode getRootFolder() {
if (rootFolder == null) {
rootFolder = new MyTreeNode("ROOT");
rootFolder.addChild("a", rootFolder);
rootFolder.addChild("b", rootFolder);
rootFolder.addChild("c", rootFolder);
}
return rootFolder;
}
public void setRootFolder(MyTreeNode rootFolder) {
this.rootFolder = rootFolder;
}
public void processPlTreeSelectionChange(TreeSelectionChangeEvent event) throws AbortProcessingException {
}
public String getId() {
return String.valueOf(dataSourceId);
}
}
{code}
{code:title=MyTreeNode.java}
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.richfaces.model.TreeNode;
public class MyTreeNode implements TreeNode, Serializable {
private String name;
private List<TreeNode> nodes = new ArrayList();
private List<String> names = new ArrayList();
public MyTreeNode() {
super();
}
public MyTreeNode(String name) {
this();
this.name = name;
}
@Override
public TreeNode getChild(Object o) {
if (o instanceof String) {
return nodes.get(names.indexOf(o));
} else {
throw new RuntimeException("Unknown object: " + o);
}
}
@Override
public int indexOf(Object o) {
if (o instanceof String) {
return names.indexOf(o);
} else {
throw new RuntimeException("Unknown object: " + o);
}
}
@Override
public Iterator<Object> getChildrenKeysIterator() {
return new Iterator<Object>() {
int pos;
@Override
public boolean hasNext() {
return pos < names.size();
}
@Override
public Object next() {
return names.get(pos++);
}
@Override
public void remove() {
throw new UnsupportedOperationException("Not supported yet.");
}
};
}
@Override
public boolean isLeaf() {
return name.isEmpty();
}
@Override
public void addChild(Object o, TreeNode tn) {
((MyTreeNode) tn).names.add((String) o);
((MyTreeNode) tn).nodes.add(new MyTreeNode((String) o));
}
@Override
public void insertChild(int i, Object o, TreeNode tn) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public void removeChild(Object o) {
throw new UnsupportedOperationException("Not supported yet.");
}
public String getName() {
return name;
}
@Override
public String toString() {
return getName();
}
}
{code}
was:
1.) call the view with "http://localhost:8084/web-jsf-richfaces/ajtest.html?dsId=55" the Id on the right site will be 55 (Its the viewParam).
2.) select a node.
3.) press submit button ==> Id will be "null"
4.) select a node Id will be 55 again and so on
Code:
ajtest.xml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:metadata>
<f:viewParam name="dsId" value="#{myBean.dataSourceId}" />
</f:metadata>
<f:view>
<h:head>
<title>Tree Test</title>
<meta http-equiv="content-type" content="text/xhtml; charset=UTF-8" />
</h:head>
<h:body>
<h1>Tree Test</h1>
<h:panelGrid columns="3" id="pagePanelGrid" >
<h:form id="plSearchForm">
<rich:panel title="PL Search" id="plSearchPanel">
<rich:tree value="#{myBean.rootFolder}" var="node" toggleType="client" selectionType="ajax" selectionChangeListener="#{myBean.processPlTreeSelectionChange}">
<rich:treeNode>
<h:outputText value="#{node.name}" />
</rich:treeNode>
</rich:tree>
</rich:panel>
</h:form>
<a4j:outputPanel ajaxRendered="true" id="plDpEditPanelGrid">
<h:form id="dsEditForm">
<rich:panel id="dsPropEditPanel">
<h:outputLabel value="Test" />
<a4j:commandButton id="dsSaveButton" render="@form :plListForm:plListPanel" execute="@form" action="#{myBean.saveDataSource}" />
<h:panelGrid columns="2">
<h:outputLabel value="Id:" for="dsName"/>
<h:inputText value="#{myBean.id}" id="dsName" />
</h:panelGrid>
</rich:panel>
</h:form>
</a4j:outputPanel>
</h:panelGrid>
</h:body>
</f:view>
</html>
MyBean.java
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.event.AbortProcessingException;
import org.richfaces.event.TreeSelectionChangeEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ManagedBean
@ViewScoped
public class MyBean implements Serializable {
private final static Logger LOG = LoggerFactory.getLogger(MyBean.class);
private Integer dataSourceId;
private MyTreeNode rootFolder;
public MyBean() {
super();
}
public Integer getDataSourceId() {
return dataSourceId;
}
public void setDataSourceId(Integer id) {
this.dataSourceId = id;
}
public void saveDataSource() {
}
public MyTreeNode getRootFolder() {
if (rootFolder == null) {
rootFolder = new MyTreeNode("ROOT");
rootFolder.addChild("a", rootFolder);
rootFolder.addChild("b", rootFolder);
rootFolder.addChild("c", rootFolder);
}
return rootFolder;
}
public void setRootFolder(MyTreeNode rootFolder) {
this.rootFolder = rootFolder;
}
public void processPlTreeSelectionChange(TreeSelectionChangeEvent event) throws AbortProcessingException {
}
public String getId() {
return String.valueOf(dataSourceId);
}
}
MyTreeNode.java
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.richfaces.model.TreeNode;
public class MyTreeNode implements TreeNode, Serializable {
private String name;
private List<TreeNode> nodes = new ArrayList();
private List<String> names = new ArrayList();
public MyTreeNode() {
super();
}
public MyTreeNode(String name) {
this();
this.name = name;
}
@Override
public TreeNode getChild(Object o) {
if (o instanceof String) {
return nodes.get(names.indexOf(o));
} else {
throw new RuntimeException("Unknown object: " + o);
}
}
@Override
public int indexOf(Object o) {
if (o instanceof String) {
return names.indexOf(o);
} else {
throw new RuntimeException("Unknown object: " + o);
}
}
@Override
public Iterator<Object> getChildrenKeysIterator() {
return new Iterator<Object>() {
int pos;
@Override
public boolean hasNext() {
return pos < names.size();
}
@Override
public Object next() {
return names.get(pos++);
}
@Override
public void remove() {
throw new UnsupportedOperationException("Not supported yet.");
}
};
}
@Override
public boolean isLeaf() {
return name.isEmpty();
}
@Override
public void addChild(Object o, TreeNode tn) {
((MyTreeNode) tn).names.add((String) o);
((MyTreeNode) tn).nodes.add(new MyTreeNode((String) o));
}
@Override
public void insertChild(int i, Object o, TreeNode tn) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public void removeChild(Object o) {
throw new UnsupportedOperationException("Not supported yet.");
}
public String getName() {
return name;
}
@Override
public String toString() {
return getName();
}
}
> Selecting a trree node with ajax, will delete any viewParam to the view
> -----------------------------------------------------------------------
>
> Key: RF-12638
> URL: https://issues.jboss.org/browse/RF-12638
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.3.Final
> Environment: tomcat 7, OpenJDK7
> Reporter: Arne Plöse
> Labels: richfaces
>
> Having a tree in one h:form and using a h:form within a4j:outputPanel will set a viewParam to null if the tree was selected and the form is submitted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (RF-12619) @ViewScoped (CDI-managed) beans lost with a4j:command* and dynamic form
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12619?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-12619:
----------------------------------
Assignee: Lukáš Fryč
> @ViewScoped (CDI-managed) beans lost with a4j:command* and dynamic form
> -----------------------------------------------------------------------
>
> Key: RF-12619
> URL: https://issues.jboss.org/browse/RF-12619
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.3.0.M2
> Environment: Windows, JDK 1.7.0_09, Glassfish 3.1.2.2 with Mojarra 2.1.14 (at least >= 2.1.8), RF 4.3.0 M2 (also on RF 4.2.x), Weld 1.1.8 and SeamFaces 3.1.0.
> Reporter: Fab Mars
> Assignee: Lukáš Fryč
> Labels: a4j:commandbutton, cdi, facelets, seamfaces, viewscoped
> Attachments: TestViewScope.zip
>
>
> Here is a weird case I found after updating a project of mine from JSF 1.2 & RF 3.x to JSF 2.1 and RF 4.2.3/4.3.0M2. See attached project.
> On a part of the page which is into a Facelets insert, I can click on a <a4j:commandButton/> to trigger the creation of some entity instance and dynamically display another form associated to that entity in another part of the page. So, there are 2 forms on the screen, one for the creation button, another one to edit the entity, both are always displayed but the content of the latter isn't rendered until the entity exists. The page actions are held by some backing bean which also contains the form.
> From the second form, I can submit the entity once updated. The buttons are <h:commandButton/> this time and the action returns null so I can stay on the same view and keep on working.
> Back with RF 3.x, I used the keepAlive tag to maintain the page's backing bean along the page life. All worked fine. After JSF 2.1 and RF 4 and CDI were released, I intended on using @ViewScoped instead. Naturally I had to add SeamFaces so my @ViewScoped beans were actually CDI-managed, and I updated my whole codebase.
> Well, now, when the a4j creation button is used, the form dynamically displays all right BUT when I try to submit the second form, my @ViewScoped bean vanishes (pbly the viewMap vanishes entirely).
> However, if I use <h:commandButton><f:ajax/></h:commandButton> for the creation instead, everything works fine. Which leads me to believe there is a bug/regression from RF3.3 on a4j:command* components (maybe a4j:ajax/a4j:poll, didn't check) when used in a full CDI environment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (RF-12612) CDI Push on GlassFish - can't resolve bean reference to TopicsContext
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12612?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12612:
-------------------------------
Fix Version/s: 5-Tracking
Labels: glassfish (was: waiting_on_user)
Component/s: component-push/poll
> CDI Push on GlassFish - can't resolve bean reference to TopicsContext
> ---------------------------------------------------------------------
>
> Key: RF-12612
> URL: https://issues.jboss.org/browse/RF-12612
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll
> Affects Versions: 4.2.2.Final
> Environment: W7 x64, GlassFish Server Open Source Edition 3.1.2.2 (build 5), RichFaces 4.2.2.Final, Atmosphere 0.8.4,Grizzly Framework 1.9.50, sls4j-api-1.6.1
> Reporter: Albert Gubaidullin
> Labels: glassfish
> Fix For: 5-Tracking
>
>
> I'm trying to use the example RichFaces demo case cdi-push, but when I'm call the pushEvent.fire(message); I get an error :
> {code}
> SEVERE: java.util.NoSuchElementException
> at com.google.common.collect.Iterators$1.next(Iterators.java:71)
> at org.richfaces.cdi.push.PushCDIExtension$PushObserverMethod.getBeanReference(PushCDIExtension.java:172)
> {code}
> full log below:
> {code}
> INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5)
> INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
> INFO: Grizzly Framework 1.9.50 started in: 647ms - bound to [0.0.0.0:38037]
> INFO: Grizzly Framework 1.9.50 started in: 774ms - bound to [0.0.0.0:9090]
> INFO: Grizzly Framework 1.9.50 started in: 931ms - bound to [0.0.0.0:8009]
> INFO: Grizzly Framework 1.9.50 started in: 968ms - bound to [0.0.0.0:38042]
> INFO: Grizzly Framework 1.9.50 started in: 930ms - bound to [0.0.0.0:37998]
> INFO: Grizzly Framework 1.9.50 started in: 1002ms - bound to [0.0.0.0:4848]
> INFO: The Admin Console is already installed, but not yet loaded.
> WARNING: DPL5404:Specification-Version for the optional package [ dom4j ] in the jarfile [ C:\glassfish-3.1.2.2\glassfish\domains\domain1\lib\ext\dom4j-1.6.1.jar ] is not specified. Please provide a valid specification version for this optional package
> INFO: GlassFish Server Open Source Edition 3.1.2.2 (5) startup time : Felix (3 045ms), startup services(2 229ms), total(5 274ms)
> INFO: HV000001: Hibernate Validator 4.3.0.Final
> INFO: Grizzly Framework 1.9.50 started in: 448ms - bound to [0.0.0.0:9090]
> INFO: Created EjbThreadPoolExecutor with thread-core-pool-size 16 thread-max-pool-size 32 thread-keep-alive-seconds 60 thread-queue-capacity 2147483647 allow-core-thread-timeout false
> WARNING: JK configuration file C:\glassfish-3.1.2.2\glassfish\domains\domain1/config/glassfish-jk.properties is not found.
> INFO: Initiating Jersey application, version 'Jersey: 1.11.1 03/31/2012 06:49 PM'
> INFO: Grizzly Framework 1.9.50 started in: 425ms - bound to [0.0.0.0:8009]
> INFO: SEC1002: Security Manager is OFF.
> INFO: SEC1010: Entering Security Startup Service
> INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
> INFO: SEC1115: Realm [QMSRealm] of classtype [com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm] successfully created.
> INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
> INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
> INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
> INFO: SEC1011: Security Service(s) Started Successfully
> INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:9090]
> INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:38042]
> INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]
> INFO: WEB0169: Created HTTP listener [jk-connector] on host/port [0.0.0.0:8009]
> INFO: WEB0171: Created virtual server [server]
> INFO: WEB0171: Created virtual server [__asadmin]
> INFO: WEB0172: Virtual server [server] loaded default web module []
> INFO: REST00001: Listening to REST requests at context: /management/domain
> INFO: The Admin Console is already installed, but not yet loaded.
> INFO: The Admin Console is starting. Please wait.
> INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://mycomputer:38047/jndi/rmi://mycomputer:38047/jmxrmi
> INFO: WELD-000900 1.1.8 (Final)
> INFO: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context '/pushdemo'
> INFO: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context ''
> INFO: Selected fallback cache factory
> INFO: Creating LRUMap cache instance using parameters: {com.sun.faces.forceLoadConfiguration=true, org.richfaces.skin=classic, com.sun.faces.validateXml=true, org.atmosphere.useBlocking=true, org.richfaces.push.jms.enabled=false}
> INFO: Creating LRUMap cache instance of 512 items capacity
> INFO: RichFaces Core Implementation by JBoss by Red Hat, version v.4.2.2.Final
> INFO: Selected fallback cache factory
> INFO: Creating LRUMap cache instance using parameters: {com.sun.faces.forceLoadConfiguration=true, com.sun.jsftemplating.FS_DENY_PATHS=META-INF/:WEB-INF/:*.jsf:*.inc:*.xhtml:*.xml, com.sun.jsftemplating.RESOURCE_PREFIX=/html, com.sun.jsftemplating.CLASSLOADER=org.glassfish.admingui.common.plugin.ConsoleClassLoader, com.sun.faces.validateXml=true, javax.faces.VALIDATE_EMPTY_FIELDS=false, com.sun.jsftemplating.DEBUG=false, javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR=true, com.sun.faces.enableMultiThreadedStartup=true, com.sun.faces.enableRestoreView11Compatibility=true}
> INFO: Creating LRUMap cache instance of 512 items capacity
> INFO: RichFaces Core Implementation by JBoss by Red Hat, version v.4.2.2.Final
> WARNING: JMS API was found on the classpath; if you want to enable RichFaces Push JMS integration, set context-param 'org.richfaces.push.jms.enabled' in web.xml
> WARNING: JMS API was found on the classpath; if you want to enable RichFaces Push JMS integration, set context-param 'org.richfaces.push.jms.enabled' in web.xml
> INFO: WEB0671: Loading application [ru.moondb_pushdemo_war_1.0] at [/pushdemo]
> INFO: WEB0671: Loading application [__admingui] at [/]
> INFO: CORE10010: Loading application __admingui done in 10 432 ms
> INFO: The Admin Console application is loaded.
> INFO: ru.moondb_pushdemo_war_1.0 was successfully deployed in 12 653 milliseconds.
> INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:38042]
> INFO: Grizzly Framework 1.9.50 started in: 371ms - bound to [0.0.0.0:38042]
> SEVERE: 22 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Using BroadcasterFactory class: org.atmosphere.cpr.DefaultBroadcasterFactory
> SEVERE: 48 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path: /*
> SEVERE: 105 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Atmosphere is using async support: org.atmosphere.container.GlassFishWebSocketSupport running under container: GlassFish Server Open Source Edition 3.1.2.2 with WebSocket enabled.
> SEVERE: 123 [http-thread-pool-9090(2)] INFO org.atmosphere.handler.ReflectorServletProcessor - Installing Servlet null
> SEVERE: 126 [http-thread-pool-9090(2)] INFO org.atmosphere.handler.ReflectorServletProcessor - Installing Filter PushHandlerFilter
> SEVERE: 126 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Using broadcaster class: org.atmosphere.cpr.DefaultBroadcaster
> SEVERE: 130 [http-thread-pool-9090(2)] INFO org.atmosphere.cpr.AtmosphereServlet - Atmosphere Framework 0.8.4 started.
> SEVERE: java.util.NoSuchElementException
> at com.google.common.collect.Iterators$1.next(Iterators.java:71)
> at org.richfaces.cdi.push.PushCDIExtension$PushObserverMethod.getBeanReference(PushCDIExtension.java:172)
> at org.richfaces.cdi.push.PushCDIExtension$PushObserverMethod.notify(PushCDIExtension.java:140)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:590)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:585)
> at org.jboss.weld.event.EventImpl.fire(EventImpl.java:69)
> at ru.moondb.webapp.bean.PushCdiBean.sendMessage(PushCdiBean.java:66)
> at ru.moondb.webapp.bean.PushCdiBean$Proxy$_$$_WeldClientProxy.sendMessage(PushCdiBean$Proxy$_$$_WeldClientProxy.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.el.parser.AstValue.invoke(AstValue.java:254)
> at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
> at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)
> at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
> at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
> at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
> at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
> at javax.faces.component.UICommand.broadcast(UICommand.java:315)
> at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
> at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
> at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
> at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
> at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
> at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
> at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
> at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:459)
> at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:316)
> at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87)
> at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171)
> at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143)
> at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:102)
> at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)
> at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175)
> at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145)
> at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:210)
> at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:722)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months