We have an existing application which has an ANT script used for deployment and running on weblogic version 9.2.3.
We had a request to upgrade the weblogic to version 12.1 and I was able to successfully upgrade this by changing the application specific WL_HOME and giving the build using the ANT script already present. But unfortunately we were having a dependency on another application that is running on weblogic 8.1 and weblogic 12.1 is not compatible with 8.1.
So we are now in the process of downgrading the weblogic to version 10.3.6 and after installation of weblogic 10.3.6, I changed the same application specific property WL_HOME to point to weblogic 10.3.6 and tried the ANT build.
But this time the ANT script failed, throwing errors saying error: package javax.ejb does not exist import javax.ejb.CreateException;
The application and weblogic is installed in a solaris/unix machine and we are using jdk 1.7.0.60 for the application.
I am not an expert on weblogic or ANT, and I couldn't figure out where I went wrong. I see that we have javax.ejb_3.0.1.jar present in the modules directory.
It will be really grateful if somebody could let me know where I might have gone wrong.
Thanks for your help in advance.