Sponsored Content
Full Discussion: CLASSPATH Issue in SunOS
Operating Systems Solaris CLASSPATH Issue in SunOS Post 303026599 by ded325 on Friday 30th of November 2018 06:51:29 AM
Old 11-30-2018
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:

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Migration of binary file from Sunos 5.8 to Sunos 5.9

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... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies

2. Shell Programming and Scripting

Unix Korn Shell Array Issue (SunOS)

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... (5 Replies)
Discussion started by: Janus
5 Replies

3. UNIX for Advanced & Expert Users

SunOS 5.8 performance issue

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... (1 Reply)
Discussion started by: zing_foru
1 Replies

4. UNIX for Dummies Questions & Answers

Classpath

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. Duplicate post (0 Replies)
Discussion started by: Rachel Ross
0 Replies

5. Programming

Classpath

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. (4 Replies)
Discussion started by: Rachel Ross
4 Replies

6. Programming

regarding classpath java

Hi, I have a below command.... $JAVA_HOME/bin/java -cp "/usr/orabase/product/10.2.0/lib:/usr/java/javajar/common/sched.jar:/usr/orabase/product/10.2.0/jdbc/lib/ojdbc14_g.jar:/usr/orabase/product/10.2.0/jdbc/lib/classes12.jar" com.abrt.smart.Smart I want to know where the Smart.class is... (1 Reply)
Discussion started by: PRKS
1 Replies

7. Programming

set javac classpath

I have several jar files in a specific folder, but I can't get javac to understand it. How do I set the classpath for javac. It is NOT the same classpath as the java command. And it's not enough with one jar file. I have several. (1 Reply)
Discussion started by: locoroco
1 Replies

8. Programming

Classpath of JAVA

Hello, ABC question as I could not get a direct answer: How to locate the default IO class of JAVA? My question was triggered by the row in most java programimport java.io.* as I am very curious where the io class is located in my Mint14 (Ubuntu12.10). I am aware it is similar to use DBI in PERL,... (1 Reply)
Discussion started by: yifangt
1 Replies

9. Shell Programming and Scripting

How to override Classpath?

Hi, When I login to my HP-UX and fire the "set" command I see that the weblogic 9.2 classpath is already set. However, I wish to override the classpath to weblogic version 10.3 I have a script call setWLSEnv.sh that has the desired classpath. Thus, in my unix script i write .... (6 Replies)
Discussion started by: mohtashims
6 Replies

10. Shell Programming and Scripting

Issue with SUNOS running sed scripts

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... (11 Replies)
Discussion started by: vash
11 Replies
GCJH(1) 								GNU								   GCJH(1)

NAME
gcjh - generate header files from Java class files SYNOPSIS
gcjh [-stubs] [-jni] [-add text] [-append text] [-friend text] [-preprend text] [--classpath=path] [--CLASSPATH=path] [-Idir...] [-d dir...] [-o file] [-td dir] [-M] [-MM] [-MD] [-MMD] [--version] [--help] [-v] [--verbose] classname... DESCRIPTION
The "gcjh" program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub implementation files which can be used as a basis for implementing the required native methods. OPTIONS
-stubs This causes "gcjh" to generate stub files instead of header files. By default the stub file will be named after the class, with a suf- fix of .cc. In JNI mode, the default output file will have the suffix .c. -jni This tells "gcjh" to generate a JNI header or stub. By default, CNI headers are generated. -add text Inserts text into the class body. This is ignored in JNI mode. -append text Inserts text into the header file after the class declaration. This is ignored in JNI mode. -friend text Inserts text into the class as a "friend" declaration. This is ignored in JNI mode. -prepend text Inserts text into the header file before the class declaration. This is ignored in JNI mode. --classpath=path --CLASSPATH=path -Idirectory -d directory -o file These options are all identical to the corresponding gcj options. -o file Sets the output file name. This cannot be used if there is more than one class on the command line. -td directory Sets the name of the directory to use for temporary files. -M Print all dependencies to stdout; suppress ordinary output. -MM Print non-system dependencies to stdout; suppress ordinary output. -MD Print all dependencies to stdout. -MMD Print non-system dependencies to stdout. --help Print help about "gcjh" and exit. No further processing is done. --version Print version information for "gcjh" and exit. No further processing is done. -v, --verbose Print extra information while running. All remaining options are considered to be names of classes. SEE ALSO
gcc(1), gcj(1), gij(1), jv-scan(1), jcf-dump(1), gfdl(7), and the Info entries for gcj and gcc. COPYRIGHT
Copyright (C) 2001, 2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being ``GNU General Public License'', the Front- Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the man page gfdl(7). gcc-3.2.2 2003-02-25 GCJH(1)
All times are GMT -4. The time now is 01:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy