laserbyte / openbluedragon Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/openbluedragon
Automatically exported from code.google.com/p/openbluedragon
As Coldfusion doc said for 'access' attribute in cffunction :
public: available to a locally executing page or component method.
remote: available to a locally or remotely executing page or component
method, or a remote client through a URL, Flash, or a web service. To
publish the function as a web service, this option is required.
But in OpenBD, when I set a function to be 'public' it become also
available through a URL.
Original issue reported on code.google.com by [email protected]
on 12 Sep 2008 at 11:58
Too many restrictions on the scopes you can access inside of a cfthread
(i.e. request and session). This prevents arbitrary code to be process
inside a thread (like callback -- passing in a CFC and name of a method to
call).
Example code of threading adapter in Mach-II 1.6:
<cffunction name="run" access="public" returntype="string" output="false"
hint="Runs a thread.">
<cfargument name="callback" type="any" required="true" />
<cfargument name="method" type="string" required="true" />
<cfargument name="parameters" type="struct" required="false"
default="#StructNew()#" />
<cfset var threadId = createThreadId(arguments.method) />
<cfset var collection = { action="run", name=threadId, threadId=threadId } />
<!--- cfthread duplicates all passed attributes (we do not want to pass a
copy of the even to the thread) --->
<cfset request._MachIIThreadingAdapter[threadId] = {
component=arguments.callback, method=arguments.method,
argumentCollection=arguments.parameters } />
<!--- Run the thread and catch any errors for later --->
<cfthread attributeCollection="#collection#">
<cftry>
<cfinvoke
attributeCollection="#request._MachIIThreadingAdapter[threadId]#" />
<!--- Catch and rethrow so this will be logged --->
<cfcatch type="any">
<cfrethrow />
</cfcatch>
</cftry>
</cfthread>
<cfreturn threadId />
</cffunction>
IMO, Adobe's implementation of cfthread is far easier to work with since
they don't restrict the scopes you have access to (especially request and
session). In a Mach-II application, I could cfthread to execute processes
in my Service layer in my Model to speed up the total request. However, I
think it's pretty common in MVC to let your model access the session via a
facade of some sort. Currently, with the BD implementation I would have to
pass in session information to cfthread and thus could *not* reuse code
already built in my model.
There is one feature in BD's implementation of cfthread is very nice.
Threads can create child threads. However since t's difficult to access
scopes, the ability to create child threads from other threads is a moot
point especially if you are building a system that dynamically passes in a
component as a callback . As in most dynamic systems it would be
impossible to know all the data you need to pass into the thread and thus
loose the abstraction and power of passing in a callback.
I'm going to lobby for access to the session (and client, form, url, cgi)
scope as well. Vince B. argued that my thoughts rely on the assumption
that a thread will outlast the request page execution. Whereas (and this
is shown in the documentation I referred above), all the example code use
cfjoin -- thus waiting for threads to complete and you don't need to worry
about the request scope not being there. Since waiting for threads to
complete is basically how cfthread is going to be used 95% of the time, it
seems silly to restrict the scopes you have access to inside the thread.
In it's current state, I don't see how we can offer the new threading
enhancements in Mach-II 1.6 on BD as the restrictions with cfthread are
just too many. Just open up access to the scopes and put a big warning in
the documentation about using them if the thread.
Original issue reported on code.google.com by [email protected]
on 12 Jun 2008 at 4:22
Model-Glue:Unity has a component called RequestLogRenderer.
When trying to do a createobject() on this component, OpenBD returns "Illegal
Function Name: The name "Render" is the name of a built-in CFML function"
Work around : disable Model-Glue debugging, but looks like OpenBD could do with
a little tightening up on the checks for reserved word usage.
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:18
The JS code for CFForm, should be made an object that can be called by
more than one form.
As it is now, the more forms on the page. The more JS that is duplicated.
This needs to be totallt refactored.
This is simialr to the bug with cfdump.
Original issue reported on code.google.com by [email protected]
on 22 May 2008 at 11:12
CFSCHEDULE doesn't appear to support authentication for a specified proxy.
Original issue reported on code.google.com by [email protected]
on 8 Aug 2008 at 2:40
My Application.cfm :
----------------------------------------------
<cferror
type="exception"
template="error.cfm" />
----------------------------------------------
My error.cfm :
----------------------------------------------
<cfprocessingdirective pageencoding="utf-8">
Si le problème persiste, contactez-nous
----------------------------------------------
If I call directly the page error.cfm in my browser, I see 'Si le problème
persiste, contactez-nous'
But if an exception is throw on OpenBD, I see : 'Si le probl�me persiste,
contactez-nous'. So charset encoding seems to be bad..
All templates are created with cfprocessingdirective at the top, and no
problem with charset.
Only with the error handling page.
Original issue reported on code.google.com by [email protected]
on 24 Jul 2008 at 11:53
Would like to see the ability in OpenBD to dynamically load Java class and
JAR files without having to place them in the default lib directory or
restart the OpenBD server. Preferably this would be a built in tag or
function as opposed to a CFC.
Potential syntax:
loadJAR("/path/to/myjar.jar") or maybe
loadJavaClass("/path/to/class/or/jar/or/directory")
Would also be nice to allow for multiple paths to be loaded at once, so
maybe the function should be able to take an array containing multiple
resources.
Original issue reported on code.google.com by [email protected]
on 10 Jun 2008 at 11:10
Comparing arrays fails when using equals()
Provide a code snippet that demonstrates the issue.
<cfset a = ArrayNew(1) />
<cfset b = ArrayNew(1) />
<cfoutput>#a.equals(b)#</cfoutput>
What is the expected output? What do you see instead?
I should be a boolean, but got an error
If you got an error message, what is that error message?
Cannot perform equals operation on these types
Original issue reported on code.google.com by [email protected]
on 22 Aug 2008 at 6:58
The following example produces different output to CF
<cfoutput>#paragraphformat( "foo#chr(10)##chr(13)#bar" )#</cfoutput>
Original issue reported on code.google.com by [email protected]
on 1 Jul 2008 at 1:02
Just as a simple experiment (and as the most likely code to use) I put a
copy of Farcry5 beta in the openbluedragon directory of the Centos 5.1
VMware openbluedragon image.
I was pleased when it first picked up that there was no farcry project and
diverted me to farcry/core/webtop/index.cfm but there it bombed at an
extraordinary error at the java level:
Type Internal
Tag Context CFSET: Line=224; Column=1
|
+-- CFFUNCTION: Line=888; Column=1
|
+-- CFSAVECONTENT: Line=892; Column=2
|
+-- CFLOOP: Line=900; Column=4
|
+-- CFOUTPUT: Line=910; Column=5
|
+-- CFIF: Line=912; Column=6
|
+-- CFELSE: Line=914; Column=6
Source
911: <td align="center" style="width:60px;">
912: <cfif iconType EQ 0>
913: <input type="image" name="farcrySubmitButton"
value="goToStep" src="images/function_#i#_#iconType#.gif"
onclick="Ext.get('goToStep').set({value:'#i#'},false);" />
914: <cfelse>
915: <img src="images/function_#i#_#iconType#.gif" />
^ Snippet from underlying CFML source
Stack Trace
java.lang.NoSuchMethodError: method java.lang.String.format with signature
(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.String; was not found.
at com.nary.util.NumberUtils.getString(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfNumberData.getString(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.renderExpression(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfIF.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfOUTPUT.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfLOOP.renderIndex(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfLOOP.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfSAVECONTENT.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfFUNCTION.realRun(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(Unknown Source)
at com.naryx.tagfusion.cfm.script.userDefinedFunction.execute(Unknown
Source)
at
com.naryx.tagfusion.expression.compile.CFFunctionExpression.Eval(Unknown
Source)
at
com.naryx.tagfusion.expression.compile.CFAssignmentExpression.Eval(Unknown
Source)
at com.naryx.tagfusion.expression.compile.runTime.run(Unknown Source)
at com.naryx.tagfusion.expression.compile.runTime.runExpression(Unknown
Source)
at com.naryx.tagfusion.expression.compile.runTime.runExpression(Unknown
Source)
at com.naryx.tagfusion.cfm.tag.cfSET.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfFile.render(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfSession.onRequest(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
at com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
at
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.23
.jar.so)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.23.jar.so)
at
org.apache.catalina.core.StandardWrapperValve.invoke(catalina-5.5.23.jar.so)
at
org.apache.catalina.core.StandardContextValve.invoke(catalina-5.5.23.jar.so)
at org.apache.catalina.core.StandardHostValve.invoke(catalina-5.5.23.jar.so)
at
org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
at
org.apache.catalina.core.StandardEngineValve.invoke(catalina-5.5.23.jar.so)
at
org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
at
org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConne
ction(tomcat-http-5.5.23.jar.so)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.
so)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.j
ar.so)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23
.jar.so)
at java.lang.Thread.run(libgcj.so.7rh)
FYI
Julian
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 11:55
Currently cfdirectory lists all hidden files like ".svn" or alike.
Original issue reported on code.google.com by [email protected]
on 3 Jul 2008 at 12:59
The implementation of <cfthread> in BD differs from other CFML engines.
Currently, you have to run <cfjoin> to join thread together instead of
<cfthread action="join" ... />. This would reduce the differences between
the engines we OpenBD supports the "action" attribute. You can leave the
<cfjoin /> tag for BC.
Original issue reported on code.google.com by [email protected]
on 12 Jun 2008 at 4:31
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by ceri%[email protected]
on 20 May 2008 at 12:41
<cfset locale = SetLocale("French (France)") />
<cfoutput>#MonthAsString(month(now()))#</cfoutput>
MonthAsString returns 'JUNE' for example, and not 'JUIN' as expected.
A workaround is to use LSDateFormat function to format the date correctly
with the locale specified.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2008 at 7:18
[Reported by Nitai Aventaggiato]
Doing some cfif between cfmail tag does NOT parse out the white space that the
cfml code generates. Doing something like:
<cfmail....>
<cfif....>
<cfelse>
</cfif>
My message
</cfmail>
Will show up in the email app like:
from:
to:
subject: xxx
My message
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:20
When placing the following code into an index.cfm page
<cfdump var="#object#" />
<cfdump var="#object2#" />
The style sheet is repeated each and everytime the cfdump tag is called.
Original issue reported on code.google.com by [email protected]
on 22 May 2008 at 11:11
'Content-length' http header is set to 0.
The file on the destination server is created, but its size is 0
Example :
<cfhttp method="put" url="http://mysite.com/mypicture.jpg">
<cfhttpparam type="file" name="picture.jpg" file="/tmp/picture.jpg"
mimetype="image/jpg" />
</cfhttp>
We have tested this problem with the latest release of OpenBD.
Tested also on CFMX 6.1 and no problem.
Original issue reported on code.google.com by [email protected]
on 6 Jul 2008 at 3:32
Values in variables are getting overwritten when the arguments are saved
into an array in the variables scope of a CFC when said arguments were
passed in from another cfc inside a loop.
Provide a code snippet that demonstrates the issue.
attached
What is the expected output? What do you see instead?
the cfdump is displaying test,test,test,test it should be displaying
this,is,a,test.
If you got an error message, what is that error message?
no error message
What J2EE server are you running on and what Operating System?
Resin 3.1 on Ubuntu 8.04
If appropriate, include any information printed out in the bluedragon.log.
none pertinent...
Original issue reported on code.google.com by [email protected]
on 28 Aug 2008 at 7:59
Attachments:
I morphed Andrew Scott's GetQueryRow to use the plugin fittings. As a test I
tried to create a UDF, but the error I received was misleading. The error
message read: Illegal Function Name: The name "QueryGetRow" is the name of a
built-in CFML function. I would have like to see something like: The name
"QueryGetRow" conflicts with a function register by the plugin
com.cfinnovate.example.QueryGetRow.
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:19
The parser apparently is not honoring namespaces on the attributes
(presumably every where) on cffunction.
Example:
<cffunction name="example" intent:returntype="person">
By typing this BlueDragon incorrectly parses returntype and requires an
actual return type of person.
Original issue reported on code.google.com by [email protected]
on 20 Sep 2008 at 5:59
I'm running the straight Jetty installation on Windows 2003 R2 and
present four test scenarios and a workaround: 1) with no credentials,
no authentication required - SUCCESS; 2) with blank credentials, no
authentication required - FAILURE; 3) with no credentials,
authentication required - SUCCESS; 4) with correct credentials,
authentication required - FAILURE; 5) the workaround, which uses
cfhttpparam - SUCCESS.
1) With no credentials, no authentication required (this first
scenario works):
<cftry>
<cfhttp url="http://www.google.com" method="GET">
<cfdump var="#cfhttp#">
<cfcatch><cfdump var="#CFCATCH#"></cfcatch>
</cftry>
2) With blank credentials, no authentication required (this scenario
does not work in OBD but does on CF Server 7 Standard):
<cftry>
<cfhttp url="http://www.google.com" method="GET" username=""
password="">
<cfdump var="#cfhttp#">
<cfcatch><cfdump var="#CFCATCH#"></cfcatch>
</cftry>
The error that results is:
column 2
detail [empty string]
errorcode [empty string]
extendedinfo [empty string]
line 2
message [empty string]
tagcontext
array
1
struct
column 2
id CFTRY
line 1
template D:/openbd-jetty/webapps/root/test.cfm
2
struct
column 2
id CFHTTP
line 2
template D:/openbd-jetty/webapps/root/test.cfm
tagname CFHTTP
template D:/openbd-jetty/webapps/root/test.cfm
type Application
3) With no credentials, authentication required
<cftry>
<cfhttp url="http://beta.bixler.com" method="GET">
<cfdump var="#cfhttp#">
<cfcatch><cfdump var="#CFCATCH#"></cfcatch>
</cftry>
Throws the appropriate error:
charset [empty string]
errordetail [empty string]
filecontent <HTML><HEAD><TITLE>Unauthorized</TITLE></HEAD>
<BODY><H1>Unauthorized</H1> Proper authorization is required for this
area. Either your browser does not perform authorization, or your
authorization has failed. </BODY></HTML>
header HTTP/1.1 401 Unauthorized Server: Sun-ONE-Web-Server/6.1 Date:
Thu, 19 Jun 2008 13:12:15 GMT Content-length: 223 Content-type: text/
html WWW-authenticate: Basic realm="Bixler Incorporated" Connection:
close
mimetype text/html
responseheader
struct
Connection close
Content-length 223
Content-type text/html
Date Thu, 19 Jun 2008 13:12:15 GMT
EXPLANATION Unauthorized
HTTP_VERSION HTTP/1.1
STATUS_CODE 401
Server Sun-ONE-Web-Server/6.1
WWW-authenticate Basic realm="Bixler Incorporated"
statuscode 401 Unauthorized
text YES
4) With correct credentials, authentication required:
<cftry>
<cfhttp url="http://beta.bixler.com" method="GET"
username="bluedragon" password="bluedragon">
<cfdump var="#cfhttp#">
<cfcatch><cfdump var="#CFCATCH#"></cfcatch>
</cftry>
Returns an error identical to the second scenario:
column 2
detail [empty string]
errorcode [empty string]
extendedinfo [empty string]
line 2
message [empty string]
tagcontext
array
1
struct
column 2
id CFTRY
line 1
template D:/openbd-jetty/webapps/root/test.cfm
2
struct
column 2
id CFHTTP
line 2
template D:/openbd-jetty/webapps/root/test.cfm
tagname CFHTTP
template D:/openbd-jetty/webapps/root/test.cfm
type Application
5) The workaround, which successfully uses cfhttpparam:
<cftry>
<cfset strCredential="Basic " & ToBase64("bluedragon:bluedragon")>
<cfhttp url="http://beta.bixler.com" method="GET">
<cfhttpparam type="header" name="Authorization"
value="#strCredential#">
</cfhttp>
<cfdump var="#cfhttp#">
<cfcatch><cfdump var="#CFCATCH#"></cfcatch>
</cftry>
Original issue reported on code.google.com by [email protected]
on 19 Jun 2008 at 5:44
[Reported by Nitai Aventaggiato]
cfdump does NOT show passed query parameters
Quite annoying when debugging SQL
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:13
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by ceri%[email protected]
on 20 May 2008 at 12:43
I would be great if JavaCas() supported bigdecimal, byte, char, and short
data types and the ability to cast Arrays. This would introduce greater
compatibility with other CFML engines.
Original issue reported on code.google.com by [email protected]
on 14 Aug 2008 at 8:59
version: 7,0,1
openBD is throwing an error when calling a function using cfinvoke from
within the component.
Here is the test case:
child.cfc extends parent.cfc
child.test() is called, which calls super.test() which then calls
child.foobar() by using cfinvoke. openBD thrown an error at this point
even though child.foobar can be dumped and structKeyExists shows it as
being defined in the variables scope.
Files are attached to reproduce the issue, call test.cfm in your browser.
Original issue reported on code.google.com by [email protected]
on 16 Aug 2008 at 11:54
Attachments:
Comparing structs fails when using equals()
Provide a code snippet that demonstrates the issue.
<cfset a = StructNew() />
<cfset b = StructNew() />
<cfoutput>#a.equals(b)#</cfoutput>
What is the expected output? What do you see instead?
I should be a boolean, but got an error
If you got an error message, what is that error message?
Cannot perform equals operation on these types
Original issue reported on code.google.com by [email protected]
on 22 Aug 2008 at 6:25
[Reported by Andrew Scott]
When using the xml strict metatag the style sheets for a cfdump do not work
correctly.
This patch fixes issues with using cfdump when using this doc type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:16
Attachments:
Please ignore
Original issue reported on code.google.com by ceri%[email protected]
on 20 May 2008 at 12:56
Describe the error with as much detail as possible so that it may be
reproduced easily.
randrange throws an error when the difference between the min and max
values is >= 2,147,483,647
On CF8 and Railo2, the code does not throw an error, but the value returned
is negative.
Provide a code snippet that demonstrates the issue.
<cfset iMax = CreateObject("java","java.lang.Integer").MAX_VALUE />
<cfoutput>
#randrange(1, iMax)# <!--- works fine --->
<br>
#randrange(0, iMax-1)# <!--- works fine --->
<br>
#randrange(0, iMax)# <!--- throws an error --->
</cfoutput>
What is the expected output? What do you see instead?
expected output would be an integer in the range 0 - iMax
If you got an error message, what is that error message?
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at com.naryx.tagfusion.expression.function.randomRange.rand(Unknown Source)
at com.naryx.tagfusion.expression.function.randomRange.execute(Unknown Source)
at
com.naryx.tagfusion.expression.compile.CFFunctionExpression.Eval(Unknown
Source)
at com.naryx.tagfusion.expression.compile.runTime.run(Unknown Source)
at com.naryx.tagfusion.expression.compile.runTime.runExpression(Unknown
Source)
at com.naryx.tagfusion.expression.compile.runTime.runExpression(Unknown
Source)
at com.naryx.tagfusion.cfm.tag.cfTag.renderExpression(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfOUTPUT.render(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
at com.naryx.tagfusion.cfm.file.cfFile.render(Unknown Source)
What J2EE server are you running on and what Operating System?
OpenBD-jetty-6.1.9 on XP
If appropriate, include any information printed out in the bluedragon.log.
Original issue reported on code.google.com by [email protected]
on 12 Aug 2008 at 11:50
& entity is duplicated when it's presents in action attribute of
cfform.
<cfform name="myform" method="post" action="/action/MyController.cfc?
id=9&method=add">
</cform>
Exemple code :
Result :
<form name="myform" method="post" action="/action/MyController.cfc?
id=9&amp;method=add">
</form>
Original issue reported on code.google.com by [email protected]
on 2 Jul 2008 at 10:54
Using cfexecute to run the following example
<cfset args[1] = "-xmp:subject='Test this'">
<cfset args[2] = "-overwrite_original">
<cfset args[3] = "myimage.jpg">
<cfexecute name="C:\echoargs.bat" arguments=#args# timeout="900" />
Where echoargs.bat looks like this:
@echo off
echo %1
echo %2
echo %3
Should result in the following output:
"-xmp:subject='Test this'"
-overwrite_original
myimage.jpg
Instead the output is:
-xmp:subject
'Test
this'
Original issue reported on code.google.com by [email protected]
on 5 Aug 2008 at 1:12
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 12:40
CFSCHEDULE does not support the ACTION="pause" or ACTION="resume" options
that CF does.
Original issue reported on code.google.com by [email protected]
on 8 Aug 2008 at 2:39
CF8 introduced the type parameter to cfdirectory. Thus we don't have to
filter on files after doing cfdirectory and adding additional overhead.
Original issue reported on code.google.com by [email protected]
on 3 Jul 2008 at 12:48
In 'index.cfm' of the WAR download, lines 16 and 17 look like this:
<cfif FindNoCase( "windows", Server.OS.Name ) NEQ 0
and FindNoCase( "64", Server.OS.Arch EQ 0 )>
Almost certainly they should be this (paren has moved):
<cfif FindNoCase( "windows", Server.OS.Name ) NEQ 0
and FindNoCase( "64", Server.OS.Arch ) EQ 0>
thereby looking for non-64-bit windows, rather than never evaluating true
(because neither "no" nor "false" contains the string "64".
Original issue reported on code.google.com by [email protected]
on 6 Jun 2008 at 3:10
Hi,
I think I found diferent implementation between cfmx7 and OpenBD.
when cfflush is performed inside cfsavecontent, cfmx7
fails with error but OpenBD displays the content of the cfsavecontent.
If we wrap the cfflush in cftry/cfcatch, openBD remains the same but
cfmx7 does not display the content of cfsavecontent.
<cfsavecontent variable="x">
hello<cfflush>
</cfsavecontent>
<cfoutput>output is #x#</cfoutput>
cfmx7: Error: Unable to perform CFFLUSH.
OpenBD: hello output is
<cfsavecontent variable="x">
hello<cftry><cfflush><cfcatch></cfcatch></cftry>
</cfsavecontent>
<cfoutput>output is #x#</cfoutput>
cfmx7:output is hello
OpenBD: hello output is
tested with linux 2.6: yes
tested with freebsd: yes
latest war: yes
tomcat version:tomcat6
java version: java-6-sun java version "1.6.0_10-rc"
While the implementation is different, you could argue that neither
implementation is wrong, merely different.
The question comes down to the case that a CFFLUSH inside a
CFSAVECONTENT doesn't make a whole lot of sense any way, so it should be
silently ignored, as it helps no one.
A CFFLUSH is merely a hint to the engine that says "here you can send
the client some data if you want". Inside a CFSAVECONTENT it doesn't
make sense; so why fail?
I agree in part, I also think cfflush should not fail, because
as you say: A CFFLUSH is merely a hint to the engine that says "here
you can send the client some data if you want".
But I think that inside a cfsavecontent OpenBD should not display the
content before cfsavecontent finshes,
so
<cfsavecontent variable="x">
hector<cfflush>
</cfsavecontent>
<cfoutput>My name is #x#</cfoutput>
should result in: My name is hector
but instead, openBD results in: hectorMy name is
Original issue reported on code.google.com by [email protected]
on 28 Aug 2008 at 10:24
What steps will reproduce the problem?
1. Create UTF-8 cfm page.
2. Writing about the Korean. This does not look like all the characters
properly.
3. However, the right looks DB query results.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 22 Aug 2008 at 2:27
Attachments:
Describe the error with as much detail as possible so that it may be
reproduced easily.
Provide a code snippet that demonstrates the issue.
What is the expected output? What do you see instead?
If you got an error message, what is that error message?
What J2EE server are you running on and what Operating System?
If appropriate, include any information printed out in the bluedragon.log.
Original issue reported on code.google.com by [email protected]
on 12 Jun 2008 at 4:27
Under Windows the cfexecute together with ffmpeg does not close the
application as expected and thus it never finishes the job properly. To
test this you can grab a copy of ffmpeg and run the following command on a
movie:
<cfexecute name="ffmpeg.exe" arguments="-i mymovie.mov -b 300k -ss 00:00:10
-t 00:00:20 -y mynewmovie.mov" timeout="90" />
This will create a preview movie of your movie that will take 20 seconds
from it. As you might see is that the rendered movie is not being rendered
properly. Now shut down Tomcat (I have not tested it with Jetty) and you
will see that the "rest" of the preview movie is being generated and all is
fine.
Working around for now is to create a .bat file and end "2>&1" at the end
of the string.
Original issue reported on code.google.com by [email protected]
on 11 Aug 2008 at 9:19
You cannot check equality of CF query datatype using equals() method
<cfset pre = QueryNew("test") />
<cfset post = QueryNew("test") />
<cfoutput>#pre.equals(post)#</cfoutput>
What is the expected output? What do you see instead?
I expect a boolean, but receive a message saying BD cannot check equality.
The only workaround is to do:
<cfoutput>#pre.hashCode() EQ post.hashCode()#</cfoutput>
Original issue reported on code.google.com by [email protected]
on 16 Jun 2008 at 7:16
A #server.bluedragon.edition# still shows "7,0,1,$Date: 2008/06/17 12:20:57
$". Maybe this should be fixed to have a version number only?
Original issue reported on code.google.com by [email protected]
on 27 Jun 2008 at 6:22
Unknown tag attributes do not throw an error.
For example
<cfform name="Form_One" bullshitAttribute="Try me">
</cfform>
Doesn't throw an illegal attribute error. I would also bet my bottom
dollar, that required / pair matching is broken as well.
For example
<cfloop index="Count">
</cfloop>
Throws an invalid Attribute, the reality is that the other required
attributes are not specified. And should throw an appropriate error.
Original issue reported on code.google.com by [email protected]
on 22 May 2008 at 11:18
I'm running OpenBD in a Ubuntu Linux server with Tomcat 5.5.26, and have a
J2EE datasource set up like this in the Application.cfm file:
<cfset db="java:comp/env/jdbc/crsDb">
This datasource is connected to a SQL Server database via an I-Net Opta2000
JDBC driver (http://www.inetsoftware.de/) that's set up as a datasource in
Tomcat. It is not configured as a datasource in the bluedragon.xml file.
Here's the problem. When I run the following code in a test form handler
that just receives one field in the POST:
<cfinsert datasource="#db#" tableName="bdtest" formFields="item" >
I get a CFML runtime error from the database that says, "Database table
[bdtest] does not exist." Using the tableQualifier and tableOwner
attributes as follows did not work either:
<cfinsert datasource="#db#" tableQualifier="crt" tableOwner="dbo"
tableName="bdtest" formFields="item" >
<cfinsert datasource="#db#" tableQualifier="dbo" tableOwner="crt"
tableName="bdtest" formFields="item" >
When I run <cfquery> tags to query the same database, I have to specify the
table name like this to get it to work:
<cfquery name="list" datasource="#db">
select * from crt.dbo.dbtest order by item
</cfquery>
If I do the inserts and updates within a <cfquery> block, they work OK.
I then decided to try replacing the OPTA JDBC driver with the Microsoft SQL
Server JDBC driver. The cfinsert and cfupdate tags now work properly, and
do not require the "crt.dbo." prefix in front of the table names.
Original issue reported on code.google.com by [email protected]
on 28 Jul 2008 at 8:23
Within a SQL a struct like "arguments.thestruct.module_id_struct.adm" where
admin is a number like "1", OpenBD has a problem and gives and error. This is
not the case with CF (Adobe).
Workaround is to use a variables like below and then use the cfqueryparam:
<cfset ecp=arguments.thestruct.module_id_struct.ecp>
<cfset adm=arguments.thestruct.module_id_struct.adm>
AND groups.grp_mod_id = <cfqueryparam value="#ecp#" cfsqltype="cf_sql_numeric">
OR groups.grp_mod_id = <cfqueryparam value="#adm#" cfsqltype="cf_sql_numeric">
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:14
If you wrap the <cfxml> with <cfoutput> it does work!!!!! But ONLY within a
CFC.
<cfoutput>
<cfxml variable="thexmp">
<?xml version="1.0" encoding="UTF-8"?>
<translations>
<transid name="thisid">
<transtext>2</transtext>
</transid>
</translations>
</cfxml>
</cfoutput>
Note: This works without <cfoutput> on CF.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2008 at 8:19
Describe the error with as much detail as possible so that it may be
reproduced easily.
The following code throw a very strange exception saying the conversation
cannot be done.
<cfset data["Cleanup Interval"]= CreateObject("java",
"java.math.BigInteger").init(1) & " minutes" />
Provide a code snippet that demonstrates the issue.
What is the expected output? What do you see instead?
This should output 1 minute.
I had to add to get this to work:
<cfset data["Cleanup Interval"] = CreateObject("java",
"java.math.BigInteger").init(1).toString() & " minutes" />
The examples are simplified from a much more complex piece of code.
Original issue reported on code.google.com by [email protected]
on 22 Sep 2008 at 7:47
openBD handles ArgumentCollection pass through differently than CF8.
In CF8 if I call a function without named arguments, and then pass the
argument collection on to another function, the parametrized arguments in
the second function take on the values passed in.
In openBD the second function will have two arguments instead of one.
=-=-=-=-=-=-=-=-=-=-=-=-=
Here is the test case:
<!-- execute the test --->
<cfset createObject ("component", "test").test( "foobar" ) />
<!--- test.cfc -->
<cfcomponent>
<cffunction name="test">
<cfset test2 ( ArgumentCollection = Arguments ) />
</cffunction>
<cffunction name="test2">
<cfargument name="name" default="" />
<cfdump var="#Arguments#"><cfabort>
</cffunction>
</cfcomponent>
Original issue reported on code.google.com by [email protected]
on 16 Aug 2008 at 10:57
Can't get OBD to work in Ubuntu Linux.
Linux 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux
Complied with ant war, deployed via Tomcat 5.5 / JVM 1.5.0_13-b05
I get the following error in my log:
-----------
May 16, 2008 12:55:39 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet cfmServlet threw exception
java.lang.NullPointerException
at com.nary.util.Localization.convertCharSetToCharEncoding(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.getDefaultEncoding(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfFormData.<init>(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfFormData.<init>(Unknown Source)
at com.naryx.tagfusion.cfm.engine.variableStore.<init>(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfSession.<init>(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
at com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:262)
at
org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.
java:192)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.jav
a:171)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:167)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108
)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConne
ction(Http11BaseProtocol.java
:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
8)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
9)
at java.lang.Thread.run(Thread.java:595)
------- Comment #1 From Andy Wu 2008-05-19 19:12:52 [reply] -------
Something has failed in the initialization of BlueDragon.
Can you check the bluedragon.log for any sign of an error on startup?
------- Comment #2 From Christopher Najewicz 2008-05-19 23:54:30 [reply]
-------
I actually got an error before this one about the WEB-INF/bluedragon/work and
work/temp directories not being writable, after I created those directories and
chmodded them, I had to touch bluedragon.log also after receiving another
error. After that I just get the NullPointerException error.
So basically: my bluedragon.log is 0 length (empty).
------- Comment #3 From Christopher Najewicz 2008-05-20 00:10:07 [reply]
-------
(In reply to comment #2)
> I actually got an error before this one about the WEB-INF/bluedragon/work and
> work/temp directories not being writable, after I created those
directories and
> chmodded them, I had to touch bluedragon.log also after receiving another
> error. After that I just get the NullPointerException error.
>
> So basically: my bluedragon.log is 0 length (empty).
>
Actually - here's what's in my /var/log/tomcat5.5/localhost.log when I shutdown
and restart Tomcat 5.5:
------
May 19, 2008 10:26:59 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
May 19, 2008 10:26:59 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
May 19, 2008 10:27:00 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.catalina.Registry',
'org.apache.commons.modeler.Registry@421fbfd6')
May 19, 2008 10:27:00 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.catalina.MBeanServer',
'com.sun.jmx.mbeanserver.JmxMBeanServer@326b9c84')
May 19, 2008 10:27:01 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
[org.apache.webapp.balancer.RuleChain: [org.apache.webapp.bala$
May 19, 2008 10:27:02 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
May 19, 2008 10:27:02 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
May 19, 2008 10:27:02 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.catalina.Registry',
'org.apache.commons.modeler.Registry@421fbfd6')
May 19, 2008 10:27:02 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.catalina.MBeanServer',
'com.sun.jmx.mbeanserver.JmxMBeanServer@326b9c84')
May 19, 2008 10:27:04 AM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.security.AccessControlException: access denied (java.io.FilePermission
debug.txt read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264
)
at
java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:203)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
at com.nary.Debug.intPrintln(Unknown Source)
at com.nary.Debug.println(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.<init>(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.init(Unknown Source)
at com.naryx.tagfusion.cfm.cfServlet.init(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956
)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956
)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:744)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java
:144)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.ja
va:120)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
May 19, 2008 10:27:04 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /OpenBlueDragon threw load() exception
java.security.AccessControlException: access denied (java.io.FilePermission
debug.txt read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264
)
at
java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:203)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
at com.nary.Debug.intPrintln(Unknown Source)
at com.nary.Debug.println(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.<init>(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.init(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.<init>(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.init(Unknown Source)
at com.naryx.tagfusion.cfm.cfServlet.init(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956
)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:744)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java
:144)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.ja
va:120)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
May 19, 2008 10:27:04 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet cfcServlet as unavailable
May 19, 2008 10:27:04 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /OpenBlueDragon threw load() exception
java.security.AccessControlException: access denied
(java.lang.RuntimePermission createClassLoader)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264
)
at
java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at
java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:594)
at java.lang.ClassLoader.<init>(ClassLoader.java:225)
at
org.apache.commons.discovery.jdk.PsuedoSystemClassLoader.<init>(PsuedoSystemClas
sLoader.java:73)
at
org.apache.commons.discovery.jdk.JDK12Hooks.findSystemClassLoader(JDK12Hooks.jav
a:215)
at
org.apache.commons.discovery.jdk.JDK12Hooks.<clinit>(JDK12Hooks.java:73)
at org.apache.commons.discovery.jdk.JDKHooks.<clinit>(JDKHooks.java:75)
at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java
:412)
at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java
:378)
at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
at
org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
mpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956
)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:744)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java
:144)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.ja
va:120)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
-------
------- Comment #4 From Andy Wu 2008-05-20 04:49:14 [reply] -------
It sounds like the failure to write to the bluedragon.log is the root of the
issue.
------- Comment #5 From Christopher Najewicz 2008-05-20 05:25:41 [reply]
-------
Nope - I chmodded bluedragon.log to 777, restarted tomcat and I get the same
message.
------- Comment #6 From Andy Wu 2008-05-20 06:11:04 [reply] -------
Is the bluedragon.log still empty after your chmod?
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:17
[Reported by WebFlint (brett]
All my systems run on friendly URLs so when I was porting them over I ran into
an issue with the SEF URL filter included with openBD.
After enabling it, all URL variables were duplicated in the URL scope. for
instance, a URL handled by SearchEngineFriendlyURLFilter
http://localhost:8080/index.cfm/mypath/myfile?var1=tmp1&var2=tmp2
If I dump the URL scope the values are:
[var1] = tmp1,tmp1
[var2] = tmp2,tmp2
Which isnt correct it should be:
[var1] = tmp1
[var2] = tmp2
Tested on windows XP, tomcat5, openBD
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:13
[Reported by Adam Haskell]
Compatibility issue with ColdFusion. Spaces in Application Names are causing
issues in client storage when saving to cookies.
Original issue reported on code.google.com by [email protected]
on 20 May 2008 at 1:15
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.