Re: Apple Maven support and WOLips
Hi Jim, On 09/03/2011, at 4:00 AM, Jim Kinsey wrote: > After using Jake MacMullin's Maven WOCreator plugin for a few years > (http://wocreator.sourceforge.net/) I thought I'd finally give the "official" > Maven support with Eclipse integration a whirl - but I've spent most of the > afternoon sat in front of the first hurdle scratching my head. > > This wiki page (admittedly advertised as containing preliminary instructions): > http://wiki.objectstyle.org/confluence/display/WO/Apple+Maven+Support+and+Nightly+Builds Yeah, that's an old page indeed. I've marked it deprecated and added a link to the place to start: http://wiki.objectstyle.org/confluence/display/WOL/WOProject-Maven2 specifically: http://wiki.objectstyle.org/confluence/display/WOL/Quick+Start > I would be happy to update the wiki myself if I can put together a working > set of instructions. It's very likely the wiki instructions for maven need some extra love... feel free to help improving it. with regards, - Lachlan Deck ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
@count() in ERRest?
I have a few relationships where I need to report the count, e.g. # of personal connections or # of posts etc. Shouldn't I be able to include the count of a relationship in the show filter like this? filter.include(Question.MTLIES.count()); Seems to want to perform count() on each element and not report the relationship's count? Or is it best to store the count as an integer that gets updated when the relationship changes? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERCalendar usage
+1 Dan On 3/8/11 10:38 AM, "Paul D Yu" wrote: > I've tried using it, and would be happy to upgrade! > > Sent from my iPhone > > On Mar 8, 2011, at 1:12 PM, Pascal Robert wrote: > >> Anyone using the ERCalendar framework from Wonder? That framework should at >> least use ical4j to create the event object, it would make it easier and more >> solid that's for sure. >> >> -- >> Pascal Robert >> prob...@macti.ca >> >> AIM/iChat : MacTICanada >> LinkedIn : http://www.linkedin.com/in/macti >> Twitter : pascal_robert >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com >> >> This email sent to p...@mac.com > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/daniel.beatty%40navy.mil > > This email sent to daniel.bea...@navy.mil ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERCalendar usage
I've tried using it, and would be happy to upgrade! Sent from my iPhone On Mar 8, 2011, at 1:12 PM, Pascal Robert wrote: > Anyone using the ERCalendar framework from Wonder? That framework should at > least use ical4j to create the event object, it would make it easier and more > solid that's for sure. > > -- > Pascal Robert > prob...@macti.ca > > AIM/iChat : MacTICanada > LinkedIn : http://www.linkedin.com/in/macti > Twitter : pascal_robert > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com > > This email sent to p...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Apache Axis2 Support in Project Wonder?
Hi Dov, My experience with Axis2 left a bad taste in my mouth. Axis2 does not support multiple ports per service. That made it unusable with Paypal's web service, and probably others as well. I found Java 1.6's built in JAX-WS stuff for web services much more appealing and flexible. The only downside I found with JAX-WS is that it does not support RPC encoding. So, if using an old RPC service, I would go with Axis 1.4, otherwise JAX-WS. Ramsey On Mar 8, 2011, at 10:12 AM, Dov Rosenberg wrote: > The current OOTB support in the latest WebObjects release 4 years ago is Axis > 1.4. The current Apache Axis is 1.5.4 for Axis2. Has anyone attempted to > replace the Axis version with something more modern? Does Project Wonder > support the newer Axis2? > > Thanks in advance > > Dov Rosenberg > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com > > This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Apache Axis2 Support in Project Wonder?
Axis2 is a totally new framework, not compatible with the original Axis. So you can't replace WO's version with that, but you could use it on your own and integrate it with WO manually. I think more people have been using JAX-WS since it is built-in to Java 6. Not using SOAP at all is an even better choice. John On Tue, Mar 8, 2011 at 11:12 AM, Dov Rosenberg wrote: > The current OOTB support in the latest WebObjects release 4 years ago is > Axis 1.4. The current Apache Axis is 1.5.4 for Axis2. Has anyone attempted > to replace the Axis version with something more modern? Does Project Wonder > support the newer Axis2? > > Thanks in advance > > Dov Rosenberg > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com > > This email sent to johnth...@gmail.com > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERCalendar usage
Anyone using the ERCalendar framework from Wonder? That framework should at least use ical4j to create the event object, it would make it easier and more solid that's for sure. -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Reverse Engineer?
I think the current thinking is to not have anything there. I think the embedded deploys would bundle the jar into the woa, so it would not run into the /Jave/Extensions folder. Paul On Mar 8, 2011, at 12:18 PM, Farrukh Ijaz wrote: > Shouldn't the mysql jar be placed in Java/ext folder? > > Farrukh > > Pascal Robert wrote: > >> Bundle-less project without having WO 5.4 and a recent Wonder version? If >> JavaFoundation is in the classpath, that problem look like the one we had >> when the bundle-less option was enabled but we were using WO 5.3. >> >>> Hello - >>> >>> I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get >>> are error messages. >>> First about JavaMail and then thereafter, NSBundle ? >>> >>> Am I missing some setup config? >>> >>> Thanks >>> James >>> >>> >>> >>> java.lang.NoClassDefFoundError: Could not initialize class >>> com.webobjects.foundation.NSBundle >>> at >>> com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230) >>> at >>> com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246) >>> at >>> com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262) >>> at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287) >>> at >>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.(EOFSQLReverseEngineer53.java:28) >>> 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:513) >>> at >>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23) >>> at >>> org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86) >>> at >>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) >>> at >>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) >>> at >>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) >>> at >>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) >>> at >>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) >>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >>> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) >>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) >>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) >>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) >>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) >>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) >>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) >>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) >>> at >>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) >>> at >>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) >>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) >>> at >>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) >>> at >>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) >>> at >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) >>> at >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) >>> at >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) >>> at >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) >>> 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) >>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) >>> at org.eclipse.equinox.launcher.Main.run(Main.java:1408) >>> >>> ___ >>> Do not post admin requests to the list. They will be ignore
Re: Reverse Engineer?
Shouldn't the mysql jar be placed in Java/ext folder? Farrukh Pascal Robert wrote: >Bundle-less project without having WO 5.4 and a recent Wonder version? If >JavaFoundation is in the classpath, that problem look like the one we had when >the bundle-less option was enabled but we were using WO 5.3. > >> Hello - >> >> I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get >> are error messages. >> First about JavaMail and then thereafter, NSBundle ? >> >> Am I missing some setup config? >> >> Thanks >> James >> >> >> >> java.lang.NoClassDefFoundError: Could not initialize class >> com.webobjects.foundation.NSBundle >> at >> com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230) >> at >> com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246) >> at >> com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262) >> at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287) >> at >> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.(EOFSQLReverseEngineer53.java:28) >> 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:513) >> at >> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23) >> at >> org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86) >> at >> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) >> at >> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) >> at >> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) >> at >> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) >> at >> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) >> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) >> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) >> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) >> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) >> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) >> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) >> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) >> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) >> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) >> at >> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) >> at >> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) >> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) >> at >> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) >> at >> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) >> at >> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) >> at >> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) >> at >> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) >> at >> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) >> 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) >> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) >> at org.eclipse.equinox.launcher.Main.run(Main.java:1408) >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca >> >> This email sent to prob...@macti.ca > > ___ >Do not p
Apache Axis2 Support in Project Wonder?
The current OOTB support in the latest WebObjects release 4 years ago is Axis 1.4. The current Apache Axis is 1.5.4 for Axis2. Has anyone attempted to replace the Axis version with something more modern? Does Project Wonder support the newer Axis2? Thanks in advance Dov Rosenberg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Apple Maven support and WOLips
After using Jake MacMullin's Maven WOCreator plugin for a few years (http://wocreator.sourceforge.net/) I thought I'd finally give the "official" Maven support with Eclipse integration a whirl - but I've spent most of the afternoon sat in front of the first hurdle scratching my head. This wiki page (admittedly advertised as containing preliminary instructions): http://wiki.objectstyle.org/confluence/display/WO/Apple+Maven+Support+and+Nightly+Builds hasn't helped a great deal; the Maven update site has moved (http://m2eclipse.sonatype.org/sites/m2e) and the WOLips nightly has vanished. None of the WOLips update sites I've tried has the Apple Maven support listed. Is there a new way to go about this? Should I be going about this at all (leaving aside the Maven vs Ant discussion i.e. is Maven no longer supported and I'm just out of date)? I would be happy to update the wiki myself if I can put together a working set of instructions. Thanks, Jim ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Reverse Engineer?
The fresh approach worked. I was trying to reverse engineer into an existing project. Since that was really unnecessary, starting a new project and it worked like magic! Now onto learning and using ERREST. thanks On Mar 8, 2011, at 10:15 AM, Paul D Yu wrote: > James > > I just created a new WonderFramework project; Added a new EOModel to the > Resources directory of this project; updated build Path to include > mysql-connector-java-5.1.7.jar; opened the EOModel; edited the Default > configuration to point to one of my mysql DBs; click on reverse engineer > icon. All the tables from the database came back. > > Here's the Build Path that I have for this project. > > Paul > > On Mar 8, 2011, at 11:07 AM, Paul Dunkler wrote: > >> Hi James, >> >> sounds like you are missing the JavaFoundation-Framework in your build >> path... >> Just check your build path (right click on the project -> Build path -> >> Configure build path...) and check if the associated jar >> (javafoundation.jar) is listed under the JavaFoundation entry. >> >> If not, check your WOLipse-Framework-Directory settings... >> >> >> Am 08.03.2011 um 16:07 schrieb James Cicenia: >> >>> Hello - >>> >>> I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get >>> are error messages. >>> First about JavaMail and then thereafter, NSBundle ? >>> >>> Am I missing some setup config? >>> >>> Thanks >>> James >>> >>> >>> >>> java.lang.NoClassDefFoundError: Could not initialize class >>> com.webobjects.foundation.NSBundle >>> at >>> com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230) >>> at >>> com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246) >>> at >>> com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262) >>> at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287) >>> at >>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.(EOFSQLReverseEngineer53.java:28) >>> 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:513) >>> at >>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23) >>> at >>> org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86) >>> at >>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) >>> at >>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) >>> at >>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) >>> at >>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) >>> at >>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) >>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >>> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) >>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) >>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) >>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) >>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) >>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) >>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) >>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) >>> at >>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) >>> at >>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) >>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) >>> at >>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) >>> at >>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) >>> at >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) >>> at >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) >>> at >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) >>> at >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) >>> at sun.reflect.NativeMethodAcc
Re: Reverse Engineer?
... and if you expand the JavaFoundation-entry in the buildpath - Is there the right jar associated? I got similar errors in the past because the eclipse setup of WOLips pointed to the wrong framework folders... Am 08.03.2011 um 17:15 schrieb Paul D Yu: > James > > I just created a new WonderFramework project; Added a new EOModel to the > Resources directory of this project; updated build Path to include > mysql-connector-java-5.1.7.jar; opened the EOModel; edited the Default > configuration to point to one of my mysql DBs; click on reverse engineer > icon. All the tables from the database came back. > > Here's the Build Path that I have for this project. > > Paul > > On Mar 8, 2011, at 11:07 AM, Paul Dunkler wrote: > >> Hi James, >> >> sounds like you are missing the JavaFoundation-Framework in your build >> path... >> Just check your build path (right click on the project -> Build path -> >> Configure build path...) and check if the associated jar >> (javafoundation.jar) is listed under the JavaFoundation entry. >> >> If not, check your WOLipse-Framework-Directory settings... >> >> >> Am 08.03.2011 um 16:07 schrieb James Cicenia: >> >>> Hello - >>> >>> I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get >>> are error messages. >>> First about JavaMail and then thereafter, NSBundle ? >>> >>> Am I missing some setup config? >>> >>> Thanks >>> James >>> >>> >>> >>> java.lang.NoClassDefFoundError: Could not initialize class >>> com.webobjects.foundation.NSBundle >>> at >>> com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230) >>> at >>> com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246) >>> at >>> com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262) >>> at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287) >>> at >>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.(EOFSQLReverseEngineer53.java:28) >>> 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:513) >>> at >>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23) >>> at >>> org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86) >>> at >>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) >>> at >>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) >>> at >>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) >>> at >>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) >>> at >>> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) >>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) >>> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) >>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) >>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) >>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) >>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) >>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) >>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) >>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) >>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) >>> at >>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) >>> at >>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) >>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) >>> at >>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) >>> at >>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) >>> at >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) >>> at >>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) >>> at >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) >>> at >>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) >>> at sun.reflect.NativeMethodAccessorI
Re: Reverse Engineer?
Bundle-less project without having WO 5.4 and a recent Wonder version? If JavaFoundation is in the classpath, that problem look like the one we had when the bundle-less option was enabled but we were using WO 5.3. > Hello - > > I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get > are error messages. > First about JavaMail and then thereafter, NSBundle ? > > Am I missing some setup config? > > Thanks > James > > > > java.lang.NoClassDefFoundError: Could not initialize class > com.webobjects.foundation.NSBundle > at > com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230) > at > com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246) > at > com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262) > at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287) > at > org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.(EOFSQLReverseEngineer53.java:28) > 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:513) > at > org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23) > at > org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86) > at > org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) > at > org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) > at > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) > at > org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) > at > org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) > at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) > at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) > at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) > 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) > at org.eclipse.equinox.launcher.Main.run(Main.java:1408) > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Upd
Re: Reverse Engineer?
Hi James, sounds like you are missing the JavaFoundation-Framework in your build path... Just check your build path (right click on the project -> Build path -> Configure build path...) and check if the associated jar (javafoundation.jar) is listed under the JavaFoundation entry. If not, check your WOLipse-Framework-Directory settings... Am 08.03.2011 um 16:07 schrieb James Cicenia: > Hello - > > I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get > are error messages. > First about JavaMail and then thereafter, NSBundle ? > > Am I missing some setup config? > > Thanks > James > > > > java.lang.NoClassDefFoundError: Could not initialize class > com.webobjects.foundation.NSBundle > at > com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230) > at > com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246) > at > com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262) > at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287) > at > org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.(EOFSQLReverseEngineer53.java:28) > 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:513) > at > org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23) > at > org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86) > at > org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) > at > org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) > at > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) > at > org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) > at > org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) > at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) > at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) > at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) > 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) > at org.eclipse.equinox.launcher.Main.run(Main.java:1408) > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/paul.dunkler%40xyrality.com > > This email sent to paul.dunk...@xyrality.com Mit
Reverse Engineer?
Hello - I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get are error messages. First about JavaMail and then thereafter, NSBundle ? Am I missing some setup config? Thanks James java.lang.NoClassDefFoundError: Could not initialize class com.webobjects.foundation.NSBundle at com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230) at com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246) at com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262) at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287) at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.(EOFSQLReverseEngineer53.java:28) 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:513) at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23) at org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W Question
This is because there is a rule for that key and the caching will go for that. You should be able to use, say: 100: true => excelFile = impliedFile [ERDKeyValueAssignment] and then push "impliedFile" to the context. Actually, it would be better to change the Excel list page to append ".xls" only if needed and then use the display name for the page config. Cheers, Anjo Am 07.03.2011 um 20:55 schrieb Markus Ruggiero: > Anjo, > > That's what I already tried but it does not work :-( > > I found that the app always fires the rule: > 100: (pageConfiguration = 'ListExcelTextblock') => excelFileName = > "Textblock.xls" [com.webobjects.directtoweb.Assignment] > > when it is there. When I remove this rule I always get the default excel file > name results.xls. It looks as if the binding in EGWrapper always goes to the > rule system and when there is no rule it uses the default. Rule tracing show > this clearly. > > ERExcelListPage.wo uses EGWrapper as its page wrapper and passes the > following binding to it > fileName = d2wContext.excelFileName; > > Even doing copy/paste to make sure there is no typo in the word excelFileName > does obviously not properly set that particular key in d2wContext. Could it > be that the d2wContext is not the same when I set the key? > > Confused > ---markus > > > On 07.03.2011, at 19:50, Anjo Krank wrote: > >>> This works and is almost generic (ExcelDownload component is). However for >>> being truly generic it would be great if I could specify excelFileName and >>> displayNameForSectionKey dynamically with the entity name instead of hard >>> coding those into the rules as above. So what I want is a rule like >> >> Add: >> d2wContext.takeValueForKey(d2wContext.valueForKey("entity.name") + >> ".xls", "excelFileName"); >> >> in your link method. >> >> Cheers, Anjo >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com >> >> This email sent to mailingli...@kataputt.com >> > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: java client and ntlm proxy
Hi David, Starting the application with JWS or at command line gives the same result. I guess that the socket is open directly (port 80) without going thru the proxy and that's why I get a timeout error. I dont get your idea, what can you check in the jnlp file ? Thanks Pierre - Original Message - From: David Avendasora To: Pierre Gilquin Cc: webobjects-dev@lists.apple.com Sent: Monday, March 07, 2011 8:26 PM Subject: Re: java client and ntlm proxy Hi Pierre, Are you launching the application from a link that downloads a .jnlp file from the server? If so, look at it's contents to be sure it is using the ports you think it is. Dave On Mar 7, 2011, at 11:52 AM, Pierre Gilquin wrote: Hi all, I am trying to use a java client inside a entreprise network using an ntml proxy with authentification for accessing the outside world. Seems that java cannot pass that kind of proxy. At least, I was not able to do it. So I try to use cntlm http://cntlm.sourceforge.net/ before starting the java client : >cntlm.exe -c cntlm.ini -v cntlm: Proxy listening on 127.0.0.1:3128 cntlm: Resolving proxy TheBorringProxy ... cntlm: Workstation name used: localhost cntlm: Using following NTLM hashes: NTLMv2(1) NT(0) LM(0) cntlm: PID 980: Cntlm ready, staying in the foreground Then I start my java client : java -Dhttp.proxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 MyClass -applicationURL http://www.externaldomain.com/cgi-bin/WebObjects/MyAppli.woa But not better, the java client cannot create the socket : com.webobjects.foundation.NSForwardException for java.io.IOException: Timed out trying to create Socket at com.webobjects.foundation.NSSocketUtilities._getSocketWithTimeout(NSSocketUtilities.java:145) at com.webobjects.foundation.NSSocketUtilities.getSocketWithTimeout(NSSocketUtilities.java:100) at com.webobjects.foundation.NSSocketUtilities.getSocketWithTimeout(NSSocketUtilities.java:58) at com.webobjects.eodistribution.client.EOHTTPChannel.createSocket(EOHTTPChannel.java:401) Am I missing something ? May be I am wrong about the way i start my java client ? Thanks for any idea. Pierre ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com