Portal config failure

Hi all,

I am try to config portal after installation, and i am using the example1.xml to create portal, but during the process, it always have error, and i check the log, it show "WARNING: Cannot garbage collect class loader for module com.sun.portal.admin.server.module - external references probably still exist. There may have problems redeploying this module. See bugid 6218682." Any ppl have idea abt that.

Thx

[434 byte] By [Suedejef] at [2007-11-26 11:51:52]
# 1

hi,

I am also using the same xml file. but I am getting an exception like:-

java.lang.SecurityException: Unable to read truststore

at com.sun.portal.fabric.config.PortalConfigurator.getMbeanServerConnection(Portal Configurator.java:626)

at com.sun.portal.fabric.config.ConfigurePortal.resetLogLevel(ConfigurePortal.java :313)

at com.sun.portal.fabric.config.ConfigurePortal.main(ConfigurePortal.java:289)

Caused by: java.lang.SecurityException: Unable to read truststore

at com.sun.cacao.agent.JmxClient.getUnknownJmxClientConnection(JmxClient.java:835)

at com.sun.portal.admin.common.util.AdminClientUtil.getJMXConnector(AdminClientUti l.java:114)

at com.sun.portal.fabric.config.PortalConfigurator.getMbeanServerConnection(Portal Configurator.java:617)

... 2 more

Caused by: java.io.FileNotFoundException: /etc/opt/SUNWcacao/security/jsse/truststore (No such file or directory)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:106)

at java.io.FileInputStream.<init>(FileInputStream.java:66)

at com.sun.cacao.agent.JmxClient.getUnknownJmxClientConnection(JmxClient.java:832)

... 4 more

any idea what this could be ?

thanks in advance

dhawanmayur

dhawanmayur at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

The error message indicates that cacao was not configured successfully. Can you check if the the 'truststore' has been created ? Run 'example2.xml' to configure cacao again.

Caused by: java.io.FileNotFoundException: /etc/opt/SUNWcacao/security/jsse/truststore (No such file or directory)

sushmac at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3
Are there any error messages in the /var/opt/SUNWportal/logs/configportal.fabric.0.log and the /var/opt/SUNWportal/logs/admin/portal.0.0.log ? What is the last successful operation in the portal.fabric.0.log ?
sushmac at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 4

hi sushmac,

I could start the portal server. basically it was a CACAO problem. I first checked whether my cacao was up or not. Actually the cacao was not up as I didn't had any JDMK home in my system . So, in the next step I downloaded SUNJDMK and then setted the jdmk home parameter for cacao as well as the Javahome parameter.. After this I rebuild the dependencies

by ./cacaoadm rebuild-dependencies

and started the cacaodm. using ./cacaoadm start

after that I could easily run the configuration examples.

thanks for ur help

I want some more details on cacao... from where can I get them..

thanks

dhawanmayur

dhawanmayur at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 5

hi sushmac,

I just retry to deploy the portal to Linux server 3.0, and this time seem have another error when create the portal using example1.xml

[#|2007-01-02T18:28:32.435+0800|INFO|SJS Portal Server|debug.com.sun.portal.fabric.config|ThreadID=10; ClassName=com.sun.portal.fabric.config.PortalConfigurator; MethodName=configurePortal; |PSFB_CSPFC0029:Creating Portal: myPortal|#]

[#|2007-01-02T18:28:32.486+0800|SEVERE|SJS Portal Server|debug.com.sun.portal.fabric.config|ThreadID=10; ClassName=com.sun.portal.fabric.config.PortalConfigurator; MethodName=createPortal; |PSFB_CSPFC0035:Failed to invoke method on MBean

javax.management.MBeanException: Exception thrown in operation createPortal

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:4 35)

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

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServer Interceptor.java:815)

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

at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServe rInterceptor.java:203)

at com.sun.jdmk.interceptor.MBeanServerInterceptorWrapper.invoke(MBeanServerInterc eptorWrapper.java:512)

at com.sun.portal.admin.server.PortalServerLoggingInterceptor.invoke(PortalServerL oggingInterceptor.java:407)

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

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

at com.sun.cacao.common.instrum.InstrumDefaultForwarder.invoke(InstrumDefaultForwa rder.java:110)

at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermed iary.java:280)

at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(Ser verIntermediary.java:951)

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

at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqM essage(ServerIntermediary.java:727)

at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(Serve rIntermediary.java:629)

at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(Ser verSynchroMessageConnectionImpl.java:249)

at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.ja va: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.java:265)

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

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

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

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

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:4 14)

... 17 more

|#]

