Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion Server Administration
Viewing all 78799 articles
Browse latest View live

Problem when sending messages with CFMAIL: SpoolLockTimeoutException

$
0
0

Hi all,

 

We're running CFMX 7 7,0,2,142559 on Windows 2003 Server, and have been experiencing the dreaded 'SpoollockTimeoutException' error.

 


An exception occurred when setting up mail server parameters.

This exception was caused by: coldfusion.mail.MailSessionException: An exception occurred when setting up mail server parameters..

coldfusion.mail.MailSpooler$SpoolLockTimeoutException: A timeout occurred while waiting for the lock on the mail spool directory.

 

 

The only "fix" has been to restart the ColdFusion service. Sometimes this resolves the problem for months at a time, othertimes it pops back up in just a matter of hours.

 

I've tracked this issue using the sysinternals.com Process Monitor, and the output when the problem exists is as follows:

 

3:15:55.8811675 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en_US.properties  
PATH NOT FOUND   

3:15:55.8815296 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\gateway\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en_US.prop erties  
PATH NOT FOUND   

3:15:55.8818991 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\wwwroot\WEB-INF\cfform\jars\coldfusion\mail\MailSpooler.SpoolLockTimeoutExce ption_en_US.properties  
PATH NOT FOUND   

3:15:55.8821369 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\java\classes\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en_US.pro perties  
PATH NOT FOUND   

3:15:55.8825311 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\servers\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en _US.properties  
PATH NOT FOUND   

3:15:55.8827757 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en_US.prop erties  
PATH NOT FOUND   

3:15:55.8831468 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en_US.properti es  
PATH NOT FOUND   

3:15:55.8833873 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\servers\coldfusion\coldfusion\mail\MailSpooler.SpoolLockTimeoutExcep tion_en_US.properties  
PATH NOT FOUND   

3:15:55.8836527 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\wwwroot\WEB-INF\classes\coldfusion\mail\MailSpooler.SpoolLockTimeoutExceptio n_en_US.properties  
PATH NOT FOUND   

3:15:55.8841173 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\servers\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en _US.properties  
PATH NOT FOUND   

3:15:55.8843907 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en_US.prop erties  
PATH NOT FOUND   

3:15:55.8855256 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en.properties  
PATH NOT FOUND   

3:15:55.8858246 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\gateway\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en.propert ies  
PATH NOT FOUND   

3:15:55.8862405 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\wwwroot\WEB-INF\cfform\jars\coldfusion\mail\MailSpooler.SpoolLockTimeoutExce ption_en.properties  
PATH NOT FOUND   

3:15:55.8864974 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\java\classes\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en.proper ties  
PATH NOT FOUND   

3:15:55.8869156 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\servers\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en .properties  
PATH NOT FOUND   

3:15:55.8873517 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en.propert ies  
PATH NOT FOUND   

3:15:55.8877510 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en.properties   
PATH NOT FOUND   

3:15:55.8880435 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\servers\coldfusion\coldfusion\mail\MailSpooler.SpoolLockTimeoutExcep tion_en.properties  
PATH NOT FOUND   

3:15:55.8883848 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\wwwroot\WEB-INF\classes\coldfusion\mail\MailSpooler.SpoolLockTimeoutExceptio n_en.properties  
PATH NOT FOUND   

3:15:55.8887977 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\servers\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en .properties  
PATH NOT FOUND   

3:15:55.8890417 PM    jrun.exe    996    QueryOpen  
X:\CFusionMX7\runtime\lib\coldfusion\mail\MailSpooler.SpoolLockTimeoutException_en.propert ies  
PATH NOT FOUND

 

 

Under normal circumstances it looks like this:

 

4:09:17.8085747 PM    jrun.exe    5916    QueryOpen  
X:\CFusionMX7\Mail\Spool    SUCCESS    CreationTime: 1/5/2010 1:15:00
PM, LastAccessTime: 1/14/2010 4:09:02 PM, LastWriteTime: 1/14/2010
4:09:02 PM, ChangeTime: 1/14/2010 4:09:02 PM, AllocationSize: 0,
EndOfFile: 0, FileAttributes: D

4:09:17.8089456 PM    jrun.exe    5916    CreateFile  
X:\CFusionMX7\Mail\Spool    SUCCESS    Desired Access: Read Data/List
Directory, Synchronize, Disposition: Open, Options: Directory,
Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write,
Delete, AllocationSize: n/a, OpenResult: Opened

4:09:17.8090310 PM    jrun.exe    5916    QueryDirectory    X:\CFusionMX7\Mail\Spool\*    SUCCESS    Filter: *, 1: .

4:09:17.8090999 PM    jrun.exe    5916    QueryDirectory    X:\CFusionMX7\Mail\Spool    SUCCESS    0: ..

4:09:17.8091327 PM    jrun.exe    5916    QueryDirectory    X:\CFusionMX7\Mail\Spool    NO MORE FILES   

4:09:17.8091535 PM    jrun.exe    5916    CloseFile    X:\CFusionMX7\Mail\Spool    SUCCESS   

4:09:23.1199809 PM    jrun.exe    5916    CreateFile  
X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS    Desired Access:
Generic Read/Write, Disposition: Create, Options: Synchronous IO
Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write,
AllocationSize: 0, OpenResult: Created

