| Author |
Doubt on the xml files that should be present in jboss portal server
|
Padma priya Gururajan
Ranch Hand
Joined: Oct 05, 2006
Posts: 393
|
|
Hi, I am new to jboss portal technology. I downloaded the jboss 4.2 version from jboss.org and i do not know 1) what are the xml files to be placed in the WEB-INF directory? 2) Do we manually need to write the xml files? Kindly answer my questions. With regards, Padma priya N.G.
|
Padma priya N.G.<br />Be the change you want to be - Mahatma Gandhi
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4962
|
|
I'm not a JBoss guy, but I do know JSR168. The web-inf folder will have the portlet.xml file, and the standard web.xml file. You can write the files from scratch, but that's painful. Sometimes its nice to start with a blank war. Here are a bunch of sample portlets you can download and look at. They are all JSR168 compliant. Open them up with WinZip or something and look inside. Free Sample JSR168 Portlets for Download Take a look at the portlet development best practices while you're there as well! Good luck! -Cameron McKenzie
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Padma priya Gururajan
Ranch Hand
Joined: Oct 05, 2006
Posts: 393
|
|
Hi, I guess some other xml files like jboss-web.xml and other xml files are required. Kindly help me on this. With regards, Padma priya N.G.
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4962
|
|
As I said, I don't know JBoss, but I'm not sure if they are required. The JSR168 portlet specification doesn't require them, so, if JBoss is JSR-168 compliant, they are not needed. WebSphere also has extensions, ibm-web-ext.xml I think, that are in the web-inf folder. IBM adds them in, but if you remove them, things will still run in a compliant manner. -Cameron McKenzie
|
 |
Padma priya Gururajan
Ranch Hand
Joined: Oct 05, 2006
Posts: 393
|
|
I do understand that you have not worked on portlets on jboss portal server. Can anybody who have worked explain how to run a "hello world" portlet on jboss portal server. With regards, Padma priya N.G.
|
 |
Padma priya Gururajan
Ranch Hand
Joined: Oct 05, 2006
Posts: 393
|
|
Hi Cameron, Since you have worked on jsr168, can you solve the following error. I get an error called Object not found helloworld.HelloWorldPortlet How should i resolve this? Thanks, Padma priya N.G.
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4962
|
|
Make sure the compiled portlet is actually in the war, with the package relavent name. Sounds like the portlet.xml file points to a non-existent piece of Java code. -Cameron McKenzie
|
 |
 |
|
|
subject: Doubt on the xml files that should be present in jboss portal server
|
|
|