Skip to Content
avatar image
Former Member

Where must I add the classe12.zip from Oracle in WebAS

Hello,

I am currently working on a web service that should connect to oracle. The java classes run fine on my computer but when I generate a web-service and deploy it on the webAS, it does not run anymore. The problem is that there is no trace of the jar file classe12.zip needed by my web-service on the wedAS.

In which directory should I add this jar file?

Thanks for your help.

Michel

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 29, 2004 at 07:56 AM

    One more information, I saw in the previous post that the tool Deploy Tool is used to realize this manipulation on Web AS 6.20. I am currently working on Web AS 6.40. Is this tool still available on 6.40?

    What is the easiest manipulation to deploy an external library on web AS 6.40?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      What is the server/provider.xml file? I am having the same problem in my case that I created a java project and I exposed my java class through web service wizard. Everything was deployed and worked fine as the instructions in SAP manuals. However, I started having the NoClassDefFound error when I used classes from my J2EE server library. I specified the library usage in my UsedDC part of my java project with checkboxes for compile, build, runtime and runtime type is strong. I could deploy the EAR, but I got the NoClassDefFound error in runtime. Next step, I tried to add the application-j2ee-engine.xml to my java project and declared the library reference as you mentioned. Still no hope!!

      I examined the EAR archive and I realized there were two application-j2ee-engine.xml files. One was directly under the archive /META-INF generated by the project build. It did not contain any reference to the library. The second one was under the WSAR archive in the same level with /META-INF in the EAR archive. The second one was the one I created in my java project. What is going on here?

      Please help!

      Giavinh Pham

  • avatar image
    Former Member
    Dec 21, 2005 at 09:25 PM

    Additional troubleshooting information:

    I tried to build the web service in a different way. I went to File -> New -> Other -> Web Service -> Web Service Archive. Then point the browse to my web service project. The EAR is generated at put to the root path of the project. This EAR works fine and point to my j2ee library.

    If I used the Build option from "right click" the project to open the context menu: Development Component -> Build. The EAR is generated by this procedure will be put in the deploy folder. This EAR did not work.

    Why does this happen? Why can I not make a working EAR file from the second way which is the typical way to build a DC? Is the first way the right way to build a web service EAR?

    Add comment
    10|10000 characters needed characters exceeded