• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Service Directory and Modules Directory not found when instance is created in the cluster

New Here ,
Nov 19, 2024 Nov 19, 2024

Copy link to clipboard

Copied

Hi everyone,


I using CF Enterprise edition on windows server. 
i have created a instance using the dashboard and when i start that instance i see this error in the coldfusion-out.log file 


There is already a Contentinstance1 running in the contentinstance cluster and i am trying to launch a new instance called "contentinstance2" add it to the cluster 

I have created config for each site selecting the content instance cluster ( using the CF Web config tool )

Just trying to as much information as possible , : )
I am new to this and any help is much appreciated.

thanks,

Nov 19, 2024 04:36:27 AM Information [main] - No services directory was found under C:\CF2021\ContentInstance2\wwwroot\WEB-INF.
Nov 19, 2024 04:36:27 AM Information [main] - No modules directory was found under C:\CF2021\ContentInstance2\wwwroot\WEB-INF.

 

TOPICS
Server administration

Views

222

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 19, 2024 Nov 19, 2024

Copy link to clipboard

Copied

That is not a cf error I've ever seen before, and I've created hundreds of cf instances and clusters. From looking into those, they're reported outside the cf community as being errors related to axis2, and while the cf web services feature has supported that since cf10, I don't find either a "modules" or "services" folder within any cf instances, as is indicated in axis2 docs that mention those.

 

I'm wondering if you're seeing this error in cf's logs, or perhaps in your OS or web server (apache?) logs. Can you clarify? Do you use anything else that runs web services? 

 

I'm the meantime, perhaps someone else will have more thoughts for you. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 19, 2024 Nov 19, 2024

Copy link to clipboard

Copied

I am seeing them in Cold fusion out log file 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

Ok. The next thought I have is to ask 1) whether you have a module or services folder within the existing contentInstance1 you refer to, as C:\CF2021\ContentInstance1\wwwroot\WEB-INF?  And 2) what about your C:\CF2021\cfusion\wwwroot\WEB-INF, since that's used by cf as the template to create a new instance?

 

Again, I do not have those two folders under WEB-INF. If you do, then our next step would seem to be to find why it is that you do, if it's atypical. 3) To start, did you create the first instance or did someone else? And how long ago? 

 

Finally, 4) can you clarify what cf version you're running?  And how long have you been running it?

 

Sorry if these seem obtuse questions. Again, it seems an unusual situation, otherwise if be offering answers instead. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

1. Yes , I have module and services folders within the contentinstance 1
2. Yes, even the CFusion folder has those folders ( module and services )
3.Someone else did create the first instance that too looong back ( approx 1 year back ) 
4.I am using Coldfusion 2021 Enterprise edition Java version 11.0.22 on windows server 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

I'm out of ideas, myself. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

I agree with Charlie that those are not typical ColdFusion errors. They seem to be web service configuration errors. Could you share the entire error message?

 

Do you have any third-party Axis or web service Jar files? What happens when you manually create the directories C:\CF2021\ContentInstance2\wwwroot\WEB-INF\services and C:\CF2021\ContentInstance2\wwwroot\WEB-INF\modules, then restart the instance?

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

I sincerely apologize for the confusion earlier @Charlie Arehart . Upon reviewing, I realize there are no folders named "modules" or "services" in either the CF Fusion instance or in Content Instance 1 or 2.

This was a significant oversight on my part, and I deeply regret the misunderstanding caused. 

The foldes that are in the Contentinstance2/wwwroot/WEB-INF/ are : ( same in all other instance folder too ) 
Attachments, cfclasses, cfform, cftags, classes, config, debug, exception, lib, rest-skeletons, saml 

and other files like axis2.xml,web.xml etc......

and @BKBK , Here is the error log from coldfusion-out.log file :

