The jar file I sent is NOT compatible with trunk. You would need to patch the source using the patch from issue #3496<http://code.google.com/p/google-web-toolkit/issues/detail?id=3496>and rebuild.
On Tue, Mar 24, 2009 at 1:20 PM, Vitali Lovich <[email protected]> wrote: > I just tried the patch with trunk (5072) & got > java.lang.NullPointerException > at sun.misc.MetaIndex.mayContain(MetaIndex.java:243) > at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:761) > at sun.misc.URLClassPath.getResource(URLClassPath.java:185) > at sun.misc.URLClassPath.getResource(URLClassPath.java:237) > at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1130) > at java.lang.ClassLoader.getResource(ClassLoader.java:991) > at java.lang.ClassLoader.getResource(ClassLoader.java:989) > at > com.google.gwt.dev.OophmHostedModeBase.loadImageIcon(OophmHostedModeBase.java:293) > at com.google.gwt.dev.HostedMode.getWebServerIcon(HostedMode.java:431) > at > com.google.gwt.dev.OophmHostedModeBase.openAppWindow(OophmHostedModeBase.java:495) > at com.google.gwt.dev.HostedModeBase.doStartup(HostedModeBase.java:493) > at > com.google.gwt.dev.OophmHostedModeBase.doStartup(OophmHostedModeBase.java:420) > at com.google.gwt.dev.HostedMode.doStartup(HostedMode.java:363) > at com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:609) > at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:402) > at com.google.gwt.dev.HostedMode.main(HostedMode.java:264) > > on trying to launch OOPHM in HostedMode. Is this patch compatible? I'm > trying to fix the issue with the log4j that I'm getting: > > log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable > to a "org.apache.log4j.Appender" variable. > log4j:ERROR The class "org.apache.log4j.Appender" was loaded by > log4j:ERROR [sun.misc.launcher$appclassloa...@64601bb1] whereas object of > type > log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by > [contextloa...@null]. > log4j:ERROR Could not instantiate appender named "O". > > I think there's some interference going on due to me launching HostedMode. > > > On Tue, Mar 24, 2009 at 7:41 AM, Alejandro D. Garin <[email protected]>wrote: > >> Hi Scott, >> >> Yes, this fixes the problem for my configuration, the spring container >> started now :) >> Thanks. >> >> >> On 3/24/09, Scott Blum <[email protected]> wrote: >>> >>> Hey, can you guys do me a favor and try out a fix? >>> >>> Just take the attached jar and put it on your classpath ahead of >>> gwt-dev-<platform>.jar. See if it fixes the "not and instance of Servlet" >>> problem (and doesn't cause other problems). >>> >>> Lemme know if that works, thanks, >>> Scott >>> >>> On Mon, Mar 23, 2009 at 9:09 PM, Alejandro D. Garin <[email protected]>wrote: >>> >>>> Are the spring jar and its dependencies in your WEB-INF/lib folder? We >>>>> did introduce an extra "convenience mode" recently, hence the message >>>>> >>>> >>>> Hi Bruce, >>>> >>>> Yes, the spring.jar is in the lib folder, no other dependences needed. >>>> If you want I can send to you a little demo project based on the >>>> webAppCreator default example plus an Spring bean loaded in the server. The >>>> demo project work fine in 1.6.1 >>>> >>>> Thanks. >>>> >>>> >>>> >>>> >>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
