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
2answers
648 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 ...
2
votes
2answers
341 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 ...
1
vote
2answers
359 views

multicasting in different networks in java

I'm writing a code to work through sockets in java. I've created a multicast group to which anybody can join on the LAN. But the LAN has many different networks, operated by a router, and the ...
1
vote
2answers
275 views

How do you update your Java EE app in production?

I’ve been trying to figure out what is happening in the world of Java EE production deployment and frankly it seems pretty scary. After speaking to over a 100 people these are my hypotheses: Nobody ...
0
votes
2answers
486 views

Proper acting when a process is consuming 100% time of CPU

On several machines I have a problem with a process that is using 100% time of a CPU. USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 85740 100.0 0.2 34668 ...
0
votes
2answers
234 views

Which libraries are required for Java7 when installing on Debian wheezy?

It is trivial to download and install the Java 7 distribution from Oracle.com. But I am concerned about any dependencies that might be missing on the system. How can I find out which libraries are ...
0
votes
2answers
137 views

Glassfish admin loading forever

i have downloaded the .sh bundle of Glassfish 3.1.2 on my mac machine and started the server using ./asadmin stat-domainand tried to hit the url http://localhost:4848/ but the page is loading ...
0
votes
2answers
170 views

Java virtual hosting manager

I have a server system on which i want to host java web application's. I can do that only with tomcat and can host multiple application's, but i don't know how can i host multiple application's on ...
0
votes
2answers
312 views

Can you please help me to find the TOMCAT 5.0.28 server start up time in windows,

I have two server instances TOMCAT 5.5 and TOMCAT 5.0.28, My application running on TOMCAT5.5. some body have stopped my TOMCAT5.5 and started TOMCAT 5.0.28 (May be accidentally). Can any body help me ...
0
votes
2answers
259 views

hitting a webpage hosted in JBOSS externally

I have jboss 5.0 running a web application I am developing. I am able to hit the pages using localhost:8080 but not my external IP address.. How can i hit with my ip???
0
votes
2answers
1k 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 ...
0
votes
2answers
1k 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
2answers
4k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under ...
0
votes
2answers
617 views

Setting up Java Runtime Environment on Shared Hosting

I want to run a .jar file on my shared GoDaddy hosting, but I can't install the JRE to the system because I don't have root access. Is there any way I can use the unpackaged files to execute the java ...
0
votes
2answers
154 views

java rmi testing application

i want to test a small app that has a centralized server and other chat clients are connectes to it... so far i tested it on my home network using "ipconfig" to find out the ip addresses of the ...
0
votes
2answers
708 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 ...
0
votes
2answers
438 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 ...
0
votes
2answers
133 views

What could cause this Java UnsatisfiedLinkError?

The first part of the stack-trace is as follows: "UnsatisfiedLinkError (/usr/lib/jvm/java-1.5.0-sun-1.5.0.19/jre/lib/i386/libawt.so: libmlib_image.so: cannot open shared object file: No such file or ...
0
votes
2answers
196 views

.jar why it works only with specigic jdk version?

I have website source code...in which there is a adito.jar file first i extract it ...then make again jar using "jar -cvf adito.jar . and the changed jar file work fine again with that website. above ...
0
votes
1answer
51 views

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 ...
0
votes
1answer
258 views

Problems encoding an HTA file to run Java+Batch files for DNS server

I'm having a problem coding a .HTA file, and I really need some help. I've been searching all over the place and I can't seem to find what I need to add to this code to make it run. I'm trying to get ...
0
votes
1answer
595 views

How to access shared hosting database with Java desktop application

I am new to this forum and I was looking for a solution for one of my questions. I have developed a Java desktop application. I have a database in a shared php hosting server. Is there any possible ...
0
votes
1answer
794 views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
0
votes
1answer
294 views

Tomcat 6, unable to login via /manager/status page despite the username / password being in tomcat-users.xml file?

I need to be able to remotely login to my Tomcat 6 server to setup an application that monitors it and have been instructed to first use the Tomcat http:///manager/status page to try to login with a ...
0
votes
1answer
168 views

How to run a multi language web application server?

I'm a web application developer and whenever I buy a web hosting for my application I'm either limited by the technologies supported or the amount of resources (heap size for instance) so I have ...
0
votes
1answer
447 views

Why are all the tabs except MBeans disabled in JConsole? (when using “Remote Process” connection)

I'm trying to connect to JConsole on a server running: java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu12) OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode) ...
0
votes
1answer
164 views

Eclipse on Ubuntu: Rectangles instead of Strings and some Java methods and classes