"Severity","ThreadID","Date","Time","Application","Message"
Nov 19, 2024 04:36:16 AM Information [main] - Starting logging...
Nov 19, 2024 04:36:17 AM Information [main] - Starting license...
Nov 19, 2024 04:36:18 AM Information [main] - Enterprise Edition enabled
Nov 19, 2024 04:36:18 AM Information [main] - Starting crypto...
Nov 19, 2024 04:36:19 AM Information [main] - Installed JSafe JCE provider: Version 6.21 Crypto-J 6.2.1, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, 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, HMACDRBG, HASHDRBG, CTRDRBG, FIPS186PRNG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)
Nov 19, 2024 04:36:19 AM Information [main] - Starting security...
Nov 19, 2024 04:36:19 AM Information [main] - Starting scheduler...
Nov 19, 2024 04:36:19 AM Information [main] - Starting WatchService...
Nov 19, 2024 04:36:19 AM Information [main] - Starting runtime...
Nov 19, 2024 04:36:23 AM Information [main] - Starting client...
Nov 19, 2024 04:36:23 AM Information [main] - Starting archive...
Nov 19, 2024 04:36:23 AM Information [main] - Starting CloudConfig...
Nov 19, 2024 04:36:23 AM Information [main] - Starting VendorCredential...
Nov 19, 2024 04:36:23 AM Information [main] - Starting rest...
Nov 19, 2024 04:36:23 AM Information [main] - Starting registry...
Nov 19, 2024 04:36:23 AM Information [main] - Package adminapi started...
Nov 19, 2024 04:36:23 AM Information [main] - Package administrator started...
Nov 19, 2024 04:36:23 AM Information [main] - redissessionstorage package will not be deployed as it is not installed.
Nov 19, 2024 04:36:23 AM Information [main] - Package debugger started...
Nov 19, 2024 04:36:23 AM Information [main] - Package zip started...
Nov 19, 2024 04:36:23 AM Information [main] - Package image started...
Nov 19, 2024 04:36:23 AM Information [main] - Package caching started...
Nov 19, 2024 04:36:23 AM Information [main] - cfmongodb package will not be deployed as it is not installed.
Nov 19, 2024 04:36:23 AM Information [main] - Package mail started...
Nov 19, 2024 04:36:23 AM Information [main] - Package spreadsheet started...
Nov 19, 2024 04:36:24 AM Information [main] - Package axis started...
Nov 19, 2024 04:36:24 AM Information [main] - Package chart started...
Nov 19, 2024 04:36:24 AM Information [main] - Package feed started...
Nov 19, 2024 04:36:24 AM Information [main] - Package print started...
Nov 19, 2024 04:36:24 AM Information [main] - Package search started...
Nov 19, 2024 04:36:24 AM Information [main] - Package document started...
Nov 19, 2024 04:36:24 AM Information [main] - Package presentation started...
Nov 19, 2024 04:36:24 AM Information [main] - Package eventgateways started...
Nov 19, 2024 04:36:24 AM Information [main] - Event Gateway Disabled.
Nov 19, 2024 04:36:24 AM Information [main] - dotnet package will not be deployed as it is not installed.
Nov 19, 2024 04:36:24 AM Information [main] - pmtagent package will not be deployed as it is not installed.
Nov 19, 2024 04:36:24 AM Information [main] - Package htmltopdf started...
Nov 19, 2024 04:36:24 AM Information [main] - Package awslambda started...
Nov 19, 2024 04:36:24 AM Information [main] - Package com started...
Nov 19, 2024 04:36:24 AM Information [main] - Package saml started...
Nov 19, 2024 04:36:24 AM Information [Thread-56] - PDFg service manager http://127.0.0.1:8993/PDFgServlet/ registered.
Nov 19, 2024 04:36:24 AM Information [main] - Package awss3 started...
Nov 19, 2024 04:36:25 AM Information [main] - Package awss3legacy started...
Nov 19, 2024 04:36:25 AM Information [main] - azureblob package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - Package pdf started...
Nov 19, 2024 04:36:25 AM Information [main] - Package websocket started...
Nov 19, 2024 04:36:25 AM Information [main] - orm package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - ormsearch package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - Package ajax started...
Nov 19, 2024 04:36:25 AM Information [main] - derby package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - oracle package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - Package mysql started...
Nov 19, 2024 04:36:25 AM Information [main] - db2 package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - sybase package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - postgresql package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - Package sqlserver started...
Nov 19, 2024 04:36:25 AM Information [main] - odbc package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - Starting sql...
Nov 19, 2024 04:36:25 AM Information [main] - Package scheduler started...
Nov 19, 2024 04:36:25 AM Information [main] - Package ftp started...
Nov 19, 2024 04:36:25 AM Information [main] - Package awssqs started...
Nov 19, 2024 04:36:25 AM Information [main] - Package awssns started...
Nov 19, 2024 04:36:25 AM Information [main] - azureservicebus package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - awsdynamodb package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - Package report started...
Nov 19, 2024 04:36:25 AM Information [main] - exchange package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - sharepoint package will not be deployed as it is not installed.
Nov 19, 2024 04:36:25 AM Information [main] - ColdFusion started
Nov 19, 2024 04:36:25 AM Information [main] - ColdFusion: application services are now available
Nov 19, 2024 04:36:26 AM Warning [main] - Unable to determine dialect of the StAX implementation at jar:file:/C:/CF2021/ContentInstance2/lib/bundleaxis/wstx-asl-3.2.9.jar!/
Nov 19, 2024 04:36:27 AM Information [main] - Clustering has been disabled
Nov 19, 2024 04:36:27 AM Information [main] - No services directory was found under C:\CF2021\ContentInstance2\wwwroot\WEB-INF.
Nov 19, 2024 04:36:27 AM Information [main] - No modules directory was found under C:\CF2021\ContentInstance2\wwwroot\WEB-INF.
Nov 19, 2024 04:37:07 AM Information [Thread-59] - ColdFusion stopped



Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

LATEST

Thanks for the update. It makes me change my mind. I no longer think that the messages indicate an error. What makes me change my mind is the fact that you get the messages when ColdFusion starts or stops. Therefore the messages could be related to ColdFusion's package management.

 

You probably missed my last suggestion. I hope it will give us a clue: what happens when you manually create the directories C:\CF2021\ContentInstance2\wwwroot\WEB-INF\services and C:\CF2021\ContentInstance2\wwwroot\WEB-INF\modules, and then restart the ColdFusion instance?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation