Win2003 - CF8 multiserver - Sandbox enabled
Hello,
I am trying to setup a CF8 multiserver installation. I have
some experience with this setup in CF7, and everything seems to be
running as it should be. Now I am trying one instance with a
configuration where I enabled Sandbox, and everything seems to be
working as planned. I tested my settings, and everything seems to
be working.
Now I have restarted the instance where the sandbox is
enabled, and from this point nothing in this instance is working
anymore. The CF administrator page is showing me a white page, any
coldfusion code processed in this instance is not showing results
anymore. I have to destroy this instances completely and rebuild it
from scratch to get it running again. This is totally not
acceptable for production!
Regards..
Update, the same issue is also in CF7. Is there something I
am doing wrong, or is this an undocumented feature (bug)?
Thanks for your reply. Since I am testing on a VMware server
I have rolled back towards the point where I didn't enable the
sandbox. Most likely there could be something wrong in the
configuration, but I didn't touch any files, I only enabled the
sandbox mark in the CFadmin.
>> Did you restart as part of your tests?
Yes, end of the output log shows me the following:
01/14 15:54:20 user ColdFusionStartUpServlet: ColdFusion:
Starting application services
01/14 15:54:20 user ColdFusionStartUpServlet: ColdFusion: VM
version = 1.6.0_01-b06
01/14 15:54:20 Information [scheduler-4] -
C:\JRun4\servers\Production01\cfusion.ear\cfusion.war\WEB-INF\cfusion\logs\server.log
initialized
01/14 15:54:20 Information [scheduler-4] - Starting
logging...
01/14 15:54:20 Information [scheduler-4] - Starting
license...
01/14 15:54:20 Information [scheduler-4] - Evaluation Edition
enabled
01/14 15:54:20 Information [scheduler-4] - Starting crypto...
01/14 15:54:20 Information [scheduler-4] - Installed JSafe
JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security
Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple
DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224,
SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1,
HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512)
01/14 15:54:20 Information [scheduler-4] - Starting
security...
01/14 15:54:20 Information [scheduler-4] - Starting
scheduler...
01/14 15:54:20 Information [scheduler-4] - Starting
WatchService...
01/14 15:54:20 Information [scheduler-4] - Starting
debugging...
01/14 15:54:20 Information [scheduler-4] - Starting sql...
01/14 15:54:21 Information [scheduler-4] - Starting mail...
01/14 15:54:21 Information [scheduler-4] - Starting
runtime...
01/14 15:54:21 Information [scheduler-4] - CORBA
Configuration not enabled
01/14 15:54:21 Information [scheduler-4] - Starting cron...
01/14 15:54:21 Information [scheduler-4] - Starting
registry...
01/14 15:54:21 Information [scheduler-4] - Starting client...
01/14 15:54:21 Information [scheduler-4] - The metrics
service is disabled for the J2EE edition
01/14 15:54:21 Information [scheduler-4] - Starting xmlrpc...
01/14 15:54:22 Information [scheduler-4] - Starting
graphing...
01/14 15:54:22 Information [scheduler-4] - Starting verity...
01/14 15:54:22 Information [scheduler-4] - Starting
archive...
01/14 15:54:22 Information [scheduler-4] - Starting
document...
01/14 15:54:22 Information [scheduler-4] - Starting
eventgateway...
01/14 15:54:22 Information [scheduler-4] -
C:\JRun4\servers\Production01\cfusion.ear\cfusion.war\WEB-INF\cfusion\logs\eventgateway.l og
initialized
01/14 15:54:22 Information [scheduler-4] - Starting Event
Backend Handlers.
01/14 15:54:22 Information [scheduler-4] - Initialized
EventRequestDispatcher with a Thread Pool size of 10.
01/14 15:54:22 Information [scheduler-4] - Initializing
EventRequestHandler
01/14 15:54:22 Information [scheduler-4] - Starting Event
Gateways.
01/14 15:54:22 Information [scheduler-4] - Starting
FlexAssembler...
01/14 15:54:22 Information [scheduler-4] - Starting .NET...
01/14 15:54:22 Information [scheduler-4] - Starting
Monitoring...
01/15 10:27:25 Information [scheduler-16] - ColdFusion
started
01/15 10:27:25 user ColdFusionStartUpServlet: ColdFusion:
application services are now available
01/15 10:27:25 user CFMxmlServlet: init
01/15 10:27:25 INFO Macromedia Flex Build: 87315.134646
01/15 10:27:25 user CFMxmlServlet: Macromedia Flex Build:
87315.134646
01/15 10:27:26 user CFSwfServlet: init
01/15 10:27:26 user CFCServlet: init
01/15 10:27:27 user FlashGateway: init
01/15 10:27:27 user MessageBrokerServlet: init
01/15 10:27:29 user CFFormGateway: init
01/15 10:27:29 user FlexMxmlServlet: init
01/15 10:27:29 INFO Loading configuration file
C:\JRun4\servers\Production01\cfusion.ear\cfusion.war\WEB-INF\flex\flex-webtier-config.xm l
01/15 10:27:29 INFO Loading configuration file
C:\JRun4\servers\Production01\cfusion.ear\cfusion.war\WEB-INF\flex\flex-config.xml
- Constructed GeneralCacheAdministrator()
- Creating new cache
01/15 10:27:29 user FlexMxmlServlet: Starting Adobe Flex Web
Tier Compiler
01/15 10:27:29 user FlexMxmlServlet: Adobe Flex Web Tier
Compiler Build: 173666
01/15 10:27:29 user CFInternalServlet: init
01/15 10:27:29 user FlexInternalServlet: init
>> What did you add to your jvm.config? What does your
*-out.log file show?
Nothing, at least I didn't manual edit my jvm.config. Maybe
if you enable the sandbox something is added in this file, but I
only enabled sandbox security in this instance. I haven't enabled
sandbox in the main install. After a restart the output logs shows:
01/15 10:37:52 Information [scheduler-1] - Starting
security...
java.util.MissingResourceException: Can't find resource for
base name coldfusion/server/j2ee/resource.properties
and a lot of more following errors (about 1000 more lines) on
this, if you wish I can e-mail you both logfiles to see the
difference.
>> Most likely you have a setting wrong in your jvm.
config.
Could be, but I generally did a normal installation, nothing
fancy... I just install multiserver, deploy a new instance with
default settings and I enable Sandbox to get this error. Have tried
it on multiple installations, even on a Redhat RHEL4 and 5 I am
getting this behavior.
Similar Messages
-
CF8 Multiserver IIS6-Jrun Broken Images
Hello All
We have run into a problem with the multiserver install of
CF8 Enterprise Edition. I would appreciate any insight into it.
Server details:
Web Servers
IIS 6.0 on Windows 2003 Server
Use the JRun connector to communicate with CF servers (.cfm
.cfml .cfc .cfr mapped to jrun_iis6.dll)
CF 8 servers:
CF8.0.1 Enterprise edition; on windows 2003 server; 1 cluster
of 2 instances; running the proxy service on default ports (51000,
51002 and so on),
We want to use the reverse proxy for every type of file for
specific virtual directories on the Web server. This includes, .js,
.css, .gif, .jpg files.
Problem:
The coldfusion specific file formats are proxied to the CF
servers without a problem (since an IIS mapping exists for each of
them). However, for the static file formats it does not work
(broken images, missing .css files etc.)
We have observed that:
a) if there is no extension mapping on web server, IIS 6.0
sends a 404 message for the images on the page
b) if there is an extension mapping to the same jrun_iis6.dll
on the web server, we get a 503 error from the CF server
(Indicating no mapping on the CF server)
c) if in addition to (b), we introduce a url-pattern mapping
in web.xml, and associate it with CfmServlet, we start getting the
content of the image in a stream (Server response = 200 ) but with
incorrect content-type (it comes across as text/html). The images
still appear broken because the content-type is incorrect.
At this point, we are at a loss of what we are missing.
Has anyone run into this problem before... any pointers will
be much appreciated!
Regards
Kevdeepblue9999 wrote:
> We want to use the reverse proxy for every type of file
for specific virtual
> directories on the Web server. This includes, .js, .css,
.gif, .jpg files.
>
> Problem:
> The coldfusion specific file formats are proxied to the
CF servers without a
> problem (since an IIS mapping exists for each of them).
However, for the static
> file formats it does not work (broken images, missing
.css files etc.)
> c) if in addition to (b), we introduce a url-pattern
mapping in web.xml, and
> associate it with CfmServlet, we start getting the
content of the image in a
> stream (Server response = 200 ) but with incorrect
content-type (it comes
> across as text/html). The images still appear broken
because the content-type
> is incorrect.
Very close. You need to map the extensions to the
FileServlet, not the
CfmServlet. Then restart CF and you are in business. You can
even remove
the mappings in IIS, the mappings in web.xml will overrule
them anyway.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
CF8 Multiserver on OS X locks up UI
I've been having occasional lockups on my MacBook Pro (2Ghz
Core Duo, 2GB RAM, OS X 10.4.10). I've been unable to isolate it
for certain, but signs are currently pointing to CF 8. I finally
broke down and rebuilt the machine this weekend from my restore CD,
and all was fine until Monday the day after I installed Flex
Builder and CF8 (this time in Multiserver developer mode). The UI
lockups have been severe and more frequent (mouse still moves, keys
awake system from snooze, but no clicks or keystrokes have any
affect.... only spinning beachball of doom).
I worked through the minimal software I installed, disabling
everything one at a time, and still exhibited the lockups until I
disabled the JRun service, and the lockups appear to have stopped.
Any ideas what I can try to confirm that these lockups are
caused or not caused by CF, or some interaction with OS X or the
JVM?I've been having occasional lockups on my MacBook Pro (2Ghz
Core Duo, 2GB RAM, OS X 10.4.10). I've been unable to isolate it
for certain, but signs are currently pointing to CF 8. I finally
broke down and rebuilt the machine this weekend from my restore CD,
and all was fine until Monday the day after I installed Flex
Builder and CF8 (this time in Multiserver developer mode). The UI
lockups have been severe and more frequent (mouse still moves, keys
awake system from snooze, but no clicks or keystrokes have any
affect.... only spinning beachball of doom).
I worked through the minimal software I installed, disabling
everything one at a time, and still exhibited the lockups until I
disabled the JRun service, and the lockups appear to have stopped.
Any ideas what I can try to confirm that these lockups are
caused or not caused by CF, or some interaction with OS X or the
JVM? -
RDS Configuration for CF Builder and CF8 multiserver
I've set up a named user in the CF8 Administrator for RDS access for my first instance and I cannot get a test connection in CF Builder to connect. When it asks for the Port Number, is it asking for the port number of the CF instance (i.e. 8301), the CF instance admin (8300), or is it asking for the RDS port? Is there something else that needs to be done to get basic RDS functionality to work out of the box?
I have started to follow the "Creating ColdFusion Servers" section of the CF Builder Resources, but I do not want to give developers the ability to start and stop the remote server.
(for ref: http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089-38317734121cdfd5fd3 -7fff.html)Thanks for the help guys. It turned out that I needed to modify the web.xml file since the RDS sections were commented out. For reference, there are two mentions of the RDS in the web.xml so you have to make sure both are uncommented. The web.xml file is located in JRun4\servers\[instance_name]\cfusion.ear\cfusion.war\WEB-INF. Once I restarted the CF instance I was able to connect successfully through RDS.
-
[CF8] Enabling RDS after install on Apache 2.2.4
when I uncomment the RDS sections in web.xml and restart cf,
I only get error 500s
My apache error log says:
Couldn't initialize from remote server, JRun server(s)
probably down.
the mx technote just says to uncomment the code and restart,
I can't find a cf8 technote for enabling. But a cf blogger blogged
about this, and pointed to the cf8 technote for disabling and said
he just followed the directions in reverse and it worked. The
directions were the same as mx- to uncomment and restart.
Am I missing something?I know you said you were on Apache however, this worked for
me.
After much mucking around with dealing with multiple
instances and having the administrator working then logging out and
having it not work. Charlie Arehart and I found out that if you
enable RDS or Sandbox security you need to manually configure the
jrun.config file.
you need to add soemthing like this to your #argument to VM
setting
-Djava.security.manager
"-Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-IN F/cfusion/lib/coldfusion.policy"
"-Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/W EB-INF/cfusion/lib/neo_jaas.policy"
http://www.talkingtree.com/blog/index.cfm/2006/7/11/SBS-Known-Issues
If you scroll down to Item #4 and then read the whole
inforamtion it works. I just did it this morning. Be sure to back
up your jvm.config file first. -
Cfhttp is slow when sandbox security is enabled
We are running ColdFusion10 Ent. on Windows Server 2008 R2 Standard and IIS ver. 7.5. Java Version: 1.7.0_45
We have also implemented the CF lockdown guide.
Things have been running quite smoothly for some time now. However, after applying CF update 14 on our QA server we noticed an huge performance hit for all CFHTTP calls when security sandbox is enabled. If we disable the ssb then performance returns to normal. Disabling the sandbox is not an option for us.
Here is the difference for a simple cfhttp request.
Sandbox enabled: 9109 ms.
Sandbox disabled: 79 ms.
Rolling back to update 12 fixes the issue.
We've since applied update 15 and now 16 with no change in this performance. After applying all update we always re-run the connectors as stated by Adobe.
Our local dev machines (mac and PC) do not seem to experience this behaviour so I'm a bit concerned it might have something to do with IIS/connectors etc. on the server.
Any suggestions/advice would be much appreciated as we cannot apply updates to our current prod installation running ver.10 update 12 until this issue is resolved.
Thanks in advance.
Update: To see if this issue was resolved in CF11, I installed CF11 on the same machine as above. Same issue exists with ssb enabled and the sandbox configured for my test app! The performance is still extremely poor for even a simple cfhttp request.
Message was edited by: mark hurasI would submit this as a bug if you have only started experiencing this since an update and are able to reproduce it. https://bugbase.adobe.com/index.cfm?event=newBug
-
Convert Coldfusion 8 standalone to multiserver
Hi,
I have one coldfusion 8 running on RHEL 4 with apache as my web server, now there is requirement to enable multiserver feature. Can somebody help me with step by step process to do the same.
thanks in advanceI am little bit confused here, as of now what i understood is as below:
If coldfusion running in single server mode then first backup all the things and uninstall it.
Run a fresh installation with multiserver configuration and configure multiple instance as required.
Restore the backup in one of the instance and update it accordingly.
Test it and go live.
The other way: get ready a second server with CF8 multiserver configuration and restore the backup from single to the multiserver one.Test it and go live.
Regards,
Rahul -
Hi,
I have Sun JES Directory Server Enterprise Edition 6.0 on a Win2003 machine. While enabling SSL, when I try to use the server certificate (which is CA signed and listed in server certificates), and save the settings, I get an error message something like... Value for nsSSLPersonalitySSL (Server Cert) is invalid.
I checked up on internet and found out that nsSSLPersonalitySSL attribute specifies the nickname of the certificate, which, in my case is "Server Cert". I am unable to find the reason for this error. I have tried the certificate nickname as "testcert", but that too doesn't seem to be working :o(Hi,
I had the same problem. After restarting the Directory Server I could use the certificate..
regards -
Oracle Composer Sandbox | Exceptions
Hello Experts,
I have configured Oracle Composer Sandbox using the below link,
http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_page_editor_mds.htm#CHDBJBJF
It works fine, but I could see the below exceptions in server console while deploying the application,
<Jan 20, 2012 2:26:33 PM IST> <Error> <oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack> <BEA-000000> <
oracle.mds.exception.MDSRuntimeException: MDS-00068: Unable to find a type definition for: namespace = http://xmlns.oracle.com/adf/config, local name = addon-panel, file
location = /META-INF/adf-config.xml
at oracle.mds.core.MOTxnState.getMElemBean(MOTxnState.java:207)
at oracle.mds.core.UpdateableMOContent.getMElemBean(UpdateableMOContent.java:611)
at oracle.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2395)
at oracle.mds.core.BeanMetadataObject.getBean(BeanMetadataObject.java:89)
at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:576)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:202)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:192)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:183)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:175)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:130)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.mds.exception.MDSRuntimeException: MDS-00068: Unable to find a type definition for: namespace = http://xmlns.oracle.com/adf/config, local name = addon-p
anel, file location = /META-INF/adf-config.xml
at oracle.mds.internal.model.parse.MDSNodeParser.findMMElement(MDSNodeParser.java:322)
at oracle.mds.internal.model.parse.MDSNodeParser.createModelNode(MDSNodeParser.java:603)
at oracle.mds.internal.model.parse.MDSNodeParser.startElement(MDSNodeParser.java:240)
at oracle.mds.internal.parsefwk.TreeBuilder$Handler.startElement(TreeBuilder.java:298)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1329)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at oracle.mds.internal.parsefwk.TreeBuilder.parse(TreeBuilder.java:143)
at oracle.mds.internal.parsefwk.TreeBuilder.parse(TreeBuilder.java:105)
at oracle.mds.internal.model.parse.SAXParserUtils.parse(SAXParserUtils.java:479)
at oracle.mds.internal.model.parse.SAXParserUtils.parse(SAXParserUtils.java:419)
at oracle.mds.internal.model.parse.SAXParserUtils.parseBaseDocument(SAXParserUtils.java:114)
at oracle.mds.internal.model.BaseDocBuilder.executeInternal(BaseDocBuilder.java:363)
at oracle.mds.internal.model.BaseDocBuilder.execute(BaseDocBuilder.java:180)
at oracle.mds.internal.model.ContentModelPipeline.processPipeline(ContentModelPipeline.java:265)
at oracle.mds.core.MOContent.fetchContent(MOContent.java:512)
at oracle.mds.core.CachedMOContent.fetchContent(CachedMOContent.java:253)
at oracle.mds.core.MOContent.getMElemBean(MOContent.java:690)
at oracle.mds.core.UpdateableChainedMOContent.getPriorModelDocument(UpdateableChainedMOContent.java:322)
at oracle.mds.core.UpdateableChainedMOContent.fetchContent(UpdateableChainedMOContent.java:266)
at oracle.mds.core.MOContent.getMElemBean(MOContent.java:690)
at oracle.mds.core.MOSharedState.getMElemBean(MOSharedState.java:124)
at oracle.mds.core.MOTxnState.getMDocumentInternal(MOTxnState.java:384)
at oracle.mds.core.MOTxnState.getMElemBean(MOTxnState.java:200)
at oracle.mds.core.UpdateableMOContent.getMElemBean(UpdateableMOContent.java:611)
at oracle.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2395)
at oracle.mds.core.BeanMetadataObject.getBean(BeanMetadataObject.java:89)
at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:576)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:202)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:192)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:183)
at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:175)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:130)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Does anyone knows about it? Please let me know if I missed some.
Thanks in advance.
SomnathHi,
When Sandbox is enabled, changes will appear on the page, but will not be committed until Saved. If you click Close without saving, Composer will show Close confirmation dialog - whether to Save the changes or discard it. Are you seeing this dialog? If not, then Sandbox is not enabled for the MDS namespaces of the application pages and pageDef, so customizations are not getting into sandbox. Only the documents in the sandbox enabled namespaces go into Sandbox.
Please refer to section " [10.2.1 How to Enable Oracle Composer Sandbox Creation|http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_page_editor_mds.htm#CHDBHBDA] " in WebCenter Developers Guide. Assuming that the jspx pages are under "/pages" and pageDefs are under "/pageDefs", this section provides an example. Please replace these with the actual namespaces used in your application.
thanks,
Siva -
MX 7.0.2 Sandbox Security
ColdFusion MX 7.0.2 with Security Sandbox Enabled:
It seems if you call a custom tag in the custom tags folder
located outside the sandbox security directory, it will obey the
rules of the sandbox of the site that called it.
I read somewhere that it doesn't behave this way in MX 6.
Instead, the custom tag will have FULL access to all tags,
functions, and paths.
So is this a bug in 7.0.2 or an implementation change?
Regards,
Erickelarin wrote:
> ColdFusion MX 7.0.2 with Security Sandbox Enabled:
>
> It seems if you call a custom tag in the custom tags
folder located outside
> the sandbox security directory, it will obey the rules
of the sandbox of the
> site that called it.
>
> I read somewhere that it doesn't behave this way in MX
6. Instead, the custom
> tag will have FULL access to all tags, functions, and
paths.
Where did you read this?
> So is this a bug in 7.0.2 or an implementation change?
Neither. Behavior is intended and did not change.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
Memory leak after upgrading to ColdFusion 10
We recently upgraded from CF8 to CF10 and we're running into some issues. We started off getting a lot of OutOfMemory errors with the default heap settings. Chaning them to 768MB/1280MB which has helped, but we're still running into occasional OOM issues. We took a heapdump as the instance was having problems today with blocked threads and noticed the heap usage was near the max so it was probably going to run out of memory soon too. Below is what the eclipse memory analyzer tool found as a possible leak suspect. Does anyone have any suggestions on where to go from here? Not sure if it's an issue with CF itself or something in the app. Thanks
Description
One instance of "coldfusion.runtime.ClientScopeServiceImpl" loaded by "coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0" occupies 838,847,880 (88.33%) bytes. The memory is accumulated in one instance of "java.util.HashMap$Entry[]" loaded by "<system class loader>".
Keywords
coldfusion.runtime.ClientScopeServiceImpl
java.util.HashMap$Entry[]
coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0
Shortest Paths To the Accumulation Point
Class Name
Shallow Heap
Retained Heap
java.util.HashMap$Entry[524288] @ 0x3b88e058
2,097,168
838,843,064
table java.util.HashMap @ 0x1212d2f8
48
838,843,112
sharedClientScopeMap coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
88
838,847,880
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x100f16d8 ajp-bio-51010-exec-20 Thread
112
21,624
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x103df100 ajp-bio-51010-exec-36 Thread
112
19,552
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1043f0e0 ajp-bio-51010-exec-72 Thread
112
19,392
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10a8eec0 ajp-bio-51010-exec-83 Thread
112
22,288
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10befce8 ajp-bio-51010-exec-54 Thread
112
18,256
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x11d35e18 ajp-bio-51010-exec-5 Thread
112
23,776
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x121b97e0 ajp-bio-51010-exec-68 Thread
112
18,160
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c4f88 ajp-bio-51010-exec-74 Thread
112
18,816
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c5078 ajp-bio-51010-exec-27 Thread
112
19,784
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12693f30 ajp-bio-51010-exec-75 Thread
112
19,208
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x126e7ff8 ajp-bio-51010-exec-26 Thread
112
19,200
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1297dd60 ajp-bio-51010-exec-78 Thread
112
20,592
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12d3a818 ajp-bio-51010-exec-73 Thread
112
21,304
service class coldfusion.runtime.AppHelper @ 0x12fae868 »
112
1,032
clientScope class coldfusion.server.ServiceFactory @ 0x11047060 »
96
55,184
Total: 15 entries
Accumulated Objects
Class Name
Shallow Heap
Retained Heap
Percentage
coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
88
838,847,880
88.33%
java.util.HashMap @ 0x1212d2f8
48
838,843,112
88.33%
java.util.HashMap$Entry[524288] @ 0x3b88e058
2,097,168
838,843,064
88.33%
java.util.HashMap$Entry @ 0x25370040
24
51,409,128
5.41%
java.util.HashMap$Entry @ 0x1b878cf8
24
12,173,192
1.28%
java.util.HashMap$Entry @ 0x15d049c8
24
10,685,760
1.13%
java.util.HashMap$Entry @ 0x41af3d98
24
10,587,208
1.11%
java.util.HashMap$Entry @ 0x3ff95918
24
10,443,664
1.10%
java.util.HashMap$Entry @ 0x43c422b0
24
9,886,280
1.04%
java.util.HashMap$Entry @ 0x3eec68a8
24
9,723,216
1.02%
java.util.HashMap$Entry @ 0x230c3078
24
9,254,288
0.97%
java.util.HashMap$Entry @ 0x2e36cab8
24
6,494,488
0.68%
java.util.HashMap$Entry @ 0x45e499e8
24
6,178,320
0.65%
java.util.HashMap$Entry @ 0x2a91c258
24
4,008,048
0.42%
java.util.HashMap$Entry @ 0x4260ee28
24
3,542,552
0.37%
java.util.HashMap$Entry @ 0x3dfb9e98
24
3,503,072
0.37%
java.util.HashMap$Entry @ 0x43f354a0
24
2,908,120
0.31%
java.util.HashMap$Entry @ 0x1adfb600
24
2,197,056
0.23%
java.util.HashMap$Entry @ 0x4469eee0
24
2,050,528
0.22%
java.util.HashMap$Entry @ 0x4443dea8
24
2,034,224
0.21%
java.util.HashMap$Entry @ 0x41b79ff0
24
1,846,808
0.19%
java.util.HashMap$Entry @ 0x40931b50
24
1,846,784
0.19%
java.util.HashMap$Entry @ 0x40c62310
24
1,846,784
0.19%
Total: 20 entries
480
162,619,520
0.171
Accumulated Objects by Class
Label
Number of Objects
Used Heap Size
Retained Heap Size
java.util.HashMap$Entry
First 10 of 190,465 objects
190,465
4,571,160
836,711,024
java.lang.String
First 10 of 253 objects
253
6,072
26,408
java.lang.reflect.Method
First 10 of 57 objects
57
4,560
4,560
coldfusion.runtime.ClientScope
All 1 objects
1
56
2,632
java.lang.Class[]
First 10 of 73 objects
73
1,248
1,248
coldfusion.runtime.ClientScopeKey
All 1 objects
1
24
24
java.lang.Class
All 2 objects
2
0
0
Total: 7 entries
190,852
4,583,120
836,745,896Hi Sharma,
Here's the settings summary from the console. The OOM issue is now happening about 1-2 times weekly after increasing the heap size. Before that it was almost daily. It seems we can go about 75-85 hours before we restart due to either OOM or blocked threads.
Settings Summary
Server Settings > Settings Summary
Report generated on Sep 25, 2014 12:08 PM
This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
System Information
Server Details
Server Product ColdFusion
Version ColdFusion 10,286680
Edition Enterprise
Operating System Windows 2003
OS Version 5.2
Update Level /D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar
Adobe Driver Version 4.1 (Build 0001)
JVM Details
Java Version 1.7.0_15
Java Vendor Oracle Corporation
Java Vendor URL http://java.oracle.com/
Java Home D:\ColdFusion10\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Name SYSTEM
User Home C:\Documents and Settings\Default User
User Dir D:\ColdFusion10\cfusion\bin
Java VM Specification Version 1.7
Java VM Specification Vendor Oracle Corporation
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 23.7-b01
Java VM Vendor Oracle Corporation
Java VM Name Java HotSpot(TM) Server VM
Java Specification Version 1.7
Java Specification Vendor Oracle Corporation
Java Specification Name Java Platform API Specification
Java Class Version 51.0
CF Server Java Class Path ;D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar; D:/ColdFusion10/cfusion/lib/ant-launcher.jar; D:/ColdFusion10/cfusion/lib/ant.jar; D:/ColdFusion10/cfusion/lib/antlr-2.7.6.jar; D:/ColdFusion10/cfusion/lib/apache-solr-core.jar; D:/ColdFusion10/cfusion/lib/apache-solr-solrj.jar; D:/ColdFusion10/cfusion/lib/asm-all-3.1.jar; D:/ColdFusion10/cfusion/lib/asn1.jar; D:/ColdFusion10/cfusion/lib/axis.jar; D:/ColdFusion10/cfusion/lib/backport-util-concurrent.jar; D:/ColdFusion10/cfusion/lib/bcel-5.1-jnbridge.jar; D:/ColdFusion10/cfusion/lib/bcel.jar; D:/ColdFusion10/cfusion/lib/bcmail-jdk14-139.jar; D:/ColdFusion10/cfusion/lib/bcprov-jdk14-139.jar; D:/ColdFusion10/cfusion/lib/cdo.jar; D:/ColdFusion10/cfusion/lib/cdohost.jar; D:/ColdFusion10/cfusion/lib/certj.jar; D:/ColdFusion10/cfusion/lib/cf-acrobat.jar; D:/ColdFusion10/cfusion/lib/cf-assembler.jar; D:/ColdFusion10/cfusion/lib/cf-logging.jar; D:/ColdFusion10/cfusion/lib/cf4was.jar; D:/ColdFusion10/cfusion/lib/cf4was_ae.jar; D:/ColdFusion10/cfusion/lib/cfusion-req.jar; D:/ColdFusion10/cfusion/lib/cfusion.jar; D:/ColdFusion10/cfusion/lib/chart.jar; D:/ColdFusion10/cfusion/lib/clibwrapper_jiio.jar; D:/ColdFusion10/cfusion/lib/commons-beanutils-1.8.0.jar; D:/ColdFusion10/cfusion/lib/commons-codec-1.3.jar; D:/ColdFusion10/cfusion/lib/commons-collections-3.2.1.jar; D:/ColdFusion10/cfusion/lib/commons-compress-1.0.jar; D:/ColdFusion10/cfusion/lib/commons-digester-2.0.jar; D:/ColdFusion10/cfusion/lib/commons-discovery-0.4.jar; D:/ColdFusion10/cfusion/lib/commons-httpclient-3.1.jar; D:/ColdFusion10/cfusion/lib/commons-lang-2.4.jar; D:/ColdFusion10/cfusion/lib/commons-logging-1.1.1.jar; D:/ColdFusion10/cfusion/lib/commons-logging-api-1.1.1.jar; D:/ColdFusion10/cfusion/lib/commons-net-3.0.1.jar; D:/ColdFusion10/cfusion/lib/commons-vfs2-2.0.jar; D:/ColdFusion10/cfusion/lib/crystal.jar; D:/ColdFusion10/cfusion/lib/derby.jar; D:/ColdFusion10/cfusion/lib/derbyclient.jar; D:/ColdFusion10/cfusion/lib/derbynet.jar; D:/ColdFusion10/cfusion/lib/derbyrun.jar; D:/ColdFusion10/cfusion/lib/derbytools.jar; D:/ColdFusion10/cfusion/lib/dom4j-1.6.1.jar; D:/ColdFusion10/cfusion/lib/dpHibernate.jar; D:/ColdFusion10/cfusion/lib/ehcache-core-2.5.1.jar; D:/ColdFusion10/cfusion/lib/ehcache-web-2.0.4.jar; D:/ColdFusion10/cfusion/lib/esapi-2.0.1.jar; D:/ColdFusion10/cfusion/lib/EWSAPI-1.1.5.jar; D:/ColdFusion10/cfusion/lib/FCSj.jar; D:/ColdFusion10/cfusion/lib/flashgateway.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-common.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-core.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-opt.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-proxy.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-remoting.jar; D:/ColdFusion10/cfusion/lib/flex-rds-server.jar; D:/ColdFusion10/cfusion/lib/geronimo-stax-api_1.0_spec-1.0.1.jar; D:/ColdFusion10/cfusion/lib/hibernate3.jar; D:/ColdFusion10/cfusion/lib/httpclient-4.1.1.jar; D:/ColdFusion10/cfusion/lib/httpclient-cache-4.1.1.jar; D:/ColdFusion10/cfusion/lib/httpclient.jar; D:/ColdFusion10/cfusion/lib/httpcore_4.1.2.jar; D:/ColdFusion10/cfusion/lib/httpmime-4.1.1.jar; D:/ColdFusion10/cfusion/lib/ib6addonpatch.jar; D:/ColdFusion10/cfusion/lib/ib6core.jar; D:/ColdFusion10/cfusion/lib/ib6http.jar; D:/ColdFusion10/cfusion/lib/ib6swing.jar; D:/ColdFusion10/cfusion/lib/ib6util.jar; D:/ColdFusion10/cfusion/lib/im.jar; D:/ColdFusion10/cfusion/lib/iText.jar; D:/ColdFusion10/cfusion/lib/iTextAsian.jar; D:/ColdFusion10/cfusion/lib/izmado.jar; D:/ColdFusion10/cfusion/lib/jai_codec.jar; D:/ColdFusion10/cfusion/lib/jai_core.jar; D:/ColdFusion10/cfusion/lib/jai_imageio.jar; D:/ColdFusion10/cfusion/lib/jakarta-oro-2.0.6.jar; D:/ColdFusion10/cfusion/lib/jakarta-slide-webdavlib-2.1.jar; D:/ColdFusion10/cfusion/lib/java-xmlbuilder-0.4.jar; D:/ColdFusion10/cfusion/lib/javasysmon-0.3.3.jar; D:/ColdFusion10/cfusion/lib/jax-qname.jar; D:/ColdFusion10/cfusion/lib/jaxb-api.jar; D:/ColdFusion10/cfusion/lib/jaxb-impl.jar; D:/ColdFusion10/cfusion/lib/jaxb-libs.jar; D:/ColdFusion10/cfusion/lib/jaxb-xjc.jar; D:/ColdFusion10/cfusion/lib/jaxrpc.jar; D:/ColdFusion10/cfusion/lib/jcifs-1.3.15.jar; D:/ColdFusion10/cfusion/lib/jdom.jar; D:/ColdFusion10/cfusion/lib/jeb.jar; D:/ColdFusion10/cfusion/lib/jersey-core.jar; D:/ColdFusion10/cfusion/lib/jersey-server.jar; D:/ColdFusion10/cfusion/lib/jersey-servlet.jar; D:/ColdFusion10/cfusion/lib/jets3t-0.8.1.jar; D:/ColdFusion10/cfusion/lib/jetty-continuation-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-http-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-io-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-security-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-server-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-servlet-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-servlets-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-util-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-xml-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jintegra.jar; D:/ColdFusion10/cfusion/lib/jnbcore.jar; D:/ColdFusion10/cfusion/lib/jpedal.jar; D:/ColdFusion10/cfusion/lib/js.jar; D:/ColdFusion10/cfusion/lib/jsch-0.1.44m.jar; D:/ColdFusion10/cfusion/lib/jsr107cache.jar; D:/ColdFusion10/cfusion/lib/jsr311-api-1.1.1.jar; D:/ColdFusion10/cfusion/lib/jta.jar; D:/ColdFusion10/cfusion/lib/jutf7-0.9.0.jar; D:/ColdFusion10/cfusion/lib/ldap.jar; D:/ColdFusion10/cfusion/lib/ldapbp.jar; D:/ColdFusion10/cfusion/lib/log4j-1.2.15.jar; D:/ColdFusion10/cfusion/lib/lucene-analyzers-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-core-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-highlighter-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-memory-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucenedemo.jar; D:/ColdFusion10/cfusion/lib/macromedia_drivers.jar; D:/ColdFusion10/cfusion/lib/mail.jar; D:/ColdFusion10/cfusion/lib/metadata-extractor-2.4.0-beta-1.jar; D:/ColdFusion10/cfusion/lib/mlibwrapper_jai.jar; D:/ColdFusion10/cfusion/lib/msapps.jar; D:/ColdFusion10/cfusion/lib/mysql-connector-java-commercial-5.1.17-bin.jar; D:/ColdFusion10/cfusion/lib/namespace.jar; D:/ColdFusion10/cfusion/lib/nekohtml.jar; D:/ColdFusion10/cfusion/lib/netty-3.2.5.Final.jar; D:/ColdFusion10/cfusion/lib/ooxml-schemas.jar; D:/ColdFusion10/cfusion/lib/pdfencryption.jar; D:/ColdFusion10/cfusion/lib/poi-contrib.jar; D:/ColdFusion10/cfusion/lib/poi-ooxml-schemas.jar; D:/ColdFusion10/cfusion/lib/poi-ooxml.jar; D:/ColdFusion10/cfusion/lib/poi-scratchpad.jar; D:/ColdFusion10/cfusion/lib/poi.jar; D:/ColdFusion10/cfusion/lib/portlet_20.jar; D:/ColdFusion10/cfusion/lib/postgresql-8.3-604.jdbc3.jar; D:/ColdFusion10/cfusion/lib/quartz.jar; D:/ColdFusion10/cfusion/lib/relaxngDatatype.jar; D:/ColdFusion10/cfusion/lib/ri_generic.jar; D:/ColdFusion10/cfusion/lib/rome-cf.jar; D:/ColdFusion10/cfusion/lib/saaj.jar; D:/ColdFusion10/cfusion/lib/saxon9he.jar; D:/ColdFusion10/cfusion/lib/serializer.jar; D:/ColdFusion10/cfusion/lib/slf4j-api-1.5.6.jar; D:/ColdFusion10/cfusion/lib/slf4j-log4j12-1.5.6.jar; D:/ColdFusion10/cfusion/lib/smack.jar; D:/ColdFusion10/cfusion/lib/smpp.jar; D:/ColdFusion10/cfusion/lib/STComm.jar; D:/ColdFusion10/cfusion/lib/tagsoup-1.2.jar; D:/ColdFusion10/cfusion/lib/tika-core-0.6.jar; D:/ColdFusion10/cfusion/lib/tika-parsers-0.6.jar; D:/ColdFusion10/cfusion/lib/tools.jar; D:/ColdFusion10/cfusion/lib/tt-bytecode.jar; D:/ColdFusion10/cfusion/lib/wc50.jar; D:/ColdFusion10/cfusion/lib/webchartsJava2D.jar; D:/ColdFusion10/cfusion/lib/wsdl4j-1.6.2.jar; D:/ColdFusion10/cfusion/lib/wsrp4j-commons-0.5-SNAPSHOT.jar; D:/ColdFusion10/cfusion/lib/wsrp4j-producer.jar; D:/ColdFusion10/cfusion/lib/xalan.jar; D:/ColdFusion10/cfusion/lib/xercesImpl.jar; D:/ColdFusion10/cfusion/lib/xml-apis.jar; D:/ColdFusion10/cfusion/lib/xmlbeans-2.3.0.jar; D:/ColdFusion10/cfusion/lib/xmpcore.jar; D:/ColdFusion10/cfusion/lib/xsdlib.jar; D:/ColdFusion10/cfusion/lib/; D:/ColdFusion10/cfusion/lib/axis2/axiom-api-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axiom-dom-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axiom-impl-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-codegen-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-codegen-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-jaxws-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-kernel-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-http-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-local-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/commons-fileupload-1.2.jar; D:/ColdFusion10/cfusion/lib/axis2/commons-io-1.4.jar; D:/ColdFusion10/cfusion/lib/axis2/geronimo-ws-metadata_2.0_spec-1.1.2.jar; D:/ColdFusion10/cfusion/lib/axis2/httpcore-4.0.jar; D:/ColdFusion10/cfusion/lib/axis2/neethi-3.0.2.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-api-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-impl-commons-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-impl-dom-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/wsdl4j-1.6.2.jar; D:/ColdFusion10/cfusion/lib/axis2/wstx-asl-3.2.9.jar; D:/ColdFusion10/cfusion/lib/axis2/XmlSchema-1.4.8.jar; D:/ColdFusion10/cfusion/lib/axis2/; D:/ColdFusion10/cfusion/gateway/lib/examples.jar; D:/ColdFusion10/cfusion/gateway/lib/; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/cfgatewayadapter.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/concurrent.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-css.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-ext.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-util.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-discovery.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-logging.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/concurrent.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/flex.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jcert.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jnet.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jsse.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/oscache.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/;
Java Class Path D:\\ColdFusion10\\cfusion\lib\oosdk\lib;
D:\\ColdFusion10\\cfusion\lib\oosdk\classes;
D:\ColdFusion10\cfusion\bin\..\runtime\bin\tomcat-juli.jar;
D:\ColdFusion10\cfusion\bin\cf-bootstrap.jar
Java Ext Dirs D:\ColdFusion10\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
Printer Details
Default Printer
Printers
Server Information
General Settings
Timeout requests Yes
Enable Per App Settings Yes
Request Time Limit 120 seconds
Use UUID for CFToken Yes
Disable Service Factory No
Protect serialized JSON No
Protect Serialized JSON Prefix //
Missing Template Handler /404b.cfm
Site-wide Error Handler /errorCatch.cfm
Enable HTTP status codes Yes
Enable Global Script Protection Yes
ORMSearch Index Directory
Default CFForm ScriptSrc Directory /CFIDE/scripts/
Google Map Key
Maximum size of post data 100 MB
Request Throttle Threshold 4 MB
Request Throttle Memory 200 MB
Request Tuning
Simultaneous request limit 20
Flash Remoting request limit 5
Web Service request limit 20
CFC request limit 20
CFThread Pool Size 10
Maximum number of report threads 8
Request Queue Timeout 120 seconds
Request Queue Timeout Page
Caching
Template cache size 150 templates
Enable trusted cache No
Cached query limit 500
Save Class Files Yes
Client Variable Settings
Default client variable store ecom
Purge Interval 1 hours 7 minutes
Client Stores
Registry
Type REGISTRY
Description System registry.
Purge data after time limit Yes
Time limit 90 days
Disable global updates No
ecom
Type JDBC
Description
Purge data after time limit No
Time limit 2 days
Disable global updates Yes
Cookie
Type COOKIE
Description Client based text file.
Purge data after time limit Yes
Time limit 10 days
Disable global updates No
Memory Variables
J2EE Sessions No
Application Variables
Enable Application Variables Yes
Default Timeout 2,0,0,0
Maximum Timeout 2,0,0,0
Session Variables
Enable session variables Yes
Default Timeout 0,0,20,0
Maximum Timeout 2,0,0,0
ColdFusion Mappings
/gateway D:\ColdFusion10\cfusion\gateway\cfc
/CFIDE D:\ColdFusion10\cfusion\wwwroot\CFIDE
Mail Connection Settings
Default Server Port 25
Connection Timeout 60 seconds
Spool Interval 30 seconds
Mail Delivery Threads 10
Maintain Connection to Mail Server Yes
Spool Messages To disk
Max Messages Spooled to Memory 50000
Default CFMail Charset UTF-8
Use SSL Connection No
Use TLS No
Default Mail Server
smtp.example.com
Server smtp.example.com
Port 25
Username
Password
Backup Mail Servers
smtp-backup.example.com
Server smtp-backup.example.com
Port 25
Username
Password
Mail Logging Settings
Log Severity warning
Log all E-mail messages sent by ColdFusion Yes
Charting
Cache Type disk images
Maximum number of images in cache 50 images
Maximum number of charting threads 4
Disk cache location D:\ColdFusion10\cfusion\charting\cache
Data & Services
Database Data Sources
GES
CF data source name GES
Description
Driver MSSQLServer
JDBC URL jdbc:macromedia:sqlserver://MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStringPar ametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username sa
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfcodeexplorer
CF data source name cfcodeexplorer
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfcodeexplorer;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
ecom
CF data source name ecom
Description
Driver
JDBC URL jdbc:macromedia:oracle://10.10.120.13:1521;serviceName=ecom;alternateServers=(10.10.120.1 4:1521);loadBalancing=true
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfbookclub
CF data source name cfbookclub
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\bookclub;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
ecomd
CF data source name ecomd
Description
Driver Oracle
JDBC URL jdbc:macromedia:oracle://ORACLE:1521;SID=ecomd;AuthenticationMethod=userIDPassword;sendSt ringParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username ges
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
GES_New
CF data source name GES
Description
Driver MSSQLServer
JDBC URL jdbc:macromedia:sqlserver://MSSQL\MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStr ingParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
E1_Oracle
CF data source name E1
Description
Driver Oracle
JDBC URL jdbc:macromedia:oracle://ORACLE:1516;SID=E1;AuthenticationMethod=userIDPassword;sendStrin gParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfdocexamples
CF data source name cfdocexamples
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfdocexamples;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfartgallery
CF data source name cfartgallery
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\artgallery;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
Web Services
Debugging & Logging
Debugging Settings
Enable debugging No
Enable Robust Exception Information No
Display format classic.cfm
Execution times Yes
Execution time format summary
Execution time highlight threshold 250 ms
Database activity Yes
Exception information Yes
Tracing information Yes
Timer Information No
Variables Yes
Variables
Application Yes
CGI Yes
Client Yes
Cookie Yes
Form Yes
Request Yes
Server No
Session No
URL Yes
Debugging IP Addresses
Debugging IP Address Restrictions
Line Debugger Settings
Allow Line Debugging NO
Debugger Port 5005
Max Simultaneous Debugging Sessions 5
Logging Settings
Log directory D:\ColdFusion10\cfusion\logs
Maximum file size 5000 KB
Maximum number of archives 10
Log slow pages Yes
Slow page time limit 60 seconds
Log CORBA calls No
Log scheduled tasks No
Schedule Tasks & Probes
Scheduled Tasks
Auto Replenish Notify S9 Order Min Levels Reached
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:05:00 AM
URL http://server1.example.com/index.cfm?fuseaction=rfid.SendReplenishEmails
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Auto Replenish Notify Customer Badge Replenishment
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:00:00 AM
URL http://server1.example.com/uri1/act_notifyUserBadge.cfm
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Auto Replenish
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:10:00 AM
URL http://server1.example.com/uri1/uri2/uri3/Replenish2.cfm
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Contact Updates and Registrations
Start Date 9/2/2014
End Date
Interval 65
Start Time 12:05:00 AM
URL http://server1.example.com/index.cfm?fuseaction=intCRM.sendCRMObjects
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
System Probes
Extensions
Java Applets
CFX Tags
cfx_xml2cfx
Tag name cfx_xml2cfx
Description
Type CPP
Server library c:\cfusion8\cfx\xml2cfx\cfx_xml2cfx.dll
Keep library loaded true
Procedure ProcessTagRequest
cfx_encrypt_aes
Tag name cfx_encrypt_aes
Description DB encryption library
Type CPP
Server library C:\cfusion8\cfx\aes\cfx_encrypt_aes.dll
Keep library loaded true
Procedure ProcessTagRequest
cfx_exec
Tag name cfx_exec
Description
Type CPP
Server library c:\CFusion8\cfx\exec\cfx_exec.dll
Keep library loaded true
Procedure ProcessTagRequest
Custom Tag Paths
D:\web\app1\app2\app3\activedit3
D:\ColdFusion10\cfusion/CustomTags
D:\ColdFusion8\CustomTags
CORBA
Selected connector [ none]
Connectors
Event Gateways
Settings
Enable Event Gateway Yes
Thread Pool Size 10
Max Queue Size 25000
Gateway Types
SMS
Description Handles SMS text messaging
Class coldfusion.eventgateway.sms.SMSGateway
Timeout 30 seconds
Kill On Timeout Yes
XMPP
Description Handles XMPP instant messaging
Class coldfusion.eventgateway.im.XMPPGateway
Timeout 30 seconds
Kill On Timeout Yes
SAMETIME
Description Handles Lotus SAMETIME instant messaging
Class coldfusion.eventgateway.im.SAMETIMEGateway
Timeout 30 seconds
Kill On Timeout Yes
DirectoryWatcher
Description Watches a directory for file changes
Class examples.watcher.DirectoryWatcherGateway
Timeout 30 seconds
Kill On Timeout Yes
Socket
Description Listens on a socket
Class examples.socket.SocketGateway
Timeout 30 seconds
Kill On Timeout Yes
CFML
Description Handles asynchronous events through CFCs
Class coldfusion.eventgateway.cfml.CfmlGateway
Timeout 30 seconds
Kill On Timeout Yes
JMS
Description Handles Java Messaging Service messages
Class examples.JMS.JMSGateway
Timeout 30 seconds
Kill On Timeout Yes
ActiveMQ
Description Handles Apache ActiveMQ JMS messages
Class examples.ActiveMQ.JMSGateway
Timeout 30 seconds
Kill On Timeout Yes
DataServicesMessaging
Description Handles Data Services Messaging messages
Class coldfusion.eventgateway.flex.FlexMessagingGateway
Timeout 30 seconds
Kill On Timeout No
FMS
Description Handles Flash Media Server shared objects
Class coldfusion.eventgateway.fms.FMSGateway
Timeout 30 seconds
Kill On Timeout Yes
DataManagement
Description Notifies Data Management Services of data changes
Class coldfusion.eventgateway.flex.FlexDataManagementGateway
Timeout 30 seconds
Kill On Timeout Yes
Security
CF Admin Authentication
Enable authentication for the ColdFusion Administrator Yes
Allow access to ColdFusion Administrator with a Single password No
RDS Authentication
Enable authentication for RDS access Yes
Allow access through RDS with Single password Yes
Security Sandboxes
Enable ColdFusion Security No
jvm.config
# VM configuration
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=D:\\ColdFusion10\\jre
application.home=D:\\ColdFusion10\\cfusion
# If no java.home is specified a VM is located by looking in these places in this
# order:
# 1) ../runtime/jre
# 2) registry (windows only)
# 3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# 4) java.exe in path
# Arguments to VM
java.args=-server -Xms768m -Xmx1280m -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dges.config.serverEnvironment=prod2 -Dges.config.webServerHostName=server1.example.com -Dcom.sun.management.jmxremote.port=8880 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application .home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/j ars,{application.home}/wwwroot/WEB-INF/cfform/jars
# Comma separated list of shared library path
java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home }/jintegra/bin/international,{application.home}/lib/oosdk/classes/win
java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes -
Cfdirectory not working... kinda
I'm hoping someone can help me out with this. Running CF8 on
Windows multiserver install, developing locally on XP Pro and
production on Win2003 Server. For some reason I can't get
cfdirectory to return results past top level folders.
<cfdirectory action="list" directory="\\#server#\home\"
name="dircontent"> works and returns results
<cfdirectory action="list"
directory="\\#server#\home\#user#\" name="dircontent"> returns
zero results
I have the service set up to log on with a valid user
account. The same happens when I try it with other top level
folders, but locally it will show everything correct. Has anyone
seen this happen before?I figured out what it was. Both my CF servers are set up as
multiserver, but on my local machine I didn't bother to setup and
start a separate JRun service for it, letting it instead run off
the CFusion service. This is the one I had set to log on with the
valid user account. It apparently didn't like that. When I put the
cfm file on the 8300 instance it worked. Same when I started a
separate JRun service for port 8301.
I don't have a lot of experience working with CF8 multiserver
instance but I find it strange that it worked this way. I would
have expected cfdirectory to work fine if it was showing the top
level folders. Oh well, problem solved.
Thanks -
Dreamweaver 8 and CF 8 Setup with Database
In Dreamweaver I'm trying to set it up to connect to my
database but its not working.
I have CF8 and mysql 5.0x installed locally, and I have
dreamweaver 8 installed. I also installed some Microsoft thing it
required prior to installing CF8. In the CF admin I created a
datasource called
mysql5 with the MySQL 4/5 driver. It has a database called
coldfusion that I created. I installed the CF8 extension
update for dreamweaver 8.
In dreamweaver I have my site setup, document type and sites
testing server. So when I go to the Application box and on the
Databases tab it has 1, 2 and 3 checked. But 4 and 5 are not
checked.
#4 is saying I need to Specify the RDS login information for
CF server. When I click it gives me the following error message:
quote:
The server name or address could not be resolved.
Possible Reasons:
1. The URL specified for this site's testing server may be
incorrect:
http://127.0.0.1:8500/
2. The testing server my be incorrectly configured (for
example, ColdFusion may not be running).
CF is running and
http://127.0.0.1:8500/ is where
it is setup up. I have no idea how to fix this.when you were installing cf8, did you select to enable RDS
and did you
specify RDS password? if not, i am afraid you will have to
re-install
cf8 and enable RDS at setup time...
there is some technote on how to enable RDS via manually
editing some
.xml file in cf, but it has never worked for me - i had to
re-install
cf8 to fully enable RDS.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
CF 8 uninstall script deletes server files
We desperately need any help or guidance anyone can offer!
We are using Linux Red Hat Enterprise 4 w/ cPanel and ColdFusion 8 Enterprise (version 8.01). Plain vanilla install of Linux, no modifications. CF8 multiserver with Apache web server install runs clean, though the auto start script "coldfusion8multi" would not run (missing shell parameter as described here: http://ianwinter.co.uk/2008/07/21/cf8-jrun-init-script-error/ ). System and CF runs fine after install.
Then when you run the CF8 uninstall script, it says it runs fine and completes but it deletes everything in the /bin directory. You can't even run something as simple as ls for find. This has happened twice. No option but to format the drives and reinstall EVERYTHING from scratch again.
This thread also mentions this problem:
http://www.houseoffusion.com/groups/cf-linux/thread.cfm/threadid:1089
I also would very much appreciate any help, thoughts, suggestions or direction.
I also highly recommend everyone backup their system before you ever run "uninstall" from CF8 in case you get this full system uninstall "feature" also.We desperately need any help or guidance anyone can offer!
We are using Linux Red Hat Enterprise 4 w/ cPanel and ColdFusion 8 Enterprise (version 8.01). Plain vanilla install of Linux, no modifications. CF8 multiserver with Apache web server install runs clean, though the auto start script "coldfusion8multi" would not run (missing shell parameter as described here: http://ianwinter.co.uk/2008/07/21/cf8-jrun-init-script-error/ ). System and CF runs fine after install.
Then when you run the CF8 uninstall script, it says it runs fine and completes but it deletes everything in the /bin directory. You can't even run something as simple as ls for find. This has happened twice. No option but to format the drives and reinstall EVERYTHING from scratch again.
This thread also mentions this problem:
http://www.houseoffusion.com/groups/cf-linux/thread.cfm/threadid:1089
I also would very much appreciate any help, thoughts, suggestions or direction.
I also highly recommend everyone backup their system before you ever run "uninstall" from CF8 in case you get this full system uninstall "feature" also. -
Embeded derby as client variable store
I've spent considerable time trying to configure the built-in
derby embeded DB as a CF client variable store and have failed
utterly. It seems to be impossible.
I had a SQL Server client store which worked just find, but,
for various reasons that are irrelevant here, I would really prefer
not to do that and use derby instead.
I created the database, created the dsn, set the dsn as the
client store and it all looked okay. But it isn't. The CLOCAL and
CGLOBAL tables were not created as they should have been (and were
for SQL Server). So I created them by hand as described in the
help
files, but that failed as well. Changing various things yields
different errors, but there is a consisted 500 Server error. I can
only guess that the database writes are failing, but there is no
indication as to why.
I have looked all over adobe.com and all over the intertubes
and there is no further information of any kind. In fact, the
latest instructions for even creating the database date back to
May
2007 and have no resemblance to the administrators screens at
all. (I'm running CF 8,0,1,195765 standard). When I create an
embedded derby dsn, I get the generic "default"
Data & Services > Datasources > Other screen.
There's nothing "derby" about it.
So, frankly, it seems pretty pointless and useless to me. If
someone can point me DIRECTLY to relevant information, I'd
appreciate it. I cannot believe in the year plus this product has
been out that NO ONE has done this, especially when it's commented
all
over the place that this is one of the things you can do, yet
there's nothing. Even searching for just "derby" on these forums
yields only three hits, none of which are relevant.>> Well it does actually *tell you* it won't create
them automatically when
> > you go to set the DSN as the client store. I
suppose one has to read what
> > it says on the screen, which I have to say I don't
bother doing a lot of
> > the time in CFAdmin because I "know" what the text
says. This very screen
> > has caught me out with that before. Just the first
time, though.
>
> Actually, it does not tell you. The SQL Server screen
presents you with a box
> that says "create tables" but this one does not.
It doesn't say - underneath the "Description" text area "Your
data source
requires you to manually create the necessary database tables
to store your
client variables. See the Online Help for details. "?
It does for me.
You have a most curious CF install, and I would be very
hesitant continuing
with it given what you say.
What OS are you running on? Do you still have your install
logs, and do
they reveal anything relevant?
Is this an install that was fresh 8.0 (or 8.0.1), or has it
been upgraded
from an earlier release?
> The ones you expect. And the tables are there and
created correctly as per
> <cfdbinfo> which matches the <cfdbinfo>
created by CF in SQL Server. Things
> like:
> CREATE TABLE CDATA (cfid char (64), app char (64), data
clob,)
> CREATE TABLE CGLOBAL (cfid char (64), data clob, lvisit
datetime)
> CREATE UNIQUE INDEX id1 ON CDATA(cfid, app)
> CREATE INDEX id2 ON CGLOBAL(cfid)
> CREATE INDEX id3 ON CGLOBAL(lvisit)
OK, that sounds about right. The only thing I did different
was to use
timestamp rather than datetime. I'm not sure if that's worth
a try.
Can you insert / update / delete manually to/from those?
> > What are the error messages?
> As I said, the only consistent one is an Apache 500
Server error
The inconsistent ones would probably be helpful to know about
too.
What goes into the CF logs when these errors are being
raised? Do the 500
errors give an stack trace info? I think 500 errors usually
don't, but
don't exactly recall.
> > That sounds wrong. I get " Data & Services >
Datasources > Apache Derby
> > Embedded" on all three servers I have at my
disposal currently (a mix of
> > CF8 multiserver, CF8 stand-alone), and the rest of
the screen is
> > Derby-specific. It sounds to me like your install
is bung. Are you saying
> > when you select "Apache Derby Embedded" you just
get the same screen you
> > would have had you selected "other"? Odd.
>
> Also, as I said, I do not get any Derby anything.
I'm finding your tone a bit tedious to be honest.
I asked for clarification because you weren't completely
clear in your
post, and I just wanted to make sure you were sure what you
were seeing
because it's somewhat unusual to be getting completely the
wrong screens in
CFAdmin. In all the CF servers I have had responsibility for,
I've not
seen this, so I just wanted to *make sure* I was reading you
right.
> "other" jdbc data source creation screen, In fact, I
even copied the
> derby-specific URL from the create link and pasted it
into the browser, and CF
> Admin redirected it to the generic jdbc. This happens on
all three CF servers I
> have access to (all running 8.0.1 standard).
Weird. How did you create the Derby DBs themselves? It's
usually one of
the options on the create DSN screen. Did you create them
manually or
using some other client tool?
> > I think your problem here is your attitude that
because *you* can't make
> > something work then automatically nor can anyone
else. That is seldom
> > going to be the case, surely (or you lead a very
charmed life). I always
> > find that when something doesn't work for me in CF
it's almost always my
> > fault.
>
> Thank you for your opinion. It's most helpful
When trying to solve a problem that's a result of something
you've done, I
find it easy to take the mindset that *you've* done something
wrong, not
[something else] has done something wrong. Once one starts
looking more
analytically at one's own actions, sometimes a flag comes up,
and there's a
bit of a "slap forehead" moment. However if it's
predetermined that
something else is at fault and one is just the victim of
circumstance, it's
difficult to progress.
It's just better to dispense with the hand-wringing and roll
up the sleeves
and get on with fixing it.
> should have somehow psychically determined. If you read
for comprehension
> you'll see that I said I can't believe no one had done
it.
Have you not found anyone reporting to have used the Derby
DB? I have to
say that I'd never used it before y/day, because I've got the
luxury of
having Oracle or SQL Server DBs at my disposal. However I do
know of other
organisations using Derby for their demo DBs, and have read a
few things
about its usage.
I don't think you should expect to hear people reporting back
"hey I am
using Derby to store my client variables", because I don't
think it's
really that report-worthy. How many people to you see
reporting back "I'm
using my Oracle DB to store client variables"? As "storing
client
variables in a DB" is such a mundane thing, people are only
going to report
on it if they have had problems with it. Maybe no-one's done
it (except
for me, as of y/day). Maybe no-one's had a problem with it. A
case in
point: I had no problems setting it up, so I have no further
need to report
anything to anyone about it because it's "job done, move on".
> As I said the first time and again above, and will
repeat again here: I can't
> find anywhere where someone said they've actually done
it.
I've *actually done it*. I told you this y/day, as soon as
you asked.
There you go. Can we move on now please?
I'm not actually sure you want help, but if you do, follow up
with those
error message and anything from the logs that are helpful. I
think you
just want to have a moan as to how you've been so put upon,
and if that's
the case, I think we're done here. It's up to you as to how
to proceed.
Adam
Maybe you are looking for
-
Can I use a Konica Minolta PagePro with my IMac?
I am a new IMac owner and would love to use this printer (already have it) - is it possible? The manufacturer does not have a work around for it to work with Macs. TIA
-
Snow Leopard and aftermarket HDD (won't install on WD3200)
I figured this out last night and thought I would post a word of caution. I have a Macbook with a WDC WD3200BEVT HDD. I had originally cloned my stock HDD to it and therefore never needed to go through a real install routine. When I tried installing
-
Can't install iTunes on my new Vista-PC
I bought my Dell Notebook 2 months ago. It's with Vista Home Premium (no upgrade from XP, Vista installed from the beginning) and runs fine so far. But I've got no chance installing iTunes - seems to be simply impossible (it tells something of "Visua
-
Burning/Toshiba/Satellite/Revisited/PLEASE HELP!!!!
I've tried this before, gonna try it again and see if I get anyone's attention. I own a Toshiba Satellite laptop. I am currently unable to burn audio cd's on to a CD-R disc. The error I keep receiving is 2131. Does anyone know if either Toshiba and/o
-
I regularly receive this error message when trying to save a file that already exists - that is to say, overwriting an existing file after modifying it: When it occurs I simply press CTRL+S and save it that way. I'd be grateful for any clues as it me