4:09:23.1202524 PM    jrun.exe    5916    CloseFile    X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS   

4:09:23.1207683 PM    jrun.exe    5916    CreateFile  
X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS    Desired Access:
Generic Write, Read Attributes, Disposition: OverwriteIf, Options:
Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode:
Read, Write, AllocationSize: 0, OpenResult: Overwritten

4:09:23.1212033 PM    jrun.exe    5916    CreateFile  
X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS    Desired Access:
None, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes:
N, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult:
Opened

4:09:23.1212759 PM    jrun.exe    5916    FileSystemControl  
X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS    Control:
FSCTL_CREATE_OR_GET_OBJECT_ID

4:09:23.1215152 PM    jrun.exe    5916    CloseFile    X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS   

4:09:23.1225639 PM    jrun.exe    5916    WriteFile  
X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS    Offset: 0,
Length: 718

4:09:23.1227925 PM    jrun.exe    5916    CloseFile    X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS   

4:09:23.1232382 PM    jrun.exe    5916    CreateFile  
X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS    Desired Access:
None, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes:
N, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult:
Opened

4:09:23.1248326 PM    jrun.exe    5916    FileSystemControl  
X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS    Control:
FSCTL_CREATE_OR_GET_OBJECT_ID

4:09:23.1250002 PM    jrun.exe    5916    CloseFile    X:\CFusionMX7\Mail\Spool\Mail18933.cfmail    SUCCESS   

 

 

The server in question has 600GB of free diskspace, so it's not a problem of low disk. This problem can occur whether we're sending 1 message or 5,000 messages. We've tried the hotfix, and it doesn't seem to change anything.

 

Any help is appreciated. I'm going nuts!

 

Leesha


CF Administrator Scheduled Tasks not working after upgrade to version 9

$
0
0

I am running Coldfusion 9 on Windows Server 2008. Before we upgraded to 9, the scheduled tasks in CF Administrator were working but since the upgrade they have stopped working.

 

I have a username and password and proxy server settings for this task.

The CFIDE, cfschedule and the sites are running Anonymous Authentication, Windows Authentication is disabled.

The url runs in the browser and when I run it manually in the Administrator I see a message saying that the task has run successfully but I am getting the following in my log file:

 

 

how to setup not start cf9 local server on PC startup of VISTA OS

$
0
0

how to setup not start cf9 local server on PC startup of VISTA OS...? How to startup it manualy later if I wanted to?

JVM Heap size settings

$
0
0

Recently I got a VPS server and I'm running Coldfusion, the website was running fine until it got more and more traffic and I started to encounter 'OutOfMemory' exceptions.

I thought simply to rise the memory of the VPS server, but this didn't help.

After doing some Google searches I found a setting in de CF Admin settings to set the JVM Heap memory. It was on the standard: Max Heap size 512MB and Min Heap size was empty. After playing around a bit I have now set it to Min 50MB and Max 200MB, good things is that I'm not getting the 'OutOfMemory' exceptions anymore. So far so good!

But with about 50 active visitors on the website, the website starts to get slow. The CPU usage is only about 8% (Windows Taskmanager), also the taskmanager show only about 30% of the 3GB RAM in use.

So I'm thinking that my values could be tweaked to use more of the RAM. Honestly I don't understand these JVM Memory heap settings, so I have no clue what is a good setting for me.

I found a CF script that displays the memory usage, the details are:

 

HeapMemoryUsage-Committed    194 MB 
HeapMemoryUsage-Initial  50.0 MB
HeapMemoryUsage-Max  194 MB
HeapMemoryUsage-Used     163 MB
JVM
-FreeMemory    31.2 MB
JVM
-MaxMemory     194 MB
JVM
-TotalMemory   194 MB
JVM
-UsedMemory    163 MB
MemoryPool-CodeCache-Used  13.0 MB
MemoryPool- PS EdenSpace-Used   6.75 MB
MemoryPool- PS OldGen-Used  155 MB
MemoryPool- PS PermGen-Used     64.2 MB
MemoryPool- PS SurvivorSpace-Used   1.07 MB
Non-HeapMemoryUsage-Committed    77.4 MB
Non-HeapMemoryUsage-Initial  18.3 MB
Non-HeapMemoryUsage-Max  240 MB
Non-HeapMemoryUsage-Used     77.2 MB
FreeAllocatedMemory:30mb
TotalMemoryAllocated:194mb
MaxMemoryAvailable to JVM:194mb
% of FreeAllocatedMemory:16%
% of AvailableMemoryAllocated:100%

 

My JVM arguments are:

-server -Dsun.io.useCanonCaches=false-XX:MaxPermSize=192m-XX:+UseParallelGC-     Dcoldfusion.rootDir={application.home}/../-Dcoldfusion.libPath={application.home}/../lib

Can I give the JVM more memory? If so, what settings should I use?

Thanks very much!!



Bug in Administrator / Scheduled Tasks

$
0
0

I get this error in the CF Administrator when trying to delete a scheduled tasks via the web interface:

 

 

The following task could not be found: <task name here - removed for privacy>.

 

The error occurred in scheduletasks.cfm: line 141

Called from scheduletasks.cfm: line 10
Called from scheduletasks.cfm: line 1

-1 : Unable to display error's location in a CFML template.

 

System info:

 

