I am deploying a large application with approx - 12 WARs and JARs bundled in an EAR file. However I am unable to reach the application page from browser.
A few things I have verified -
Server log, I don't see any exception. It's a clean deploy.
Server console shows that the application is deployed. All the app components are deployed ...
I'm placing and image into a databse, it could be eitehr an MYSQL database (the Server) or an SQLITE database (a Tablet PC for on the road). The Java application synchs with the server on a dialy basis, uploading new data and downloading any new data. Thats working terrirfic, the requirement is for it to be able to handle images as well....
I'm trying to write a method named isLowerThanFreezing that returns true if the Temperature object represents a temperature below the freezing point for water (32.0 F, 0.0 C, or 273.15 K), and false otherwise. This method should include only one inequality (i.e, one comparison formed using <, <=, >, or >=), which can be accomplished by d...
I'm trying to create a HUD style display for a foreign application.
To do this, I'd need to make a transparent overlay window, that would be placed on top
of the window of the foreign application. The overlay window should allow me to place
widgets and draw text on it. Events should get forwarded to the underlying window,
if they happen...
I'm trying to write a file from my Java program, but nothing happens. I'm not getting any exceptions or errors, it's just silently failing.
try {
File outputFile = new File(args[args.length - 1]);
outputFile.delete();
outputFile.createNewFile();
PrintStream output = new PrintStream...
As a java developer getting into .NET I'd like to understand the IDisposable interface. Could somebody please try to explain this and how it differs from what happens in Java? Thanks.
...
I have a problem that can essentially be viewed as a graph. I'm considering using JGraphT to implement it instead of rolling my own. What would be the best way to get a minimum spanning tree out of a graph using JGraphT?
...
I have a design question on how to design parsing a large excel file say 1000 x 100 Rows, and about 10 tabs.
Each Tab having a set of records with primary key as the first col. but these could be repeted in different tabs and each does not have the same set of primary keys.
Read a single primary key and form a java object with all the...
I have been given an assignement for a graphics module, one part of which is to calculate the minimum bounding ellipse of a set of arbitrary shapes. The ellipse doesn't have to be axis aligned.
This is working in java (euch) using the AWT shapes, so I can use all the tools shape provides for checking containment/intersection of objects....
This is an instance method from a Rectangle class where we modify the x and y coordinates of the rectangle and its width and height
public void modify(int newX, int y, int width, int h) {
int x = newX;
this.y = y;
width = width;
this.height = height;
}
Rectangle r3 = new Rectangle(0, 0, 10, 10);
r3.modify(5, 5, 50, 50);...
Is java.lang.Class the same as the actual .class file? i.e. is the content equivalent?
I want to send the .class over socket, and was wondering if instead of trying to find and load the actual .class file, if I could just transmit the java.lang.Class instead?
Elaboration (read if you want more info)
Suppose I have a Java class called ...
How do I know what file reference to use to get a file from my WAR.
The structure of the WAR is:
WAR
src
- model
- web
build
WebContent
META-INF
WEB-INF
LIB
The JSPs are under WebContent, I have put the config.txt file under the WebContent folder and tried to get to it with
Buffered...
Table has 4 title but I want to use just 2 of them how can i do that ??
...
Hi,
I am using JPF (Java Plugin Framework) for my application.
I have one requirement to display progress bar on splash screen.
I have searh a little for this but didn't find any solution.
Can anybody commnet on it ?
-Sameer
...
I am completely stumped with this one . . .
If I call the function below with the following:
Search(SearchTextField.getText()); // (Fiberglass was entered)
Search("Fiberglass"); // hardcoded
I get the following results:
Fiberglass 10 Not Here
Fiberglass 10 String found!
Same String is passed with the same length, different results...
I'm trying to figure out how difficult it would be to convert a Java Web Start app to an applet. Theoretically, if the application didn't do anything such as write to the file system...basically if all of it's actions should be safe within the Applet sandbox, how tricky would it be? Is it a matter of wrapping the main app inside of an ...
I know this is a dumb question, but its really bugging me.
Take the following:
public <TParseable> LinkedList<TParseable> readAllParseable(
Parseable<TParseable> parseable, boolean close) throws IOException
{
LinkedList<TParseable> list = new LinkedList<TParseable>();
byte[] delim = parseable.getDelimiterValue();
...
Is there a way to check whether a button is enabled is set to true or false through code?
...
Hi
I was wondering to know if there is any open sources recommendation engines available? It should suggest some think like amazon and netflix. I heard a framework "Apache Mahout - Taste". I am trying it next week. It would be great if we you can share your valuable thoughts.
Thanks
...
Hi everyone. I will be happy, if you can give me some suggestions to solve my problem.
I have to make a function call from one program to another program (separate package). Now my question is, can i have a common Queue in the called program in which all the calling requests will be queued up ???? is it possible to maintain a queue??
...