Hello to all,
This is Barış; totally newbie for Xcp Documentum
Isnt there a log or something else in order to trace what cause the error while selecting the Java service in Execute Java Service screen? (Java Extensions) you can find my code and artifact below:
<?xml version="1.0" encoding="UTF-8"?>
<nsJavaModule:JavaModule xmlns:nsJavaModule="http://xcp.emc.com/javamodule"
urn="urn:Xcp_Deneme:com.emc.xcp.artifact.javamodule.category:Artifacts/Java
Modules/xcp_deneme2.javamodule"
categoryId="com.emc.xcp.artifact.javamodule.category" name="xcp_deneme2"
label="xcp deneme2" implementationClass="com.example.xcp.xcp_deneme2">
<implementationJars contentPath="content/modules/xcp_deneme2.jar"/>
< !—1 or more -->
</nsJavaModule:JavaModule>
package com.example.xcp;
import java.util.UUID;
public class xcp_deneme2 {
public static String generateUniqueId(String prefix) {
int hashCode = UUID.randomUUID().hashCode();
String guidHashCode = Integer.toString(hashCode);
if (guidHashCode.startsWith("-"))
{
guidHashCode = prefix + guidHashCode.replace("-", "3");
}
return guidHashCode;
}
}
Thanks in advance