voyent
Messages posted by: Marioko  XML
Profile for Marioko -> Messages posted by Marioko [116] Go to Page: 1, 2, 3, 4, 5, 6, 7, 8 Next 
Author Message
great news!

just ICEbrowser left! ;-)
yay, FIXED!! :-)

mm but i cant find 18806 rev

http://jira.icefaces.org/browse/ICE-4345
ohhh sorry was my fault i am using the SessionRenderer API and i just need deploy the Push Server as well to solve my problem.. i was thinking that push server is optional (like AHS)

ok thanks (btw sorry my english)

ok i found something more, many RuntimeExceptions:

java.lang.RuntimeException: no message available

full log file attached.
that is the weird thing the log and console only said:

NullPointerException

i keep testing and the problem is when i try to open a *.iface page

http://localhost:8080/index.html works fine (is just a welcome html page)

but http://localhost:8080/index2.iface dont work.
i have the same problem..

http://www.icefaces.org/JForum/posts/list/12620.page
just to clarify, did your configuration run from the root context with 1.7.2 and then stopped working once you upgraded to 1.8? 


yes, it was working nice in 1.7.2

i also test with a new application created by Netbeans and the same happens.
SOLUTION: i just need deploy the Push Server


hi, i was testing 1.8 to migrate my current app (1.7.2), my application has a dedicated server, and is running in the ROOT path. The framework start well but when i make the first request just typing in the browser http://myserver:8080/ nothing happens.

My icefaces.log said:

Code:
22-abr-2009 13:36 [INFO ] 
 ICEsoft Technologies, Inc.
 ICEfaces 1.8.0 
 Build number: 12
 Revision: 18727
  
 22-abr-2009 13:36 [INFO ] ViewRootStateManagerImpl constructed with Delegate: com.sun.faces.application.StateManagerImpl@197507c 
 22-abr-2009 13:36 [INFO ] ICEfaces JSP parser disabled. This is a Facelets-only configuration. 
 22-abr-2009 13:36 [INFO ] Adapting to Jetty ARP environment 
 22-abr-2009 13:36 [INFO ] Blocking Request Handler: "auto-detect" 
 22-abr-2009 13:36 [ERROR] java.lang.NullPointerException 
 22-abr-2009 13:36 [ERROR] java.lang.NullPointerException 


TESTED IN Jetty 6.1.15 and Tomcat 6.0.18

If a change the application to another path http://myserver:8080/myapp/ for example everything works perfect. Maybe the problem is because the auto-detect for Push Server.

My workaround now is make a ROOT/index.html that redirect to myweb/index.iface
i need to use this doctype in my web for "perfect" rendering in Internet Explorer

ice:outputDeclaration doctypeRoot="html" doctypePublic="-//W3C//DTD XHTML 1.0 Strict//EN" doctypeSystem="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

Everything works fine but panelTab render bad in firefox and google chrome.

Theres is some workaround?? thanks in advance.

SCREENSHOT:


Ok i solve the problem, i dont know why but i disabled iReport plugin for Netbeans and ICEfaces integration works nice..
nice, i just download it and install it.

But...

i was testing creating a new Visual Web ICEFaces Project. And when the visual editor is opening then:

