Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms

learn more… | top users | synonyms

1
vote
1answer
320 views

Access secured windows folder with java on a linux server

We're trying to mount a secured windows share on a linux server, but until now we're unable to do so. This is the setup we're having: A linux server that runs a java application A windows share that ...
0
votes
1answer
181 views

How to create new Servlet and JSP project on Ubuntu?

I've installed Tomcat 7, javaservlet 3.0 and openjdk 7. I read that I need to install Eclipse and Web Tool platform (from eclipse) but I can't find it. I install few packages from eclipse there is no ...
-1
votes
1answer
49 views

How to loop specific powershell script

I need to uninstall Java from several computers in my network. After almost all day of Googling it seems the best way to do this is with a Powershell script. I found one that I have tested on a few ...
3
votes
4answers
9k views

Java Deployment Rule Set via AD Enterprise CA

My goal is to get a Java Deployment Rule Set in place in my organization, but I do not want to pay third-party certificate authority for a code signing cert when we have a working CA running through ...
0
votes
1answer
30 views

Roll standalone JBoss app under Tomcat

I've got a Linux box where there’s Tomcat running, with some JSP applications in it. Now, I’ve received a third party app from a developer shop to be eventually deployed. It came as an archive called ...
1
vote
1answer
861 views

Large virtual memory size of ElasticSearch JVM

I am running a JVM to support ElasticSearch. I am still working on sizing and tuning, so I left the JVM's max heap size at ElasticSearch's default of 1GB. After putting data in the database, I find ...
0
votes
1answer
95 views

can network Redundancy possible with help of Layer 2 switches & dual NIC in one PC & program in java?

I am Trying to achieve Network Redundancy in network which have 1 server & lots of node which use 1 switch for each. As per various forums for achieve Redundancy in network i should use Layer 3 ...
0
votes
0answers
32 views

preventing vpn multiple connections

A little background: I'm a suddenly network manager working for a small business firm. I have a little knowledge about networking details and technology. But I have a good programming background. ...
0
votes
1answer
109 views

Monitoring performance metrics from Xen (xend) with Java

I need to write a Java application that is collecting and monitoring (remotely and local) performance informations and metrics from a Xen hypervisor. This Java application should fetch the same ...
0
votes
1answer
55 views

Restricting access from the internet to a website in beta conflicting with the website's own authentication

I have a java website that runs on Apache Tomcat. As the website is in Beta, I don't want it to be publicly accessible to anyone on the internet and I want a restricted group of beta testers to ...
0
votes
0answers
147 views

Cannot load local resource in tomcat

In spring project, I am generating some pdf file automatically in my application and storing it in $CATALINA_BASE in tomcat server. The path is : ...
0
votes
1answer
17 views

Block access to specific URL

I have several java war applications hosted in a glassfish, some of then exposing web services. I need a way to block access to an specific application without blocking the entire access to server by ...
0
votes
0answers
79 views

Controlling Apache Tika with Supervisord

I am using TikaJAXRS on my server to process files, a part of Apache Tika project. I made a service wrapper to run it. So normally, I run it with service tikaserver start. But basically, the command ...
1
vote
1answer
479 views

Warning: Unavailable Version of Java Requested

We are updating client computers to JRE 1.7 but a partner Web application has a mention of the older java version in its applet HTML tags (java_version=1.6*). Because of this mention, the applet ...
1
vote
1answer
204 views

SSL Connect timing out during handshake (client exchange re-transmission)

We have a Java LDAP client making SSL connection to AD. Some times the connect hangs with client and server re-transmitting Client Key Exchange and ACK packets continuously as shown below and ...
0
votes
0answers
119 views

Jboss lost connections to MongoDB “WARNING [com.mongodb] emptying DBPortPool to /x.x.x.x:27017 b/c of error”

I have a few Jboss 5.1 servers which uses MongoDB data set. Till yesterday I had 3 Mongo 2.0 nodes in this dataset. Yesterday I added 2 Mongo 2.4.6 secondaries to this dataset; and after that I see ...
1
vote
1answer
1k views

permission denied to start tomcat as root

I just started using CentOS. I install Java yum install java-1.7.0-openjdk-devel Added a user: $useradd supersite Downloaded tomcat: $wget ...
1
vote
1answer
337 views

Getting JMX working under Tomcat 7 with SSL and a self-signed cert

