on 04-16-2015 6:48 AM
Hello,
I wanted to export a Oracle DB 11.2.04 in suse 11 SP 2 environment. Try many java version from oracle 1.8.0_45, kernel and sap java 4.1. Get a lock error or a java exception.
> ./export_monitor.sh -javaversion
+ /tmp/java/jre1.8.0_45//bin/java -Xmx1024m -cp ./.:./migmon.jar:./activation.jar:./mail.jar com.sap.inst.lib.app.SecureStartup -Xmx1024m com.sap.inst.migmon.exp.ExportMonitor -dbType ORA -javaversion
java version: 1.8.0_45
java vendor: Oracle Corporation
Oracle Corporation(build 25.45-b02, mixed mode)
Another instance of application is already running.
Lock file 'ExportMonitor.lck' is locked by other process.
sap java exception looks like
+ /tmp/java/sapjvm_4/bin/java -Xmx1024m -cp ./.:./migmon.jar:./activation.jar:./mail.jar com.sap.inst.lib.app.SecureStartup -Xmx1024m com.sap.inst.migmon.exp.ExportMonitor -dbType ORA
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sap/inst/lib/app/SecureStartup : Unsupported major.minor version 50.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:638)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:307)
at java.net.URLClassLoader.access$100(URLClassLoader.java:59)
at java.net.URLClassLoader$1.run(URLClassLoader.java:250)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:243)
at java.lang.ClassLoader.loadClass(ClassLoader.java:365)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:318)
at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
1. there is no other migmon running
2. there is no java instance running (stopped all SMD and SAP systems)
3. there is no ExportMonitor.lck file on the whole filesystem
Any ideas ?
Thanks a lot !
Hello Dieter,
1. Are you running on a local filesystem or NFS ?
Do NOT run on NFS. It causes so many hard to figure problems?
2. JAVA 1.6 should work fine.
Cheers,
Amerjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dieter,
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sap/inst/lib/app/SecureStartup : Unsupported major.minor version 50.0
1. I see you are running out of /tmp. Don't use /tmp. Please create/use another f/s.
2. Make sure the permissions on the directory (and files) you use are at least 775 for sidadm/sapsys (recursive)
3. Please run the following and post the output.
"which java"
"java -version"
"lsof | grep -i ExportMonitor"
"env"
4. Explicitly set JAVA_HOME before starting migmon (sidadm)
eg: export JAVA_HOME=/usr/java6_64
5. Check your LIBPATH
Cheers,
Amerjit
Hi Dieter,
You SAP version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dieter,
The Java version is not supported Version.
What is your SAP system release?
Regards,
V Srinivasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.