SlideShare a Scribd company logo
2
Most read
4
Most read
1© Copyright 2015 EMC Corporation. Allrights reserved.
Updating Java Services
EMCENTERPRISE CONTENT DIVISION
Michael Phipps
30 November 2015
2© Copyright 2015 EMC Corporation. Allrights reserved.
What is a Java Service
 Java Services are used to execute custom Java code within a Process
 Stored in the docbase as a dmc_module (with dmc_jar) files.
 Downloaded to local DFC instance to execute (on the webapp for a
Stateless Process, or to the JMS for a Stateful Process).
3© Copyright 2015 EMC Corporation. Allrights reserved.
Creating in Designer
 Java Service Artifact is created in xCP Designer. Once you’ve selected
your JAR file, it will be added to the underlying Application folder structure
– ie. Applicationsdemo_appdemo_applibxxxx.jar
 Development Changes may be required – ie. you may need to update the
JAR file with new / altered code.
4© Copyright 2015 EMC Corporation. Allrights reserved.
Methods for Updating a Java Service
Two Options for updatingthe Java Service:
 Update the Java Service artifact in xCP Designer, then redeploy
– Slightly different step required in 2.1 and 2.2
 Update the dmc_jar object in the repository directly
5© Copyright 2015 EMC Corporation. Allrights reserved.
Updating the Java Service in xCP Designer 2.2
1. Open the Java Service in xCP Designer. In the Shared Java Services Libraries,
select your new JAR from the file system.
The above steps are not sufficient to have the new JAR deployed. The JAR will be updated in the application structure,
however the change does not update anything in the Java Service artifact. As the artifact shows as unchanged, during
the next incremental deployment, it will be skipped.
So, we need to perform additional action to trigger a refresh of the Artifact.
2. Make a minor update the artifact (for example, adding something in the Java
Service’s description field) – this will result in the new JAR being deployed.
**A Full / Clean xMS deployment would also update the JAR
6© Copyright 2015 EMC Corporation. Allrights reserved.
Updating the Java Service in xCP Designer 2.1 –
additional step
 Same as 2.2, however when updating the description of the Java Artifact, you may
receive an error:
 Due to a known defect, which is fixed in 2.2.
 Occurs if the system name of the artifact contains both upper and lower
case characters. After reloading xCP Designer, the artifact filename is
changed to all lowercase – this makes it out of sync, which causes the
above error
7© Copyright 2015 EMC Corporation. Allrights reserved.
Updating the Java Service in xCP Designer 2.1 –
additional step
1. Close xCP Designer
2. Navigateto<Designer Home> Applications<app><app>ArtifactsJava
3. Edit your xxxxx.javaservice file with Notepad.
4. In the name value, set this to be identical to the name of the artifact– ie. remove the
capital letters
5. Navigateto<Designer Home> Applications<app><app>
6. Delete the .index file
7. Restart Designer – you should now be able to add a comment to your Java Service – this
will allow you to redeploy with the new JAR deployed
**A Full / Clean xMS deployment would also update the JAR
8© Copyright 2015 EMC Corporation. Allrights reserved.
Updating the JAR file in the Repository
 Can be used during Development as a quicker way to test code changes.
 Cannot change the Inputs / Outputs of the method – these are mapped in
xCP Designer, so will fail if these are altered
 Class still needs to be added to xCP Designer so it can be correctly
packaged – ie. to build and move to another environment.
9© Copyright 2015 EMC Corporation. Allrights reserved.
Updating the JAR file in the Repository - Steps
In DA:
1. Navigate to System/Modules/<xcp workspace>/<your java service/
2. Checkout the JAR file
3. Check In and select the new JAR file
EMC Documentum - xCP 2.x Updating Java Services

More Related Content

What's hot (20)

PDF
Veeam Presentation
cvaleze
 
PPT
Training netbackup6x2
M Shariff
 
PPTX
Oak, the architecture of Apache Jackrabbit 3
Jukka Zitting
 
PPT
03 backup-and-recovery
hunny garg
 
PPTX
EMC Data domain advanced features and functions
solarisyougood
 
PPTX
Hadoop REST API Security with Apache Knox Gateway
DataWorks Summit
 
PDF
NF101: Nutanix 101
NEXTtour
 
DOCX
Satheesh Oracle DBA Resume
raghu Idrilservices
 
PDF
Performance Engineering Masterclass: Introduction to Modern Performance
ScyllaDB
 
PDF
ETL VS ELT.pdf
BOSupport
 
KEY
Everything I Ever Learned About JVM Performance Tuning @Twitter
Attila Szegedi
 
PDF
Spark Operator—Deploy, Manage and Monitor Spark clusters on Kubernetes
Databricks
 
PDF
Building robust CDC pipeline with Apache Hudi and Debezium
Tathastu.ai
 
PPTX
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 
PPTX
Hyper-Converged Infrastructure: Concepts
Nick Scuola
 
PDF
Hashicorp Vault - OPEN Public Sector
Kangaroot
 
PPT
Introduction to Hibernate
Krishnakanth Goud
 
PDF
Running Apache Spark on Kubernetes: Best Practices and Pitfalls
Databricks
 
PDF
Developing a Movie recommendation Engine with Spark
Edureka!
 
PPTX
Ceph Introduction 2017
Karan Singh
 
Veeam Presentation
cvaleze
 
Training netbackup6x2
M Shariff
 
Oak, the architecture of Apache Jackrabbit 3
Jukka Zitting
 
03 backup-and-recovery
hunny garg
 
EMC Data domain advanced features and functions
solarisyougood
 
Hadoop REST API Security with Apache Knox Gateway
DataWorks Summit
 
NF101: Nutanix 101
NEXTtour
 
Satheesh Oracle DBA Resume
raghu Idrilservices
 
Performance Engineering Masterclass: Introduction to Modern Performance
ScyllaDB
 
ETL VS ELT.pdf
BOSupport
 
Everything I Ever Learned About JVM Performance Tuning @Twitter
Attila Szegedi
 
Spark Operator—Deploy, Manage and Monitor Spark clusters on Kubernetes
Databricks
 
Building robust CDC pipeline with Apache Hudi and Debezium
Tathastu.ai
 
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 
Hyper-Converged Infrastructure: Concepts
Nick Scuola
 
Hashicorp Vault - OPEN Public Sector
Kangaroot
 
Introduction to Hibernate
Krishnakanth Goud
 
Running Apache Spark on Kubernetes: Best Practices and Pitfalls
Databricks
 
Developing a Movie recommendation Engine with Spark
Edureka!
 
Ceph Introduction 2017
Karan Singh
 

Similar to EMC Documentum - xCP 2.x Updating Java Services (20)

PDF
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
cscpconf
 
PDF
Performance comparison on java technologies a practical approach
csandit
 
PDF
IUG ATL PC 9.5
Rizwan Mohammed
 
PPTX
React Basic and Advance || React Basic
rafaqathussainc077
 
DOC
Resume_abir
Abir De
 
PPTX
PHP North-East - Automated Deployment
Michael Peacock
 
PPTX
Automated Deployment
phpne
 
PPTX
A Presentation of Dash Enterprise and Its Interface.pptx
MusaBadaru
 
PPTX
Reactjs
Mallikarjuna G D
 
PPT
Understanding and extending p2 for fun and profit
Pascal Rapicault
 
PDF
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Mack Hardy
 
PPTX
Spring data jpa are used to develop spring applications
michaelaaron25322
 
PPT
Maven: Managing Software Projects for Repeatable Results
Steve Keener
 
PPTX
Session 03_04-Working with React Native.pptx
VHiu94
 
PPTX
How create react app help in creating a new react applications
Concetto Labs
 
PDF
Tips_Tricks_for_Oracle_E-Business Suite_Database_Upgrade.pdf
AkhashRamnath
 
PPT
Java2 platform
Sajan Sahu
 
PPTX
1 app 2 developers 3 servers
Mark Myers
 
PPTX
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
cscpconf
 
Performance comparison on java technologies a practical approach
csandit
 
IUG ATL PC 9.5
Rizwan Mohammed
 
React Basic and Advance || React Basic
rafaqathussainc077
 
Resume_abir
Abir De
 
PHP North-East - Automated Deployment
Michael Peacock
 
Automated Deployment
phpne
 
A Presentation of Dash Enterprise and Its Interface.pptx
MusaBadaru
 
Understanding and extending p2 for fun and profit
Pascal Rapicault
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Mack Hardy
 
Spring data jpa are used to develop spring applications
michaelaaron25322
 
Maven: Managing Software Projects for Repeatable Results
Steve Keener
 
Session 03_04-Working with React Native.pptx
VHiu94
 
How create react app help in creating a new react applications
Concetto Labs
 
Tips_Tricks_for_Oracle_E-Business Suite_Database_Upgrade.pdf
AkhashRamnath
 
Java2 platform
Sajan Sahu
 
1 app 2 developers 3 servers
Mark Myers
 
[Patel] SPFx: An ISV Insight into latest Microsoft's customization model
European Collaboration Summit
 
Ad

More from Haytham Ghandour (10)

PDF
EMC Documentum - xCP.x Updating Endpoint
Haytham Ghandour
 
PDF
EMC Documentum xCP 2.x Tips for application migration v1.1
Haytham Ghandour
 
PDF
Crystal Report Configuration Using xCP Designer 2.1
Haytham Ghandour
 
PDF
xCP Pattern Library 3.3
Haytham Ghandour
 
PDF
Type Adoption in xCP 2.1 Applications
Haytham Ghandour
 
PDF
Alerts in EMC Documentum xCP 2.1
Haytham Ghandour
 
