Angus Ferguson

Ranch Hand
+ Follow
since Jun 22, 2012
Angus likes ...
Java Netbeans IDE Spring
Online
Cows and Likes
Cows
Total received
3
In last 30 days
0
Total given
0
Likes
Total received
15
Received in last 30 days
0
Total given
75
Given in last 30 days
15
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt Green check

Recent posts by Angus Ferguson

This is error trace like it

The current code it is the one I posted in the previous post the past code was containing a call to that path but not now.
3 days ago

You need to find where in your code that value appears.


Ths thing is that it doesnt appears in the code.
3 days ago

What happened is that the idea is that all the resources are contained in the .jar in order to ship all together thats why I think that using absolute paths would not be a solution.
3 days ago
I have replaced the slashes to "/" and I have make sure that there are only relative paths...but still I ge the same error it is like at some point the app is searching for the old Linux path.

3 days ago
The app is able to send an email, it works correctly when the .Jar is run in Linux but then when it gets run in Windows I get the error;

The path in the error has been updated by this one before package the .jar in Eclipse (Linux CEntos) and then run it in Windows. It looks like this;

How is possible that it takes the old path?
3 days ago
The server is running and with a client like X2Go the user can connect to the running server, yes when the client close the connection all the software close so the proposed strategy is not feasible.
5 days ago
Hi all,

I would like to deploy a runnable Jar in a server that enables a VirtualCloudBox I would like to have Tomcat running in the server and then have access from the open internet to the app even when the virtual box is closed but the server still continues running.

I mean to use it as a hosting service.

Do you think it is a viable option?

5 days ago
Hi all,

I have generated a runnable .jar with Eclipse I am able to execute it from the Linux command line correctly.

When I click twice over it just open but it doesn't run. I am using a 64b system.

Is there a possibility of making it run with just double click in both Windows and Linux?

5 days ago
It gets attached but no inserted with the text in the content of the email so to visualize it the user should open it.

The code with the path to the image is this one;

5 days ago
5 days ago
Hi all,

I am trying to attach an image to an email by using the next code;


The compiler ask me to cast DataHandler and FileDataSource  but when I add the imports then at execution I get the next errors;

Should I maybe be using different classes for it?
5 days ago

I think this is just a way of asking, what are the requirements for equals(Object) and hashCode() methods.  Tim gave one of the requirements; there are more, stated in the JavaDoc links given.  You don't actually need to understand the internals of a hash table in order to understand and implement correct equals() and hashCode().



Yes, thats what I think it meant when refering to the HashMap and its hashCode() menthod. The question popup from a brief discussion I had today where this topic got a mention.
6 days ago

One is when an application is being developed using the Eclipse IDE and the application uses a database


The goal I am trying to achieve it to generate a runnable Jar/exe which will launch the app  containing the database, the app is using to operate. So that the user will not have to care about installing any DB by himself.
6 days ago

But don't those two different ways have two different JDBC drivers?
One for embedded and one for servers?


Yes, I am using a driver for embedded ones.
6 days ago

It appears you are trying to do the second case


I am trying the first case it is an embedded DB into Eclipse.
It is not a process listening to the tcp 1527 port.#


6 days ago