Hi Everyone, I'm devloping an application using the JBoss Portal Server. I'm facing the problem while accesing the application using the context name (i.e. http://localhost:8080/portal/mysample)
But I'm able to access the application using the below given URL http://localhost:8080/portal/index.html?ctrl:id=page.default.helloworld I have defined my own layout for this sample application. Here are my files jboss-web.xml <?xml version="1.0" ?> | <jboss-app> | <app-name>mysample</app-name> | </jboss-app> jboss-web.xml <?xml version="1.0"?> | <jboss-web> | <context-root>/mysample</context-root> | </jboss-web> portal.xml <?xml version="1.0" encoding="UTF-8"?> | <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd /opt/SUNWps/dtd/portlet.xsd" | version="1.0"> | <portlet> | <portlet-name>HelloWorldPortlet</portlet-name> | <portlet-class>mysample.portlets.HelloWorldPortlet</portlet-class> | | <supports> | <mime-type>text/html</mime-type> | <portlet-mode>VIEW</portlet-mode> | </supports> | | <portlet-info> | <title>HelloWorld Portlet</title> | <short-title>HelloWorld Portlet</short-title> | <keywords>HelloWorld</keywords> | </portlet-info> | </portlet> | </portlet-app> jboss-portal.xml <?xml version="1.0"?> | <portlet-app> | <portlet> | <portlet-name>HelloWorldPortlet</portlet-name> | <security></security> | </portlet> | </portlet-app> portal-instances.xml <?xml version="1.0"?> | <instances> | <instance> | <instance-name>HelloWorldPortletInstance</instance-name> | <component-ref>HelloWorldPortlet</component-ref> | </instance> | </instances> mysample-pages.xml <?xml version="1.0"?> | <pages> | <portal-name>default</portal-name> | <page> | <page-name>helloworld</page-name> | <window> | <window-name>HelloWorldWindow</window-name> | <instance-ref>mysample.HelloWorldPortlet.HelloWorldPortletInstance</instance-ref> | <region>center</region> | <height>0</height> | </window> | </page> | </pages> Please help me regarding this problem. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911727#3911727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911727 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
