Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment of FDstore example with AS4 store failed on EKS when docker image is built using installation home #143

Closed
jgirase opened this issue Dec 4, 2020 · 3 comments · Fixed by #138
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jgirase
Copy link

jgirase commented Dec 4, 2020

Steps:
1.Build image of FDStore example with configuration Ignite cluster provider + Ignite cache + AS4 store using existing installation home.
2.Push the image to ECR and perform required AS4 grid setup
3.Deploy the application using helm chart.
4.Check cache/inference pod logs, it shows below exception,
Its looking for file dbkeywordmap.xml which is not present inside docker image when built using installation.
Exception:
2020 Dec 04 12:18:04.666 GMT Z fdstoreas4-ignite-becacheagent-0 INFO [main] - [as.store] Successfully connected to ActiveSpaces Store with Realm URL http://ftlservers.asdg.svc.cluster.local:30080
2020 Dec 04 12:18:04.669 GMT Z fdstoreas4-ignite-becacheagent-0 FATAL [main] - [as.store] ActiveSpaces BackingStore initialization failed.
java.lang.RuntimeException: Cannot process keyword map file : /opt/tibco/be/6.1/bin/dbkeywordmap.xml
at com.tibco.be.as.store.ASStoreStartupHelper.loadKeywordMap(ASStoreStartupHelper.java:168)
at com.tibco.be.as.store.ASStoreStartupHelper.init(ASStoreStartupHelper.java:114)
at com.tibco.be.as.store.ActiveSpacesStore.initialize(ActiveSpacesStore.java:160)
at com.tibco.be.as.store.ActiveSpacesStore.(ActiveSpacesStore.java:104)
at com.tibco.be.as.store.ActiveSpacesStoreProvider.(ActiveSpacesStoreProvider.java:44)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.tibco.cep.runtime.service.store.StoreProviderFactory.getStoreProvider(StoreProviderFactory.java:40)
at com.tibco.cep.ignite.store.IgniteStoreProvider.init(IgniteStoreProvider.java:97)
at com.tibco.cep.runtime.service.store.ProxyDaoProvider.initHook(ProxyDaoProvider.java:107)
at com.tibco.cep.runtime.service.om.impl.AbstractDaoProvider.init(AbstractDaoProvider.java:83)
at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.init(MultiAgentCluster.java:166)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServiceProviderImpl.java:839)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:318)
at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:167)
at com.tibco.cep.container.standalone.BEMain.main(SourceFile:71)
Caused by: java.io.FileNotFoundException: /opt/tibco/be/6.1/bin/dbkeywordmap.xml (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at java.base/java.io.FileInputStream.(FileInputStream.java:112)
at com.tibco.be.as.store.ASStoreStartupHelper.loadKeywordMap(ASStoreStartupHelper.java:144)
... 17 more

Note: Same works fine on premise/local setup.

@nareshkumarthota
Copy link
Collaborator

fix is available in branch docker-scripts-improvements

@nareshkumarthota nareshkumarthota linked a pull request Dec 8, 2020 that will close this issue
@rameshpolishetti rameshpolishetti added this to the 6.1.0 milestone Dec 9, 2020
@rameshpolishetti rameshpolishetti added the bug Something isn't working label Dec 9, 2020
@jgirase
Copy link
Author

jgirase commented Dec 9, 2020

Verified it with branch docker-scripts-improvements
Find attached logs for reference.
fdstore_as4_ignite_logs.zip

@jgirase
Copy link
Author

jgirase commented Dec 10, 2020

already verified so closing it

@jgirase jgirase closed this as completed Dec 10, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants