Thomas Young

Greenhorn
+ Follow
since Jul 17, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Thomas Young

Hi Mansukhdeep,

A friend of mine had this same issue and I remembered that we found a forum hit on google for the problem: http://forums.java.net/jive/thread.jspa?messageID=400088

In my friend's case, it was a folder permission issue.

I think you could check for permissions in Windows 7 the same way you do in Windows XP (I use XP still), so I am guessing here but try:

Right click on the folder, and choose "properties" > select the "security" tab > select the user you are starting Glassfish with and check the permissions.

As for checking if Glassfish is already running, you should see a java process running and sucking up a bit of memory (try using task manager)

I am not sure what information is shown in Win 7 task manager, you could use Microsoft's sysinternals "process explorer" to give you more information regarding which java process is which.

Regards,
TY
11 years ago
Hi Aruna,
Welcome to Java Ranch,
My understanding is that Glassfish 3 will work with Windows 7 with a 32-Bit JVM.

There may be more useful information on the error in the Glassfish's server.log: (/glassfish/domains/<domain-name>/logs)

Regards,
TY.
11 years ago
Hi Mansukhdeep,
Can you check that glassfish is not already running?

Do you have permissions to write to that directory?

What Windows OS are you running on?

Regards,
TY.

11 years ago
[Post removed - don't spoil the surprise!]
11 years ago
I know nothing about jackcess but you could be missing a jar in your classpath called commons-logging.jar I suggest you check the jackcess documentation to work out why you are missing this and perhaps other jar's

Regards
TY
11 years ago
Hi Cody,
Welcome to the Java Ranch.

When you compile, you are turning the source code into a bytecode class file.

You would have started with a file with a .java extension, this is your source code.

After you have compiled a source code file, you will be left with two files: a compiled class file (.class) and the original source code (.java) that you used to create the class.

It would be much easier for you to modify the source code and then recompile the source code, than to modify the executable.

If you wanted to modify the executable, the compiled class file would need to be decompiled if you needed to edit it. There are tools available do this. Try Goolgeling "Java Decompilers". But I would strongly recommend that you go with modifying the original source.

Regards,
TY.
12 years ago
Sneha,
It did not take long to find some "open source" +"java" "css validator"'s on Google.
Like this one: http://dev.w3.org/cvsweb/2002/css-validator/

Regards,
TY.
In addition to Rob's question:

Jhedzkie, what does "new File(strDirectory).getAbsolutePath()" return? It might not be what you expect.



What is the error?

Regards,
TY.
12 years ago
Hi Jhedzkie,
According to the code you have posted the important part is:


This will create a directory named "test" in the location that the JAR is ran from.

I think netbeans runs the jar from the netbeans Projects root folder. rather than under "dist", i.e: one level up from the dist directory.

Regards,
TY.
12 years ago
Hi All,
I was just wondering what the relationship between Page Faults and the JVM is? When I start a Glassfish Application Server, I note that the java.exe process (in Windows XP) is reporting a growing large number of page faults. (Which I am observing with Sysinternals Process Explorer)

I am fairly new to the concept of Page Faults and any good links/books/references/advice would be appreciated.

I did some Googling and noted others reporting high page faulting for the JVM process, but couldn't find detailed specific "quality" knowledge about the JVM and Page faults, (just a wikipedia reference to page faults really).

Regards,
TY.
12 years ago
Hi,
I found what I was looking for.

In Netbeans, the setting is found in the "File Explorer" tab > Build.xml> Right Click "Run Target">"Advanced" and set the Verbosity Level to "Debug/whatever".

But it's still not giving me enough info around "Generating Service Assembly".. oh well.

Hi,
I need to know how to turn up the logging when building a JBI project in Netbeans 6.1.

How is this done? any URL's or suggestions? I need the output to be very verbose.

I am guessing this has something to do with an Ant configuration.

Regards.
Hi Vinora,
What I usally do is extract the JAR using WinZip or PeaZip then open the classes individually using DJ Java Decompiler.

Regards,
TY.
13 years ago
Hi,
You can take a look at the following thread for a discussion on
the Difference between == and .equals Which may assist you.

Regards,
TY.
13 years ago