Skip to Content
0
Former Member
Nov 15, 2005 at 10:25 AM

Deployment fails during stub generation

66 Views

Hi all,

I am currently migrating a J2EE application from WLS to SAP NW 6.40. After solving a couple of issues

with my DDs, I am currently on a halt concerning the following stack trace. It occurs during deployment

with the SDM.


Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application myCompany.com/myApp.. 
Reason: Errors while compiling:C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/myCompany.com/myApp/EJBContainer/temp/temp1131986579437/com/myApp/server/ServiceProviderRemote_Stub.java:148: cannot resolve symbol
symbol  : variable inn 
location: class com.myApp.server.ServiceProviderRemote_Stub
				Object[] params = new Object[]{p4_replicateWithStreams(inn,outt,_param0)};
                                                                                ^
compiling:C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/myCompany.com/myApp/EJBContainer/temp/temp1131986579437/com/myApp/server/ServiceProviderRemote_Stub.java:148: cannot resolve symbol
symbol  : variable outt 
location: class com.myApp.server.ServiceProviderRemote_Stub
				Object[] params = new Object[]{p4_replicateWithStreams(inn,outt,_param0)};
                                                                                ^
compiling:C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/myCompany.com/myApp/EJBContainer/temp/temp1131986579437/com/myApp/server/ServiceProviderRemote_Stub.java:149: cannot resolve symbol
symbol  : variable inn 
location: class com.myApp.server.ServiceProviderRemote_Stub
				Class[] p = new Class[]{(Class) p4_replicateWithStreams(inn,outt,java.lang.StringBuffer.class)};
                                                                                ^
C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/myCompany.com/myApp/EJBContainer/temp/temp1131986579437/com/myApp/server/ServiceProviderRemote_Stub.java:149: cannot resolve symbol
symbol  : variable outt 
location: class com.myApp.server.ServiceProviderRemote_Stub
				Class[] p = new Class[]{(Class) p4_replicateWithStreams(inn,outt,java.lang.StringBuffer.class)};
                                                                                ^
4 errors
; nested exception is: 	com.sap.engine.services.ejb.exceptions.deployment.EJBFileGenerationException: 
Errors while C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/myCompany.com/myApp/EJBContainer/temp/temp1131986579437/com/myApp/server/ServiceProviderRemote_Stub.java:148: cannot resolve symbol

Unfortunately, I cannot examine the generated stub because the temporary deployment directory has been

cleaned up when this Exception occurs. Did anybody happen to run into a similar problem during

migration?

Ok, some news. I found the setting for SDM to keep deployed files on failure and was able to take a look at the problem. It's no wonder that I can't deploy because the generated stub is simply uncompilable.

The objects inn and outt used for the method call are simply not generated by the SAP generator, therefore the compilation error.

regards

Marcel