Skip to main content
December 29, 2009
Question

Intermittent Could not generate stub objects for web service invocation errors

  • December 29, 2009
  • 1 reply
  • 952 views

Hi,

I'm hoping someone can point me in the right direction...We are running Coldfusion 8 and keep getting the stub objects errors intermittently.  The web service will work for a while then it will just stop working for while, then it will start back working again.  There doesn't seem to be any rhyme or reason to it, and we're not doing anything to the server in the meantime.  I don't even know how to begin to diagnose the problem.  Has anyone ever seen this or have any ideas of some things we can check?

Thanks!

Holli

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
December 30, 2009

Could we see the error message, and the section of code it refers to?

December 30, 2009

It's a load-balanced environment and we've turned the bad server off for now.  Also, I was wrong.  We're running CF7. I'm getting my environments mixed up. Sorry about that. You can still get to the service on the good server though. This is the link: http://www.asthmaagents.com/services/init.cfc?WSDL  After I posted this, we were able to get a little more info.  When I went directly to the service using that link, we got this error message off and on when we would refresh the browser:

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - Error attempting to create Java skeleton for CFC web service; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : cfinit2ecfc338058839$funcRECORDSESSION]

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Error attempting to create Java skeleton for CFC web service; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : cfinit2ecfc338058839$funcRECORDSESSION]
faultActor:
faultNode:
faultDetail:
    {http://xml.apache.org/axis/}hostname:corpinternet1g

Still, nothing is consistent and it's working fine on the other server.  I'm at a loss.  I really appreciate you taking a look at this! Any info will be helpful.

Thanks!

Holli

BKBK
Community Expert
Community Expert
December 30, 2009

Your WSDL says your Coldfusion version has build number 7,0,0,91690. This implies you've added little in the way of hotfixes or updates for CFMX7.

I remember there were a lot of hotfixes and updates after MX7 was released, some of them critical. In particular, some involved web services. See, for example, ColdFusion MX 7 Cumulative Hot Fix 3 and ColdFusion MX 7.0.1 Cumulative Hot Fix 2

I would upgrade to MX 7.0.2 and apply the relevant hotfixes. MX 7.0.2 is generally known to be the most stable, most robust build of MX 7.