In PS7 you should have installed SRACore along with PS. This is a pre-requirement.
Now, if you want to install gateway on the same machine then just invoke the installer and check gateway and provide all appropriate values that are asked in the panel.
If you are installing gateway on some other machine then portal server, then there is a need to have a local directory server on that node.Below document will give you some insight.
http://docs.sun.com/app/docs/doc/819-6448/6n8fafm02?q=installing+gateway&a= view
Thx for your reply. Now I have some idea about the gateway, actually i am now using the example "example_9.xml" as template to create another portal. After i successfully create a portal and check the gateway profile, it show "Default: ", so now i dont know how to startup the gateway, pls help
We (Java ES testing team) usually run the folowing when testing PS/Gateway.
On the Portal node:
# echo <the amadmin's password> > /var/tmp/passwd.txt
# /opt/SUNWportal/bin/psadmin provision-sra -u amadmin -f /var/tmp/passwd.txt -p portal1 --gateway-profile default --enable
On the Gateway node:
# netstat -an | grep 443
# echo <the amadmin's password> >/tmp/password
# /opt/SUNWportal/bin/psadmin start-sra-instance --adminuser amadmin --passwordfile /tmp/password --name default --type gateway
# ps -ef | grep java | grep -v grep
noaccess 21792 211750 09:53:09 ?0:08 /usr/jdk/entsys-j2se/bin/java -Dgateway.profilename=default -classpath :/etc/op
root 211756890 08:16:54 ?0:52 /usr/jdk/jdk1.5.0_09/bin/java -Xms128M -Xmx256M -Dcom.sun.portal.log.config.fil
# netstat -an | grep 443
10.17.253.194.443 *.*00 491520 LISTEN
#
HTH
For my case, because now we are under testing purpose, so we are installed both portal and gateway into a single server. And when I try to startup the gateway by following commend:
./psadmin start-sra-instance -u amadmin -f password --name default -t gateway
it always show "Instance default does not exist"
But I have set any gateway profile name, so i dont know the name I should point to.
Thx for your reply, I am now seem successfully config the portal, but when i access it, it show the following error "<domain name> has sent an incorrect or unexpected message. Error Code: -12263". And check the gateway.debug log, it contain the below error
java.io.IOException: SocketException cannot read on socket
at org.mozilla.jss.ssl.SSLSocket.read(SSLSocket.java:726)
at org.mozilla.jss.ssl.SSLInputStream.read(SSLInputStream.java:70)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.io.DataInputStream.readFully(DataInputStream.java:176)
at com.sun.portal.netlet.econnection.ESessionMsg.readMsg(ESessionMsg.java:24)
at com.sun.portal.netlet.eproxy.RProxyConnection.isNetletTraffic(RProxyConnection. java:190)
at com.sun.portal.netlet.eproxy.RProxyConnection.access$400(RProxyConnection.java: 38)
at com.sun.portal.netlet.eproxy.RProxyConnection$RProxyThread.run(RProxyConnection .java:270)
at com.sun.portal.util.TaskWrapper.run(TaskWrapper.java:42)
at com.sun.portal.util.ThreadPoolThread.run(GWThreadPool.java:152)
Hi, can any one help me, I just found more error on the log file
[#|2007-04-26T15:28:45.950+0800|SEVERE|SJS Portal Server|debug.com.sun.portal.admin.cli.commands|ThreadID=10; ClassName=com.sun.portal.admin.cli.commands.sra.GenericSRACommand; MethodName=runCommand; |PSALI_CSPACC0006:MBeanException
javax.management.MBeanException: Exception thrown in operation StartGateway
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
at com.sun.portal.sra.admin.mbeans.SRA.StartGateway(SRA.java:85)
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