I'm trying to get JMX working under Tomcat 7.0.23 with SSL. The servers are located in AWS, which means all the hosts are NATed, and I need to use JmxRemoteLifecycleListener to explicitly set the two ...
0
votes
0answers
62 views

Change oracles java 7 jre to open-jre-7 on Debian 6

I would like to switch from the oracles version of java 7 to openjava. I wasn´t able to find a solution on how to uninstall oracles java 7 and how to install openjre-7 on a Debian 6 server, in half an ...
1
vote
1answer
1k views

how do i detect which version 32 or 64 bit Java is installed in Centos?

I am trying to detect which version of the java is running in my system (i mean i want to find out whether my java installation is 32 bit or 64 bit) I have tried $java -version which outputs ...
0
votes
1answer
207 views

Apache2 and tomcat 7 on ubuntu server running error

I install apache 2.2.22 and tomcat 7 on ubuntu and deploy ROOT.war In catalina.log file I get this error: Failed to initialize end point associated with ProtocolHandler ["http-bio-80"] ...
1
vote
1answer
264 views

Why I can't execute SQL query on Amazon Redshift from VPC private instance?

I have an instance in a private subnet in an Amazon VPC. This instance uses a NAT to access the Internet. I use the Redshift JDBC driver to connect to a cluster hosted in the same region as my VPC ...
1
vote
1answer
1k views

Install Java 7 with Chef using Opscode Java Community Cookbook

I am trying to install Java 7 on Ubuntu with the opscode java community cookbook. Java 6 seems to be the option no matter what incantation I make: [2013-09-24T00:24:32+00:00] INFO: Processing ...
0
votes
1answer
113 views

Open screen process in terminal from script [closed]

I have a minecraft server running in screen, and right now, it is just a script that starts java like so: screen -dmS mc java -Xincgc -Xms1024M -jar craftbukkit-1.6.4-b2882.jar Basically this just ...
0
votes
1answer
275 views

Error installing Oracle-Java6

I'm attempting to install Oracle-Java6 on my VPS, running ubuntu-10.04 for the purpose of running Openmeetings. I installed the ppa webupd8team/java, updated and ran sudo apt-get install ...
1
vote
0answers
275 views

How to connect Java Flight Recorder (from JDK 7 U 40) to a remote JBoss 7

I have a remote Ubuntu server with Jboss 7 and a local Ubuntu desktop machine and I can already monitor JBoss using jconsole and visualvm scripts that come with it. After the release of Java 7 Update ...
0
votes
4answers
119 views

Upgrade to latest tomcat/ JRE or stick with what's provided by LTS?

Running a server with Ubuntu 12.04 which ships Tomcat 7.0.26. Should I care about updating the tomcat installation to latest 7.0.42 version or should I stick with what's provided? If I stick then am I ...
1
vote
1answer
95 views

How does it harm if I install JDK on my ubuntu server when JRE is just enough for me?

I just need JRE for my programs. But how does it harm if I use JDK when JRE is enough for my webserver? Does it only mean more harddisk space for JDK & except for that, no other waste? I use ...
1
vote
1answer
253 views

Reasons for a TCP Timeout scenario

I am actually currently investigating long running connections of a Java/Tomcat based Web application. After ruling out any internal or application based reasons, I am now down to the network layer. ...
1
vote
2answers
3k views

Does kill -3 actually terminate a java process? Or just generate a thread dump?

CentOS 5.9 If I run kill -3 <java process pid> what actually happens? As per this red hat article, I understand that a Java Thread Dump is generated but is the process terminated? It doesn't ...
0
votes
1answer
47 views

Tomcat 6 path issue on Linux Debian

I'm facing an anoying issue on Linux/Debian Tomcat configuration: I've set up path variables, but when I try to start or shutdown Tomcat nothing happens. Log is empty and the following appears: ...
0
votes
1answer
576 views

Openfire Java Out of Memory Error - Any solutions?

I have huge problem with openfire crashing every now and then because of the lack of memory. In java log i have following error log. however problems are Openfire is 32 bit and i cant run it as 64 ...
1
vote
0answers
90 views

Does chpst honour ulimit settings?

We are currently experiencing issues with a JBoss-based server on a linux platform - effectively, we are running out of available file-handles within the process, and the server croaks. We have set ...
0
votes
1answer
25 views

