3 Replies Latest reply on Mar 31, 2009 4:17 PM by 807574

    Error in running sun portal server 7.2 on windows platform

    807574
      I have downloaded portal-7.2-windows-x86.zip
      Extract it at C:\
      Run C:\PS7.2\setup.bat
      Opened: http://localhost:8080/portal/dt
      The following error was displayed:
      type Exception report
      
      message description
      The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      javax.servlet.ServletException: PWC1391: Servlet.init() for servlet desktopServlet threw exception
      
      root cause
      com.sun.portal.desktop.context.ContextError: PSDesktopContextFactory.getDesktopAppContext(): 
      
      root cause
      java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.sm.SMSEntry
      
      note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1_01 logs.
      When i opened the http://localhost:8080/psconsole
      and Logged in as amadmin/password
      an error was displayed
      Authentication Failed
      Please reenter username and password

      How to solve this problem?
        • 1. Re: Error in running sun portal server 7.2 on windows platform
          807574
          Hi,

          The problem may be that Accessmanager may not be installed properly.
          what is the server.log file showing?
          if possible try to uninstall and reinstall the software.

          Thanks & regards
          Srikanth
          • 2. Re: Error in running sun portal server 7.2 on windows platform
            807574
            Here is server.log
            Jul 27, 2008 8:55:04 AM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
            INFO: 
            C:/PS7.2/java/jdk1.6\bin\java
            -Dcom.sun.aas.instanceRoot=C:/PS7.2/appserver/domains/domain1
            -DLOG_COMPATMODE=Off
            -Dcom.iplanet.am.serverMode=true
            -Dcom.sun.aas.ClassPathPrefix=C:/PS7.2/appserver/lib/jsf-api.jar;C:/PS7.2/share/lib/sax.jar;C:/PS7.2/share/lib/dom.jar;C:/PS7.2/share/lib/saaj-api.jar;C:/PS7.2/share/lib/saaj-impl.jar;C:/PS7.2/share/lib/commons-logging.jar;
            -Dcom.sun.aas.ClassPathSuffix=;C:/PS7.2/share/lib/ldapjdk.jar;C:/PS7.2/share/lib/jss4.jar;C:/PS7.2/share/lib/xmlsec.jar;C:/PS7.2/share/lib/xalan.jar;C:/PS7.2/share/lib/dom.jar;C:/PS7.2/share/lib/saaj-api.jar;C:/PS7.2/share/lib/jaxrpc-api.jar;C:/PS7.2/share/lib/jaxrpc-impl.jar;C:/PS7.2/share/lib/jaxrpc-spi.jar;C:/PS7.2/share/lib/saaj-impl.jar;C:/PS7.2/share/lib/mail.jar;C:/PS7.2/share/lib/activation.jar;C:/PS7.2/share/lib/xsdlib.jar;C:/PS7.2/share/lib/jaxb-api.jar;C:/PS7.2/share/lib/jaxb-impl.jar;C:/PS7.2/share/lib/jaxb-libs.jar;C:/PS7.2/share/lib/jaxb-xjc.jar;C:/PS7.2/share/lib/relaxngDatatype.jar;C:/PS7.2/share/lib/jdmkrt.jar;C:/PS7.2/share/lib/jmxremote.jar;C:/PS7.2/share/lib/jmx.jar;C:/PS7.2/share/lib/jaxp-api.jar;C:/PS7.2/share/lib/sax.jar;C:/PS7.2/share/mfwk/lib/xercesImpl.jar;C:/PS7.2/share/mfwk/lib/mfwk_instrum_tk.jar;C:/PS7.2/identity/lib/am_sdk.jar;C:/PS7.2/identity/lib/am_services.jar;C:/PS7.2/identity/lib/am_sso_provider.jar;C:/PS7.2/identity/lib/am_logging.jar;C:/PS7.2/identity/lib/amclientsdk.jar;C:/PS7.2/identity/lib/jaas.jar;C:/PS7.2/identity/lib/swec.jar;C:/PS7.2/identity/lib/acmecrypt.jar;C:/PS7.2/identity/lib/iaik_ssl.jar;C:/PS7.2/identity/lib/iaik_jce_full.jar;C:/PS7.2/identity/lib/jax-qname.jar;C:/PS7.2/identity/lib/namespace.jar;C:/PS7.2/share/MobileAccess/lib/wireless_rendering.jar;C:/PS7.2/share/MobileAccess/lib/wireless_rendering_util.jar;C:/PS7.2/share/MobileAccess/lib/mobile_services.jar;C:/PS7.2/share/MobileAccess/lib/ccpp-1_0.jar;C:/PS7.2/share/MobileAccess/lib/ccpp-ri-1_0.jar;C:/PS7.2/share/MobileAccess/lib/jena-1.4.0.jar;C:/PS7.2/share/MobileAccess/lib/rdffilter.jar;C:/PS7.2/identity/lib/mobile_identity.jar;C:/PS7.2/identity/config;C:/PS7.2/identity/locale;C:/PS7.2/share/lib/;C:/PS7.2/identity/lib/;;C:/PS7.2/portal/lib/db.jar;;C:/PS7.2/portal/config;C:/PS7.2/portal/lib;C:/PS7.2/portal/lib/communitymc.jar;C:/PS7.2/portal/lib/jpox.jar;C:/PS7.2/portal/lib/jdo2.jar;C:/PS7.2/portal/lib/ps_util.jar;C:/PS7.2/portal/lib/pslogcommon.jar;C:/PS7.2/portal/lib/ubt.jar;C:/PS7.2/portal/lib/portletinterceptor.jar;C:/PS7.2/portal/lib/jdom.jar;C:/PS7.2/portal/lib/container.jar;C:/PS7.2/portal/lib/portlet20.jar;C:/PS7.2/portal/lib/java-portlet-container.jar;C:/PS7.2/portal/lib/portletserviceprovision.jar;C:/PS7.2/portal/lib/communitymgmnt-api.jar;C:/PS7.2/portal/lib/communityadmin.jar;C:/PS7.2/portal/lib/ssoadapter.jar;C:/PS7.2/portal/lib/psamsdk.jar;C:/PS7.2/portal/lib/log4j.jar;C:/PS7.2/portal/lib/credentialvault.jar;C:/PS7.2/appserver/javadb/lib/derbyclient.jar;C:/PS7.2/portal/lib/defaulttheme.jar;C:/PS7.2/share/cacao_2/lib/cacao_cacao.jar;C:/PS7.2/share/cacao_2/share/lib/cacao_cacao.jar;jesmf.lib.location/mfwk_instrum_tk.jar;C:/PS7.2/portal/lib/saw-api.jar;C:/PS7.2/portal/lib/mirage-api.jar;C:/PS7.2/portal/lib/mirage-jcr-impl.jar;C:/PS7.2/portal/lib/jcr.jar;C:/PS7.2/portal/lib/freemarker.jar;
            -Dcom.sun.aas.ServerClassPath=
            -Dcom.sun.aas.classloader.appserverChainJars.ee=
            -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
            -Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
            -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
            -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
            -Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,C:/PS7.2/appserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,/lib/mfwk_instrum_tk.jar
            -Dcom.sun.aas.classloader.serverClassPath=C:/PS7.2/appserver/lib/install/applications/jmsra/imqjmsra.jar,C:/PS7.2/appserver/imq/lib/jaxm-api.jar,C:/PS7.2/appserver/imq/lib/fscontext.jar,C:/PS7.2/appserver/imq/lib/imqbroker.jar,C:/PS7.2/appserver/imq/lib/imqjmx.jar,C:/PS7.2/appserver/lib/ant/lib/ant.jar,C:/PS7.2/appserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
            -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,/lib/mfwk_instrum_tk.jar
            -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/PS7.2/java/jdk1.6/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/PS7.2/appserver/imq/lib/jaxm-api.jar,C:/PS7.2/appserver/imq/lib/fscontext.jar,C:/PS7.2/appserver/imq/lib/imqbroker.jar,C:/PS7.2/appserver/imq/lib/imqjmx.jar,C:/PS7.2/appserver/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/PS7.2/appserver/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/PS7.2/appserver/updatecenter/lib/updatecenter.jar,C:/PS7.2/appserver/jbi/lib/jbi.jar,C:/PS7.2/appserver/imq/lib/imqjmx.jar,C:/PS7.2/appserver/lib/ant/lib/ant.jar,dbschema.jar
            -Dcom.sun.aas.configName=server-config
            -Dcom.sun.aas.configRoot=C:/PS7.2/appserver/config
            -Dcom.sun.aas.defaultLogFile=C:/PS7.2/appserver/domains/domain1/logs/server.log
            -Dcom.sun.aas.domainName=domain1
            -Dcom.sun.aas.installRoot=C:/PS7.2/appserver
            -Dcom.sun.aas.instanceName=server
            -Dcom.sun.aas.processLauncher=SE
            -Dcom.sun.aas.promptForIdentity=true
            -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
            -Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
            -Dcom.sun.enterprise.server.ss.ASQuickStartup=false
            -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
            -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
            -Dcom.sun.portal.instance.id=psinstance
            -Dcom.sun.portal.log.config.file=C:/PS7.2/portal/data/portals/portal1/config/PSLogConfig.properties
            -Dcom.sun.portal.portal.id=portal1
            -Dcom.sun.updatecenter.home=C:/PS7.2/appserver/updatecenter
            -Ddomain.name=domain1
            -Djava.awt.headless=true
            -Djava.endorsed.dirs=C:/PS7.2/appserver/lib/endorsed
            -Djava.ext.dirs=C:/PS7.2/java/jdk1.6/lib/ext;C:/PS7.2/java/jdk1.6/jre/lib/ext;C:/PS7.2/appserver/domains/domain1/lib/ext;C:/PS7.2/appserver/javadb/lib
            -Djava.library.path=C:\PS7.2\share\lib;C:\PS7.2\appserver\lib;.;C:/PS7.2/portal/lib;C:\PS7.2\appserver\bin;C:\PS7.2\portal\lib;C:\PS7.2\share\lib
            -Djava.protocol.handler.pkgs=com.iplanet.services.comm
            -Djava.security.auth.login.config=C:/PS7.2/appserver/domains/domain1/config/login.conf
            -Djava.security.policy=C:/PS7.2/appserver/domains/domain1/config/server.policy.disable
            -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
            -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
            -Djavax.net.ssl.keyStore=C:/PS7.2/appserver/domains/domain1/config/keystore.jks
            -Djavax.net.ssl.trustStore=C:/PS7.2/appserver/domains/domain1/config/cacerts.jks
            -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
            -Djmx.invoke.getters=true
            -Dorg.jackrabbit.useDataStore=false
            -Ds1is.java.util.logging.config.class=com.sun.identity.log.s1is.LogConfigReader
            -Dsun.rmi.dgc.client.gcInterval=3600000
            -Dsun.rmi.dgc.server.gcInterval=3600000
            -server
            -XX:+UnlockDiagnosticVMOptions
            -XX:MaxPermSize=192m
            -Xmx512m
            -XX:NewRatio=2
            -Xms512m
            -Xss128k
            -XX:NewSize=168M
            -XX:MaxNewSize=168M
            -XX:PermSize=192M
            -XX:MaxPermSize=192M
            -XX:+DisableExplicitGC
            -XX:SoftRefLRUPolicyMSPerMB=0
            -XX:+PrintGCTimeStamps
            -XX:+PrintHeapAtGC
            -XX:+PrintClassHistogram
            -Xloggc:C:/PS7.2/appserver/domains/domain1/logs/gc.log
            -XX:+LogVMOutput
            -XX:LogFile=C:/PS7.2/appserver/domains/domain1/logs/jvm.log
            -cp
            C:/PS7.2/appserver/lib/jhall.jar;C:\PS7.2\appserver\lib\appserv-launch.jar;C:/PS7.2/share/MobileAccess/config
            com.sun.enterprise.server.PELaunch
            start
            [#|2008-07-27T08:55:10.154+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1_01 (build b09d-fcs) ...|#]
            
            [#|2008-07-27T08:55:11.338+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor|#]
            
            [#|2008-07-27T08:55:12.614+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Server VM;1.6.0_10-ea;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.6.0_10-ea] from [Sun Microsystems Inc.]|#]
            
            [#|2008-07-27T08:55:12.952+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=12;_ThreadName=pool-1-thread-4;|SEC1002: Security Manager is OFF.|#]
            
            [#|2008-07-27T08:55:13.013+0200|INFO|sun-appserver9.1|javax.enterprise.resource.jms|_ThreadID=13;_ThreadName=pool-1-thread-7;|Using MQ RA for Broker lifecycle control|#]
            
            [#|2008-07-27T08:55:21.469+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|C:/PS7.2/appserver/domains/domain1/config/.__com_sun_appserv_pid|#]
            
            [#|2008-07-27T08:55:23.007+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor is now enabled|#]
            
            [#|2008-07-27T08:55:23.698+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
            
            [#|2008-07-27T08:55:25.297+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]
            
            [#|2008-07-27T08:55:25.328+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]
            
            [#|2008-07-27T08:55:28.680+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;|EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false|#]
            
            [#|2008-07-27T08:55:31.247+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.transaction|_ThreadID=10;_ThreadName=main;3700;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
            
            [#|2008-07-27T08:55:32.231+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]
            
            [#|2008-07-27T08:55:33.753+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=14;_ThreadName=Thread-15;service:jmx:rmi:///jndi/rmi://M_FAROUK.unitedofoq.com:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://M_FAROUK.unitedofoq.com:8686/jmxrmi].  This is where the remote administrative clients should connect using the standard JMX connectors|#]
            
            [#|2008-07-27T08:55:33.753+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=14;_ThreadName=Thread-15;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]
            
            [#|2008-07-27T08:55:34.983+0200|INFO|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;|JMS Service Connection URL is :mq://ps-engpc2:7676/|#]
            
            [#|2008-07-27T08:55:35.075+0200|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...|#]
            
            [#|2008-07-27T08:55:36.428+0200|INFO|sun-appserver9.1|com.sun.mfwk.Mfwk MfConfig|_ThreadID=10;_ThreadName=main;|url: jar:file:/C:/PS7.2/share/mfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class|#]
            
            [#|2008-07-27T08:55:36.428+0200|INFO|sun-appserver9.1|com.sun.mfwk.Mfwk MfConfig|_ThreadID=10;_ThreadName=main;|url: jar:file:/C:/PS7.2/share/mfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class|#]
            
            [#|2008-07-27T08:55:36.443+0200|INFO|sun-appserver9.1|com.sun.mfwk|_ThreadID=10;_ThreadName=main;|LogFile is: C:/PS7.2/share/mfwk/logs\instrum.%g|#]
            
            [#|2008-07-27T08:55:38.688+0200|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_EB1101: EMBEDDED broker started with code =0|#]
            
            [#|2008-07-27T08:55:38.703+0200|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMSRA Started:DIRECT|#]
            
            [#|2008-07-27T08:55:41.763+0200|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=13;_ThreadName=pool-1-thread-7;|POARemoteRefFactory checking if SFSBVersionPolicy need to be added|#]
            
            [#|2008-07-27T08:55:41.778+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=13;_ThreadName=pool-1-thread-7;|EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false|#]
            
            [#|2008-07-27T08:55:41.778+0200|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=13;_ThreadName=pool-1-thread-7;|POARemoteRefFactory addSFSBVersionPolicy? false|#]
            
            [#|2008-07-27T08:55:41.794+0200|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=13;_ThreadName=pool-1-thread-7;|POARemoteRefFactory checking if SFSBVersionPolicy need to be added|#]
            
            [#|2008-07-27T08:55:41.794+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=13;_ThreadName=pool-1-thread-7;|EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false|#]
            
            [#|2008-07-27T08:55:41.794+0200|INFO|sun-appserver9.1|javax.enterprise.resource.corba|_ThreadID=13;_ThreadName=pool-1-thread-7;|POARemoteRefFactory addSFSBVersionPolicy? false|#]
            
            [#|2008-07-27T08:55:43.131+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=13;_ThreadName=pool-1-thread-7;MEjbApp;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
            
            [#|2008-07-27T08:55:44.346+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=16;_ThreadName=pool-1-thread-3;jdbc/__TimerPool;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
            
            [#|2008-07-27T08:55:44.346+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=16;_ThreadName=pool-1-thread-3;__ejb_container_timer_app;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
            
            [#|2008-07-27T08:55:44.961+0200|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=16;_ThreadName=pool-1-thread-3;|JBIFW0010: JBI framework ready to accept requests.|#]
            
            [#|2008-07-27T08:55:46.437+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
            
            [#|2008-07-27T08:55:48.804+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
            
            [#|2008-07-27T08:55:49.189+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
            
            [#|2008-07-27T08:55:49.265+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
            
            [#|2008-07-27T08:55:53.160+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=13;_ThreadName=pool-1-thread-7;/psconsole;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/psconsole'|#]
            
            [#|2008-07-27T08:56:06.550+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=13;_ThreadName=pool-1-thread-7;/surveys;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/surveys'|#]
            
            [#|2008-07-27T08:56:06.721+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webservices.jaxws.server.http|_ThreadID=16;_ThreadName=pool-1-thread-3;|WSSERVLET12: JAX-WS context listener initializing|#]
            
            [#|2008-07-27T08:56:18.279+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=pool-1-thread-9;/portal;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/portal'|#]
            
            [#|2008-07-27T08:56:21.200+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=pool-1-thread-7;_RequestID=7022036b-06f6-4a22-a77b-6005450f2563;|WebModule[/amserver]StandardWrapper.Throwable
            java.lang.UnsatisfiedLinkError: C:\PS7.2\share\lib\jss4.dll: The specified procedure could not be found
                 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
                 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
                 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
                 at java.lang.System.loadLibrary(System.java:1030)
                 at org.mozilla.jss.CryptoManager.loadNativeLibraries(CryptoManager.java:1339)
                 at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:827)
                 at com.iplanet.services.util.JSSEncryption.<clinit>(JSSEncryption.java:250)
                 at java.lang.Class.forName0(Native Method)
                 at java.lang.Class.forName(Class.java:169)
                 at com.iplanet.services.util.Crypt.createInstance(Crypt.java:133)
                 at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:103)
                 at com.iplanet.services.ldap.LDAPUser.getPasswd(LDAPUser.java:117)
                 at com.iplanet.services.ldap.ServerInstance.getPasswd(ServerInstance.java:128)
                 at com.sun.identity.security.ServerInstanceAction.run(ServerInstanceAction.java:92)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:82)
                 at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:169)
                 at com.sun.identity.sm.ServiceManager.<clinit>(ServiceManager.java:74)
                 at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:247)
                 at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:507)
                 at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:89)
                 at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:74)
                 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178)
                 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1007)
                 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4808)
                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:5196)
                 at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
                 at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                 at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                 at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
                 at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
                 at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
                 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
                 at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
                 at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                 at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                 at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
                 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                 at java.lang.Thread.run(Thread.java:619)
            |#]
            
            [#|2008-07-27T08:56:21.215+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=pool-1-thread-7;_RequestID=7022036b-06f6-4a22-a77b-6005450f2563;|WebModule[/amserver]PWC1396: Servlet /amserver threw load() exception
            java.lang.UnsatisfiedLinkError: C:\PS7.2\share\lib\jss4.dll: The specified procedure could not be found
                 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
                 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
                 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
                 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
                 at java.lang.System.loadLibrary(System.java:1030)
                 at org.mozilla.jss.CryptoManager.loadNativeLibraries(CryptoManager.java:1339)
                 at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:827)
                 at com.iplanet.services.util.JSSEncryption.<clinit>(JSSEncryption.java:250)
                 at java.lang.Class.forName0(Native Method)
                 at java.lang.Class.forName(Class.java:169)
                 at com.iplanet.services.util.Crypt.createInstance(Crypt.java:133)
                 at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:103)
                 at com.iplanet.services.ldap.LDAPUser.getPasswd(LDAPUser.java:117)
                 at com.iplanet.services.ldap.ServerInstance.getPasswd(ServerInstance.java:128)
                 at com.sun.identity.security.ServerInstanceAction.run(ServerInstanceAction.java:92)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:82)
                 at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:169)
                 at com.sun.identity.sm.ServiceManager.<clinit>(ServiceManager.java:74)
                 at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:247)
                 at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:507)
                 at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:89)
                 at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:74)
                 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1178)
                 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1007)
                 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4808)
                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:5196)
                 at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
                 at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                 at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                 at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
                 at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
                 at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
                 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
                 at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
                 at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                 at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                 at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
                 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                 at java.lang.Thread.run(Thread.java:619)
            |#]
            
            [#|2008-07-27T08:56:23.266+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webservices.jaxws.servlet.http|_ThreadID=16;_ThreadName=pool-1-thread-3;|WSSERVLET14: JAX-WS servlet initializing|#]
            
            [#|2008-07-27T08:56:23.328+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webservices.jaxws.server.http|_ThreadID=17;_ThreadName=pool-1-thread-9;|WSSERVLET12: JAX-WS context listener initializing|#]
            
            [#|2008-07-27T08:56:31.235+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webservices.jaxws.servlet.http|_ThreadID=17;_ThreadName=pool-1-thread-9;|WSSERVLET14: JAX-WS servlet initializing|#]
            
            [#|2008-07-27T08:56:31.422+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=16;_ThreadName=pool-1-thread-3;/filesharing;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/filesharing'|#]
            
            [#|2008-07-27T08:56:35.196+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=13;_ThreadName=pool-1-thread-7;/guessnumberportlet;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/guessnumberportlet'|#]
            
            [#|2008-07-27T08:56:37.402+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=pool-1-thread-9;/ccd;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/ccd'|#]
            
            [#|2008-07-27T08:56:39.826+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=13;_ThreadName=pool-1-thread-7;/blogportlet;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/blogportlet'|#]
            
            [#|2008-07-27T08:56:41.612+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=13;_ThreadName=pool-1-thread-7;/communityportlets;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/communityportlets'|#]
            
            [#|2008-07-27T08:56:45.496+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=pool-1-thread-7;_RequestID=7022036b-06f6-4a22-a77b-6005450f2563;|WEB0207: Error starting web context StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/amserver] on virtual server server
            LifecycleException:  java.lang.UnsatisfiedLinkError: C:\PS7.2\share\lib\jss4.dll: The specified procedure could not be found
                 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4818)
                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:5196)
                 at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
                 at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                 at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                 at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
                 at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
                 at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
                 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
                 at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
                 at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
                 at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
                 at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
                 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
                 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                 at java.lang.Thread.run(Thread.java:619)
            |#]
            
            [#|2008-07-27T08:56:46.055+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]
            
            [#|2008-07-27T08:56:46.226+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]
            Sorry for being late

            Regards,
            Bakr

            Edited by: bakr_awad on Jul 26, 2008 11:05 PM
            • 3. Re: Error in running sun portal server 7.2 on windows platform
              807574
              Hi,
              I encountered exactly same problem. Problem is in dll-hell as expected. Solution is following: create one-line java application
              public class Main {
                public static void main(String[] args) {
                  System.loadLibrary("jss4");
                }
              }
              compile it and run it
              %JAVA_HOME%\bin\java.exe -Djava.library.path=c:\PS7.2\share\lib Main
              You get an error window: java.exe Entry Point Not Found with some detailed information. I got for example message: 'The procedure entry point PORT_Strdup could not be located in the dynamic link library nss3.dll'. So the classloader tries to load wrong version of nss3.dll (actually from c:\system32). I wasn't able to arrange the environment properties to load library primarily from PS7.2\share\lib, so I delete the library nss3.dll from system32 and classloader loaded it from correct location. The same situation came for library ss3.dll.

              Good luck Bardolf