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
1answer
368 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 ...
2
votes
1answer
469 views

Linux AMIs to get started on Amazon EC2 with Java application server

I'm trying to set up my first Amazon EC2 instance and having trouble selecting the right AMI given the huge amount of choice available. Requirements: Intended to run one (smallish) web site with a ...
1
vote
2answers
2k views

TCP performance differences between RH Linux and Solaris in java?

While comparing java TCP socket performance between RH Linux and Solaris, one of my test is done by using a java client sending strings and reading the replies from a java echo server. I measure the ...
4
votes
2answers
2k views

Performance problems when running Java desktop applications on Citrix Metaframe

We have a desktop Java application running within a Citrix Metaframe server farm and the performance, specially while starting up the app, is very unreliable. Sometimes it takes 15 seconds and ...
1
vote
3answers
278 views

Two tomcat running in single Linux maching

Hi How can I start two Tomcat instances in a single LINUX machine. Both the tomcat must run on the different ports. If this is possible then How can I do this Thanks.
1
vote
1answer
447 views

mysql Data loss after server restart [duplicate]

Possible Duplicate: mysql data loss after server crash After the server restarted due to a power cut, we lost all data saved in the database during the morning (client records created in ...
0
votes
2answers
242 views

tomcat server can not be accesed remotly

I am running tomcat server on Fedora machine. when I run tomcat using following command, service tomcat start it runs on localhost , but when i try to connect to the server using public ip ...
3
votes
5answers
19k views

Installing Tomcat on CentOS 5

Disclaimer: I am not a server admin, I am a windows user that has lead a life of sinful installation wizards and drag and drop I'm attempting to install Tomcat on CentOS 5 hosted by a MediaTemple ...
3
votes
1answer
2k views

Which is more secure: Tomcat standalone or Tomcat behind Apache?

This question is not about performance, nor about load-balancing, etc. Which would be more secure: running Tomcat in standalone mode or running Tomcat behind apache? The thing is, Tomcat is written ...
4
votes
6answers
753 views

load balancing in Tomcat

I want to implement the load balancing in tomcat 6.0 so that we can create more than one instance of a tomcat and when any of the instance is down then other instance will run our application. so that ...
5
votes
2answers
3k views

Can I host my web application in Cloud?

I have made a small web application created in J2EE which i want to develop as a "business". Can i host it in one of the cloud services ? Please do advice me as well on this issue. Will the cloud ...
0
votes
1answer
120 views

Editing java.security - says it is [read only] (Fedora)

I am trying to edit the file java.security but it opens as read only. I am running as root user but I think this is happening because the java process is currently using the file. How can I ...
0
votes
1answer
1k views

Any way to test if java is installed on server?

I have a VPS server, and have trouble setting up java. I wonder, is there any way to test to see if java works? My VPS server is Linux and I use PuTTY to communicate with the server from my own ...
0
votes
1answer
540 views

Error installing Java on Ubuntu Server

I get this error almost when installation is finished: /proc is not mounted; some java apps may fail Could not create the Java virtual machine. Error occurred during initialization of VM Could not ...
2
votes
1answer
831 views

Apache Name-based Virtual Hosts - configuring httpd.conf file

I am running a web app on Tomcat at the following location on my server. /var/tomcat/webapps/SoccerApp I am looking to update the Tomcat httpd.conf file with the following virtual host... ...
1
vote
1answer
805 views

how to add solr to run on startup?

I asked this question before, but I think I got answers that were cron job type answers. I want the solr service to startup if I reboot my computer, and I also want it to run by itself instead of me ...
0
votes
1answer
272 views

WIndows Server + Java Runtime Install: What old JRE.. folders can I delete?

We have a windows server that has been running for a few years, it has the Java runtime installed, which is purely used for the Dell software. Over the years various updates have been applied filling ...
1
vote
4answers
358 views

Download JDK onto a remote server

I want to get the latest JDK onto a server in a remote location. Downloading the JDK from Sun's website requires jumping through all kinds of hoops until you actually get the file. I'm not sure ...
0
votes
5answers
2k views

Fastest OS for Java applications

I have a multithreaded Java program. I am dealing with certain perfomance problems. I have improved everything. Hardware + Software. Now I think that it's time to move to proper Operating System. I ...
2
votes
1answer
667 views

reduce memory footprint of java virtual machine

I've a citrix server where multiple users use a multiple java application. Is there a way to reduce the memory footprint of the jvm itself? The max heap is already set fairly low (64MB), as the ...
1
vote
1answer
475 views

Java and Tomcat issue

All, At the end of my teather with this and really would appreciate any pointers. I have a system that was installed with Tomcat 5.5.9 and JRE 6 update 13. My issue is that someone has come along ...
1
vote
2answers
703 views

Glassfish installation error: cannot open display

When trying to extract the Glassfish jar file with java -Xmx256m -jar glassfish-installer-v2.1-b60e-linux.jar i get following error: (.:31766): Gtk-WARNING **: cannot open display: and ...
0
votes
1answer
648 views

How can I find out the URL of EJBs on WebSphere Application Server

I've just deployed an Enterprise Application to WAS. How can I find out which ports it is listening on?
0
votes
7answers
2k views

How do I download a file via the Linux command line

I'm normally a windows user and I am currently using PuTTY to connect to a headless linux box that is running Fedora 8. I need to download the latest JDK and install it but I have to do it using the ...
0
votes
1answer
3k views

JBoss 5.1.0.GA and huge vfs-nested.tmp

I noticed this while running a performance test with JMeter. For first half an hour everything was fine and the /server/all/tmp directory size was around 36M. Then suddenly the tmp directory grew up ...
1
vote
2answers
1k views

Cant connect to MySQL server from Java application

This is on VPS\Centos server. The MySQL server is pre configured. I am running the Java application on Tomcat My Java web application is not able to connect to the MySQL server. I get an error - ...
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
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
1
vote
1answer
228 views

Hudson plugin problem

I've created almost the same plugin as JobTypeColumn. There is only one difference - it shows job description instead of job type. But after i can't add this column to my list view. I have an ...
1
vote
1answer
272 views

Why does Tomcat try to use the cache when compilation failed?

For some reason, it appears Tomcat is trying to hit its compilation cache when compilation failed. For example, if I create a JSP containing nothing but Hello, <%=world%>!, predictably, I get ...
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 ...
1
vote
3answers
882 views

signed applet automatically running as insecure

My application is deployed as a self-signed applet to several thousand users at more than 50 schools across the country (in Norway). The user is presented with the standard Java security warning ...
1
vote
2answers
5k views

debugging JBoss 100% CPU usage

We are using JBoss to run two of our WARs. One is our web app, the other is our web service. The web app accesses a database on another machine and makes requests to the web service. The web service ...
0
votes
5answers
2k views

Lingering tcp connection in LISTEN state

My java application can sometimes be killed by an external script. This can be done either with SIGTERM or with SIGKILL. The application is a server which receives many connections per second, and it ...
4
votes
2answers
4k views

tcpdump filter that excludes private ip traffic

For a generic filter to exclude all traffic in my dump that is between private IP address, I came up with the following: sudo tcpdump -n ' (not ( (src net 172.16.0.0/20 or src net ...
1
vote
3answers
3k views

Problem with monitoring Glassfish with JConsole

I have enabled JMX connection on remote Glassfish server and then I've restarted it. During starting server notified: Standard JMX Clients (like JConsole) can connect to JMXServiceURL: ...
0
votes
1answer
432 views

can a scheduled task run a c# console app or a java command?

I have 2 tasks that need to be run, 1 of them is a c# console application and another is a java application (main/console app also). Can a scheduled task make a call to the cmd prompt like: java ...
0
votes
1answer
514 views

new windows 08 server, can't download using browser

by default it seems you can't download anything using the browser on the server when terminal server'ing into the box. I need to download the java sdk to install solr, and also need to install winrar ...
0
votes
8answers
2k views

Best Server For Java [closed]

I'm starting in Java Web development, then i want to ask, what is the best server, like Apache Tomcat, Resin and others. Remember that i use Linux Ubuntu. Thanks!
1
vote
0answers
624 views

Error while detecting start profile for instance with ID _u

I am upgrading a SAP Java instance and am getting the error shown in the log below. There are not backup profile files in the profiles directory. The string _u does not exist in the default, start or ...
1
vote
2answers
600 views

How does java permgen relate to code size

I've been reading a lot about java memory management, garbage collecting et al and I'm trying to find the best settings for my limited memory (1.7g on a small ec2 instance) I'm wondering if there is ...
1
vote
4answers
3k views

java max heap size, how much is too much

I'm having issues with a JRuby (rails) app running in tomcat. Occasionally page requests can take up to a minute to return (even though the rails logs processed the request in seconds so it's ...
0
votes
2answers
3k views

Increasing Java's heapspace in Tomcat startup script

I want to increase my heap size when using Tomcat. I was told to add this line export CATALINA_OPTS=-Xms16m -Xmx256m; In to the startup.sh script - I did so (at the beginning) but got the error ...
0
votes
1answer
66 views

mount samba share on a vmware instance

I've a windows machine in which a linux server is run by a "VMWare player". From the windows machine, I want some folders to be mounted on the Linux virtual server. All this is done in a maven build ...
1
vote
0answers
916 views

CruiseControl doesn't run as a Windows service

I am having a problem with CruiseControl on Windows. I can get CruiseControl to run on its own without problems right after installation. However, when I run the Windows service for cruise control ...
0
votes
1answer
2k views

Java Secure Webservice

(I am reposting this question from stackoverflow. If there is some way that I can join the questions or just move the question please let me know. Thanks.) I am attempting to convert a http ...
0
votes
1answer
331 views

vmware ESX memory usage pattern

We have several ESX 3.5 clusters but are experiencing performance issues with one cluster in particular. Why does the cluster memory dip by 50% every hour at 10 minutes and 25 minutes past the ...
1
vote
1answer
526 views

Java socks4 client

Java.net.Proxy supports socks5, is there a way to support socks4 as well? third party library is ok too.
1
vote
2answers
2k views

Sun Java VM does not create a crash report

When a Sun Java VM crashes it usually creates a hs_err_pid* file (crash report). However we have a Open SuSE Linux server where java crashes without leaving a crash report behind. A core dump is ...
0
votes
1answer
865 views

Windows Vista firewall blocks Java application

I'm currently working with vista on a domain account with VERY restricted permissions. Every time I'm using a new application which tries to reach the network, my boss has to input his admin password ...