This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!

Michael Ernest

High Plains Drifter
+ Follow
since Oct 25, 2000
Michael likes ...
Netbeans IDE VI Editor
San Francisco Bay Area
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Ernest

It's probably some holdover files in the file system. The directory GlassFish wants to install files to probably has some stuff in it. If you delete (and the containing directory too, is not a bad idea), the installation should proceed normally.
4 years ago
I bet if you look in your logs you'll see the file is being accessed if it's in the right place.

Possibly your GlassFish installation does not define the proper MIME type for a .ico file Try adding:


to your default-web.xml file and see if that helps.
4 years ago
Local commands, so-called, presume to operate on file system semantics, so there's no need for GlassFish to negotiate a state-oriented session connection for a local request. Remote requests, on the other hand, are moderated by the server, and so the server has to be active to accept them.

asadmin can work on a remote server, just not out of the box. You must configure the server with a realm the asadmin client can use to authenticate.
4 years ago
The default value for the attribute idle-timeout-in-seconds is 300. The pool may reclaim a any connection that is idle for that duration or longer.

Try adjusting this value to a longer interval and see if that clears the problem you're seeing.
4 years ago
Add a favicon.ico file, containing the image you want shown, to the root context of your application. This should work in any standardized web application container.
4 years ago
The risk you take with kill -9 is that you'll abort the target process without letting it finish. It seems plausible, however unlikely, that the doman.xml file might get updated while making changes through the admin console, and that by aborting the process, something went wrong.

It's completely OK to replace this file and restart the server. An empty file does nothing for you, and there's no documented state in which GlassFish wants domain.xml to be empty.

Prefer kill -15 to kill -9, or at least try it first. This signal gives your process the prerogative to flush files and finish threads gracefully before terminating.
4 years ago
This is a common occurrence on systems that get their IP addresses through DHCP. Reconfigure your GlassFish server to listen to the IP address you've been given and the problem will probably clear up.
4 years ago
This problem is almost certainly a deployment/configuration issue, not a code issue. Even if the log responses don't appear helpful, making them apparent is better than not.

Could you show us how your cluster is configured? The deployment descriptors, if any, would also help.
5 years ago
The wizard can't help you here because the name is at the vendor's discretion. Each DB vendor provides software of a DataSource type that helps you connect to their DB server. If you're using an Oracle product, the driver class may be named oracle.jdbc.OracleDriver, or something similar. For MySQL, something like com.mysql.jdbc.Driver.

Go to Oracle's site and get the notes for installing the driver you need.
5 years ago
Augh, running server software on Windows machines. I don't know how anyone does it. Those who know how, I can't reason why. ;-)

Anyway, could be any number of things, as this isn't a whole lot of information on which to base a hypothesis. First blush, do your internet security settings allow you to connect to any local server site? Last time I looked in Windows, this was not a given.
5 years ago
Closed - duplicate made.
5 years ago
Well, there are a number of core references. As you may be aware, Oracle would like to see these exams take some of their cues from one or more of the courses they list as a prerequisite to taking the exam, whether you take all those courses or not. I don't have that list in front of me but it includes

Architect Enterprise Applications with Java EE
Java Design Patterns

there are other advertised courses that satisfy the exam requirement but are not as valuable, in my view, for exam prep

Java Design Patterns (which I wrote) takes most of its EE-oriented material from Adam Bien's Java EE Patterns and Kent Beck's Implementation Patterns. I'd read Bien's book carefully before plunging into this exam. Hint, hint.

The most helpful document, though, will be the exam objectives map. I don't know when Oracle plans to publish it of if they already have, but you really want to look that over before diving in.

Hope this helps,

I notice the Advanced System Administration exam is also on the list, which I know for a fact is not yet released. I'd guess this list includes beta exams you can sign up for, after which they'll give you available dates to take it, but it's just a guess.
Where did you see it? I went through the list of available exams and couldn't find this one.
CAUTION: The following bit of news is not and will not be confirmed by anyone at Oracle Corporation. This is a friendly and completely unofficial heads-up to the JavaRanch community.

In the last week, Humphrey Sheil and I have finally worked through enough items to justify a Beta exam for the OCM Java EE 6 Architect certification. Whatever additional checks are required by Oracle's certification group are underway, and we should all soon see a formal announcement.

I'm here to say the objective exam will have substantially different material from the EE 5 version. Although there has is some pressure to recycle the items that remain pertinent to the certification, Humphrey and I have done quite a bit of reworking and inventing. The process started with multiple passes in revising the objectives of the exam and culminated with multiple reviews of each item to make them succinct, relevant and challenging.

Those of you interested in participating, I know nothing more about the release date or availability of the beta, only that the material is ready and we've been compensated and thanked for our time. We'll do some additional work after the beta to prepare the final version, of course, but then it's off to the races.

There has been some preliminary talk of providing an upgrade exam for those holding a prior certification. That's all it is right now: talk. No formal parameters, no established prerequisites, just acknowledgment there is a sizable market and potential interest for one and some interest in reaching out to it. FWIW, Humphrey and I both thought it was a good idea and contributed some thoughts to what would make it work.

That's the buzz. The next word I'll see on the matter is Oracle's announcement, same as you. Feel free to ask me for more information or who to contact at Oracle to find out more, but also expect that I won't or can't answer.