Tag Info

New answers tagged

1

First, you don't need to create /usr/bin/Java or any directory. Secondly, your invocation of rpm is pointing to the rom in the current directory, which is the directory you made, you would need to point to it as ~/Downloads/java....rpm. Finally, you should use yum to install rpms because it will help pull in any needed dependencies. yum install ...


1

The Maximum heap size you will want to assign will be based on your system's utilization of it's own resources, other services you are running, etc. You want to assign a heap size that leaves enough memory available to the OS to prevent unnecessary memory paging. This is more of a problem in Windows, but the problem is seen in Linux too (I'm more of a ...


2

Wildfly (Since AS7) tries to do parallel deployments to speed up the process, if you want do sequential deployment then you can provide dependencies of each deployment on another (like links you have provided in the question). Alternatively you can use the Management CLI to order your deployment schedule, using the Batch features to ensure that your ...


1

You can try a look to http://tinyradius.sourceforge.net/ or just search google for java radius, you will find multiple libraries to connect to radius. Start out just writing a small prototype application in standalone java, just to test the functionalities you need, once you have achieved this it will be time to code this in a webcontainer (Tomcat, Wildfly, ...


0

Try attribute jvmMaxMemory <wsInstallApp ear="/my/ear/file/location/New.EAR" jvmMaxMemory="1024M" options="-appname myNewEarApp -update -deployws" host="localhost" conntype="SOAP" user="the_username" password="not_telling_you" failonerror="true" />


0

The reference was in /etc/default/tomcat7: JAVA_HOME=/usr/lib/jvm/java-7-oracle I updated that to java-8 and everything starts just fine. Here is my entire script for doing the upgrade: #!/bin/sh set -e sudo add-apt-repository -y ppa:webupd8team/java sudo apt-get update sudo apt-get --force-yes -y install \ openjdk-8-jdk \ openjdk-8-jre \ ...


1

If the web application requires that a user stay connected to the same server, then the load balancer has to understand the session management method of the web application. For example, the load balancer can inject its own cookie in to the session that says which backend server to connect to. The load balancer can also read a cookie placed by the web app. ...


2

Change Host header from proxy_set_header Host $http_host; to proxy_set_header Host remote.example.com; Looks like I misinterpreted your sentences about document base. I thought it was a protection from java applet server so, it can't be downloaded unless we change the Host header. Apparently, document base that you ...


0

Ok, I fixed editing the JAVA_HOME within the /etc/default/tomcat7 as this post suggests.


1

You dont mention your distro/kernel version, but it may be worth noting that recent kernels (2.6.38+) have a feature called transparent hugepages. You can tell if it is enabled using: cat /sys/kernel/mm/transparent_hugepage/enabled It pretty much takes all this burden managing and preallocating hugepages of you. You can see how much memory is ...


1

I ran into the problem that when starting a second application, the first one begins to crash. You did not mention any system specifications of your VPS. For me this sounds like you're running out of memory. Do you mean that when the application crashes, the JVM is not shown in the process list anymore? You should check the output of dmesg to see if the ...


1

I came across this same error recently. Our solution was to add: SSLProxyProtocol all -SSLv2 -SSLv3 This matches our SSLProtocol parameter in our ssl.conf file. We also had Tomcat setup to disable SSLv3 as well.



Top 50 recent answers are included