Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using weblogic.Admin utility

Posted on 2006-06-16
2
Medium Priority
?
997 Views
Last Modified: 2012-05-05
Hi,

I am trying to use weblogic.Admin tool to perform some funcitons, however I keep having this error:

Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Admin

classpath:
C:\Java\jdk1.5.0_01\bin;C:\apache-tomcat-5.5.12\bin\bootstrap.jar;C:\bea81\weblogic81\server\bin

I set classpath already. I even ran setENV command, but didn't work. Any ideas?
0
Comment
Question by:dkim18
2 Comments
 
LVL 10

Accepted Solution

by:
rajesh_bala earned 750 total points
ID: 16930307
Kim,

Can you let us know what are you trying to do with admin util?. Can you plz give the procedure in the way you run it. Like...

1. navigate to xxx
2. Run yyy etc

I believe it is not able to load one of the required classes. NoClassDefFoundError will be thrown when a class in not able to load due to the dependency on the other which is not in classpath.

can you do the following after you run setenv and paste it here.

echo %CLASSPATH%
echo %PATH%
0
 

Author Comment

by:dkim18
ID: 16943904
I had to set classpath manually.
....\lib\weblogic.jar
I will give you point anyway.
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question