Integrating Portal 3.0 sp3a with iAS 6.5

I have the Portal Server installed on one machine and an application running on iAS 6.5 on a different machine.

I have tried to invoke the application using a URLScraper channel.

In my application, I have done:

Session lPortalSession= null;

SessionID lsid = null;

try

{

log("before generating id");

lsid = new SessionID(req);

log("lsid :"+lsid);

lPortalSession = Session.getSession( lsid );

}

catch(Exception ex )

{

ex.printStackTrace();

return;

}

Here, it is getting teh Portal Session Id, but is throwing an exception after that.

2040 [23/Apr/2002 10:14:24:5] info: WisperMainSrv: lsid :345nwapoqoqdrfcupeat

f2q3r646p245p@uggc@fha15.vcynarg.pbz@8080@/vcynarg.pbz

2041 [23/Apr/2002 10:14:24:5] info: --

2042 org.xml.sax.SAXParseException: Document root element is missing.

2043 at com.sun.xml.parser.Parser.fatal(Parser.java:2817)

2044 at com.sun.xml.parser.Parser.fatal(Parser.java:2805)

2045 at com.sun.xml.parser.Parser.parseInternal(Parser.java:493)

2046 at com.sun.xml.parser.Parser.parse(Parser.java:284)

2047 at com.sun.xml.tree.XmlDocument.createXmlDocument(XmlDocument.ja

va:226)

2048 at com.iplanet.portalserver.util.XMLParser.<init>(XMLParser.java

:70)

2049 at com.iplanet.portalserver.naming.share.NamingResponseParser.<i

nit>(NamingResponseParser.java:33)

2050 at com.iplanet.portalserver.naming.share.NamingResponse.parseXML

(NamingResponse.java:74)

2051 at com.iplanet.portalserver.naming.WebtopNaming.updateNamingTabl

e(WebtopNaming.java:174)

2052 at com.iplanet.portalserver.naming.WebtopNaming.getNamingProfile

(WebtopNaming.java:155)

2053 at com.iplanet.portalserver.naming.WebtopNaming.getServiceURL(We

btopNaming.java:57)

(Session.java:558) com.iplanet.portalserver.session.Session.getSessionServiceURL

(Session.java:544) com.iplanet.portalserver.session.Session.getSessionServiceURL

