You are trying to run ant script to load the data in your osb console and you are getting following error
java.lang.RuntimeException: error in finding weblogic.Home
at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:168)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
This is because your classpath is not set correctly.
If you will go to your build.xml file you will find a entry like this
<path id="class.path">
<pathelement path="${bea.home}/wlserver_10.3/server/lib/weblogic.jar"/>
<pathelement path="${bea.home}/osb_10.3/lib/sb-kernel-api.jar"/>
<pathelement path="${bea.home}/modules/com.bea.common.configfwk_1.2.0.0.jar"/>
</path>
This error occurs it the classpath for com.bea.common.configfwk_1.2.0.0.jar is not set correctly.
The version of this class file varies with the version of the server so make sure you are making the changes in the name of the file as per the version.Also set your BEA_HOME and JAVA_HOME and re run this script it should get resolved.
No comments:
Post a Comment