I'm getting a really weird error with FDS on Tomcat 5 that I'm having 
a hell of a time tracking down. The samples and flex wars seem to 
deploy fine, but after replacing the flex libs, the flex director in 
WEB-INF and redefining my services, I still seem to be getting the 
following error.

My Tomcat log is below:

javax.servlet.ServletException: macromedia/localization/ILocalizer
      at flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:72)
      at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1029)
      at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:862)
      at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4013)
      at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4357)
      at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:823)
      at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
595)
      at org.apache.catalina.core.StandardHostDeployer.install
(StandardHostDeployer.java:277)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:
625)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
431)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:349)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1091)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1083)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
478)
      at org.apache.catalina.core.StandardService.start
(StandardService.java:480)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:
2313)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
----- Root Cause -----
java.lang.NoClassDefFoundError: macromedia/localization/ILocalizer
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
      at java.lang.Class.getConstructor0(Class.java:1930)
      at java.lang.Class.newInstance0(Class.java:278)
      at java.lang.Class.newInstance(Class.java:261)
      at flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:58)
      at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1029)
      at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:862)
      at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4013)
      at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4357)
      at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:823)
      at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
595)
      at org.apache.catalina.core.StandardHostDeployer.install
(StandardHostDeployer.java:277)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:
625)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
431)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:349)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1091)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1083)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
478)
      at org.apache.catalina.core.StandardService.start
(StandardService.java:480)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:
2313)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

2006-05-10 12:28:58 StandardContext[/sma]Servlet /sma threw load() 
exception
javax.servlet.ServletException: macromedia/localization/ILocalizer
      at flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:72)
      at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1029)
      at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:862)
      at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4013)
      at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4357)
      at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:823)
      at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
595)
      at org.apache.catalina.core.StandardHostDeployer.install
(StandardHostDeployer.java:277)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:
625)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
431)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:349)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1091)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1083)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
478)
      at org.apache.catalina.core.StandardService.start
(StandardService.java:480)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:
2313)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
----- Root Cause -----
java.lang.NoClassDefFoundError: macromedia/localization/ILocalizer
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
      at java.lang.Class.getConstructor0(Class.java:1930)
      at java.lang.Class.newInstance0(Class.java:278)
      at java.lang.Class.newInstance(Class.java:261)
      at flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:58)
      at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1029)
      at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:862)
      at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:4013)
      at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4357)
      at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:823)
      at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
595)
      at org.apache.catalina.core.StandardHostDeployer.install
(StandardHostDeployer.java:277)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:
625)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
431)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:349)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1091)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1083)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
478)
      at org.apache.catalina.core.StandardService.start
(StandardService.java:480)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:
2313)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)



Chris Scott
[EMAIL PROTECTED]
http://cdscott.blogspot.com/
http://www.coldspringframework.org/




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




GIF image






Reply via email to