The java tag has no wiki summary.
3
votes
3answers
33 views
Java default JRE parameters on Unix
Is it possible to configure java in unix to always add a JRE parameter whenever java is run?
e.g. -Dcom.sun.management.jmxremote.port=25800
-1
votes
1answer
21 views
Host And Expose Aplication to local small network
I developed a little application (web application) using JavaEE+MySql. I try to keep some data and .. from time to time to get some reports using my data.
My problem is I have to access this ...
0
votes
1answer
27 views
Java application server behind IIS 7.5 on Windows Server 2008
I have a Java application server (GlassFish, indeed, but the problem is the same for any other application server, I guess), running on port 8080. And I have IIS 7.5 listening on port 80 as by default ...
1
vote
0answers
12 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 ...
-1
votes
0answers
26 views
Definitive fool-proof steps for 0MQ / ZeroMQ and Java on Windows 7? [closed]
Moved from http://stackoverflow.com/questions/10762093/definitive-fool-proof-steps-for-0mq-zeromq-and-java-on-windows-7#comment13989453_10762093
I've been trying to use 0MQ in my Windows dev ...
-1
votes
2answers
24 views
linux script - find java process and restart it if it is more than 80% Mem High
I want to put in crontab a shell script that will monitor the java process and if it's the memory is more than 80% then I want to restart it.
can any one help?
Thanks!!
Elad.
1
vote
3answers
30 views
Prevent dependency from being installed with APT
I have this script line to install all packages for a new server.
apt-get install mysql-server openjdk-7-jre-headless tomcat7 tomcat7-admin jsvc apache2 ntp subversion
As you can see it installs ...
1
vote
1answer
56 views
How to block the Java installer?
We send PC's out to customers that need a very specific version of Java installed; specifically 6.26. I already disable the Java updater but I was wondering if I could block the customer from ...
0
votes
0answers
18 views
package javax.mail does not exist for centos 6.2 [closed]
I have a centos 6.2 server. I have put the mail.jar into /usr/java/jdk1.7.0_03/jre/lib/ext folder. Then when I compile my java it gives me this error. The funny part I have done this last month on ...
0
votes
3answers
40 views
War deployment vs dir deployment in tomcat?
What is the recommended procedure for deployment of Java Web App in tomcat?
Drop the uncompressed directory or just drop the war?
Im asking because the war is compressed, doesnt it have a performance ...
0
votes
3answers
68 views
JDK Not installing in Debian.
I am using these commands to install JDK/JVM in Debian server -
apt-get install openjdk-jdk
apt-get install sun-java6-jdk
But getting lots of error -
404 Not Found [IP: 149.20.20.6 80]
404 Not ...
0
votes
0answers
11 views
Validations to perform on Appserver Location by installer program
I have been writing an installer program for my software part of the software contains the war files which i need to deploy onto application servers like Tomcat, Websphere and weblogic. What are the ...
1
vote
1answer
37 views
Using standalone.sh but cant see welcome page or web mgmt interface
I downloaded and extracted JBOSS AS 7.1.1. I executed the Standalone.sh script also.
However, now when I try to go to
http:// IP-address:8080
or
http:// IP-address:9990/console
I get an ...
-1
votes
0answers
40 views
How to allow webserver run java from shell [closed]
The question is directly related to the one I've posted on stackoverflow. Problem is as follows. I want to run java -jar from a php script with exec function. Unfortunately, it looks like the _www ...
0
votes
1answer
55 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 ...
1
vote
1answer
14 views
How to set the default java in Solaris?
I just installed the latest java in /usr/jdk/jdk1.6.0_30
Now how do I make this java is the default java for the entire OS? As of now it is still using java 1.5
Thanks.
0
votes
1answer
33 views
elasticsearch service wrapper on gentoo
I have elasticsearch installed and working in /opt/elasticsearch. I want to install a service wrapper for it to start/stop/restart it as a service. Elasticsearch recommends using java-service-wrapper:
...
0
votes
0answers
15 views
UDP packets waiting and then arriving together [migrated]
I have a simple Java program which acts as a server, listening for UDP packets. I then have a client which sends UDP packets over 3g.
Something I've noticed is occasionally the following appears to ...
0
votes
1answer
45 views
Configure HAProxy for rabbitmq
I want to use HAProxy as a load balancer. I want to put two rabbitmq server behind haproxy. Both the rabbitmq server are on different instance of EC2. I have configure HAProxy server by following this ...
1
vote
1answer
68 views
Manually installing Sun Java and Debian/Ubuntu virtual java packages
I've installed Sun Java 6 manually since Canonical has removed it from its package repo (I use Ubuntu 12.04). Now I have the following problem: when I want to install a package which depends on Java ...
1
vote
1answer
42 views
installing java on freeBSD
I have a FreeBSD server with root access and I'm trying to install java on it.
I've tried to install diablo from the /usr/ports/java/diablo-jre15 directory, and it gave me a URL to download a file to ...
2
votes
1answer
55 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). ...
0
votes
1answer
18 views
Running a full java stack on a Macbook Unibody - What performance gains should I expect from going to an SSD [closed]
Right now I'm running a stock 4gb Macbook unibody for javadev. We run two servers, jetty and netty (via Play Framework). I'm thinking of upgrading to an ssd and I'd like to know if anyone has any data ...
-1
votes
0answers
41 views
Can't run a java web application on centos5 + mysql 5.1.62-cl1 + tomcat 6
I develop a java web application using JDK 1.6 (J2EE) + springMVC 3 + mysql
Tried to install it on my real server ( cpanel/whm/csf)
but on my server I'm not able to run it.
I've opened all the ...
0
votes
2answers
138 views
Deploying play! 2.0 application on an apache server with a reverse proxy
I'm trying to deploy my play! 2.0 application on an Ubuntu 11.10 server and I have been running into error after error and hope someone can help me here. I am try to deploy my Play! application using ...
0
votes
1answer
12 views
What outbound ports does Nexus Repository Manager use to download Maven artifacts from other repos?
I'm loading up Nexus on a VM with all outbound ports locked down. I need to know what outbound ports Nexus uses to do whatever it does in all scenarios.
Let's assume the repositories it connects to ...
0
votes
0answers
24 views
Java: Accessing online database
I made a Java program which accesses a database. During the development phase I used a local database (XAMPP with MySQL), but when I tried to access 2 different online databases (a commercial and a ...
0
votes
3answers
185 views
JDK not found on CentOS 6 x64
I installed jetty on a CentOS 6 server, but when i try to reach a WAR example of jetty I get this error :
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK ...
0
votes
1answer
85 views
Amazon EC2 estimation
I'm a software/web developer and for the first time I have to set up a cloud system to host one of the websites I have coded. I found very difficult to estimate the costs for an Amazon EC2 cloud ...
-2
votes
0answers
42 views
Which to choose for production environment Tomcat or JBoss [closed]
I want to choose a Java EE Web Server for production. Platform will be Linux. I will not use EJB, so I dont need a Application Server. I will be using JSP, Servlets & REST services. Please suggest ...
-1
votes
0answers
15 views
how to come out from a windows command or process trigred from java code? [closed]
with java code i run a windows command but after starting the command my program doing nothing. Program got hanged. Guys help to solve this problem.
0
votes
1answer
54 views
Issue in java hot spot when more than user request for services
I am working with jboss AS6 also developed some services using jbossws, when multiple user request for services , i am getting error as follows
A fatal error has been detected by the Java Runtime ...
-2
votes
0answers
44 views
OpenJDK / Java 7 in production, spring 2012 [closed]
This question which speaks against OpenJDK is 2 years old. Are there any people here with more up-to-date experience with OpenJDK for production purposes?
And, since Java 7 reference implementation ...
1
vote
0answers
31 views
How can I change the domain name on my application?
I'm trying to figure out how to change my domain from xyz.domain.com/myapp/ to uat.xyz.domain.com/myapp/
The DNS server has been forwarded to the correct IP address. The bigger issue is that I'm ...
0
votes
2answers
80 views
Private cloud solution [Eucalyptus,OpenStack, Nimbus] for Java deployments [Glassfish, Tomcat]
I am interested in a way to have private cloud which would host Glassfish (or Tomcat) server.
Which option from Eucalyptus, Openstack or Nimbus would be best to deploy java applications on it? Or ...
0
votes
0answers
55 views
Rails app running on JRuby & Trinidad / Tomcat hangs on first request after being idle
We have a RoR 3.2 app running on JRuby 1.6.6 hosted inside Tomcat via Trinidad.
I've been trying to figure out for the last couple of days why every so often we would get complaints of it hanging.
...
1
vote
1answer
91 views
Active Directory Certificate Import Successful, but LDAP Authentication Still Fails
I'm having a difficult time getting to the root of this issue. We use LDAP for authentication purposes across several services, confluence, bamboo, sonar, gerrit, etc.. Our LDAP service provider is ...
0
votes
1answer
99 views
Install Tomcat on Linux server
I am trying to install Tomcat on my linux server .Once I had installed glassfish and already working with it . I successfully installed tomcat7 to my server but when I request the machine url : 8081 ...
0
votes
1answer
104 views
how to deploy a WAR archive/ Java web application into server with CentOS + CPanel control Panel
How do I deploy a Java War archive/web application into a server that uses the latest version of Cpanel control panel? The server has Cent OS 6.2 OS.
0
votes
0answers
26 views
ColdFusion JVM: strange memory behaviour
Since last month, we got a problem on our company's server (Win2008ServerStd + IIS7 + CF enterprise 9.0.1 (hotfix2)).
I used jConsole to monitor the Coldfusion JVM (1.6.0_24) activity and here's what ...
1
vote
1answer
45 views
Running multiple background Java processes on Linux
I have a jar file that runs continuously and acts on various events. I need to create multiple instances of this jar, passing parameters to it on start up, and have it continue to run between shell ...
2
votes
0answers
154 views
TCP Window Size going to 0 / Wget stops downloading?
I have a somewhat complex setup that doesn't work, and I'm struggeling quite a bit to track down the root cause.
First of all the big picture:
Node backend is a medium size windows azure worker role ...
0
votes
0answers
16 views
Remotely Tweak Settings for Java control Panel
Would it be possible for me to "remotely" tweak settings under the Jave control Panel?
To be more specific: Set the "Default Browser for Java" under the "Advanced" tab to "Internet Explorer"
I ...
0
votes
1answer
32 views
Java creates three seperate log files with FileHandler, but only when run via cron
Pretty strange problem I've got.
I'm running a small java application every 10 minutes to do some database work. It logs its activity in a file. This works perfectly well except when it's run as a ...
0
votes
0answers
28 views
Deploying java apps with dropbox [closed]
I was thinking of deploying my java apps across all servers using dropbox. This would make it easy to distribute new releases/updates etc.
Is this a good or bad idea?
0
votes
1answer
90 views
JVM crash log file
I have a java application running as a daemon. Suddenly it stop working so I would like to know if jvm crash and where will the log file be dump? It can be either fedora or centos?
1
vote
1answer
56 views
Configuring Tomcat to not load web-app automatically at start up
I have a Java web app which I'm deploying using Tomcat but I'm having some trouble with this.
The problem is that my web app has to talk to some native libraries (via JNI) and those libraries do not ...
0
votes
1answer
82 views
Fedora error log file
I am running a java application using this wrapper service yajsw. The problem it just stopped without any error in its logs file. So I was wondering will there be any system log file which will ...
0
votes
3answers
72 views
How to execute a script when a Linux machine starts
I am using Ubuntu 10.04 and I want to execute the following 3 statements when it starts:
export _JAVA_OPTIONS='-Xms32m -Xmx64m'
cd ~
appengine-java-sdk-1.6.4/bin/dev_appserver.sh --port=8080 ...
0
votes
1answer
68 views
deploying war on tomcat fails to start [closed]
i have a java application which uses JAX_WS when i deployed on my tomcat5 server . it is deployed successfully. but it fails to start
SEVERE: WSSERVLET11: failed to parse runtime descriptor:
...