This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 101876 - Ajax Google Map Example Does Not Work on 5.5.1
Summary: Ajax Google Map Example Does Not Work on 5.5.1
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ edwingo
URL:
Keywords: REGRESSION
: 104567 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-20 00:28 UTC by eacr834
Modified: 2007-05-25 17:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eacr834 2007-04-20 00:28:09 UTC
This tutorial doesn't work on Netbeans 5.5.1, and it works perfectly on Netbeans 5.5

http://www.netbeans.org/kb/55/vwp-ajaxmapviewer.html

This is part of the server log:

org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:249)
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:328)
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet
Faces Servlet threw exception
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
       at
org.apache.shale.remoting.faces.MappingsHelper.log(MappingsHelper.java:281)
       at
org.apache.shale.remoting.faces.MappingsHelper.createMappings(MappingsHelper.java:202)
       at
org.apache.shale.remoting.faces.MappingsHelper.getMappings(MappingsHelper.java:85)
       at org.apache.shale.remoting.XhtmlHelper.mapResourceId(XhtmlHelper.java:210)
       at org.apache.shale.remoting.XhtmlHelper.linkJavascript(XhtmlHelper.java:125)
       at org.apache.shale.remoting.XhtmlHelper.linkJavascript(XhtmlHelper.java:88)
       at
com.sun.j2ee.blueprints.ui.mapviewer.MapRenderer.encodeEnd(MapRenderer.java:120)
       at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:829)
       at javax.faces.component.UIComponent.encodeAll(UIComponent.java:894)
       at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
       at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
       at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
       at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
       at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
       at
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:247)
       at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:171)
       at
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
       at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
       at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
       at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
       at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
       at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
       at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:207)
       at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
       at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
       at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
       at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:249)
       at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
       at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
       at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
       at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
       at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
       at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
       at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:328)
       at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
       at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
Comment 1 Lark Fitzgerald 2007-04-23 16:11:21 UTC
may be related to the prototype.js issue.  raising priority to make sure it 
gets looked at for fcs.
Comment 2 Matthew Bohm 2007-04-25 18:43:32 UTC
It probably is a prototype issue. For now, we should probably just put a note in
the tutorial mentioning that the tutorial is only compatible with 5.5.0.
Comment 3 Lark Fitzgerald 2007-04-27 20:25:48 UTC
This issue does not occur in NB6 04270000 nightly, it has other P1 issues there.
 Added whiteboard: 6.0_WAIVER_REQUEST.
Comment 4 _ edwingo 2007-04-27 21:52:39 UTC
I believe the problem is that the blueprints complib uses but does not include
apache commons logging jar. The fix is to update the blueprints complib. I don't
think the fix should go into the IDE because the IDE should not be exporting
non-standard APIs. So in summary, I don't think it's a showstopper for the IDE,
but it may be for the blueprints complib.
Comment 5 Lark Fitzgerald 2007-04-27 21:58:50 UTC
removed waiver request keyword since it is not applicable.   Downgrading to P2
as samples can not be P1's. Marking as regression.
Comment 6 _ edwingo 2007-04-27 22:06:05 UTC
The following complib file should work:
http://blogs.sun.com/edwingo/resource/ui-0.1.1.complib
Comment 7 _ edwingo 2007-04-30 16:50:48 UTC
Latest version of Blueprints complib should work. Another workaround would be to
download apache commons-logging-*.jar and add that to the project as a jar or
Library. Also, need to make sure the "packaging" checkbox is checked.
Comment 8 _ hlu 2007-05-25 00:14:28 UTC
Workaround:
1.Update the BluePrints AJAX Components library from Update Center.
2.Remove the BluePrints AJAX Components library from the project under Component
Libraries by right click the BluePrints AJAX Components(0.1.1) and choose Remove.
3.Add newly updated BluePrints AJAX Components library by right click Component
Libraries and choose Add Component Library...
4. Undeploy the webapp.
5. Clean and Build the project.(You may need to stop the application server)
6. Deploy the webapp.
Comment 9 Gail Chappell 2007-05-25 02:34:56 UTC
*** Issue 104567 has been marked as a duplicate of this issue. ***
Comment 10 Joseph Silber 2007-05-25 17:51:49 UTC
Release note added.