• Post Reply Bookmark Topic Watch Topic
  • New Topic

com.ibm.as400.data.PcmlException: Text not available for error message key 'java.util.MissingResour  RSS feed

 
athul chandran
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I'm getting the error mentioned in subject, in a DAO class, in the statement :
pcml = new ProgramCallDocument(as400Connection, programName);.

Please guide me with this.

Regards
Athul
 
James Elsey
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To quote from the IBS website : http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzahh/javadoc/com/ibm/as400/data/PcmlException.html


ProgramCallDocument

public ProgramCallDocument(AS400 sys,
java.lang.String docName)
throws PcmlException

Constructs a ProgramCallDocument. The PCML or XPCML document resource will be loaded from the classpath. If the document is a PCML document, the classpath will first be searched for a serialized resource. XPCML documents cannot be serialized. If a serialized resource is not found, the classpath will be searched for a PCML or XPCML source file.

Parameters:
sys - The AS400 on which to run the program.
docName - The document resource name of the PCML document for the programs to be called. The resource name can be a package qualified name. For example, "com.myCompany.myPackage.myPcml"
Throws:
PcmlException - when the specified PCML document cannot be found
See Also:
AS400


Is it possible that your PCML or XPCML resource is not on the classpath?
 
athul chandran
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,

Thanks for the quick reply.
Could you please be a little more clear with what I should do.
This project used to work fine before.
Now all of a sudden, it's giving this error.
It'll be really great of you if you could give some more info reg this.
thanks in advance

Regards
Athul
 
James Elsey
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no experience of what you're trying to do with IBM/AS400, but from reading up on the error message it does state that it may be due to the PCML file not being found.

You say it worked previously, can you remember what you have changed recently that would affect this? Do you have SVN or some other SCM where you can check logs?

I found another post, where someone states that the PCML file has to be in the same location as the class file, you could try that. Or check some other scenarios in your application where these features are being used
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!