1844887 Members
1696 Online
110233 Solutions
New Discussion

armcopy java errors

 
Chaz Emery
Advisor

armcopy java errors

Need help with Java error:
We are receiving Java errors from the armcopy script in the middle of running a refresh of our VA LUNS to the business copy LUNS. We are doing this via an exsid SAP script provided by HP.
We have Parent LUNs 1-18, and Business Copies 501-518. LUNS 1-6 copy successfully to LUNS 501-506, copies to 507-516 fail, and copies to 517 & 518 succeed.

The java error looks as follows:
java.net.UnknownHostException: -a: -a

her it is in context:
======================================
Business copy LUN "505" has copied data from Parent.
ExSID: ... starting split for LUN 506
Business copy LUN "506" has copied data from Parent.
ExSID: ... starting split for LUN 507

java.net.UnknownHostException: -a: -a

ExSID: ... starting split for LUN 508

java.net.UnknownHostException: -a: -a

======================================

Here is the armcopy script we think is generating the error:
======================================
#!/sbin/sh

#
# Created: 11/01/2000
# File : armcopy
# OS : HP-UX
#
# Description:
# Script used to run the CLUI armsnap command
#

ScriptPath=$(dirname $0)

# Set up the common environment variables
. ${ScriptPath}/PanScriptCommon.sh

# Set up the class path
CLASSPATHA=${ClCls}clui.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}jcore.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}hostcompsdk.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}panutils.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}sandevice.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}dev_obj/cassinidevobj.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}DOFactory.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}Security.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}CVSDMLicensing.jar
CLASSPATHA=${CLASSPATHA}:${INSTDIR}/../cssi/Licensing/classes/Licensing.jar

# Set the main class
CLASSMAIN=com.hp.Array2001Mgr.clui.armsnap

# Execute Java
${JREEXE} -classpath ${CLASSPATHA} ${CLASSMAIN} "$@"
ExitVal=$?

exit ${ExitVal}
===========================================
2 REPLIES 2
Antonio Cardoso_1
Trusted Contributor

Re: armcopy java errors

Hi,

The meaning of java exception, is "-a" not being resolved as hostname.
It looks like this "-a" is a badly placed parameter in command line ? Is it one of parameters you pass to the script ?
If so, check syntax.
Torsten.
Acclaimed Contributor

Re: armcopy java errors

Commandview SDM is very sensible regarding name resolve issues. If you have recently changed the IP configuration, you have to adjust commandviews config files and install all needed java patches.

BTW, what version are you running?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!