views:

77

answers:

1

I've successsfully created ActiveXObject under development on Netbeans.

import org.codehaus.groovy.scriptom.ActiveXObject def sas = new ActiveXObject("SAS.Application")

however, when I deployed the app to tomcat, i got the following message:

com.jacob.com.ComFailException: Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native Method) at com.jacob.com.Dispatch.(Dispatch.java:101) at com.jacob.activeX.ActiveXComponent.(ActiveXComponent.java:58) at org.codehaus.groovy.scriptom.ActiveXObject.(ActiveXObject.java:142) at com.mdci.SasController$_closure7.doCall(SasController.groovy:127) at com.mdci.SasController$_closure7.doCall(SasController.groovy) at java.lang.Thread.run(Unknown Source)

also,

I'm running on the same window machine for the development and the deployment.

and I did put jacob.jar in my tomcat lib.

can some one give me some hints? please?

thanks.

A: 

I am having exact same problem. The code works perfectly from Eclipse, and throws exact same error from within Tomcat.

Did you resolve the problem?

Eddie