Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

cannot update properties file using single file update option

Hi All,

I have my project with lot of ejb modules. One of them is misc.jar which contain serverconfig.properties file.It has information of port number and some other things.

After deployment, I want to change this serverconfig.properties with single file update option of visual admin utility. For this I tried following steps

1) selected the application then clicked on single file update.

2) selected misc.jar module

3) entered the path of the file with which I want to update file(d:\fileforupdate\serverconfig.properties)

4) selected the con\serverconfig.properties(path of the client.properties in misc.jar)

5) clicked ok

Later on, when it was trying to update the file, following errors are occured.

Single File Update

Update of file(s) of sap.com/TrueDemandApplications failed, because :

java.rmi.RemoteException: Exception while making single file update of application sap.com/TrueDemandApplications..

Reason: Error during single file update.; nested exception is:

com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Error during single file update.

at com.sap.engine.services.ejb.EJBAdmin.makeSingleFileUpdate(EJBAdmin.java:2794)

at com.sap.engine.services.deploy.server.application.SingleFileUpdateTransaction.begin(SingleFileUpdateTransaction.java:223)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)

at com.sap.engine.services.deploy.server.DeployServiceImpl.singleFileUpdate(DeployServiceImpl.java:856)

at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.singleFileUpdate(DeployRuntimeControlImpl.java:674)

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:324)

at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)

at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)

at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)

at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)

at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)

at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)

at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)

at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)

at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)

at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)

at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)

at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)

at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)

at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)

at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: java.lang.ClassNotFoundException: serverconfig.prop

-


Loader Info -


ClassLoader name: [Update:sap.com/TrueDemandApplications]

Parent loader name: [Frame ClassLoader]

References:

common:service:http;service:servlet_jsp

service:ejb

common:service:iiop;service:naming;service:p4;service:ts

service:jmsconnector

library:jsse

library:servlet

common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl

library:ejb20

library:j2eeca

library:jms

library:opensql

common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore

interface:resourcecontext_api

interface:webservices

interface:cross

interface:ejbserialization

Resources:

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdplanningejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdadminejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdappinfoejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdevtmgmtejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\misc.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\temp\deploy\sap.com\TrueDemandApplications

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdsecurityejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdmetadatasvcejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdalertsejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tddatamgmtejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdengappsejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdrecmdejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdolapejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdtaskmgmtejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdgridProc.jar

Loading model: {parent,references,local}

-


at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)

at com.sap.engine.services.ejb.EJBAdmin.makeSingleFileUpdate(EJBAdmin.java:2792)

... 35 more

', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Error during single file update.

at com.sap.engine.services.ejb.EJBAdmin.makeSingleFileUpdate(EJBAdmin.java:2794)

at com.sap.engine.services.deploy.server.application.SingleFileUpdateTransaction.begin(SingleFileUpdateTransaction.java:223)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)

at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)

at com.sap.engine.services.deploy.server.DeployServiceImpl.singleFileUpdate(DeployServiceImpl.java:856)

at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.singleFileUpdate(DeployRuntimeControlImpl.java:674)

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:324)

at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)

at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)

at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)

at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)

at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)

at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)

at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)

at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)

at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)

at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)

at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)

at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)

at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)

at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)

at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: java.lang.ClassNotFoundException: serverconfig.prop

-


Loader Info -


ClassLoader name: [Update:sap.com/TrueDemandApplications]

Parent loader name: [Frame ClassLoader]

References:

common:service:http;service:servlet_jsp

service:ejb

common:service:iiop;service:naming;service:p4;service:ts

service:jmsconnector

library:jsse

library:servlet

common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl

library:ejb20

library:j2eeca

library:jms

library:opensql

common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore

interface:resourcecontext_api

interface:webservices

interface:cross

interface:ejbserialization

Resources:

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdplanningejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdadminejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdappinfoejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdevtmgmtejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\misc.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\temp\deploy\sap.com\TrueDemandApplications

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdsecurityejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdmetadatasvcejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdalertsejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tddatamgmtejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdengappsejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdrecmdejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdolapejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdtaskmgmtejb.jar

D:\usr\sap\SCR\JC01\j2ee\cluster\server0\apps\sap.com\TrueDemandApplications\EJBContainer\backup\tdgridProc.jar

Loading model: {parent,references,local}

-


at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)

at com.sap.engine.services.ejb.EJBAdmin.makeSingleFileUpdate(EJBAdmin.java:2792)

... 35 more

please help me to out this problem

This is very important requirement for me.

Regards,

Chandan

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question