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
611 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
324 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
1k views

javac compiler throwing error in CentOS 5.7

I'm trying to install Red5 on a vps running CentOS 5.7 in MediaTemple using this how-to (dv):Install Red5 Media Server but on step 7 I get this error: BUILD FAILED /usr/local/red5/build.xml:217: The ...
1
vote
2answers
338 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
259 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
466 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
207 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
119 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
146 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
228 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
235 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
931 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
1answer
3k views

Error deploying Spring with JAX-WS application in Jboss 6 server

I'm getting this error when I deploying spring+JAX-WS application in jboss server 6.1.0. 09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed: ...
0
votes
1answer
193 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
1answer
184 views

customizable web email client backend

I have a comprehensive internal web site for my company, which handles a lot of crm functions as well as other customized functions. I am trying to integrate all needed aspects into this, and am ...
0
votes
1answer
354 views

Rpm repo for java on centos 6

Is there any other repo from jpackage available for centos 6? I don't like to build tomcat, maven from sources. many thanks.
0
votes
1answer
196 views

JVM Max heap size

For an application I use JVM Max heap setting when starting it on both a test environment and a production system. When i connect via JMX to monitor the application I see that the max heap size of ...
0
votes
1answer
327 views

how set owner of file cms.war for ftpuser and owner of cms folder for tomcat user?

I'm using Tomcat Server. I woiuld like the owner of the file cms.war to be the ftp user the tomcat user to be the owner of the cms/ folder. When I uploaded cms.war it was automatically deployed in ...
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
245 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
539 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
725 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
285 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
161 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
399 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
162 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
198 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
245 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
746 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
855 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
590 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
609 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
563 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
255 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
469 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
360 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
158 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
630 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
218 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
201 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
52 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
1k 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
380 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
148 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 ...