Somik,
Please search for DOMUtil.class and DOMUtil.java and make sure you don't
have any laying around. Things should work no differently on Linux.

FRed


On Wed, Jun 10, 2009 at 3:00 PM, Somik Behera <[email protected]> wrote:

> Hi Fred,
>
> I am using the gwt-log jar and dont run into any issues while in a windows
> only environment(my primary dev environment) but once I deploy the war file
> on a linux machine, my log files indicate that gwt-log's RemoteLogger is
> failing due to GWT.create() and I see the stack trace I included above. Its
> a particularly weird behavior and I am not sure how to solve or work around
> it yet.
>
> Thanks,
> Somik
>
> On Tue, Jun 9, 2009 at 8:39 PM, Fred Sauer <[email protected]> wrote:
>
>> Somik,
>> Are you using the gwt-log jar or working from source? The jar file is
>> setup to have the server side version of the classes as bytecode (*.class)
>> which do not use GWT.create() will client side versions of the source code
>> (*.java) for the GWT compiler which do use GWT.create()
>>
>> Fred
>>
>>
>> On Wed, Jun 10, 2009 at 5:22 AM, somik <[email protected]> wrote:
>>
>>>
>>> I forgot to mention that I am using GWT 1.5.3 and gwt-log 2.5.3
>>>
>>> Thanks,
>>> Somik
>>>
>>> On Jun 9, 1:09 pm, somik <[email protected]> wrote:
>>> > HI Folks,
>>> >
>>> > My gwt-log install was working great till we deployed in a linux
>>> > environment. Now, I have started getting
>>> > java.lang.ExceptionInInitializerError and further investigating the
>>> > cause seems to indicate the RemoteLoggerService is using GWT.create()
>>> > on the server-side, GWT.create() can only be used on the client side.
>>> >
>>> > Here's the stack trace:
>>> >
>>> > Caused by: java.lang.ExceptionInInitializerError
>>> >  at 
>>> > com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl.info<http://com.allen_sauer.gwt.log.server.remoteloggerserviceimpl.info/>
>>> > (RemoteLoggerServiceImpl.java:70)
>>> >  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:597)
>>> >  at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
>>> > (RPC.java:527)
>>> >  ... 27 more
>>> > Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create
>>> > () is only usable in client code! It cannot be called, for example,
>>> > from server code. If you are running a unit test, check that your test
>>> > case extends GWTTestCase and that GWT.create() is not called from
>>> > within an initializer or constructor.
>>> >  at com.google.gwt.core.client.GWT.create(GWT.java:91)
>>> >  at com.allen_sauer.gwt.log.client.Log.<clinit>(Log.java):70)
>>> >  ... 33 more
>>> >
>>> > Please let me know, if anyone has workaround or a bug # for the known
>>> > issue, so that I can track it till the issue gets fixed.
>>> >
>>> > Thanks in advance and keep up the good work Fred!
>>> >
>>> > Somik
>>>
>>>
>>
>>
>> --
>> Fred Sauer
>>
>> Developer Advocate
>>
>> Google Inc.1600 Amphitheatre Parkway
>>
>> Mountain View, CA 94043
>>
>> [email protected]
>>
>>
>>
>>
>>
>>
>> --
>> Somik Behera
>> http://www.linkedin.com/in/somik
>>
>>
>> >>
>>


-- 
Fred Sauer
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-log?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to