Code:
java.lang.NullPointerException
 	at org.netbeans.modules.visualweb.designer.markup.RaveDocumentBuilderFactory.createDocumentBuilder(RaveDocumentBuilderFactory.java:146)
 	at org.netbeans.modules.visualweb.designer.markup.RaveDocumentBuilderFactory.newDocumentBuilder(RaveDocumentBuilderFactory.java:127)
 	at org.netbeans.modules.visualweb.designer.markup.MarkupServiceImpl.createRaveSourceDocumentBuilder(MarkupServiceImpl.java:338)
 	at org.netbeans.modules.visualweb.api.designer.markup.MarkupService.createRaveSourceDocumentBuilder(MarkupService.java:235)
 	at org.netbeans.modules.visualweb.insync.markup.MarkupUnit.parseDom(MarkupUnit.java:348)
 	at org.netbeans.modules.visualweb.insync.markup.MarkupUnit.read(MarkupUnit.java:502)
 	at org.netbeans.modules.visualweb.insync.SourceUnit.sync(SourceUnit.java:552)
 	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.syncSubUnits(FacesPageUnit.java:257)
 	at org.netbeans.modules.visualweb.insync.beans.BeansUnit.sync(BeansUnit.java:205)
 	at org.netbeans.modules.visualweb.insync.live.LiveUnit.sync(LiveUnit.java:337)
 	at org.netbeans.modules.visualweb.insync.live.LiveUnitWrapper.getLiveUnit(LiveUnitWrapper.java:114)
 	at org.netbeans.modules.visualweb.insync.models.FacesModel.getLiveUnit(FacesModel.java:597)
 	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.initDesignProjectListening(JsfForm.java:733)
 	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.initListening(JsfForm.java:270)
 	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.init(JsfForm.java:241)
 	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.<init>(JsfForm.java:225)
 	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getJsfForm(JsfForm.java:332)
 	at org.netbeans.modules.visualweb.designer.jsf.DesignerJsfServiceImpl.createDesignerMultiViewElement(DesignerJsfServiceImpl.java:70)
 	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$DesignerDesc.createElement(JsfJavaEditorSupport.java:562)
 	at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:206)
 	at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:127)
 	at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:123)
 	at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:272)
 	at org.netbeans.core.multiview.MultiViewPeer.peerComponentOpened(MultiViewPeer.java:233)
 	at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentOpened(MultiViewCloneableTopComponent.java:139)
 	at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:298)
 Caused: java.lang.IllegalStateException: [Winsys] TopComponent org.netbeans.core.multiview.MultiViewCloneableTopComponent throws exception/error from its componentOpened() method.
 Please repair it! Probable cause is at org.netbeans.modules.visualweb.designer.markup.RaveDocumentBuilderFactory.createDocumentBuilder(RaveDocumentBuilderFactory.java:146)
 	at org.openide.windows.WindowManager.logThrowable(WindowManager.java:361)
 	at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:300)
 	at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:996)
 	at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:764)
 	at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:311)
 	at org.netbeans.core.windows.WindowManagerImpl.topComponentOpenAtTabPosition(WindowManagerImpl.java:1104)
 	at org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1071)
 	at org.openide.windows.TopComponent.open(TopComponent.java:384)
 	at org.openide.windows.TopComponent.open(TopComponent.java:375)
 	at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:199)
 	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.doOpenDesigner(JsfJavaEditorSupport.java:176)
 	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$1.run(JsfJavaEditorSupport.java:158)
 	at org.openide.util.Mutex.doEvent(Mutex.java:1335)
 	at org.openide.util.Mutex.writeAccess(Mutex.java:452)
 	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.openDesigner(JsfJavaEditorSupport.java:150)
 	at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:210)
 	at org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject$OpenEdit.open(JsfJspDataObject.java:257)
 	at org.openide.actions.OpenAction.performAction(OpenAction.java:81)
 	at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
 	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
 	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
 	at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1492)
 	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
 	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
 	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
 	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
 	at java.awt.Component.processMouseEvent(Component.java:6102)
 	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
 	at java.awt.Component.processEvent(Component.java:5864)
 	at java.awt.Container.processEvent(Container.java:2058)
 	at java.awt.Component.dispatchEventImpl(Component.java:4466)
 	at java.awt.Container.dispatchEventImpl(Container.java:2116)
 	at java.awt.Component.dispatchEvent(Component.java:4296)
 	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
 	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
 	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
 	at java.awt.Container.dispatchEventImpl(Container.java:2102)
 	at java.awt.Window.dispatchEventImpl(Window.java:2454)
 	at java.awt.Component.dispatchEvent(Component.java:4296)
 [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
 	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

make sure the JSF jars are the same that have ICEfaces (JSF 1.2_9), may be MyFaces is adding newer jars.
just use the JARs files that are inside the lib folder in ICEfaces distribution, also recheck your web.xml configuration comparing it with demos.
Ohh great, thanks!!
I want notify just to one Client when something happens and rerender only that client but using the simplest way with SessionRender.

for example something like:

SessionRenderer.addCurrentSession("OneUserGroup"+theUser.getID());

and when something happens just render the OneUserGroup[userId] group.

¿In terms of performance is that a good practice to render just one client??

 
Profile for Marioko -> Messages posted by Marioko [116] Go to Page: 1, 2, 3, 4, 5, 6, 7, 8 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team