Re: Multi-Tenant Data Architecture

2009-09-23 Thread Cheong Hee (Gmail)
I read with great interest as I encountere the same situation some time ago. In practice (at least in my case), it worked to have the app run on separate EOF stacks accessing different database. So , it simplified the case to only have one instance in JavaMonitor for multi databases. However,

ant build file size issue

2009-09-23 Thread Jake Bearkley
Hi All, Eclipse 3.3.2 / WOLips 3.3.5304 / WebObjects 5.3 / Leopard 10.5.8 I am trying to build a project using ant embedding the 5.3 frameworks to deploy on 5.4. I can build and run the project fine within eclipse. Yesterday I started getting java heap space issue while trying to build the war

Re: ant build file size issue

2009-09-23 Thread Mike Schrag
BUT my build process which zips up the dist directory now creates a 300Mb tar file instead of a 40Mb tar file. Can anyone suggest why the significant change? untar it and see what's taking up the space? are we adding something to the tar that we didn't before? ms

Re: WebObjects 5.4.3 and SQL Server 2005

2009-09-23 Thread David Avendasora
On Sep 22, 2009, at 7:36 PM, Chuck Hill wrote: Not sure why that works and not inclined to dig into it right now. Chuck According to the 'legacy' docs, that's the way it's supposed to work. That seems odd as Boolean is not a Number. There is trickery there in EOF. David, your

Re: WebObjects 5.4.3 and SQL Server 2005

2009-09-23 Thread David Avendasora
On Sep 22, 2009, at 11:29 AM, Freddie Tilley wrote: Value class of type NSNumber does not work for me, using a value class of java.lang.Boolean does. What are the results if you use NSNumber? You could also try Number or java.lang.Number I'm suspicious of the Boolean setting... Dave

WO WebServices Java 1.6

2009-09-23 Thread Jarda Hanuš
Hi list, we are developping a web service frontend to a wo application and we try to implement some security/authentication controls in it. However, when we try to access the SOAPEnvelope part of the ws message, we obtain this exception: java.lang.ClassCastException:

Re: Multi-Tenant Data Architecture

2009-09-23 Thread Klaus Berkling
FWIW We uses an setup were access is organized by groups, sub-groups and sub-sub-groups, etc. We have sales reps which manage channel partners, which manage clients or schools. In the schools are more groups. These are all group objects. There are classes that relate to groups,

saving pdf's to the database

2009-09-23 Thread Tim Worman
WO'ers: I am writing an application where users can upload pdf files - which my app saves to the database. I also need to have mechanisms in place where a reviewer can browse the documents that have been uploaded. The upload and saving to the database seems to be working. This is modeled

Re: saving pdf's to the database

2009-09-23 Thread John Kim Larson
Hi Tim, We do this all the time with receiving reports, prints, etc. Since the component I use for upload handles any file type ( Word, images, PDF) I keep track of the file extension that the file was uploaded with in an attribute of my File entity. I then use that information to

Re: saving pdf's to the database

2009-09-23 Thread Tim Worman
John: Thanks for the response. In our case the files will always be pdf since we are requiring that as the format of the originating user's submission. I can definitely see the file size concern if the pdf is a big ole glorified image. Hopefully, most of the users will produce their

Re: saving pdf's to the database

2009-09-23 Thread John Kim Larson
That's all I do. Are you embedding the file in the page or having the response download the file as an attachment? John A. Larson President Precision Instruments, Inc. Ph: 847-824-4194 Fax: 866-240-7104 Sent from my iPhone On Sep 23, 2009, at 11:24 AM, Tim Worman li...@thetimmy.com wrote:

Re: saving pdf's to the database

2009-09-23 Thread John Kim Larson
Here's another do'oh question: are you sure the data is making it to the db from the upload? John A. Larson President Precision Instruments, Inc. Ph: 847-824-4194 Fax: 866-240-7104 Sent from my iPhone On Sep 23, 2009, at 11:24 AM, Tim Worman li...@thetimmy.com wrote: John: Thanks for the

Re: saving pdf's to the database

2009-09-23 Thread David Holt
Hi Tim, Have you looked at ERAttachment? It has been designed to do exactly what you are attempting and optionally ties into the AjaxFileUpload component. The framework provide a single unified set of components and models that can allow the storage of attachments on your local

Re: saving pdf's to the database

2009-09-23 Thread Tim Worman
On Sep 23, 2009, at 10:15 AM, Chuck Hill wrote: Hi Tim, On Sep 23, 2009, at 9:24 AM, Tim Worman wrote: John: Thanks for the response. In our case the files will always be pdf since we are requiring that as the format of the originating user's submission. I can definitely see the file

Re: saving pdf's to the database

2009-09-23 Thread Tim Worman
I'm going to try and do the same as I am doing with my other component and have these open in a new window. Tim On Sep 23, 2009, at 10:16 AM, John Kim Larson wrote: That's all I do. Are you embedding the file in the page or having the response download the file as an attachment? John A.

Re: saving pdf's to the database

2009-09-23 Thread Chuck Hill
On Sep 23, 2009, at 1:27 PM, Tim Worman wrote: On Sep 23, 2009, at 10:15 AM, Chuck Hill wrote: Hi Tim, On Sep 23, 2009, at 9:24 AM, Tim Worman wrote: John: Thanks for the response. In our case the files will always be pdf since we are requiring that as the format of the originating

Re: saving pdf's to the database

2009-09-23 Thread Tim Worman
Yeah, there is definitely data being stored. My only concern is that I don't have proof yet that I can read what I've written to the database. So, I was concerned but I expect that Chuck is right that the database probably manipulates file it stores. Tim On Sep 23, 2009, at 10:26 AM, John

Re: saving pdf's to the database

2009-09-23 Thread Tim Worman
On Sep 23, 2009, at 1:41 PM, Chuck Hill wrote: On Sep 23, 2009, at 1:27 PM, Tim Worman wrote: On Sep 23, 2009, at 10:15 AM, Chuck Hill wrote: Hi Tim, On Sep 23, 2009, at 9:24 AM, Tim Worman wrote: John: Thanks for the response. In our case the files will always be pdf since we are

Re: saving pdf's to the database

2009-09-23 Thread Chuck Hill
On Sep 23, 2009, at 2:28 PM, Tim Worman wrote: Thanks for the response. In our case the files will always be pdf since we are requiring that as the format of the originating user's submission. I can definitely see the file size concern if the pdf is a big ole glorified image. Hopefully,

Re: saving pdf's to the database

2009-09-23 Thread Tim Worman
On Sep 23, 2009, at 2:43 PM, Chuck Hill wrote: On Sep 23, 2009, at 2:28 PM, Tim Worman wrote: Thanks for the response. In our case the files will always be pdf since we are requiring that as the format of the originating user's submission. I can definitely see the file size concern if

Re: WO WebServices Java 1.6

2009-09-23 Thread Lachlan Deck
On 24/09/2009, at 12:02 AM, Jarda Hanuš wrote: we are developping a web service frontend to a wo application and we try to implement some security/authentication controls in it. However, when we try to access the SOAPEnvelope part of the ws message, we obtain this exception:

Re: Multi-Tenant Data Architecture

2009-09-23 Thread Henrique Prange
Hi Guido, Guido Neitzer wrote: On Sep 22, 2009, at 4:34 PM, Chuck Hill wrote: - some increase in RAM usage due to duplicated loading of code and JVM If you don't want to do that and are committed to doing this in one instance, the next best way is to tag the root object with the tenant.

Updated to 3.5 and now lots of html errors

2009-09-23 Thread Ramsey Lee Gurley
Hi all, I just updated to 3.5. It's very fast. I like it a lot (^_^) However, I'm getting *lots* of red Xs in ERExtensions and ERDirectToWeb regarding unclosed br hr ... that sort of thing. Now, for my stuff, I like that... but for the wonder frameworks, some of those things are

Re: Updated to 3.5 and now lots of html errors

2009-09-23 Thread Mike Schrag
I just updated to 3.5. It's very fast. I like it a lot (^_^) However, I'm getting *lots* of red Xs in ERExtensions and ERDirectToWeb regarding unclosed br hr ... that sort of thing. Now, for my stuff, I like that... but for the wonder frameworks, some of those things are correct because

Re: Multi-Tenant Data Architecture

2009-09-23 Thread Henrique Prange
Hi Lachlan, Lachlan Deck wrote: On 23/09/2009, at 8:46 AM, Henrique Prange wrote: Chuck Hill wrote: - problems / load on one tenant do not impact others - guaranteed that one tenant will not accidently see information from another This last one is exactly the reason why we can't have a

Re: Multi-Tenant Data Architecture

2009-09-23 Thread Henrique Prange
Hi Cheong, Cheong Hee (Gmail) wrote: I read with great interest as I encountere the same situation some time ago. In practice (at least in my case), it worked to have the app run on separate EOF stacks accessing different database. So , it simplified the case to only have one instance in

Re: Multi-Tenant Data Architecture

2009-09-23 Thread Henrique Prange
Hi Chuck, Chuck Hill wrote: Not so easy when you have more than 20 different instances (and counting) running on JavaMonitor. :p 20 does not seem like that many to manage. Yeah. I'm worried about the future. 100+ instances can become a problem to manage. Cons: - more instances to

Re: Updated to 3.5 and now lots of html errors

2009-09-23 Thread Ramsey Lee Gurley
On Sep 23, 2009, at 11:16 PM, Mike Schrag wrote: I just updated to 3.5. It's very fast. I like it a lot (^_^) However, I'm getting *lots* of red Xs in ERExtensions and ERDirectToWeb regarding unclosed br hr ... that sort of thing. Now, for my stuff, I like that... but for the wonder