Windows Server 2008 64-bit

ColdFusion 10,0,8,283805

Tomcat 7.0.23.0

JRE 1.7.0_17

 

Any ideas?

Unstable session replication in a HA cluster (CF10)

$
0
0

Hi,

 

We have tried to create a HA cluster with requests being distributed round robin to N instances of coldfusion, we are NOT using sticky sessions as we are replication session state to all cf instances. What we are seing is that all is fine with low to moderate load, however under heavy load and at random times the replication fails and leads to things in session scope not working. This manifests in users not being able to login to our application (we store a token in session scope to store logged in status).

 

Again key point, under low to moderate load it all works fine, users are directed to random nodes in the cluster and their session is picked up fine as the session is distributed to all nodes,so pretty confident config is right.

 

Linux servers using CF10 with update 12 applied. Also running is fusion reactor 5.04 on all instances. Each instance has a 64GB heap, Java 7.0.15 (latest certified).

 

Firstly apache setup.

 

workers.properties


worker.list=balancer, jkstatus

worker.jkstatus.type=status

worker.balancer.type=lb

worker.balancer.balance_workers=cfusion_master,cfusion_slave2,cfusion_slave1

worker.balancer.method=R

worker.balancer.sticky_session=False

worker.balancer.ping_mode=A

worker.cfusion_master.type=ajp13

worker.cfusion_master.host=localhost

worker.cfusion_master.port=8012

worker.cfusion_master.max_reuse_connections=250

worker.cfusion_master.lbfactor=100

worker.cfusion_slave2.reference=worker.cfusion_master

worker.cfusion_slave2.port=8014

worker.cfusion_slave1.reference=worker.cfusion_master

worker.cfusion_slave1.port=8013

 

 

Now the server.xml from 2 nodes (as an example if I run a 2 node cluster)

 

One of the configs from a server in the cluster

 

<Server port="8007" shutdown="SHUTDOWN">

  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on">

  </Listener>

  <Listener className="org.apache.catalina.core.JasperListener">

  </Listener>

  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener">

  </Listener>

  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener">

  </Listener>

  <GlobalNamingResources>

    <Resource description="User database that can be updated and saved" name="UserDatabase" pathname="conf/tomcat-users.xml" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" type="org.apache.catalina.UserDatabase" auth="Container">

    </Resource>

  </GlobalNamingResources>

  <Service name="Catalina">

    <Executor name="tomcatThreadPool" minSpareThreads="4" maxThreads="150" namePrefix="catalina-exec-">

    </Executor>

    <Connector port="8012" protocol="AJP/1.3" connectionTimeout="600000" redirectPort="8445" tomcatAuthentication="false">

    </Connector>

    <Engine jvmRoute="cfusion" name="Catalina" defaultHost="localhost">

      <Realm className="org.apache.catalina.realm.LockOutRealm">

        <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase">

        </Realm>

      </Realm>

      <Host name="localhost" autoDeploy="false" unpackWARs="true" appBase="webapps">

        <Valve pattern="%h %l %u %t &quot;%r&quot; %s %b" directory="logs" prefix="localhost_access_log." className="org.apache.catalina.valves.AccessLogValve" suffix=".txt" resolveHosts="false">

        </Valve>

      </Host>

      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8">

        <Manager notifyListenersOnReplication="true" expireSessionsOnShutdown="false" className="org.apache.catalina.ha.session.DeltaManager">

        </Manager>

        <Channel className="org.apache.catalina.tribes.group.GroupChannel">

          <Membership port="45564" dropTime="3000" address="228.0.0.4" className="org.apache.catalina.tribes.membership.McastService" frequency="500">

          </Membership>

          <Receiver port="4001" autoBind="100" address="auto" selectorTimeout="5000" maxThreads="6" className="org.apache.catalina.tribes.transport.nio.NioReceiver">

          </Receiver>

          <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">

            <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender">

            </Transport>

          </Sender>

          <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector">

          </Interceptor>

          <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor">

          </Interceptor>

        </Channel>

        <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter="">

        </Valve>

        <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve">

        </Valve>

        <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener">

        </ClusterListener>

        <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener">

        </ClusterListener>

      </Cluster>

    </Engine>

    <Connector port="8499" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="20000" redirectPort="8443" executor="tomcatThreadPool">

    </Connector>

  </Service>

</Server>

 

Config from one of the other nodes

 

