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

learn more… | top users | synonyms

1
vote
1answer
174 views

How to make glassfish v3.1.1 run with -Xmx256m?

I have a t1.micro amazon instance and that machine have very scarce resources. I need for the moment to run glassfish3.1.1 (due to complete JEE6 support) on those conditions. Any guidance is welcome. ...
0
votes
0answers
5 views

Can i use hmailer on localhost to send bulk email to external email address? [on hold]

I would like to know how to use hmailer on my system to send bulk email to external recipient using java javamail api. Any limitations, speed, performance or other thing to be worried about? PS. Not ...
0
votes
0answers
11 views

Multiple redirection issue with Apache http proxy

I am using Apache and tomcat in my environment. Communication between there two servers is http(not AJP). Here is my configurations from httpd.conf file ProxyRequests On NameVirtualHost *:80 ...
-1
votes
0answers
24 views

GlassFish 4.1 Slow localhost Ubuntu 15.04

I have a GlassFish 4.1 Server Instance running on Ubuntu 15.04 Desktop Edition. I use this as a development server, where NetBeans will automatically deploy my packages as I work on them, for easy ...
0
votes
0answers
16 views

Adding custom domains in a site builder

I'm involved in the development of a site builder which is hosted on Google Appengine. The project is associated to a wildcard domain (e.g. *.foo-bar.com) and we then use the subdomain to determine ...
0
votes
2answers
23 views

how verify that weblogic is up to date

How can I verify that Oracle Weblogic is up to date ? The administration console print 10.3.6.0 as weblogic version. I visited Oracle site and the last version to download is 10.3.6 but I think that ...
0
votes
1answer
19 views

Monitoring Java garbage collector and memory status

I'm running some Rails applications on Jboss with JRuby. Sometimes the Java garbage collector can't free memory and the jvm consume all the available memory. I'm trying to create a custom metric ...
1
vote
1answer
1k views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
0
votes
0answers
9 views

I am trying to deploy SAS ECM webapp over Weblogic Server, but I am not able to start this app and getting below error in error log

I am trying to deploy SAS ECM webapp over Weblogic Server, but I am not able to start this app and getting below error in error log <Jun 29, 2015 11:44:12 AM GST> <Error> <Deployer> ...
1
vote
1answer
20 views

Access static files on Tomcat directory using VirtualHost

I am running a Java webservice (JAX-WS) on Tomcat 8 from my AWS EC2 Linux instance, and I have a subdomain pointing to the service, so that I can call the service with URL ...
1
vote
1answer
7 views

why CATALINA_OPTS arguments shows up in java process on running tomcat even though its an environment variable

I run tomcat process by this command in python : os.execve(cmd, [cmd, "run"], env) The env variable sets CATALINA_OPTS = -server -Xms512m -Xmx512m -Xss512k Now when i run the script following java ...
1
vote
2answers
43 views

Server midnight - high memory allocations and does not let go, what to check?

How can I check what my server was doing at midnight, to locate the high memory spike, which he is still holding on. Only things I'm running on the server is Apache2 with a Flask app, and a Tomcat7 ...
1
vote
1answer
896 views

Java 7 on a V-Server: “Could not reserve enough space for object heap”

I've just installed Java 7 & Jenkins on a V-Server with 1Gb of RAM # java -version Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not ...
3
votes
1answer
3k views

Signing a Java Deployment Rule Set JAR using AD Certificate Services

I am tasked with deploying Java 7 Update 55 along with a Java Deployment Rule Set to all Active Directory Windows clients. I've managed to get a solid Java software deployment setup but I'm now ...
1
vote
3answers
2k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
0
votes
3answers
2k views

Debian install netbeans - “No protocol specified”

When trying to run the netbeans shell installer, it gives me an error. ./netbeans-7.0.1-m1-php-linux.sh Configuring the installer... Searching for JVM on the system... Extracting installation data... ...
0
votes
1answer
28 views

How to host JSON data for a website's JavaScript [closed]

I am about as green as they come as far as networking goes so I am asking for a little latitude. I have a program running on a Windows 2012 server and I need to send a couple bytes of text from it to ...
0
votes
1answer
87 views

Jetty 9 support for TLS_FALLBACK_SCSV

I've been trying to get that A+ on the SSL Server Test @ SSL Labs. However, I can't figure out how to pass the "downgrade attack prevention" test: I'm running Jetty 9.3.0.v20150612 alongside ...
1
vote
0answers
11 views

High latency in urlfetch with google app engine [migrated]

We have a Java application that make use of urlfetch calling an external api. We are having issues with the request time. When we do a request in a local environment we have a mean time of 300ms, ...
0
votes
0answers
24 views

Java Application has caused an InvocationTargetException in Debian

I am trying to install a Java application on a Debian 8.1 server and I keep getting a "Java Application has caused an InvocationTargetException" error. I have installed Java8 from oracle, set ...
-2
votes
0answers
12 views

Doing photo OCR in Java [closed]

