Programming language and runtime environment that allows compiled Java programs to run unchanged on most hardware and software platforms
Questions tagged [java]
1835 questions
0
votes
1 answer
Serial Port (COM1) becomes unresponsive
Originally I made a POS application using Excel/VB. Everything worked A-OK, especially the serial communication with the POS display pole. Here's an example of the code by which I had the application communicate:
Function Send2Display(ln1$,…

JakeTheSnake
- 363
- 1
- 8
- 19
0
votes
4 answers
Tomcat 7: "Cannot locate Java Home"
Arch Linux. Servlet apparently had compatibility problems with openjdk so I uninstalled it and installed the plain jdk/jre from AUR.
# /etc/rc.d/tomcat7 restart
:: Stopping tomcat7 daemon [FAIL]
:: Starting tomcat7 daemon [BUSY]
Cannot locate Java…

Hugh Guiney
- 245
- 2
- 8
- 21
0
votes
2 answers
jfreechart.jar file not supporting
I have some code where I am making bar graph with the help of jfreechart.jar file
its working ok in my local system but its not working in my server showing this error-
warning: [options] bootstrap class path not set in conjunction with -source…

Khoyendra Pande
- 170
- 2
- 11
0
votes
1 answer
how to prevent a JRuby application from freezing linux(CentOS 5.4) server?
A simple jruby process is freezing our Amazon EC2 Cent OS 5.4 instance. To get it back we have to reboot the complete VM from Amazon Mgmt Console.
Is there way to prevent an app from freezing the OS?
How do we find out what caused the OS to…

so_mv
- 103
- 3
0
votes
2 answers
run zimbra on low spec virtual machine
I am trying to install zimbra server on a low spec virtual machine running ubuntu 10.04. I do meet the requirements as documented here (1 GB RAM/5 GB free disk space).
I got the virtual machine specifically for this purpose, so can install anything…

Billy Moon
- 1,437
- 3
- 17
- 23
0
votes
4 answers
Which virtualization for High CPU environment
I built a freebsd guest OS for a custom Java application. No Gui, no frills, just SSH and an API to coordinate all the machines.
This application is inherently single-threaded, and it is only limited by the CPU speed. Which is the best…

Mascarpone
- 872
- 3
- 9
- 28
0
votes
2 answers
WebLogic Server internal server error
when I deploy a project in Apache Tomcat 6.0 it's working fine. When I deploy the same project in weblogic server 10.3 it's showing an error like below:
Error 500--Internal Server Error
javax.servlet.ServletException:…

Abhinav Pandey
- 3
- 1
- 4
0
votes
1 answer
Switching glassfish 2.x to 3.1.1
So I am managing a old java project that is using glassfish 2.x.
Seems like netbeans does not support 2.x versions any more, so I want to change it to 3.1.1.
How to properly make that change?
I have JDK 1.6 installed. When I try to select the 3.1.1…

Alexandre Abreu
- 101
- 3
0
votes
2 answers
How to connect MySQL database of local server in NetBeans 7.0.1 ( windows)?
I am using NetBeans IDE 7.0.1 on Windows 7 very first time for my php. Actually in my company there is a local server ( 192.168.1.99) where all projects resides and we access phpmyadmin of that local server, Although I have added my project…

xkeshav
- 147
- 1
- 1
- 11
0
votes
2 answers
Best practices to build a scalable Java webapp
We got this JavaEE WebApp (JSP+Struts+Hibernate+MySQL) which currently is running on a single server. Due to growth of the website and performance issues we've decided to cluster the project on some machines. The Web Site should tolerate something…

SJ.Jafari
- 204
- 1
- 4
- 8
0
votes
1 answer
Solr connection refused error after java update on Mac OS X Lion
I recently updated Java for Mac OS X 10.7-Update 1. After that I recognized that in my local development application under Rails 3.0.10 with sunspot/solr the solr-server starts correctly
0:03.80 /usr/bin/java…

Christoph Seydel
- 31
- 2
0
votes
2 answers
shell script to start multiple Java programs from a directory at boot
I'm not sure if this is the best approach to this, It's my first time doing all of this (including writing shell scripts).
OS:
Centos
My problem:
I want to start multiple shell scripts at boot.
One of the shell scripts is to start my own services…

zcourts
- 149
- 1
- 1
- 7
0
votes
1 answer
Nagios CheckProcState with command line
I want to monitor a java process on a windows machine with nagios. On the windows server with process explorer I can see that the java process is started with "java -jar myApp.jar" in the command line. I've installed the NSClient++ and want to use…

markus
- 1,080
- 5
- 18
- 38
0
votes
1 answer
Error Starting Diaspora on Debian
I get the following error on debian squeeze unstable when starting the pod:
$ bundle exec thin start
>> Using rack adapter
Jammit Warning: Asset compression disabled -- Java unavailable.
/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line…

Paul
- 1,288
- 13
- 25
0
votes
1 answer
How diagnose why Java app fails to open a socket (after running successfully for a while)
I'm trying to diagnose why a Java-based app runs for a while as a client making SOAP webservice calls, and then starts hitting an exception whereby it cannot open a socket. The OS is Windows 2003 server SP1.
The netstat -an output shows some…

user98063
- 1
- 1
- 1