<Server port="8008" shutdown="SHUTDOWN">

  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on">

  </Listener>

  <Listener className="org.apache.catalina.core.JasperListener">

  </Listener>

  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener">

  </Listener>

  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener">

  </Listener>

  <GlobalNamingResources>

    <Resource description="User database that can be updated and saved" name="UserDatabase" pathname="conf/tomcat-users.xml" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" type="org.apache.catalina.UserDatabase" auth="Container">

    </Resource>

  </GlobalNamingResources>

  <Service name="Catalina">

    <Executor name="tomcatThreadPool" minSpareThreads="4" maxThreads="150" namePrefix="catalina-exec-">

    </Executor>

    <Connector port="8013" protocol="AJP/1.3" connectionTimeout="600000" redirectPort="8446" tomcatAuthentication="false">

    </Connector>

    <Engine jvmRoute="cfusion" name="Catalina" defaultHost="localhost">

      <Realm className="org.apache.catalina.realm.LockOutRealm">

        <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase">

        </Realm>

      </Realm>

      <Host name="localhost" autoDeploy="false" unpackWARs="true" appBase="webapps">

        <Valve pattern="%h %l %u %t &quot;%r&quot; %s %b" directory="logs" prefix="localhost_access_log." className="org.apache.catalina.valves.AccessLogValve" suffix=".txt" resolveHosts="false">

        </Valve>

      </Host>

      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8">

        <Manager notifyListenersOnReplication="true" expireSessionsOnShutdown="false" className="org.apache.catalina.ha.session.DeltaManager">

        </Manager>

        <Channel className="org.apache.catalina.tribes.group.GroupChannel">

          <Membership port="45564" dropTime="3000" address="228.0.0.4" className="org.apache.catalina.tribes.membership.McastService" frequency="500">

          </Membership>

          <Receiver port="4002" autoBind="100" address="auto" selectorTimeout="5000" maxThreads="6" className="org.apache.catalina.tribes.transport.nio.NioReceiver">

          </Receiver>

          <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">

            <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender">

            </Transport>

          </Sender>

          <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector">

          </Interceptor>

          <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor">

          </Interceptor>

        </Channel>

        <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter="">

        </Valve>

        <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve">

        </Valve>

        <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener">

        </ClusterListener>

        <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener">

        </ClusterListener>

      </Cluster>

    </Engine>

    <Connector port="8500" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="20000" redirectPort="8443" executor="tomcatThreadPool">

    </Connector>

  </Service>

</Server>

 

So what do i see in the logs?. Well sometimes I see exceptions like this

 

Mar 05, 2014 9:55:19 PM org.apache.catalina.ha.session.DeltaManager messageReceived

SEVERE: Manager [localhost#/]: Unable to receive message through TCP channel

java.lang.IllegalStateException: removeAttribute: Session already invalidated

          at org.apache.catalina.ha.session.DeltaSession.removeAttribute(DeltaSession.java:617)

          at org.apache.catalina.ha.session.DeltaRequest.execute(DeltaRequest.java:171)

          at org.apache.catalina.ha.session.DeltaManager.handleSESSION_DELTA(DeltaManager.java:1347)

          at org.apache.catalina.ha.session.DeltaManager.messageReceived(DeltaManager.java:1293)

          at org.apache.catalina.ha.session.DeltaManager.messageDataReceived(DeltaManager.java:1014)

          at org.apache.catalina.ha.session.ClusterSessionListener.messageReceived(ClusterSessionListe ner.java:92)

          at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:897)

          at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:878)

          at org.apache.catalina.tribes.group.GroupChannel.messageReceived(GroupChannel.java:278)

          at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelIntercepto rBase.java:84)

          at org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.messageReceived(TcpFailu reDetector.java:113)

          at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelIntercepto rBase.java:84)

          at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelIntercepto rBase.java:84)

          at org.apache.catalina.tribes.group.ChannelCoordinator.messageReceived(ChannelCoordinator.ja va:253)

          at org.apache.catalina.tribes.transport.ReceiverBase.messageDataReceived(ReceiverBase.java:2 87)

          at org.apache.catalina.tribes.transport.nio.NioReplicationTask.drainChannel(NioReplicationTa sk.java:212)

          at org.apache.catalina.tribes.transport.nio.NioReplicationTask.run(NioReplicationTask.java:1 01)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

          at java.lang.Thread.run(Thread.java:722)

 

I'm unsure why this happens as tribes uses certified mesaging so it should have resent right?, in any case I believe I can change it so messages are not sent asynchronously, should sort this out.

 

I see (good) messages like this

 

Mar 05, 2014 9:42:19 PM org.apache.catalina.ha.session.DeltaManager startInternal

INFO: Register manager localhost#/ to cluster element Engine with name Catalina

Mar 05, 2014 9:42:19 PM org.apache.catalina.ha.session.DeltaManager startInternal

INFO: Starting clustering manager at localhost#/

Mar 05, 2014 9:42:19 PM org.apache.catalina.ha.session.DeltaManager getAllClusterSessions

