Help: config fails with: Portal myPortal already exists

I'm doing a multi-node JES Portal and having issues with the second portal server configuration command. (psconfig --config portal_server2.xml)

There are two portal webservers and as per the JES instructions I have done a configure later install followed by psconfig. The first node went fine but when I went to configure the second node it fails with a long java exception (see below). The nut of it seems to be this message suggesting the portal "myPortal" already exists. I'm expecting this as there are two portal webserver nodes living behind a load balancer.

It makes sense to me that both portal servers should have the same PortalID in their configuration xml... after all they ARE serving the same content for the same portal. By the same token I'm assuming the InstanceID needs to be different as this is a different system from the first webserver. Of course I can find almost nothing in the doc about this.

What am I doing wrong here?

[root@epops02 psconfig]# ../../bin/psconfig --config mac.xml

Successfully created PSConfig.properties file

Copying config templates from: /opt/sun/portal/template/config

Successfully created PortalDomainConfig.properties file

Validating the Input Config XML File

Configuring Cacao Agent for Portal Software

Connecting to Cacao MBean Server

Creating Portals

Configuration Failed : com.sun.portal.fabric.tasks.ConfigurationException: javax .management.MBeanException: Exception thrown in operation createPortal

com.sun.portal.fabric.tasks.ConfigurationException: com.sun.portal.fabric.tasks. ConfigurationException: javax.management.MBeanException: Exception thrown in ope ration createPortal

at com.sun.portal.fabric.config.PortalConfigurator.configurePortal(Porta lConfigurator.java:704)

at com.sun.portal.fabric.config.ConfigurePortal.main(ConfigurePortal.jav a:138)

Caused by: com.sun.portal.fabric.tasks.ConfigurationException: javax.management. MBeanException: Exception thrown in operation createPortal

at com.sun.portal.fabric.config.PortalConfigurator.createPortal(PortalCo nfigurator.java:913)

at com.sun.portal.fabric.config.PortalConfigurator.configurePortal(Porta lConfigurator.java:687)

... 1 more

Caused by: javax.management.MBeanException: Exception thrown in operation create Portal

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataI mpl.java:435)

at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM BeanServerInterceptor.java:815)

at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784 )

at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(Default MBeanServerInterceptor.java:203)

at com.sun.jdmk.interceptor.MBeanServerInterceptorWrapper.invoke(MBeanSe rverInterceptorWrapper.java:512)

at com.sun.portal.admin.server.PortalServerLoggingInterceptor.invoke(Por talServerLoggingInterceptor.java:407)

at com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.ja va:795)

at com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764)

at com.sun.cacao.common.instrum.InstrumDefaultForwarder.invoke(InstrumDe faultForwarder.java:110)

at javax.management.remote.generic.ServerIntermediary.handleRequest(Serv erIntermediary.java:280)

at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJ ob.run(ServerIntermediary.java:951)

at java.security.AccessController.doPrivileged(Native Method)

at javax.management.remote.generic.ServerIntermediary$RequestHandler.han dleMBSReqMessage(ServerIntermediary.java:727)

at javax.management.remote.generic.ServerIntermediary$RequestHandler.exe cute(ServerIntermediary.java:629)

at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJ ob.run(ServerSynchroMessageConnectionImpl.java:249)

at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(Thread Service.java:208)

at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59)

Caused by: com.sun.portal.admin.common.PSMBeanException: Portal myPortal already exists

at com.sun.portal.fabric.mbeans.PortalDomain.createPortal(PortalDomain.j ava:265)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataI mpl.java:414)

... 17 more

[root@epops02 psconfig]#

[

[4817 byte] By [gabbagabba] at [2007-11-26 10:13:13]
# 1

FYI: It seems this may be a known issue with an internal only resolution doc. Have a peek at the first reply in this thread: http://forum.sun.com/jive/thread.jspa?messageID=320624

To quote:

I see many people looking for this answer....

I would post it, but it came to me as a Sun internal document. Which I would post here just because people are looking for it. However, that said, there is an internal Sun document that details how to bring up a second portal 7.0 instance on a separate server... Open a support case to get it.

Does anyone have this doc? If so can they please post the relevent portions or email to rob.nourse@scalar.ca?

Message was edited by:

gabbagabba

gabbagabba at 2007-7-7 2:02:24 > top of Java-index,Web & Directory Servers,Portal Servers...