ava:439)at com.iplanet.portalserver.session.Session.getSession(Session.j

inSrv.java:136) at wisper.servlets.security.WisperMainSrv.defaultAction(WisperMa

va:47) at wisper.servlets.security.WisperMainSrv.doGet(WisperMainSrv.ja

2059 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

2060 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

(Unknown Source)at com.netscape.server.servlet.servletrunner.ServletInfo.service

te(Unknown Source) com.netscape.server.servlet.servletrunner.ServletRunner.execu

2063 at com.kivasoft.applogic.AppLogic.execute(Unknown Source)

2064 at com.kivasoft.applogic.AppLogic.execute(Unknown Source)

2065 at com.kivasoft.thread.ThreadBasic.run(Native Method)

2066 at java.lang.Thread.run(Thread.java:484)

2067 com.iplanet.portalserver.session.SessionException

(Session.java:563) com.iplanet.portalserver.session.Session.getSessionServiceURL

(Session.java:544) com.iplanet.portalserver.session.Session.getSessionServiceURL

ava:439)at com.iplanet.portalserver.session.Session.getSession(Session.j

inSrv.java:136) at wisper.servlets.security.WisperMainSrv.defaultAction(WisperMa

va:47) at wisper.servlets.security.WisperMainSrv.doGet(WisperMainSrv.ja

2073 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

2074 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

(Unknown Source)at com.netscape.server.servlet.servletrunner.ServletInfo.service

te(Unknown Source) com.netscape.server.servlet.servletrunner.ServletRunner.execu

2077 at com.kivasoft.applogic.AppLogic.execute(Unknown Source)

2078 at com.kivasoft.applogic.AppLogic.execute(Unknown Source)

2079 at com.kivasoft.thread.ThreadBasic.run(Native Method)

2080 at java.lang.Thread.run(Thread.java:484)

2081 inside error page

What is this error?

I have performed the following steps:

1. Added the URL of the application server machine in Forward Cookies List in the Gateway Profile.

2. Created the following directories on the non-iPS server host:

/opt/SUNWips

/opt/SUNWips/lib

/opt/SUNWips/locale

/etc/opt/SUNWips

3. Copied the platform.conf file from /etc/opt/SUNWips/platform.conf to the same location on the non-iPS server.

In the platform.conf file, modified the ips.notification.url parameter to to be the FQDN (Fully Qualified Domain Name) of the server my application is running on.

4. I should have Copied the following JAR files from /opt/SUNWips/lib to the same location on the non-iPS server:

ips_sdk.jar

xml.jar

jndi.jar

ips_services.jar

In this case, there may be a problem. On my Portal Server machine, these files are under /export/home0/IPS/SUNWips/lib, but I have copied them to /opt/SUNWips/lib on the machien running the App server. Could this be a problem?

5. Copied the following files from /export/home0/IPS/SUNWips/locale to the /opt/SUNWips/locale on the non-iPS server:

iwtPll.properties

iwtProfile.properties

iwtSession.properties

iwtLogging.properties

iwtNaming.properties

Here, also there may be a problem because tehy are in different paths on the two machines. Does this matter?

6. Updated the classpath in

iws_server_root/https-your_server_instance_name/config/jvm12.conf

I included the 3 JAR files and /opt/SUNWips/locale in the classpath. However, I could not include xml.jar, as teh server fails to startup on including xml.jar.

I am using Web Server 6.0

It gives the following error:

1686 [23/Apr/2002:09:54:29] failure (12850): vs(https-sun14.iplanet.com)Cann

t create web applications virtual server environment.

1687 [23/Apr/2002:09:54:29] failure (12850): Internal Error: Failed to initi

lize web application environment (web-apps.xml) for virtual server (https-sun14

iplanet.com)

1688 [23/Apr/2002:09:54:29] info (12850): Internal Error: Failed to initiali

e web application environment (web-apps.xml) for virtual server (https-sun14.ip

anet.com)

1689 [23/Apr/2002:09:54:29] failure (12850): The new configuration was rejec

ed, rolling back

1690 [23/Apr/2002:09:54:29] failure (12850): vs(https-sun14.iplanet.com)Erro

parsing web applications configuration web-apps.xml: sealing violation.

1691 [23/Apr/2002:09:54:29] failure (12850): vs(https-sun14.iplanet.com)Cann

t create web applications virtual server environment.

1692 [23/Apr/2002:09:54:29] failure (12850): Internal Error: Failed to initi

lize web application environment (web-apps.xml) for virtual server (https-sun14

iplanet.com)

1693 [23/Apr/2002:09:54:29] info (12850): Internal Error: Failed to initiali

e web application environment (web-apps.xml) for virtual server (https-sun14.ip

anet.com)

1694 [23/Apr/2002:09:54:29] failure (12850): 1 subystems could not be rolled

back

7. I have added the following line to the iws_server_root/https-your_server_instance_name/config/rules.properites file:

/notificationservice=notificationservice

8. Added the following line to the iws_server_root/https-your_server_instance_name/config/servlets.properties file:

servlet.notificationservice.code=com.iplanet.portalserver.pll.client.PLLNotific ationServlet

Where have I gone wrong?

Please help....

Regards,

Vibha

[7714 byte] By [708858] at [2007-11-25 4:38:28]
# 1

iPS 3.0 was never tested with app server 6.5 and iWS 6.0 so most likely it might not work. However here are the issues I see in ur current situation

#4 and #5 are problems, they should be in the exact directory as original portal installation. #6 could also be a potential problem but I am not sure ..

Karthik_Krishnamoorthy at 2007-6-29 3:10:45 > top of Java-index,Web & Directory Servers,Portal Servers...