Skip to main content
Solved

How / When is deployed Java code in projections?


InfFilipV
Hero (Partner)
Forum|alt.badge.img+12

Hi,
how or when is deployed Java code in projections?
Is only way (except of running local Docker/Kubernates) to develop Java actions/functions develop it on TOP environment and recreate it before each test?

Is there some other option to deploy these files to running instance - when they are already build locally?

Or is here some automatic job what import it after commit/push? Or import on start of environment?

 

Thanks

BR

Best answer by hamalk

@InfFilipV  It does deploy into the DB you have configured in the project. 

  1. FND_JAVA_IMPL_LIBS_TAB - used to store 3^rd^ party library jars and util.jars

  2. FND_JAVA_IMPLEMENTATIONS_TAB - used to store fragment and projection jars

Once deployed just go to DB and check whether these JARS have got updated. 

/Harshini

View original
Did this topic help you find an answer to your question?

11 replies

hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 226 replies
  • September 16, 2022

Hi @InfFilipV 

It’s alsways good to debug your changes and see before directly commiting the code.

https://docs.ifs.com/techdocs/22r2/060_development/050_development_tools/002_developer_studio/030_reference/600_java_debugger/

https://docs.ifs.com/techdocs/22r2/060_development/050_development_tools/002_developer_studio/020_project_setup/080_technologies/

Also you can deploy the java impl JAR files into respective database and test.

 

/Harshini


InfFilipV
Hero (Partner)
Forum|alt.badge.img+12
  • Author
  • Hero (Partner)
  • 202 replies
  • September 16, 2022

Hi @hamalk,
thanks for quick answer.

I thought that this deploy RMB deploy it only to local docker/kubernates instance and not to running environment.

Does it really deploy it to DB / instance?

Or is for consultant test required to push it to repository and recreate TOP environment?

BR


hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 226 replies
  • Answer
  • September 16, 2022

@InfFilipV  It does deploy into the DB you have configured in the project. 

  1. FND_JAVA_IMPL_LIBS_TAB - used to store 3^rd^ party library jars and util.jars

  2. FND_JAVA_IMPLEMENTATIONS_TAB - used to store fragment and projection jars

Once deployed just go to DB and check whether these JARS have got updated. 

/Harshini


InfFilipV
Hero (Partner)
Forum|alt.badge.img+12
  • Author
  • Hero (Partner)
  • 202 replies
  • September 21, 2022

Hi @hamalk,
should be changes visible immediately? Or some cache refresh is required?
Currently, to our changes starts works we have to wait to next day.

Thanks


hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 226 replies
  • September 22, 2022

@InfFilipV  when you deploy to database these changes should get reflected in DB immediately. No need to wait until the next day.

Any thoughts @kosala , @chanaka-shanil ??


chanaka-shanil
Superhero (Employee)
Forum|alt.badge.img+15
  • Superhero (Employee)
  • 165 replies
  • September 23, 2022

@InfFilipV if you have manually deployed the changes into the topic environment, and you are using that environment’s middle-tier for testing, then you need to restart the ODP container in the topic environment. 


InfFilipV
Hero (Partner)
Forum|alt.badge.img+12
  • Author
  • Hero (Partner)
  • 202 replies
  • September 23, 2022

Hi @chanaka-shanil,
How? In BuildPlace I have access only to application, I can stop/start environment and I can delete and recreate environment.
I do not know about any functionality to restart some Docker container.
When APP server stuck, only way to solve it is delete and recreate whole environment.

Is there some in-app way how to restart it?

What about some projection caches - is not enough refresh them? (I do not remember well usage, is something like: …/main/ifsapplications/projection/ClearCache?METHOD=CLEAR_PROJECTION_CACHE&VALUE=* and …/main/ifsapplications/web/server/clearmetadatacache )

BR


InfFilipV
Hero (Partner)
Forum|alt.badge.img+12
  • Author
  • Hero (Partner)
  • 202 replies
  • October 3, 2022

Hi @chanaka-shanil , @hamalk,
do you know how to do restart of ODP container?

 

BR


Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 20 replies
  • September 3, 2024

@InfFilipV Have you got any answer on how to restart the ODP container in Build Place without having to restart the whole environment?
Or if IFS have plans to implement such option in Build Place?


InfFilipV
Hero (Partner)
Forum|alt.badge.img+12
  • Author
  • Hero (Partner)
  • 202 replies
  • September 3, 2024

Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 20 replies
  • September 3, 2024

@InfFilipV Ok. Let’s hope that they implement this feature soon


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings