Questions tagged as 'java'

0
answers

Clustered tomcat7 does not replicate session

I have a Ubuntu with 2 Tomcat7 with the following cluster settings: The balancer is Apache MOD_JK. SERVER.XML: <Engine name="Catalina" defaultHost="localhost" jvmRoute="no0"> <Cluster className="org.apache.catalina.ha.tcp....
asked by 29.10.2014 / 20:36
0
answers

Bind Collection with Spring 4 and Thymeleaf

How do I submit a list when the submit event triggers on the form? The Bind of the selected value is being done correctly, but I need the list too. HTML <select id="banks" th:field="*{bankID}" class="form-control">...
asked by 01.11.2014 / 23:04
0
answers

exception java.util.concurrent.RejectedExecutionException:

Good afternoon, I'm back from a JEE project where jms is used and the server is wildfly 8.0. I've been back from this exception for some time but I still can not figure it out. I think that I do not lack any configuration in jboss but frankly...
asked by 03.01.2015 / 17:41
0
answers

Pause Cycle to Jframe close [closed]

I'm going through a cycle with values, and at each iteration I call a Jframe to choose certain values, what happens is that all Jframes are opened without being able to complete the operation before. In my code the "fetchEditor" calls the JFrame...
asked by 03.11.2014 / 17:19
0
answers

Run Java application on a server [closed]

I have an application made in java that keeps updating my database. However, I do not want to run it 24/7 on my home computer for obvious reasons (internet can crash, power may crash ...). So I need to put my program on a server ... I have no id...
asked by 24.12.2014 / 01:13
1
answer

Error: package javax.servlet does not exist import javax.servlet. *

I've created the directories correctly, copied the code and now does not compile and returns this error. I'm compiling the terminal using javac. link package com.example.web; import javax.servlet.*; import javax.servlet.http.*; import...
asked by 29.12.2014 / 19:54
0
answers

LoggerFields for Syslog (write priority and stack trace)

Log4j can send logs to Papertrail using a syslog appender ( documentation ): log4j.appender.syslog=org.apache.log4j.net.SyslogAppender log4j.appender.syslog.Facility=LOCAL7 log4j.appender.syslog.FacilityPrinting=false log4j.appender.syslog.H...
asked by 14.05.2015 / 20:53
0
answers

Jasper report is not generated on production server

A problem in using JasperReports . I created a class to generate the reports, from some parameters. It inside Eclipse generates normally, but when I export WAR and put it into production, it does nothing. At first, I noticed t...
asked by 14.05.2015 / 19:33
0
answers

Java EE Primefaces in the cloud

I wonder if Java with Primefaces and its managed beans work well in the cloud, I say, my question is whether this architecture supports working in the cloud to build a web system with acceptable performance since often a screen made in the JSF u...
asked by 01.02.2015 / 22:48
1
answer

Sorting an Array

I have my class ItemList public class ItemListPropaganda { private int iconeRid; private String texto; private int valor; public ItemListPropaganda(String texto, int iconeRid, int valor) {...
asked by 15.10.2014 / 18:28