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
585 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
2k 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 ...
2
votes
2answers
308 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 ...
0
votes
1answer
80 views

Java group policy install succeeds but not fully installing

I am attempting to deploy java over group policy and am running into a few issues. Sometimes when the msi installs, the installer reports that it succeeded in the event viewer, but when I go to the ...
0
votes
1answer
654 views

java 7: should users be aware of changes in heap memory handling?

After installing the latest Java 7 Development Kit (Java SE 7u11) on my Windows 7 Professional 32bit PC with 4Gb RAM, I noticed I can't allocate much memory for Tomcat. Whereas these memory settings ...
0
votes
1answer
229 views

Apache Tomcat getting restarted

We're running tomcat 6.0.35 on a Windows 2008 Server. It runs out of memory every few days. We noticed in the logs that the server is getting reinitialized randomly. We see this in the tomcat log. ...
0
votes
1answer
459 views

What is stopping my Visual JVM remote connection?

I have started my application with this settings below: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=43588 -Dcom.sun.management.jmxremote.authenticate=false ...
0
votes
1answer
83 views

Download all JAVA updates per version

Gentlemen, I need to download all updates of a specific version of Java Runtime Environment (ie, I need to download, jre6u1, jre6u2.....jre6u37, etc), I order to test different versions on a ...
0
votes
1answer
325 views

Network connection failed in Red 5 server

I am new to red5 server. When I try to run Red5 by creating a project in Eclipse using the Red5 plugin it runs with an error: [INFO] [NioProcessor-2] org.red5.server.net.rtmp.RTMPHandler - ...
0
votes
1answer
349 views

Exception thrown when trying to access a web service (Weblogic) - java.lang.LinkageError

I've installed Adobe LiveCycle for Weblogic 10.3.4, and when I try to access one of the web services it deployed, I'm getting the following exception: Exception - java.lang.LinkageError: loader ...
0
votes
1answer
183 views

Restrict Client Certificate except for some pages in ASP.NET / IIS 7 or Jsp / Apache / Tomcat

In IIS you can force client certificate request mais can it exclude some pages ? How is it by coding (sample code somewhere ?) or by configuration ? Same question for Apache / Java
0
votes
1answer
340 views

Cannot connect via remote JMX

I tried to enable JMX remoting on a Java app running on a server by adding the JVM args -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 ...
0
votes
1answer
199 views

Writing a Script to Delete JMS Queus in Websphere

suppose I have the following JMS queues "doc/queue1","home/queue2" and "someOtherQueue" added in a websphere process server, how can I write a script to delete them? looking around the web i haven't ...
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
176 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
180 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
351 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
192 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
305 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
50 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
235 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
499 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
668 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
282 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
157 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
370 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
160 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
192 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
119 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
237 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
699 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
806 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
569 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
588 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
527 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
253 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
456 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
348 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
591 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
217 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
198 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
948 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
369 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
98 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 ...