TeamServer installation in linux

Hello,

Just new to VP. We want to install VP Team Server in a linux server (CentOS) who’s only got command line (no graphics). Is it possible ?

We want to use the TeamServer from this central server, so that people only having web browser can access it. It seems the serviceruns in port TCP 1999. Is it possible too?

Another question:
To test the tool, I tried an installation in a Linux with Desktop environment first.
I downloaded a 30days installer free instance, unzip it and in directory /opt/Visual_Paradigm_16.3/Application/resources,
Then I unziped VP_Server_Linux64.tar.gz in this same directory.
Then I modified JRE_HOME in file catalina.sh (to point to /opt/Visual_Paradigm_16.3/jre) and launched the script startup.sh which is in /opt/Visual_Paradigm_16.3/Application/resources/VPServer/scripts/

I got something running in port TCP port 1999, but I got an HTTP 404 error. It seems to come from Apache Tomcat/8.5.63.
Where is Team Server ? Can someone tell me what I’m missing ?

Thanks in advance,

Hi Toto,

Thank you for your post.

You can run the scripts\startup.sh in VP Server to start the server first. Then, in another machine with GUI, start a web browser, visit the address of VP Server to perform the installation.

Yes, it’s possible, but I am not clear about your concern over the port number. Do you mean you want to use another port?

About the final question, you do not need to change the JRE prior to installation. Besides, Visual Paradigm is not required to install VP Server. You can unzip VP Server to anywhere, run the startup.sh file, open a web browser and access the server address to start the installation. Could you have a try? If it remain failed, please upload the file VPServer\webserver\webapps\ROOT\WEB-INF\log\vpserver.log for us to check further. Thank you.

Best regards,
Jick Yeung

Hello Jick,

Thanks for the answer. There’s no vpserver.log in the directory you say, but found a catalina.log in webserver/logs/

This is what I got (sorry your system doesn’t leave me upload a file ):

root@kali:/opt/VPServer/scripts# ./startup.sh
Using CATALINA_BASE: /opt/VPServer/webserver
Using CATALINA_HOME: /opt/VPServer/webserver
Using CATALINA_TMPDIR: /opt/VPServer/webserver/temp
Using JRE_HOME: /usr/lib/jvm/java-8-openjdk-amd64/jre
Using CLASSPATH: /opt/VPServer/webserver/bin/bootstrap.jar:/opt/VPServer/webserver/bin/tomcat-juli.jar
Using CATALINA_OPTS:
22-Apr-2021 10:29:59.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.63
22-Apr-2021 10:29:59.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan 29 2021 11:21:49 UTC
22-Apr-2021 10:29:59.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.63.0
22-Apr-2021 10:29:59.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
22-Apr-2021 10:29:59.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.10.0-kali7-amd64
22-Apr-2021 10:29:59.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
22-Apr-2021 10:29:59.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-8-openjdk-amd64/jre
22-Apr-2021 10:29:59.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_212-8u212-b01-1-b01
22-Apr-2021 10:29:59.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
22-Apr-2021 10:29:59.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /opt/VPServer/webserver
22-Apr-2021 10:29:59.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /opt/VPServer/webserver
22-Apr-2021 10:29:59.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/VPServer/webserver/conf/logging.properties
22-Apr-2021 10:29:59.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
22-Apr-2021 10:29:59.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms256m
22-Apr-2021 10:29:59.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1024m
22-Apr-2021 10:29:59.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
22-Apr-2021 10:29:59.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
22-Apr-2021 10:29:59.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0022
22-Apr-2021 10:29:59.975 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
22-Apr-2021 10:29:59.975 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/VPServer/webserver
22-Apr-2021 10:29:59.975 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/VPServer/webserver
22-Apr-2021 10:29:59.975 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/VPServer/webserver/temp
22-Apr-2021 10:29:59.975 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
22-Apr-2021 10:30:00.059 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-1999”]
22-Apr-2021 10:30:00.073 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
22-Apr-2021 10:30:00.088 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 499 ms
22-Apr-2021 10:30:00.127 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
22-Apr-2021 10:30:00.127 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.63
22-Apr-2021 10:30:00.161 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/VPServer/webserver/webapps/diagrams.war]
22-Apr-2021 10:30:00.496 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/VPServer/webserver/webapps/diagrams.war] has finished in [335] ms
22-Apr-2021 10:30:00.497 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/VPServer/webserver/webapps/tabular.war]
22-Apr-2021 10:30:00.519 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/VPServer/webserver/webapps/tabular.war] has finished in [21] ms
22-Apr-2021 10:30:00.519 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/VPServer/webserver/webapps/forms.war]
22-Apr-2021 10:30:00.534 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/VPServer/webserver/webapps/forms.war] has finished in [15] ms
22-Apr-2021 10:30:00.535 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/VPServer/webserver/webapps/ROOT]
22-Apr-2021 10:30:00.710 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.processServletContainerInitializers Unable to process ServletContainerInitializer for [org.glassfish.jersey.servlet.init.JerseyServletContainerInitializer]. This is most likely due to a class defined in the @HandlesTypes annotation being missing. Enable DEBUG level logging for the full stack trace.
22-Apr-2021 10:30:00.726 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1085)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1802)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/ProcessingException
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2438)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:870)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1341)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110)
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:269)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:137)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:69)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:782)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5069)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
… 10 more
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.ProcessingException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1372)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
… 30 more
22-Apr-2021 10:30:00.728 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/opt/VPServer/webserver/webapps/ROOT]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1085)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1802)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
22-Apr-2021 10:30:00.730 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/VPServer/webserver/webapps/ROOT] has finished in [195] ms
22-Apr-2021 10:30:00.735 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-1999”]
22-Apr-2021 10:30:00.743 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 654 ms

