Questions tagged [java]

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

Filter by
Sorted by
Tagged with
17 votes
2 answers
41k views

Adding lines to /etc/profile with puppet?

I use puppet to install a current JDK and tomcat. package { [ "openjdk-6-jdk", "openjdk-6-doc", "openjdk-6-jre", "tomcat6", "tomcat6-admin", "tomcat6-common", "tomcat6-docs", "...
miku's user avatar
  • 445
0 votes
1 answer
2k views

glassfish v2 access control by IP

How can I restrict access to some web-app deployed in Glassfish from certain IPs ? Are there any internal access control in Glassfish or I need to proxy it with external nginx or Apache ?
gordon-quad's user avatar
1 vote
2 answers
796 views

java for freebsd

I am trying to install java on freebsd 7.X and i have done following thing so far download the tar file from this link and store the file in cd /usr/ports/distfiles/ after that i run cd /usr/...
rawman's user avatar
  • 13
1 vote
1 answer
4k views

Enabling JMX for proxool with tomcat

I am trying to get proxool's MBeans available so that I can see/manipulate them with jconsole. I have jconsole working, but I don't see anything related to proxool. The system is using Sun Java 1.5....
dialt0ne's user avatar
  • 3,075
0 votes
1 answer
1k views

Running Sonatype Nexus in Tomcat 7.0, Tomcat blocking PUT requests

I was previously running Nexus 1.8 on OSX and uploading jars for releases without any issues. The OSX box died, so I moved to a FreeBSD server. Since Nexus doesn't have binaries for FreeBSD, I decided ...
gdm's user avatar
  • 265
1 vote
2 answers
8k views

JBoss thrown error looking up local address when starting

Hello im installing a fresh Jboss 5.1 in a Centos 5.5 machine. I dont have Apache installed. So when I try to start jboss using the comand ./run.sh I get the following error 15:13:57,414 INFO [...
Jeeba's user avatar
  • 13
3 votes
2 answers
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 ...
McKAMEY's user avatar
  • 635
2 votes
1 answer
472 views

Environment variables and further user setup

I have a jar file, which works in many machines. However we just asked for a new unix user to install it, and it is not behaving the same... wonder if it could be anything related to some env. var. ...
filippo's user avatar
  • 219
0 votes
2 answers
960 views

Where to install JDBC drivers in Hyperic Server

I have installed Hyperic Server 4.4.0 and I want to use an SQL plugin that connects to an Oracle database. To make this work on the Agent i had to download a JDBC driver for Oracle and put it in [...
Svish's user avatar
  • 7,227
1 vote
2 answers
2k views

Phantom process killing

I have a java application running on a CentOS 5.4 server. Randomly, and seemingly without cause, these processes will die, not through the application exiting, or due to my killing it, but due to ...
Martin's user avatar
  • 55
2 votes
3 answers
112 views

Resources on Java for Sys Admins? [closed]

I've been fortunate enough to make it four years as an SA without having to administer systems making use of Java. My luck has run up and I am starting a new job and they make extensive use of Java. ...
CarpeNoctem's user avatar
  • 2,457
2 votes
3 answers
1k views

VPS : How to deal to servers without swap?

I have recently deployed a java application on a VPS but It keeps crashing because the JVM runs out of memory after a while. I never had this issue on other 'low memory' servers thanks to the swap but ...
mnml's user avatar
  • 347
3 votes
2 answers
5k 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 ...
700 Software's user avatar
  • 2,273
0 votes
2 answers
4k views

How do I configure tomcat6 with a host name?

I'm trying to deploy the WAR file of Apache Shindig to an apt-installed Tomcat 6 server on Ubuntu 10.04. Unfortunately, when it writes out things like <script> tags, all the URLs are http://...
Paul Fisher's user avatar
1 vote
1 answer
898 views

Glassfish v3 failure when startup. "Cannot allocate memory "

It is clear in this Question https://serverfault.com/questions/210275/fail-to-start-glassfish-3-1-java-io-ioexception-error-12-cannot-allocate-mem But in my case,I have a 512M memory Ubuntu 10.04 ...
Shisoft's user avatar
  • 161
1 vote
5 answers
2k views

High server load

A Hudson server used by developers is having some timeout issues. Whenever Java is compiling (git is checking the modules, java classes are compiled, tested and copied to Nexus), something goes wrong ...
Tuinslak's user avatar
  • 1,475
1 vote
1 answer
982 views

GWT - Oracle JDBC Connection problems

I am having great difficulty making a connection to an Oracle Database OJDBC. I´m using Google Web Toolkit and i added a SQL Database to my project. The Database name is Agenda. I've searched a lot, ...
Martin's user avatar
  • 111
1 vote
1 answer
2k views

Java direct download link

is there a direct download link to the JDKs and JREs? Maybe even a stable link to the latest JDK? I need to download Java at the command line and don't want to click through the Oracle homepage.
Daniel's user avatar
  • 844
2 votes
2 answers
4k views

Problem starting Glassfish on a VPS

I am attempting to install Glassfishv3 on my Ubuntu (8.04) VPS using Java 1.6. I initially tried starting the server using: asadmin start-domain and received the following error message: JVM ...
Raydon's user avatar
  • 21
0 votes
1 answer
1k views

Cannot run Java from IE as Standard User

When installing Java 6 update 23 using my admin account i cannot seem to get Java applets to work on IE8 using my standard account. If i run the browser as an administrator Java applets will run in ...
chicken's user avatar
  • 198
0 votes
3 answers
12k views

How to install Java on Ubuntu through SSH?

In short, all of the installation guides assume that I have a way to download the Java binary. Being clueless, I do not know how to do this. I'm using Ubuntu 9.10-x86_64
user avatar
0 votes
1 answer
2k views

PostgreSQL + JDBC: parse too slow on first query

I use Aqua Data Studio in OS X to make queries in a PostgreSQL server, but the first query of the day runs too slow. It not depends on the SQL, a simple SELECT current_timestamp will parse and ...
Fernando M. Pinheiro's user avatar
1 vote
2 answers
3k views

means to verify whether mails sent using a java application is delivered to the destination by the SMTP mail server

I am trying to send mails in large numbers, say 1000, using a java test application and a mail server, but though the application confirms that it has sent all the 1000 mails without any exceptions, I ...
user68145's user avatar
106 votes
3 answers
450k views

What is .crt and .key files and how to generate them?

I've the following configuration: SSLEngine on SSLCertificateFile /etc/httpd/conf/login.domain.com.crt SSLCertificateKeyFile /etc/httpd/conf/login.domain.com.key SSLCipherSuite ALL:-ADH:+HIGH:+MEDIUM:...
Mohammad Ali Akbari's user avatar
0 votes
1 answer
439 views

Frustrating JDBC MySQL Exception

So I'm setting up my new server after my old one had died of a server failure. The only boulder I've hit is the JDBC set up. My server runs a Java program that had originally worked fine with the old ...
AeroDroid's user avatar
  • 101
9 votes
3 answers
19k 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 ...
andygeers's user avatar
  • 373
0 votes
2 answers
762 views

JDBC CLASSPATH Not Working

I'm setting up a simple JDBC connection to my working MySQL database on my server. I'm using the Connector-J provided by MySQL. According to their documentation, I'm suppose to create the CLASSPATH ...
AeroDroid's user avatar
  • 101
1 vote
2 answers
443 views

Coldfusion multiserver instance hangs

I have a coldfusion 8 multiserver setup with IIS in Windows 2008 Standard SP2 and when one instance "hangs" (I can't connect to the instance from fusion reactor) the web server throws a "503 service ...
user avatar
6 votes
2 answers
8k views

Why are there so many processes running?

I host several Rails applications on a VPS using Ubuntu 8.04, Nginx, Passenger, Mysql, RVM, so all the usual suspects. In the last days it was the first time I really had to debug a problem and look ...
Manuel Meurer's user avatar
0 votes
2 answers
9k views

powershell run java process problem

I'm trying to run a java process via Powershell in Windows XP. Here's the command: java.exe -cp .;./common.jar -Dcontext=atest1 -Dresourcepath=. DW_Install So, the classpath is . and .\common.jar (...
lmat - Reinstate Monica's user avatar
0 votes
1 answer
2k views

Cannot run java as regular linux user

I am having problems trying to run java as a normal user on linux. It runs fine as root user but not as a regular user. Any help would be apreciated. Thanks root@pro1 [~]# which java /usr/local/...
Roger's user avatar
  • 1
0 votes
1 answer
365 views

How to convert non key, value java arguments to applet params? (args like -Xmx64m)

I'm trying to use xvpviewer (based on TightVNC) to VNC into my VMs running on Citirx XenServer. There are a couple of caveats required with trusting the certificate from XenServer which I've got ...
bwizzy's user avatar
  • 1,295
1 vote
2 answers
2k views

CLOSE_WAIT keeping process alive on windows

I have several java processes running on a windows server. I have noticed from time to time when I try to kill the process it remains alive. The cause seems to be sockets in CLOSE_WAIT associated with ...
ng01's user avatar
  • 161
0 votes
1 answer
701 views

Jboss-4.0.5 Run.bat error ? (OS=Windows XP)

wehen I execute the Run.bat file in Jboss-4.0.5 the following error appear :- Error: no server JVM at C:\Program Files\Java\jre6\bin\server\jvm.dll'. Press any key to continue . . . I download JDK1....
Mohammad AL-Rawabdeh's user avatar
1 vote
1 answer
197 views

Run java software from OpenVMS

I have a .com file that starts a java software from OpenVMS. Now I need to add the following option to the .com script: set process/parse=extended But it doesn't work! set process/parse_style=...
michelemarcon's user avatar
1 vote
3 answers
9k views

Java process eating CPU; Why?

I have a Linux server which I have installed Java on. Sometimes, and only sometimes when a large number of visitors visit my website, the site hangs. When I open the terminal and enter the "top" ...
Anonymous12345's user avatar
0 votes
1 answer
2k views

Installing Sun Java on Fedora 14

How do you install Sun Java on Fedora 14, instead of the default OpenJDK?
Yuval A's user avatar
  • 257
0 votes
1 answer
5k views

How to set up PostFix to send mail [closed]

I am working on a email confirmation for a website and I am really new to this. So if anyone please kindly show me how to set up postfix to send out mail. I only need to send out mail (Plain text is ...
Harry Pham's user avatar
1 vote
2 answers
277 views

Is it possible to have different hosting like php/java/python on VPS server

I have the VPS server with Centos with php/apache/cpanel/whm. I have 20 websites hosting mainly with php. Now i have got few clients who want to use java/jsp on websites. I want to know that is it ...
user avatar
2 votes
3 answers
919 views

Diagnosing Solaris 8 server memory and swap space usage

Essentially, my question is related to memory allocation for Solaris virtual machines. I am running a couple of old Sun ONE 6 Java web servers on two Solaris 8 virtual machines. I see that there's a ...
Jesús Zazueta's user avatar
4 votes
2 answers
9k views

Anyone know of any Free Java hosting services?

I have a java server I want to host on the net. I found google app engine, but it requires a lot of changes to the app. Basically, I want to put my compiled jar somewhere, then run and control it ...
NullVoxPopuli's user avatar
4 votes
1 answer
2k views

Where to specify JAVA_HOME to make it visible for apache?

It's CentOS 5. I created /etc/profile.d/java.sh file where I set and export JAVA_HOME. Everything works fine in terminal. When I'm trying to get this environment variable from PHP under Apache I get ...
yegor256's user avatar
  • 1,846
7 votes
6 answers
132k views

Configure an IP address instead of localhost:8080 tomcat eg:192.260.0.2:8080

Can anyone suggest me how to configure my localhost:8080 in tomcat to connecting to an IP address instead of localhost such that i access my localhost in any system in my workplace... i am using ...
dude's user avatar
  • 181
0 votes
1 answer
205 views

Problem with instalation of LucidDB

I am trying to install LucidDB on Ubuntu 10.04 64Bits. In the doc they say : Set the JAVA_HOME using the correct location for your JRE (make sure it's Java 1.6 or higher), and then re-login: ...
Spredzy's user avatar
  • 963
0 votes
1 answer
377 views

Tomcat serving wrong content

Any pointers would be helpful. Text below is taken out of fiddler. This happens once in few days. Usually gets solved by restarting. Thanks. Request to a html page from SSL is returned with a png ...
Anil's user avatar
  • 1
0 votes
1 answer
419 views

Installing Java on a Virtual Private Server

I have recently managed to get my employer to pay for a vps. I teach and asked the vps provider to enable Perl, Python, Ruby, Tomcat and Java. They've done the first four (really quickly) but have got ...
user avatar
1 vote
3 answers
843 views

How to run parallel jdk version

I installed a new jdk 1.6 parallel to that existing 1.5, however I got this error when I run the java binary. ./java -version Error occurred during initialization of VM java/lang/...
user avatar
0 votes
3 answers
975 views

How to troubleshoot this memory usage?

I have a classifieds website. I use PHP, MySql, and SOLR. Solr uses a Servlet Container, in my case JETTY, which is java application. I just noticed that something was terribly wrong on my website. ...
Anonymous12345's user avatar
1 vote
3 answers
286 views

When should I upgrade (or not upgrade) Java?

I'm pretty familliar with .NET and know that patches and upgrades are mutually exclusive to framework versions (1.x) and (2.x / 3.x) and (4.x). This segregation makes it easy to understand the ...
makerofthings7's user avatar
0 votes
3 answers
757 views

how to run java program as a demon thread in linux

how to run java program as a demon thread in Linux
Mouli's user avatar
  • 1

1
28 29
30
31 32
37