Variable not defined : invoke_1_out on any Service when dropped on Wires canvas

Joined: 10/29/2009
Points: 10
Groups: None

Hi,

I've repeated this on two machines (Vista & XP).   I get the following error when I drop a Service on the Wires canvas.  The steps I followed were:

Create provider,  create WSDL in Service Explorer.  Go to Wires, select Service, drop on canvas and get the following

I'm using version 2.7.0 [ build 060309 ]

Any ideas?  I think the install went well as I can access everything.

Barton

 

2009-12-05 11:53:14,415 ERROR [com.jackbe.jbp.jems.moe.runtime.JEMSDesignerImpl] - Error accessing Variable invoke_1_out: Variable not defined : invoke_1_out
com.jackbe.jbp.jems.moe.runtime.JEMSException: Variable not defined : invoke_4_out
    at com.jackbe.jbp.jems.moe.runtime.expr.VariablesManager.getUserAttributeVar(VariablesManager.java:102)
    at com.jackbe.jbp.jems.moe.runtime.expr.VariablesManager.get(VariablesManager.java:86)
    at com.jackbe.jbp.jems.moe.runtime.JEMSDesignerImpl.getVariableValue(JEMSDesignerImpl.java:488)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.jackbe.jbp.sas.saf.spa.pojo.POJOServiceProviderAdapter.invoke(POJOServiceProviderAdapter.java:127)
    at com.jackbe.jbp.sas.sg.controller.ServiceInvokerImpl.invokeService(ServiceInvokerImpl.java:195)
    at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.jackbe.jbp.sas.security.ServiceInvocationInterceptor.invoke(ServiceInvocationInterceptor.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy11.invokeService(Unknown Source)
    at com.jackbe.jbp.sas.sg.controller.ServiceGatewayController.handleRequestInternal(ServiceGatewayController.java:277)
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:858)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at com.jackbe.jbp.sas.security.ui.http.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:195)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.x509.X509ProcessingFilter.doFilter(X509ProcessingFilter.java:138)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at com.jackbe.jbp.sas.security.ui.jump.JumpLoginProcessingFilter.doFilter(JumpLoginProcessingFilter.java:181)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at com.jackbe.jbp.sas.security.ui.jump.JumpSessionIntegrationFilter.doFilter(JumpSessionIntegrationFilter.java:128)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at com.jackbe.jbp.sas.security.ui.jump.JumpLogoutFilter.doFilter(JumpLogoutFilter.java:121)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at com.jackbe.jbp.sas.security.ui.http.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:162)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
    at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

 

 

0
Your rating: None
Joined: 10/29/2009
Points: 10
Groups: None

Argh...

Now on my dog slow XP box I get the similar stack when the Service is dropped in Wires, but now the bottom link of the icon is available as opposed to my other box where the icon doesn't have any of the "connect"  links.

Barton

com.jackbe.jbp.sas.saf.common.exception.ServiceInvocationException: Error accessing Variable invoke_1_out: Variable not defined : invoke_1_out
    at com.jackbe.jbp.sas.saf.spa.pojo.POJOServiceProviderAdapter.invoke(POJOServiceProviderAdapter.java:183)
    at com.jackbe.jbp.sas.sg.controller.ServiceInvokerImpl.invokeService(ServiceInvokerImpl.java:195)
    at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at rg.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.jackbe.jbp.sas.security.ServiceInvocationInterceptor.invoke(ServiceInvocationInterceptor.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy11.invokeService(Unknown Source)
    at com.jackbe.jbp.sas.sg.controller.ServiceGatewayController.handleRequestInternal(ServiceGatewayController.java:277)
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:858)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 

Joined: 10/29/2009
Points: 10
Groups: None

ok - on the old XP box, I can finish the Mashup but when I try to now go to the Mashlet, I get the following:

 

Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:572)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.io.IOException: tmpFile.renameTo(classFile) failed
org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:245)
org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:164)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:424)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

aishmishra's picture
User offline. Last seen 4 hours 37 min ago. Offline
Joined: 09/24/2008
Points: 1
Groups: None

Hi Barton,

Let me try to reply to your queries:

i. The Error "accessing Variable invoke_1_out: Variable not defined : invoke_1_out" that you see in Tomcat console is harmless. We may be taking care of it in the next release.

ii. Could you give information on the browser that you are using to access Wires on both machines. There is an issue in Wires when trying to run it on Firefox 3.5.x Most probably the machine on which you do not see the icons is running Firefox 3.5.x

Refer to this link to get the patch http://www.jackbe.com/enterprise-mashup/patches/091009/presto270-wires-f...

iii. In your next reply could you attached more log information with regard to the error you are getting when you are trying to create a mashlet. You can can get this information in presto.log which can be found under <presto-install-directory>/logs

Do let us know how it goes

Joined: 10/29/2009
Points: 10
Groups: None

Hi,

On my Vista box with FF3.5 and the patch, everything functions fine! 

I rebooted my old slow XP box and tried to repeat the problem but was not able to.

Thanks for  your help, I think this can be closed.

Barton

aishmishra's picture
User offline. Last seen 4 hours 37 min ago. Offline
Joined: 09/24/2008
Points: 1
Groups: None

Happy to see your issue resolved. Do keep the comments and feedback coming.