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

learn more… | top users | synonyms

3
votes
2answers
4k views

How to setup tomcat 7 as a server on windows 2008 server

I setup the tomcat7 as a service as below: c:\Program Files (x86)\Tomcat7\apache-tomcat-7.0.32\bin>service.bat install Installing the service 'Tomcat7' ... Using CATALINA_HOME: "C:\Program ...
3
votes
1answer
7k views

ProCurve 2610 Java error?

I've got two identical procurve 2610-24/12PWR switches with the web interface configured. I can log in to one and see all the management info just fine. When I load the web interface of the other ...
3
votes
1answer
3k views

How can webapps within Apache Tomcat use SSL/TLS client-certificate authentication as clients?

I am using Apache Tomcat webapp as a client (java) to an IIS hosted webservice. I need to use SSL with client authentication. What kind of matching criteria is used by the client to send a client ...
3
votes
2answers
3k views

Deploy Jetty as port 80 daemon on Linux

I'm curious what techniques you Linux admin gods are using to manage your Jetty deployments. I come from a Windows Server background so I'm still getting used to all of this. I've been looking for a ...
3
votes
3answers
5k views

Apache Tomcat Windows service ignoring JAVA_HOME environment variable

I'm trying to get Apache Tomcat set up on a Windows Server 2003 machine. If I use the command line version (catalina.bat start) it all works fine, but if I try and use it as a Windows Service it seems ...
3
votes
2answers
1k views

Locale setting on a Red Hat box

Recently our organization got a couple of server boxes which are I guess present in some data-center in UK. The problem is that for some reason the default Locale representation in Java on that server ...
3
votes
3answers
7k views

Sybase Central issues on 64-bit Windows 2008 Server R2

I can install and run Sybase Central v 4.3 on Windows XP without issues. However, I am not so lucky when I use 64-bit Windows Server 2008 R2. It does install but it will not run. I tried running in ...
3
votes
2answers
548 views

Best free network monitoring tool for a handful of servers running (mostly) Java apps? [closed]

What are the best free tools for monitoring a set of servers running (mostly) Java apps? It would need to monitor several app servers (some JBoss, some Jetty, etc). All are started and stopped from ...
3
votes
1answer
85 views

How do I deploy multiple root/intermediate CAs to multiple Java instances across multiple servers?

I have a number of different servers running different software packages developed by multiple internal teams. As they're trying to connect their applications through web calls, we're finding that ...
3
votes
2answers
13k views

Java applets not starting in IE on Windows Server 2008 R2

I can't get the Java ActiveX Add-on to work on a Remote Desktop Server 2008 R2 with Desktop Experience enabled. This is what I get after enabling compatibility mode from http://www.java.com/verify : ...
3
votes
1answer
2k views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ...
3
votes
1answer
4k views

Running Jenkins standalone vs within Tomcat

What things should be considered when deciding between running Jenkins standalone or within Tomcat? We would prefer to not have to use Tomcat because there's no other applications on this server ...
3
votes
1answer
5k views

JBoss 7.1.1 Clustering, JBAS014775:New missing/unsatisfied dependencies

I am following https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto I managed to get 2 servers running. One slave. One master. I managed to get to "Dry Run" I got: [Host Controller] ...
3
votes
1answer
4k views

How to configure Glassfish + NGINX to serve static files with NGINX?

I have a EC2 ubuntu with Glassfish v3 + Nginx setup to host my java web application. This application is deployed as a WAR file to Glassfish . The NGINX is currenty passing all request to the ...
3
votes
1answer
3k views

Tomcat 7.0.22 Windows service breaks with JRE update

If JRE update is run without first manually stopping the Tomcat service, Tomcat will no longer start after the next time it is stopped. This most often happens after rebooting per the JRE installer's ...
3
votes
2answers
2k views

best way to monitor web app performance in tomcat [closed]

I have a web application running in Tomcat 6.x on a Debian Linux box. I have recently started using Google App Engine for another java app and now have serious stats envy; is there a comparable tool ...
3
votes
2answers
5k views

Http-Only cookies in WebLogic: what versions support them/how and why are they supported?

We want to make all cookies set by our webapp http-only. I only have a basic understanding of the benefits of doing this but I'm told by security people that it's a Good Thing (tm) Our app is running ...
3
votes
3answers
1k views

