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
1 vote
2 answers
624 views

Java process eating up all the "low memory" on my Xen VPS

This is on Centos 5, Linux 2.6.33.3-xenU #1 SMP Wed May 5 00:49:22 UTC 2010 i686 i686 i386 GNU/Linux I have a java server process which I normally run with the following configuration -Xmx700m -...
johnbr's user avatar
  • 119
3 votes
1 answer
646 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 ...
torngat's user avatar
  • 131
-1 votes
1 answer
7k views

SFTP - Unable to Overwrite File - "EOF received from remote side"

I am working with a customer to troubleshoot an error they have when trying to overwrite/"PUT" a file to our SFTP site. When the root directory is empty and they try to upload the file there is no ...
NateReid's user avatar
1 vote
6 answers
181 views

What DB better to use for application?

I want to create program for PC in OS Windows, Mac and Linux. Program deal must use big DB with about 12 000 000 items. I need to have text search what is the best technology for that? Maybe Java + ...
Liutas's user avatar
  • 125
0 votes
3 answers
770 views

JVM hangs with 100 IO wait on Ubuntu Maverick (AWS EC2 xlarge instance)

Asked this question on on stackoverflow, reposting: Have an xlarge instance in AWS running 9 Tomcats with heaps from 256M to 4G. With Ubuntu 10.04 the box sporadically hangs for a few hours with huge ...
Leon's user avatar
  • 11
0 votes
1 answer
942 views

Confusion in installing mod_jk on Ubuntu

I am working from this document in trying to install mod_jk http://www.howtoforge.com/apache2_tomcat5_mod_jk_p2 I am at the step towards the bottom where they suggest to use the make command. I was ...
Genadinik's user avatar
  • 1,143
0 votes
0 answers
438 views

JVM hangs with 100 IO wait on Ubuntu Maverick (AWS EC2 xlarge instance)

Have an xlarge instance in AWS running 9 Tomcats with heaps from 256M to 4G. With Ubuntu 10.04 the box sporadically hangs for a few hours with huge run queue (30-40), and nothing on CPU, then recovers....
user avatar
2 votes
1 answer
3k views

how to solve out of memory error in java in amazon ec2 server

can anyone explain about this error message? we are using IBM jre to run java application Its occupying more space on the server. JVMDUMP006I Processing dump event "systhrow", detail "java/lang/...
sathishkumar's user avatar
0 votes
1 answer
427 views

Tomcat server not starting up with Tomcat5.sh

I have installed Tomcat 6.0.32 and have been trying to use the Tomcat5.sh script to startup jvsc. The problem I'm having is when I run the Tomcat5.sh script Tomcat does not actually start up. When ...
concertman's user avatar
1 vote
2 answers
6k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
altern's user avatar
  • 195
0 votes
2 answers
957 views

Deploying Java Web Applications on Distributed Servers

I'm having to deploy my application to three servers and soon to be four. This is becoming a pain and I'm looking to automate it. I was going to script this, but this is such a common problem and ...
Bradford's user avatar
  • 295
3 votes
3 answers
43k views

Can I delete java dump files (java core dump, heap dump, snap dump, etc)

Can dump files like java core dump, heap dump, snap dump, be deleted? They are occupying lots of space on the server. Is there any usage of this file? Will anything happen on production servers if i ...
sathishkumar's user avatar
1 vote
2 answers
32k views

Start Java jar as Windows Service using SC.EXE

I want to start a Minecraft Server as a Service in a Windows Server 2008 R2 machine. This command line works fine: c:\Windows\System32\java.exe -cp c:\Data\minecraft-server\minecraft-server.jar com....
Yooakim's user avatar
  • 163
0 votes
1 answer
131 views

Load balancing in Tomcat in 64-bit OS

Sorry about double post. Actually I want to move my question on StackOverflow to ServerFault but it seems like I can't do it. Below is my question: I have a web application and required load ...
Lee Chee Kiam's user avatar
0 votes
2 answers
1k views

Setting multiple paths to JAVA_HOME in Ubuntu

I am trying to set the JAVA_HOME path in Ubuntu from the .bashrc file I currently have something like export JAVA_HOME=/usr/local/jdk1.6.0_24 But I want to also add the servlet libraries in the ...
Genadinik's user avatar
  • 1,143
1 vote
1 answer
2k views

Where to set path for servlet libraries in Tomcat?

I am trying to follow some good-practice methods and not place the servlet jars into the java install. Instead what I am hoping to do is figure out the correct way to point to the servlet jars. If ...
Genadinik's user avatar
  • 1,143
1 vote
2 answers
2k views

Java and Tomcat - where to put jars?

