Casey Harrils

1

votes
0

answer
826

views

Spring Boot / Oracle / Java error : Could not get JDBC Connection results in Connection timed out

The system I am working with has the following (I am using Spring Boot) I am getting an error when starting an application using the following: Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: `Could not get JDBC Connection`; nested exception is java.sql.SQLRecoverableException:...
Casey Harrils
1

votes
1

answer
270

views

calling rest apis from tradingview

What I need to do is to tie Tradingview alert system to the api of a Crypto Exchange. I know Tradingview offers alerts that can be sent via SMS or EMail - but - how can I convert this info so that I can call the APIs of a Crypto Currency exchange. For example, if I create an alert to buy a certain I...
Casey Harrils
1

votes
1

answer
8k

views

make: *** No rule to make target

Thanks for the responses. I found that this worked — I don't know why though. all: $(OUT) $(OBJ_DIR)/%.o: %.c $(CC) $(CCFLAGS) -o [email protected] -c $< $(INCLUDES) $(OUT): $(OBJ) ar rcs $(OUT) $(OBJ) cp DIMEFILEAPPSAUTH.h ../include .PHONY: clean Below is a makefile I have. I keep getting the error make: *** N...
Casey Harrils
1

votes
1

answer
2.4k

views

In Eclipse java project, change git repository from an old one to a new one

I have a project in Eclipse that is associated with an old repository in Gitlab. The branch being used is called Test. I created a new repository in Gitlab (and it only has the README.md file in it). It only has one branch: master. I need to change the Eclipse project so that it no longer refers to...
Casey Harrils
1

votes
1

answer
73

views

creation of container using docker-compose deletes another container that is already running

I am trying to start 2 separate containers using the docker-compose command based on 2 different images. One image (work) is based on code worked on in 'development'. A second image (cons) image is created by code that is currently at the 'consolidation' level. When starting the first container, a...
Casey Harrils
1

votes
1

answer
1.4k

views

using Jenkins to generate Build Version

I am trying to figure out a way to create Build Tags on items in Git My thoughts were to have Jenkins do the tagging as seen by the article below. According to this article: http://www.nailedtothex.org/roller/kyle/entry/configuring-automatic-push-by-successfully My understanding is that the version...
Casey Harrils
1

votes
1

answer
490

views

angular 5: .scss changes are not being recognized in HTML

I am using Angular 5. Whenever I make changes to the .scss file are not working in the HTML file. The files being used are: admin-login.component.ts, admin-login.component.css and admin-login.component.html Definition of the file structure is below: I make changes to the admin-login.component.scss...
Casey Harrils
1

votes
2

answer
58

views

adding “static” to many entries in a DJango html file

I need to add the 'static' feature to a number of files in my DJango project as mentioned here: howto: static files It seems to work. But, the instruction says that one needs to make this change OLD: NEW: {% load static %} to every line that needs it. I have several hundred lines of already-existing...
Casey Harrils
3

votes
3

answer
5.8k

views

error Class “HTML” not found - Laravel 5.4

I am getting the following error: Class 'HTML' not found (View: C:\WORK\Software\XamppOne\htdocs\APOSTXUI\ContractorsClubField\resources\views\includes_header.blade.php) (View: C:\WORK\Software\XamppOne\htdocs\APOSTXUI\ContractorsClubField\resources\views\includes_header.blade.php) I have seen answ...
Casey Harrils
2

votes
0

answer
148

views

link failure when using > 1 wsdl file in gsoap C client

I am using the gSoap facility. I am attempting to compile C++ code (for dime access) that uses 2 wsdl files. Initially, both functions were in one .wsdl file; however, they have been separated so that a process-intensive service can run on one machine and other functions can run on the old host. Wh...
Casey Harrils
4

votes
2

answer
2k

views

Webhooks for branching in Gitlab

Is there a way to have a Webhook fire whenever a branch is updated in Git/Gitlab? I am trying to set up a Development Workflow. The original idea was to have a repository for each coding phase - ex: a repository for development, a repository for testing, a repository for production. The thing is, I...
Casey Harrils
33

votes
2

answer
82k

views

.gitignore file for java eclipse project

I have java project that uses the Eclipse IDE. The Eclipse workspace is pointing to this directory: /home/srvimgprd/BUSPROJ/code_development/dime/executables/clientcode/java_axis/Eclipse I have placed a .gitignore file in the workspace directory 'Eclipse'. See below. What I need to do is to be able...
Casey Harrils
3

votes
0

answer
110

views

How can one add Git Submodules to a Forked Repository

I was looking at this explanation on the use of Submodules within GIT (also, in my case, I am using Gitlab to store code and not github). I was reviewing instructions mentioned here: LINK 1: Working With Submodules I was looking at this item as well: LINK 2: Gitlab Submodules In LINK 1, it seemed to...
Casey Harrils
3

votes
2

answer
2.6k

views

redirect log files created in a docker container to stdout / stderr

I have the following Dockerfile: FROM ubuntu:16.04 RUN apt-get update VOLUME ['/LOGS'] COPY ./testServer . ENTRYPOINT ./testServer 8600 'testServer' has log files that are being written to. They are located in the directory 'LOGS'. Each time 'testServer' is started, a new log is created. What I want...
Casey Harrils
3