Hi Toto,

Thank you for your reply. I have forwarded the log content to our engineers to study. When there is any update, I will let you know.

Best regards,
Jick Yeung

Hi Toto,

It looks like you are not using the JRE we bundled. The error trace is related to JRE configuration. Did you modify the Catalina file to use another JRE? If yes, could you revert back to the default setting and try again? Thank you.

Best regards,
Jick Yeung

Hi Jick,

Thanks for the effort. Here you have the logs using your bundled JRE. Results are the same. Added to this, I tried the windows version in a win server 2016 and I’ve got exactly the same problems (same 404 message when accessing http://locahost:1999).

I’m a bit puzzled. Something lacks in the configuration or the guide explanation -even the windows one- (Installing Teamwork Server) .

We are interested in your tool but want to evaluate it for team work. That’s why we look for the TeamServer version. Is there an evaluation version of TeamServer, which is different from the one we can have in your portal for evaluation?

Here are the logs in Linux:

root@kali:/opt/VPServer/scripts# ./startup.sh
Using CATALINA_BASE: /opt/VPServer/webserver
Using CATALINA_HOME: /opt/VPServer/webserver
Using CATALINA_TMPDIR: /opt/VPServer/webserver/temp
Using JRE_HOME: /opt/Visual_Paradigm_16.3/jre
Using CLASSPATH: /opt/VPServer/webserver/bin/bootstrap.jar:/opt/VPServer/webserver/bin/tomcat-juli.jar
Using CATALINA_OPTS:
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
23-Apr-2021 08:53:28.432 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.63
23-Apr-2021 08:53:28.436 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan 29 2021 11:21:49 UTC
23-Apr-2021 08:53:28.437 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.63.0
23-Apr-2021 08:53:28.438 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
23-Apr-2021 08:53:28.438 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.10.0-kali7-amd64
23-Apr-2021 08:53:28.438 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
23-Apr-2021 08:53:28.438 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/Visual_Paradigm_16.3/jre
23-Apr-2021 08:53:28.438 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.10+9
23-Apr-2021 08:53:28.439 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: AdoptOpenJDK
23-Apr-2021 08:53:28.439 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /opt/VPServer/webserver
23-Apr-2021 08:53:28.439 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /opt/VPServer/webserver
23-Apr-2021 08:53:28.440 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
23-Apr-2021 08:53:28.440 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
23-Apr-2021 08:53:28.440 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
23-Apr-2021 08:53:28.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
23-Apr-2021 08:53:28.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
23-Apr-2021 08:53:28.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/VPServer/webserver/conf/logging.properties
23-Apr-2021 08:53:28.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
23-Apr-2021 08:53:28.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms256m
23-Apr-2021 08:53:28.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1024m
23-Apr-2021 08:53:28.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
23-Apr-2021 08:53:28.442 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
23-Apr-2021 08:53:28.442 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0022
23-Apr-2021 08:53:28.442 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
23-Apr-2021 08:53:28.442 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/VPServer/webserver
23-Apr-2021 08:53:28.442 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/VPServer/webserver
23-Apr-2021 08:53:28.442 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/VPServer/webserver/temp
23-Apr-2021 08:53:28.443 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
23-Apr-2021 08:53:28.485 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-1999”]
23-Apr-2021 08:53:28.503 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
23-Apr-2021 08:53:28.521 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 592 ms
23-Apr-2021 08:53:28.567 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
23-Apr-2021 08:53:28.567 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.63
23-Apr-2021 08:53:28.648 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/VPServer/webserver/webapps/diagrams.war]
23-Apr-2021 08:53:29.037 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/VPServer/webserver/webapps/diagrams.war] has finished in [389] ms
23-Apr-2021 08:53:29.039 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/VPServer/webserver/webapps/tabular.war]
23-Apr-2021 08:53:29.063 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/VPServer/webserver/webapps/tabular.war] has finished in [24] ms
23-Apr-2021 08:53:29.064 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/VPServer/webserver/webapps/forms.war]
23-Apr-2021 08:53:29.088 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/VPServer/webserver/webapps/forms.war] has finished in [24] ms
23-Apr-2021 08:53:29.090 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/VPServer/webserver/webapps/ROOT]
23-Apr-2021 08:53:29.330 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1085)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1802)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.TypeNotPresentException: Type javax.ws.rs.Path not present
at java.base/sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:46)
at java.base/sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:86)
at com.sun.proxy.$Proxy2.value(Unknown Source)
at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1617)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1088)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5069)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
… 10 more
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.Path
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1372)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1195)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at java.base/sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
at java.base/sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
at java.base/sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
at java.base/sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:440)
at java.base/sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:421)
at java.base/sun.reflect.annotation.AnnotationParser.lambda$parseClassArray$0(AnnotationParser.java:719)
at java.base/sun.reflect.annotation.AnnotationParser.parseArrayElements(AnnotationParser.java:747)
at java.base/sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:718)
at java.base/sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:532)
at java.base/sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:356)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:287)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
at java.base/java.lang.Class.createAnnotationData(Class.java:3757)
at java.base/java.lang.Class.annotationData(Class.java:3746)
at java.base/java.lang.Class.getAnnotation(Class.java:3651)
at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1602)
… 16 more
23-Apr-2021 08:53:29.332 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/opt/VPServer/webserver/webapps/ROOT]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1085)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1802)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
23-Apr-2021 08:53:29.332 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/VPServer/webserver/webapps/ROOT] has finished in [243] ms
23-Apr-2021 08:53:29.340 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-1999”]
23-Apr-2021 08:53:29.350 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 828 ms

Hi Toto,

Thank you for your reply. From the trace, it looks like the JRE_HOME is pointing to /opt/Visual_Paradigm_16.3/jre . Please open VPServer\webserver\bin\catalina.sh in a text editor, search for the line that starts with export JRE_HOME, and change it to:
export JRE_HOME=…/…/jre

Save the change and run VPServer\scripts\startup.sh to try again. Please see if it works.

Best regards,
Jick Yeung