PDF
Migration & upgrades best practice upgrade pathways to emc documentum 7
Haytham Ghandour
 
PDF
xCP2 0 Performance Best Practices and Guidelines
Haytham Ghandour
 
PDF
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Haytham Ghandour
 
PDF
EMC Documentum xCP 2.0 Design Patterns
Haytham Ghandour
 
EMC Documentum - xCP.x Updating Endpoint
Haytham Ghandour
 
EMC Documentum xCP 2.x Tips for application migration v1.1
Haytham Ghandour
 
Crystal Report Configuration Using xCP Designer 2.1
Haytham Ghandour
 
xCP Pattern Library 3.3
Haytham Ghandour
 
Type Adoption in xCP 2.1 Applications
Haytham Ghandour
 
Alerts in EMC Documentum xCP 2.1
Haytham Ghandour
 
Migration & upgrades best practice upgrade pathways to emc documentum 7
Haytham Ghandour
 
xCP2 0 Performance Best Practices and Guidelines
Haytham Ghandour
 
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Haytham Ghandour
 
EMC Documentum xCP 2.0 Design Patterns
Haytham Ghandour
 
Ad

Recently uploaded (20)

PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 

EMC Documentum - xCP 2.x Updating Java Services

  • 1. 1© Copyright 2015 EMC Corporation. Allrights reserved. Updating Java Services EMCENTERPRISE CONTENT DIVISION Michael Phipps 30 November 2015
  • 2. 2© Copyright 2015 EMC Corporation. Allrights reserved. What is a Java Service  Java Services are used to execute custom Java code within a Process  Stored in the docbase as a dmc_module (with dmc_jar) files.  Downloaded to local DFC instance to execute (on the webapp for a Stateless Process, or to the JMS for a Stateful Process).
  • 3. 3© Copyright 2015 EMC Corporation. Allrights reserved. Creating in Designer  Java Service Artifact is created in xCP Designer. Once you’ve selected your JAR file, it will be added to the underlying Application folder structure – ie. Applicationsdemo_appdemo_applibxxxx.jar  Development Changes may be required – ie. you may need to update the JAR file with new / altered code.
  • 4. 4© Copyright 2015 EMC Corporation. Allrights reserved. Methods for Updating a Java Service Two Options for updatingthe Java Service:  Update the Java Service artifact in xCP Designer, then redeploy – Slightly different step required in 2.1 and 2.2  Update the dmc_jar object in the repository directly
  • 5. 5© Copyright 2015 EMC Corporation. Allrights reserved. Updating the Java Service in xCP Designer 2.2 1. Open the Java Service in xCP Designer. In the Shared Java Services Libraries, select your new JAR from the file system. The above steps are not sufficient to have the new JAR deployed. The JAR will be updated in the application structure, however the change does not update anything in the Java Service artifact. As the artifact shows as unchanged, during the next incremental deployment, it will be skipped. So, we need to perform additional action to trigger a refresh of the Artifact. 2. Make a minor update the artifact (for example, adding something in the Java Service’s description field) – this will result in the new JAR being deployed. **A Full / Clean xMS deployment would also update the JAR
  • 6. 6© Copyright 2015 EMC Corporation. Allrights reserved. Updating the Java Service in xCP Designer 2.1 – additional step  Same as 2.2, however when updating the description of the Java Artifact, you may receive an error:  Due to a known defect, which is fixed in 2.2.  Occurs if the system name of the artifact contains both upper and lower case characters. After reloading xCP Designer, the artifact filename is changed to all lowercase – this makes it out of sync, which causes the above error
  • 7. 7© Copyright 2015 EMC Corporation. Allrights reserved. Updating the Java Service in xCP Designer 2.1 – additional step 1. Close xCP Designer 2. Navigateto<Designer Home> Applications<app><app>ArtifactsJava 3. Edit your xxxxx.javaservice file with Notepad. 4. In the name value, set this to be identical to the name of the artifact– ie. remove the capital letters 5. Navigateto<Designer Home> Applications<app><app> 6. Delete the .index file 7. Restart Designer – you should now be able to add a comment to your Java Service – this will allow you to redeploy with the new JAR deployed **A Full / Clean xMS deployment would also update the JAR
  • 8. 8© Copyright 2015 EMC Corporation. Allrights reserved. Updating the JAR file in the Repository  Can be used during Development as a quicker way to test code changes.  Cannot change the Inputs / Outputs of the method – these are mapped in xCP Designer, so will fail if these are altered  Class still needs to be added to xCP Designer so it can be correctly packaged – ie. to build and move to another environment.
  • 9. 9© Copyright 2015 EMC Corporation. Allrights reserved. Updating the JAR file in the Repository - Steps In DA: 1. Navigate to System/Modules/<xcp workspace>/<your java service/ 2. Checkout the JAR file 3. Check In and select the new JAR file