Icefaces 1.8.2 and netbeans 6.8, project integration
[Logo]
Forums for ICEfaces and ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Icefaces 1.8.2 and netbeans 6.8, project integration  XML
Forum Index -> Tools Go to Page: 1, 2 Next 
Author Message
tsutsu


Joined: 24/06/2009 00:00:00
Messages: 3
Offline


Hi,
I have converted a web application with woodstock components to an icefaces application. This was done with Netbeans 6.7.1 and deployed on glassfish 2.1.
I'am in the process of upgrading to Netbeans 6.8 and glassfish v3. Deploying a .war build with netbeans 6.7.1 results in an error 'missing icefaces libraries'.
When checking the icefaces.org website, I do believe that icefaces project integration module is not yet available for Netbeans 6.8. Are their any plans to upgrade this module/plugin ?
Can I use the module for Netbenans 6.7.1 in 6.8 ?
Thank you
Theo
ken.fyten

Joined: 26/10/2004 00:00:00
Messages: 614
Offline


Hi,

The NetBeans 6.8 integration is currently under development. We are planning on providing integration support for both ICEfaces 1.8.2 (for JEE 1.5 projects), and ICEfaces 2.0 Alpha 2 (for JEE 6 projects).

Approximate timing is for release is Jan. 15th.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
tsutsu


Joined: 24/06/2009 00:00:00
Messages: 3
Offline


That is good news. Thank you for this quick anwser.

best regards
Theo
jlux

Joined: 25/04/2009 00:00:00
Messages: 1
Offline


Any news on Netbeans 6.8 integration?
tsutsu


Joined: 24/06/2009 00:00:00
Messages: 3
Offline


Not yet. As it was scheduled around the 15th, I hope that it will be available by end of next week.

best regards
Theo
akrabu

Joined: 17/08/2009 00:00:00
Messages: 12
Offline


the first time that 6.8 was released, I converted my iceface projects into 6.8, so far i did not have any problem since i extracted all the iceface jars rather than using the library supplied by netbeans.
ITReppert


Joined: 05/01/2009 00:00:00
Messages: 24
Offline


Any news on this ???
Would be nice to know, when it's ready to use.
I have some serious migration to do, so it would be nice to
know when I can start with it.
I think, the discussion about Oracle dropping netbeans should be finished,
so it's worth having a plugin for netbeans.

Holger
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 368
Offline


We are tackling an issue from Netbeans' webframework, which causes wrong server instance/JavaEE level passed into ICEfaces module for 2nd icefaces project
[Email]
ken.fyten

Joined: 26/10/2004 00:00:00
Messages: 614
Offline


Hi,

The NetBeans 6.8 integration for both ICEfaces 1.8.2a and 2.0.0-Alpha2 is now available!

Thanks for your patience with this release. Unfortunately, we ran into several nasty NetBeans quirks along the way that caused us significant delay.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
asermej

Joined: 31/01/2009 00:00:00
Messages: 3
Offline


I am attempting to use the new netbeans integration for 6.8 and icefaces 2.0 alpha-2, but I am getting the following error when I try to deploy:

SEVERE: WebModule[/tuition_web2]StandardWrapper.Throwable
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:166)


I am only trying to run the simple welcomeIceFaces.xhtml page and nothing more.

Any thoughts?
bleathem

Joined: 14/01/2009 00:00:00
Messages: 6
Offline


The ICEfaces 1.8.2a release consists of the official ICEfaces 1.8.2 release plus a patch to resolve issues when deploying a JSF 1.1 or JSF 1.2 ICEfaces project to Glassfish 3.

Note that this bundle is Beta in status. 


Is 1.8.2a in beta? or just the tool support? Can I use 1.8.2a in production to put JSF 1.2 apps on GF v3? That would make my day big time!
xzs63

Joined: 18/12/2009 00:00:00
Messages: 1
Offline


I try the ICEfacesTM Project Integration for NetBeans v6.8.
in my test rpoject, it is very simple, only a welcomeIcefaces.xhtml, but when deploy, the error message is:

WebModule[/test]StandardWrapper.Throwable
java.lang.IllegalStateException: ?javax.faces.context.FacesContextFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:166)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1428)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1230)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5207)
at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:636)
... ...

why ?
Bambi535

Joined: 14/01/2010 00:00:00
Messages: 2
Offline


asermej wrote:
I am attempting to use the new netbeans integration for 6.8 and icefaces 2.0 alpha-2, but I am getting the following error when I try to deploy:

SEVERE: WebModule[/tuition_web2]StandardWrapper.Throwable
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:166)
 

Hello, I also get a similar exception when deploying to GF 2.1.1 using the ICE 1.8.2 run-time.
Code:
deployed with moduleid = WebApplication3
 WebModule[/WebApplication3]StandardWrapper.Throwable
 java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:164)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1100)
         ...
 WebModule[/WebApplication3]PWC1396: Servlet /WebApplication3 threw load() exception
 java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:164)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1100)
         ...
 Servlet Context Name: , Server Info: Sun GlassFish Enterprise Server v2.1.1
 classLoader = WebappClassLoader
   delegate: false
   repositories:
     /WEB-INF/classes/
 ----------> Parent Classloader:
 EJBClassLoader : 
 urlSet = []
 doneCalled = false 
  Parent -> java.net.URLClassLoader@e4245
 SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3e0e88
 WEB0123: WebModule [WebApplication3] failed to deploy and has been disabled
 java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException:  java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)
         ...
 

When installing the tooling for NB v6.7.1/ICE 1.8.2, it does work well.

Also, with the new tooling for NB 6.8 the ICEFaces palette shows no icons.

Is there any benefit in the NB 6.8 tooling for ICE 1.8.2 over the tooling for NB 6.7.1?

Thanks,
Opher.
Bambi535

Joined: 14/01/2010 00:00:00
Messages: 2
Offline


OK, found the cause :)
The tool integration creates a wrong sun-web.xml:
<class-loader delegate="false"/>
<property name="useBundledJsf" value="true"/>
where the first line should be:
<class-loader delegate="true"/>
and the second line sould be removed.

HTH
liming.wu

Joined: 26/10/2004 00:00:00
Messages: 368
Offline


Thank you for post this issue for this beta version.

This is an issue of detecting gf 3 and j2ee level.

This issue has been fixed and will be in next release. Modifying sun-web.xml is for Glassfish 3 with JavaEE 5 selected. As gf3 shipped with jsf 2.0 on JavaEE 6 spec, by selecting JavaEE 5, Sun JSF 1.2 and icefaces 1.8.2a will be added into project with changes in sun-web.xml as you have seen, which tells gf to use the jsf in web project instead of the one bundled with server. See ICE-5353 for detail about this issue and workaround.

bleathem,
Bundle is beta, which only means this integration is in beta status due to the issue ICE-5336, which is actually netbeans' issue.

ICEfaces 1.8.2a is really i.8.2 with patch to make icefaces 1.8.2 run on gf3 with following configuration in sun-web.xml:
<class-loader delegate="false"/>
<property name="useBundledJsf" value="true"/>
of course you need to include jsf1.2 ri in your project.



[Email]
 
Forum Index -> Tools Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team