sandeepda has asked for the wisdom of the Perl Monks concerning the following question:
I Execute perl which contains below lines<Composites> i=0 compositedetail=swlib:soaprov/soacomposite=eis/FileAdapter#eis/Fil +eAdapter# swlib:soaprov/soacomposite=eis/FileAdapter#eis/FileAdapter# starts + with swlib </Composites>
Now the isssue in SSL it generate some warning messages and gives output like below <May 7, 2013 1:21:59 AM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> <May 7, 2013 1:21:59 AM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> <May 7, 2013 1:21:59 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=CertGenCA,OU=FOR TESTING ONLY,O=MyOrganization,L=MyTown,ST=MyState,C=ka". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>my $keyStoreLoc = $emState.'Test.jks'; my $secOptions="-Dweblogic.security.SSL.trustedCAKeyStore=$keyStoreLoc +"; my $className = 'xyz.AdapterValidator'; my $command = $java . ' -classpath ' . $classpath . ' ' . $secOptions . ' ' . $className . ' ' . $serviceUrl . ' ' . $composites;
Is there a way to do supress them in perl?I need only my tag not warnings One more doubt without calling system command how is my java class getting calledBecause in my perl i am just doing<Composites> i=0 compositedetail=swlib:soaprov/soacomposite=eis/FileAdapter#eis/FileAda +pter# swlib:soaprov/soacomposite=eis/FileAdapter#eis/FileAdapter# starts wit +h swlib </Composites>
my $command = $java . ' -classpath ' . $classpath . ' ' . $secOptions + . ' ' . $className . ' ' . $serviceUrl . ' ' . $composites; print `$command`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl suppressing warnings when executing java class
by Anonymous Monk on May 13, 2013 at 21:01 UTC | |
by sandeepda (Novice) on May 13, 2013 at 21:19 UTC | |
by tobyink (Canon) on May 13, 2013 at 21:31 UTC | |
by Old_Gray_Bear (Bishop) on May 13, 2013 at 23:27 UTC |