INFO: Manager [localhost#/], requesting session state from org.apache.catalina.tribes.membership.MemberImpl[tcp://{192, 168, 128, 50}:4001,{192, 168, 128, 50},4001, alive=68824148, securePort=-1, UDP Port=-1, id={123 126 89 39 96 -59 69 8 -113 79 51 122 25 108 -11 -110 }, payload={}, command={}, domain={}, ]. This operation will timeout if no session state has been received within 60 seconds.

Mar 05, 2014 9:42:20 PM org.apache.catalina.ha.session.DeltaManager waitForSendAllSessions

INFO: Manager [localhost#/]; session state send at 3/5/14 9:42 PM received in 929 ms.

Mar 05, 2014 9:42:20 PM org.apache.catalina.ha.session.JvmRouteBinderValve startInternal

INFO: JvmRouteBinderValve started

 

So session state dies appear to be flying around the cluster, I do nightly restarts of some of the nodes due to another issue I have with an ever growing heap (separate issue), interestingly I also see nodes leave and join the cluster, again this is good (shows the multicast is working, and also that replication should be working).

 

Mar 05, 2014 2:30:16 AM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared

INFO: Verification complete. Member disappeared[org.apache.catalina.tribes.membership.MemberImpl[tcp://{192, 168, 128, 50}:4001,{192, 168, 128, 50},4001, alive=18629101, securePort=-1, UDP Port=-1, id={-2 65 10 -79 53 -75 76 52 -99 63 -90 -120 34 -89 -14 100 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={}, ]]

Mar 05, 2014 2:30:16 AM org.apache.catalina.ha.tcp.SimpleTcpCluster memberDisappeared

INFO: Received member disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://{192, 168, 128, 50}:4001,{192, 168, 128, 50},4001, alive=18629101, securePort=-1, UDP Port=-1, id={-2 65 10 -79 53 -75 76 52 -99 63 -90 -120 34 -89 -14 100 }, payload={}, command={66 65 66 89 45 65 76 69 88 ...(9)}, domain={}, ]

Mar 05, 2014 2:35:16 AM org.apache.catalina.ha.tcp.SimpleTcpCluster memberAdded

INFO: Replication member added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{192, 168, 128, 50}:4001,{192, 168, 128, 50},4001, alive=1083, securePort=-1, UDP Port=-1, id={123 126 89 39 96 -59 69 8 -113 79 51 122 25 108 -11 -110 }, payload={}, command={}, domain={}, ]

 

So stuck now on how to proceed, to establish why at random times the replication fails, leading to cluster collapse. Could it be the size of the session?, I have a few CFCs stuffed into session scope, but perhaps when the load is high there is too many?. Things fail even with a cluster of 2 on one server, initially I had a 8 node cluster on 2 separate machines but when it failed it rolled it back to a cluster of 2 instances on the one server to see if that was stable (its not 100% which is what I need).

 

Any advice, points gratefully received.

Upgrade CF9 to CF11 w/IIS can't get to migration/configuration stage

$
0
0

I finally go approval to do my upgrade not as a stand alone, side-by-side upgrade which was requiring me to do a major hack that wasn't working due to our funky coding and security twists we have implemented in the code.

 

Unfortunately, when I do the upgrade/installation it installs, but I can't move on to the migration/configuration stage of the installation.  I can't see anything in the error logs.  Sometimes I'll get the 500.19 error message when I try to connect to the administrator myself, other times nothing.  When I get the HTTP Error 500.19 Internal Server Error it refers to the ApplicationHost.config or web.config file that contains malformed xml element.  When I look at the old web.config file it contains about 9 handlers that are using either jrun_iis6_wildcard.dll or jrun_iis6.dll.  I do have the IIS6 to IIS7 configuration selected in the new installation of CF11, but I can't move forward.  I want to just copy these 2 files from my CF9 installation, but I don't know where to put them.  I've even renamed the web.config file so that IIS would recreate it so it wouldn't be referring to the old CF9 web.config file and getting stuck there, which one error message once referred to these lines in the CF9 web.config file.  I understand that this question blurs the ColdFusion/IIS category boundaries.  I'm not sure where my error is lying, with IIS or CF11.  I want to just enter these handlers manually in IIS 7, but my boss seems to think we need to have wsconfig do that for us in case it is putting code elsewhere and we are missing configuration changes that really puts us in a spiral.  Thoughts/suggestions anyone?  I hope I was clear enough.

 

Another thing is that we have our CFIDE folder for CF9 located in a different directory, for security purposes I'm guessing, yet I can't figure out how CF is recognizing that it should go there to run.  In CF Administrator it is referring to a different folder for CFIDE that doesn't exist.  I have only seen one referrence to the correct location, and that was in the registry when I was ensuring CF11 references were deleted. CF9 had it there. I guess I'm wondering if there is a setting somewhere that i need to change so CF11 will look in the correct location and then run and go forward with the migration/configuration part of the instalation.  I can't find it in any of my searches that look for that foldername in the files.

 

I have inherited this project and there is very little documented regarding configuration changes that were done.

 

Thanks in advance!!

Jennifer

We have been hacked... appreciate any help...

$
0
0

Running CF Version  9,0,1,274733

 

One of our error reports showed:

 

----------------------------------------------------------------

Error Page: /CFIDE/beta.cfm

 

Query String: page=quickly

 

HTTP Referer: [removed for this post]/CFIDE/beta.cfm?page=quickly

 

Diagnostics: ColdFusion could not delete the file C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\session_log0.txt for an unknown reason.

 

----------------------------------------------------------------

 

This pointed us to that beta.cfm file that was somehow put into the CFIDE root.  No FTP access to that directory and they have cleared the CF logs so no real record of what might have been done.  Did find a few CF files that had been modified around the same time but nothing in them seemed out of the ordinary.  Have removed access to them for now to be safe.

 

Any suggestions on where to start to figure out how they got that file into the CFIDE root?  I do have the file (moved out of CFIDE) which I can supply but it's encrypted...

 

Appreciate any help.


cannot install hotfix from command line

$
0
0

I am running CF10 on a win2k8 r2 vm and trying to install  HF18,

I have the jar file in my hf-updates dir.

 

when I try to run java -jar hotfix_018.jar  from that directory I get a msg "Java" is not  recognized  as an internal or external command...

if I try and run it from jre/bin and provide the path to the jar file I get "unable to access jar file"

 

I have checked the permissions on the directories and I have full permissions on all directories and files.

 

I know some will ask if tried running it from within administrator, I am having issues with administrator but that is a separate issue

 

any suggestions on which direction I should go would be greatly appreciated.

CF11 Standard CFadmin display values for Request Tuning

$
0
0

Hi Folks,

 

When a Standard license is applied to CF installation the values displayed in CFadmin for Request Tuning do not

match what is defined in ColdFusion11\cfusion\lib\neo-runtime.xml

 

 

Why is there a discrepancy in CF11 Standard graphic display of CF runtime settings? EG Server Settings > Request Tuning >

Maximum number of simultaneous Template requests displays 400 when ColdFusion11\cfusion\lib\neo-runtime.xml value parameter says <var name='requestLimit'><number>25.0</number>

 

 

Work flow:

 

Before CF Standard key is applied display values match neo-runtime.xml

 

Capture1.PNG

 

CF currently without a license

 

Capture2.PNG

 

Install CF Standard license key

 

Capture3.PNG

 

No changes applied to CF settings Request Tuning now displays

 

Capture4.PNG

 

Thanks in advance, Carl.

coldfusion 11 error java.lang.OutOfMemoryError: Metaspace

$
0
0

a few times a day I am getting this error - how do I fix it?

Assign web site to existing instance *without* restarting IIS

$
0
0

Hello,

 

I need to bind an existing website (which up to this point did not have any CF files) to an existing ColdFusion instance.

I know how to do that, however, I can't afford to restart the entire web server for the changes to take effect.

There are over 50 websites that can't go down just because one website needs to be added to a CF instance.

My question: is it possible to add an existing website to an (existing) ColdFusion instance without restarting the web server?

 

Environment:

 

IIS 7

ColdFusion 9 Enterprise

Windows Server 2008 64-bit

At least one JAR was scanned for TLDs yet contained no TLDs warning in the log files

$
0
0

Good morning, I am seeing this warning on all instances of ColdFusion on one of our servers. It was patched to Update 7 this morning and those entries were not there before.

 

Below you will find the excerpts from coldfusion-error.log file before Update 7 was installed and after (I have skipped some lines that show stopping logs for easier readability). After seeing this warning, I did some research that suggested turning on TldLocationsCache logs, which I did by uncommenting this line:


org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE


in:

${catalina.home}/conf/logging.properties file

 

However, I don't know where to find these logs; they are not in coldfusion-error.log or the coldfusion-out.log files. Can someone point me in the right direction finding those logs? Thank you

 

Original log file (Nov 12 - last run before Update 7 was installed, Nov 23 Update 7 was installed):

Nov 12, 2015 10:51:30 AM org.apache.catalina.core.AprLifecycleListener init

INFO: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.

Nov 12, 2015 10:51:30 AM org.apache.catalina.core.AprLifecycleListener init

INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

Nov 12, 2015 10:51:32 AM org.apache.catalina.core.AprLifecycleListener initializeSSL

INFO: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)

Nov 12, 2015 10:51:33 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["http-apr-8699"]

Nov 12, 2015 10:51:33 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["ajp-apr-8099"]

Nov 12, 2015 10:51:33 AM org.apache.catalina.core.StandardService startInternal

INFO: Starting service Catalina

Nov 12, 2015 10:51:33 AM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.54

Nov 12, 2015 10:51:39 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom

INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [109] milliseconds.

Nov 12, 2015 10:51:40 AM org.apache.catalina.core.ApplicationContext log

INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services

Nov 12, 2015 10:51:40 AM org.apache.catalina.core.ApplicationContext log

INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.60-b23

Nov 12, 2015 10:51:59 AM org.eclipse.jetty.util.log.JavaUtilLog info

INFO: jetty-9.0.7.v20131107

Nov 12, 2015 10:51:59 AM org.eclipse.jetty.util.log.JavaUtilLog info

INFO: Started o.e.j.s.ServletContextHandler@617d2d63{/,null,AVAILABLE}

Nov 12, 2015 10:51:59 AM org.eclipse.jetty.util.log.JavaUtilLog info

INFO: Started ServerConnector@54144f4a{HTTP/1.1}{0.0.0.0:5517}

Nov 12, 2015 10:52:01 AM org.apache.catalina.core.ApplicationContext log

INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646

Nov 12, 2015 10:52:16 AM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor G:\ColdFusion11\INSTANCENAME\runtime\conf\Catalina\localhost\custom-cfscripts.xml

Nov 12, 2015 10:52:17 AM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deployment of configuration descriptor G:\ColdFusion11\INSTANCENAME\runtime\conf\Catalina\localhost\custom-cfscripts.xml has finished in 454 ms

Nov 12, 2015 10:52:17 AM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["http-apr-8699"]

Nov 12, 2015 10:52:17 AM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["ajp-apr-8099"]

Nov 12, 2015 10:52:17 AM com.adobe.coldfusion.launcher.Launcher run

INFO: Server startup in 48151 ms

Nov 23, 2015 7:10:24 AM org.apache.catalina.core.StandardServer await

INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.

... (skipped some line in the log file here for better readability)

Nov 23, 2015 7:59:06 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

INFO: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.

Nov 23, 2015 7:59:06 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

Nov 23, 2015 7:59:07 AM org.apache.catalina.core.AprLifecycleListener initializeSSL

INFO: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)

Nov 23, 2015 7:59:08 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["http-apr-8699"]

Nov 23, 2015 7:59:08 AM org.apache.coyote.AbstractProtocol init

INFO: Initializing ProtocolHandler ["ajp-apr-8099"]

Nov 23, 2015 7:59:08 AM org.apache.catalina.core.StandardService startInternal

INFO: Starting service Catalina

Nov 23, 2015 7:59:08 AM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.64

Nov 23, 2015 7:59:14 AM org.apache.catalina.startup.TldConfig execute

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

Nov 23, 2015 7:59:15 AM org.apache.catalina.core.ApplicationContext log

INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services

Nov 23, 2015 7:59:15 AM org.apache.catalina.core.ApplicationContext log

INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.66-b18

Nov 23, 2015 7:59:32 AM org.eclipse.jetty.util.log.JavaUtilLog info

INFO: jetty-9.0.7.v20131107

Nov 23, 2015 7:59:32 AM org.eclipse.jetty.util.log.JavaUtilLog info

INFO: Started o.e.j.s.ServletContextHandler@40e1a832{/,null,AVAILABLE}

Nov 23, 2015 7:59:32 AM org.eclipse.jetty.util.log.JavaUtilLog info

INFO: Started ServerConnector@419f3f{HTTP/1.1}{0.0.0.0:5517}

Nov 23, 2015 7:59:35 AM org.apache.catalina.core.ApplicationContext log

INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646

Nov 23, 2015 7:59:58 AM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor G:\ColdFusion11\INSTANCENAME\runtime\conf\Catalina\localhost\custom-cfscripts.xml

Nov 23, 2015 7:59:59 AM org.apache.catalina.startup.TldConfig execute

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

Nov 23, 2015 8:00:00 AM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deployment of configuration descriptor G:\ColdFusion11\INSTANCENAME\runtime\conf\Catalina\localhost\custom-cfscripts.xml has finished in 1,333 ms

Nov 23, 2015 8:00:00 AM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["http-apr-8699"]

Nov 23, 2015 8:00:00 AM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["ajp-apr-8099"]

Nov 23, 2015 8:00:00 AM com.adobe.coldfusion.launcher.Launcher run

INFO: Server startup in 57486 ms

No "Coldfusion Archives" option in Packaging and Deployment

$
0
0
I have little or no experience with ColdFusion MX 7, so it's very likely I've overlooked a simple toggle somewhere.

I need to make a full backup of an entire server's worth of websites to a .CAR file, then restore it to a new server that is also running CF MX 7 Standard. The servers in question are 2003 SP1 running IIS 6.

When I go into the Administration website (signed on as the CF Admin), I should see an option under Packaging and Deployment called "Coldfusion Archives", but all I see is the J2EE Archives (.ear/.war) option.

Do I not have a module installed that I need? I didn't set the server up, so they might have skipped that.

Also, does anyone have a link to a tutorial on migrating entire sites or groups of sites from one machine to another? I'm playing it by ear right now but it'd be nice to have something to refer to. I'd search for it, but all my searches are coming back with garbage, as I'm guessing I'm not using the right search terms. "coldfusion mx 7 site migration" isn't yielding much"

Thanks,
Jason

adding a website in IIS

$
0
0
I'm running a CF MX 6 installation on a win2000 server. I have added a new website to the server but I can not seem to get CF to parse the pages. How to I get IIS to push all the CFM files to my CF MX server?

Thanks,
Wayne

SQL Server 2000 - Windows Auth

$
0
0
We have a new install of MX 7.01 and are getting the following message creating a CF datasource to SQL SRV 2000 using Windows Authentication. We get the following error:
Connection verification failed for data source: AccessRequest
java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Could not establish a connection using integrated security: No LoginModules configured for JDBC_DRIVER_01
The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Could not establish a connection using integrated security: No LoginModules configured for JDBC_DRIVER_01

I found these 3 items that look to be applicable - upgrading the JDBC drivers - but I am a little tentative to install them. We have another server that we built and did not have to do this. I am assuming we should use the AdobeJDBC 3.5 upgrade?...

Anyone?
Thanks. Larry.

How to set the java class path in a JEE installation of Coldfusion 11

$
0
0

We are working on getting ColdFusion 11 to work with JBOSS EAP6.3, as a JEE/J2EE installation. The Coldfusion 11 has a CF Server Java Class Path and a Java Class Path. How can the Java Class Path be configured in this setup?  Setting the JVM classpath with the -cp option appears to update the CF Server Java Class Path..

How to increase the maximum number of request to Coldfusion10 page.

$
0
0

Hi,

We are using Enterprise version of Coldfusion10 with 3 instance.

A maximum of 100 users is able to access the application with a little bit of slowness after which either the subsequent request hangs or becomes very slow until the requests of the first 100 users is completed and then the page loads.

 

I would like to know how to increase the maximum number of simultaneous concurrent requests for a 64-bit coldfusion10 instance with a hardware specification of 8 virtual cores and 16GB RAM with 6GB RAM allocated for the JVM Heap size.

 

Thanks,

Karthikeyan K

Coldfusion Clock 4hours Over

$
0
0
I have been doing lots of research regarding this issue I am currently experiencing. Now() function keeps reporting time, four hours over our local current time. I have applied the DST patches evident in my system information however running the DSTDates function still list DST as off. Strange of all, it appears it is list GMT time as opposed to EST time. Can someone point to me what I could possibly be doing wrong?

System Information
Server Details
Server Product
ColdFusion MX

Version
6,1,0,63958

Edition
Enterprise

Operating System
Windows 2000

OS Version
5.0

JVM Details
Java Version
1.4.2_11

Java Vendor
Sun Microsystems Inc.

Java Vendor URL
http://java.sun.com/

Java Home
C:\j2sdk1.4.2_11\jre

File Separator
\

Path Separator
;

Line Separator
Chr(13)

User Name
SYSTEM

User Home
C:\Documents and Settings\Shezoo

User Dir
E:\JRun4\bin

Java VM Specification Version
1.0

Java VM Specification Vendor
Sun Microsystems Inc.

Java VM Specification Name
Java Virtual Machine Specification

Java VM Version
1.4.2_11-b06

Java VM Vendor
Sun Microsystems Inc.

Java VM Name
Java HotSpot(TM) Server VM

Java Specification Version
1.4

Java Specification Vendor
Sun Microsystems Inc.

Java Specification Name
Java Platform API Specification

Java Class Version
48.0

Java Class Path
E:\JRun4\servers\lib; E:\JRun4\servers\lib\ActivSpell2.jar; E:\JRun4\servers\lib\commons-dbcp-1.2.1.jar; E:\JRun4\servers\lib\commons-pool-1.2.jar; E:\JRun4\servers\lib\cronservice.jar; E:\JRun4\servers\lib\msbase.jar; E:\JRun4\servers\lib\mssqlserver.jar; E:\JRun4\servers\lib\msutil.jar; E:\JRun4\servers\lib\pbclient42RE.jar; E:\JRun4\servers\lib\pbserver42RE.jar; E:\JRun4\servers\lib\pointbase-service.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\cfusion.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\bcel.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\cf4was.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\cf4was_ae.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\cfmx-j2ee.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\cfmx-ssl.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\cfusion.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\collections.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\crimson.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\flashgateway.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\httpclient.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\izmado.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\jakarta-oro-2.0.6.ja r; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\java2wsdl.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\jaxp-api.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\jdom.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\jintegra.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\ldap.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\ldapbp.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\log4j.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\macromedia_drivers.j ar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\mail.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\msapps.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\NetComponents.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\pbclient42RE.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\pbembedded42RE.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\pbserver42RE.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\pbtools42RE.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\tools.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\tt-bytecode.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\webcharts.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\webchartsJava2D.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\webservices.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\wsdl2java.jar; E:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\xalan.jar; E:\JRun4\lib\jrun.jar; E:\JRun4\lib; E:\JRun4\lib\instutil.jar; E:\JRun4\lib\java2wsdl.jar; E:\JRun4\lib\jrun-ant-tasks.jar; E:\JRun4\lib\jrun-xdoclet.jar; E:\JRun4\lib\jrun.jar; E:\JRun4\lib\jrunwizard-installer.jar; E:\JRun4\lib\jrunwizard.jar; E:\JRun4\lib\jspc.jar; E:\JRun4\lib\macromedia_drivers.jar; E:\JRun4\lib\migrate.jar; E:\JRun4\lib\oem-xdoclet.jar; E:\JRun4\lib\sniffer.jar; E:\JRun4\lib\webservices.jar; E:\JRun4\lib\wsconfig.jar; E:\JRun4\lib\wsdl2java.jar; E:\JRun4\lib\xmlscript.jar; E:\JRun4\lib\jrun.jar

Java Ext Dirs
C:\j2sdk1.4.2_11\jre\lib\ext

Today March 11
(New DST Start) Apri1
(Old DST Start) October 28
(Old DST End) November 4
(New DST End)
Dates 04/10/2007
8:16:47 PM GMT 03/11/2007
3:00:00 AM GMT 04/01/2007
3:00:00 AM GMT 10/28/2007
3:00:00 AM GMT 11/04/2007
3:00:00 AM GMT
DST ON No No No No No

Java System Property Information
Vendor: Sun Microsystems Inc.
JVM Version: 1.4.2_11-b06
Full JVM:
Java Home: C:\j2sdk1.4.2_11\jre
OS: Windows 2000
OS Arch: x86

ColdFusion Time Zone Information
DST On: NO
UTC Hour Offset: 0
UTC Minute Offset: 0
UTC Total Offset: 0



SSL problem when running Apache httpclient in Jrun and not in stand-alone Java

$
0
0

We are using the Apache httpclient 4.1.2 to post to an external server, using SSL. The post works fine when running it from the Java JRE , but when the code runs under a JRUN/Colfusion instance that uses the same Java JRE the error message returned is:

 

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

      at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)

      at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)

.......

 

When debugging the connect using the -Djavax.net.debug=all setting, the error message shown internally is:

 

java.lang.RuntimeException: Could not generate secret

 

Is there some weird ColdFUsion setting we need to undo to make this work? We installed the cert from the other server in the /rje/lib/sercurity/cacerts file but that did not make a difference. Why does standalone java work and not Jrun?

 

The JDK version is 1.6.0_24-b07

Coldfusion: 9,0,1,274733 

Viewing all 78799 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>