Topic
  • 5 replies
  • Latest Post - ‏2010-02-20T09:27:47Z by jennifer2012
SystemAdmin
SystemAdmin
14225 Posts

Pinned topic Unresolved compilation problems

‏2006-12-18T14:37:12Z |
Hi,
I have migrated my Project from 5.0 to 6.0. While logging I am getting the following exception. Any clue why this is happening...?

--------------STACK TRACE----------------
12/18/06 19:55:59:797 IST 0000002e SystemErr R java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.Error: Unresolved compilation problems:
The method doesJaccNeedsEJBArguments(EJSRemoteStatelessUserSessionFacadeHome_2f919e27) is undefined for the type EJSContainer
The method preInvoke(EJSWrapper, int, EJSDeployedSupport) in the type EJSContainer is not applicable for the arguments (EJSRemoteStatelessUserSessionFacadeHome_2f919e27, int, EJSDeployedSupport, Object[])

at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:688)
at javax.rmi.CORBA.Util.wrapException(Util.java:296)
at com.honeywell.aes.security.sessionFacade._UserSessionFacadeHome_Stub.create(_UserSessionFacadeHome_Stub.java:237)
at com.honeywell.aes.security.businessDelegate.SecurityDelegate.process(SecurityDelegate.java:51)
at com.honeywell.aes.security.action.LoginAction.authenticateLogin(LoginAction.java:197)
at com.honeywell.aes.security.action.LoginAction.loginUser(LoginAction.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
at com.honeywell.aes.security.action.SecurityBaseAction.dispatchMethod(SecurityBaseAction.java:301)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
at com.honeywell.aes.security.action.SecurityBaseAction.execute(SecurityBaseAction.java:65)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
Caused by: java.lang.Error: Unresolved compilation problems:
The method doesJaccNeedsEJBArguments(EJSRemoteStatelessUserSessionFacadeHome_2f919e27) is undefined for the type EJSContainer
The method preInvoke(EJSWrapper, int, EJSDeployedSupport) in the type EJSContainer is not applicable for the arguments (EJSRemoteStatelessUserSessionFacadeHome_2f919e27, int, EJSDeployedSupport, Object[])

at com.honeywell.aes.security.sessionFacade.EJSRemoteStatelessUserSessionFacadeHome_2f919e27.create(EJSRemoteStatelessUserSessionFacadeHome_2f919e27.java:35)
at com.honeywell.aes.security.sessionFacade._UserSessionFacadeHome_Stub.create(_UserSessionFacadeHome_Stub.java:230)
... 33 more

12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:688)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at javax.rmi.CORBA.Util.wrapException(Util.java:296)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.sessionFacade._UserSessionFacadeHome_Stub.create(_UserSessionFacadeHome_Stub.java:237)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.businessDelegate.SecurityDelegate.process(SecurityDelegate.java:51)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.action.LoginAction.authenticateLogin(LoginAction.java:197)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.action.LoginAction.loginUser(LoginAction.java:103)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
12/18/06 19:55:59:797 IST 0000002e SystemErr R at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
12/18/06 19:55:59:797 IST 0000002e SystemErr R at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.action.SecurityBaseAction.dispatchMethod(SecurityBaseAction.java:301)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.action.SecurityBaseAction.execute(SecurityBaseAction.java:65)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
12/18/06 19:55:59:797 IST 0000002e SystemErr R Caused by: java.lang.Error: Unresolved compilation problems:
The method doesJaccNeedsEJBArguments(EJSRemoteStatelessUserSessionFacadeHome_2f919e27) is undefined for the type EJSContainer
The method preInvoke(EJSWrapper, int, EJSDeployedSupport) in the type EJSContainer is not applicable for the arguments (EJSRemoteStatelessUserSessionFacadeHome_2f919e27, int, EJSDeployedSupport, Object[])