I am trying to understand what are considered good practice things to do in Java and Tomcat environments. 1) When I run my Ant script, the compile task in ant requires the machine classpath to have ...
Genadinik's user avatar
  • 1,143
8 votes
5 answers
7k views

Suggestions for free/cheap asset/patch management software (Adobe, Java, etc)

I am using WSUS for Microsoft patching but would like something that will inventory and patch Adobe, Java, Firefox, Quicktime, etc. I have used Lumension in the past and it was OK but it is too ...
ThorinOak's user avatar
1 vote
1 answer
480 views

Is a new .war file uploaded to the webapps directory supposed to force tomcat restart?

I am putting together a new build environment and when I upload a new .war file, Tomcat does not seem to be unwrapping it into a directory structure, or restarting. Does there have to be some setting ...
Genadinik's user avatar
  • 1,143
4 votes
0 answers
1k views

Only allowing certain Java apps through firewall

Using Windows Firewall and Advanced Security, I block everything outgoing by default and define outgoing rules to allow my approved apps through. For Java apps, I only allow java.exe through to ...
jontyc's user avatar
  • 213
0 votes
4 answers
6k views

Hung Java JVM failing to respond to kill -3

I have a Java VM that is hanging "randomly". I quote the randomly bit, because there is obviously a reason that the VM is hanging, but the hang does not occur periodically. We have the same software ...
Hans's user avatar
  • 1
3 votes
2 answers
2k views

Where to set JAVA_HOME in Ubuntu

I am trying to configure Tomcat to know where JAVA_HOME is. I am used to Windows :) ...which file should I edit to add the Java info, and where is it located?
Genadinik's user avatar
  • 1,143
0 votes
1 answer
598 views

How to do MAC based one to one NAT on Linux?

I have a linux machine running ubuntu server with 2NICS (WAN and LAN). I want the LAN side machines to use the linux box as a gateway to get on the internet (WAN side). The only problem is that the ...
user avatar
0 votes
1 answer
262 views

Hosting java/j2ee apps on apache tomcat6 server along with the database

I have a java/j2ee web application built using tomcat6 and at back endI have mysql 5.1 database, I have configured my server that an amazon ec2 instance and I have installed apache tomcat6 along with ...
Jeevan Dongre's user avatar
8 votes
1 answer
2k views

Tomcat7 PPA for Ubuntu LTS 10.04.2

Does anyone know of a ppa / repo that will install tomcat7. I know I can install from source but I'd rather if possible use a PPA/Repo. I found a nice one for suncoughoracle-java but there does not ...
telstone's user avatar
  • 169
2 votes
1 answer
365 views

Amazon Ec2 segfault error

I have a production Java application hosted on Jetty. During the last week or so, the system has crashed, leaving only a single message accessed with "dmesg": java[20551]: segfault at ...
sathishkumar's user avatar
0 votes
2 answers
737 views

hard mount on solaris with java app turning off the nfs server makes the java app get stuck