votes
1

answer
304

views

getting 502 errors with Gitlab

The Gitlab server is no longer functioning. When typing in http://myhostname:4332/log_in the sysetem never comes back and I get a connection timed out error I have tried to run the following: 574 sudo strace -tt -T -f -s 1024 -p 4332 -o /tmp/unicorn.txt 575 sudo strace -tt -T -f -s 1024 -p 8080 -o...
Casey Harrils
1

votes
1

answer
231

views

converting ZonedDateTime to Calendar using ThreeTen-Backport (JSR 310)

I am trying to convert a ZonedDateTime object to a Calendar object using the back-port of the java.time classes (JSR 310): the ThreeTen-Backport project. My understanding was that the back-port was supposed to be similar to functionality on Java 8 (without being on Java 8 itself). Currently, the sys...
Casey Harrils
1

votes
1

answer
92

views

hibernate/jpa Autowire annotation producing Nullpointer exception errors

New to java over here. I am using Spring Boot and working with Eclipse Kepler to make a program. Is it possible to define Autowired in regular class - or - MUST you use it ONLY in a Controller class? I am trying to make a group of functions/methods in a class (ValFuncsAuth). With one of the methods...
Casey Harrils
1

votes
2

answer
1.6k

views

oracle db timezone for session and database, change of session zone not working

I am trying to get the DB to display dates in the same way it works at airports. For example, if you are in Texas and you need to take a flight to the East coast, the airport marquis will display the takeoff time and landing time in your local time. So, for example a flight from Dallas to New York w...
Casey Harrils
1

votes
1

answer
713

views

Making EMail address unique in DJango authentication system

I need to make the EMail field of the DJango authentication system unique. I am using Python 3.6.3 and DJango 1.11.7 In order to do so, I found this: Making email field unique with Django User admin When following it, I add the code below to __init__.py under the application folder that represents t...
Casey Harrils
4

votes
2

answer
1.5k

views

Failure to find org.jenkins-ci.plugins:plugin:pom:2.11 in https://repo.maven.apache.org/maven2

I am trying to compile a maven project that is designed to work as a Jenkins plugin. When running the 'mvn package' command, I get the error listed below. What can be done to resolve the problem? TIA Saw this: https://mvnrepository.com/artifact/org.apache.maven/maven-plugin-api/3.5.0 and took out th...
Casey Harrils
5

votes
0

answer
1.7k

views

Angular 5 HTTP Client has “Authorization” missing from the Response header

I am working with JWT (JSON Web Tokens) as a part of logging people into the system. The code that does this is as follows: this.http.post(url, JSON.stringify({ username: username, password: password }), { observe: 'response' }) .subscribe((response: HttpResponse) => { When sending the username and...
Casey Harrils
2

votes
1

answer
620

views

Using JAVA to store date/time info in the DB?

What is the best way/approach to store date/time info (and timestamps in general) so the information that can be displayed in different timezones? My thoughts were to make the DB just hold time in a specified format (like GMT or UTC). When one reads from the DB, convert any date/time/timestamp data...
Casey Harrils
2

votes
0

answer
222

views

Using JAVA to save data to Oracle table with TIMESTAMP WITH ZONED TIME column

I am trying to find a Java Time Type that can be persisted to a column of type TIMESTAMP WITH TIME ZONE in the Oracle DB. The Java type needs to have the Time Zone as part of it. Because of the way the application was written, the Java Calendar type was used (also, the Java Calendar type has Time Zo...
Casey Harrils
2

votes
1

answer
336

views

.gitignore file for ssh directory

I am trying to make sure the contents of the .ssh directory do not get into the Git Repository: executeS:~$ git diff --stat --cached origin/master .gitignore | 7 ------ .ssh/.gitignore | 2 ++ .ssh/authorized_keys | 1 + .ssh/id_rsa | 51 +++++++++++++++++++++++++++++++++...
Casey Harrils
1

votes
2

answer
416

views

getting wrong line number when raising java exception

I am trying to create code where if an Application Error is found, an Exception is thrown. The idea was that I could also get the line number where the error took place. What I have now is as follows: try { // ... if ( customerid
Casey Harrils
2

votes
0

answer
418

views

Custom Validation (password check) under Angular 5 not executing

I am trying to make a custom Password Validator for an Angular 5 Template form. The regular validations (like required, maxlength, etc.) are working but the custom validation code is not. From what I can see, the validator code in file apxPaswordcheck.ts is not being executed. I have placed console...
Casey Harrils
2

votes
2

answer
104

views

Saving time data (with Zone) in Oracle DB not working because of Java SimpleDateFormat issue

I have a field that is defined as TIMESTAMP WITH TIME ZONE. The value to be saved starts off as: '09-23-2019 10:03:11 pm' in the zone of US/Hawaii. This is what I am trying to save to the DB (all of the date information plus the Zone) The database stores time information in UTC format. As of now, t...
Casey Harrils
0

votes
0

answer
226

views

Laravel Controller using Non-Database Model

I have seen examples where the controller seems to work with a $request as a parameter example: https://laracasts.com/discuss/channels/general-discussion/laravel-5-posting-javascript-to-controller-wont-work?page=1 I have seen examples where the CRUD methods of the controller are generated and one ca...
Casey Harrils