after upgrading from Ubuntu 9.04. to 11.04 (new installation), I have weird problems with the Eclipse editor. With the Eclipse PyDev plugin, whenever I typ single quoted strings like 'bla', they ...
0
votes
1answer
202 views

Provsioning server error

Hi I have a provsioning server which has started throwing some error: - [29/May/2011:02:08:57] warning (19192) https-443.prams-prov.csfb.net: for host 111.53.93.220 trying to GET /home.cfm, ...
0
votes
1answer
121 views

Cannot access application after installing ipv6 on xp

I have a tomcat webapplication running on 8080 which will fetch xml from another application at 4040, both running on a xp machine. Everything was working fine until I installed IPv6. Now I cannot ...
0
votes
1answer
248 views

how to implement single instance of web application

I want to run only one instance of my web-application which is deployed in tomcat 5.5 how to implement it. for example if the system has 2 tomcat server each having the web application name xxx i ...
0
votes
1answer
810 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
0
votes
1answer
877 views

Problems to connect Java visualVM to a EC2-instance

I'm trying to profile a AWS EC2 instance via visualVM. The instance is in a securitygroup which allows all connections and i'm runing jstatd with a grant codebase ...
0
votes
1answer
652 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 ...
0
votes
1answer
630 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 ...
0
votes
1answer
611 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 ...
0
votes
1answer
263 views

Which one: Ubuntu 8.08, Fedora 8 or CentOS 5 for VPS hosting?

Which one of the following distributions are better for VPS hosting (with pro/cons): Ubuntu 8.04 Fedora 8 CentOS 5 I'm mostly looking for low resource usage (CPU & RAM) and easier management. ...
0
votes
1answer
481 views

Frequent occurence of FULL GC

There is a frequent occurence of FULL GC in our system. We are using Java application running on Tomcat server. Our application is running using internal load balancer setup. We are seeing lot of ...
0
votes
1answer
363 views

How to host web application in apache tomcat

I created a small web application in Java using eclipse. Now I want to host it in apache in my local machine. How to do this? I want some simple instructions not very technical details. Thanks in ...
0
votes
1answer
159 views

Compilation of Etherpad fails in an OpenVZ VE

I’m almost giving up, this will be my last try: I try to compile Etherpad on my OpenVZ server. It’s running a Debian 5.0 as the host system, in the VE I’ve got Ubuntu 10.04. I installed Etherpad in ...
0
votes
1answer
682 views

Schtask.exe, Running Java Jar as System, Program Can't See Network (Windows Server 2003)

I have an executable JAR file that runs fine under a normal user account. I am trying to schedule this JAR file to run as a System task using Schtasks.exe in Windows Server 2003. The following works ...
0
votes
1answer
222 views

When starting Tomcat it looks like two different JAVA_HOME paths are being concatenated together

When I try to start tomcat it doesn't work. When I look in tomcat/logs/catalina.out I get the line: ./catalina.sh: 454: /usr/bin/java/bin/java: not found This makes sense since there is no ...
0
votes
1answer
206 views

problem with sending the full email body by smtp with javamail

i want to send emails to an address with a java program (using javamail) via smtp. it actually send the emails to the destination. the problem is the body of the email isn't send fully each time. ...
0
votes
1answer
45 views

Deliver files from a web server from outside the web app

Is there anyway to server a file from a web server through the web, that is not within the web application. I am using Tomcat and a Java servlets based application.
0
votes
1answer
46 views

Java 6.0 Virtual Machine re-caches application on every load

I have a Java application which is loaded and cached by the JRE and for most users it only needs to cache once unless the application software has changed. However, I have one computer that caches ...
-1
votes
1answer
35 views

enable java app to establish http connection under network of VPN.

Some relative question http://stackoverflow.com/questions/17170980/connect-to-http-server-behind-vpn-with-java has already asked in Stack Overflow while I don't still have a solution since this should ...
-1
votes
1answer
54 views

Tomcat can't start on CentsOS

Tomcat 6 installed via yum. When i try to start it, catalina.out contain: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual ...
-1
votes
1answer
1k views

tomcat cannot write files into WEB-INF folder

I used cpanel+tomcat .the Project structure is : ROOT ----index.jsp ---- sample.txt ----- /WEB-INF/classes/pack2/sample2.txt tomcat Can write into sample.txt with permission 664 . but cannot ...
-1
votes
1answer
2k 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 ...
-1
votes
1answer
410 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 ...
-2
votes
1answer
178 views

Vertx: What do these errors mean?

I'm trying to run a java applet using the Vertx platform but getting the following errors, as I am not a java person.. I'm having a hard time understanding how to fix these, your help is much ...