luyajun823
Contributor
Contributor

vcenter VMware vSAN Data Protection Service vsan-dps Service crashed while starting

Jump to solution

vsan-dps  Service crashed while starting

/var/log/vmware/vsan-dps/dps-runtime.log-0.stderr

Starting service process with pid: 13505.

Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M

-Dcom.sun.org.apache.xml.internal.security.ignoreLineBreaks=true

-Dorg.apache.xml.security.ignoreLineBreaks=true

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/beans/factory/config/PlaceholderConfigurerSupport

at java.lang.Class.getDeclaredMethods0(Native Method)

at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

at java.lang.Class.privateGetMethodRecursive(Class.java:3048)

at java.lang.Class.getMethod0(Class.java:3018)

at java.lang.Class.getMethod(Class.java:1784)

at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)

at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)

Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.config.PlaceholderConfigurerSupport

at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)

at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

... 7 more

1 Solution

Accepted Solutions
luyajun823
Contributor
Contributor

/etc/vmware/vmware-vmon/svcCfgfiles/vsan-dps.json   

Modify dependent JAVA class library

This should be a BUG

The JAVA class library version in the file is too low

View solution in original post

7 Replies
luyajun823
Contributor
Contributor

vCenter Server Appliance    Build number 16708996   VCSA6.7U3j

find -name spring-beans*

./usr/lib/vmware-content-library/jars/spring-beans-4.3.27.RELEASE.jar

./usr/lib/vmware/cis_upgrade_runner/payload/component-scripts/is/lib/spring-beans.jar

./usr/lib/vmware/common-jars/spring-beans-4.3.25.RELEASE.jar

./usr/lib/vmware/common-jars/spring-beans-4.3.27.RELEASE.jar

./usr/lib/vmware-sca/lib/spring-beans-4.3.27.RELEASE.jar

./usr/lib/vmidentity/tools/lib/spring-beans-4.3.27.RELEASE.jar

./usr/lib/vmware-vsphere-ui/server/work/Catalina/localhost/ROOT/eclipse/plugins/spring-beans-4.3.27.RELEASE.jar

./usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/lib/spring-beans-4.3.25.RELEASE.jar

./usr/lib/vmware-sso/vmware-sts/webapps/ROOT/WEB-INF/lib/spring-beans-4.3.27.RELEASE.jar

./opt/vmware/lib64/spring-beans-4.3.27.RELEASE.jar

0 Kudos
depping
Leadership
Leadership

moved it over to the vSAN section of the forum.

Have you tried restarting again just to see what happens?

0 Kudos
visorfs
VMware Employee
VMware Employee

We do not use the service and it doesnt have any dependency. So please ignore it. if you still have issues, the problem might be else where.

0 Kudos
luyajun823
Contributor
Contributor

/etc/vmware/vmware-vmon/svcCfgfiles/vsan-dps.json   

Modify dependent JAVA class library

This should be a BUG

The JAVA class library version in the file is too low

DanieleForYou
Contributor
Contributor

Hello,

I have the same problem. Could you please be a little more specific?

Which is the required JAVA library version that should be used?

Thank you in advance

0 Kudos
Lloyd_r
Contributor
Contributor

Hello,

I just meet this same issue.
Do you please have more details?

 

sudo find -name spring-beans*
./opt/vmware/lib64/spring-beans-4.3.25.RELEASE.jar
./usr/lib/vmidentity/tools/lib/spring-beans-4.3.25.RELEASE.jar
./usr/lib/vmware-sso/vmware-sts/webapps/ROOT/WEB-INF/lib/spring-beans-4.3.25.RELEASE.jar
./usr/lib/vmware-sca/lib/spring-beans-4.3.25.RELEASE.jar
./usr/lib/vmware-content-library/jars/spring-beans-4.3.25.RELEASE.jar
./usr/lib/vmware-vsphere-ui/server/work/Catalina/localhost/ROOT/eclipse/plugins/spring-beans-4.3.24.RELEASE.jar
./usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/lib/spring-beans-4.3.25.RELEASE.jar
./usr/lib/vmware/common-jars/spring-beans-4.3.25.RELEASE.jar
./usr/lib/vmware/cis_upgrade_runner/payload/component-scripts/is/lib/spring-beans.jar

 

more /etc/vmware/vmware-vmon/svcCfgfiles/vsan-dps.json | grep spring-beans

spring-beans-4.3.22.RELEASE.jar:%VMWARE_COMMON_JARS%

 

So, I tried to change

"spring-beans-4.3.22.RELEASE.jar:%VMWARE_COMMON_JARS%"

by

"spring-beans-4.3.25.RELEASE.jar:%VMWARE_COMMON_JARS%"

But the error is still the same: "Service crashed while starting"

 

Do I have to do something more or different? Do I need to restart something?

 

Thank you

0 Kudos
lexit
Contributor
Contributor

Exactly the same problem and no clue what needs to be changed according to the solution provided. Also i cannot create any backups with veeam now with this service stopped.

Strange as vmware mentions this service is no longer used or needed

Edit:

i tried the following solution which is completely unrelated to the above error: https://kb.vmware.com/s/article/75088

And after reboot of my vcenter server all came up again, not the needed vsan service but i was then able to do my backups and everything. Really weird ...

I also looked at the following kb: https://kb.vmware.com/s/article/78042 and noticed the vsan service is masked which is probably the reason the service won't start

 

0 Kudos