Re: Build Path issue - unbound Wonder frameworks

2015-11-05 Thread John Huss
Create a new eclipse workspace On Thu, Nov 5, 2015 at 7:06 AM Calven Eggert wrote: > I've just completed going thru this entire process of setting up Eclipse > Mars, java 1.8 and Wonder in El Capitan. Which OS are you using? Can you > share the error messages? > > Calven > > --- > I’m

Re: WOOpenURL

2015-10-02 Thread John Huss
Just run this in Terminal: ln -s /usr/bin/open /System/Library/WebObjects/Executables/WOOpenURL On Thu, Oct 1, 2015 at 11:41 AM Gino Pacitti wrote: > Hi Group > > Just updated to El Capitan and WOAutoOpenInBrowser not working… my console > 'Unable to locate WOOpenURL on your computer, AutoOpen

Re: WO Maven getting started

2015-09-19 Thread John Huss
On Friday, September 18, 2015, Ramsey Gurley wrote: > So the reason it doesn’t find the main component: It looks like I’m > getting a NSFluffyBunnyProjectBundle instead of NSMavenProjectBundle. > > NSStandardProjectBundle$Factory expects to find > > "org.maven.ide.eclipse.maven2Nature".equals(nat

Re: ERDistribution

2015-09-15 Thread John Huss
It's intended for JavaClient apps that aren't DirectToJC. It is mostly to add logging and enable easier debugging. The deserialization fails randomly in my experience, and I needed the logging to see that. EODistribution COULD be used without Swing to enable remote EOF operations between servers

Re: Organising Libraries folder with Fluffy Bunny layout and Wonder build.xml

2015-06-22 Thread John Huss
Yes, just add another star to the copy rule for Libraries in build.xml: Libraries/** On Mon, Jun 22, 2015 at 5:03 AM Paul Hoadley wrote: > Hello, > > I’m working on a project that requires a bunch of third party JARs, and by > “bunch” I mean something ridiculous like about 20. (Alright, it’s Jers

Re: Ajax & Servlet Deployment

2015-05-20 Thread John Huss
If you are aren't on a recent version of Wonder, you need to be for this to work - Ajax in servlet. Probably fixed about a year ago. On Tue, May 19, 2015 at 4:14 PM Kevin Hinkson wrote: > Hi, > I am attempting to deploy a web page where the page uses an > AjaxFlexibleFileUpload component. This wo

Re: first version of deployment config scripts for Ubuntu/AWS

2015-03-06 Thread John Huss
There's a note in the build file -- due to WO bug don't use tomcat 8 unless you replace WOJavaServletAdapter or whatever its called. Use tomcat 7. On Fri, Mar 6, 2015, 9:09 AM John Huss wrote: > Here's what I can do now: > > https://www.dropbox.com/s/bfgmzkrz6cyw1xe

Re: first version of deployment config scripts for Ubuntu/AWS

2015-03-06 Thread John Huss
Here's what I can do now: https://www.dropbox.com/s/bfgmzkrz6cyw1xe/buid.xml?dl=1 https://www.dropbox.com/s/56cojqgulc7sezj/Application.java?dl=1 On Thu, Mar 5, 2015 at 2:49 PM Paul Hoadley wrote: > Hi John, > > On 6 Mar 2015, at 2:01 am, John Huss wrote: > > Are you

Re: first version of deployment config scripts for Ubuntu/AWS

2015-03-05 Thread John Huss
than necessary compared to running multiple instances on a single machine -- which is what the container service allows you to do. On Thu, Mar 5, 2015 at 9:31 AM John Huss wrote: > On Wed, Mar 4, 2015 at 4:01 PM Paul Hoadley wrote: > >> Hi John, >> >> On 5 Mar 2015, at 7

Re: first version of deployment config scripts for Ubuntu/AWS

2015-03-05 Thread John Huss
On Wed, Mar 4, 2015 at 4:01 PM Paul Hoadley wrote: > Hi John, > > On 5 Mar 2015, at 7:13 am, John Huss wrote: > > You're missing out big time using the traditional deployment model on > AWS. If you instead use an deployment model that includes an elastic load >

Re: first version of deployment config scripts for Ubuntu/AWS

2015-03-04 Thread John Huss
My own 2 cents -- You're missing out big time using the traditional deployment model on AWS. If you instead use an deployment model that includes an elastic load balancer you get a ton of benefits: 1) it automatically replaces dead instances. 2) it can automatically scale up if needed 3) lots of

Re: Wonder D2W App Tomcat Deployment

2015-02-23 Thread John Huss
detail? By > use ERXServletAdaptor do you mean I need to replace the WOServletAdaptor in > the web.xml file with with ERXServletAdaptor? > > > > > On Feb 23, 2015, at 11:22 AM, John Huss wrote: > > You have to use ERXServletAdaptor or copy it and write your own (it'

Re: Wonder D2W App Tomcat Deployment

2015-02-23 Thread John Huss
You have to use ERXServletAdaptor or copy it and write your own (it's short). On Sun Feb 22 2015 at 1:23:14 PM Kevin Hinkson wrote: > Hi, > > I am able to deploy other Wonder apps to Tomcat without any problems but I > cannot get even an empty D2W app to deploy. I’m attempting to deploy to > To

WOLips for Eclipse 4.4 binary

2015-01-14 Thread John Huss
If anyone has a build of WOLips for Eclipse 4.4 that mostly works, can you provide a binary? I don't really want to build my own, and I bet many others would also appreciate it. Thanks, John ___ Do not post admin requests to the list. They will be igno

Re: How to automate split installs with maven

2014-12-31 Thread John Huss
I wouldn't bother with a split install. Just serve the web server resources directly from tomcat/jetty. That's one of the main advantages of using a war in the first place - a much simpler deployment that just works. Everything third question on this list is from someone having a problem deployi

Deploying to tomcat 8

2014-11-21 Thread John Huss
FYI, for the few people who might be deploying with Tomcat: In the recently released Tomcat 8, there is a breaking change that causes WO apps which use the generated WOClasspath to break (fail to load). The call to servletContext.getRealPath("WEB-INF") in WOServletAdaptor now fails and needs to b

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-10-09 Thread John Huss
now cobbled some code up in takeStoredValueForKey() which avoids > the recursion when checking the existing value using storedValueForKey() and > ignores the (temp) null value caused by clearProperties() when the EO is > invalidated. Hence I believe I now have the code to scream if my property > is s

Re: REST authentication

2014-10-05 Thread John Huss
REST basically just means HTTP, so the answer is to use HTTP auth, most likely BASIC auth. This can be done two ways: 1) If your apps are fronted by Apache (which they probably are), then you can use Apache's bult-in authorization functionality, the simplist form of which is just to declare users

Re: Access to EOF/WebObjects source files - plan for the future?

2014-09-18 Thread John Huss
Regardless, no one is forcing to use Java 9. Stay with Java 6 if you like. On Sep 18, 2014 5:38 PM, "Joseph Pachod" wrote: > We agree with your statement, our worry was more whether we could still > compile our code against WO java 1.5 jars. Looks like it as well in the end. > > 2014-09-18 18:22

Re: EOCustomObject valueForKey avoiding infinite recursion

2014-09-11 Thread John Huss
The order of calls is: takeValueForKey -> setXXX -> takeStoredValueForKey All of these maybe skipped except for takeStoredValueForKey, so that is the only one you should override to see what is getting saved. On Thu, Sep 11, 2014 at 8:55 AM, John Pollard wrote: > Hi List, > > In some debuggin

Re: Switching to Maven

2014-09-03 Thread John Huss
/ERServlet-1.0.jar -DgroupId=er.extensions.jspservlet -DartifactId=ERServlet -Dversion=1.0 -Dpackaging=jar mvn archetype:generate -DarchetypeArtifactId=erxapplication-archetype -DarchetypeGroupId=org.objectstyle.woproject.maven2 -DartifactId=MyApp On Wed, Sep 3, 2014 at 9:10 AM, John Huss wrote

Re: Switching to Maven

2014-09-03 Thread John Huss
On Wed, Sep 3, 2014 at 7:39 AM, Ken Anderson wrote: > All, > > I’ve decided to bite the bullet and try and integrate Maven into my > WOrkflow. Any hints or tips? Is the WOProject-Maven page ( > http://wiki.wocommunity.org/display/WOL/WOProject-Maven) up to date? It > was last edited in 2011… >

Re: ERRest: Is there a way to create multiple entries in one time

2014-08-26 Thread John Huss
Nope On Tue, Aug 26, 2014 at 6:50 AM, Fred Opims wrote: > Hello! > I'm using ERRest and to create an entry, I'm using the POST HTTP method > with JSON format. > Is there a way to create multiple entries in one time with curl or any > other http client ? > > Thank you! > > Best! > > Fred > >

Re: SSDD and taglib definition

2014-08-25 Thread John Huss
Unless you're actually using JSPs (if so, God help you) you can just add a replace call in the build.xml file at the bottom of the ssdd target to remove that whole section from the web.xml file. I don't have an example on this machine, but here is the doc: https://ant.apache.org/manual/Tasks/repl

Re: How to fetch an entity from an id ?

2014-08-20 Thread John Huss
.../Person/100 It's / On Wed, Aug 20, 2014 at 12:26 PM, Fred Opims wrote: > Hello! > I'm using ErRest and i would like to fetch an entity from an id. > > So far I'm using an keyName (attribute) to fetch an entity. For the case > i'm working on, I only have its id. > > Do you know how to do th

Re: "WOWebServicePatch" - Wonder apps now require JavaXML.framework?

2014-08-19 Thread John Huss
Sorry about that - I have a change coming to address it. On Tue, Aug 19, 2014 at 9:41 AM, Hugi Thordarson wrote: > Hi all. > > After upgrading to the latest version of Wonder my Applications fail to > start, complaining that something called WOWebServicePatch can’t find the > class org/apache/a

Re: Kill hung instances

2014-08-14 Thread John Huss
Do you have WOTaskd.forceQuitTaskEnabled turned on for wotaskd in your launchd plist? wotaskd -WOPort 1085 -_DeploymentDebugging false *-WOTaskd.forceQuitTaskEnabled* *true*

Re: Clustered Databases

2014-07-21 Thread John Huss
URL = jdbc:sqlserver://MIQSQL.name.ca :1234; On Mon, Jul 21, 2014 at 9:14 AM, Calven Eggert wrote: > I've just been told that one of the databases my WO application is talking > to has changed and it should now connect to a clustered database. > > Currently I connect to

Re: ERXEOControlUtilities usage and Scala

2014-07-10 Thread John Huss
Try using the Scala templates instead - available here. http://wiki.wocommunity.org/plugins/servlet/mobile#content/view/2622529 On Jul 10, 2014 10:50 AM, "Larry Mills-Gahl" wrote: > Hello... > > I’m using scala with WebObjects/Wonder for a number of apps including a > bunch of data loading/anal

Re: Accessing a framework's resources in WOUnit tests

2014-07-09 Thread John Huss
Sorry, how is WOUnit involved? On Wed, Jul 9, 2014 at 10:09 AM, Musall Maik wrote: > Hi, > > I have an application that uses a few custom frameworks. When I use > > WOResourceManager resourceManager = > WOApplication.application().resourceManager(); > URL url = resourceManager.pathURLForResourc

Re: WebObjects not working!

2014-07-08 Thread John Huss
Eclipse 3.3 is ancient and no longer supported. You must use a newer version - 3.7 or 3.8 would be best. On Tue, Jul 8, 2014 at 10:21 AM, Pawan Tiwari wrote: > When i run woapplication on eclipse europa 3.3.0 with same configuration > then it works fine but not works on any other eclipse or he

Re: Webobject project is not runing!

2014-07-07 Thread John Huss
Also, make sure your project folder has the same name and case as your application name. So for an app named "YourApp" the project folder should also be called "YourApp", not "yourapp". On Mon, Jul 7, 2014 at 4:54 PM, Chuck Hill wrote: > When NSBundle can’t find the main bundle, it falls back

Re: Amazon EC

2014-06-30 Thread John Huss
t; On 29 Jun 2014, at 11:01 am, John Huss wrote: > > Yes, with a couple WO apps and a couple non WO apps. There are some > things to learn, like configuring the firewall rules (security groups) but > it's very nice. > > > I had a look at it when it first came out, trying t

Re: Amazon EC

2014-06-27 Thread John Huss
Amazon's Elastic Beanstalk is the easiest way to deploy, provided you can package your app as a .war file. You just upload your app and tell how many servers to use and where your database is and you're done. And it can auto-scale if you want. Use RDS for your database. John On Fri, Jun 27, 2

Re: ERXKey not added to model class files

2014-06-25 Thread John Huss
You have to enter _WonderEntity.java for the superclass template. On Wed, Jun 25, 2014 at 8:10 AM, Pascal Robert wrote: > Maybe I have not done enough WO dev in the last 12 months, but if I > remember well, the ERXKey variables were automatically added to the > generated EO class files? Because

Re: basic use of migrations with MySQL...

2014-06-24 Thread John Huss
Sorry, I missed the snippet of code you are using that has the problem. On Tue, Jun 24, 2014 at 2:59 PM, Ray Kiddy wrote: > > I should have been using migrations for a long time, but I have not. I > have just never had the time to add another thing that might break. But > you know. But I though

Re: any reason not to be building Utilities/NSFoundation?

2014-06-07 Thread John Huss
It's an open source implementation of NSFoundation. It's not really intended for WO so much as for Android or GWT - places where you can't legally use apples jar. On Jun 6, 2014 7:38 PM, "Chuck Hill" wrote: > I have no idea what that is then. > > On 2014-06-06, 5:29 PM, "Ray Kiddy" wrote: > >

Re: EO advice

2014-06-06 Thread John Huss
On Fri, Jun 6, 2014 at 9:43 AM, Theodore Petrosky wrote: > > so it seems to me that the answer is to use awakeFromInsertion, but do > the check to be sure that the global id is NOT temporary or rather, in my > case put my relationship creation code in a block that first checks if the > global id

Re: EO advice

2014-06-06 Thread John Huss
Except awakeFromInsertion is buggy and replaced by init in Wonder: /** * used for initialization stuff instead of awakeFromInsertion. * awakeFromInsertions is buggy because if an EO is deleted * and then its EOEditingContext is reverted using 'revert' for example then * EOF will -insert- this EO a

Re: Can we use servlet API in webobjects

2014-05-28 Thread John Huss
On Wed, May 28, 2014 at 3:27 AM, Butchi Reddy Velagala < v.butchire...@gmail.com> wrote: > Hi all, >Good day Wishes !! > > We would like to use servlet API in webobjects. Because we need to > call third party api method with HttpServletRequest and HttpServletResponse > as parameters. > >

Re: implementing HTTPServlet with WebObjects

2014-05-27 Thread John Huss
o that you'll have to change the web.xml file during the build process to reference your subclass. In the "ssdd" target add a line to do a string replace: On Tue, May 27, 2014 at 9:36 AM, John Huss wrote: > Yes, WOServletAdaptor (or ERXServletAdaptor) is just an HttpServlet

Re: How to create a non-web EOF application

2014-04-25 Thread John Huss
In your main method do this: ERXExtensions.initApp(Application.class, new String[0]); OR this ERXExtensions.initEOF(new String[0]); Having an Application class is weird since you don't need it, but there are a few places where things can break if WOApplication.application() returns null. I'd

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread John Huss
Are you restarting the app server or just uninstalling the war? You have to restart the server I think. On Thu, Apr 24, 2014 at 7:59 AM, Matthias Jakob wrote: > Hi Theodore, > thank you for your help! > > - WebSphere or Glassfish its the same. > - Microsoft SQL Server > - Remote Server > - sec

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-22 Thread John Huss
I think the migrations are run in Application.finishInitialization, but I could be wrong. So make sure you are calling super if you are overriding it. You could at ERXApplication to find where it is called. The simple solution is to turn off "migrateAtStartup" and just add a call to run them you

Re: Linking iOS and WebObjects

2014-02-27 Thread John Huss
I've not used it. It looks very convenient, however, this sort of approach does have pitfalls - mainly that firing a faulted relationship results in a network request and it will probably run on the main thread unless you're being very careful. It is sort of a mine field that way. I would much r

Re: joda LocalDateTime

2013-11-15 Thread John Huss
JDBC still relies on java.sql.Timestamp, etc, which uses the system's time zone when saving and loading data. Usually the easiest solution is to set the default time zone to UTC by adding a VM argument -Duser.timezone=UTC Then when you need to display date times you can choose a different time zo

Re: EOAdaptorDebugEnabled issue in lastest WOLips43 ??

2013-10-24 Thread John Huss
Check your Run configuration in eclipse. On Thu, Oct 24, 2013 at 9:10 AM, Raymond NANEON wrote: > Hi List, > > I updated my WOLips37 to WOLips43 since I'm on Kepler and I have an > EOAdaptorDebugEnabled problem. > In my parameters I turn it to false but nothing isn't applied. I have some > SQL

Re: Wonder and Java Client

2013-10-11 Thread John Huss
Yes, Wonder will work on the client. But like David said it is somewhat of a mine-field because the some code in Wonder is not client-safe, but you won't know until it blows up. Sounds like you already have a JavaClient app. If so, go for it. If you're writing something new or are open to more

Re: Help with updateValuesInRowDescribedByQualifier

2013-10-09 Thread John Huss
This is an optimistic locking error - the record was changed by another user concurrently or you have precision differences (like in NSTimestamps) that are causing the DB and memory to not match. On Wed, Oct 9, 2013 at 8:59 AM, Jesse Tayler wrote: > > what’s this? unknown source? caught my eye.

Re: Bulding a true war

2013-10-04 Thread John Huss
The default build.xml file (non-maven) you get with a new Wonder Application contains a war target. It should just work. On Thu, Oct 3, 2013 at 10:13 PM, Gintautas Sulskus wrote: > Hello all, > > I am trying to build a true WebObjects WAR. Unfortunately, no luck so far. > > Is this tutorial is

Re: The coming WOpocalypse?

2013-08-16 Thread John Huss
I just means you won't be able to use JDK9 to compile your WO apps that have to run on Java 1.5. If you are running with a new version of Java there is no problem. Or if you use an older compiler, there is no problem. Wonder has already deprecated support for 1.5, so I don't see any issue. The

Re: ERXEC question

2013-08-12 Thread John Huss
No, what you described is the standard behavior. Wonder (ERXEC) provides a way to include the unsaved changes if you desire, but this is not the default/standard. On Mon, Aug 12, 2013 at 2:31 PM, Lars Sonchocky-Helldorf < lars.sonchocky-helld...@xyrality.com> wrote: > So you're suggesting that

Re: @Override of EO?

2013-08-02 Thread John Huss
You can override didInsert in your Poster EO class. On Fri, Aug 2, 2013 at 1:39 PM, Jesse Tayler wrote: > > it likely should be another way entirely, but I don’t think the primary > key would be already set at that time unless I saved changes during the > relationship setter which might be both

Re: Snow Leopard, Java 1.7, WebObjects

2013-07-31 Thread John Huss
# JVM == /System/Library/Frameworks/JavaVM.framework/Versions/ Current/Commands/java (which points to java 1.7) You know the pound sign means this line is commented out, right? On Wed, Jul 31, 2013 at 12:48 AM, Johan Henselmans wrote: > > Op 30 jul. 2013, om 19:10 heeft Gavin Eadie

Re: Apple developer site hacked, looks like Java data structures being involved

2013-07-22 Thread John Huss
Wow, Apple is using GWT, and even GWT-RPC! I didn't know that. On Mon, Jul 22, 2013 at 10:29 AM, David LeBer wrote: > Or an issue with what information is accessible without auth/privs through > calls to the rpc service gwt is talking to. > > D > > -- > David LeBer > Codeferous Software > > On

Re: Same value with different precision causes database updates

2013-07-16 Thread John Huss
I would just override takeStoredValueForKey in your EOs base class, or change the setters for these fields in your EO template. On Tuesday, July 16, 2013, Henrique Prange wrote: > Hi all, > > Is there a general way to make EOF use the compareTo method for > BigDecimals instead of equals? I'm havi

Re: Compiling Apache adaptor on Mac OS X 10.8

2013-07-15 Thread John Huss
GI, it build. Any other fail with the errors I quoted. > > The build script probably broke with the xCode release that removed gcc > many months ago. It just seems people are not compiling adaptor often. > > Samuel > > Le 2013-07-15 à 13:00, John Huss a écrit : > > Tr

Re: Compiling Apache adaptor on Mac OS X 10.8

2013-07-15 Thread John Huss
Try this - from BuildingInstructions.html: 1. Select the adaptor that you want to build by editing the ADAPTORS variable in make.config. You can build multiple adaptors for different web servers at the same time. On Mon, Jul 15, 2013 at 11:19 AM, Samuel Pelletier wrote: > Hi, > > I t

Re: Broken Javamonitor and wotaskd apps and builds.

2013-07-03 Thread John Huss
Personally, I can't see why you would want to get these apps from Maven instead from the Jenkins build server. The jenkins builds have all the frameworks embedded. On Wed, Jul 3, 2013 at 10:18 AM, Henrique Prange wrote: > Hi Greg, > > Wonder version of JavaMonitor and wotaskd are built with th

Re: Good WO/Wonder way to react to different browsers?

2013-06-20 Thread John Huss
session().browser() ERXBrowser On Thu, Jun 20, 2013 at 2:36 PM, Ken Anderson wrote: > All, > > Does anyone have a good formula for reacting to different browser? If my > WOApp is being used on mobile safari, I need to include URL scheme of my > app so that a user can go directly to the app. >

Re: Webobjects-dev Digest, Vol 10, Issue 389

2013-06-17 Thread John Huss
hidden wo:link or a WOGenericContainer. Then you replace the /wo/ request handler with the Ajax request handler (/ja/ or /ajax/) and fire off your HTTP request. Now you have Ajax component actions. > Johnny > > On Jun 17, 2013, at 11:59 AM, John Huss wrote: > > Making a server

Re: Webobjects-dev Digest, Vol 10, Issue 389

2013-06-17 Thread John Huss
Making a server round-trip to update your UI in real time in response to a mouse event is, at best, inefficient. This sort of thing should be done client-side (read: in javascript) unless you have a special security concern or an algorithm that can only realistically be performed on the server.

Re: Wonder Issue: ERXServletAdaptor cannot find Properties file

2013-06-13 Thread John Huss
The number of WO people building with maven and deploying as a servlet is probably 1 - i.e. you. So bugs in this area would not be surprising. On Thu, Jun 13, 2013 at 4:31 PM, wrote: > Hi All, > > ** ** > > Issue: after upgrading my web.xml file to use the ERXServletAdaptor > instead of

Re: centos 6.2 - pulling my hair out

2013-05-08 Thread John Huss
> > In wotaskd.woa/Contents/Resources there is a file named SpawnOfWotaskd.sh > > The default is this: > > $@ 1>/dev/null 2>&1 & > > I'll try this next. Thanks for all the suggestions. > > > Change that to a real path and see if you get anything useful. > This will tell you why it is failing to la

Re: WOMetaRefresh anyone?

2013-05-08 Thread John Huss
You can always use the actual component name: John On Wed, May 8, 2013 at 8:58 AM, Lars Sonchocky-Helldorf < lars.sonchocky-helld...@xyrality.com> wrote: > Hi List, > > is WOMetaRefresh still available with wonder? What would be the > appropriate tag? I tried but that doesn't seem to work. >

Re: Determining database plugin at runtime

2013-03-30 Thread John Huss
On Sat, Mar 30, 2013 at 1:36 AM, Paul Hoadley wrote: > Hello, > > I (think I) want to determine what plugin is in use for a particular model > at runtime. What's the easiest way? (I see EOAdaptor.pluginName(), but, > somewhat embarrassingly, I can't quite work out how to get the EOAdaptor > obj

Re: some infinite loop on startup?

2013-03-14 Thread John Huss
Increase the heap size. Add to VM arguments: -Xmx512m Or a larger number if needed. On Thu, Mar 14, 2013 at 12:08 PM, James Cicenia wrote: > Hello - > > This application runs fine on my computer. > Did a new Eclipse, WO/Wonder install. > Ran the app: > > Ran my app and now get this error (the

Re: development throughout apache??

2013-03-01 Thread John Huss
1) Install wotaskd and JavaMonitor 2) For wotaskd set WOHost=localhost 3) Run them 4) Configure mod_WebObjects for apache 5) Turn off direct connect in your app (eclipse run configuration) On Fri, Mar 1, 2013 at 2:26 PM, Theodore Petrosky wrote: > I do not know how I screwed this up. I was look

Re: WOCommunity Association is now a non-profit corporation

2013-01-31 Thread John Huss
The fact that Cayenne is still being updated and maintained is important. It's biggest technical advantage is that it is not single threaded like EOF, which provides better performance and more flexible deployment. John On Wednesday, January 30, 2013, Ken Anderson wrote: > Pascal, > > Maybe I'm

Re: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray

2013-01-21 Thread John Huss
Probably the "selectionList" needs to be bound to a NSMutableArray not an NSArray. NSArray is IMmutable. On Mon, Jan 21, 2013 at 12:10 PM, Lars Sonchocky-Helldorf < lars.sonchocky-helld...@hamburg.de> wrote: > Hi folks, > > I get the following exception when normally submitting a form which > c

Re: Why no javadocs?

2013-01-07 Thread John Huss
> > Does linking the javadocs to eclipse work? > > It should, though if you are using Wonder source within Eclipse you get > Javadocs for free anyways ;-) > If you are using Wonder BINARIES within Eclipse you get Javadocs for free also - via the src.jar that is included.

Re: Why no javadocs?

2013-01-06 Thread John Huss
The docs are available to download -- via XCode -- the doc set is called WebObjects or Legacy, I don't recall which. On Sunday, January 6, 2013, G Brown wrote: > Hello, > > I have been setting up a new machine and therefore doing the basic project > wonder installation. I think I will have a sepa

Re: wolips compile docs

2013-01-05 Thread John Huss
WOLips is an eclipse plugin - it has to be developed with eclipse. On Saturday, January 5, 2013, Theodore Petrosky wrote: > Can someone point me to the WOLips docs. Specifically, I have opened > WOLips in the current 4.5.2 Xcode and I want to understand how to compile > and run. Obviously, I am n

Re: Direct Action help?

2012-12-21 Thread John Huss
A redirect does not have a content body, just a status code and a Location header. On Fri, Dec 21, 2012 at 3:48 PM, Mai Nguyen wrote: > Hi List, > I have read David LeBer's very good blog about Direct Actions, but I am > still unclear how to get the http response returned by a DA? Or is it > pos

Re: WOResponse HandleException problem

2012-12-19 Thread John Huss
at looks strange. what's with the ?1=... > > Anyone know why it looks like this? > > > On 2012-12-19, at 10:32 AM, John Huss wrote: > > You need to examine the urls and the session ID (cookie or url) and see > where/what they are. > > > On Wed, Dec 19, 2012 at

Re: WOResponse HandleException problem

2012-12-19 Thread John Huss
t; method and it never gets there. I click on the button and the page reloads > again. What would make the error page load a second time? > > > On 2012-12-19, at 8:41 AM, John Huss wrote: > > WORedirect should be created using pageWithName. May not matter though. > > O

Re: WOResponse HandleException problem

2012-12-19 Thread John Huss
WORedirect should be created using pageWithName. May not matter though. On Wednesday, December 19, 2012, Calven Eggert wrote: > *bump* > > anyone have any ideas? > > Begin forwarded message: > > *From: *Calven Eggert 'cegg...@uhnresearch.ca');>> > *Subject: **WOResponse HandleException problem*

Re: Rép : Re: Wonder 5.8.2 and 6.0

2012-12-07 Thread John Huss
What is your problem?? On Wed, Dec 5, 2012 at 8:05 AM, Raymond NANEON wrote: > Hi Pascal, > > It's normal to have empty String when we want to check WO Version > (JavaWebObjects) in the ERXProperties.class of the new Wonder? > With Wonder 5.4 it works fine but with the new Wonder nothing works.

Re: Dev/Deploy

2012-12-06 Thread John Huss
t; > - everything seemed to be good, > but after launch in eclipse i got debug mode(( > > > 2012/12/6 Ron X 'ron.x.by...@gmail.com');>> > >> i built woa with maven plugin and have debug(( >> how can i disable this -DWOIDE=WOLips ? >> &g

Re: Dev/Deploy

2012-12-05 Thread John Huss
Inside eclipse when you run it automatically adds an argument: -DWOIDE=WOLips That triggers debug mode. Outside eclipse you won't have the arg, so debug will be off. On Wednesday, December 5, 2012, Ron X wrote: > hi! > > how can i disable debug mode? > i want to disable: > > Log4J > D2W

Re: WOServletAdaptor decompile

2012-12-05 Thread John Huss
Decompilers don't always produce correct or identical code - it's more of an art than a science. On Wednesday, December 5, 2012, Ron X wrote: > hello everybody > i have some proplem with WOServletAdaptor > i have decompiled it and that put it in my own class. > than i ran application, which runs

Re: school project

2012-11-29 Thread John Huss
everything will just work. John On Thu, Nov 29, 2012 at 7:55 AM, gabor raz wrote: > Its local on the same machine. > > On 29.11.2012, at 14:21, John Huss wrote: > > Is it accessing a local DB on the same machine or a remote DB? > > On Thursday, November 29, 2012, gabo

Re: school project

2012-11-29 Thread John Huss
Is it accessing a local DB on the same machine or a remote DB? On Thursday, November 29, 2012, gabor raz wrote: > Hey guys, > > I am learning WebObjects and WOnder and I really enjoy it. It make fun! > But at the moment we make in my school a project where we create multiuser > database applicati

Re: Strange Googlebot activity

2012-10-31 Thread John Huss
ja is the WO 5.4 ajax request handler. On Wed, Oct 31, 2012 at 8:55 PM, Paul Hoadley wrote: > Hello, > > I noticed some strange requests in the log of a live application the other > day: > > 66.249.74.173 - - [25/Oct/2012:10:19:42 +] "GET > /SurvStar/1/ja/bTJaOg4yM8yusyH07q7Fsw/0.0.43.1 HTTP

Re: EOF Multi-tenancy

2012-10-19 Thread John Huss
TopLink is just another JPA implementation which is not much different than Hibernate. You're not missing anything. On Fri, Oct 19, 2012 at 11:45 AM, Chuck Hill wrote: > > On 2012-10-19, at 7:21 AM, Dov Rosenberg wrote: > > > Thanks everyone. With the emphasis on moving everything to the cloud >

Re: Creating a Git Server

2012-10-16 Thread John Huss
With gitolite you can deny write permission for a branch (like master) for a group of users. That's what we do. Devs push their changes to their own feature branch. The branch is reviewed by the project lead and then merged into master by him. On Tue, Oct 16, 2012 at 10:09 AM, Klaus Berkling wr

Re: Creating a Git Server

2012-10-08 Thread John Huss
I use gitolite and it works well. But I wouldn't say it is simple to start using. The documentation is there but it's not really well organized or very comprehensive - descriptions and examples are very brief. If you don't want to invest much time to get that working, I think the atlassian produ

Re: JAX-WS Endpoint within a WOApplication

2012-10-02 Thread John Huss
The WO web service stuff is just a wrapper around Axis 1.4, which is a generic java library, so I would be surprised if it wouldn't work. That said, Axis 1.4 is quite old now, and using something newer is a good option. The port thing doesn't matter -- 8080 is just the standard J2EE port, but you

Re: Callstacks in jenkins-built apps without line numbers

2012-09-27 Thread John Huss
You probably need to do a clean so everything gets re-compiled. On Thu, Sep 27, 2012 at 5:08 AM, Maik Musall wrote: > Hmm, doesn't work yet. My wocompile now looks like this: > > "1024m" fork="true" encoding="utf-8" debug="on" debuglevel= > "lines,vars,source"> > > Java 6. > > Any suggestions?

Re: Callstacks in jenkins-built apps without line numbers

2012-09-26 Thread John Huss
On Wed, Sep 26, 2012 at 8:51 AM, Maik Musall wrote: > Hi, > > I recently started using Jenkins for my builds. Due to our complicated structure of Wonder, company-specific generic frameworks and project-specific frameworks with all sorts of interdependencies, it took a lot of build.xml tweaking,

Re: Migrations and dev cycle

2012-09-20 Thread John Huss
On Thursday, September 20, 2012, Paul Hoadley wrote: > Hi Pascal, > > On 21/09/2012, at 4:52 AM, Pascal Robert wrote: > > I was wondering how do you deal with situations where your development > branch is having migrations that are NOT part of trunk/current release but > that you need to do a migr

Re: Velocity Template examples on Wiki

2012-09-19 Thread John Huss
http://wiki.wocommunity.org/display/WOL/EOGenerator+Templates+and+Additions On Wed, Sep 19, 2012 at 12:56 PM, David Holt wrote: > Hi all, > > There used to be a page of example Entity.java _Entity.java class templates > and snippets on the wiki. I cannot find it anymore, does anyone know whether

Re: PostgreSQL announcement ?

2012-09-13 Thread John Huss
Not really. The JSON support really just does two things: 1) validates that what you are saving is actually valid JSON 2) allows you to convert a row(s) to json The conversion could be useful because it is likely to be much faster and memory efficient by doing it in the DB rather than in memory.

Re: Rép : Re: Rewrite WO app URL

2012-09-12 Thread John Huss
> > > Hi List, > > > > I disabled WOAdaptorURL, direct connect, restarted httpd and apache with > these new settings : > > > > apache.conf : > > > > RewriteRule ^/Etudiant(.*)$ > /cgi-bin/WebObjects/Dossier-Etudiants.woa/wa$1 [PT,L] > > > > properties file > > > > > er.extensions.ERXApplication.rep

Re: WOWorkerThread deadlocks

2012-09-12 Thread John Huss
> > >>> The state the app was in when I took that jstack was that no login was > possible and user's requests would not return, ultimately running into "no > instance" responses after the timeout elapsed. > >> > >> Grep the app logs for OutOfMemory, that is one possibility. They look > ready to ac

Re: Rép : Re: Rewrite WO app URL

2012-09-11 Thread John Huss
On Tue, Sep 11, 2012 at 9:56 AM, Raymond NANEON wrote: > Hi Pascal, > > I tried all possibilities but nothing work :( > > apache.conf > > LoadModule rewrite_module modules/mod_rewrite.so > LoadModule WebObjects_module modules/mod_WebObjects.so > > ... > > RewriteEngine On > RewriteRule ^/Students

Re: classes.include.patternset and difference between Eclipse and Jenkins

2012-09-07 Thread John Huss
The ant build doesn't work correctly in this regard - it will not obey the patternset and will just include .class files. You can work around it by modifying your build.xml to add the desired resources to the jar after it is built. Or just put them in Resources/ instead. John On Fri, Sep 7, 201

Re: ERXExtensions have not been initialized persists

2012-09-04 Thread John Huss
Try putting a breakpoint in the ERXApplication.Loader class, or commenting parts of it out. This checking is not essential. Also, the newest wonder has a debug setting for this code that would probably tell you why it isn't working. John On Tue, Sep 4, 2012 at 9:24 PM, Ângelo Andrade Cirino wro

Re: creating a second database connection

2012-08-23 Thread John Huss
Not .DBURL, just .URL On Thu, Aug 23, 2012 at 8:12 PM, Theodore Petrosky wrote: > ojdbc14.jar is in /Library/Java/Extensions > > it is also in the framework itself. > > interesting after experimenting I find I can use the properties file for: > > # SPAccessModel.DBURL=jdbc:oracle:thin:@10.1.3.250

Re: what did I break with ant?

2012-08-02 Thread John Huss
On Thu, Aug 2, 2012 at 10:42 AM, Jesse Tayler wrote: > > I may have two troubles at once here. > > I removed the refs to the ERSync and I'm able to build and run the app > from the command line as I'd expect. > > When I move to the server, I run the app and again, I get zero output > after the fi

  1   2   3   4   5   6   >