Questions tagged as 'java'

0
answers

Jboss Error 09: 51: 36,559 INFO ** [Server] JBoss (MX MicroKernel)

I'm trying to run application using Jboss 4.2, but when I try to start it, I have the following information on the console and it does not go away. 10:42:39,847 INFO [Server] Starting JBoss (MX MicroKernel)... 10:42:39,848 INFO [Server] Rele...
asked by 06.04.2016 / 14:59
0
answers

Problem deserializing Json object with VRaptor4

Good afternoon, people. I'm having problems deserializing object json with VRaptor4. Doing some testing, you notice a situation: I'm using curl only to test the service, but when I make this request ex: curl -v -H "Content-Type: applic...
asked by 06.05.2016 / 18:24
1
answer

Calculator using Socket in Java

I'm doing a college job and got some information from the Internet, the teacher asked a client to send 2 values and a basic operation, the server should take this and return the total. It turns out that the client only takes the variables of him...
asked by 06.12.2014 / 15:36
0
answers

How to do query involving more than one table (JPA) using JPQL

Hello, I have a query using SQL, I am now changing the project using JPA and would like to change queries consistently with JPA. public void gerarConsulta() { jTResultado.getColumnModel().getColumn(0).setMaxWidth(50); jTResultado.g...
asked by 31.03.2016 / 08:30
1
answer

process 24x5 in jar how to convert to .war

I have created a jar to calculate forex signals, but I would like to host it on some server in the cloud. As I've been researching, it will be much easier to convert it to a war. Since my app is supposed to run 24x5, I'd need it to run around...
asked by 09.05.2016 / 03:59
0
answers

Error inserting icon in JLabel

I'm doing a graphical interface in a java (maven) project and I'm having a problem trying to put an icon in JLabel. AndwhenIruntheprojectitgivesthefollowingerror: As I'm using the netebeans GUI, there's no way I can edit the code that i...
asked by 09.05.2016 / 18:58
0
answers

InflateException error

I'm getting an error of InflateException , but I do not know how to solve it. Error:    Caused by: android.view.InflateException: Binary XML file line # 1:   Binary XML file line # 1: Error inflating class fragment                   ...
asked by 26.03.2016 / 01:43
2
answers

How to generate log files with data log4j

Good afternoon everyone, I'm using log4j (log4j-1.2.17.jar) to generate the system log, but now I need to generate the log with data and cause it to generate a log every day, I need the log to be generated like this " testLog-20-05-2016.log "...
asked by 20.05.2016 / 19:30
0
answers

Make Internet application available only for intranet

I have an application running on an external server, accessible to anyone who has the URL. However, I need only certain groups that are on the intranet have access to it. Example: "Employee A" of "Company A" must access the application. He wi...
asked by 08.04.2016 / 22:02
0
answers

Ajax does not pass information to servlet

I have a problem with the code, the servlet is not called. Only works if I put action="FileUploader" in form. Is there a mistake? Do you have any other way to do it? What I need: An array of images, where images are received in a single multiple...
asked by 09.04.2016 / 22:53