CLASSPATH Issue in SunOS

Tags
classpath, need help, solaris, weblogic

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 2 Weeks Ago
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  
Old 2 Weeks Ago
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  
Old 2 Weeks Ago
jar is available and i have already given correct path in .sh file
# 4  
Old 2 Weeks Ago
any help pls
# 5  
Old 1 Week Ago
Hi,

Can you post the exact output, from the screen. Also, post your environment and the location of the .jar file.

Regards

Gull04
# 6  
Old 1 Week Ago
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
# 7  
Old 1 Week Ago
Hi,

You've answered the question in post #1, instead or as well as PRE_CLASSPATH - you'll need to set and export CLASSPATH.

Regards

Gull04
Login to Reply

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

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Fedora java classpath cokedude UNIX for Advanced & Expert Users 0 10-01-2013 09:21 PM
Issue with SUNOS running sed scripts vash Shell Programming and Scripting 11 07-09-2013 11:56 AM
How to override Classpath? mohtashims Shell Programming and Scripting 6 03-11-2013 08:25 AM
Classpath of JAVA yifangt Programming 1 01-11-2013 07:38 PM
set javac classpath locoroco Programming 1 12-13-2011 11:52 PM
Servlet CLASSPATH for Apache fishman2001 Web Programming 0 06-11-2010 07:06 PM
regarding classpath java PRKS Programming 1 12-24-2009 04:38 AM
Classpath Rachel Ross Programming 4 07-19-2008 06:12 PM
Classpath Rachel Ross UNIX for Dummies Questions & Answers 0 07-19-2008 01:13 PM
how to set classpath in cron sari Shell Programming and Scripting 1 04-21-2008 10:48 AM
SunOS 5.8 performance issue zing_foru UNIX for Advanced & Expert Users 1 09-08-2007 03:31 PM
Unix Korn Shell Array Issue (SunOS) Janus Shell Programming and Scripting 5 11-21-2006 08:19 PM
Migration of binary file from Sunos 5.8 to Sunos 5.9 Arvind Maurya UNIX for Advanced & Expert Users 1 07-12-2005 07:23 AM
All times are GMT -4. The time now is 01:39 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.