I am using Weblogic 7.0 with SP6. I know this is a very old version, but my company has a few apps on this sever and they don't want to upgrade.
I am trying to deploy an EAR and I am hitting the below error. The same ear is deployed on another box on Weblogic 7 too and it works just fine there.
Can some please help and throw me some more light on the error.
preparing application quickorderapp on qoprod3
preparing application quickorderapp on qoprod2
preparing application quickorderapp on qoprod1
Exception caught for task Activate application quickorderapp on qoprodcluster: Prepare failed. Task Id = 4
Start server side stack trace:
weblogic.management.ApplicationException: Prepare failed. Task Id = 4
Module Name: usermanagerwebservices.jar, Error: Exception preparing module: EJBModule(usermanagerwebservices.jar,status=NEW)
Unable to deploy EJB: usermanagerwebservices.jar from usermanagerwebservices.jar:
End server side stack trace
@Deepak - thanks for helping me out.
I am running my weblogic on Windows and I have set my path = %JAVA_HOME%\bin during the start up of the servers.
I still get the same error and also the error throws out a lot of jar's I have mentioned in my classpath.
Well weblogic EJB compiler probably takes your files, makes custom implementation java files and then tries to compile them. Compilation fails when this process takes place because javac is not in the path. hmmm... at least that is what it looks like. When you run your WL server are you pointing to a JRE or JDK ? You are probably pointing to a JRE and thus it is unable to find javac during compilation operations ?
Joined: Jun 09, 2008
@Deepak, I am pointing to a JDK. The JDK which comes in during the installation of WL.
I have the JDK @ c:\bea\jdk and my path is set to C:\bea\jdk\bin.
Well thats weird then. Can you confirm from the console what your path looks like ?
Never seen a WL 7 console before (is it like WL 6 ?) but does the EJB module have a configuration screen of its own where you can see logging information ?
Joined: Jun 09, 2008
from the batch file I start, I had mentioned the path as pointing to JAVAHOME\bin...
but after you asked me to look into the console, there I saw the path was not set properly. I have set it and it worked this time