Crystal Reports 10 with stored procedures...

2007-03-13 Thread Dante Orlando
What is the preferred method for calling CR files from CF when the
underlying rpt file calls a stored procedure that requires one or more
parameters to be passed? That is, how do I pass parameters to a stored
procedure from within the cfreport tag? Anybody done this before?

thx,

-dante


~|
Create robust enterprise, web RIAs.Upgrade & integrate Adobe Coldfusion MX7 
with Flex 2http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272558
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: calling Java static method

2006-08-29 Thread Dante Orlando
You don't need to call init() before calling the static method. For example:


#sysObj.currentTimeMillis()#

System.currentTimeMillis() is a static method...

-dante


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251431
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Is ColdFusion a Servlet?

2006-07-31 Thread Dante Orlando
JRun, being a J2EE-compliant application server, includes the servlet (web)
container.

-dante

On 7/31/06, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > I understand that ColdFusion is J2EE certified and all that
> > good stuff, but what does that mean?  How does ColdFusion fit
> > in this J2EE platform stuff?
> >
> > Is ColdFusion a Servlet?
> > Is ColdFusion a Web Container?
> > Is ColdFusion a Enterprise Application Server?
>
> ColdFusion is deployed as either an Enterprise Application or Web
> Application, from an Enterprise Archive (EAR) or Web Archive (WAR).
> ColdFusion consists of more than just a single servlet, obviously,
> although
> the CFML files you write are, in fact, compiled to Java classes conforming
> to the Servlet API. I guess it would qualify as a web container, since it
> provides various services to web applications. I don't think that,
> technically speaking, ColdFusion itself is considered an application
> server,
> since it requires a Java application server to power it, but for all
> practical purposes, it is an application server.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248336
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Low-tech asychronous call to ColdFusion

2006-07-20 Thread Dante Orlando
On 7/18/06, dcooper @ macromedia. com dcooper @ macromedia. com <
[EMAIL PROTECTED]> wrote:
>
> Yeah, we did cfthread tag in about a day...we're debating whether to toss
> it out there as an open source project...


So out of curiosity, why didn't MACR implement cfthread/cfjoin instead of
the async gateway in the first place?

-dante


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247218
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Axis.jar safe to overwrite?

2006-06-28 Thread Dante Orlando
On 6/28/06, jonese <[EMAIL PROTECTED]> wrote:
>
> Thanks kevin but i'm more worried about the fact that i'll possibly be
> going
> to an older version. And i'm not sure what htings might break that i don't
> "see" right away, or see at all :)


The manifest file in the jar should tell you what version it is.

-dante


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245038
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: -XX:+UseParallelGC

2006-06-23 Thread Dante Orlando
Managing your jvm.config manually is definitely the way to go IMHO. Forget
CF Admin...

-dante


On 6/23/06, James Holmes <[EMAIL PROTECTED]> wrote:
>
> We have a similar problem with our graphics environment. A change in
> the CF Admin messes up the customisation we put in for our virtual
> XServer; we're just going to edit the config file manually now.
>
> On 6/23/06, Andy Allan <[EMAIL PROTECTED]> wrote:
> > There's absolutely hee haw you can do other than modify the jvm.config
> > file directly.
> >
> > Personally I think the CF team made an arse of things with this. In
> > fact, if you google about you'll see various Adobe folks recommend you
> > do all your edits manually anyway.
> >
> > On 23/06/06, Brad Wood <[EMAIL PROTECTED]> wrote:
> > > Does anyone know of a way to circumvent this "feature" of MX7:
> > >
> > >
> > >
> > > Apparently when you change the default JVM garbage collector in
> > > "jvm.config" and then make additional edits in the ColdFusion
> > > administrator, it adds "-XX:+UseParallelGC" back in trying to be
> > > helpful.  Of course, this renders CF so it won't start until you go
> > > remove the duplicate GC.  I am fine editing my jvm.config, but I am
> not
> > > the only one at my job with access, and I can just see another user
> who
> > > doesn't know anything about this go add a class path through CF Admin
> > > and hose the server.
> > >
> > >
> > >
> > > Any suggestions from someone who's been here before?
> > >
> > >
> > >
> > > (I have a feeling the answer will be "slap any idiot who hoses the
> > > server, and just edit your jvm.config")
> > >
> > >
> > >
> > > :]
> > >
> > >
> > >
> > > ~Brad
> > >
> > >
> > >
> > >
> >
> >
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244664
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: That netflix "sort" thing, from your Queue

2006-05-26 Thread Dante Orlando
On 5/26/06, Jeff Small <[EMAIL PROTECTED]> wrote:
>
> How does it know how to "fix" the rest of the orders? Now here's an even
> better part...you can sort all OVER the list. You can make number 3 into
> number 7, and number 7 into number 8, then make 2 into 10then click
> "sort" and they're all correct.


I may be wrong, but shouldn't it just be a matter of sorting an unordered
list of numbers (i.e. positions in your queue), using bubble sort or some
other such algorithm.

-dante


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241631
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Application busy initializing. Try again later.

2006-05-24 Thread Dante Orlando
Please disregard. We found the problem and it doesn't appear to be related
to CF.

Sorry for the confusion...

-dante

