Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

getting errors in java - urgent help needed

 
SAMI AHMAD
Regular Advisor

getting errors in java - urgent help needed

here is my out with debug option so you can see my classpath values .

PASY$ java -verbose com.ingrian.migrot.MigrateRotate
----_JAVA_LAUNCHER_DEBUG----
JRE path is /sys$common/java$142/jre
jvm.cfg[0] = ->-classic<-
jvm.cfg[1] = ->-native<-
jvm.cfg[2] = ->-green<-
1 micro seconds to parse jvm.cfg
Does `java$jvm_shr' exist ... yes.
JVM path is java$jvm_shr
1 micro seconds to LoadJavaVM
JavaVM args:
version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 4
option[ 0] = '-Djava.class.path=./bin:/sys$common/java$142/jre/lib/ext:/disk$oracle/oracle9i/ingrian/online/ingrian_migrotation/
bin:/sys$common/java$142/jre/lib/ext/ingriannae.jar:/sys$common/java$142/jre/lib/ext/log4j-1_2_9.jar:.'
option[ 1] = '-verbose'
option[ 2] = '-Dsun.java.command=com.ingrian.migrot.MigrateRotate'
option[ 3] = '-Dsun.java.launcher=SUN_STANDARD'
[Loaded sun/reflect/MagicAccessorImpl.class from /sys$common/java$142/jre/lib/rt.jar]

.
.
.
.
.
[Loaded java/io/FileReader.class from /sys$common/java$142/jre/lib/rt.jar]
Warning: Property file file:/sys$common/java$142/jre/lib/ext/ingriannae.jar!/com/ingrian/security/nae/IngrianNAE.properties is missing
5 REPLIES
SAMI AHMAD
Regular Advisor

Re: getting errors in java - urgent help needed

I fixed the issue by setting the process parse and case context.
but now iam getting strange behaviour .. some jar files are taking extremely long to load for example the following

10 mins
[Loaded java/net/SocketOptions.class from /disk$oracle/java$142/jre/lib/rt.jar]

20 mins
[Loaded java/text/NumberFormat$Field.class from /disk$oracle/java$142/jre/lib/rt.jar]
Willem Grooters
Honored Contributor

Re: getting errors in java - urgent help needed

What system (AXP/IA64), VMS version, memory size?

Java on VMS requiers a fast processor (one or more) and quite some memory, and best be set to Unix-like proprotions. There is a paper with recommendations available at the HP site.


Willem Grooters
OpenVMS Developer & System Manager
SAMI AHMAD
Regular Advisor

Re: getting errors in java - urgent help needed

I found the issue.. the utility was trying to reach a node which is behind firewall and hanging ..
SAMI AHMAD
Regular Advisor

Re: getting errors in java - urgent help needed

java on openVMS needs to be on an ODS-5 volume because ODS-2 can't handle case sensitive files.
Second the process context of openVMS needs to be engaged while copying files and directories .
Third the follow variables helped :

$def/nolog DECC$ARGV_PARSE_STYLE ENABLE
$def/nolog DECC$EFS_CASE_PRESERVE ENABLE
$def/nolog DECC$EFS_CHARSET ENABLE
$def/nolog DECC$EFS_CASE_SPECIAL ENABLE
$def/nolog DECC$ENABLE_GETENV_CACHE ENABLE
$def/nolog DECC$POSIX_SEEK_STREAM_FILE ENABLE
$
Jan van den Ende
Honored Contributor

Re: getting errors in java - urgent help needed

SAMI AHMAD ,

from your Forum Profile:


I have assigned points to 0 of 25 responses to my questions.


Maybe you can find some time to do some assigning?

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.
Consider, that every poster took at least the trouble of posting for you!

To easily find your streams with unassigned points, click your own name somewhere.
This will bring up your profile.
Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.

Thanks on behalf of your Forum colleagues.

PS. nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before please do not take offence none is intended!

PPS. Zero points for THIS entry, please.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.