Skip to Content
Former Member
Mar 02, 2004 at 03:49 PM

EP6 Service with problem


We are developing a service which will include localized text, and are running into issues with it locating the text.

We have already some JSP-Dynpage based iViews with localized text working, it is just the service that is not functioning properly.

The iView project layout was generated from the Eclipse Portal-Plugin, and we have the code layout as follows:

<SERVICE> \src.core\com\etc\etc\<SERVICE>.java

<SERVICE> \src.api\com\etc\etc\I<SERVICE>.java

<SERVICE> \dist\scripts\helperscriptsinhere.js

<SERVICE> \dist\PORTAL-INF\portal.xml (see contents of file below)

I have placed (which in the documentation is said to be the default name)


<SERVICE> \dist\PORTAL-INF\classes


<SERVICE> \dist\PORTAL-INF\private\clasess

but neither have helped the problem.

Localized text is being retrieved in the .java file as:

ResourceBundle objBundle = componentRequest.getResourceBundle();


where strKey does exist in the file.


PortalApp.xml -

<?xml version="1.0" encoding="ISO-8859-1"?>



<property name="SharingReference" value="landscape,htmlb"/>



<component name="MYService">


<property name="ClassName" value="com.etc.etc.MYService"/>

<property name="SecurityZone" value=""/>



<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>





<service name="MYService">


<property name="className" value="com.etc.etc.MYService"/>

<property name="startup" value="true"/>



<property name="Version" value="1.1.0"/>






Can the following be answered:

A) What should the portalapp.xml file look like?

B) How should the packaged par look like after its archived from Eclipse or ANT? (Can you give a sample directory listing)

C) Once the Service is uploaded to the portal, does it have to always be restarted?

If so, is restart enough or does the Portal have to be restarted as well for changes to take effect?