Skip to Content
avatar image
Former Member

Webservice deployment issues.

Hi All

I have some deployment issues when i try to deploy a ejb bean as a web service. I have a business method in the bean which accepts a complex data type as a parameter. this parameter is an object of a class that i have in my classpath. This class has some veriables and getter-setter methods. Now when i deploy the web service, i get the following errors...

Cannot deploy application sap.com/MyBeanWS..

Reason: < Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: [] > : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Cannot deploy application sap.com/MyBeanWS..

Reason: < Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: [] > : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.container.DeploymentException: < Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='', Arguments: [] > : Can't find resource for bundle java.util.PropertyResourceBundle, key ; nested exception is:

java.rmi.RemoteException: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Exception occured during web services 630 deployment. Unable to generate deployment data for archive T2.jar, application sap.com/MyBeanWS.; nested exception is:

java.rmi.RemoteException: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception. The reason is: Error occurred, trying to generate web services deployment files for application sap.com/MyBeanWS. . The error refers to application: none, jar: , web service: .; nested exception is:

java.rmi.RemoteException: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception. The reason is: Error occurred, deploying web service MyBeanWS, application sap.com/MyBeanWS. . Additional info: ; nested exception is:

java.rmi.RemoteException: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception. The reason is: Unable to generate complex types. The error refers to application: sap.com/MyBeanWS, jar: T2.jar, web service: MyBeanWS.; nested exception is:

java.rmi.RemoteException: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception. The reason is: Unable to generate complex types. The error refers to application: sap.com/MyBeanWS, jar: T2.jar, web service: MyBeanWS.; nested exception is:

java.rmi.RemoteException: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception. The reason is: Unable to generate complex types. Additional info: not available; nested exception is:

java.io.IOException: Compilation fails...

CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources

CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain

CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub

CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS

CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices

CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile

CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:405: fEMPNO is already defined in T2_MyBeanWS.EMPBlock

private java.lang.String fEMPNO;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:407: fhasEMPNO is already defined in T2_MyBeanWS.EMPBlock

private boolean fhasEMPNO;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:408: setEMPNO(java.lang.String) is already defined in T2_MyBeanWS.EMPBlock

public void setEMPNO(java.lang.String _EMPNO) {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:412: getEMPNO() is already defined in T2_MyBeanWS.EMPBlock

public java.lang.String getEMPNO() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:415: hasEMPNO() is already defined in T2_MyBeanWS.EMPBlock

public boolean hasEMPNO() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:418: clearEMPNO() is already defined in T2_MyBeanWS.EMPBlock

public void clearEMPNO() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:423: fENAME is already defined in T2_MyBeanWS.EMPBlock

private java.lang.String fENAME;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:425: fhasENAME is already defined in T2_MyBeanWS.EMPBlock

private boolean fhasENAME;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:426: setENAME(java.lang.String) is already defined in T2_MyBeanWS.EMPBlock

public void setENAME(java.lang.String _ENAME) {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:430: getENAME() is already defined in T2_MyBeanWS.EMPBlock

public java.lang.String getENAME() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:433: hasENAME() is already defined in T2_MyBeanWS.EMPBlock

public boolean hasENAME() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:436: clearENAME() is already defined in T2_MyBeanWS.EMPBlock

public void clearENAME() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:441: fHIREDATE is already defined in T2_MyBeanWS.EMPBlock

private java.lang.String fHIREDATE;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:443: fhasHIREDATE is already defined in T2_MyBeanWS.EMPBlock

private boolean fhasHIREDATE;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:444: setHIREDATE(java.lang.String) is already defined in T2_MyBeanWS.EMPBlock

public void setHIREDATE(java.lang.String _HIREDATE) {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:448: getHIREDATE() is already defined in T2_MyBeanWS.EMPBlock

public java.lang.String getHIREDATE() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:451: hasHIREDATE() is already defined in T2_MyBeanWS.EMPBlock

public boolean hasHIREDATE() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:454: clearHIREDATE() is already defined in T2_MyBeanWS.EMPBlock

public void clearHIREDATE() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:459: fJOB is already defined in T2_MyBeanWS.EMPBlock

private java.lang.String fJOB;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:461: fhasJOB is already defined in T2_MyBeanWS.EMPBlock

private boolean fhasJOB;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:462: setJOB(java.lang.String) is already defined in T2_MyBeanWS.EMPBlock

public void setJOB(java.lang.String _JOB) {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:466: getJOB() is already defined in T2_MyBeanWS.EMPBlock

public java.lang.String getJOB() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:469: hasJOB() is already defined in T2_MyBeanWS.EMPBlock

public boolean hasJOB() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:472: clearJOB() is already defined in T2_MyBeanWS.EMPBlock

public void clearJOB() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:477: fMGR is already defined in T2_MyBeanWS.EMPBlock

private java.lang.String fMGR;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:479: fhasMGR is already defined in T2_MyBeanWS.EMPBlock

private boolean fhasMGR;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:480: setMGR(java.lang.String) is already defined in T2_MyBeanWS.EMPBlock

public void setMGR(java.lang.String _MGR) {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:484: getMGR() is already defined in T2_MyBeanWS.EMPBlock

public java.lang.String getMGR() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:487: hasMGR() is already defined in T2_MyBeanWS.EMPBlock

public boolean hasMGR() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:490: clearMGR() is already defined in T2_MyBeanWS.EMPBlock

public void clearMGR() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:495: fSAL is already defined in T2_MyBeanWS.EMPBlock

private java.lang.String fSAL;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:497: fhasSAL is already defined in T2_MyBeanWS.EMPBlock

private boolean fhasSAL;

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:498: setSAL(java.lang.String) is already defined in T2_MyBeanWS.EMPBlock

public void setSAL(java.lang.String _SAL) {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:502: getSAL() is already defined in T2_MyBeanWS.EMPBlock

public java.lang.String getSAL() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:505: hasSAL() is already defined in T2_MyBeanWS.EMPBlock

public boolean hasSAL() {

^

C:\usr\sap\A08\JC70\j2ee\cluster\server0\temp\tcjewebservices~srv\apps\sap.com\MyBeanWS\mgr\nw04_tmp\ws_0\T2_MyBeanWS\EMPBlock.java:508: clearSAL() is already defined in T2_MyBeanWS.EMPBlock

public void clearSAL() {

^

36 errors

Please guide me as to what exactly is the error here.

I guess some confilct is there reagrding the class files, but am not able to decipher that...

Please give me some insight into this...

Waiting for the reply...

Thanks

Bhupesh...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 24, 2006 at 11:13 AM

    Hi All

    The issue has got resolved. The issue was with the IDE's generation of the webservice interfaces. i had in my complex object, variables with all the names in capiltal alphabets, like EMPNAME, EMPNO, etc. So when i tried to make a webservice out of the bean, the IDE generated some variables on its own, adhering to the java naming conventions and getter-setter methods for them. So, the conflict was there for the methods, which i had created and the methods that IDE created on its own for the variables generated.

    that was my mistake to generate the class variables like this, which i had to resolve now in my generator.

    So, when i made a new class with the variable name upholding to the java naming coventions, the WS got deployed perfectly.

    So if anyone have a issue like this, please make sure to follow the java naming conventions in ur complex object classes variables.

    Thanks

    Bhupesh...

    Add comment
    10|10000 characters needed characters exceeded