12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.sessionFacade.EJSRemoteStatelessUserSessionFacadeHome_2f919e27.create(EJSRemoteStatelessUserSessionFacadeHome_2f919e27.java:35)
12/18/06 19:55:59:797 IST 0000002e SystemErr R at com.honeywell.aes.security.sessionFacade._UserSessionFacadeHome_Stub.create(_UserSessionFacadeHome_Stub.java:230)
12/18/06 19:55:59:797 IST 0000002e SystemErr R ... 33 more
Updated on 2010-02-20T09:27:47Z at 2010-02-20T09:27:47Z by jennifer2012
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: Unresolved compilation problems

    ‏2010-01-06T09:54:23Z  
    Hi All,

    I am facing a similar issue. I am using RAD 7.0.

    If i try to compile my application on WAS 6.1 - Java 5.0, i do not get any such errors. My application runs just fine.
    However if i change the Application Configuration to WAS 5.1 - Java 1.4, i get the compilation error as below.

    The method preInvoke(EJSWrapperBase, int, EJSDeployedSupport, String) in the type EJSContainer is not applicable for the arguments (EJSRemoteStatelessMPCManagementSessionHomeHome_3d6c1ac3, int, EJSDeployedSupport, Object[])

    Any update on solving this error is appreciated.

    Regards,
    Darshan Shroff
    shroffdarshan@gmail.com
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: Unresolved compilation problems

    ‏2010-01-06T11:18:54Z  
    Hi All,

    I am facing a similar issue. I am using RAD 7.0.

    If i try to compile my application on WAS 6.1 - Java 5.0, i do not get any such errors. My application runs just fine.
    However if i change the Application Configuration to WAS 5.1 - Java 1.4, i get the compilation error as below.

    The method preInvoke(EJSWrapperBase, int, EJSDeployedSupport, String) in the type EJSContainer is not applicable for the arguments (EJSRemoteStatelessMPCManagementSessionHomeHome_3d6c1ac3, int, EJSDeployedSupport, Object[])

    Any update on solving this error is appreciated.

    Regards,
    Darshan Shroff
    shroffdarshan@gmail.com
    Hi All,

    Issue Solved. :)

    Have a look at the below links :-
    a) http://www.ibm.com/developerworks/forums/thread.jspa?threadID=120865
    b) http://www.ibm.com/developerworks/forums/thread.jspa?threadID=121080
    c) http://www.coderanch.com/t/72721/Websphere/WSAD-not-generating-correct-deployment

    All of them pointing to the same kind of EJB compilation errors. The above links mention that deleting the stubs manually and Clean+Building the Code and Redeploying should work. I did the same and it worked like a charm.

    Thanks & Regards,
    Darshan Shroff
    shroffdarshan@gmail.com
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: Unresolved compilation problems

    ‏2010-01-06T11:41:55Z  
    Hi All,

    I am facing a similar issue. I am using RAD 7.0.

    If i try to compile my application on WAS 6.1 - Java 5.0, i do not get any such errors. My application runs just fine.
    However if i change the Application Configuration to WAS 5.1 - Java 1.4, i get the compilation error as below.

    The method preInvoke(EJSWrapperBase, int, EJSDeployedSupport, String) in the type EJSContainer is not applicable for the arguments (EJSRemoteStatelessMPCManagementSessionHomeHome_3d6c1ac3, int, EJSDeployedSupport, Object[])

    Any update on solving this error is appreciated.

    Regards,
    Darshan Shroff
    shroffdarshan@gmail.com
    Hello All,

    Issue solved.

    The links below point to the same kind of EJB Compilation errors that we are talking about here -
    a) http://www.ibm.com/developerworks/forums/thread.jspa?threadID=121080
    b) http://www.ibm.com/developerworks/forums/thread.jspa?threadID=120865
    c) http://www.coderanch.com/t/72721/Websphere/WSAD-not-generating-correct-deployment

    All of them advise to delete the stubs manually and then Clean+Build and Redeploy.
    I tried the same and worked like a charm for me.

    Thanks & Regards,
    Darshan Shroff
  • freed
    freed
    1 Post

    Re: Unresolved compilation problems

    ‏2010-02-15T13:43:18Z  
    FYI -
    I had the same problem on a project migrated from WSADIE 5.1 to RAD 7.0 but with a differerent cause & resolution:

    The cause was that I was targeting WAS 6.1 for runtime but the build was not resolving to the correct cooresponding jar for the EJB.

    The resolution was to change the EJB classpath. In properties>java build path>order and export, I moved the server library (in my case, Websphere Application Server v6.1) up in the order so that would resolve before any of my WAS 5.0 libraries. If you don't have automatic build on, then rebuild after making this change.
  • jennifer2012
    jennifer2012
    1 Post

    Re: Unresolved compilation problems

    ‏2010-02-20T09:27:47Z  
    • freed
    • ‏2010-02-15T13:43:18Z
    FYI -
    I had the same problem on a project migrated from WSADIE 5.1 to RAD 7.0 but with a differerent cause & resolution:

    The cause was that I was targeting WAS 6.1 for runtime but the build was not resolving to the correct cooresponding jar for the EJB.

    The resolution was to change the EJB classpath. In properties>java build path>order and export, I moved the server library (in my case, Websphere Application Server v6.1) up in the order so that would resolve before any of my WAS 5.0 libraries. If you don't have automatic build on, then rebuild after making this change.
    thanks. guys