All Questions
44
questions
0
votes
0
answers
232
views
Encountering java.sql.SQLSyntaxErrorException: Unknown column 'RESERVED' in 'where clause' when building on Linux
Just switched to the Linux Manjaro from Windows 11. I encountered such problem: I receive this exception: java.sql.SQLSyntaxErrorException: "Unknown column 'RESERVED' in 'where clause'". I ...
0
votes
0
answers
52
views
Backslash SqlServeur Host / Hibernate configuration
I'm trying to run my jar file on linux server but I got this error :
org.hibernate.engine.jdbc.spi.SqlExceptionHelper - The TCP/IP connection to the host HostnameInstanceName, port xxxx has failed.
Of ...
0
votes
0
answers
68
views
Not able to read the german umlaut(ä, ö, ü) from command line args in linux in java spring boot
When I tried to read the command line args then it gives me ?? this type of string instead of german umlaut.
I have tried
Convert from ISO to UTF-8
new String (args[0].getBytes(StandardCharset.ISO-...
0
votes
1
answer
591
views
Error creating bean with name 'entityManagerFactory' defined in class path resource: rror creating bean with name 'entityManagerFactory'
I created a Spring App and I have used hibernate to do reverse engineering generating java classes from MySQL Db.
After that, i want to use this class to implement the repositories but i have this ...
1
vote
1
answer
439
views
Many TIME_WAIT cant get ESTABLISHED tcp connection
I've got recently update system, and can't refresh context. It happens about 5 minutes after starting up Application Server, a tail of errors has
"Invocation of init method failed; nested exception ...
1
vote
2
answers
1k
views
SpringBoot/Hibernate deploy w/MySQL on Windows not working, originally developed on Linux - SQLGrammarException
Trying to deploy an app (SpringBoot) to a Windows instance ... app was developed and runs fine on Linux. Even ran fine on Windows when using the H2 file-based profile/mode. Get the following stack ...
2
votes
1
answer
6k
views
Linux command on wake up from hibernate/suspend
I'm new to Linux and running Mint. I've seen a lot of documentation on creating commands that run when the os is started up from the computer being powered off. Is there a way to make similar commands ...
2
votes
0
answers
7k
views
Hibernate - Unable to acquire JDBC Connection(CannotCreateTransactionException)
I have a tomcat server which had a "too many open files" problem on Linux.
I tried to fix it by increasing the ulimit from 4096 to 8192.
sudo vim /etc/security/limits.conf
* - nofile 8192
So now it ...
1
vote
1
answer
2k
views
Control SQL logging level in Catalina.out
Our app runs on Tomcat 8 and Linux. We have log4j.xml shipped with the war that controls the level of logging for our applications logging. The log4j also defines logging levels for SQL.
In hibernate....
0
votes
0
answers
1k
views
nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet - Hibernate
In my spring-boot app, I have a login jsp page that I am able to login successfully from windows using postgres db locally. On building the war file and deployed to linux, I am having this error from ...
0
votes
1
answer
164
views
Hibernate output chinese character grabbled in remote server
I make a application interface in springmvc and using @Pathvariable to accept users' input, here is the snippet of my @Controller code:
@RequestMapping(value = "/getFirst/{var}", method = ...
0
votes
1
answer
248
views
Hibernate, works on Windows but not on Linux. It duplicates tables and mess around with some tables's name
I'm developing an enterprise management system using: JS, Java 8.91, Tomcat 8.5.4 and MySQL 5.7.
The system has many databases:
Main Database that stores user's information(login, password, email ...
0
votes
1
answer
578
views
Deploying Hibernate Web Application on Tomcat running on Debian
With reference to my older question, I am having some issues when running a enterprise-scale web application on Linux. Before investing into a real staging machine, I thought that I should give it a ...
5
votes
3
answers
5k
views
Add a kernel parameter with sed to grub
I'm writing a bash script to non-interactively enable hibernation on a linux system. To this end, I need to insert a shell variable that contains slashes on a specific line of a while, inside quotes ...
0
votes
2
answers
750
views
Postgres query run executed using hibernate getting dropped if the query takes a long time without any timeout exception
I am running a postgres query that takes more than two hours.
This query is executed using hibernate in a java program.
After about 1.5 hours the query stops showing up in the server status in ...