osdir.com
mailing list archive

Subject: gwt compilation + IBM JDK - msg#01274

List: GoogleWebToolkit

Date: Prev Next Index Thread: Prev Next Index

Hi

I have the IBM JDK 6 and GWT 1.6.4 project. I can't compile my project
with IBM JDK due to exception:

Caused by: java.lang.ClassNotFoundException: _j2se_j9=71168
at java.net.URLClassLoader.findClass(URLClassLoader.java:419)
at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:320)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)

I completely have no idea what this exception means. I also have tried
to compile on Sun JDK and JRockit - compilation completes
successfully.

My env:

# uname -or
2.6.27.7-smp GNU/Linux

# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr3-20081106_07(SR3))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32
jvmxi3260-20081105_25433 (JIT enabled, AOT enabled)
J9VM - 20081105_025433_lHdSMr
JIT - r9_20081031_1330
GC - 20081027_AB)
JCL - 20081106_01

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Find Google Jobs at git.net
(osdir sister site)

Thread at a glance:

Previous Message by Date: (click to view message preview)

Re: compile error

Tnx for te answers , the problem is solved...Best RegardsTÃth ImreSave a tree...Think before you print 2009/6/17 Thomas Broyer <t.broyer@xxxxxxxxx> > TÃth Imre wrote: > > I compile it from the eclipse, where should i write it? > > (I click to the little red icon at the left top, and at the > > "Additional compiler arguments" does not accept it of course. ) > > > So my question is how should i give it to the jvm that runs the compiler? Er, in the "VM arguments" box just below the "Additional compiler arguments" ? (maybe this is only in the 1.0.1 release of the plugin, so you might have to update) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Date: click to view message preview

Re: IncompatibleClassChangeError when launching hosted mode (GWT 1.6 M2)

As a information I changed the dependency in pom.xml to this one: ... <dependency> <groupId>org.apache.geronimo.testsupport</groupId> <artifactId>testsupport-selenium</artifactId> <version>2.1.3</version> </dependency> ... And it worked now. The only thing is the testng.jar that I don´t wanna. But it is not a problem in the moment. On 17 jun, 14:16, Josué <josuesan...@xxxxxxxxx> wrote: > Hi Salvador, > > Sorry for this late response. I tried your suggestion, but the problem > remains. > > Thanks anyway, > > Josué. > > On 12 maio, 17:25, Salvador Diaz <diaz.salva...@xxxxxxxxx> wrote: > > > Hi Josué, > > > I recommend you learn more about dependecy management with maven as > > the problem your facing is easily solvable once you've understood how > > it works. > > > Anyway, the solution to your problem is excluding the conflicting > > jetty dependency in your pom. Replace your selenium import with the > > following: > > > <dependency> > >     <groupId>org.codehaus.mojo</groupId> > >     <artifactId>selenium-maven-plugin</artifactId> > >     <version>1.0-beta-3</version> > >     <scope>test</scope> > >     <exclusions> > >         <exclusion> > >             <groupId>jetty</groupId> > >             <artifactId>org.mortbay.jetty</artifactId> > >         </exclusion> > >     </exclusions> > > </dependency> > > > Hope that helps, > > > Salvador > > > On May 12, 4:58 pm, Josué <josuesan...@xxxxxxxxx> wrote: > > > > Hi, > > > > I have the same problem here but the suggestion did not worked to me. > > > Here is my scenario: > > > > I have a pom.xml (maven) in which most (but not all) project´s > > > dependencies are  placed. When i put the following, the problem > > > appears: > > > ... > > > <dependency> > > >     <groupId>org.codehaus.mojo</groupId> > > >     <artifactId>selenium-maven-plugin</artifactId> > > >     <version>1.0-beta-3</version> > > >     <scope>test</scope> > > > </dependency> > > > ... > > > In the moment the only jar that is not in the pom.xml is gwt-user.jar. > > > There is no available maven repository (at least the ones showed in > > > the search inside eclipse). I did as suggested here and my Order and > > > Export is in this way: > > > > gwt-user.jar > > > projectName/src > > > projectName/test > > > JRE System Library [jre6] > > > JUnit 4 > > > Maven Dependencies > > > > And all other jars is inside Maven Dependencies. Any suggestions would > > > be very appreciated. > > > > Abraços, > > > > Josué. > > > > On 13 abr, 22:02, grishag <grigori.gold...@xxxxxxxxx> wrote: > > > > > Thanks for that. You were right on the money. I had a Selenium jar on > > > > the classpath that was causing this problem. > > > > > On Apr 10, 11:48 am, jvictor <jeffvic...@xxxxxxxxx> wrote: > > > > > > If using Eclipse, try moving the GWT jars (or the GWT SDK library if > > > > > you are using the new Eclipse plugin) to the top of your classpath > > > > > order. > > > > > > Right Click Project -> Properties -> Java Build Path -> Order and > > > > > Export > > > > > > On Mar 27, 5:42 pm,grishag<grigori.gold...@xxxxxxxxx> wrote: > > > > > > > Hi, > > > > > > > I started using GWT 1.6.1 M2 recently and things were going quite > > > > > > smoothly until I tried using hosted mode (with -noserver option). I > > > > > > am > > > > > > now getting the following exception. Does anyone know what this > > > > > > actually means? As far as I can tell, HashSessionManager does > > > > > > implemented SessionManager interface (that is indirectly by > > > > > > extending > > > > > > the AbstractSessionManager class). > > > > > > > Thanks. > > > > > > > [java] Exception in thread "main" > > > > > > java.lang.IncompatibleClassChangeError: Class > > > > > > org.mortbay.jetty.servlet.HashSessionManager does not implement the > > > > > > requested interface org.mortbay.jetty.SessionManager > > > > > >      [java]     at > > > > > > org.mortbay.jetty.servlet.SessionHandler.setSessionManager > > > > > > (SessionHandler.java:88) > > > > > >      [java]     at org.mortbay.jetty.servlet.SessionHandler.<init> > > > > > > (SessionHandler.java:62) > > > > > >      [java]     at org.mortbay.jetty.servlet.SessionHandler.<init> > > > > > > (SessionHandler.java:53) > > > > > >      [java]     at org.mortbay.jetty.webapp.WebAppContext.<init> > > > > > > (WebAppContext.java:297) > > > > > >      [java]     at com.google.gwt.dev.ServletValidator.create > > > > > > (ServletValidator.java:59) > > > > > >      [java]     at com.google.gwt.dev.ServletValidator.create > > > > > > (ServletValidator.java:43) > > > > > >      [java]     at com.google.gwt.dev.HostedMode.doStartup > > > > > > (HostedMode.java:344) > > > > > >      [java]     at com.google.gwt.dev.HostedModeBase.startUp > > > > > > (HostedModeBase.java:583) > > > > > >      [java]     at com.google.gwt.dev.HostedModeBase.run > > > > > > (HostedModeBase.java:395) > > > > > >      [java]     at > > > > > > com.google.gwt.dev.HostedMode.main(HostedMode.java:232) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---