How do you keep Flash, Quicktime, Java etc up to date for your non-admin users?

How do you keep Flash, Quicktime, Java etc up to date for your non-admin users? Thanks
3
votes
1answer
4k views

How to Install Apache Solr / Java on CentOS?

I've seen only one or two tutorials for installing Solr, and particularly Java, on a CentOS machine, and they seem to be overly complex; heck, I can't quite figure out which version of Java (it seems ...
3
votes
3answers
2k views

Installing Java Runtime for a Server: Something better than std JRE package?

I need to install a Java runtime on server machines. The JRE package from Sun acts as if I'm running on a client machine -- it installs WebStart, Auto Updating, probably browser hooks, and other ...
3
votes
2answers
2k views

What Sun Web or App Server config can cause “Due to a temporary error the request could not be serviced”

I'm not the system administrator for this server but I'm trying to help the group who are sys admins to find a fix quickly. For this reason, I don't have access to all of the server configuration ...
3
votes
1answer
328 views

Enable HugePages on Linux for multiple services/processes

On one of my Debian machines I'm running a service on a JVM and a MySQL instance. I have enable the HugePages following various online guides but I'm having a problem. Here is my configuration: ...
3
votes
1answer
5k views

Signing a Java Deployment Rule Set JAR using AD Certificate Services

I am tasked with deploying Java 7 Update 55 along with a Java Deployment Rule Set to all Active Directory Windows clients. I've managed to get a solid Java software deployment setup but I'm now ...
3
votes
1answer
1k views

Load balancing glassfish v4.0 CLUSTER with apache HTTP server: Location of apache

I am teaching myself to build clustered Java EE 7 applications. I am focused on Glassfish Server v4.0. Based on the official documentation (Chapter 7 page 133) , Glassfish can be loadbalanced using ...
3
votes
1answer
2k views

“remote file operation failed” on remote UNIX slaves since upgrading to Jenkins 1.502

Since upgrading to Jenkins 1.502, any jobs using git on remote UNIX slaves launched by SSH fail with hudson.util.IOException2: remote file operation failed: /var/ciworkspaces/web/workspace/DFT.BA ...
3
votes
1answer
5k views

Clearing Java certificates cache (force reload certificates)

A simple question here. One application gave me this exception when trying to access a website with a expired certificate: java.security.cert.CertificateExpiredException So, I renewed the ...
3
votes
1answer
2k views

Java hangin and crashing on centos 6

I'm having problems with running java programs on my VPS. symptoms: Starts and runs for a bit and then just hangs there without any cpu use. Usually has different amounts of memory allocated. Shows ...
3
votes
1answer
1k views

Approach to auto-scaling with Amazon AWS

I want to know about the possible options for auto-scaling my web app architecture. What I have in architect is web-app (Tomcat), middleware (RabbitMQ), database(MongoDB), worker(standalone Java app). ...
3
votes
1answer
523 views

java.lang.OutOfMemoryError on ec2 machine

I have a java app on a large instance that will spawn up to 800 threads. I can run the application fine as user "root" but not as another user which I created. I get the deadly. ...
3
votes
1answer
81 views

Orcale Java SE Critical security Patches on the 7th, do I have to update Java all the Linux boxes that host our apps?

according to Oracle, "All these vulnerabilities may be remotely exploitable without authentication, i.e., may be exploited over a network without the need for a username and password. " Does this ...
3
votes
1answer
325 views

SysRq, task list and missing processes

I've been troubleshooting a pretty difficult issue on Linux where a JVM appears to hang. As part of the investigation, I've been trying to capture the list of current tasks and their state using one ...
3
votes
1answer
3k views

Sun-JRE on CentOS-4.8 RPM error: post-install scriptlet failed, exit status 5

I have a server with CentOS 4.8 installed. The provided is rubbish, but there's only a few months left, and they're busy being sued by Chase bank, so I doubt I can get CentOS 5. I wiped the server ...
3
votes
2answers
1k views

Is the Cloud ready for an Enterprise Java web application? Seeking a JEE hosting advice

Greetings to all the smart people around here! I'd like to ask whether it is feasible or a good idea at all to deploy a Java enterprise web application to a Cloud such as Amazon EC2. More exactly, ...
3
votes
1answer
990 views

Configuring a Jetty web application on a different port

I'm brand new to Jetty. I'd like to ask if its possible to have Jetty listening on port 8080, however where specified, serve a specific web application under say /var/jetty/webapps/<appname> ...
3
votes
1answer
520 views

how to configure tomcat6 for ubuntu

i have installed apache tomcat6 for ubuntu 9.04 recenty.But it seems that some API's like servelet and http are not included althogh i have installed openJDK 1.6. somebody advised me to set JAVA_HOME ...
3
votes
2answers
1k views

Free java hosting? [duplicate]

Possible Duplicate: Anyone know of any Free Java hosting services? Could anyone tell me some free hosting on which I can run my java web application even for a day? I don't want free ...
3
votes
0answers
44 views

How do companies handle the need for different Java requirements on the same user?

In our company, we use GPOs to push software updates such as Java updates. We have about 150 users in different offices located in different countries, all using Windows 7. We have a few ...
3
votes
1answer
66 views

Tomcat shuts down unexpectidly

I am using Apache Tomcat 8.0.23 with 1 GB RAM on centos 6 OS . I have used servlet and jsp for server side . But after few days it shuts down automatically . I have given memory size as ...
3
votes
0answers
65 views

Sophos firewall default settings do not allow HTTPS from Java 6 clients

Our current (default) Sophos firewall (Apache reverse proxy) settings does not allow Java 6 clients to connect over HTTPS. The ssltest result shows that the reason is "Client does not support DH ...
3
votes
1answer
152 views

Remove all sites from allowed list for plugin in IE via GP

I would like to remove all sites from the list of approved sites for a plugin in Internet Explorer as described here but I would like to do so via Group Policy. Is this possible? I know I can disable ...
3
votes
0answers
1k views

Unable to change vm.max_map_count for elasticsearch

Prehistory I have elasticsearch and SugarCRM7 running on CentOS 6.5. Every day I face the same problem: java outOfMemory error. That happens because of small vm.max_map_count value, 65530 only when ...
3
votes
0answers
133 views

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start ...
3
votes
1answer
441 views

SNMP query - operation not permitted

I am working on API that reads a lot of data via SNMP (routes, interfaces, QoS policies, etc...). Lately, I have experienced a random error stating: Operation not permitted Now, I use SNMP4J as ...
3
votes
1answer
115 views

How to determine what websites or local applications are using JVM/JRE

We run a large Windows shop -- tens of thousands of workstations. Most have a version of the Sun/Oracle Java Virtual Machine (JVM) installed. With all the security issues around the JVM, we'd like to ...
3
votes
1answer
720 views

Is Winpcap able to capture all packets going through a Gigabit NIC without missing any packets?

I want to use Winpcap to capture all network packets going through a Gigabit NIC of a server. Assuming that I am able to utilize the network link up to 100%, the maximum network speed is 1000Mbps. If ...
3
votes
1answer
172 views

HTTPS Connection error

I am trying to connect to a servlet from usinghttp url connection,i.e http://localhost:9481/test/NewServlet. It worked fine for me. Now I want to connect using https://localhost:9481/test/NewServlet. ...
3
votes
2answers
801 views

Getting syslog-ng to recognize a java stacktrace

We are using the log4j SyslogAppender to send our logging statements to syslog-ng. Once the messages are in syslog-ng, we are having trouble getting syslog-ng to recognize that a stacktrace goes with ...
3
votes
2answers
4k views

Access keystore on Sun ONE Webserver 6.1 for 2048 bit key length SSL

We want to get 2048 bit key length CSR requests. The browser based GUI provides us with a 1024 bit CSR and I don't know how to change that. It seems that 1024 bit key lengths will no longer ...
3
votes
1answer
2k views

Kill FINished sockets (using libpcap - tcpdump/tcpkill)

I'm trying to create a small service that monitors and kills sockets which have the FIN flag. I can get them with tcpdump (I also tried tcp[13] & 1): tcpdump "tcp[tcpflags] & tcp-fin != 0" ...
3
votes
1answer
381 views

high level design of sms transaction handling system

I have been tasked with designing a system do handle SMS transactions. Transactions come in form of HTTP requests from a service provider. In the process of handling transaction, system in question ...