I have a java app that accesses an NFS share with hard mount (soft mount does troubles i get many RPC timeout's for some reason). I'm on solaris. If i turn off (svcadm -v disable to the nfs server) ...
Jas's user avatar
  • 711
1 vote
2 answers
2k views

finding a linux distribution that will run on sparc cpu

We have a server that runs on Solaris using the sparc CPU. What we want to do is run linux on sparc. Is there any distribution that will allow linux to run on a sparc CPU? The reason is because we ...
ant2009's user avatar
  • 149
3 votes
1 answer
2k views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: http://simplygenius.com/...
freshfunk's user avatar
  • 155
1 vote
1 answer
2k views

JBoss 6 Class Loading Issues

I am using JBoss 6 and i want to deploy my war application. I was deploying my application to JBoss5 successfully by using jboss-classloading.xml under my web-inf directory. This isolation method was ...
Mert Meral's user avatar
2 votes
2 answers
806 views

How can I avoid press "Enter" during Java Sun (Oracle) 1.6 installation on Linux (CentOS)

It is quite easy to install java sun jdk 1.6.x using xxx.rpm.bin installer from java.com, but it forces you to press "Enter" for the license agreement during installation. This is a problem for me as ...
abovesun's user avatar
  • 123
0 votes
1 answer
224 views

Where do I find the Java command line tool "Gdb"?

Where do I find the Java command line tool "Gdb" ? It's not included in my Sun JDK 1.6 distribution. I need a way to take a java core dump from a live java instance.
djangofan's user avatar
  • 4,200
1 vote
2 answers
4k views

install java on centos vps through ssh

I'm a complete linux beginner so please keep your answer understandable for a noob :) I wrote a little java servlet and, in order to run it, acquired a VPS which runs Centos 5. now, in order to run ...
Mat's user avatar
  • 13
0 votes
1 answer
814 views

Why does Play! not recognize JDK when I try to build with ant?

I recently built an ubuntu server that I am going to do some minor web hosting on. I have wanted to use Play Framework for a while now, so I thought this would be a good opportunity. I installed Play ...
jbranchaud's user avatar
1 vote
2 answers
2k views

Liferay and Oracle DB

I'm installing liferay community edition with an Oracle database, I managed to get it running with the user SYSTEM, but I don't like this... I want to create another user in another tablespace, the ...
iamedu's user avatar
  • 13
0 votes
1 answer
2k views

getUserPrincipal() in JCIFS / Lan-Manager authentitation level setting in Windows 2k8

I have to find out in which exact format JCIFS stores the user principal in the "getUserPrincipal()" property. Therefor i created a test Environment like this: Windows Server 2008 Domain Controller ...
Chris's user avatar
  • 161
0 votes
1 answer
97 views

hsqldb eats almost 1GB RAM

I run hsqldb Server in new empty folder on debian 5 by this: java -cp hsqldb-2.0.0.jar org.hsqldb.Server& and java with this process eats 908MB. Is it ok?
proc's user avatar
  • 21
1 vote
2 answers
1k views

Which is more expensive? hosting server for ASP.NET or for Java? [closed]

I would like to know which one of them is more expensive?
Goma's user avatar
  • 217
1 vote
2 answers
2k views

Efficient way to secure tomcat database connections

Our customer has a problem with database information in plaintext within a server.xml or context.xml file on the Tomcat server. I've looked at several sites like OWASP and it seems like there's no ...
Greymeister's user avatar
1 vote
2 answers
974 views

Java 64 bit application takes more memory than 32 bit

We have an application running on Mac with java 1.5 .This is a 32 bit VM. The heap memory is within the limit. When we move this application to Linux with java 1.5.(64 bit) We see a 50% increase in ...
mssv's user avatar
  • 11
1 vote
1 answer
2k views

How to install Sun Java JRE (or JDK) on Ubuntu 10.04?

I've followed a variety of instructions about modifying my sources.list trying to install Sun's JRE for Java 6 with no luck. The defining error I'm getting appears to be package sun-java6-jdk is ...
Adam Davis's user avatar
  • 5,456
5 votes
2 answers
10k views

Java: Tomcat slow serving static files?

I'm running an instance of Apache Tomcat (5.5) on a Windows 2008 platform. I think I'm seeing an issue related to concurrent file access / locking. When the number of concurrent HTTP threads is ...
Michael's user avatar
  • 325
1 vote
2 answers
3k views

Should I use nginx exclusively, or have it as a proxy to Tomcat (performance related)?

I've planned to create a website that'll be pretty heavy on dynamic content, and want to know what would be the wisest choice for part of my webstack. Right now I'm trying to decide whether I should ...
Kevin's user avatar
  • 113
0 votes
1 answer
1k views

How do i stop Squid proxy from corrupting jar-files?

Our internal corporate NTLM proxy (Also Squid i think) randomly returns 407 errors for some reason, and it's pointless to even try to get someone to fix that. I have on my Windows computer an ...
Christoffer Hammarström's user avatar
3 votes
2 answers
2k 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 ...
Matt Campbell's user avatar
2 votes
2 answers
1k views

Can I restrict SSL access to Tomcat by Extended Key Usage?

I'd like to restrict the SSL access to a Tomcat instance using certificates, and not relying on any "user" accounts. I have a CA which is being used to sign the certificates, but if I configure ...
Zac Thompson's user avatar
  • 1,043
2 votes
1 answer
2k views

Websphere 7.0 Work Manager Max Threads Ignored?

I'm trying to chase down a bug in an internal application and as part of this work I noticed an apparent discrepancy between the "Maximum number of threads" setting in WAS (BASE 7.0.0.0 r0835.03) and ...
Matt Kendall's user avatar
-1 votes
1 answer
1k views

Options for sending data between two computers over the internet

My problem is fairly simple: I wish to send/receive simple commands between two PCs. The first PC (PC1) runs a program that controls and monitors an alarm system. The seconds PC (PC2) is any PC that ...
Kritz's user avatar
  • 135
1 vote
2 answers
2k views

Tomcat6 on RHEL 5.5

Based on the answer to a similar question (CentOS) I have installed the jPackage .repo file and attempted sudo yum install tomcat6. I am met with the following error messages: --> Finished Dependency ...
Bryson's user avatar
  • 263
0 votes
1 answer
132 views

Can i host multiple websites in java container in linux

I have linuc VPS server. I want to know that is it possible that i can host multiple java j2ee sites on that
user avatar

1
27 28
29
30 31
37