hai, all
I try to call webMethods service used java API, only success with tomcat but got error from OC4J and Orion.
java.lang.ExceptionInInitializerError
at /wmapi.jsp._jspService(/wmapi.jsp.java:45) (JSP page line 16)
at com.orionserver[Orion/2.0.5 (build 11234)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ay._rmb(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ctb._psd(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ctb._bqc(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ax._luc(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ax._ucb(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._bf.run(Unknown Source)
Caused by: java.lang.SecurityException: Self-Integrity Check FAILED: java.lang.SecurityException: java.security.PrivilegedActionException: java.util.zip.ZipException: error in opening zip file
at com.entrust.toolkit.security.provider.JCEVerifierImpl.checkIntegrity(Unknown Source)
at com.entrust.toolkit.security.provider.Entrust.<init>(Unknown Source)
at com.wm.app.b2b.client.BaseContext.<clinit>(BaseContext.java:109)
… 9 more
– and if i refresh again got this error –
java.lang.NoClassDefFoundError
at /wmapi.jsp._jspService(/wmapi.jsp.java:45) (JSP page line 16)
at com.orionserver[Orion/2.0.5 (build 11234)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ay._rmb(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)].server.http.JSPServlet.service(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ctb._psd(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ctb._bqc(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ax._luc(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._ax._ucb(Unknown Source)
at com.evermind[Orion/2.0.5 (build 11234)]._bf.run(Unknown Source)
This is my code :
<%@>
<%@>
<%@>
<%@>
<title>Untitled Page</title>
<meta>
<html>
<body>
<%
String server=“localhost:5555”;
String userName=“Administrator”;
String password=“manage”;
Context context = null;
String input1 = request.getParameter(“input1”);
String input2 = request.getParameter(“input2”);
IData InputDoc = IDataFactory.create();
IDataCursor inputDocCursor = InputDoc.getCursor();
IDataUtil.put(inputDocCursor,“input1”,input1);
IDataUtil.put(inputDocCursor,“input2”,input2);
context = new Context();
//context.connect(server,userName,password);
//IData idcOutput = context.invoke(“tes”, “abcdef”, InputDoc);
//IDataCursor outPipeline = idcOutput.getCursor();
String theResult=“-”;
//theResult = IDataUtil.getString(outPipeline,“outputku”);
%>
The Result is = <%=theresult%>
</body>
</html>
I got error if call this command :
context = new Context();
I am already copy all webMethods library to orion and oc4j but still got error.
Please help me thanks
Fernand Lesmana