Discrepancy in java Garabage Collection between jconsole and log files

I'm having an odd problem: my garbage collection log file (as defined by -Xloggc) will show n number of garbage collections have taken place, but jconsole will show n+6 garbage collections have taken ...
0
votes
0answers
186 views

Proxy Server for my Tomcat7 Websocket Application?

I have a Java Servlet application running on a Tomcat server. My app uses Websockets. I want to use a proxy server which should root to my Tomcat running on pert 8080. What proxy should I use for ...
0
votes
3answers
2k views

Tomcat 7 Throwing Unsupported Class Version Error

I'm setting up a Tomcat server to host JSP sites. I have created a test application in Eclipse to make sure everything is working. All it does is print text in JSP, then call a function in a custom ...
0
votes
1answer
119 views

Cannot make Java Package on an OpenVZ container

I'm trying to install Sun's Java SDK 7 by following the Debian Wiki instructions using java-package. But it won't work on an OpenVZ proxmox container. I'm running Debian Wheezy 7.0-2 64bit on all my ...
0
votes
2answers
390 views

JVM/Tomcat crashes when to many uploads occur in parallel (Heap Space)?

I have a Servlet application running on Tomcat 7. I set the following in setenv.sh CATALINA_OPTS=" -server -Xms1G -Xmx5G -XX:MaxPermSize=512m -Dfile.encoding=UTF-8"; The server runs on Ubuntu ...
0
votes
1answer
65 views

How to set multiple paths with update-alternatives

For example, the following command install java to /usr/bin/java update-alternatives --install /usr/bin/java java /opt/java7/bin/java 1 && update-alternatives --set java /opt/java7/bin/java ...
2
votes
1answer
788 views

Use chef-solo to install Oracle JDK 7

Assume I have the java cookbook and its dependencies downloaded from http://community.opscode.com/cookbooks and can run chef-solo successfully. Is there a command that I can run to install the latest ...
0
votes
1answer
84 views

Tomcat 7.0.42 crashes many times a day

I have a Tomcat7 server running and it crashes and shows sometimes a memory warning that there is not enough Heap Space. What do I have to do here? My server has 4GB RAM, 4CPU and runs on ubuntu ...
0
votes
1answer
659 views

How do the clients register at openfire server?

I have installed openfire. How can the clients register themselves on the server ? Do I have to write separate code for that ? I mean, do I have to write some kind of action handler for that ?
1
vote
0answers
256 views

Most efficient way to pipe web beacon logs to Apache Flume?

The Setup I've setup a simple Nginx server that logs (in a JSON) format, which is then piped to an S3 bucket with Apache Flume. All the Nginx server does is respond with a web beacon tracking pixel ...
0
votes
2answers
59 views

java http service on mac server with Apple server admin

I've written a simple com.sun.net.httpserver.HttpServer program that runs on a non-server mac. When I visit http://localhost:39600/test in a web browser, it gives me the correct response: "Here's my ...
-1
votes
1answer
298 views

Cassandra - Ubuntu Server Connect locally but no when connect remotely [closed]

I have a problem when I want to connect to Cassandra remotely I run it on ubuntu server and can connect to it through cassandra-cli connect localhost/9160 But when I connect remotely I have an ...
0
votes
0answers
44 views

What needs to be set up on Unix for a java web client?

I asked this on stackoverflow and someone recommended this place for me :) I created a client using proxy in Oracle JDeveloper to call web service. JDeveloper deployed automatically and the code ...
-1
votes
1answer
326 views

Tomcat - How to stop, start, restart

I installed Tomcat7 from source on a debain. However, based on the information online I should be able to start and stop the service using the following command: service tomcat7 stop/start However ...
-1
votes
1answer
52 views

Tomcat can't start on CentsOS

Tomcat 6 installed via yum. When i try to start it, catalina.out contain: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual ...
0
votes
1answer
322 views

Application Server Slowing down in responding at regular interval

We have developed a product in JAVA using SQL Server 2008 R2 as database, Hibernate 3.0 as database framework and GWT 2.4 as front end. We are using JBoss as our application server. We deploy ...
1
vote
0answers
461 views

Blocking specific java executable JARs

I have been trying to figure out how to block specific Java applications (Minecraft) for a while now without success. I want to stop people from being able to run a specific JAR file or at least ...