0 down vote favorite I have a java code at server side which calls perl at client side and perl calls a java class for validationin client side.In server side I expect output like this which is constructed at my client side java class The below tag is constructed in client java class at server java i check this tag and say my execution was success and make some decisionins
<Composites> i=0 compositedetail=swlib:soaprov/soacomposite=eis/FileAdapter#eis/Fil +eAdapter# swlib:soaprov/soacomposite=eis/FileAdapter#eis/FileAdapter# starts + with swlib </Composites>
I Execute perl which contains below lines
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;
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.>
<Composites> i=0 compositedetail=swlib:soaprov/soacomposite=eis/FileAdapter#eis/FileAda +pter# swlib:soaprov/soacomposite=eis/FileAdapter#eis/FileAdapter# starts wit +h swlib </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
my $command = $java . ' -classpath ' . $classpath . ' ' . $secOptions + . ' ' . $className . ' ' . $serviceUrl . ' ' . $composites; print `$command`;

In reply to perl suppressing warnings when executing java class by sandeepda

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.