WebLogic 12c

Hi,

I’m investigating the integration of IS9.8 & WebLogic 12c using EJB Adapter 6.5.3.
Is there any samples or tutorials of EJB Adapter on this configuration?

I already found the sample below which is for IS 6.x & WebLogic 6.1/7.0/8.1,
but this seems obsolete for IS9.8 & WebLogic 12c.

[Adapter for EJB: Code Sample for EJB Application]
http://techcommunity.softwareag.com/ecosystem/communities/public/webmethods/products/adapters/codesamples/958a2fac-b1d1-11e4-8d00-cd8d7ef22065/?title=Adapter+for+EJB%3A+Code+Sample+for+EJB+Application

Best regards,
Shotat

Hi Shogo,

you can try to use the sample on the new environment and see if it works.

If it does not work, this can be taken as an example to try to build a working version for the new environment.

Regards,
Holger

Dear Holger-san,

Thanks the reply very much.
I am trying to use this somewhat obsolete sample program.

I attached 2 files for our reference.
(a) ReadMeWebLogic.txt (this is inclueded in the EJB sample.)
(b) wls_build.xml (I am customizing according to STEP 1 of A)

I have a question.
In (a) “5. Copy necessary…” it describes “client.jar” and “entrust*.jar” of IS 6.1 or 6.5.
But there is neither “client.jar” nor “entrust*.jar” in “<IS 9.8>\IntegrationServer\lib” or other wM directories.

In case of 9.8, which jar files I should alternatively use?

Best regards,
Shotat

Dear Holger-san,

As the path for “client.jar”, I specified “wm-isclient.jar” in "<IS 9.8>\common\lib".

This seems OK when execute “ant -buildfile wls_build.xml deploy” at STEP4 in “ReadMeWebLogic.txt”

I attached the 3 file.

(a) ReadMeWebLogic.txt (this is included in the EJB sample.)
(b) wls_build.xml (I changed the path for “webm.client.jar” in line 14)
(c) log_ant.txt (the log when executing “ant -buildfile wls_build.xml deploy” at STEP4 in (a))

I still investigate a problem in (c) when executing STEP 4 in “ReadMeWebLogic.txt”.

Best regards,
Shotat

Dear Holger-san,

I am investigating the problem when executing “ant -buildfile wls_build.xml deploy”

BUILD FAILED
C:\SoftwareAG\IntegrationServer\instances\default\packages\WmEJBAdapter\templates\EJBToWebmSamples\wls_build.xml:69: Class not found: ${compiler}

If you have an idea to resolve this “Class not found: ${compiler}”, please sincerely advise.

Best regards,
Shotat

Dear member & Holger-san,

About “ReadMeWebLogic.txt”, I can finish STEP 4 “ant -buildfile wls_build.xml deploy”
by the following measures.

  • Customize “wls_build.xml”
  • Use ant 1.9 with WebLogic 12c
  • Use java 1.8 with webMethods 9.8

However, I have the error bellow at STEP 5 “ant -buildfile wls_build.xml run”

[java] ERROR: Could not find or load main class HelloEJBClient
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 2 seconds

If anyone has an idea to resolve this error, please sincerely advise.

Best regards,
Shotat

Dear member & Holger-san,

I have finished STEP 5 “ant -buildfile wls_build.xml run” by attached “wls_build.xml”.

I just changed line 111 as below.

There is no error after STEP 5 of “ReadMeWebLogic.txt”
But I do not yet understand fully about how this sample work…

Best regards,
Shotat