On 5/24/06, Dante Orlando <[EMAIL PROTECTED]> wrote:
>
> "Application busy initializing. Try again later."
>
> Who has seen this error when requesting wsdl from a CFMX 7 server on
> Windows? What is the problem, and what did you do to resolve it? This error
> seems to be ocurring randomly, and with increasing frequency on at least one
> of my machines. At first I thought that it was only happening shortly after
> a server restart (it does btw, but it usually goes away after 1-2 minutes),
> but now I am finding that this is not the case. For example, we had the
> service up yesterday around 2pm, it was serving the wsdl just fine, and test
> cases against the service were executing successfully throughout the day. I
> come in this morning, and I'm getting this error. There were no restarts,
> and I haven't been able to find anything fishy in any of the cf logs. This
> is really starting to get frustrating, and not inspiring much confidence as
> to the robustness of CFs WS implementation. Any ideas?
>
> thx,
>
> -dante
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241350
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Application busy initializing. Try again later.

2006-05-24 Thread Dante Orlando
"Application busy initializing. Try again later."

Who has seen this error when requesting wsdl from a CFMX 7 server on
Windows? What is the problem, and what did you do to resolve it? This error
seems to be ocurring randomly, and with increasing frequency on at least one
of my machines. At first I thought that it was only happening shortly after
a server restart (it does btw, but it usually goes away after 1-2 minutes),
but now I am finding that this is not the case. For example, we had the
service up yesterday around 2pm, it was serving the wsdl just fine, and test
cases against the service were executing successfully throughout the day. I
come in this morning, and I'm getting this error. There were no restarts,
and I haven't been able to find anything fishy in any of the cf logs. This
is really starting to get frustrating, and not inspiring much confidence as
to the robustness of CFs WS implementation. Any ideas?

thx,

-dante


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241333
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MaxHeapSize + MaxPermSize

2006-05-22 Thread Dante Orlando
According to my tests, it's a 1.6GB max for a jvm process, but to answer
your question, you would either need to move to Linux/Unix, or 64bit
Windows.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241161
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MaxHeapSize + MaxPermSize

2006-05-22 Thread Dante Orlando
Thanks for all of your replies. First of all, I was really just looking for
the "whys" rather than any particular recommendation on what values to set
these params to. As far as the permanent generation being part of the heap,
I have been able to verify that the permenent generation (i.e. -XX:PermSize
and -XX:MaxPermSize) is *separate* from the object heap (i.e. -Xms and
-Xmx). See the following diagram from Sun:

http://java.sun.com/docs/hotspot/gc1.4.2/fig4.gif

which was taken from

http://java.sun.com/docs/hotspot/gc1.4.2/

also see Moazam Raja's explanation in the following blog entry:

http://www.unixville.com/~moazam/stories/2004/05/17/maxpermsizeAndHowItRelatesToTheOverallHeap.html

Rob:
I too have heard the explanation about the object heap needing to occupy a
contiguous block of memory, and that Windows is only able to meet that
requirement up to 2GB. Incidently, this is also why the /3GB flag is useless
on Windows at least as far as a jvm process is concerned. The thing is that
even with these restrictions I thought you could still get a jvm process
that was closer to 2GB, as opposed to the 1.6GB I'm seeing in my tests.
There is even a ColdFusion TechNote that suggests that the maximum value
should be more like 1.8GB (
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19359). It turns
out that, if you dig a little deeper, the maximum contiguous memory block
you can get in Windows is actually a bit less than 2GB because of the way
some of the system DLLs are loaded, and the fact that Windows implements two
"standard" 64KB holes in the virtual address space, one at the bottom, and
another near the 2GB boundary.

I guess I'm beginning to answer my own question... Anybody else have any
additional thoughts on the matter?

thx,

-dante


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241155
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


MaxHeapSize + MaxPermSize

2006-05-20 Thread Dante Orlando
How large can the sum of the maximum heap size (-Xmx) and the maximum
permanent generation size (-XX:MaxPermSize) be for a JRun/CF process
on Windows? I'm aware of the 2GB limit for jvm processes on Windows,
but I would have thought that I could set max heap and max perm to any
combination as long as it was no bigger than 2GB (2048MB). Instead,
what I am finding is that CF will not start when (max heap + max perm)
is larger than 1.6GB, or 1640MB, to be precise.

-dante

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241049
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Reactor and transactions

2006-05-18 Thread Dante Orlando
I believe you have to handle transactions further up in the
application stack (i.e. controller or service layer). You would wrap
calls to reactor object with cftransaction.

-dante

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240929
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


error when refreshing a web service in cf admin

2006-05-17 Thread Dante Orlando
Has anyone else seen this error when trying to refresh a web service
in cf admin? I am getting this error pretty consistently on at least
two of my servers (cf standard on Windows). I *always* see this
behavior shortly after restarting the server. Sometimes it goes away
after 1-2 minutes, and sometimes it doesn't.


Unable to refresh webservice.
Could not generate stub objects for web service invocation.
Name: http://localhost/myapp/ws/soap/api.cfc?wsdl. WSDL:
http://localhost//myapp/ws/soap/api.cfc?wsdl.
org.xml.sax.SAXException: Fatal Error: URI=null Line=26: Content is
not allowed in prolog. It is recommended that you use a web browser to
retrieve and examine the requested WSDL document for correctness. If
the requested WSDL document can't be retrieved or it is dynamically
generated, it is likely that the target web service has programming
errors.


If I try to browse the wsdl directly, I get:

"Application is busy initializing. Try again later."


thx,

-dante

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240840
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54