response.setContentStream fails servlet deployment

2012-08-22 Thread René Bock
Hi every one, In order not to store my download data in memory, I'm saving the data into a temp file. To download the data I stream the data directly from file: public void appendToResponse(WOResponse response, WOContext context) { response.setHeader(application/octet-stream,

Re: response.setContentStream fails servlet deployment

2012-08-22 Thread Q
This is a known bug in 5.4.3 when deploying as a servlet. My notes on this indicate that the offending code should be in _WOApplicationWrapper.servletDispatchRequest() if you feel like getting your hands dirty. On 22/08/2012, at 11:30 PM, René Bock b...@salient.de wrote: Hi every one, In

Re: response.setContentStream fails servlet deployment

2012-08-22 Thread René Bock
So I will stick with stuffing data into memory... Am 22.08.2012 um 16:41 schrieb Q: This is a known bug in 5.4.3 when deploying as a servlet. My notes on this indicate that the offending code should be in _WOApplicationWrapper.servletDispatchRequest() if you feel like getting your hands

Re: WOLips 4.2

2012-08-22 Thread Ramsey Gurley
Hmm, seeing same thing under 3.7. Move along. Nothing to see here. Well except for the exception when trying to enable bundle builds. Ramsey On Aug 21, 2012, at 8:55 AM, Ramsey Gurley wrote: Okay, another Is it just me? problem… When using bundleless builds, the bundle isn't being found,

creating a second database connection

2012-08-22 Thread Theodore Petrosky
I have an app that captures data on events and writes this to my postgresql database. I have other data that lives in an Oracle database that I need to query to merge with to create a report. like (data from PG) + (data from Oracle) = myReport. I have no experience trying to connect to a

Re: creating a second database connection

2012-08-22 Thread Amedeo Mantica
Just create two eomodels Sent from my iPhone On 22/ago/2012, at 21:55, Theodore Petrosky tedp...@yahoo.com wrote: I have an app that captures data on events and writes this to my postgresql database. I have other data that lives in an Oracle database that I need to query to merge with

Re: creating a second database connection

2012-08-22 Thread Paul Yu
But cross model joins would be an issue? Sent from my iPad On Aug 22, 2012, at 4:09 PM, Amedeo Mantica amedeomant...@me.com wrote: Just create two eomodels Sent from my iPhone On 22/ago/2012, at 21:55, Theodore Petrosky tedp...@yahoo.com wrote: I have an app that captures data on

Re: creating a second database connection

2012-08-22 Thread Theodore Petrosky
db two is to read only. I want to munge together a report. I'll try the two models and see how it works out. it just sounds too simple. Ted --- On Wed, 8/22/12, Paul Yu p...@mac.com wrote: From: Paul Yu p...@mac.com Subject: Re: creating a second database connection To: Amedeo Mantica

Re: creating a second database connection

2012-08-22 Thread probert
Jasper Reports? You can't use two data sources in the same report, you will have to use sub-reports. Envoyé de mon iPhone Le 2012-08-22 à 19:19, Theodore Petrosky tedp...@yahoo.com a écrit : db two is to read only. I want to munge together a report. I'll try the two models and see how it

Re: Problem running my application

2012-08-22 Thread Chuck Hill
On 2012-08-21, at 4:23 PM, Oscar González wrote: Hi all, When i try to run my application got this error. I think there is a problem with this framework but I can't resolve it, any help will be appreciate. [2012-8-21 17:18:1 CST] main WOProjectBundle: Warning - Unable to find project

Re: creating a second database connection

2012-08-22 Thread Theodore Petrosky
I hadn't even thought of JasperReports yet. but, I could probably create a 'special EO', copy the attributes that I want to report on. and print this third EO. or as you said pass the second EO as a parameter object and use a sub report. i was doing that for my to-many relations. My issue was

Re: creating a second database connection

2012-08-22 Thread Cheong Hee (Gmail)
The simplest way is to create two eomodel and set their connection dictiionary respectively. It will then transparent to you when do fetching. No worry b'cos it is wo. - Original Message - From: Theodore Petrosky tedp...@yahoo.com To: prob...@macti.ca Cc: