Where to go for help

I’ve been playing around with Google Web Toolkit (GWT) and using Google Web Toolkit Solutions by David Geary as a source. Using Netbeans 6 on the Mac OS X 10.5 (Leopard), on dual proc @.0 Ghz PPC PowerMac Pro, and using Glassfish V2 as the server, I get an RPC failure when I attempt to call the Servlet with the login and password.

Here’s the failure:

rpc call failed: < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">Sun Java System Application Server 9.1 – Error report


HTTP Status 404 –


type Status report

message

descriptionThe requested resource () is not available.


Sun Java System Application Server 9.1

In Netbeans, Glassfish says:

validateJarFile(/Users/johnahrens/NetBeansProjects/LoginNew/build/web/WEB-INF/lib/gwt-dev-mac.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
validateJarFile(/Users/johnahrens/NetBeansProjects/LoginNew/build/web/WEB-INF/lib/gwt-user.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
deployed with moduleid = LoginNew
validateJarFile(/Users/johnahrens/NetBeansProjects/LoginNew/build/web/WEB-INF/lib/gwt-dev-mac.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
validateJarFile(/Users/johnahrens/NetBeansProjects/LoginNew/build/web/WEB-INF/lib/gwt-user.jar) – jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

I’m trying to figure out, is this a Glassfish issue, a Netbeans issue, a GWT issue, or a Mac issue? The joys of all these pieces trying to play nice together. It’s probably some configuration that I’ve got wrong, but I’m not sure which.

Technorati Tags:
, , , ,

This entry was posted in Macintosh, Software Development, The Web. Bookmark the permalink.

3 Responses to Where to go for help

  1. David Bullock says:

    As you probably figured out, you need to have gwt-servlet.jar, instead of gwt-dev-mac.jar in the WEB-INF/lib/ directory of your WAR file. It is not supported for web-applications to try to redefine any javax.servet.* class, which the servlet engine already has defined in a parent classloader.

  2. I completely agree with the above poster, he made alot of valid points, especially the first one. Also Admin, ive tried to subscribe to your RSS feed but I am getting an error? I hope you dont mind, but I went ahead and linked to your website through my blog. You dont have to link back to us if you dont want to. Thanks again for the great post! – SEO Consulting

  3. I had stopped by http://john-ahrens.com and took a look at your ranking for some of your terms and just wondered if you’d be at all interested in having your site improved in terms of where it’s ranked on the major engines with the terms you’d like as well as some I’d like to suggest. I can get your site a much better ranking and have done so for about 400 people to date. Many of which now have a first page listing for ther keywords they wanted. Yes, I’m a real person, Yes, I actually just came back from viewing your site. I already know you get a ton of offers day to day. This is obviously different, I have plenty of references, work from home alone, have been doing this since the early 90’s and still find time to raise 3 little girls.

    Call me at home if you want to, I work at home all day long helping people out with their traffic and sites, automating page content updates via rss feeds (google loves that), doing press releases, article creation and distribution, building one way inbound links, Social Bookmarking, starting RSS feeds for your site, setting up Web 2.0 properties, social networking help for twitter followers, facebook likes, setting up link wheels, etc. I have clients that are swearing by what it is I do for them and would love to show you some examples if you’re at all interested. Otherwise I won’t bother you again.

    Winston
    (319) 804-8918
    PO Box 8822
    Cedar Rapids, IA 52408