Weblogic 12 and the CLI

Posted by Rig on Super User See other posts from Super User or by Rig
Published on 2014-06-02T14:58:43Z Indexed on 2014/06/02 15:33 UTC
Read the original article Hit count: 651

I am working with WebLogic on Fedora 19 and am attempting to use the CLI tools to no avail. It appears these were deprecated as far back as WebLogic 9 however I was assured they are still there and still functional. As it stands I have a need to use them if they are in fact functional.

What appears to the case is that the weblogic jar file is not being loaded correctly to the classpath by this script after trying to manually add it to the classpath as it fails when trying to add those jars via java -classpath <path>. I've spent a lot of time so far trying to get this sorted out but I'm wondering what I may be missing here.

My Java runtime is version 7, Fedora is 19, and WebLogic is 12.1. When I run env after running the provided set environment script it appears to have no impact from what I can see. (I'll add that later when I get back to that machine).

I'm mostly a Windows developer so some of this is a topic I'm not well versed in.

[foo@localhost bin]$ ./setDomainEnv.sh 
[foo@localhost bin]$ java weblogic.Admin -url t3://localhost:7001 -username <username> -password <password> HELP
Error: Could not find or load main class weblogic.Admin
[foo@localhost bin]$ ls -ltar
total 72
drwxr-x---  2 foo foo  4096 Jun  2 07:36 service_migration
drwxr-x---  2 foo foo  4096 Jun  2 07:36 server_migration
drwxr-x---  2 foo foo  4096 Jun  2 07:36 nodemanager
-rwxr-x---  1 foo foo  1267 Jun  2 07:36 setStartupEnv.sh
-rwxr-x---  1 foo foo  1105 Jun  2 07:36 startNodeManager.sh
-rwxr-x---  1 foo foo  5765 Jun  2 07:36 startWebLogic.sh
-rwxr-x---  1 foo foo  2001 Jun  2 07:36 stopWebLogic.sh
-rwxr-x---  1 foo foo  3170 Jun  2 07:36 startManagedWebLogic.sh
-rwxr-x---  1 foo foo  2776 Jun  2 07:36 stopManagedWebLogic.sh
-rwxrwxrwx  1 foo foo 14136 Jun  2 07:36 setDomainEnv.sh
-rwxr-x---  1 foo foo  2060 Jun  2 07:36 startComponent.sh
drwxr-x---  5 foo foo  4096 Jun  2 07:36 .
-rwxr-x---  1 foo foo  1726 Jun  2 07:36 stopComponent.sh
drwxr-x--- 12 foo foo  4096 Jun  2 07:45 ..

© Super User or respective owner

Related posts about fedora

Related posts about environment-variables