[#|2007-01-02T18:28:32.487+0800|SEVERE|SJS Portal Server|debug.com.sun.portal.fabric.config|ThreadID=10; ClassName=com.sun.portal.fabric.config.PortalConfigurator; MethodName=configurePortal; |PSFB_CSPFC0034:Encountered Exception while configuring the Portal

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

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

at com.sun.portal.fabric.config.PortalConfigurator.configurePortal(PortalConfigura tor.java:687)

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

Caused by: javax.management.MBeanException: Exception thrown in operation createPortal

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:4 35)

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

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServer Interceptor.java:815)

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

at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServe rInterceptor.java:203)

at com.sun.jdmk.interceptor.MBeanServerInterceptorWrapper.invoke(MBeanServerInterc eptorWrapper.java:512)

at com.sun.portal.admin.server.PortalServerLoggingInterceptor.invoke(PortalServerL oggingInterceptor.java:407)

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

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

at com.sun.cacao.common.instrum.InstrumDefaultForwarder.invoke(InstrumDefaultForwa rder.java:110)

at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermed iary.java:280)

at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(Ser verIntermediary.java:951)

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

at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqM essage(ServerIntermediary.java:727)

at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(Serve rIntermediary.java:629)

at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(Ser verSynchroMessageConnectionImpl.java:249)

at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.ja va: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.java:265)

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

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

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

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

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:4 14)

... 17 more

|#]

[#|2007-01-02T18:28:32.489+0800|SEVERE|SJS Portal Server|debug.com.sun.portal.fabric.config|ThreadID=10; ClassName=com.sun.portal.fabric.config.ConfigurePortal; MethodName=main; |PSFB_CSPFC0014:Failed configuring Portal Server!!

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

at com.sun.portal.fabric.config.PortalConfigurator.configurePortal(PortalConfigura tor.java:704)

at com.sun.portal.fabric.config.ConfigurePortal.main(ConfigurePortal.java: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(PortalConfigurator .java:913)

at com.sun.portal.fabric.config.PortalConfigurator.configurePortal(PortalConfigura tor.java:687)

... 1 more

Caused by: javax.management.MBeanException: Exception thrown in operation createPortal

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:4 35)

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

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServer Interceptor.java:815)

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

at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServe rInterceptor.java:203)

at com.sun.jdmk.interceptor.MBeanServerInterceptorWrapper.invoke(MBeanServerInterc eptorWrapper.java:512)

at com.sun.portal.admin.server.PortalServerLoggingInterceptor.invoke(PortalServerL oggingInterceptor.java:407)

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

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

at com.sun.cacao.common.instrum.InstrumDefaultForwarder.invoke(InstrumDefaultForwa rder.java:110)

at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermed iary.java:280)

at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(Ser verIntermediary.java:951)

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

at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqM essage(ServerIntermediary.java:727)

at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(Serve rIntermediary.java:629)

at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(Ser verSynchroMessageConnectionImpl.java:249)

at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.ja va: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.java:265)

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

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

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

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

at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:4 14)

... 17 more

|#]

Do you have any idea abt that error

Thx a lot

Suedejef at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 6

The exceptions show that myPortal already exists. This is due to the first attempt which failed. In first attempt portal was partially installed but was registered.

So please try to set some other values for portal ID , instance ID and search server ID in example1.xml and run psconfig again.

AjitKamble at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 7

hi sushmac,

I want to deploy the portalserver instance and SearchServer instance to Solaris 10 x86, and A error occured when create the portal using example1.xml

==================================

bash-3.00# ./psconfig --config example1.xml

Successfully created PSConfig.properties file

Copying config templates from: /opt/SUNWportal/template/config

Successfully created PortalDomainConfig.properties file

Validating the Input Config XML File

Exception in thread "main" java.lang.ExceptionInInitializerError

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

Caused by: java.lang.NullPointerException

at com.sun.portal.fabric.config.ValidatePortalInputData.<clinit>(ValidatePor talInputData.java:82)

... 1 more

Do you have any idea about this error

Thx a lot

Message was edited by:

tonywang

tonywang at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 8

As the exception is during validation of the input psconfig.xml, please check if the values given in the xml file are correct. Also ensure that the directory server, AM server, cacao, derby(ps -eaf | grep java should show both processes) are running during portal configuration. Please look the last exception in /var/opt/SUNWportal/logs/config/portal.fabric.0.0 log for the exact issue.

sushmac at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...
# 9

We received the EXACT same error message when trying to install Portal on a separate box as AM. The problem was because the Access Manager SDK on the Portal box could not talk to the Access Manager that was running on a remote host. To solve the problem, make sure your remote AM is running. Then, on your Portal server box, do an install (configure NOW) for a web container and AM SDK (only that ONE AM component should be checked). Then, on your Portal box, do a second install (configure LATER) for Portal. Lastly, use an example xml file (after replacing the @xxx@ tags with correct values) to configure Portal. This fixed it for us.

CodeSlinger at 2007-7-7 12:07:20 > top of Java-index,Web & Directory Servers,Portal Servers...