• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Webservices on Eclipse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Webservices on Eclipse


  • Subject: Webservices on Eclipse
  • From: Drew Thoeni <email@hidden>
  • Date: Sat, 14 Jun 2008 08:24:21 -0400

I'm porting over a webservices application that runs well in Xcode but is not launching in Eclipse.

After reading up on the list, it seems there's a confluence of problems, I read:

* Get the latest webobjects from iPhone SDK (or there are no difference in WO in the iPhone release, so don't bother)
* There are problems in *all* releases of WO (or there are only trivial problems)
* The path settings are not the same in Eclipse and Xcode made more assumptions.

I'm more than a bit confused, but think I have a problem with the path settings and much of this is newbie-inflicted.

A few questions that will likely help:

-- In setting up Eclipse, what are the recommended paths to keep things organized and simple. Do you still use /Library/webObjects/Extensions/

-- Newbie question: where do you set the paths in Eclipse?

-- Where do you check version numbers for WO, Java, Eclipse? 
I can see in the Eclipse updater I have Eclipse 3.3.3r33 with 3.3.2 RCP Patch, and 3.3.5047 WOLips
I'm checking /System/Library/Frameworks/JavaWebObjects.framework/Resources/version.plist to see version 5.4
I'm using /Applications/Utilities/Java/Java Preferences to see J2SE 5.0, but I'm betting there's more specific info elsewhere

Basically, what is the lists' advice on framework/jar organization and paths for Eclipse if you're building WO apps (including Services) using Eclipse.

This is what I'm getting right now (in case I'm misdiagnosing the problem).

Regards,

Drew

Welcome to sageservice !
WOWebServiceRegistrar.createServiceString() 
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="http://xml.apache.org/axis/wsdd/" name=".Model20" provider="Handler">
<parameter name="handlerClass" value="org.apache.axis.providers.java.RPCProvider"/>
<parameter name="scope" value="Application" />
<parameter name="className" value="com.decile.sageservice.models.Model20" />
<parameter name="allowedMethods" value="*" />
<namespace>http://xml.apache.org/axis/wsdd/</namespace>
</service>
[2008-6-14 13:2:22 EDT] <main> A fatal exception occurred: com/webobjects/webservices/support/WOXMLProvider
[2008-6-14 13:2:22 EDT] <main> java.lang.NoClassDefFoundError: com/webobjects/webservices/support/WOXMLProvider
at com.webobjects.appserver._private.WOWebService.initServer(WOWebService.java:134)
at com.webobjects.appserver._private.WOWebService.registerService(WOWebService.java:166)
at com.webobjects.appserver.WOWebServiceRegistrar.registerWebService(WOWebServiceRegistrar.java:186)
at com.webobjects.appserver.WOWebServiceRegistrar.registerWebService(WOWebServiceRegistrar.java:110)
at com.decile.sageservice.Application.<init>(Application.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:546)
at com.decile.sageservice.Application.main(Application.java:40)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Webservices on Eclipse
      • From: Drew Thoeni <email@hidden>
    • Re: Webservices on Eclipse
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Linking Javascript Files
  • Next by Date: Re: Webservices on Eclipse
  • Previous by thread: Re: Linking Javascript Files
  • Next by thread: Re: Webservices on Eclipse
  • Index(es):
    • Date
    • Thread