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

learn more… | top users | synonyms

0
votes
1answer
130 views

Install Java 1.7 non-interatively on Ubuntu 12.04

I need to install Java 1.7 on several machines and hence I want to do it using a script. The problem is the installation asks for certain options (to be specific 'Y', then 'OK' and finally 'Yes'). I ...
0
votes
1answer
868 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
0
votes
1answer
55 views

MySQL Cluster with no access to Data Nodes

I'd like to set up a MySQL Cluster for HA, but the client of the data cannot yet use ClusterJ. I would like create 2 SQL Nodes and access only them from the client. i.e. No access to the NDB Data ...
0
votes
1answer
135 views

Postfix-processing incoming email based on subject and saving the email details in db and flag/tag the email in “courierimapkeywords/:list”

can we processing incoming email based on subject and save those matching email details in db and flag/tag the email in courierimapkeywords/:list for the keyword to be used in IMAP client. We need ...
0
votes
1answer
488 views

Cannot start cassandra: numactl: execution in CentOS 6

I trying to install Datastax Apache Cassandra with OpenJDK # java -version java version "1.7.0_51" OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02) OpenJDK 64-Bit Server VM (build ...
0
votes
1answer
212 views

Tomcat - JDBC Data Access Exception

My company has a web application that allows users as part of their business process to upload large documents (10+ MBs) into the application. For fast connections it works great with the document ...
0
votes
1answer
36 views

Logging not getting disabled

Out Tomcat 8 is logging so much so that by the evening the catalina.out inflates to GBs of data. I followed the procedure given on the tomcat website to replace JULI logging with LOG4J. Now LOG4J has ...
0
votes
1answer
262 views

change java process name

I am trying to change a java process name using the start-stop-daemon. When running the process without the daemon I simply add to the script: "exec -a kuku" And the java process name in the proc file ...
0
votes
1answer
328 views

How to create new Servlet and JSP project on Ubuntu?

I've installed Tomcat 7, javaservlet 3.0 and openjdk 7. I read that I need to install Eclipse and Web Tool platform (from eclipse) but I can't find it. I install few packages from eclipse there is no ...
0
votes
1answer
127 views

can network Redundancy possible with help of Layer 2 switches & dual NIC in one PC & program in java?

I am Trying to achieve Network Redundancy in network which have 1 server & lots of node which use 1 switch for each. As per various forums for achieve Redundancy in network i should use Layer 3 ...
0
votes
1answer
151 views

Monitoring performance metrics from Xen (xend) with Java

I need to write a Java application that is collecting and monitoring (remotely and local) performance informations and metrics from a Xen hypervisor. This Java application should fetch the same ...
0
votes
1answer
23 views

Block access to specific URL

I have several java war applications hosted in a glassfish, some of then exposing web services. I need a way to block access to an specific application without blocking the entire access to server by ...
0
votes
1answer
267 views

Apache2 and tomcat 7 on ubuntu server running error

I install apache 2.2.22 and tomcat 7 on ubuntu and deploy ROOT.war In catalina.log file I get this error: Failed to initialize end point associated with ProtocolHandler ["http-bio-80"] ...
0
votes
1answer
379 views

Error installing Oracle-Java6

I'm attempting to install Oracle-Java6 on my VPS, running ubuntu-10.04 for the purpose of running Openmeetings. I installed the ppa webupd8team/java, updated and ran sudo apt-get install ...
0
votes
1answer
61 views

Tomcat 6 path issue on Linux Debian

I'm facing an anoying issue on Linux/Debian Tomcat configuration: I've set up path variables, but when I try to start or shutdown Tomcat nothing happens. Log is empty and the following appears: ...
0
votes
1answer
31 views

Discrepancy in java Garabage Collection between jconsole and log files

I'm having an odd problem: my garbage collection log file (as defined by -Xloggc) will show n number of garbage collections have taken place, but jconsole will show n+6 garbage collections have taken ...
0
votes
1answer
104 views

How to set multiple paths with update-alternatives

For example, the following command install java to /usr/bin/java update-alternatives --install /usr/bin/java java /opt/java7/bin/java 1 && update-alternatives --set java /opt/java7/bin/java ...
0
votes
1answer
161 views

Tomcat 7.0.42 crashes many times a day

I have a Tomcat7 server running and it crashes and shows sometimes a memory warning that there is not enough Heap Space. What do I have to do here? My server has 4GB RAM, 4CPU and runs on ubuntu ...
0
votes
1answer
472 views

-XX:MaxNewSize and other JVM parameter setting in AIX

All, I am trying to adjust our application's memory settings: JVM and Heap adjustments. I also came across -XX:MaxNewSize parameter. Our application runs on a AIX machine which has ample RAM (100+ ...
0
votes
1answer
346 views

java.lang.OutOfMemoryError: GC overhead limit exceeded TeamCity 7.0

I am getting this error suddenly. Running teamcity 7.0 on a Windows Server 2008. How do I add more memory via passing options to the JVM? I don't understand how to pass the xmx option when using ...
0
votes
1answer
54 views

Filter ip traffic based on certain packet bits

I want to capture ip traffic at a linux machine based on the following bpf filter: ether[45]=0x11 and ether[68]=0x34 Incoming traffic is around 20Gbps and the filter discards 95% of the traffic. As ...
0
votes
1answer
91 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
854 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
420 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
90 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
103 views

Can the JVM(Oracle) run into an OutOfMemory error if the heap size is below the max?

I am running a Tomcat site(with an NGinx front end) that seems to be randomly running out of memory even though the max heap size is pretty large. My question is is it possible for the JVM to get an ...
0
votes
1answer
546 views

Netbeans automatically changes the file owner when updating files

We use Netbeans IDE 7.2 to edit our PHP files. In the Run Configuration it is configured as Remote Web Site to automatically save the changes on our web server (Centos OS 6.3). The problem is that ...
0
votes
1answer
31 views

Downgrading CP version (Cumulative Patch) on some of the nodes of a jboss 4.3.0 installation

My scenario is a jboss 4.3.0 installation with several nodes. Some of the nodes are on CP08, and some are in - say - CP05. Upgrading from CP05 to CP08 is a no-brainer using "jboss ON", according to ...
0
votes
1answer
509 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
527 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
194 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
543 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
279 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
227 views

Birt on Tomcat unable to find JARs

First, my setup: BiRT Runtime: 3.7.2. Ubuntu 10.04 Tomcat 6 Sun Java 1.6.0 I have a jar file I want to deploy onto the Tomcat server so it is usable by the runtime, so I placed the jar file in ...
0
votes
1answer
4k 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
221 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
195 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
370 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
207 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
396 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
54 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
269 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
617 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
837 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
302 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
172 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
478 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
166 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
204 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
123 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 ...