New Eclipse 3.6, NetBeans 6.9 Integrations for ICEfaces 2.0 Alpha3
Product Logos BridgeIt Services Banner
New Eclipse 3.6, NetBeans 6.9 Integrations for ICEfaces 2.0 Alpha3  XML
Forum Index -> Tools
Author Message
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1111
Offline


The following new IDE integration bundles featuring ICEfaces 2.0.0-Alpha3 are now available for download:

Eclipse 3.6 (pre-release):

- ICEfaces-2.0.0-Alpha3-Eclipse-3.6.0-plugins.zip

NetBeans 6.9 (pre-release):

- ICEfaces-2.0.0.Alpha3-Netbeans-6.9-modules.zip



Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
bertschultheiss

Joined: 25/Jan/2009 00:00:00
Messages: 26
Offline


I posted the text below to the "Development Build Feedback (ICEfaces 2.0)", but I guess that I should have posted my Netbeans 6.9RC2 - ICEfaces 2.0 question here - my apologies.

Dear all,

Installation of ICEfaces-2.0.0.Alpha3 in NetBeans-6.9 RC2 was straight-forward. Next, I created a new web project using the instructions of the Guide.pdf file (GlassFish server 3, Java EE 6, only ICEface framework selected (so JavaServer Faces, Hibernate not selected)), the newly created project includes a generated welcome ICEfaces.xhtml file.

So far so good.

However, when I run the project, I encounter:
java.lang.ClassNotFoundException: javax.faces.application.ResourceHandler.
The libraries of the NetBeans project are: ICEface 2.0 Alpha3 - icefaces.jar, ICEface 2.0 Alpha3 - icepush.jar, JDK1.6, and GlassFish Server 3. But no JSF 2.0 library.

When I add the JSF2.0 library (jar files that are added: JSF 2.0 - jsf-api.jar, JSF 2.0 - jsf-imp.jar) ,
I get another error: Attribute 'metadata-complete' is not allowed to appear in element 'faces-config'. For the stack trace, see below.

The question: how to create an ICEfaces project in NetBeans 6.9 RC2?
(note that ICEfaces-2.0.0.Alpha3 was tested with RC1 - is that the problem?)

Kind regards,
Bert Schultheiss


**** stack trace of application with JSF 2.0 library ****

11-jun-2010 15:20:28 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_10-b01-FCS) for context '/WebApplication2'
11-jun-2010 15:20:28 org.apache.catalina.core.ApplicationContext log
SEVERE: WebModule[/WebApplication2]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! cvc-complex-type.3.2.2: Attribute 'metadata-complete' is not allowed to appear in element 'faces-config'.
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4623)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5323)
at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329)
at com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:302)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
at org.glassfish.deployment.admin.ReDeployCommand.execute(ReDeployCommand.java:94)

at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:250)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:176)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:147)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'metadata-complete' is not allowed to appear in element 'faces-config'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:410)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3165)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(XMLSchemaValidator.java:2630)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2037)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
at com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.beginNode(DOMValidatorHelper.java:273)
at com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.validate(DOMValidatorHelper.java:240)
at com.sun.org.apache.xerces.internal.jaxp.validation.DOMValidatorHelper.validate(DOMValidatorHelper.java:186)
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:100)
at javax.xml.validation.Validator.validate(Validator.java:127)
at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:434)
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:394)
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:351)
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:619)
11-jun-2010 15:20:29 org.apache.catalina.core.StandardContext start
SEVERE: PWC1306: Startup of context /WebApplication2 failed due to previous errors
11-jun-2010 15:20:29 org.apache.catalina.core.ApplicationContext log
SEVERE: WebModule[/WebApplication2]PWC1277: Exception sending context destroyed event to listener instance of class org.icefaces.push.servlet.ServletEnvironmentListener
java.lang.NullPointerException
at org.icefaces.push.servlet.ICEfacesResourceHandler.notifyContextShutdown(ICEfacesResourceHandler.java:178)
at org.icefaces.push.servlet.ServletEnvironmentListener.contextDestroyed(ServletEnvironmentListener.java:38)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4705)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5492)
at com.sun.enterprise.web.WebModule.stop(WebModule.java:488)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5365)
at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329)
at com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:302)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
at org.glassfish.deployment.admin.ReDeployCommand.execute(ReDeployCommand.java:94)
at com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:302)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:250)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:176)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:147)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
11-jun-2010 15:20:29 com.sun.enterprise.web.WebApplication start
NFO: Loading application WebApplication2 at /WebApplication2
11-jun-2010 15:20:29 org.glassfish.deployment.admin.DeployCommand execute
INFO: Deployment of WebApplication2 done is 2140 ms

liming.wu

Joined: 26/Oct/2004 00:00:00
Messages: 441
Offline


Glassfish 3 includes jsf 2.0 so you don't need jsf jar files. The log file posted shows jsf 1.2 is used and looks like you added jsf 1.2 instead of jsf 2.0.2.
>>>Initializing Mojarra (1.2_10-b01-FCS)

[Email]
bertschultheiss

Joined: 25/Jan/2009 00:00:00
Messages: 26
Offline


Dear liming.wu,
thank you for your answer.

It seems that my problem was that I used glassfish-v3-prelude.

I downloaded the latest glassfish-v3 version, and added this installation to NetBeans IDE 6.9 RC2. And now, a newly created ICEfaces 2.0 project correctly shows the "Welcome to ICEfaces 2. Add ICEfaces 1.8 components" page.

Kind regards,
Bert Schultheiss
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1111
Offline


The NetBeans 6.9 IDE integration bundle has been updated for the NetBeans 6.9 final release. This updated integration resolves several issues with the previous release and is recommended for all NetBeans 6.9 users.

NetBeans 6.9 (final):

- ICEfaces-2.0.0.Alpha3-Netbeans-6.9.final-modules.zip

Download Now

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
mswhit.quote@gmail.com

Joined: 04/Feb/2010 00:00:00
Messages: 1
Offline


Hi just installed ICEfaces-2.0.0.Beta2a-Netbeans-6.9-modules and getting error on inputFile missing.

Is this me or is it really missing?
liming.wu

Joined: 26/Oct/2004 00:00:00
Messages: 441
Offline


Where did you get the error? from IDE log or from console ?


There is no inputFile in icefaces components and please use fileEntry in ICEfaces Advanced components with uri prefix "ace"

InputFile is removed from ICEfaces components portion of palette as well.

Liming
[Email]
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team