I am getting this error while invoking Documentum in my application.
java.lang.NoClassDefFoundError: Could not initialize class com.documentum.fc.client.DfClient
The application server is Apache Tomcat
We are upgrading from Documentum 5.3 sp4 to 6.4 sp3
Was able to make it work locally but not when deployed on the server (Solaris).
Everytime when I faced similar problems, here's my debugging steps:
Is there any path hardcoded, or environment var pointing to the local location
Is there Java version on the Solaris same as the local version
Is the DfClient library found in the specific location
Related
My old application with grails version 4.0.5 used to run perfectly. After being forced to update gradle I wasnt able to make it even compile. Then, I created a new project with grails 5.1.7, updated the build.gradle file with the new commands and finally it compiled. The application runs fine in my computer with:
grails run-app
However, when I make and run the .war file created with the command:
grails war
in my tomcat server, I get no errors on deployment, but http request always get an HTTP 404 error.
So I decided to make a new vanilla 5.1.7 grails project and try to make a new clean war. This new project also runs perfectly on my computer with run-app and also is deployed with no errors but also shows the HTTP 404 error with you try to retrieve a page.
I have been reading on grails documentation that grails war command makes a embedded container and could cause problems on tomcat:
https://docs.grails.org/latest/guide/deployment.html#deploymentStandalone
So, I tried to follow the advice and remove from build.gradle:
implementation "org.springframework.boot:spring-boot-starter-tomcat"
But still no luck, I keep getting the HTTP 404 error.
Summary:
My grails 4.0.5 application ran just fine creating the war file with "grails war", so I am not sure if this "embeddable" is the cause of the problem. Due to I get no errors I have no clue.
Any help would be appreciated
Machines and software I've tested:
Machine 1:
Ubuntu 20.10
Apache tomcat 9.0.44
openjdk version "11.0.11"
Machine 2:
Windows 10
Apache tomcat 10.0.10
openjdk version "11.0.11"
Same result on both.
I have also tried to add:
ext['tomcat.version'] = '10.0.10' to gradle in case. Not working.
I managed to run the Grails 5 application on Tomcat 8 and Tomcat 9 by updating the JVM version from 11 to 16. It seems like Grails 5 doesnt support Tomcat 10.
I have a virtual machine that I successfully installed WebLogic on. My idea is to create a Dynamic Web application in Eclipse, export it to a .war file and transfer it to the virtual machine(Win. Server 2019) that is running WebLogic. The problem I have encountered is that because of the fact I don't have WebLogic on my host, I can't create a runtime environment in Eclipse for it. If I have a runtime environment that isn't WebLogic will it matter if I'm simply converting it to a .war file? Or should I not be lazy and download and configure WebLogic on my host.
P.S. My application connects to a MySQL database, will it be able to access that database when moved over to the Windows Server 2019 virtual machine in Virtual Box.
Do you really need to use WebLogic for this? If you're building a conventional war-file based application, it's much more effective to just use Tomcat for this, which you would have no trouble running on your host.
I've built a Vaadin 8 application that connects to my Domino server. I'm using Eclipse Oxygen with Tomcat 9 and a local install of Lotus Notes 9.x
When I run the application from Eclipse it runs fine. Connects to domino and pulls my data.
I installed a production Tomcat server and deployed my application to that Tomcat server. When I run the application and try to connect to domino I get the NoClassDefFoundError lotus/domino/local/Session
I've got the NCOS.jar file in the lib path. I tried using Notes.jar and installing a local Notes client and added the path to the notes install to the path. When I do that I get the error Unsatisfied Link Error
Any thoughts?
Apache-Tomcat-8.5.4 is already installed and perfectly running on my system via localhost:8080. I use Eclipse as IDE and am trying to configuring the server runtime environment to run my .jsp code, however, it is showing the following version error:
The problem is Eclipse is expecting Tomcat v8.0 while I have already installed v8.5.4. Although it shouldn't be a problem, it is not allowing me to set-up my runtime environment to execute my code.
It seems a bug with eclipse. Check this
link
which eclipse version are you using??
try using Eclipse Mars.
or as a work around just try renaming your tomcat installation directory to 8.0
My apps are web app projects (java liberty pack).
I want to run executables with java process builder in servlets but I am getting errors. That executables depends to GLIBC.
How can I solve them?
First project:
libstdc++.so.6: version `GLIBCXX_3.4.20' not found
Second Project:
/lib/libc.so.6: version `GLIBC_2.14' not found
Cloud Foundry supports "stacks" which define the operating system runtime your application will be deployed onto.
[10:04:11 ~]$ cf stacks
Getting stacks in org james.thomas#uk.ibm.com / space dev as james.thomas#uk.ibm.com...
OK
name description
lucid64 Ubuntu 10.04
seDEA private
cflinuxfs2 Ubuntu 14.04.2 trusty
Currently, IBM Bluemix is deploying applications onto the older Ubuntu 10.04 stack by default. This environment contains GLIBC 2.11.
You can specify which stack to deploy your application onto using the "-s" command line flag or setting this in the manifest.
Choosing cflinuxfs2 will use a more recent version of Ubuntu with an updated version of the glibc libraries.
This should hopefully work.