Previous Message by Thread: click to view message preview

I think I found a bug with GWT's hosted browser + Jetty

I have implemented a custom launcher for GWT so that I can take advantage of JNDI data sources, authentication, and SSL using the embedded Jetty server. However, it appears that GWT's hosted browser does not support connecting to Jetty with SSL configured. I get the following error: 2009-06-17 11:58:49.671::WARN: EXCEPTION javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord (SSLSocketImpl.java:801) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake (SSLSocketImpl.java:1089) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1116) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:1100) at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run (SslSocketConnector.java:630) at org.mortbay.thread.QueuedThreadPool$PoolThread.run (QueuedThreadPool.java:488) Caused by: java.io.EOFException: SSL peer shut down incorrectly at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java: 333) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord (SSLSocketImpl.java:782) ... 5 more To test this I also used launched a stand-a-lone version of Jetty 6.1.11 with SSL enabled and connected to it through GWT's hosted browser and it fails with the same exception. GWT's hosted browser can connect without a problem to https://www.amazon.com(after I whitelist the site). I am going to try and switching from a self-signed certificate once signed by a CA to see if that matters. This issue appears to be related to the one I found athttp://markmail.org/message/jokflzshjidzjtgm#query:%22at%20org.mortbay.jetty.security.SslSocketConnector%24SslConnection.run(SslSocketConnector.java%3A630)%22+page:1+mid:jokflzshjidzjtgm+state:results. I could not find a bug in Jira with regards to this issue. Because GWT's hosted browser CAN connect to other SSL sites I am not sure it is an issue with the hosted browser. However, I can connect to Jetty's SSL server just fine with Safari on my machine, so I'm really not in a position to declare whose fault this is. I also tested this with the most recent version of Jetty 7 and although the SSL error doesn't appear anymore, the hosted browser will still not connect to Jetty's SSL server (it is as if the connection just hangs). I am using OS X 10.5.6. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Thread: click to view message preview

Jetty embedded and GWT

hello all so far i was configuring jetty programmaticly for JSP pages and Servlets with no XML files now i want to use GWT so i compile a sample application , with just adding Label to the RootPanel i got a war directory , and place it on my www folder (folder name is "manage") and i get this Error output : 2009-06-17 21:00:06.609:/:INFO: Request 4: http://localhost:1010/manage/GWT_test/ 2009-06-17 21:00:06.609:/:INFO: Loading module 'GWT_test' 2009-06-17 21:00:06.609:/:INFO: Unable to find 'GWT_test.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? 2009-06-17 21:00:06.609:/:INFO: The development shell servlet received a request to generate a host page for module 'GWT_test' 2009-06-17 21:00:06.609:/:INFO: Loading module 'GWT_test' 2009-06-17 21:00:06.609:/:INFO: Unable to find 'GWT_test.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? this is how i configured the app Context root = new Context(m_server,"/",Context.SESSIONS); root.addServlet(new ServletHolder(new GWTShellServlet()) ,"/manage/ *"); please please help me , i am searching the web like crazy for couple of days now and nothing --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---

Web Hosting Reviews from OSDir.com Sister Site iBizWebHosting.com

Home | News | Patents | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz & git.net are too!

Advertising by