CLASSPATH Issue in SunOS


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
CLASSPATH Issue in SunOS

Hi Friends
I need to add path to CLASSPATH in weblogic start
OS is SunOS dcuatapp04 5.11 11.3 sun4v sparc sun4v

I follow instructions given in below link. but even startup log shows the new path it does not load the jar file.
how can i fix this

Oracle WebLogic Server 12.1.3 Developer Guide: Enabling Java EE 7
Features


Code:
File changed > setDomainEnv.sh

--- Post updated at 06:51 AM ---

This is how i set
Code:
PRE_CLASSPATH=/u01/app/oracle/product/Middleware/Oracle_Home/wlserver/modules/com.oracle.weblogic.jpa21support_1.0.0.0_2-1.jar:/u01/app/oracle/product/Middleware/Oracle_Home/oracle_common/modules/javax.persistence_2.1.jar
export PRE_CLASSPATH

Error is below:
Code:
weblogic.application.ModuleException: java.lang.NoSuchMethodError:

# 2  
Hi,

Did you try using find to locate the .jar file?

My environment looks like;

Code:
weblogic@XXXXXX01 : /export/home/weblogic -> env
_=*15350*/usr/ccs/bin/env
HOME=/export/home/weblogic
HZ=
JAVA_HOME=/usr/jdk/instances/jdk1.8.0/jre
LANG=en_US.UTF-8
LC_ALL=
LC_COLLATE=
LC_CTYPE=
LC_MESSAGES=C
LC_MONETARY=
LC_NUMERIC=
LC_TIME=
LOGNAME=weblogic
MAIL=/usr/mail/weblogic
MW_HOME=/weblogic/Oracle/Middleware
ORACLE_HOME=/weblogic/Oracle/Middleware/Ora_Home_XXXXX
PATH=/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/export/home/weblogic/bin:/usr/jdk/instances/jdk1.6.0/jre:/usr/bin/X11:/weblogic/Oracle/Middleware/Ora_XXXXX_home/bin:.
PWD=/export/home/weblogic
SHELL=/usr/bin/ksh
SHLVL=1
TERM=xterm
TNS_ADMIN=/weblogic/Oracle/Middleware/XXXXX_instance/config
TZ=localtime
WL_HOME=/weblogic/Oracle/Middleware/wlserver_10.3
A__z="*SHLVL
weblogic@XXXXXXt01 : /export/home/weblogic ->

Regards

Gull04
# 3  
jar is available and i have already given correct path in .sh file
# 6  
seems classpath is getting initialized
can u help me to set the class path
location is /u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/base_domain/bin
file is setDomainEnv.sh

--- Post updated at 11:55 AM ---

when i execute echo $CLASSPATH it s blank
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Issue with SUNOS running sed scripts
vash
Hi I probably dont have GNU extended sed in my SUNOS . and its creating lot of problems ex: a simple sed command like this is not working sed '/WORD/ a\ sample text line 1 \ sample text line 1 ' filename sed: command garbled: /WORD/ a I took precaution to have a new line after...... Shell Programming and Scripting
11
Shell Programming and Scripting
Classpath
Rachel Ross
This question is realted to UNIX and Java. I sing in to a UNIX server and I want to change my CLASSPATH locally, so it won't affect any other users CLASSPATHS. Is the command 'export PATH=...' the way to do it? Thanks.... Programming
4
Programming
SunOS 5.8 performance issue
zing_foru
Hi all On my SUNOS 5.8 server I am facing a serious performance issue. After booting within 20-25 days the system performance degrates, even I can't executes commands such as df, top, etc the only options remains to reboot the system. There is no such memory consuming process runs and the...... UNIX for Advanced & Expert Users
1
UNIX for Advanced & Expert Users
Unix Korn Shell Array Issue (SunOS)
Janus
Hello, I'm currently messing around with arrays for the first time in scripting (Unix Korn Shell). All I'm trying to do right now before I make things complicated is read through and print out to screen whether the read file is or is not a directory. Here is my directory: ls -l total...... Shell Programming and Scripting
5
Shell Programming and Scripting
Migration of binary file from Sunos 5.8 to Sunos 5.9
Arvind Maurya
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core...... UNIX for Advanced & Expert Users
1
UNIX for Advanced & Expert Users