Search WebSpherePower's 6,973 WebSphere, Java, and Eclipse article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Adventures with Roller Weblogger (continued)

This, of course, would present certain issues regarding maintaining user data in two places, but I wanted the authentication mechanism to be consistent with other applications in the environment.

I took a look at the security settings in the Web project's deployment descriptor and all of the various settings appeared to be sufficient for use in the WebSphere environment. There are additional settings, however, in the higher-level Roller project, which produces the .ear file.

I opened up the menu tree on that project and double-clicked on its deployment descriptor to bring it up in edit mode. Selecting the lower Security tab brought up the security configuration panel in Figure D.

FIGURE D


The Security configuration panel. Roll over picture for a larger image.

Clicking on the Gather button goes into all of the subordinate projects and "gathers" all of the possible security roles so that they can be further defined. In this case, there is only one role: editor, see Figure E.

FIGURE E


The "editor" role gathered from the Web project. Roll over picture for a larger image.

To define this role, I checked the Users/Groups option under WebSphere Bindings and clicked on Add to add myself to the list for testing purposes, as shown in Figure F.

FIGURE F


Adding a new user to the specified Role. Roll over picture for a larger image.

After entering my user name and clicking the Finish button, my user id appeared on the list of users assigned to the editor role, as you can see in Figure G.

FIGURE G


The new user should now appear on the list. Roll over picture for a larger image.

Closing and saving the Deployment Descriptor completed the security configuration portion of the process.

3, 2, 1
At this point, I felt that I had all of the pieces in place and was ready to give it a go. I right-clicked on the Web project to bring up the context menu and selected Run on Server. Then I chose the WebSphere 5.1 Test Environment and checked the Always use this Server box so that I wouldn't have to go through that step in the future.

It always takes a little while to configure a new server and a new application for the first time, so I waited patiently for that initial roller screen to pop up in the browser window, just like it did when I ran the Roller demo package on Tomcat for the first time.

Results finally came, but it wasn't the main Roller page that I was expecting. Instead, I was greeted with the following sinister message, as Figure H shows.

FIGURE H


The final result of the process thus far. Roll over picture for a larger image.

Virtual Host or Web Application Not Found
The Web group default_host/roller has not been defined
IBM WebSphere Application Server

A quick look at the application server log, in Figure I, revealed the following messages:

FIGURE I


Viewing the WebSphere Test Environment's application server log. Roll over picture for a larger image.

WSVR0200I: Starting application: Roller
SRVE0169I: Loading Web Module: Roller Weblogger.
SRVE0054E: An error occurred while loading Web application
WSVR0206E: Module, RollerWeb.war, of application, Roller.ear/deployments/Roller, failed to start
WSVR0101W: An error occurred starting, Roller
WSVR0217I: Stopping application: Roller
WSVR0220I: Application stopped: Roller


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Projects > Roller Weblogger (3 articles)
   Even more adventures with Roller Weblogger
   Further Adventures with Roller Weblogger
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent WebSpherePower Articles
A perfect 10: celebrating 10 years online
You can help bring security and safety back to White House email
Introducing the WebSpherePower RSS feeds
From New Jersey to Palm Bay, Florida
A WebSphere pot o' gold
How Elvis entered the building and CES went out the window
WebSphere Application Server 6: what's it all mean?
WebSpherePower News
Legal question: Can HP keep Hurd from going to Oracle?
Caringo announces integration with Symantec EV 9.0
Cisco & Citrix marry on virty PCs
Take Heed, Tech Giants: Edison's Failed Plot To Hijack Hollywood
IBM code unchains virtual workloads
Oracle names H-P ex-CEO Mark Hurd as co-president
Cloud Messaging Provider, Linxter, Releases SDK for Java and Android
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Introducing the Jones family and their full-family backup challenges
David Gewirtz Online: CNN commentary and analysis
DominoPower: Lotus must open source Notes and Domino
OutlookPower: Hands on debugging a broken Outlook forwarding rule
-- Advertisement --

How To Save Jobs
This book is about how to create and save jobs. Believe it or not, there's not a single book out there that specifically focuses on job creation and preservation -- until now.

This book, by ZATZ editor-in-chief David Gewirtz, is about helping your business work better. It's about helping you change the things you need to change so your company can perform more effectively.

Plus, through a grant from ZATZ, it's a free download.

Read it and reap.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login