I am interested in doing photo OCR on things like digital weighing scale, how would it be the best to go about this. I tried Tesseract and it was not doing a good enough job. Doing it with OpenCV ...
0
votes
1answer
33 views

Connecting to mongodb on AWS EC2 using java

I am trying to connect to mongoDB on an EC2 instance using java. I am able to connect to the EC2 instance using putty after converting the .pem file into the .ppk file.In case of connecting with java ...
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 ...
18
votes
7answers
68k views

What is the value of JAVA_HOME for CentOS?

I have install java through yum on CentOS, however another java programme needs to know what the JAVA_HOME environmental variable is. I know all about setting environmental variables, but what do I ...
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 ...
11
votes
2answers
18k views

Adding lines to /etc/profile with puppet?

I use puppet to install a current JDK and tomcat. package { [ "openjdk-6-jdk", "openjdk-6-doc", "openjdk-6-jre", "tomcat6", "tomcat6-admin", "tomcat6-common", "tomcat6-docs", ...
0
votes
1answer
924 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 ...
2
votes
1answer
1k views

Java Deployment and Configuration (1.6.0_21)

Sofware: Java Runtime Environment 1.6.0_21 OS: Windows XP Professional 32-Bit, SP3 Situation: a new piece of web based software is being deployed this week and prior to this all the company desktops ...
0
votes
2answers
5k 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 ...
1
vote
3answers
103 views

When should I upgrade (or not upgrade) Java?

I'm pretty familliar with .NET and know that patches and upgrades are mutually exclusive to framework versions (1.x) and (2.x / 3.x) and (4.x). This segregation makes it easy to understand the ...
0
votes
1answer
32 views

UnknownHostException when enabling JMX in Java 8

Using Java 7, I can launch a JVM with JMX enabled without any problems using these properties: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false ...
1
vote
1answer
37 views

GC taking big pause and ParNew (promotion failed)

One of our java application is taking big pause while doing GC, it seems because of "ParNew (promotion failed)" it takes time. Java version: $ java -version java version "1.6.0_21" Java(TM) SE ...
2
votes
1answer
1k views

How do I set the jmx to listen in a specific IP

I am trying to configure jboss to allow monitoring with a jmx tool (I am looking at a few so no need to give). Looking at the properties in java jmx docs it does not seem to have a property to set ...
1
vote
1answer
32 views

Java: Limit the number of cores a JVM can use

Multiple users are running java applications on a 60-core compute server (Linux/Ubuntu-based). There are different applications and most of them are not developed in-house. While the sysadmin thinks ...
3
votes
3answers
4k views

Apache Tomcat Windows service ignoring JAVA_HOME environment variable

I'm trying to get Apache Tomcat set up on a Windows Server 2003 machine. If I use the command line version (catalina.bat start) it all works fine, but if I try and use it as a Windows Service it seems ...
0
votes
0answers
14 views

How to monitor JAVA Windows Service with JVsiualVM and SysInternals PSEXEC and Windows 2008 R2

usually when running JAVA as a Windows service it's not possible to monitor/profile it with JvisualVM since it must be running as the same user. Though there is a documented hack, that allows you to ...
-1
votes
0answers
8 views

Java update notification registry settings on terminal server

I tried updating the registry settings on our terminal servers to disable java update notifications which is creating a problem for our users to click every time. ...
1
vote
1answer
1k views

Can't start WebLogic admin console

I'm wondering how to fix this error. We had the wrong Java installed on my machine when I got it, so my boss installed JRocket to fix things. WebLogic has been having problems ever since. I cannot ...
1
vote
1answer
1k 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
5k 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: ...
1
vote
0answers
29 views

Generation of Tomcat Stdout and Stderr log files

Is there a way to catch tomcat stdout and tomcat stderr log files it to log4j or any other way so that i can keep track daily basis.These files are only generated when we restart tomcat.And i want ...
0
votes
1answer
898 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
0answers
13 views

Tomcat6 showing huge number of processes(or child threads). Is this expected

Our tomcat server is showing huge number child processes/threads. Following is the command i have used- ps -eLf | grep tomcatUserId | wc -l This is the count i have received 1600 This ...
0
votes
1answer
1k views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ...
0
votes
1answer
981 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 ...
1
vote
1answer
997 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: ...
0
votes
1answer
904 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 ...
1
vote
3answers
3k views

error ocuuring ::: failed to install tomcat 7 service

While I'm trying to install Tomcat(apache-tomcat-7.0.23.exe) on my system (Windows XP SP3), which is in company's network, it is showing me the following error: failed to install tomcat 7 service ...
3
votes
1answer
2k views

Connect to SVN repository with Netbeans using SVN+SSH

I am trying to connect to a SVN server in order to import my project into it with svn+ssh authentication method. I am using the NetBeans IDE (6.8) with subversion plugin installed on Windows XP SP2. I ...
0
votes
0answers
64 views

Taking a thread dump on IBM J9 takes a long time

I'm trying to collect a java core on AIX (java version 1.6). There is only one dump agent configured, which collects a system dump, heap dump and java core on every SIGQUIT, so I used HealthCenter to ...