on 09-10-2014 11:50 AM
Hello,
at startup from SAP on oracle 11.2.0.4 with a Java Only Netweaver 7.4 I have got a problem with the file "class_prefetch.lst".
Error message:
sidadm> startsap
Checking SID Database
-------------------------------------------
setTrace: false
WARNING: Cannot write class prefetch list; classload performance may be affected
WARNING: java.io.FileNotFoundException: class_prefetch.lst (Permission denied)
WARNING: To fix the problem, remove the inaccessible file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst
System is starting and working.
But I can't solve this problem. On other systems I don't find a file class_prefetch.lst in the mentioned path, so there is nothing to remove.
How can I solve this warning / problem?
Regards,
Julia
Hello,
Ashutosh supported me with a workaround but problem is not solved for me.
Where does this message comes from?
And why I can't find such a file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst in other systems?
Regards,
Julia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help, Ashish.
I did already created the file and start of SAP works now without error message.
But I'm still confused about this file - where does this message comes from? Why didn't this file exist in my folder? And why I can't find such a file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst in other systems?
Do you have a file class_prefetch.lst in your folder /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/ ?
Regards,
Julia
Hello Ashish,
File contains following a lot of entries like (~4KB):
.....
oracle/jdbc/driver/T4CRawAccessor.class
antlr/MismatchedTokenException.class
com/sap/sql/trace/TraceResultSet.class
com/sap/sql/jdbc/ConnectionHandle.class
oracle/sql/ORAData.class
com/sap/tc/logging/FileLogInfoData.class
com/sap/dictionary/database/dbs/DbObject.class
com/sap/sql/jdbc/basic/BasicConnection.class
oracle/jdbc/driver/T4CTTIokeyval.class
oracle/jdbc/driver/T4CTTIokpn.class
com/sap/tc/logging/Location.class
com/sap/sql/jdbc/oracle/Oracle9iPortingServices.class
com/sap/sql/connect/pool/Pool$State.class
...
Regards,
Julia
Hello Reagan,
yes, this can be the cause!
I had a look into /home/sidadm - there I can find a file class_prefetch.lst.
And because of some administrative doings I was in folder /oracle/SID/saptrace/diag/rdbms/sid/SID/trace as sidadm and started SAP from here.
Thank you - I think this is the cause. And correctly sidadm has no write access in /oracle/SID path!
Regards,
Julia
setTrace: false
WARNING: Cannot write class prefetch list; classload performance may be affected
WARNING: java.io.FileNotFoundException: class_prefetch.lst (Permission denied)
WARNING: To fix the problem, remove the inaccessible file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst
Based on the trace information and if you look at the above sequence it looks like the startsap script is creating the class_prefetch.lst file and then it is trying to remove the file and in both cases the it fails due to permission issues.
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julia
Is the \USR folder volume is full no free space ?
BR
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
WARNING: To fix the problem, remove the inaccessible file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst
Check for permissions or follow what ashutosh has quoted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julia,
Goto the directory /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/
and run the command
touch class_prefetch.lst
hope it will help!
Also do check the permission of trace it should have a owner orasid and sapsys
With Regards
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ashutosh,
I thought about creating file too, but I don't know what this file stands for.
So I created file now with chmod 777. Permission of folder trace is correct (orasid,dba).
Now warning message disappeard and some entries are written in file.
But although I'm wondering because this file does not exist in other systems.
So for what is this file? Is there any misconfiguration in JAVA stack?
Regards,
Julia
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.